/* === Reset & Base === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --blue-50: #eff6ff;
    --blue-100: #dbeafe;
    --blue-200: #bfdbfe;
    --blue-400: #60a5fa;
    --blue-500: #3b82f6;
    --blue-600: #2563eb;
    --blue-700: #1d4ed8;
    --blue-800: #1e3a8a;
    --blue-900: #1e3a5f;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --green-50: #ecfdf5;
    --green-400: #34d399;
    --green-600: #059669;
    --red-50: #fef2f2;
    --red-600: #dc2626;
    --radius: 16px;
    --radius-sm: 10px;
    --max-w: 1120px;
    --section-pad: 100px;

    /* Theme */
    --bg: #fff;
    --bg-card: #fff;
    --bg-card-alt: var(--gray-50);
    --nav-bg: rgba(255, 255, 255, 0.72);
    --text-primary: var(--gray-800);
    --text-secondary: var(--gray-600);
    --text-muted: var(--gray-500);
    --border: rgba(0,0,0,0.1);
    --border-light: rgba(0,0,0,0.06);
    --shadow: rgba(0,0,0,0.08);
    --shadow-sm: rgba(0,0,0,0.04);
    --green: var(--green-600);
    --red-bg: rgba(245,158,11,0.06);
    --red-text: #d97706;
}

html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, sans-serif;
    color: var(--text-primary);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; text-transform: lowercase; font-variant: small-caps; }
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); letter-spacing: -0.035em; font-variant: small-caps; text-transform: lowercase; }
h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); text-align: center; margin-bottom: 0.5em; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { color: var(--text-secondary); }
.section-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--blue-400);
    background: rgba(96, 165, 250, 0.1);
    border: 1px solid rgba(96, 165, 250, 0.2);
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 16px;
}
.section-sub { text-align: center; max-width: 520px; margin: 0 auto 60px; font-size: 1.05rem; }

/* === Risk Banner === */
.risk-banner {
    background: var(--red-bg);
    border-bottom: 1px solid rgba(245, 158, 11, 0.3);
    color: var(--red-text);
    text-align: center;
    padding: 10px 24px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}
.risk-banner strong { color: var(--red-text); }
.risk-banner a { color: var(--red-text); margin-left: 8px; }

/* === Buttons === */
.btn {
    display: inline-block;
    padding: 13px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    letter-spacing: -0.01em;
}
.btn-primary {
    background: var(--blue-500);
    color: #fff;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.35);
}
.btn-primary:hover {
    background: var(--blue-600);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
    transform: translateY(-1px);
}
.btn-ghost {
    background: var(--bg-card-alt);
    color: var(--text-primary);
    border: 1.5px solid var(--border);
    margin-left: 12px;
}
.btn-ghost:hover { background: var(--bg-card); border-color: var(--blue-500); color: var(--blue-600); transform: translateY(-1px); }
.dark .btn-ghost { background: var(--bg-card); color: var(--text-primary); border-color: var(--border); }
.dark .btn-ghost:hover { background: var(--bg-card-alt); border-color: var(--blue-400); color: var(--blue-400); }
.btn-card {
    background: rgba(59,130,246,0.05);
    color: var(--blue-600);
    border: 1.5px solid rgba(59,130,246,0.2);
    width: 100%;
    text-align: center;
    margin-top: 16px;
}
.btn-card:hover { background: rgba(59,130,246,0.1); border-color: var(--blue-600); }
.btn-card-primary {
    background: var(--blue-500);
    color: #fff;
    border-color: var(--blue-500);
    box-shadow: 0 4px 14px rgba(59,130,246,0.35);
}
.btn-card-primary:hover { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }
.btn-large { padding: 17px 44px; font-size: 1.05rem; }

/* === Nav === */
header > nav {
    position: fixed;
    top: 40px;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--nav-bg);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid var(--border-light);
}
.nav-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 900;
    font-size: 1.15rem;
    color: var(--text-primary);
    letter-spacing: -0.03em;
}
.nav-logo-img { height: 34px; }
.nav-right { display: flex; align-items: center; gap: 24px; }
.nav-link {
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: color 0.2s;
}
.nav-link:hover { color: var(--text-primary); }
.nav-cta {
    text-decoration: none;
    font-weight: 700;
    font-size: 0.88rem;
    color: #fff;
    padding: 9px 22px;
    background: var(--blue-500);
    border-radius: 50px;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(59,130,246,0.3);
}
.nav-cta:hover { background: var(--blue-600); transform: translateY(-1px); }
#theme-toggle { padding: 8px; width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; background: var(--bg-card-alt); box-shadow: none; border: 1px solid var(--border); cursor: pointer; color: var(--text-primary); border-radius: 50%; transition: color 0.2s, background 0.2s, border-color 0.2s; }
#theme-toggle:hover { background: var(--bg-card); color: var(--blue-600); border-color: var(--blue-500); transform: none; }
#theme-toggle svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.dark #theme-toggle:hover { color: var(--blue-400); border-color: var(--blue-400); }

/* === Hero === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 48px 80px;
    gap: 60px;
    overflow: hidden;
}
.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse 80% 60% at 50% -10%, rgba(59,130,246,0.08) 0%, transparent 70%),
        radial-gradient(ellipse 60% 40% at 80% 80%, rgba(59,130,246,0.04) 0%, transparent 60%);
    pointer-events: none;
}
.hero-bg-grid::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%233b82f6' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}
.hero-bg-grid::after.dark-mode { display: none; }
/* Hero spacing follows Fibonacci/golden-ratio scale: 8 → 13 → 21 → 34 → 55 */
.hero-content { max-width: 600px; z-index: 1; }
.hero-badge {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--green-400);
    background: rgba(52, 211, 153, 0.08);
    border: 1px solid rgba(52, 211, 153, 0.2);
    padding: 5px 12px;
    border-radius: 50px;
    margin-bottom: 21px;
}
.hero-content h1 { margin-bottom: 21px; }
.hero-content h1 .gradient-text { display: inline-block; margin-top: 8px; }
.hero-sub { font-size: 1.15rem; margin: 0 0 34px; line-height: 1.6; color: var(--text-secondary); }
.hero-sub-sm { font-size: 1rem; margin-bottom: 34px; color: var(--text-secondary); }
.hero-sub-sm strong { color: var(--green); }
.gradient-text {
    background: linear-gradient(135deg, #60a5fa, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 13px; margin-bottom: 55px; }
.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 21px;
    font-size: 0.82rem;
    color: var(--text-muted);
    padding-top: 21px;
    border-top: 1px solid var(--border-light);
}
.hero-trust span { display: flex; align-items: center; gap: 6px; }
.hero-trust span::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--green-600); }

.hero-visual { z-index: 1; flex-shrink: 0; }
.hero-elephant {
    width: 340px;
    filter: drop-shadow(0 20px 50px rgba(59,130,246,0.15));
    animation: float 6s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate3d(1, 0, 0, 12deg); }
    50% { transform: translateY(-10px) rotate3d(1, 0, 0, 0deg); }
}

/* === Stats Bar === */
.stats-bar {
    background: var(--bg-card-alt);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 28px 24px;
}
.stats-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
}
.sbar-item { padding: 8px 48px; text-align: center; }
.sbar-value { display: block; font-size: 1.8rem; font-weight: 900; color: var(--blue-600); letter-spacing: -0.03em; }
.sbar-label { display: block; font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }
.sbar-div { width: 1px; height: 40px; background: var(--border-light); }

/* === How It Works === */
.how {
    padding: var(--section-pad) 0;
}
.flow-diagram {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}
.flow-step {
    flex: 1;
    min-width: 220px;
    max-width: 300px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    text-align: center;
    box-shadow: 0 1px 3px var(--shadow-sm);
}
.flow-step h3 { color: var(--text-primary); margin-bottom: 10px; }
.flow-step p { font-size: 0.9rem; color: var(--text-secondary); }
.flow-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(59,130,246,0.12);
    border: 1.5px solid rgba(59,130,246,0.3);
    color: var(--blue-600);
    font-weight: 900;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}
.flow-arrow {
    font-size: 1.8rem;
    color: var(--blue-600);
    margin-top: 40px;
    opacity: 0.5;
}

/* Split callout */
.split-callout {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: 0 1px 3px var(--shadow-sm);
}
.split-visual { margin-bottom: 16px; }
.split-bar {
    display: flex;
    height: 32px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 12px;
    border: 1.5px solid var(--border);
    background: var(--bg-card-alt);
}
.split-you { flex: 60; background: var(--blue-500); display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 0.95rem; color: #fff; }
.split-us { flex: 40; background: transparent; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem; color: var(--text-secondary); }
.split-labels { display: flex; justify-content: space-between; font-size: 0.8rem; }
.split-you-label { color: var(--blue-600); font-weight: 600; }
.split-us-label { color: var(--text-muted); }
.split-note { font-size: 0.85rem; color: var(--text-muted); margin-top: 12px; font-style: italic; }

/* === GPU Grid === */
.gpus {
    padding: var(--section-pad) 0;
    background: var(--bg-card-alt);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}
.gpu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}
.gpu-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    position: relative;
    transition: all 0.25s;
    box-shadow: 0 1px 3px var(--shadow-sm);
    display: flex;
    flex-direction: column;
}
.gpu-card .btn { margin-top: auto; }
.gpu-card:hover { border-color: rgba(59,130,246,0.3); transform: translateY(-3px); box-shadow: 0 4px 12px var(--shadow); }
.gpu-card-pop {
    border-color: rgba(59,130,246,0.3);
    background: rgba(59,130,246,0.04);
}
.gpu-card-pop:hover { border-color: var(--blue-600); }
.gpu-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 3px 10px;
    border-radius: 50px;
    margin-bottom: 14px;
    background: var(--bg-card-alt);
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
}
.gpu-badge-pop {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 3px 10px;
    border-radius: 50px;
    margin-bottom: 14px;
    background: rgba(59,130,246,0.1);
    color: var(--blue-600);
    border: 1px solid rgba(59,130,246,0.2);
}
.gpu-card h3 { color: var(--text-primary); font-size: 1.1rem; margin-bottom: 4px; }
.gpu-specs { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 16px; }
.gpu-calc-preview { background: var(--bg-card-alt); border-radius: 8px; padding: 12px; text-align: center; }
.gpu-monthly { display: block; font-size: 1.1rem; font-weight: 800; color: var(--green); }
.gpu-note { display: block; font-size: 0.72rem; color: var(--text-muted); margin-top: 2px; }

/* === Why === */
.why {
    padding: var(--section-pad) 0;
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}
.why-card {
    padding: 28px 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg-card);
    display: flex;
    gap: 16px;
    transition: all 0.25s;
    box-shadow: 0 1px 3px var(--shadow-sm);
}
.why-card:hover { border-color: rgba(59,130,246,0.25); background: rgba(59,130,246,0.05); }
.why-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59,130,246,0.1);
    border-radius: 10px;
    color: var(--blue-600);
}
.why-icon svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.75; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.dark .why-icon { color: var(--blue-400); background: rgba(96,165,250,0.12); }
.why-card h3 { color: var(--text-primary); font-size: 0.95rem; margin-bottom: 6px; }
.why-card p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; }

/* === Calculator === */
.calculator {
    padding: var(--section-pad) 0;
    background: var(--bg-card-alt);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}
.calc-container {
    max-width: 860px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: 0 1px 3px var(--shadow-sm);
}
.calc-inputs { display: flex; flex-direction: column; }
.calc-field { margin-bottom: 24px; }
.calc-field label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}
.calc-field select {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    background: var(--bg-card);
    color: var(--text-primary);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236b7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}
.calc-field select option { background: var(--bg-card); }
input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: var(--border);
    border: none;
    padding: 0;
    cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--blue-500);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(59,130,246,0.4);
}
.calc-assumptions {
    background: var(--red-bg);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: var(--radius-sm);
    padding: 16px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: auto;
}
.calc-assumptions strong { display: block; color: var(--red-text); margin-bottom: 8px; font-size: 0.82rem; }
.calc-assumptions span { display: block; padding-left: 14px; position: relative; margin-bottom: 4px; }
.calc-assumptions span::before { content: '·'; position: absolute; left: 0; color: #f59e0b; }

.calc-results { display: flex; flex-direction: column; justify-content: center; }
.calc-result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.calc-result-row:last-child { border-bottom: none; }
.calc-featured {
    background: rgba(59,130,246,0.08);
    border-radius: var(--radius-sm);
    padding: 14px 12px !important;
    border: none !important;
    margin: 4px 0;
}
.calc-profit {
    background: rgba(52,211,153,0.08);
    border-radius: var(--radius-sm);
    padding: 14px 12px !important;
    border: none !important;
    margin: 4px 0;
}
.calc-roi {
    background: rgba(59,130,246,0.12);
    border-radius: var(--radius-sm);
    padding: 14px 12px !important;
    border: none !important;
    margin: 4px 0;
}
.calc-value { font-weight: 700; color: var(--text-primary); }
.calc-featured .calc-value { color: var(--blue-600); font-size: 1.05rem; }
.calc-profit .calc-value { color: var(--green-600); font-size: 1.05rem; }
.calc-roi .calc-value { color: var(--blue-600); font-size: 1.05rem; }

.calc-disclaimer {
    max-width: 860px;
    margin: 24px auto 0;
    font-size: 0.82rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.7;
}
.calc-disclaimer a { color: var(--blue-600); }

/* === FAQ === */
.faq {
    padding: var(--section-pad) 0;
}
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
}
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: all 0.2s;
    box-shadow: 0 1px 3px var(--shadow-sm);
}
.faq-item:hover { border-color: rgba(59,130,246,0.2); }
.faq-item h3 { color: var(--text-primary); font-size: 1rem; margin-bottom: 10px; }
.faq-item p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.7; }
.faq-item p strong { color: var(--text-primary); }

/* === CTA === */
.cta {
    position: relative;
    text-align: center;
    padding: 120px 24px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(59,130,246,0.05) 0%, rgba(129,140,248,0.05) 100%);
    border-top: 1px solid var(--border-light);
}
.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(59,130,246,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.cta h2 { color: var(--text-primary); margin-bottom: 0.5em; position: relative; }
.cta p { max-width: 480px; margin: 0 auto 2rem; font-size: 1.05rem; color: var(--text-secondary); position: relative; }
.cta .btn-large { position: relative; }
.cta-small { margin-top: 2.4rem; font-size: 0.75rem; color: var(--text-muted); position: relative; }

/* === Footer === */
footer {
    background: var(--bg-card-alt);
    border-top: 1px solid var(--border-light);
    padding: 40px 24px;
}
.footer-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    color: var(--text-primary);
    font-size: 1.05rem;
    letter-spacing: -0.02em;
}
.footer-logo { height: 26px; filter: none; }
.footer-company { font-size: 0.88rem; color: var(--text-muted); }
.footer-links { font-size: 0.82rem; }
.footer-links a { color: var(--text-secondary); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--blue-600); }
.footer-sep { margin: 0 10px; color: var(--border); }

/* === Responsive === */
@media (max-width: 1024px) {
    .gpu-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    header > nav { top: 0; }
    .risk-banner { position: relative; padding-top: 48px; }
    .hero { flex-direction: column; text-align: center; padding-top: 120px; }
    .hero-actions { justify-content: center; }
    .hero-trust { justify-content: center; }
    .hero-elephant { width: 200px; }
    .stats-inner { flex-direction: column; gap: 16px; }
    .sbar-div { width: 80px; height: 1px; }
    .flow-diagram { flex-direction: column; align-items: center; }
    .flow-arrow { transform: rotate(90deg); margin: 0; }
    .flow-step { max-width: 100%; }
    .gpu-grid { grid-template-columns: 1fr 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .calc-container { grid-template-columns: 1fr; }
    .faq-grid { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; text-align: center; }
    .nav-right .nav-link { display: none; }
    .btn-ghost { margin-left: 0; margin-top: 12px; }
}
@media (max-width: 480px) {
    .gpu-grid { grid-template-columns: 1fr; }
    .sbar-item { padding: 8px 24px; }
}

/* === Dark Mode === */
:root.dark {
    --bg: #0a0f1e;
    --bg-card: #131827;
    --bg-card-alt: #1a1f2e;
    --nav-bg: rgba(10, 15, 30, 0.72);
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --border: rgba(255,255,255,0.1);
    --border-light: rgba(255,255,255,0.06);
    --shadow: rgba(0,0,0,0.3);
    --shadow-sm: rgba(0,0,0,0.15);
    --green: #34d399;
    --red-bg: rgba(245,158,11,0.12);
    --red-text: #f59e0b;
}

.dark .hero-bg-grid::after { opacity: 0.6; }
.dark .btn-card { background: rgba(96,165,250,0.08); color: var(--blue-400); border-color: rgba(96,165,250,0.25); }
.dark .btn-card:hover { background: rgba(96,165,250,0.15); border-color: var(--blue-400); }
.dark .sbar-value { color: var(--blue-400); }
.dark .flow-num { color: var(--blue-400); }
.dark .flow-arrow { color: var(--blue-400); }
.dark .gpu-badge-pop { background: rgba(96,165,250,0.15); color: var(--blue-400); border-color: rgba(96,165,250,0.3); }
.dark .split-you-label { color: var(--blue-400); }
.dark .calc-featured .calc-value, .dark .calc-roi .calc-value { color: var(--blue-400); }
.dark .calc-disclaimer a { color: var(--blue-400); }
.dark .footer-links a:hover { color: var(--blue-400); }
.dark .section-badge { color: var(--blue-400); background: rgba(96,165,250,0.1); border-color: rgba(96,165,250,0.25); }

/* === Pricing table (marketplace pivot) === */
.price-table-wrap {
    margin: 40px 0 56px;
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-card);
    box-shadow: 0 4px 24px var(--shadow-sm);
}
.price-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}
.price-table th, .price-table td {
    padding: 16px 20px;
    text-align: left;
    vertical-align: middle;
}
.price-table thead th {
    background: var(--bg-card-alt);
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}
.price-table thead th small {
    display: block;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 500;
    font-size: 0.72rem;
}
.price-table tbody tr:nth-child(even) { background: var(--bg-card-alt); }
.price-table tbody td:first-child small {
    display: block;
    color: var(--text-muted);
    font-weight: 400;
    font-size: 0.78rem;
    margin-top: 2px;
}
.price-table td:nth-child(2), .price-table td:nth-child(3) {
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
}
/* EU-Sovereign column = the wedge: subtle accent */
.price-table th:nth-child(3), .price-table td:nth-child(3) {
    background: rgba(59,130,246,0.06);
}
.price-table th:nth-child(3) { color: var(--blue-600); }
.dark .price-table th:nth-child(3) { color: var(--blue-400); }
.dark .price-table th:nth-child(3), .dark .price-table td:nth-child(3) {
    background: rgba(96,165,250,0.07);
}
.price-table td.cmp {
    font-variant-numeric: tabular-nums;
    font-size: 0.82rem;
    color: var(--text-muted);
    white-space: nowrap;
}
.price-table td.cmp span { display: block; line-height: 1.7; }
.price-table td.cmp small { font-size: 0.72rem; opacity: 0.75; }
.price-note {
    margin-top: 14px;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.why-card code, .hero-sub code {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.85em;
    background: var(--bg-card-alt);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    padding: 1px 6px;
}
.why-card a { color: var(--blue-600); text-decoration: underline; text-underline-offset: 2px; }
.dark .why-card a { color: var(--blue-400); }
.cta .btn-ghost { margin-left: 12px; }
@media (max-width: 900px) {
    .price-table { font-size: 0.85rem; }
    .price-table th, .price-table td { padding: 12px 12px; }
    .price-table td.cmp { font-size: 0.75rem; }
    .cta .btn-ghost { margin-left: 0; margin-top: 12px; }
}

/* === Language switcher (matches #theme-toggle pill design) === */
#lang-switch {
    appearance: none;
    -webkit-appearance: none;
    height: 38px;
    padding: 0 26px 0 14px;
    background-color: var(--bg-card-alt);
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 12px;
    border: 1px solid var(--border);
    border-radius: 19px;
    color: var(--text-primary);
    font: inherit;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: color 0.2s, background-color 0.2s, border-color 0.2s;
}
#lang-switch:hover { background-color: var(--bg-card); color: var(--blue-600); border-color: var(--blue-500); }
.dark #lang-switch:hover { color: var(--blue-400); border-color: var(--blue-400); }
#lang-switch option { color: #1f2937; background: #fff; font-weight: 600; }
.dark #lang-switch option { color: #f3f4f6; background: #111827; }

/* === Hero vertical centering on tablet portrait (asymmetric padding fix) === */
@media (min-width: 769px) and (max-width: 1080px) and (orientation: portrait) {
    .hero { padding: 110px 40px; }
}
