/* ============================================
   SEVIYE TESPIT SINAVI — Premium Design v3.0
   Deep Sapphire + Warm Amber Color System
   ============================================ */

/* ========== DESIGN TOKENS ========== */
:root {
    /* Primary — Deep Sapphire */
    --primary-950: #0A1628;
    --primary-900: #0F2140;
    --primary-800: #152E56;
    --primary-700: #1B3F6E;
    --primary-600: #1E4D8C;
    --primary: #2563EB;
    --primary-400: #5B8DEF;
    --primary-300: #93B4F4;
    --primary-200: #BFDBFE;
    --primary-100: #DBEAFE;
    --primary-50: #EFF6FF;

    /* Accent — Warm Amber */
    --accent-700: #B45309;
    --accent-600: #D97706;
    --accent: #F59E0B;
    --accent-400: #FBBF24;
    --accent-300: #FCD34D;
    --accent-200: #FDE68A;
    --accent-100: #FEF3C7;
    --accent-50: #FFFBEB;

    /* Secondary — Ocean Teal */
    --secondary-700: #0E7490;
    --secondary: #0EA5E9;
    --secondary-300: #67E8F9;
    --secondary-100: #CFFAFE;
    --secondary-50: #ECFEFF;

    /* Semantic */
    --success: #059669;
    --success-light: #D1FAE5;
    --warning: #D97706;
    --warning-light: #FEF3C7;
    --error: #DC2626;
    --error-light: #FEE2E2;

    /* CEFR Level Colors */
    --level-a1: #22C55E;
    --level-a2: #84CC16;
    --level-b1: #EAB308;
    --level-b2: #F97316;
    --level-c1: #EF4444;
    --level-c2: #8B5CF6;

    /* Neutrals */
    --gray-950: #0C0E14;
    --gray-900: #111827;
    --gray-800: #1F2937;
    --gray-700: #374151;
    --gray-600: #4B5563;
    --gray-500: #6B7280;
    --gray-400: #9CA3AF;
    --gray-300: #D1D5DB;
    --gray-200: #E5E7EB;
    --gray-100: #F3F4F6;
    --gray-50: #F9FAFB;
    --white: #FFFFFF;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #2563EB 0%, #1E4D8C 100%);
    --gradient-accent: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    --gradient-hero: linear-gradient(135deg, #0F2140 0%, #152E56 50%, #1B3F6E 100%);
    --gradient-cta: linear-gradient(135deg, #2563EB 0%, #0EA5E9 100%);
    --gradient-warm-bg: linear-gradient(180deg, #FFFFFF 0%, #FFFBEB 100%);
    --gradient-cool-bg: linear-gradient(180deg, #FFFFFF 0%, #EFF6FF 100%);

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(16,24,40,0.05);
    --shadow-sm: 0 1px 3px rgba(16,24,40,0.06), 0 1px 2px rgba(16,24,40,0.04);
    --shadow: 0 4px 8px -2px rgba(16,24,40,0.06), 0 2px 4px -2px rgba(16,24,40,0.04);
    --shadow-md: 0 12px 24px -4px rgba(16,24,40,0.08), 0 4px 8px -4px rgba(16,24,40,0.03);
    --shadow-lg: 0 20px 40px -8px rgba(16,24,40,0.1), 0 8px 16px -6px rgba(16,24,40,0.04);
    --shadow-xl: 0 32px 64px -12px rgba(16,24,40,0.14), 0 12px 24px -8px rgba(16,24,40,0.05);
    --shadow-card: 0 1px 3px rgba(16,24,40,0.04), 0 6px 16px -2px rgba(16,24,40,0.05);
    --shadow-card-hover: 0 4px 8px rgba(16,24,40,0.06), 0 20px 48px -8px rgba(37,99,235,0.12);
    --shadow-primary: 0 8px 24px -4px rgba(37,99,235,0.32);
    --shadow-primary-lg: 0 12px 32px -4px rgba(37,99,235,0.4);
    --shadow-accent: 0 8px 24px -4px rgba(245,158,11,0.32);
    --shadow-success: 0 4px 14px rgba(5,150,105,0.25);

    /* Border Radius */
    --radius-sm: 6px;
    --radius: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    /* Spacing */
    --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px;
    --sp-5: 20px; --sp-6: 24px; --sp-8: 32px; --sp-10: 40px;
    --sp-12: 48px; --sp-16: 64px; --sp-20: 80px; --sp-24: 96px;

    /* Typography */
    --font-sans: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-mono: "JetBrains Mono", "Fira Code", monospace;

    /* Easing */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Durations */
    --dur-fast: 150ms;
    --dur: 250ms;
    --dur-slow: 400ms;
    --dur-xl: 600ms;
    --transition: 250ms cubic-bezier(0.16, 1, 0.3, 1);

    /* Z-index */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-overlay: 300;
    --z-modal: 400;
    --z-toast: 500;

    /* Aliases */
    --text: var(--gray-800);
    --text-heading: var(--gray-900);
    --text-secondary: var(--gray-600);
    --text-muted: var(--gray-500);
    --border: var(--gray-200);
    --border-light: var(--gray-100);
    --bg: var(--gray-50);
    --bg-white: var(--white);

    /* Backwards compat */
    --primary-dark: var(--primary-600);
    --primary-light: var(--primary-50);
    --accent-light: var(--accent-50);
    --success-dark: var(--success);
    --slate-50: var(--gray-50); --slate-100: var(--gray-100); --slate-200: var(--gray-200);
    --slate-300: var(--gray-300); --slate-400: var(--gray-400); --slate-500: var(--gray-500);
    --slate-600: var(--gray-600); --slate-700: var(--gray-700); --slate-800: var(--gray-800);
    --slate-900: var(--gray-900); --slate-950: var(--gray-950);
    --secondary-light: var(--secondary-50);
    --font: var(--font-sans);

    /* Layout */
    --max-width: 1280px;
    --max-width-narrow: 920px;
    --max-width-content: 680px;
    --header-height: 72px;
    --section-gap: clamp(64px, 10vw, 96px);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 20px);
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--dur) var(--ease-out); }
a:hover { color: var(--primary-600); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }
::selection { background: var(--primary); color: white; }
::-moz-selection { background: var(--primary); color: white; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gray-400); }

a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
    outline: 3px solid var(--primary-300);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

/* ========== LAYOUT ========== */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: var(--max-width-content); }
.container-md { max-width: var(--max-width-narrow); }

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-heading);
    letter-spacing: -0.025em;
}
h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.125rem, 2vw, 1.5rem); }

.text-gradient, .gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmerText 4s linear infinite;
}
@keyframes shimmerText {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--accent-100);
    color: var(--accent-700);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}
.section-title { margin-bottom: 12px; }
.section-desc {
    color: var(--text-secondary);
    font-size: 1.0625rem;
    max-width: 600px;
    margin: 0 auto 48px;
    line-height: 1.7;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius);
    transition: all var(--dur-slow) var(--ease-out);
    white-space: nowrap;
    border: 2px solid transparent;
    line-height: 1.4;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}
.btn:active { transform: scale(0.97); }
.btn svg { flex-shrink: 0; transition: transform var(--dur) var(--ease-out); }
.btn:hover svg { transform: translateX(2px); }

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-primary);
    border-color: transparent;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary-lg);
    color: white;
    filter: brightness(1.08);
}
.btn-primary:active { transform: translateY(0) scale(0.97); }

.btn-accent {
    background: var(--gradient-accent);
    color: white;
    box-shadow: var(--shadow-accent);
    border-color: transparent;
}
.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px -4px rgba(245,158,11,0.45);
    color: white;
    filter: brightness(1.08);
}

.btn-outline {
    border-color: var(--gray-300);
    color: var(--text-heading);
    background: var(--white);
}
.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-50);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-white {
    background: white;
    color: var(--primary);
    box-shadow: var(--shadow-md);
    font-weight: 700;
    border-color: transparent;
}
.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--primary);
}

.btn-outline-white {
    border-color: rgba(255,255,255,0.35);
    color: white;
    background: rgba(255,255,255,0.08);
}
.btn-outline-white:hover {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.6);
    color: white;
    transform: translateY(-2px);
}

.btn-success {
    background: var(--success);
    color: white;
    box-shadow: var(--shadow-success);
    border-color: transparent;
}
.btn-success:hover { filter: brightness(1.1); color: white; transform: translateY(-2px); }

.btn-ghost {
    color: var(--text-secondary);
    gap: 6px;
    padding: 8px 16px;
    border-color: transparent;
}
.btn-ghost:hover { color: var(--primary); background: var(--primary-50); }

.btn-sm { padding: 8px 16px; font-size: 0.8125rem; border-radius: var(--radius-sm); }
.btn-lg { padding: 14px 28px; font-size: 1rem; border-radius: var(--radius-md); }
.btn-xl { padding: 16px 36px; font-size: 1.0625rem; border-radius: var(--radius-md); font-weight: 700; }
.btn-block { width: 100%; }

/* ========== BADGES ========== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.badge-primary { background: var(--primary-100); color: var(--primary-700); }
.badge-accent { background: var(--accent-100); color: var(--accent-700); }
.badge-success { background: var(--success-light); color: var(--success); }
.badge-warning { background: var(--warning-light); color: var(--warning); }
.badge-error { background: var(--error-light); color: var(--error); }

/* ========== HEADER (.hd-*) ========== */
.hd {
    position:sticky; top:0; z-index:var(--z-header,1000);
    height:var(--header-height);
    background:rgba(255,255,255,.88);
    backdrop-filter:blur(20px) saturate(180%);
    -webkit-backdrop-filter:blur(20px) saturate(180%);
    border-bottom:1px solid transparent;
    transition:background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.hd.scrolled { background:rgba(255,255,255,.97); border-bottom-color:var(--gray-200); box-shadow:0 1px 3px rgba(0,0,0,.06); }

.hd__inner {
    max-width:var(--max-width); margin:0 auto; padding:0 24px;
    display:flex; align-items:center; justify-content:space-between; height:100%; gap:16px;
}

/* Logo */
.hd__logo { display:flex; align-items:center; gap:10px; text-decoration:none; flex-shrink:0; }
.hd__logo:hover { opacity:.88; }
.hd__logo-icon { flex-shrink:0; display:flex; }
.hd__logo-text { display:flex; flex-direction:column; line-height:1.12; }
.hd__logo-text strong { font-size:1rem; font-weight:800; color:var(--text-heading); letter-spacing:-.02em; }
.hd__logo-text small { font-size:.6875rem; font-weight:600; color:var(--primary); letter-spacing:.02em; }

/* Desktop Nav */
.hd__nav { display:flex; align-items:center; }
.hd__links { display:flex; align-items:center; gap:2px; list-style:none; margin:0; padding:0; }
.hd__links > li > a,
.hd__dd-toggle {
    padding:8px 14px; font-size:.9375rem; font-weight:500; color:var(--text-secondary);
    border-radius:var(--radius); transition:all .2s ease;
    display:flex; align-items:center; gap:4px; position:relative;
    background:none; border:none; cursor:pointer; font-family:inherit;
    text-decoration:none; white-space:nowrap;
}
.hd__links > li > a::after {
    content:''; position:absolute; bottom:2px; left:14px; right:14px;
    height:2px; background:var(--primary); border-radius:1px;
    transform:scaleX(0); transition:transform .2s ease;
}
.hd__links > li > a:hover,
.hd__dd-toggle:hover { color:var(--primary); }
.hd__links > li > a:hover::after,
.hd__link--active::after { transform:scaleX(1) !important; }
.hd__link--active { color:var(--primary) !important; font-weight:600; }

/* Dropdown */
.hd__dd { position:relative; }
.hd__dd-toggle svg { transition:transform .2s ease; }
.hd__dd:hover .hd__dd-toggle svg,
.hd__dd.open .hd__dd-toggle svg { transform:rotate(180deg); }
.hd__dd-panel {
    position:absolute; top:calc(100% + 10px); left:-16px;
    min-width:300px; background:white; border:1px solid var(--gray-200);
    border-radius:14px; box-shadow:0 20px 40px -8px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.06);
    padding:8px; opacity:0; visibility:hidden;
    transform:translateY(8px) scale(.97); transition:all .22s cubic-bezier(.16,1,.3,1);
    z-index:var(--z-dropdown,200);
}
.hd__dd:hover .hd__dd-panel,
.hd__dd.open .hd__dd-panel { opacity:1; visibility:visible; transform:translateY(0) scale(1); }
.hd__dd-head {
    font-size:.6875rem; font-weight:700; text-transform:uppercase;
    letter-spacing:.06em; color:var(--text-muted); padding:8px 12px 6px;
}
.hd__dd-item {
    display:flex; align-items:center; gap:12px;
    padding:10px 14px; border-radius:10px; text-decoration:none;
    color:var(--text-secondary); font-size:.9375rem; font-weight:500;
    transition:all .15s ease;
}
.hd__dd-item:hover { background:var(--primary-50); color:var(--primary); }
.hd__dd-item:hover .hd__dd-arrow { opacity:1; transform:translateX(2px); }
.hd__dd-flag { font-size:1.2rem; border-radius:3px; }
.hd__dd-name { flex:1; }
.hd__dd-arrow { opacity:0; transition:all .15s ease; color:var(--primary-300); }

/* Header Actions */
.hd__actions { display:flex; align-items:center; gap:12px; flex-shrink:0; }
.hd__cta {
    display:inline-flex; align-items:center; gap:7px;
    padding:9px 20px; font-size:.875rem; font-weight:600;
    background:var(--gradient-primary); color:white; border-radius:var(--radius);
    text-decoration:none; transition:all .25s ease;
    box-shadow:0 2px 8px rgba(37,99,235,.2);
}
.hd__cta:hover { transform:translateY(-1px); box-shadow:0 6px 20px rgba(37,99,235,.3); color:white; }
.hd__cta svg { transition:transform .2s ease; }
.hd__cta:hover svg { transform:translateX(2px); }

/* Burger */
.hd__burger {
    display:none; flex-direction:column; justify-content:center;
    gap:5px; width:40px; height:40px; padding:8px;
    background:none; border:none; cursor:pointer; border-radius:var(--radius);
    transition:background .15s ease;
}
.hd__burger:hover { background:var(--gray-100); }
.hd__burger-line {
    display:block; width:100%; height:2px; background:var(--text-heading);
    border-radius:2px; transition:all .3s cubic-bezier(.16,1,.3,1);
    transform-origin:center;
}
.hd__burger.active .hd__burger-line:nth-child(1) { transform:translateY(7px) rotate(45deg); }
.hd__burger.active .hd__burger-line:nth-child(2) { opacity:0; transform:scaleX(0); }
.hd__burger.active .hd__burger-line:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }

@media (max-width:1024px) {
    .hd__nav { display:none; }
    .hd__cta { display:none; }
    .hd__burger { display:flex; }
}

/* ========== MOBILE MENU (.mm-*) ========== */
.mm { position:fixed; inset:0; z-index:9999; pointer-events:none; }
.mm.open { pointer-events:auto; }

.mm__backdrop {
    position:absolute; inset:0;
    background:rgba(10,22,40,.55); backdrop-filter:blur(4px);
    opacity:0; transition:opacity .3s ease;
}
.mm.open .mm__backdrop { opacity:1; }

.mm__panel {
    position:absolute; top:0; right:0; bottom:0;
    width:340px; max-width:88vw; background:white;
    display:flex; flex-direction:column;
    transform:translateX(100%); transition:transform .35s cubic-bezier(.16,1,.3,1);
    box-shadow:-8px 0 40px rgba(0,0,0,.12);
}
.mm.open .mm__panel { transform:translateX(0); }

.mm__header {
    display:flex; align-items:center; justify-content:space-between;
    padding:16px 20px; border-bottom:1px solid var(--gray-100);
}
.mm__close {
    width:36px; height:36px; border-radius:10px;
    display:flex; align-items:center; justify-content:center;
    background:var(--gray-50); border:none; cursor:pointer;
    color:var(--text-secondary); transition:all .15s ease;
}
.mm__close:hover { background:var(--gray-200); color:var(--text-heading); }

.mm__nav {
    flex:1; overflow-y:auto; padding:12px 16px;
    display:flex; flex-direction:column; gap:2px;
}
.mm__section-label {
    font-size:.6875rem; font-weight:700; text-transform:uppercase;
    letter-spacing:.06em; color:var(--text-muted); padding:16px 12px 6px;
}
.mm__link {
    display:flex; align-items:center; gap:12px;
    padding:12px 14px; border-radius:10px; text-decoration:none;
    font-size:.9375rem; font-weight:500; color:var(--text-secondary);
    transition:all .15s ease;
}
.mm__link svg { width:20px; height:20px; flex-shrink:0; color:var(--gray-400); }
.mm__link:hover { background:var(--primary-50); color:var(--primary); }
.mm__link:hover svg { color:var(--primary); }
.mm__link--active { background:var(--primary-50); color:var(--primary); font-weight:600; }
.mm__link--active svg { color:var(--primary); }
.mm__link--lang { padding-left:20px; }
.mm__flag { font-size:1.125rem; border-radius:3px; }
.mm__divider { height:1px; background:var(--gray-100); margin:8px 0; }

.mm__footer { padding:16px 20px; border-top:1px solid var(--gray-100); }
.mm__cta {
    display:flex; align-items:center; justify-content:center; gap:8px;
    width:100%; padding:14px 24px; border-radius:12px;
    background:var(--gradient-primary); color:white; font-size:.9375rem; font-weight:600;
    text-decoration:none; transition:all .2s ease;
    box-shadow:0 4px 12px rgba(37,99,235,.25);
}
.mm__cta:hover { transform:translateY(-1px); box-shadow:0 6px 20px rgba(37,99,235,.35); color:white; }
.mm__cta svg { transition:transform .2s ease; }
.mm__cta:hover svg { transform:translateX(3px); }

/* ========== BREADCRUMBS ========== */
.breadcrumb {
    padding: 16px 0;
    font-size: 0.875rem;
    color: var(--text-muted);
}
.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0;
}
.breadcrumb-list li {
    display: inline-flex;
    align-items: center;
}
.breadcrumb-list li:not(:last-child)::after {
    content: '/';
    margin: 0 8px;
    color: var(--gray-400);
    font-size: 0.75rem;
}
.breadcrumb-list li a { color: var(--text-secondary); transition: color var(--dur-fast) ease; }
.breadcrumb-list li a:hover { color: var(--primary); }
.breadcrumb-list li .current { color: var(--text-heading); font-weight: 500; }
.breadcrumb-sep { color: var(--gray-400); font-size: 0.75rem; }
.breadcrumb-current { color: var(--text-heading); font-weight: 500; }

/* ========== ALERTS ========== */
.alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: var(--radius);
    font-size: 0.9375rem;
    font-weight: 500;
    margin-bottom: 20px;
    border: 1px solid;
}
.alert-success {
    background: var(--success-light);
    color: var(--success);
    border-color: rgba(5,150,105,0.15);
}
.alert-error {
    background: var(--error-light);
    color: var(--error);
    border-color: rgba(220,38,38,0.15);
}

/* ========== HERO SECTION ========== */
.hero {
    position: relative;
    background: var(--gradient-hero);
    padding: clamp(80px, 12vw, 120px) 0 clamp(60px, 10vw, 96px);
    overflow: hidden;
    color: white;
}

/* Hero Background Effects */
.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.hero-bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
}
.hero-bg-orb--1 {
    width: 600px;
    height: 600px;
    background: var(--primary-400);
    top: -200px;
    right: -100px;
}
.hero-bg-orb--2 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    bottom: -150px;
    left: -100px;
    opacity: 0.1;
}
.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 32px 32px;
}

.hero-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content { max-width: 560px; }

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px 6px 8px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
}
.hero-pill__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero-title {
    font-size: clamp(2.25rem, 5.5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: white;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}
.hero-title .text-gradient {
    -webkit-text-fill-color: transparent;
    background: linear-gradient(135deg, var(--accent-300) 0%, var(--accent) 50%, var(--accent-400) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shimmerText 3s linear infinite;
}

.hero-desc {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 480px;
}

.hero-cta-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-checklist {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
.hero-checklist li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.7);
}
.hero-checklist li svg { color: var(--accent); flex-shrink: 0; }

/* Hero Mockup Card */
.hero-mockup {
    position: relative;
    display: flex;
    justify-content: center;
}
.hero-mockup-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-xl);
    padding: 32px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 32px 64px rgba(0,0,0,0.3);
}
.hero-mockup-card__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.hero-mockup-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: white;
}
.hero-mockup-card__subtitle {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.5);
}

.hero-float-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-md);
    font-size: 0.8125rem;
    font-weight: 600;
    color: white;
    white-space: nowrap;
    animation: floatBadge 6s ease-in-out infinite;
}
.hero-float-badge--1 { top: 10%; left: -20px; animation-delay: 0s; }
.hero-float-badge--2 { bottom: 15%; right: -24px; animation-delay: 2s; }
.hero-float-badge--3 { top: 55%; left: -30px; animation-delay: 4s; }
@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@media (max-width: 1024px) {
    .hero-row { grid-template-columns: 1fr; gap: 48px; text-align: center; }
    .hero-content { max-width: 100%; margin: 0 auto; }
    .hero-desc { max-width: 100%; margin-left: auto; margin-right: auto; }
    .hero-cta-group { justify-content: center; }
    .hero-checklist { justify-content: center; }
    .hero-mockup { display: none; }
}
@media (max-width: 480px) {
    .hero { padding: 64px 0 48px; }
    .hero-cta-group { flex-direction: column; }
    .hero-cta-group .btn { width: 100%; }
}

/* ========== PROOF BAR (Social Proof) ========== */
.proof-bar {
    background: white;
    border-bottom: 1px solid var(--gray-200);
    padding: 24px 0;
}
.proof-bar__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}
.proof-bar__item { position: relative; }
.proof-bar__item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -16px;
    top: 10%;
    height: 80%;
    width: 1px;
    background: var(--gray-200);
}
.proof-bar__num {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.03em;
    line-height: 1.2;
}
.proof-bar__label {
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 2px;
}

@media (max-width: 768px) {
    .proof-bar__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .proof-bar__item:not(:last-child)::after { display: none; }
}

/* ========== SHARED SECTION HEADING ========== */
.section-heading {
    text-align: center;
    margin-bottom: 48px;
}

/* ========== LANGUAGE CARDS ========== */
.languages-section {
    padding: var(--section-gap) 0;
    background: var(--gray-50);
}
.lang-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.lang-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all var(--dur-slow) var(--ease-out);
    position: relative;
    overflow: hidden;
}
.lang-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--dur-slow) var(--ease-out);
}
.lang-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--primary-200);
}
.lang-card:hover::before { transform: scaleX(1); }

.lang-card--featured {
    border-color: var(--primary-200);
    background: var(--gradient-cool-bg);
    box-shadow: var(--shadow-card);
}
.lang-card--featured::before { transform: scaleX(1); background: var(--gradient-accent); }
.lang-card__popular {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 10px;
    background: var(--accent-100);
    color: var(--accent-700);
    font-size: 0.6875rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.lang-card__flag {
    display: inline-flex;
    margin-bottom: 16px;
    font-size: 2.5rem;
    border-radius: 6px;
    overflow: hidden;
}
.lang-card__name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-heading);
}
.lang-card__meta {
    display: flex;
    gap: 12px;
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}
.lang-card__meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.lang-card__levels {
    display: flex;
    gap: 3px;
    margin-bottom: 20px;
}
.lang-card__level-dot {
    flex: 1;
    height: 4px;
    border-radius: 2px;
    background: var(--gray-200);
}
.lang-card__level-dot--active { background: var(--primary-300); }

.lang-card .btn { width: 100%; }

@media (max-width: 1024px) { .lang-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .lang-grid { grid-template-columns: 1fr; } }

/* ========== HOW IT WORKS (Steps) ========== */
.how-it-works {
    padding: var(--section-gap) 0;
    background: white;
}
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
}
.steps-grid::before {
    content: '';
    position: absolute;
    top: 48px;
    left: 16%;
    right: 16%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--primary-200) 0, var(--primary-200) 8px, transparent 8px, transparent 16px);
    z-index: 0;
}

.step-card {
    text-align: center;
    padding: 32px 24px;
    position: relative;
    z-index: 1;
    background: white;
    border-radius: var(--radius-lg);
    transition: all var(--dur-slow) var(--ease-out);
}
.step-card:hover { transform: translateY(-4px); }

.step-card__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
}
.step-card:nth-child(1) .step-card__num { background: var(--primary-100); color: var(--primary); }
.step-card:nth-child(2) .step-card__num { background: var(--accent-100); color: var(--accent-700); }
.step-card:nth-child(3) .step-card__num { background: var(--success-light); color: var(--success); }

.step-card__title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-heading);
}
.step-card__desc {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .steps-grid { grid-template-columns: 1fr; gap: 24px; }
    .steps-grid::before { display: none; }
}

/* ========== CEFR LEVELS ========== */
.cefr-section {
    padding: var(--section-gap) 0;
    background: var(--primary-50);
}
.levels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.level-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    border: 1px solid var(--gray-200);
    transition: all var(--dur-slow) var(--ease-out);
}
.level-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
    border-color: transparent;
}

.level-card__badge {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 48px;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
    transition: transform var(--dur) var(--ease-spring);
}
.level-card:hover .level-card__badge { transform: scale(1.1); }

.level-card__badge--a1 { background: var(--level-a1); }
.level-card__badge--a2 { background: var(--level-a2); }
.level-card__badge--b1 { background: var(--level-b1); }
.level-card__badge--b2 { background: var(--level-b2); }
.level-card__badge--c1 { background: var(--level-c1); }
.level-card__badge--c2 { background: var(--level-c2); }

.level-card__info h3 { font-size: 1rem; margin-bottom: 4px; color: var(--text-heading); }
.level-card__info p { font-size: 0.8125rem; color: var(--text-secondary); line-height: 1.5; margin: 0; }

@media (max-width: 768px) { .levels-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .levels-grid { grid-template-columns: 1fr; } }

/* ========== TRUST / WHY US ========== */
.trust-section {
    padding: var(--section-gap) 0;
    background: white;
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.trust-card {
    text-align: center;
    padding: 32px 20px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    background: white;
    transition: all var(--dur-slow) var(--ease-out);
    position: relative;
}
.trust-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
    border-color: transparent;
}

.trust-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    transition: transform var(--dur) var(--ease-spring);
}
.trust-card:hover .trust-card__icon { transform: scale(1.1) rotate(-3deg); }

.trust-card__icon--primary { background: var(--primary-100); color: var(--primary); }
.trust-card__icon--accent { background: var(--accent-100); color: var(--accent-700); }
.trust-card__icon--success { background: var(--success-light); color: var(--success); }
.trust-card__icon--secondary { background: var(--secondary-100); color: var(--secondary-700); }

.trust-card h3 { font-size: 1.0625rem; margin-bottom: 8px; color: var(--text-heading); }
.trust-card p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; margin: 0; }

@media (max-width: 1024px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .trust-grid { grid-template-columns: 1fr; } }

/* ========== TESTIMONIALS / REVIEWS ========== */
.reviews-section {
    padding: var(--section-gap) 0;
    background: var(--gradient-warm-bg);
}
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.review-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all var(--dur-slow) var(--ease-out);
    position: relative;
}
.review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-color: transparent;
}

.review-card__quote {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 3rem;
    line-height: 1;
    color: var(--primary-100);
    font-family: Georgia, serif;
    pointer-events: none;
}

.review-card__stars {
    display: flex;
    gap: 2px;
    margin-bottom: 16px;
}
.review-card__text {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}
.review-card__author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.review-card__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-100);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    font-weight: 700;
    flex-shrink: 0;
}
.review-card__author strong { font-size: 0.875rem; color: var(--text-heading); display: block; }
.review-card__author span { font-size: 0.75rem; color: var(--text-muted); }

@media (max-width: 768px) { .reviews-grid { grid-template-columns: 1fr; } }

/* ========== BLOG SECTION (Home + List) ========== */
.blog-section {
    padding: var(--section-gap) 0;
    background: var(--gray-50);
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.blog-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--dur-slow) var(--ease-out);
}
.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
    border-color: transparent;
}

.blog-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}
.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--dur-slow) var(--ease-out);
}
.blog-card:hover .blog-card-image img { transform: scale(1.05); }

.blog-card-category {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    background: var(--accent);
    color: white;
    font-size: 0.6875rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    z-index: 2;
}

.blog-card-body { padding: 20px; }
.blog-card-body h3 { font-size: 1.0625rem; margin-bottom: 8px; line-height: 1.4; }
.blog-card-body h3 a { color: var(--text-heading); transition: color var(--dur-fast) ease; }
.blog-card-body h3 a:hover { color: var(--primary); }
.blog-card-body p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 12px; }

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.75rem;
    color: var(--text-muted);
}
.blog-card-meta span { display: flex; align-items: center; gap: 4px; }

@media (max-width: 768px) { .blog-grid { grid-template-columns: 1fr; } }

/* Blog List Layout */
.blog-list-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
}
@media (max-width: 1024px) { .blog-list-layout { grid-template-columns: 1fr; } }

/* ========== FAQ SECTION ========== */
.faq-section {
    padding: var(--section-gap) 0;
    background: white;
}
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    background: white;
    overflow: hidden;
    transition: all var(--dur) var(--ease-out);
}
.faq-item:hover { border-color: var(--primary-200); }
.faq-item.active {
    border-color: var(--primary-200);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-heading);
    background: none;
    width: 100%;
    text-align: left;
    gap: 16px;
    transition: color var(--dur-fast) ease;
}
.faq-question:hover { color: var(--primary); }
.faq-question svg {
    flex-shrink: 0;
    transition: transform var(--dur) var(--ease-out);
    color: var(--gray-400);
}
.faq-item.active .faq-question svg { transform: rotate(180deg); color: var(--primary); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--dur-slow) var(--ease-out);
}
.faq-answer-inner {
    padding: 0 24px 18px;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
    border-top: 1px solid var(--gray-100);
    padding-top: 16px;
}

/* ========== CTA SECTION ========== */
.cta-section {
    padding: var(--section-gap) 0;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}
.cta-inner {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
}
.cta-inner h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: white;
    margin-bottom: 16px;
}
.cta-inner p {
    color: rgba(255,255,255,0.75);
    font-size: 1.0625rem;
    margin-bottom: 32px;
    line-height: 1.7;
}
.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ========== LANGUAGE DETAIL PAGE ========== */
.lang-hero {
    text-align: center;
    padding: 48px 0 40px;
    background: var(--primary-50);
    border-bottom: 1px solid var(--primary-100);
}
.lang-hero__flag {
    font-size: 3.5rem;
    display: inline-block;
    margin-bottom: 12px;
    border-radius: 8px;
}
.lang-hero h1 { margin-bottom: 12px; }
.lang-hero p { color: var(--text-secondary); margin-bottom: 20px; max-width: 480px; margin-left: auto; margin-right: auto; }
.lang-hero__badges {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

/* Test Option Cards */
.test-options { padding: 48px 0; background: white; }
.test-options__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.test-card {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 28px;
    background: white;
    position: relative;
    overflow: hidden;
    transition: all var(--dur-slow) var(--ease-out);
}
.test-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gray-300);
    transition: background var(--dur) ease;
}
.test-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
    border-color: transparent;
}
.test-card:hover::before { background: var(--primary); }

.test-card--featured {
    border-color: var(--primary-200);
    background: var(--gradient-cool-bg);
    box-shadow: var(--shadow-card);
}
.test-card--featured::before { background: var(--gradient-accent) !important; height: 4px; }
.test-card__badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 10px;
    background: var(--accent-100);
    color: var(--accent-700);
    font-size: 0.6875rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    text-transform: uppercase;
}

.test-card__icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.test-card__icon--primary { background: var(--primary-100); color: var(--primary); }
.test-card__icon--accent { background: var(--accent-100); color: var(--accent-700); }
.test-card__icon--secondary { background: var(--secondary-100); color: var(--secondary-700); }

.test-card h3 { font-size: 1.125rem; margin-bottom: 8px; color: var(--text-heading); }
.test-card p { font-size: 0.875rem; color: var(--text-secondary); margin-bottom: 16px; line-height: 1.6; }
.test-card__meta {
    display: flex;
    gap: 12px;
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}
.test-card .btn { width: 100%; }

@media (max-width: 768px) { .test-options__grid { grid-template-columns: 1fr; } }

/* Language About Section */
.lang-about { padding: 48px 0; background: var(--gray-50); }
.lang-about-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: start;
}
.lang-about-content .prose { margin-bottom: 32px; }

/* Sidebar (STICKY) */
.sidebar {
    position: sticky;
    top: calc(var(--header-height) + 16px);
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.sidebar-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 24px;
}
.sidebar-card h3 { font-size: 1rem; margin-bottom: 16px; color: var(--text-heading); }
.sidebar-card--cta {
    background: var(--gradient-primary) !important;
    border: none !important;
    color: white;
}
.sidebar-card--cta h3 { color: white; }
.sidebar-card--cta p { color: rgba(255,255,255,0.8); font-size: 0.9375rem; margin-bottom: 16px; }
.sidebar-card--cta .btn-primary,
.sidebar-card--cta .btn {
    background: white;
    color: var(--primary);
    box-shadow: none;
}
.sidebar-card--cta .btn:hover { box-shadow: var(--shadow-md); }

/* Level distribution bars */
.level-bars { display: flex; flex-direction: column; gap: 10px; }
.level-bar-row {
    display: grid;
    grid-template-columns: 36px 1fr 32px;
    align-items: center;
    gap: 10px;
    font-size: 0.8125rem;
}
.level-bar-label { font-weight: 700; }
.level-bar-track {
    height: 8px;
    background: var(--gray-100);
    border-radius: 4px;
    overflow: hidden;
}
.level-bar-fill { height: 100%; border-radius: 4px; transition: width var(--dur-xl) var(--ease-out); }
.level-bar-count { text-align: right; color: var(--text-muted); font-size: 0.75rem; }

.lang-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 24px 0;
}
.lang-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
}
.lang-feature svg { color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.lang-feature strong { display: block; font-size: 0.9375rem; margin-bottom: 2px; }
.lang-feature span { font-size: 0.8125rem; color: var(--text-secondary); }

@media (max-width: 1024px) {
    .lang-about-grid { grid-template-columns: 1fr; }
    .sidebar { position: static; }
}
@media (max-width: 480px) { .lang-features { grid-template-columns: 1fr; } }

/* ========== EXAM PAGES ========== */
/* Exam Start */
.exam-start-section {
    padding: 48px 0 64px;
    background: var(--gray-50);
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
}
.exam-start-card {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    padding: clamp(28px, 5vw, 48px);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid var(--gray-200);
}
.exam-start-header { margin-bottom: 32px; }
.exam-start-header h1 { font-size: clamp(1.375rem, 3vw, 1.75rem); margin-bottom: 8px; }
.exam-start-header p { color: var(--text-secondary); font-size: 0.9375rem; }

.exam-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 28px;
}
.exam-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: var(--gray-50);
    border-radius: var(--radius);
    text-align: left;
}
.exam-info-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--primary-100);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.exam-info-item strong { display: block; font-size: 0.875rem; color: var(--text-heading); }
.exam-info-item span { font-size: 0.75rem; color: var(--text-muted); }

.exam-rules {
    text-align: left;
    margin-bottom: 28px;
    padding: 20px;
    background: var(--accent-50);
    border-radius: var(--radius);
    border: 1px solid var(--accent-200);
}
.exam-rules h3 { font-size: 0.9375rem; margin-bottom: 10px; color: var(--accent-700); }
.exam-rules ul { padding-left: 18px; }
.exam-rules li {
    list-style: disc;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
    line-height: 1.5;
}
.exam-rules li::marker { color: var(--accent); }

.exam-start-form { margin-bottom: 16px; }
.exam-start-form .btn { font-size: 1.0625rem; padding: 16px 32px; }

@media (max-width: 480px) { .exam-info-grid { grid-template-columns: 1fr; } }

/* ========== EXAM QUESTION PAGE (eq-*) ========== */
.sr-only { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0; }
.eq { background:var(--gray-50); min-height:100vh; display:flex; flex-direction:column; }

/* --- Sticky bar --- */
.eq-bar {
    position:sticky; top:0; z-index:100;
    background:rgba(255,255,255,.97); backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px);
    border-bottom:1px solid var(--gray-200);
    box-shadow:0 1px 3px rgba(0,0,0,.04);
}
.eq-bar__inner {
    display:flex; align-items:center; justify-content:space-between;
    max-width:900px; margin:0 auto; padding:12px 20px;
}
.eq-bar__left { display:flex; align-items:center; gap:8px; }
.eq-bar__flag { font-size:1.125rem; border-radius:3px; }
.eq-bar__lang { font-size:0.8125rem; font-weight:600; color:var(--text-heading); }
.eq-bar__sep { width:1px; height:16px; background:var(--gray-300); }
.eq-bar__count { font-size:0.9375rem; font-weight:700; color:var(--primary); letter-spacing:-.02em; }
.eq-bar__count small { font-weight:500; color:var(--text-muted); font-size:0.8125rem; }
.eq-bar__right { display:flex; align-items:center; gap:10px; }

/* Timer */
.eq-timer {
    display:flex; align-items:center; gap:5px;
    padding:6px 12px; border-radius:var(--radius);
    background:var(--gray-50); border:1px solid var(--gray-200);
    font-variant-numeric:tabular-nums;
}
.eq-timer__icon { width:16px; height:16px; color:var(--accent); flex-shrink:0; }
.eq-timer__digits { font-size:0.875rem; font-weight:700; color:var(--text-heading); }
.eq-timer.warning { border-color:var(--warning); background:#FFF8E1; }
.eq-timer.warning .eq-timer__digits { color:var(--warning); }
.eq-timer.warning .eq-timer__icon { color:var(--warning); }
.eq-timer.danger { border-color:var(--error); background:#FFF0F0; animation:eq-pulse 1s ease infinite; }
.eq-timer.danger .eq-timer__digits { color:var(--error); }
.eq-timer.danger .eq-timer__icon { color:var(--error); }
@keyframes eq-pulse { 0%,100%{opacity:1} 50%{opacity:.6} }

/* Map toggle button */
.eq-bar__map-toggle {
    display:flex; align-items:center; gap:4px;
    padding:6px 10px; border-radius:var(--radius);
    background:transparent; border:1px solid var(--gray-200);
    cursor:pointer; transition:all .15s ease;
    color:var(--text-secondary); font-size:0.75rem; font-weight:600;
}
.eq-bar__map-toggle svg { width:16px; height:16px; }
.eq-bar__map-toggle:hover { background:var(--gray-50); border-color:var(--primary-200); color:var(--primary); }
.eq-bar__map-badge { font-variant-numeric:tabular-nums; }

/* Progress bar */
.eq-progress { height:3px; background:var(--gray-100); }
.eq-progress__fill {
    height:100%; border-radius:0 2px 2px 0;
    background:linear-gradient(90deg,var(--primary),var(--accent));
    transition:width .4s cubic-bezier(.16,1,.3,1);
}

/* --- Question Map Drawer --- */
.eq-map {
    position:fixed; top:0; right:-340px; width:320px; max-width:85vw; height:100vh;
    background:white; z-index:200; box-shadow:-4px 0 24px rgba(0,0,0,.12);
    transition:right .3s cubic-bezier(.16,1,.3,1);
    display:flex; flex-direction:column; overflow-y:auto;
}
.eq-map--open { right:0; }
.eq-map__overlay {
    position:fixed; inset:0; background:rgba(0,0,0,.35); z-index:199;
    opacity:0; pointer-events:none; transition:opacity .25s ease;
}
.eq-map__overlay--show { opacity:1; pointer-events:auto; }
.eq-map__head {
    display:flex; align-items:center; justify-content:space-between;
    padding:20px 20px 12px; border-bottom:1px solid var(--gray-100);
}
.eq-map__title { font-size:0.9375rem; font-weight:700; color:var(--text-heading); }
.eq-map__close {
    width:32px; height:32px; border-radius:var(--radius-sm);
    display:flex; align-items:center; justify-content:center;
    background:var(--gray-50); border:none; cursor:pointer; color:var(--text-secondary);
}
.eq-map__close svg { width:18px; height:18px; }
.eq-map__close:hover { background:var(--gray-100); }
.eq-map__legend {
    display:flex; gap:16px; padding:12px 20px; font-size:0.6875rem;
    color:var(--text-muted); font-weight:500;
}
.eq-map__legend-item { display:flex; align-items:center; gap:5px; }
.eq-map__dot { width:10px; height:10px; border-radius:3px; display:inline-block; border:1px solid var(--gray-300); background:white; }
.eq-map__dot--current { background:var(--primary); border-color:var(--primary); }
.eq-map__dot--done { background:var(--success); border-color:var(--success); }
.eq-map__grid {
    display:grid; grid-template-columns:repeat(5,1fr); gap:8px;
    padding:16px 20px 24px;
}
.eq-map__item {
    aspect-ratio:1; display:flex; align-items:center; justify-content:center;
    border-radius:var(--radius-sm); font-size:0.75rem; font-weight:700;
    border:1.5px solid var(--gray-200); color:var(--text-secondary); background:white;
    text-decoration:none; transition:all .15s ease;
}
.eq-map__item:hover { border-color:var(--primary); color:var(--primary); transform:scale(1.05); }
.eq-map__item--current { background:var(--primary); color:white; border-color:var(--primary); box-shadow:0 2px 8px rgba(37,99,235,.3); }
.eq-map__item--done { background:var(--success-50,#ECFDF5); color:var(--success); border-color:var(--success); }

/* --- Body / Card --- */
.eq-body {
    flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center;
    padding:clamp(20px,4vw,40px) 16px clamp(24px,4vw,48px);
}
.eq-card {
    width:100%; max-width:680px;
    background:white; border-radius:var(--radius-xl);
    border:1px solid var(--gray-200);
    box-shadow:0 4px 24px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
    padding:clamp(24px,4vw,40px);
    animation:eq-fadeUp .4s cubic-bezier(.16,1,.3,1) both;
}
@keyframes eq-fadeUp { from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:translateY(0)} }

.eq-card__badge { display:flex; align-items:center; gap:10px; margin-bottom:16px; }
.eq-level {
    display:inline-flex; align-items:center; justify-content:center;
    min-width:32px; height:24px; padding:0 8px; border-radius:6px;
    font-size:0.6875rem; font-weight:800; letter-spacing:.03em;
    color:white; background:var(--level-color,var(--primary));
}
.eq-card__step { font-size:0.8125rem; font-weight:600; color:var(--text-muted); }
.eq-card__question {
    font-size:clamp(1.125rem,2.5vw,1.375rem); font-weight:700;
    color:var(--text-heading); line-height:1.55; margin-bottom:28px;
    letter-spacing:-.01em;
}

/* --- Options --- */
.eq-options { display:flex; flex-direction:column; gap:10px; margin-bottom:28px; }
.eq-opt {
    display:flex; align-items:center; gap:14px;
    padding:14px 18px; border:2px solid var(--gray-200);
    border-radius:12px; cursor:pointer;
    transition:all .2s cubic-bezier(.16,1,.3,1);
    position:relative; -webkit-tap-highlight-color:transparent;
}
.eq-opt:hover { border-color:var(--primary-200); background:var(--primary-50); }
.eq-opt:active { transform:scale(.985); }
.eq-opt__letter {
    width:36px; height:36px; border-radius:10px; flex-shrink:0;
    display:flex; align-items:center; justify-content:center;
    font-size:0.8125rem; font-weight:800; color:var(--primary);
    background:var(--primary-50); border:1.5px solid var(--primary-100);
    transition:all .2s ease;
}
.eq-opt__text { font-size:0.9375rem; font-weight:500; color:var(--text); line-height:1.4; flex:1; }
.eq-opt__check {
    width:24px; height:24px; flex-shrink:0; opacity:0;
    transform:scale(.5); transition:all .2s cubic-bezier(.16,1,.3,1);
    color:var(--primary);
}
.eq-opt__check svg { width:100%; height:100%; }

/* Active option */
.eq-opt--active {
    border-color:var(--primary); background:var(--primary-50);
    box-shadow:0 0 0 3px rgba(37,99,235,.12);
}
.eq-opt--active .eq-opt__letter {
    background:var(--primary); color:white; border-color:var(--primary);
}
.eq-opt--active .eq-opt__text { color:var(--primary-700); font-weight:600; }
.eq-opt--active .eq-opt__check { opacity:1; transform:scale(1); }

/* --- Navigation --- */
.eq-nav { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.eq-nav__spacer { flex:1; }
.eq-nav__btn {
    display:inline-flex; align-items:center; gap:8px;
    padding:12px 24px; border-radius:12px; font-size:0.875rem; font-weight:600;
    border:none; cursor:pointer; transition:all .2s ease;
    text-decoration:none;
}
.eq-nav__btn svg { width:18px; height:18px; flex-shrink:0; }
.eq-nav__btn--prev {
    background:var(--gray-100); color:var(--text-secondary);
    border:1px solid var(--gray-200);
}
.eq-nav__btn--prev:hover { background:var(--gray-200); color:var(--text-heading); }
.eq-nav__btn--next {
    background:var(--primary); color:white;
    box-shadow:0 2px 8px rgba(37,99,235,.25);
    margin-left:auto;
}
.eq-nav__btn--next:hover { background:var(--primary-700); box-shadow:0 4px 16px rgba(37,99,235,.3); transform:translateY(-1px); }
.eq-nav__btn--finish {
    background:linear-gradient(135deg,var(--success) 0%,#059669 100%); color:white;
    box-shadow:0 2px 8px rgba(16,185,129,.3); margin-left:auto;
    padding:14px 28px; font-size:0.9375rem;
}
.eq-nav__btn--finish:hover { box-shadow:0 4px 16px rgba(16,185,129,.4); transform:translateY(-1px); }

/* --- Mini dots --- */
.eq-dots {
    display:flex; gap:4px; justify-content:center; flex-wrap:wrap;
    max-width:500px; margin-top:24px;
}
.eq-dots__d {
    width:8px; height:8px; border-radius:50%;
    background:var(--gray-200); transition:all .2s ease;
}
.eq-dots__d--ok { background:var(--success); }
.eq-dots__d--now { background:var(--primary); width:20px; border-radius:4px; }

/* --- Responsive --- */
@media (max-width:640px) {
    .eq-bar__inner { padding:10px 14px; }
    .eq-bar__lang { display:none; }
    .eq-bar__sep { display:none; }
    .eq-card { padding:20px 16px; border-radius:16px; }
    .eq-opt { padding:12px 14px; gap:10px; border-radius:10px; }
    .eq-opt__letter { width:32px; height:32px; border-radius:8px; font-size:0.75rem; }
    .eq-opt__check { width:20px; height:20px; }
    .eq-nav__btn { padding:12px 18px; border-radius:10px; }
    .eq-nav__btn--finish { padding:12px 20px; }
    .eq-nav__btn span { font-size:0.8125rem; }
    .eq-dots { margin-top:16px; }
    .eq-body { padding:16px 10px 24px; }
    .eq-map__grid { grid-template-columns:repeat(5,1fr); gap:6px; }
}

/* ========== EXAM COMPLETE ========== */
.exam-complete-section {
    padding: 48px 0 64px;
    background: var(--gray-50);
    text-align: center;
}
.complete-card {
    max-width: 560px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius-xl);
    padding: clamp(28px, 5vw, 48px);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}
.complete-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--success-light);
    color: var(--success);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.complete-card h1 { font-size: 1.5rem; margin-bottom: 8px; }
.complete-card > p { color: var(--text-secondary); margin-bottom: 24px; }
.complete-stats {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.complete-stat { text-align: center; }
.complete-stat__num { font-size: 1.5rem; font-weight: 800; color: var(--primary); display: block; }
.complete-stat__label { font-size: 0.8125rem; color: var(--text-muted); }

/* ========== LEAD FORM v2 — Premium ========== */
.lead-section {
    padding: 48px 0 64px;
    background: var(--gray-50);
    min-height: 80vh;
    display: flex;
    align-items: flex-start;
}
.lead-card {
    max-width: 540px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius-xl);
    padding: 0;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    overflow: hidden;
}

/* Step Indicator */
.lead-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 24px 32px 20px;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-100);
}
.lead-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.lead-step span { font-size: 0.6875rem; color: var(--gray-400); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.lead-step__circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    background: var(--gray-200);
    color: var(--gray-500);
    transition: all var(--dur) ease;
}
.lead-step--done .lead-step__circle { background: var(--success); color: white; }
.lead-step--done span { color: var(--success); }
.lead-step--active .lead-step__circle { background: var(--primary); color: white; box-shadow: 0 0 0 4px var(--primary-100); }
.lead-step--active span { color: var(--primary); font-weight: 700; }
.lead-step__line {
    width: 48px;
    height: 2px;
    background: var(--gray-200);
    margin: 0 8px;
    margin-bottom: 18px;
    border-radius: 1px;
}
.lead-step__line--done { background: var(--success); }

/* Lead Header */
.lead-header {
    text-align: center;
    padding: 28px 32px 4px;
}
.lead-header__icon {
    color: var(--success);
    margin-bottom: 8px;
    display: flex;
    justify-content: center;
}
.lead-header h1 { font-size: 1.375rem; margin-bottom: 6px; }
.lead-header p { color: var(--text-secondary); font-size: 0.9375rem; margin-bottom: 0; }

/* Form inside card */
.lead-form {
    padding: 24px 32px 32px;
}

/* Form base */
.form-group { margin-bottom: 18px; }
.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 6px;
}
.form-input {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    border: 1.5px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 1rem;
    color: var(--text);
    background: white;
    transition: all var(--dur-fast) ease;
}
.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-100);
}
.form-input::placeholder { color: var(--gray-400); }
textarea.form-input { height: auto; padding: 14px 16px; min-height: 120px; resize: vertical; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-error { color: var(--error); font-size: 0.8125rem; margin-top: 4px; }
.form-select-city { padding-left: 42px; appearance: none; cursor: pointer; }

/* Consent Checkboxes */
.lead-consents { margin-bottom: 20px; display: flex; flex-direction: column; gap: 12px; }
.lead-consent {
    padding: 12px 14px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius);
    transition: all var(--dur-fast) ease;
}
.lead-consent:hover { border-color: var(--gray-300); }
.lead-consent--error { border-color: var(--error); background: var(--error-light); }
.lead-consent--error .lead-consent__check { border-color: var(--error); }

.lead-consent__label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}
.lead-consent__label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.lead-consent__check {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid var(--gray-400);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--dur-fast) ease;
    margin-top: 1px;
}
.lead-consent__check svg { opacity: 0; color: white; transition: opacity var(--dur-fast) ease; }
.lead-consent__label input:checked ~ .lead-consent__check {
    background: var(--primary);
    border-color: var(--primary);
}
.lead-consent__label input:checked ~ .lead-consent__check svg { opacity: 1; }
.lead-consent__text { font-size: 0.8125rem; color: var(--text-secondary); line-height: 1.5; }
.lead-consent__text a { color: var(--primary); text-decoration: underline; }
.lead-consent__text .required { color: var(--error); }

/* Validation Message */
.lead-validation-msg {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: #fef3c7;
    border: 1px solid #fbbf24;
    border-radius: var(--radius);
    color: #92400e;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 16px;
    animation: shake .4s ease;
}
@keyframes shake {
    0%,100%{transform:translateX(0)} 20%{transform:translateX(-6px)} 40%{transform:translateX(6px)} 60%{transform:translateX(-4px)} 80%{transform:translateX(4px)}
}

/* Trust Badges */
.lead-trust {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-100);
}
.lead-trust__item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}
.lead-trust__item svg { color: var(--success); }

/* Legacy form-checkbox (contact page etc.) */
.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
}
.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border: 2px solid var(--gray-400);
    border-radius: 4px;
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: var(--primary);
}
.form-checkbox label {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.5;
    cursor: pointer;
}
.form-checkbox label a { color: var(--primary); text-decoration: underline; }

@media (max-width: 480px) {
    .form-row { grid-template-columns: 1fr; }
    .lead-form { padding: 20px 20px 28px; }
    .lead-steps { padding: 20px 16px 16px; }
    .lead-header { padding: 20px 20px 4px; }
    .lead-step__line { width: 32px; }
    .lead-trust { gap: 10px; }
}

/* ========== RESULT PAGE v2 — Premium ========== */

/* Hero */
.res-hero {
    position: relative;
    padding: 48px 0 56px;
    background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-700) 50%, var(--primary-800) 100%);
    overflow: hidden;
}
.res-hero__bg { position: absolute; inset: 0; pointer-events: none; }
.res-hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .25;
}
.res-hero__orb--1 { width: 400px; height: 400px; background: var(--accent); top: -100px; right: -80px; }
.res-hero__orb--2 { width: 300px; height: 300px; background: var(--primary-300); bottom: -80px; left: -60px; }

.res-hero__card {
    position: relative;
    display: flex;
    align-items: center;
    gap: clamp(28px, 5vw, 48px);
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: var(--radius-xl);
    padding: clamp(24px, 4vw, 40px);
}

/* Score Ring */
.res-ring {
    position: relative;
    width: clamp(130px, 18vw, 170px);
    height: clamp(130px, 18vw, 170px);
    flex-shrink: 0;
}
.res-ring__svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.res-ring__bg { fill: none; stroke: rgba(255,255,255,.15); stroke-width: 8; }
.res-ring__fill { fill: none; stroke-width: 8; stroke-linecap: round; }
.res-ring__inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.res-ring__pct {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 900;
    color: white;
    line-height: 1;
}
.res-ring__label { font-size: 0.75rem; color: rgba(255,255,255,.65); text-transform: uppercase; letter-spacing: .1em; margin-top: 2px; }

/* Hero Info */
.res-hero__info { flex: 1; min-width: 0; }
.res-hero__lang {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: rgba(255,255,255,.7);
    font-weight: 500;
    margin-bottom: 8px;
}
.res-hero__level {
    font-size: clamp(3rem, 8vw, 4.5rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}
.res-hero__level-name {
    font-size: 1.0625rem;
    color: rgba(255,255,255,.75);
    margin-bottom: 20px;
}

/* Stats Row */
.res-hero__stats {
    display: flex;
    gap: 0;
}
.res-stat {
    text-align: center;
    padding: 12px 20px;
    border-right: 1px solid rgba(255,255,255,.12);
}
.res-stat:first-child { padding-left: 0; }
.res-stat:last-child { border-right: none; }
.res-stat__num { font-size: 1.25rem; font-weight: 800; color: white; display: block; line-height: 1.2; }
.res-stat--success .res-stat__num { color: #34d399; }
.res-stat--error .res-stat__num { color: #fb7185; }
.res-stat__lbl { font-size: 0.6875rem; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .06em; }

/* Cards */
.res-breakdown, .res-answers, .res-bottom { padding: 0 0 0; }
.res-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: clamp(24px, 4vw, 32px);
    box-shadow: var(--shadow-card);
    margin-bottom: 24px;
}
.res-card__head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gray-100);
}
.res-card__head svg { color: var(--primary); flex-shrink: 0; }
.res-card__head h2 { font-size: 1.125rem; margin: 0; }

.res-breakdown, .res-answers, .res-bottom {
    padding: 0;
}
.res-breakdown .container,
.res-answers .container,
.res-bottom .container {
    padding-top: 24px;
}
.res-breakdown:first-of-type .container { padding-top: 32px; }

/* Breakdown Grid */
.res-breakdown__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}
.res-bd-item {
    padding: 16px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-100);
}
.res-bd-item__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.res-bd-item__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 24px;
    border-radius: 6px;
    font-size: 0.6875rem;
    font-weight: 800;
    color: white;
    padding: 0 8px;
}
.res-bd-item__score { font-size: 0.8125rem; color: var(--text-muted); font-weight: 600; }
.res-bd-item__bar {
    height: 8px;
    background: var(--gray-200);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 6px;
}
.res-bd-item__fill { height: 100%; border-radius: 4px; }
.res-bd-item__pct { font-size: 0.75rem; font-weight: 700; color: var(--text-secondary); }

/* Answer List */
.res-answers__list { display: flex; flex-direction: column; gap: 8px; }
.res-ans {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-100);
    transition: all var(--dur-fast) ease;
}
.res-ans:hover { border-color: var(--gray-200); }
.res-ans--ok { background: #f0fdf4; border-color: #bbf7d0; }
.res-ans--no { background: #fef2f2; border-color: #fecaca; }
.res-ans__num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    flex-shrink: 0;
    background: var(--gray-100);
    color: var(--text-muted);
}
.res-ans--ok .res-ans__num { background: var(--success); color: white; }
.res-ans--no .res-ans__num { background: var(--error); color: white; }
.res-ans__body { flex: 1; min-width: 0; }
.res-ans__q { font-size: 0.9375rem; color: var(--text-heading); margin-bottom: 4px; line-height: 1.5; }
.res-ans__meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.8125rem; color: var(--text-muted); align-items: center; }
.res-ans__diff { font-weight: 800; font-size: 0.6875rem; }
.res-ans__correct { color: var(--success); }
.res-ans__icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.res-ans--ok .res-ans__icon { color: var(--success); }
.res-ans--no .res-ans__icon { color: var(--error); }

/* Share Buttons */
.res-share__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.res-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
    transition: all var(--dur) var(--ease-out);
    border: none;
    cursor: pointer;
}
.res-share-btn:hover { transform: translateY(-2px); color: white; box-shadow: var(--shadow-md); }
.res-share-btn--fb { background: #1877F2; }
.res-share-btn--tw { background: #1DA1F2; }
.res-share-btn--wa { background: #25D366; }
.res-share-btn--copy { background: var(--gray-700); }

/* Education CTA */
.res-edu-cta {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: 24px;
    background: var(--gradient-primary);
}
.res-edu-cta__bg {
    position: absolute;
    inset: 0;
    background: 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='%23ffffff' fill-opacity='0.05'%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");
}
.res-edu-cta__content {
    position: relative;
    padding: clamp(32px, 5vw, 48px);
    text-align: center;
    color: white;
}
.res-edu-cta__badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    background: rgba(255,255,255,.2);
    backdrop-filter: blur(4px);
    margin-bottom: 16px;
}
.res-edu-cta__content h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); margin-bottom: 10px; color: white; }
.res-edu-cta__content p { opacity: .85; margin-bottom: 24px; max-width: 520px; margin-left: auto; margin-right: auto; line-height: 1.6; font-size: 0.9375rem; }

/* Retry CTA */
.res-retry {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 8px 0 48px;
}

/* Ghost button */
.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: none;
    font-weight: 600;
}
.btn-ghost:hover { color: var(--primary); }

/* Responsive */
@media (max-width: 768px) {
    .res-hero__card { flex-direction: column; text-align: center; }
    .res-hero__stats { justify-content: center; flex-wrap: wrap; }
    .res-stat { padding: 10px 14px; }
    .res-hero__level { font-size: 3rem; }
    .res-breakdown__grid { grid-template-columns: 1fr; }
    .res-share__btns { justify-content: center; }
    .res-ans { flex-direction: column; gap: 8px; }
    .res-ans__icon { display: none; }
}

/* ========== BLOG DETAIL ========== */
.blog-detail-header {
    padding: 40px 0 32px;
    background: var(--primary-50);
    border-bottom: 1px solid var(--primary-100);
}
.blog-detail-header .container { max-width: var(--max-width-narrow); }
.blog-detail-category {
    display: inline-block;
    padding: 4px 12px;
    background: var(--accent-100);
    color: var(--accent-700);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    margin-bottom: 12px;
    text-transform: uppercase;
}
.blog-detail-header h1 { font-size: clamp(1.5rem, 4vw, 2.25rem); margin-bottom: 16px; }
.blog-detail-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: var(--text-muted);
}
.blog-detail-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.blog-detail-section { padding: 40px 0 64px; }
.blog-detail-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: start;
}
.blog-detail-content { min-width: 0; }
.blog-detail-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 32px;
    aspect-ratio: 16/9;
}
.blog-detail-image img { width: 100%; height: 100%; object-fit: cover; }

/* Related posts */
.related-posts { padding: 40px 0; background: var(--gray-50); }
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.related-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 16px;
    transition: all var(--dur-slow) var(--ease-out);
}
.related-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.related-card h3 { font-size: 0.9375rem; margin-bottom: 6px; }
.related-card h3 a { color: var(--text-heading); }
.related-card h3 a:hover { color: var(--primary); }
.related-card p { font-size: 0.8125rem; color: var(--text-secondary); margin-bottom: 6px; }
.related-card time { font-size: 0.75rem; color: var(--text-muted); }

@media (max-width: 1024px) {
    .blog-detail-grid { grid-template-columns: 1fr; }
    .blog-detail-grid .sidebar { position: static; }
}
@media (max-width: 768px) { .related-grid { grid-template-columns: 1fr; } }

/* Sidebar Widgets (Blog etc.) */
.sidebar-widget {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 20px;
}
.sidebar-widget h3 { font-size: 1rem; margin-bottom: 16px; color: var(--text-heading); }
.category-list { display: flex; flex-direction: column; gap: 4px; }
.category-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    border-radius: var(--radius);
    color: var(--text-secondary);
    font-size: 0.9375rem;
    transition: all var(--dur-fast) ease;
}
.category-list li a:hover, .category-list li a.active { background: var(--primary-50); color: var(--primary); }
.category-count {
    background: var(--gray-100);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
}

.sidebar-cta {
    background: var(--gradient-primary) !important;
    border: none !important;
    color: white;
}
.sidebar-cta h3 { color: white; }
.sidebar-cta p { color: rgba(255,255,255,0.85); font-size: 0.9375rem; margin-bottom: 16px; }
.sidebar-cta .btn-primary {
    background: white;
    color: var(--primary);
    box-shadow: none;
}
.sidebar-cta .btn-primary:hover { box-shadow: var(--shadow-md); }

/* ========== PAGINATION ========== */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
    flex-wrap: wrap;
}
.pagination-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: white;
    transition: all var(--dur-fast) ease;
}
.pagination-btn:hover { border-color: var(--primary); color: var(--primary); }
.pagination-numbers { display: flex; gap: 4px; }
.pagination-num {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: white;
    transition: all var(--dur-fast) ease;
}
.pagination-num:hover { border-color: var(--primary); color: var(--primary); }
.pagination-num.active { background: var(--primary); border-color: var(--primary); color: white; }

/* ========== EMPTY STATE ========== */
.empty-state { text-align: center; padding: 60px 20px; }
.empty-state h3 { margin: 16px 0 8px; color: var(--text-secondary); }
.empty-state p { color: var(--text-muted); margin-bottom: 20px; }

/* ========== STATIC PAGES ========== */
.page-hero {
    padding: 48px 0;
    background: var(--primary-50);
    text-align: center;
    border-bottom: 1px solid var(--primary-100);
}
.page-hero h1 { margin-bottom: 8px; }
.page-hero p { color: var(--text-secondary); }
.page-content-section { padding: 48px 0; }
.page-cta-box {
    margin-top: 48px;
    padding: 40px;
    background: var(--primary-50);
    border: 1px solid var(--primary-100);
    border-radius: var(--radius-lg);
    text-align: center;
}
.page-cta-box h2 { margin-bottom: 8px; }
.page-cta-box p { color: var(--text-secondary); margin-bottom: 20px; }

.features-grid-about {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin: 24px 0;
}
.feature-item {
    padding: 24px;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    transition: all var(--dur-slow) var(--ease-out);
}
.feature-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); border-color: transparent; }
.feature-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--primary-100);
    color: var(--primary);
    border-radius: var(--radius);
    margin-bottom: 14px;
}
.feature-item h3 { margin-bottom: 8px; font-size: 1rem; }
.feature-item p { color: var(--text-secondary); font-size: 0.9375rem; margin: 0; }

@media (max-width: 768px) { .features-grid-about { grid-template-columns: 1fr; } }

/* ========== CONTACT ========== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info h2, .contact-form-wrap h2 { margin-bottom: 16px; }
.contact-info p { color: var(--text-secondary); margin-bottom: 24px; }
.contact-items { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; gap: 16px; }
.contact-item-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-100);
    color: var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-item strong { display: block; margin-bottom: 2px; }
.contact-item a, .contact-item span { color: var(--text-secondary); font-size: 0.9375rem; }

@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ========== ERROR PAGE ========== */
.error-section { padding: 80px 0; text-align: center; }
.error-content { max-width: 520px; margin: 0 auto; }
.error-code {
    font-size: 8rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 16px;
}
.error-content h1 { margin-bottom: 12px; }
.error-content p { color: var(--text-secondary); margin-bottom: 28px; }
.error-actions { display: flex; justify-content: center; gap: 12px; margin-bottom: 40px; flex-wrap: wrap; }
.error-links { text-align: left; }
.error-links h3 { margin-bottom: 12px; font-size: 1rem; }
.error-links ul { list-style: disc; padding-left: 20px; }
.error-links li { margin-bottom: 6px; }
.error-links a { color: var(--primary); font-size: 0.9375rem; }

/* ========== FOOTER ========== */
.site-footer {
    background: linear-gradient(180deg, var(--primary-900) 0%, var(--primary-950) 100%);
    color: rgba(255,255,255,0.7);
    padding: 72px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 18px;
    transition: opacity var(--dur) ease;
}
.footer-logo:hover { color: white; opacity: 0.9; }
.footer-about p { font-size: 0.9375rem; line-height: 1.75; margin-bottom: 24px; }
.footer-social { display: flex; gap: 10px; }
.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.08);
    border-radius: var(--radius);
    color: rgba(255,255,255,0.7);
    transition: all var(--dur-slow) var(--ease-out);
}
.social-icon:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.footer-links-col h3 {
    color: white;
    font-size: 0.9375rem;
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: -0.01em;
}
.footer-links-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-links-col ul li a {
    color: rgba(255,255,255,0.55);
    font-size: 0.9375rem;
    transition: all var(--dur) var(--ease-out);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.footer-links-col ul li a:hover {
    color: white;
    transform: translateX(3px);
}
.footer-links-col ul li a .fi { font-size: 1rem; border-radius: 2px; }

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
}
.footer-contact li svg { flex-shrink: 0; color: var(--gray-400); }
.footer-contact li a, .footer-contact li span {
    color: rgba(255,255,255,0.55);
    font-size: 0.875rem;
    transition: color var(--dur) ease;
}
.footer-contact li a:hover { color: white; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.4);
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a {
    color: rgba(255,255,255,0.4);
    transition: color var(--dur) ease;
}
.footer-bottom-links a:hover { color: rgba(255,255,255,0.8); }

@media (max-width: 768px) {
    .site-footer { padding: 56px 0 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 36px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* ========== PROSE CONTENT ========== */
.prose { line-height: 1.8; color: var(--text); }
.prose h2 { font-size: 1.375rem; margin: 2rem 0 0.75rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--gray-200); }
.prose h3 { font-size: 1.125rem; margin: 1.5rem 0 0.5rem; }
.prose p { margin-bottom: 1rem; }
.prose ul, .prose ol { margin-bottom: 1rem; padding-left: 1.5rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 0.375rem; }
.prose a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--primary-600); }
.prose strong { font-weight: 600; }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.prose table th, .prose table td { padding: 10px 12px; border: 1px solid var(--gray-200); text-align: left; }
.prose table th { background: var(--gray-50); font-weight: 600; }
.prose blockquote { border-left: 4px solid var(--primary); padding: 12px 20px; margin: 1rem 0; background: var(--primary-50); border-radius: 0 var(--radius) var(--radius) 0; }
.prose img { border-radius: var(--radius-md); margin: 1rem 0; }
.prose code { background: var(--gray-100); padding: 2px 6px; border-radius: 4px; font-size: 0.875em; }
.prose pre { background: var(--gray-900); color: white; padding: 16px; border-radius: var(--radius); overflow-x: auto; margin: 1rem 0; }

/* ========== UTILITY ========== */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mt-4 { margin-top: 1rem; }
.mb-4 { margin-bottom: 1rem; }

/* ========== SCROLL REVEAL ANIMATIONS ========== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity var(--dur-xl) var(--ease-out), transform var(--dur-xl) var(--ease-out);
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }

.reveal-stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.reveal-stagger.revealed > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.revealed > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.revealed > *:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger.revealed > *:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger.revealed > *:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger.revealed > *:nth-child(5) { transition-delay: 320ms; }
.reveal-stagger.revealed > *:nth-child(6) { transition-delay: 400ms; }

/* Card initial state for stagger reveal */
.lang-card, .language-card, .step-card, .blog-card,
.trust-card, .review-card, .level-card, .test-card, .faq-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out),
                box-shadow var(--dur-slow) var(--ease-out),
                border-color var(--dur) ease;
}

/* ========== GLOBAL MOBILE REFINEMENTS ========== */
@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .btn-lg { padding: 13px 24px; font-size: 0.9375rem; }
    .proof-bar__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .proof-bar__item:not(:last-child)::after { display: none; }
    .lang-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .complete-stats { flex-direction: column; gap: 16px; }
    .result-summary { gap: 12px; }
    .lead-card { padding: 24px 16px; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* ========== MOBILE STICKY CTA ========== */
.mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 12px 16px;
    padding-bottom: max(12px, env(safe-area-inset-bottom));
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-top: 1px solid var(--gray-200);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}
.mobile-sticky-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    background: var(--gradient-primary);
    color: white;
    font-weight: 700;
    font-size: 0.9375rem;
    border-radius: var(--radius);
    transition: all var(--dur) var(--ease-out);
    box-shadow: var(--shadow-primary);
}
.mobile-sticky-cta-btn:hover { color: white; }
.mobile-sticky-cta-btn:active { transform: scale(0.98); }

@media (max-width: 768px) {
    .mobile-sticky-cta { display: block; }
    .site-footer { padding-bottom: 80px; }
}

/* ========== CONTENT VISIBILITY (Performance) ========== */
.trust-section,
.how-it-works,
.blog-section,
.faq-section,
.cta-section {
    content-visibility: auto;
    contain-intrinsic-size: auto 600px;
}

/* ========== BLOG PAGE EXTRAS ========== */
.blog-hero-section {
    padding: 48px 0;
    background: var(--primary-50);
    text-align: center;
    border-bottom: 1px solid var(--primary-100);
}
.blog-hero-section h1 { margin-bottom: 8px; }
.blog-hero-section p { color: var(--text-secondary); }

.blog-list-section { padding: 48px 0; }

.blog-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
}
.blog-main { min-width: 0; }
.blog-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 16px);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.blog-card-meta-row {
    display: flex;
    gap: 12px;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.blog-card-meta-row time,
.blog-card-meta-row span { display: flex; align-items: center; gap: 4px; }

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    transition: gap var(--dur) var(--ease-out);
}
.blog-card-link:hover { gap: 10px; color: var(--primary-600); }

.blog-card-body h2 { font-size: 1.0625rem; margin-bottom: 8px; line-height: 1.4; }
.blog-card-body h2 a { color: var(--text-heading); }
.blog-card-body h2 a:hover { color: var(--primary); }

/* Blog Detail Extras */
.blog-detail-section .blog-layout { align-items: start; }
.blog-detail-header { margin-bottom: 32px; }
.blog-detail-header h1 { font-size: clamp(1.5rem, 4vw, 2.25rem); margin-bottom: 16px; }
.blog-detail-image { border-radius: var(--radius-lg); margin: 20px 0 0; width: 100%; }
.blog-detail-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 16px;
}
.blog-detail-meta time,
.blog-detail-meta span { display: flex; align-items: center; gap: 4px; }
.blog-detail-content { margin-bottom: 32px; }

.blog-detail-share {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 0;
    border-top: 1px solid var(--gray-200);
    margin-top: 32px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-secondary);
}
.share-buttons-inline {
    display: flex;
    gap: 8px;
}
.share-buttons-inline a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius);
    background: var(--gray-100);
    color: var(--text-secondary);
    transition: all var(--dur) var(--ease-out);
}
.share-buttons-inline a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

@media (max-width: 1024px) {
    .blog-layout { grid-template-columns: 1fr; }
    .blog-sidebar { position: static; }
}

/* ========== LEAD FORM EXTRAS ========== */
.input-wrapper {
    position: relative;
}
.input-wrapper svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    pointer-events: none;
    z-index: 1;
}
.input-wrapper .form-input { padding-left: 42px; }
.input-wrapper .form-select-city { padding-left: 42px; appearance: none; cursor: pointer; }
.required { color: var(--error); }

.form-consent {
    margin-bottom: 16px;
}
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}
.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border: 2px solid var(--gray-400);
    border-radius: 4px;
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 3px;
    accent-color: var(--primary);
}
.checkbox-label span {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.5;
}
.checkbox-label a { color: var(--primary); text-decoration: underline; }

/* ========== EXAM COMPLETE EXTRAS ========== */
.exam-complete-card { position: relative; overflow: hidden; }
.complete-subtitle { font-size: 1.25rem; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.complete-desc { color: var(--text-secondary); margin-bottom: 32px; }
.complete-stat { text-align: center; }
.complete-stat-icon { font-size: 1.5rem; margin-bottom: 4px; display: block; }
.complete-stat-label { font-size: 0.8125rem; color: var(--text-muted); display: block; }
.complete-stat-value { font-size: 1.125rem; font-weight: 700; color: var(--text-heading); display: block; }

/* (Old result page extras removed — now uses .res-* classes) */

/* ========== BLOG CARD PLACEHOLDER ========== */
.blog-card-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========== OPTION ITEM CLICK (exam) ========== */
.exam-option { cursor: pointer; }
.exam-option.selected .option-letter { background: var(--primary); color: white; }
.option-letter {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    font-weight: 700;
    background: var(--gray-100);
    color: var(--text-secondary);
    flex-shrink: 0;
    transition: all var(--dur-fast) ease;
}
.option-text { flex: 1; }
.option-check { display: none; color: var(--primary); }
.exam-option.selected .option-check { display: flex; }

/* ========== PRINT STYLES ========== */
@media print {
    .hd, .mm, .site-footer, .cta-section, .hd__burger, .mobile-sticky-cta { display: none !important; }
    body { background: white; color: black; }
    .hero { padding: 20px 0; background: none !important; color: black; }
    .hero-bg { display: none; }
    .hero-title { color: black; -webkit-text-fill-color: black; }
    a { color: black; text-decoration: underline; }
    .btn { border: 1px solid #ccc; box-shadow: none; }
}
