:root {
    --primary-dark: #030a1a;
    --primary-deep: #061536;
    --primary-blue: #0d47a1;
    --accent-cyan: #00d2ff;
    --accent-cyan-hover: #33dcff;
    --accent-emerald: #10b981;
    --accent-amber: #f59e0b;
    --accent-rose: #ef4444;
    --text-light: #f8fafc;
    --text-muted: #94a3b8;
    --card-bg: rgba(7, 22, 54, 0.72);
    --card-bg-solid: #081a3d;
    --card-border: rgba(0, 210, 255, 0.22);
    --card-border-glow: rgba(0, 210, 255, 0.55);
    --card-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 26px;
    --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-heading: 'Space Grotesk', system-ui, -apple-system, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background: radial-gradient(circle at 50% 0%, #0c3378 0%, #030c20 60%, #020712 100%);
    color: var(--text-light);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Bandă Text Animată (Ticker) --- */
.ticker-wrap {
    width: 100%;
    overflow: hidden;
    background: linear-gradient(90deg, #0052cc 0%, #0099ff 50%, #00d2ff 100%);
    color: #020b18;
    padding: 9px 0;
    font-weight: 800;
    font-size: 0.88rem;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 18px rgba(0, 210, 255, 0.35);
    position: relative;
    z-index: 10;
}

.ticker-move {
    display: flex;
    width: max-content;
    animation: tickerRightToLeft 30s linear infinite;
}

.ticker-move:hover {
    animation-play-state: paused;
}

.ticker-item {
    padding: 0 3rem;
    white-space: nowrap;
}

@keyframes tickerRightToLeft {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}

/* --- Header & Logouri --- */
.site-header {
    padding: 35px 0 15px;
    text-align: center;
}

.header-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.logo-card {
    background: rgba(255, 255, 255, 0.04);
    padding: 10px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    display: inline-block;
}

.logo-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
    box-shadow: 0 14px 40px rgba(0, 210, 255, 0.25);
}

.logo-card img {
    width: 160px;
    height: 160px;
    object-fit: contain;
    border-radius: var(--radius-md);
    display: block;
    background: rgba(0, 0, 0, 0.2);
}

.logo-plus {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--accent-cyan);
    user-select: none;
}

.header-tagline {
    margin-top: 15px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.header-tagline span {
    color: var(--accent-cyan);
    font-weight: 700;
}

/* --- Main Content --- */
.main-content {
    flex: 1;
    padding: 20px 0 60px;
}

/* --- Hero Box --- */
.hero-box {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
}

.badge {
    display: inline-block;
    background: rgba(0, 210, 255, 0.12);
    border: 1px solid var(--accent-cyan);
    color: var(--accent-cyan);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-box h1 {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    line-height: 1.25;
    margin-bottom: 22px;
    font-weight: 700;
}

.highlight {
    background: linear-gradient(90deg, #00d2ff, #38ef7d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.lead-text {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 35px;
}

.lead-text strong {
    color: var(--text-light);
}

/* --- Countdown Timer --- */
.countdown-wrapper {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-xl);
    padding: 28px 20px;
    box-shadow: var(--card-shadow);
    max-width: 680px;
    margin: 0 auto;
}

.countdown-title {
    font-size: 1.15rem;
    margin-bottom: 18px;
    color: var(--text-light);
}

.countdown-title strong {
    color: var(--accent-cyan);
}

.countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.time-box {
    background: rgba(2, 10, 26, 0.65);
    border: 1px solid rgba(0, 210, 255, 0.2);
    border-radius: var(--radius-md);
    padding: 16px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s, border-color 0.2s;
}

.time-box:hover {
    transform: translateY(-2px);
    border-color: var(--accent-cyan);
}

.time-box span {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-cyan);
    line-height: 1;
    margin-bottom: 6px;
}

.time-box small {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* --- Details Grid (2 Carduri) --- */
.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    margin-bottom: 60px;
}

.info-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
}

.info-card h2 {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    margin-bottom: 22px;
    color: #fff;
}

.feature-list, .pricing-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.feature-list li {
    background: rgba(255, 255, 255, 0.035);
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--accent-cyan);
    font-size: 0.95rem;
}

.feature-list li strong {
    display: block;
    color: var(--accent-cyan);
    margin-bottom: 4px;
    font-size: 1.02rem;
}

.pricing-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1.05rem;
    background: rgba(255, 255, 255, 0.035);
    padding: 14px 18px;
    border-radius: var(--radius-sm);
}

.zero-tag {
    background: var(--accent-cyan);
    color: #020c1e;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 8px;
    white-space: nowrap;
    font-size: 0.92rem;
}

.commission-box {
    border: 1px solid var(--accent-cyan) !important;
    background: rgba(0, 210, 255, 0.1) !important;
    display: block !important;
}

.engine-note {
    margin-top: 24px;
    padding: 18px;
    background: rgba(3, 11, 28, 0.75);
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.06);
    line-height: 1.6;
}

.engine-note strong {
    color: var(--text-light);
}

/* ========================================================= */
/* --- SECTIUNE IMPORTATOR FEED VINDEPENET ---              */
/* ========================================================= */
.feed-importer-section {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(14px);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    margin-bottom: 60px;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.5);
    position: relative;
}

.importer-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.importer-title-wrap {
    flex: 1;
    min-width: 280px;
}

.importer-kicker {
    display: inline-block;
    color: var(--accent-cyan);
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.importer-title-wrap h2 {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    color: #fff;
    margin-bottom: 10px;
}

.importer-subtitle {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.6;
    max-width: 780px;
}

.code-pill {
    background: rgba(0, 210, 255, 0.12);
    color: var(--accent-cyan);
    padding: 2px 7px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.88rem;
    font-weight: 600;
}

.importer-actions-top {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

/* Butoane UI */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.92rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    font-family: var(--font-main);
}

.btn-emerald {
    background: #10b981;
    color: #022014;
}

.btn-emerald:hover {
    background: #059669;
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4);
}

.btn-primary-cyan {
    background: var(--accent-cyan);
    color: #020c1e;
}

.btn-primary-cyan:hover {
    background: var(--accent-cyan-hover);
    box-shadow: 0 4px 18px rgba(0, 210, 255, 0.4);
}

.btn-outline-cyan {
    background: transparent;
    color: var(--accent-cyan);
    border: 1px solid var(--accent-cyan);
}

.btn-outline-cyan:hover {
    background: rgba(0, 210, 255, 0.12);
    color: #fff;
}

/* Specificații Acordeon */
.integration-guide {
    background: rgba(2, 11, 28, 0.85);
    border: 1px solid rgba(0, 210, 255, 0.25);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 28px;
    animation: fadeIn 0.3s ease;
}

.integration-guide h3 {
    font-size: 1.15rem;
    color: var(--accent-cyan);
    margin-bottom: 8px;
}

.integration-guide p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 18px;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.spec-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    padding: 16px;
}

.spec-card h4 {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 6px;
}

.spec-endpoint {
    margin-bottom: 10px !important;
}

.spec-endpoint code {
    background: rgba(0, 0, 0, 0.4);
    padding: 4px 8px;
    border-radius: 4px;
    color: #38ef7d;
    font-size: 0.82rem;
    display: inline-block;
    word-break: break-all;
}

.spec-card ul {
    list-style: disc;
    padding-left: 20px;
    color: var(--text-muted);
    font-size: 0.86rem;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Importer Box */
.importer-box {
    background: rgba(2, 9, 24, 0.65);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 32px;
}

.importer-tabs {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 12px;
    margin-bottom: 20px;
    overflow-x: auto;
}

.importer-tab {
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-muted);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    font-family: var(--font-main);
}

.importer-tab:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
}

.importer-tab.active {
    background: rgba(0, 210, 255, 0.12);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

.url-input-group {
    display: flex;
    gap: 10px;
    align-items: center;
    background: rgba(2, 8, 20, 0.8);
    border: 1px solid var(--card-border);
    padding: 6px 8px 6px 14px;
    border-radius: var(--radius-sm);
    flex-wrap: wrap;
}

.url-input-group:focus-within {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 14px rgba(0, 210, 255, 0.3);
}

.input-icon {
    font-size: 1.1rem;
}

.url-input-group input {
    flex: 1;
    min-width: 220px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 0.95rem;
    outline: none;
    font-family: monospace;
}

.url-hints {
    margin-top: 10px;
    font-size: 0.84rem;
    color: var(--text-muted);
}

.url-hints code {
    background: rgba(0, 210, 255, 0.15);
    color: var(--accent-cyan);
    padding: 2px 6px;
    border-radius: 4px;
    cursor: pointer;
}

.url-hints code:hover {
    text-decoration: underline;
}

/* File Drop Area */
.file-drop-area {
    border: 2px dashed var(--card-border);
    border-radius: var(--radius-md);
    padding: 35px 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.file-drop-area:hover, .file-drop-area.dragover {
    border-color: var(--accent-cyan);
    background: rgba(0, 210, 255, 0.05);
}

.drop-icon {
    font-size: 2.4rem;
    display: block;
    margin-bottom: 8px;
}

.file-drop-area p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 6px;
}

.file-drop-area small {
    color: var(--text-muted);
    font-size: 0.82rem;
}

.file-drop-area input[type="file"] {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    cursor: pointer;
}

/* Raw Area */
.raw-textarea {
    width: 100%;
    background: rgba(2, 8, 20, 0.9);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-sm);
    color: #fff;
    font-family: monospace;
    font-size: 0.88rem;
    padding: 12px;
    outline: none;
    resize: vertical;
}

.raw-textarea:focus {
    border-color: var(--accent-cyan);
}

/* Status Banner */
.status-banner {
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    font-weight: 600;
    margin-top: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid #10b981;
    color: #34d399;
}

.status-error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid #ef4444;
    color: #f87171;
}

.status-info {
    background: rgba(0, 210, 255, 0.15);
    border: 1px solid var(--accent-cyan);
    color: var(--accent-cyan);
}

/* Shop Summary Card */
.shop-summary-card {
    margin-top: 22px;
    background: rgba(3, 14, 38, 0.85);
    border: 1px solid rgba(0, 210, 255, 0.3);
    border-radius: var(--radius-md);
    padding: 18px 22px;
}

.summary-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.summary-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.summary-label {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.summary-item strong {
    font-size: 1.05rem;
    color: #fff;
}

.summary-item a {
    color: var(--accent-cyan);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    word-break: break-all;
}

.summary-item a:hover {
    text-decoration: underline;
}

.hash-tag {
    font-family: monospace;
    font-size: 0.85rem;
    background: rgba(0, 210, 255, 0.15);
    color: var(--accent-cyan);
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-block;
    max-width: fit-content;
}

.highlight-val {
    color: #38ef7d !important;
    font-size: 1.15rem !important;
}

/* Catalog Toolbar */
.catalog-preview-wrapper {
    margin-top: 35px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 28px;
}

.catalog-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.toolbar-title h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: #fff;
    margin-bottom: 4px;
}

.catalog-counter {
    font-size: 0.86rem;
    color: var(--accent-cyan);
    font-weight: 600;
}

.toolbar-filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(2, 8, 20, 0.8);
    border: 1px solid var(--card-border);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
}

.search-box:focus-within {
    border-color: var(--accent-cyan);
}

.search-box input {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 0.9rem;
    outline: none;
    min-width: 200px;
    font-family: var(--font-main);
}

.sort-select {
    background: rgba(2, 8, 20, 0.8);
    border: 1px solid var(--card-border);
    color: var(--text-light);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    outline: none;
    cursor: pointer;
    font-family: var(--font-main);
}

/* Category Pills */
.category-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.cat-pill {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.cat-pill:hover {
    color: #fff;
    border-color: var(--accent-cyan);
}

.cat-pill.active {
    background: var(--accent-cyan);
    color: #020b18;
    border-color: var(--accent-cyan);
    font-weight: 800;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.prod-card {
    background: var(--card-bg-solid);
    border: 1px solid rgba(0, 210, 255, 0.2);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.prod-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
    box-shadow: 0 12px 32px rgba(0, 210, 255, 0.25);
}

.prod-img-wrap {
    width: 100%;
    height: 200px;
    background: #020712;
    position: relative;
    overflow: hidden;
}

.prod-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.prod-card:hover .prod-img-wrap img {
    transform: scale(1.05);
}

.prod-cat-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(3, 11, 28, 0.85);
    backdrop-filter: blur(8px);
    color: var(--accent-cyan);
    border: 1px solid var(--accent-cyan);
    padding: 3px 9px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.prod-stock-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 3px 9px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
}

.badge-in-stock {
    background: rgba(16, 185, 129, 0.85);
    color: #fff;
}

.badge-out-stock {
    background: rgba(239, 68, 68, 0.85);
    color: #fff;
}

.prod-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.prod-sku {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-family: monospace;
    margin-bottom: 4px;
}

.prod-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 44px;
}

.prod-desc {
    font-size: 0.86rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.prod-pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 12px;
}

.prod-price {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    color: #38ef7d;
}

.prod-vat-note {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.prod-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
}

.btn-buy-partner {
    background: var(--accent-cyan);
    color: #020b18;
    text-align: center;
    justify-content: center;
    font-size: 0.86rem;
    padding: 8px 12px;
}

.btn-buy-partner:hover {
    background: #fff;
    color: #020b18;
}

.btn-node-data {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 10px;
    font-size: 0.85rem;
}

.btn-node-data:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

/* Modal Stile */
.custom-modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(2, 6, 18, 0.85);
    backdrop-filter: blur(10px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.2s ease;
}

.custom-modal.active {
    display: flex;
}

.modal-dialog {
    background: #071638;
    border: 1px solid var(--accent-cyan);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 680px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75);
    overflow: hidden;
}

.modal-header {
    padding: 18px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 1.18rem;
    color: #fff;
}

.modal-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
}

.modal-close:hover {
    color: #fff;
}

.modal-body {
    padding: 24px;
    overflow-y: auto;
    font-size: 0.95rem;
    color: var(--text-light);
}

.modal-body pre {
    background: #020713;
    padding: 16px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow-x: auto;
    color: #38ef7d;
    font-size: 0.85rem;
    font-family: monospace;
}

.legal-text h4 {
    color: var(--accent-cyan);
    font-size: 1.05rem;
    margin-top: 16px;
    margin-bottom: 6px;
}

.legal-text h4:first-child {
    margin-top: 0;
}

.legal-text p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

/* ========================================================= */
/* --- FOOTER COMPLET: ANPC, SAL & SOL CONFORM LEGISLATIEI  */
/* ========================================================= */
.site-footer {
    background: #010612;
    border-top: 2px solid var(--card-border);
    padding: 55px 0 25px;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
    margin-bottom: 35px;
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: #fff;
}

.footer-col h3 span {
    color: var(--accent-cyan);
}

.footer-col h4 {
    font-size: 1.1rem;
    color: var(--accent-cyan);
    margin-bottom: 14px;
    font-weight: 700;
}

.footer-col p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 8px;
    line-height: 1.6;
}

.footer-col a, .footer-bottom a {
    color: #fff;
    text-decoration: none;
    border-bottom: 1px dashed var(--accent-cyan);
    transition: color 0.2s;
}

.footer-col a:hover, .footer-bottom a:hover {
    color: var(--accent-cyan);
}

.powered-by {
    margin-top: 14px;
    font-weight: 600;
}

.tag-status {
    background: rgba(0, 210, 255, 0.12);
    border: 1px solid var(--accent-cyan);
    color: var(--accent-cyan);
    font-size: 0.78rem;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 700;
}

.legal-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.legal-links-list li a {
    color: var(--text-muted);
    font-size: 0.88rem;
    border-bottom: none;
    display: inline-block;
    transition: color 0.2s, transform 0.2s;
}

.legal-links-list li a:hover {
    color: var(--accent-cyan);
    transform: translateX(3px);
}

/* Zona Pictograme & Sigle Obligatorii ANPC / SAL */
.footer-mandatory-badges {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    margin-bottom: 25px;
}

.badges-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.badge-legal-card {
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    padding: 8px 14px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none !important;
    transition: transform 0.2s, box-shadow 0.2s;
    color: #111827;
    min-height: 54px;
}

.badge-legal-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 210, 255, 0.35);
}

.img-sal-badge {
    height: 38px;
    width: auto;
    object-fit: contain;
    display: block;
}

.badge-subtext {
    font-size: 0.75rem;
    color: #4b5563;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-anpc-text, .badge-sol-text {
    background: #0c204c;
    border: 1px solid var(--card-border);
    color: #fff;
}

.anpc-icon-box {
    font-size: 1.6rem;
    line-height: 1;
}

.anpc-text-box {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.anpc-text-box strong {
    font-size: 0.88rem;
    color: #fff;
    line-height: 1.2;
}

.anpc-text-box small {
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.2;
}

.anpc-link-text {
    font-size: 0.72rem;
    color: var(--accent-cyan);
    font-weight: 700;
    margin-top: 2px;
}

.footer-bottom {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsivitate Mobile & Tabletă */
@media (max-width: 768px) {
    .hero-box h1 {
        font-size: 1.95rem;
    }
    .logo-card img {
        width: 125px;
        height: 125px;
    }
    .countdown-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .time-box span {
        font-size: 2rem;
    }
    .feed-importer-section {
        padding: 24px 16px;
    }
    .importer-title-wrap h2 {
        font-size: 1.45rem;
    }
    .url-input-group {
        flex-direction: column;
        align-items: stretch;
    }
    .url-input-group input {
        min-width: 100%;
    }
    .badges-wrap {
        flex-direction: column;
        align-items: stretch;
    }
    .badge-legal-card {
        justify-content: center;
    }
}


/* =========================================================================
   OPTIMIZĂRI ACCESIBILITATE (A11y), COOKIE CONSENT & GOOGLE PAGESPEED
   ========================================================================= */

/* Skip Link pentru tastatură și cititoare de ecran */
.skip-link {
    position: absolute;
    top: -120px;
    left: 20px;
    background: #06b6d4;
    color: #030712;
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 8px;
    z-index: 99999;
    box-shadow: 0 4px 20px rgba(6, 182, 212, 0.4);
    transition: top 0.25s ease;
    text-decoration: none;
}
.skip-link:focus {
    top: 20px;
    outline: 3px solid #ffffff;
}

/* Indicator Focus Vizibil */
:focus-visible {
    outline: 3px solid #06b6d4;
    outline-offset: 3px;
}

/* URL Inactiv pentru magazin exemplu */
.summary-url-inactive {
    color: #94a3b8;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.95rem;
    cursor: default;
    user-select: text;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    display: inline-block;
    word-break: break-all;
}

/* Banner Consimțământ Cookie-uri (GDPR & Legea 506/2004) - Conform OnlineStarter */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(3, 7, 18, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(6, 182, 212, 0.35);
    padding: 22px 28px;
    z-index: 99999;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.8);
    display: none;
    animation: cookieSlideUp 0.35s ease forwards;
}

.cookie-banner.visible {
    display: block;
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1;
    min-width: 280px;
}

.cookie-banner-text h4 {
    margin: 0 0 6px 0;
    font-size: 1.15rem;
    color: #ffffff;
    font-family: var(--font-heading, sans-serif);
}

.cookie-banner-text p {
    margin: 0;
    font-size: 0.95rem;
    color: #cbd5e1;
    line-height: 1.55;
}

.cookie-banner-text a {
    color: #38bdf8;
    text-decoration: underline;
    font-weight: 500;
}

.cookie-banner-text a:hover {
    color: #ffffff;
}

.cookie-banner-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

@keyframes cookieSlideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Ajustare carduri sigle legale cu imagini SVG */
.badge-legal-card img {
    height: 48px;
    width: auto;
    object-fit: contain;
}
.badge-legal-card img.img-sal-badge {
    height: 44px;
    width: auto;
}

@media (max-width: 640px) {
    .cookie-banner-content {
        flex-direction: column;
        align-items: stretch;
    }
    .cookie-banner-actions {
        width: 100%;
        flex-direction: column;
    }
    .cookie-banner-actions .btn {
        width: 100%;
        text-align: center;
        padding: 14px;
        font-size: 1.05rem;
    }
}
