/* =============================================
   PretCarburant.ro — Unified Stylesheet v8
   All dark mode controlled from THIS file only.
   ============================================= */

/* === VARIABLES — LIGHT (default) === */
:root {
    --c-bg: #FAFAF8;
    --c-surface: #FFFFFF;
    --c-text: #1A1A1A;
    --c-text-2: #6B6B6B;
    --c-text-3: #9B9B9B;
    --c-border: #E8E8E4;
    --c-accent: #E8593C;
    --c-accent-2: #D14520;
    --c-accent-bg: #FEF2EF;
    --c-green: #1D9E75;
    --c-green-bg: #E8F5EE;
    --c-blue: #2563EB;
    --c-blue-bg: #EFF6FF;
    --c-amber: #D97706;
    --c-amber-bg: #FFFBEB;
    --c-purple: #7C3AED;
    --font: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-lg: 0 4px 24px rgba(0,0,0,0.08);
}

/* === VARIABLES — DARK === */
[data-theme="dark"] {
    --c-bg: #0F0F0E;
    --c-surface: #1A1A18;
    --c-text: #F0EFEB;
    --c-text-2: #A8A8A0;
    --c-text-3: #6B6B64;
    --c-border: #2A2A28;
    --c-accent: #E8593C;
    --c-accent-2: #FF6B4A;
    --c-accent-bg: #2A1A16;
    --c-green: #34D399;
    --c-green-bg: #0D2B20;
    --c-blue: #60A5FA;
    --c-blue-bg: #0D1A2E;
    --c-amber: #FBBF24;
    --c-amber-bg: #2A1F0A;
    --shadow: 0 1px 3px rgba(0,0,0,0.4), 0 1px 2px rgba(0,0,0,0.3);
    --shadow-lg: 0 4px 24px rgba(0,0,0,0.5);
}

/* === TRANSITIONS === */
*, *::before, *::after {
    transition: background-color 0.2s, border-color 0.2s, color 0.15s;
}

/* === RESET === */
* { margin: 0; padding: 0; box-sizing: border-box; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: -100px; left: 16px; background: var(--c-accent); color: white; padding: 12px 24px; border-radius: var(--radius-sm); font-weight: 600; font-size: 14px; z-index: 10000; text-decoration: none; transition: top 0.2s; }
.skip-link:focus { top: 12px; }
.skip-link { position: absolute; top: -100%; left: 50%; transform: translateX(-50%); background: var(--c-accent); color: white; padding: 12px 24px; border-radius: 0 0 var(--radius-sm) var(--radius-sm); font-weight: 600; font-size: 14px; z-index: 9999; text-decoration: none; transition: top 0.2s; }
.skip-link:focus { top: 0; }

/* === BODY === */
body {
    font-family: var(--font);
    background: var(--c-bg);
    color: var(--c-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* === NAV === */
.nav {
    position: sticky; top: 0; z-index: 100;
    background: rgba(250,250,248,0.92);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--c-border);
    padding: 0 24px;
}
[data-theme="dark"] .nav { background: rgba(15,15,14,0.92); }

.nav-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    height: 60px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--c-text); }
.logo-icon {
    width: 36px; height: 36px; background: var(--c-accent);
    border-radius: var(--radius-sm); display: flex; align-items: center;
    justify-content: center; color: white; font-weight: 700; font-size: 15px;
}
.logo-text { font-weight: 700; font-size: 17px; letter-spacing: -0.3px; }
.logo-text span { color: var(--c-accent); }

.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--c-text-2); font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: var(--c-text); }
.nav-links .btn-alert {
    background: var(--c-accent); color: white;
    padding: 8px 16px; border-radius: var(--radius-sm);
    font-weight: 600; font-size: 13px;
}
.nav-links .btn-alert:hover { background: var(--c-accent-2); color: white; }

/* Hamburger */
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--c-text); margin: 5px 0; border-radius: 2px; transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Theme toggle */
.theme-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 50%;
    border: 1.5px solid var(--c-border); background: transparent;
    cursor: pointer; color: var(--c-text-2); vertical-align: middle; margin-left: 8px;
    flex-shrink: 0;
}
.theme-toggle:hover { background: var(--c-surface); border-color: var(--c-accent); color: var(--c-text); }
.theme-toggle svg { width: 18px; height: 18px; pointer-events: none; }
.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

/* === LAYOUT === */
.page-content {
    max-width: 800px; margin: 0 auto; padding: 48px 24px;
}
.page-content h1 { font-size: 32px; font-weight: 700; letter-spacing: -0.5px; margin-bottom: 24px; }
.page-content h2 { font-size: 22px; font-weight: 700; margin: 32px 0 12px; }
.page-content p { color: var(--c-text-2); font-size: 15px; margin-bottom: 16px; line-height: 1.7; }
.page-content ul { color: var(--c-text-2); font-size: 15px; margin: 0 0 16px 24px; }
.page-content li { margin-bottom: 8px; }
.page-content a { color: var(--c-accent); text-decoration: none; }
.page-content a:hover { text-decoration: underline; }
.page-content code { font-family: var(--font-mono); background: var(--c-bg); padding: 2px 8px; border-radius: 4px; font-size: 13px; }
.page-content pre { background: #1A1A1A; color: #E0E0E0; padding: 20px; border-radius: var(--radius); overflow-x: auto; margin: 16px 0; font-family: var(--font-mono); font-size: 13px; line-height: 1.6; }
.page-content strong { color: var(--c-text); }

/* === CARD === */
.card {
    background: var(--c-surface); border: 1px solid var(--c-border);
    border-radius: var(--radius); padding: 24px; margin-bottom: 16px;
}

/* === TAGS === */
.tag { display: inline-block; font-size: 12px; padding: 3px 10px; border-radius: 20px; font-weight: 600; }
.tag-green { background: var(--c-green-bg); color: var(--c-green); }
.tag-blue { background: var(--c-blue-bg); color: var(--c-blue); }
.tag-amber { background: var(--c-amber-bg); color: var(--c-amber); }

/* === TABLES (shared) === */
.td-price { font-family: var(--font-mono); font-weight: 500; font-size: 15px; }
table { color: var(--c-text); border-collapse: collapse; width: 100%; }
th { background: var(--c-bg) !important; color: var(--c-text-3) !important; text-align: left; padding: 14px 20px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; border-bottom: 1px solid var(--c-border); }
td { padding: 14px 20px; font-size: 14px; border-bottom: 1px solid var(--c-border); border-color: var(--c-border); }

/* === FOOTER === */
.footer {
    max-width: 1200px; margin: 48px auto 0; padding: 32px 24px;
    border-top: 1px solid var(--c-border);
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 16px;
}
.footer-text { font-size: 13px; color: var(--c-text-3); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 13px; color: var(--c-text-3); text-decoration: none; }
.footer-links a:hover { color: var(--c-text); }

/* === LEAFLET DARK OVERRIDES === */
[data-theme="dark"] .leaflet-popup-content-wrapper { background: var(--c-surface); color: var(--c-text); box-shadow: 0 4px 20px rgba(0,0,0,.6); }
[data-theme="dark"] .leaflet-popup-tip { background: var(--c-surface); }
[data-theme="dark"] .leaflet-control-zoom a { background: var(--c-surface) !important; color: var(--c-text) !important; border-color: var(--c-border) !important; }
[data-theme="dark"] .leaflet-control-attribution { background: rgba(15,15,14,.85) !important; color: var(--c-text-3) !important; }
[data-theme="dark"] .leaflet-control-attribution a { color: var(--c-text-2) !important; }

/* =============================================
   PAGE: HARTA
   ============================================= */
#map-full { width: 100%; height: calc(100vh - 60px); position: relative; z-index: 1; }
.map-controls {
    position: absolute; top: 72px; left: 12px; z-index: 10000;
    background: var(--c-surface); border: 1px solid var(--c-border);
    border-radius: var(--radius); padding: 12px 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1); max-width: 280px;
}
.map-controls h2 { font-size: 13px; margin-bottom: 8px; color: var(--c-text-2); font-weight: 600; }
.filter-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.fbtn {
    padding: 5px 10px; border: 1px solid var(--c-border); border-radius: 20px;
    font-size: 12px; font-weight: 500; cursor: pointer;
    background: var(--c-surface); font-family: var(--font); transition: all 0.15s;
    color: var(--c-text);
}
.fbtn.active { background: var(--c-accent); color: white; border-color: var(--c-accent); }
.fbtn:hover:not(.active) { background: var(--c-bg); }
.fbtn img { width: 14px; height: 14px; border-radius: 2px; vertical-align: middle; margin-right: 2px; }
.map-stats { font-size: 12px; color: var(--c-text-2); padding-top: 8px; border-top: 1px solid var(--c-border); }
.map-stats strong { color: var(--c-text); font-family: var(--font-mono); }

/* Cluster markers */
.marker-cluster-small { background: rgba(232,89,60,0.2) !important; }
.marker-cluster-small div { background: var(--c-accent) !important; color: white !important; font-size: 12px !important; font-weight: 600 !important; }
.marker-cluster-medium { background: rgba(37,99,235,0.2) !important; }
.marker-cluster-medium div { background: var(--c-blue) !important; color: white !important; font-size: 12px !important; font-weight: 600 !important; }
.marker-cluster-large { background: rgba(29,158,117,0.2) !important; }
.marker-cluster-large div { background: var(--c-green) !important; color: white !important; font-size: 13px !important; font-weight: 600 !important; }

.ctrl-toggle {
    display: none; position: absolute; top: 72px; left: 12px; z-index: 10001;
    background: var(--c-accent); color: white; border: none;
    border-radius: var(--radius-sm); padding: 10px 14px;
    font-size: 13px; font-weight: 600; cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.ctrl-close {
    display: none; position: absolute; top: 8px; right: 8px;
    background: none; border: none; font-size: 18px; cursor: pointer; color: var(--c-text-3);
}

/* =============================================
   PAGE: RETEA
   ============================================= */
.brand-header { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.brand-dot { width: 48px; height: 48px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: white; font-weight: 700; font-size: 18px; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px,1fr)); gap: 12px; margin: 24px 0 32px; }
.stat-card { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 16px 20px; text-align: center; }
.stat-val { font-family: var(--font-mono); font-size: 28px; font-weight: 500; }
.stat-label { font-size: 12px; color: var(--c-text-3); margin-top: 4px; }
.marker-price {
    background: var(--c-surface); border-radius: 6px; padding: 2px 8px;
    font-family: var(--font-mono); font-size: 12px; font-weight: 600;
    white-space: nowrap; box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    color: var(--c-text);
}

/* =============================================
   PAGE: CALCULATOR
   ============================================= */
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 24px 0; }
.calc-input-group { margin-bottom: 16px; }
.calc-input-group label { display: block; font-size: 13px; font-weight: 600; color: var(--c-text-2); margin-bottom: 6px; }
.calc-input {
    width: 100%; padding: 12px 16px; border: 1px solid var(--c-border);
    border-radius: var(--radius-sm); font-size: 15px; font-family: var(--font);
    background: var(--c-surface); color: var(--c-text); outline: none;
}
.calc-input:focus { border-color: var(--c-accent); }
select.calc-input {
    cursor: pointer; appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%236B6B6B' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center;
}
.result-panel { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 24px; margin: 24px 0; }
.result-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--c-border); }
.result-row:last-child { border-bottom: none; }
.result-label { font-size: 14px; color: var(--c-text-2); }
.result-value { font-family: var(--font-mono); font-size: 18px; font-weight: 600; }
.savings-box {
    background: var(--c-green-bg); border: 2px solid var(--c-green);
    border-radius: var(--radius); padding: 24px; text-align: center; margin: 24px 0;
}
.savings-amount { font-family: var(--font-mono); font-size: 42px; font-weight: 700; color: var(--c-green); margin: 8px 0; }
.savings-label { font-size: 14px; color: var(--c-green); }
.vs-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; }
.vs-divider hr { flex: 1; border: none; border-top: 1px solid var(--c-border); }
.vs-divider span { font-weight: 700; color: var(--c-text-3); font-size: 13px; }
.price-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 16px 0; }
.price-box { border-radius: var(--radius); padding: 20px; text-align: center; }
.price-box.expensive { background: var(--c-accent-bg); border: 1px solid var(--c-accent); }
.price-box.cheap { background: var(--c-green-bg); border: 2px solid var(--c-green); }
.price-box-price { font-family: var(--font-mono); font-size: 28px; font-weight: 700; margin: 8px 0; }
.price-box-label { font-size: 12px; color: var(--c-text-2); }
.btn-calc {
    width: 100%; padding: 14px; background: var(--c-accent); color: white;
    border: none; border-radius: var(--radius-sm);
    font-weight: 600; font-size: 16px; font-family: var(--font);
    cursor: pointer; transition: background 0.15s; margin-top: 8px;
}
.btn-calc:hover { background: var(--c-accent-2); }
.tip-box { background: var(--c-bg); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 16px 20px; margin: 16px 0; font-size: 13px; color: var(--c-text-2); }
.tip-box strong { color: var(--c-text); }
#map-calc { width: 100%; height: 350px; border-radius: var(--radius); border: 1px solid var(--c-border); margin: 20px 0; }
.hidden { display: none; }

/* =============================================
   PAGE: STATISTICI
   ============================================= */
.chart-container { position: relative; width: 100%; height: 380px; margin: 20px 0 40px; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 20px; }
.stat-hl { display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 16px; margin: 24px 0; }
.stat-hl-card { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 20px 24px; display: flex; align-items: flex-start; gap: 12px; }
.annual-table { width: 100%; border-collapse: collapse; }
.annual-table th { text-align: left; padding: 12px 16px; font-size: 12px; font-weight: 600; color: var(--c-text-3); text-transform: uppercase; background: var(--c-bg); border-bottom: 1px solid var(--c-border); }
.annual-table td { padding: 12px 16px; font-size: 14px; border-bottom: 1px solid var(--c-border); font-family: var(--font-mono); font-weight: 500; }
.annual-table td:first-child { font-family: var(--font); font-weight: 600; }
.annual-table tr:hover td { background: var(--c-bg); }
[data-theme="dark"] .annual-table tr:hover td { background: rgba(255,255,255,0.04); }
.tab-btn {
    padding: 8px 16px; border: 1px solid var(--c-border); border-radius: 20px;
    font-size: 13px; font-weight: 500; cursor: pointer;
    background: var(--c-surface); font-family: var(--font); transition: all 0.15s;
    color: var(--c-text);
}
.tab-btn.active { background: var(--c-accent); color: white; border-color: var(--c-accent); }
.tab-btn:hover:not(.active) { background: var(--c-bg); }
.tabs-row { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.section-divider { border-top: 1px solid var(--c-border); margin: 48px 0 32px; padding-top: 32px; }

/* =============================================
   PAGE: PRETURI MINIME
   ============================================= */
.minime-table { width: 100%; border-collapse: collapse; }
.minime-table th { text-align: left; padding: 12px 16px; font-size: 12px; font-weight: 600; color: var(--c-text-3); text-transform: uppercase; background: var(--c-bg); border-bottom: 1px solid var(--c-border); position: sticky; top: 60px; z-index: 10; }
.minime-table td { padding: 12px 16px; font-size: 14px; border-bottom: 1px solid var(--c-border); }
.minime-table tr:hover td { background: var(--c-bg); }
[data-theme="dark"] .minime-table tr:hover td { background: rgba(255,255,255,0.04); }
.rank { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; font-size: 12px; font-weight: 600; background: var(--c-bg); color: var(--c-text-2); }
.rank-top { background: var(--c-green-bg); color: var(--c-green); }
.cheapest { color: var(--c-green); font-weight: 600; }
.bar { height: 6px; border-radius: 3px; margin-top: 4px; }
.search-box {
    width: 100%; padding: 12px 16px; border: 1px solid var(--c-border);
    border-radius: var(--radius); font-size: 15px; font-family: var(--font);
    outline: none; margin-bottom: 20px; background: var(--c-surface); color: var(--c-text);
}
.search-box:focus { border-color: var(--c-accent); }
.fuel-toggle button {
    padding: 8px 20px; border: 1px solid var(--c-border); border-radius: 20px;
    font-size: 13px; font-weight: 500; cursor: pointer;
    background: var(--c-surface); font-family: var(--font); color: var(--c-text);
}
.fuel-toggle button.active { background: var(--c-accent); color: white; border-color: var(--c-accent); }
.highlight-row td { background: var(--c-green-bg) !important; }
[data-theme="dark"] .highlight-row td { background: rgba(52,211,153,0.06) !important; }

/* =============================================
   PAGE: BLOG
   ============================================= */
.blog-card { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 28px 32px; margin-bottom: 20px; transition: box-shadow 0.2s; }
.blog-card:hover { box-shadow: var(--shadow-lg); }
.blog-card a { text-decoration: none; color: var(--c-text); }
.blog-card h2 { font-size: 20px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.3px; }
.blog-card h2:hover { color: var(--c-accent); }
.blog-meta { font-size: 13px; color: var(--c-text-3); margin-bottom: 12px; display: flex; gap: 16px; }
.blog-excerpt { font-size: 15px; color: var(--c-text-2); line-height: 1.6; }

/* Blog article */
.article { max-width: 720px; }
.article h1 { font-size: clamp(24px,4vw,36px); font-weight: 700; letter-spacing: -0.5px; line-height: 1.2; margin-bottom: 16px; }
.article-meta { font-size: 13px; color: var(--c-text-3); margin-bottom: 32px; display: flex; gap: 16px; flex-wrap: wrap; }
.article h2 { font-size: 20px; font-weight: 700; margin: 32px 0 12px; color: var(--c-text); }
.article p { font-size: 16px; line-height: 1.7; color: var(--c-text-2); margin-bottom: 16px; }
.article strong { color: var(--c-text); }
.tip-card { background: var(--c-surface); border: 1px solid var(--c-border); border-left: 4px solid var(--c-accent); border-radius: 0 var(--radius) var(--radius) 0; padding: 20px 24px; margin: 20px 0; }
.tip-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.tip-card p { font-size: 14px; margin: 0; }
.price-inline { display: inline-block; background: var(--c-accent-bg); color: var(--c-accent); font-family: var(--font-mono); font-weight: 600; padding: 2px 8px; border-radius: 4px; }
.cta-box { background: linear-gradient(135deg,#1A1A1A,#2D2D2D); color: white; border-radius: var(--radius); padding: 32px; margin: 32px 0; text-align: center; }
[data-theme="dark"] .cta-box { border: 1px solid var(--c-border); }
.cta-box h3 { font-size: 20px; margin-bottom: 8px; }
.cta-box p { color: rgba(255,255,255,0.7); margin-bottom: 16px; }
.cta-box a { display: inline-block; background: var(--c-accent); color: white; padding: 12px 24px; border-radius: var(--radius-sm); text-decoration: none; font-weight: 600; }

/* =============================================
   PAGE: WIDGET
   ============================================= */
.copy-btn { background: var(--c-accent); color: white; border: none; padding: 8px 16px; border-radius: var(--radius-sm); cursor: pointer; font-weight: 600; font-size: 13px; font-family: var(--font); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
    .hamburger { display: block; }
    .nav-links {
        display: none; position: absolute; top: 60px; left: 0; right: 0;
        background: var(--c-surface); border-bottom: 1px solid var(--c-border);
        padding: 16px 24px; flex-direction: column; gap: 16px;
        box-shadow: var(--shadow-lg); z-index: 9999;
    }
    .nav-links.open { display: flex !important; }
    .nav-links a { font-size: 16px; padding: 8px 0; min-height: 44px; display: flex; align-items: center; }
    .theme-toggle { width: 44px; height: 44px; }
    .page-content { padding: 32px 16px; }
    .footer-links a { padding: 8px 4px; min-height: 44px; display: inline-flex; align-items: center; }
    .tab-btn, .fbtn, .fuel-toggle button { min-height: 44px; padding: 10px 16px; }
    .page-content a, .card a, .blog-card a, .tip-card a { min-height: 44px; display: inline-flex; align-items: center; }
    .btn-calc, .btn-alert, .copy-btn { min-height: 48px; }
    .calc-input, .search-box, select { min-height: 48px; }
    .network-card { min-height: 56px; }
    .calc-grid { grid-template-columns: 1fr; }
    .price-compare { grid-template-columns: 1fr; }
    .chart-container { height: 300px; padding: 12px; }
    .map-controls { display: none; top: 68px; left: 8px; right: 8px; max-width: calc(100% - 16px); }
    .map-controls.open { display: block; }
    .ctrl-toggle { display: block; }
    .ctrl-close { display: block; }
    .nav-inner { padding: 0 !important; }
}

/* =============================================
   PAGE: HOMEPAGE (index.html)
   ============================================= */
.hero { max-width: 1200px; margin: 0 auto; padding: 48px 24px 32px; }
.hero h1 { font-size: clamp(28px, 4vw, 42px); font-weight: 700; letter-spacing: -1px; line-height: 1.15; margin-bottom: 12px; }
.hero h1 span { color: var(--c-accent); }
.hero-sub { font-size: 17px; color: var(--c-text-2); max-width: 560px; margin-bottom: 32px; }
.hero-date { display: inline-flex; align-items: center; gap: 6px; background: var(--c-green-bg); color: var(--c-green); padding: 6px 14px; border-radius: 20px; font-size: 13px; font-weight: 600; margin-bottom: 24px; }
.hero-date::before { content: ''; width: 7px; height: 7px; background: var(--c-green); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.price-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-bottom: 48px; }
.price-card { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 20px 24px; transition: box-shadow 0.2s, transform 0.2s; }
.price-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.price-card-label { font-size: 13px; font-weight: 500; color: var(--c-text-2); margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.price-card-label .dot { width: 8px; height: 8px; border-radius: 50%; }
.price-card-value { font-family: var(--font-mono); font-size: 32px; font-weight: 500; letter-spacing: -1px; margin-bottom: 4px; }
.price-card-unit { font-size: 13px; color: var(--c-text-3); }
.price-card-range { display: flex; gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--c-border); }
.price-card-range span { font-size: 12px; color: var(--c-text-3); }
.price-card-range .val { font-family: var(--font-mono); font-weight: 500; color: var(--c-text-2); }
.td-cheapest { color: var(--c-green); font-weight: 600; }

.section { max-width: 1200px; margin: 0 auto; padding: 0 24px 48px; }
.section-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 20px; }
.section-title { font-size: 22px; font-weight: 700; letter-spacing: -0.5px; }
.section-link { font-size: 14px; color: var(--c-accent); text-decoration: none; font-weight: 500; }
#map { width: 100%; height: 480px; border-radius: var(--radius); border: 1px solid var(--c-border); overflow: hidden; position: relative; z-index: 1; }

/* Map markers on homepage */
.marker-label { background: var(--c-surface); border: 2px solid var(--c-accent); border-radius: var(--radius-sm); padding: 4px 10px; font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--c-text); white-space: nowrap; box-shadow: var(--shadow); }
.marker-label .city { font-family: var(--font); font-size: 11px; font-weight: 500; color: var(--c-text-2); display: block; margin-top: 1px; }

/* Table */
.table-wrap { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); overflow-x: auto; }
.table-wrap table { min-width: 720px; }
.td-city a { text-decoration: none; color: var(--c-text); font-weight: 600; }
.td-city a:hover { color: var(--c-accent); }
.td-city .judet { font-size: 12px; color: var(--c-text-3); font-weight: 400; }
tr:hover td { background: var(--c-bg); }
[data-theme="dark"] tr:hover td { background: rgba(255,255,255,0.03); }
tr:last-child td { border-bottom: none; }

/* Networks */
.networks { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.network-card { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 16px 20px; display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--c-text); transition: box-shadow 0.15s; }
.network-card:hover { box-shadow: var(--shadow); border-color: var(--c-accent); }
.network-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.network-name { font-weight: 600; font-size: 14px; }
.network-price { font-family: var(--font-mono); font-size: 13px; color: var(--c-text-2); margin-left: auto; }

/* Alert section */
.alert-section { background: linear-gradient(135deg, #1A1A1A 0%, #2D2D2D 100%); border-radius: var(--radius); padding: 48px; color: white; display: flex; align-items: center; gap: 48px; }
[data-theme="dark"] .alert-section { background: var(--c-accent-bg); border: 1px solid rgba(232,89,60,.25); }
.alert-content { flex: 1; }
.alert-content h2 { font-size: 26px; font-weight: 700; margin-bottom: 12px; letter-spacing: -0.5px; }
.alert-content p { color: rgba(255,255,255,0.85); font-size: 15px; margin-bottom: 24px; }
[data-theme="dark"] .alert-content p { color: var(--c-text-2); }
.alert-form { display: flex; gap: 8px; }
.alert-form input { flex: 1; padding: 12px 16px; border: 1px solid rgba(255,255,255,0.15); border-radius: var(--radius-sm); background: rgba(255,255,255,0.08); color: white; font-size: 15px; font-family: var(--font); outline: none; }
[data-theme="dark"] .alert-form input { background: rgba(255,255,255,0.06); border-color: var(--c-border); color: var(--c-text); }
.alert-form input::placeholder { color: rgba(255,255,255,0.35); }
[data-theme="dark"] .alert-form input::placeholder { color: var(--c-text-3); }
.alert-form input:focus { border-color: var(--c-accent); }
.alert-form button { padding: 12px 24px; background: var(--c-accent); color: white; border: none; border-radius: var(--radius-sm); font-weight: 600; font-size: 15px; font-family: var(--font); cursor: pointer; transition: background 0.15s; white-space: nowrap; }
.alert-form button:hover { background: var(--c-accent-2); }
.captcha-box { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.alert-visual { font-size: 64px; opacity: 0.9; flex-shrink: 0; }

/* SEO */
.seo-content { max-width: 1200px; margin: 0 auto; padding: 0 24px 48px; }
.seo-content h2 { font-size: 20px; margin-bottom: 16px; font-weight: 700; }
.seo-content p { color: var(--c-text-2); font-size: 15px; margin-bottom: 12px; max-width: 720px; }

/* Homepage responsive overrides */
@media (max-width: 768px) {
    .hero { padding: 32px 16px 24px; }
    .price-cards { grid-template-columns: 1fr; }
    .section { padding: 0 16px 32px; }
    #map { height: 360px; }
    .alert-section { flex-direction: column; padding: 32px 24px; text-align: center; gap: 24px; }
    .alert-form { flex-direction: column; }
    .alert-visual { display: none; }
    .table-wrap { overflow-x: auto; }
    .hero h1 { font-size: 28px !important; }
}
