/* ============================================
   Examen Fixer — stylesheet
   Brand color: #2b74fb
   ============================================ */

:root {
    --primary: #2b74fb;
    --primary-dark: #0557ee;
    --primary-light: #5d95fc;
    --primary-soft: #e5eefe;
    --primary-tint: #f4f8ff;

    --dark: #0c056d;
    --text: #1e1b4b;
    --muted: #6b7280;
    --light: #f8f9fc;
    --border: #e5e7eb;
    --white: #ffffff;

    --shadow-sm: 0 2px 8px rgba(12, 5, 109, 0.05);
    --shadow-md: 0 8px 24px rgba(12, 5, 109, 0.08);
    --shadow-lg: 0 20px 60px rgba(43, 116, 251, 0.18);
    --shadow-xl: 0 30px 80px rgba(12, 5, 109, 0.12);

    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;
    --radius-xl: 30px;

    --max-width: 1200px;
    --transition: 0.25s ease;
}

/* ====== RESET ====== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
ul { list-style: none; padding: 0; margin: 0; }

h1, h2, h3, h4 {
    font-family: 'Poppins', 'Inter', sans-serif;
    color: var(--dark);
    line-height: 1.2;
    margin: 0;
    letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }
p { margin: 0 0 1rem; }

.accent { color: var(--primary); }
.eyebrow {
    display: inline-block;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1rem;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 56px;
}
.section-sub {
    color: var(--muted);
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* ====== BUTTONS ====== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1rem;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
    text-align: center;
    line-height: 1.1;
}
.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(43, 116, 251, 0.30);
}
.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(43, 116, 251, 0.40);
}
.btn-ghost {
    background: transparent;
    color: var(--dark);
    border: 2px solid var(--border);
}
.btn-ghost:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.btn-white {
    background: var(--white);
    color: var(--primary);
}
.btn-white:hover {
    background: var(--dark);
    color: var(--white);
}
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }

/* ====== HEADER ====== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    gap: 24px;
}
.logo { display: flex; align-items: center; }
.logo-img { height: 38px; width: auto; }

.main-nav ul {
    display: flex;
    gap: 32px;
    align-items: center;
}
.main-nav a {
    color: var(--dark);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}
.main-nav a:hover { color: var(--primary); }

.nav-cta { white-space: nowrap; }

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}
.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: transform var(--transition), opacity var(--transition);
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
    display: none;
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: 16px 24px;
}
.mobile-nav.is-open { display: block; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 12px; }
.mobile-nav a {
    color: var(--dark);
    font-weight: 500;
    padding: 10px 0;
    display: block;
}
.mobile-nav .btn { text-align: center; width: 100%; }

/* ====== HERO ====== */
.hero {
    position: relative;
    padding: 80px 0 120px;
    background:
        radial-gradient(ellipse at top right, rgba(43, 116, 251, 0.08), transparent 60%),
        radial-gradient(ellipse at bottom left, rgba(43, 116, 251, 0.06), transparent 60%),
        var(--primary-tint);
    overflow: hidden;
}
.hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}
.hero-text { max-width: 580px; }
.hero h1 { margin-bottom: 24px; }
.hero .lead {
    font-size: 1.2rem;
    color: var(--muted);
    margin-bottom: 32px;
    line-height: 1.6;
}
.hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}
.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.9rem;
    color: var(--muted);
}
.hero-trust span {
    display: flex;
    align-items: center;
    gap: 6px;
}
.hero-trust span::before {
    content: '✓';
    color: var(--primary);
    font-weight: 700;
}

/* Hero floating icons */
.hero-bg-icons {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.road-icon {
    position: absolute;
    opacity: 0.12;
    animation: float 8s ease-in-out infinite;
    font-size: 2rem;
}
.road-icon.r1 { top: 10%; left: 4%; animation-delay: 0s; }
.road-icon.r2 { top: 28%; left: 40%; font-size: 1.4rem; animation-delay: 1s; }
.road-icon.r3 { top: 68%; left: 7%; font-size: 1.8rem; animation-delay: 2s; }
.road-icon.r4 { top: 15%; right: 8%; font-size: 2.4rem; animation-delay: 0.5s; opacity: 0.09; }
.road-icon.r5 { top: 58%; right: 3%; font-size: 1.6rem; animation-delay: 1.5s; }
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(-3deg); }
    50% { transform: translateY(-18px) rotate(3deg); }
}

/* Hero exam mockup */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}
.exam-mockup {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    padding: 28px;
    width: 340px;
    position: relative;
    z-index: 2;
    border: 1px solid var(--border);
}
.exam-mockup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}
.exam-mockup-header .q-counter {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--muted);
}
.exam-mockup-header .timer {
    background: var(--primary-tint);
    color: var(--primary);
    padding: 5px 12px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}
.exam-mockup-img {
    width: 100%;
    height: 160px;
    background: linear-gradient(135deg, var(--primary-soft), var(--primary-tint));
    border-radius: var(--radius);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    overflow: hidden;
}
.exam-mockup-q {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 14px;
    line-height: 1.45;
}
.exam-mockup-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.exam-mockup-opt {
    padding: 10px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--text);
    cursor: default;
}
.exam-mockup-opt.active {
    border-color: var(--primary);
    background: var(--primary-tint);
    color: var(--primary);
    font-weight: 600;
}
.floating-stat {
    position: absolute;
    background: var(--white);
    padding: 14px 18px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    z-index: 3;
    animation: bounce-soft 3s ease-in-out infinite;
}
.floating-stat strong {
    color: var(--primary);
    font-size: 1.3rem;
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
}
.floating-stat span { color: var(--muted); font-size: 0.78rem; font-weight: 500; }
.stat-1 { top: 8%; left: -14%; animation-delay: 0s; }
.stat-2 { bottom: 10%; right: -12%; animation-delay: 1.5s; }
@keyframes bounce-soft {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ====== SECTIONS ====== */
section { padding: 100px 0; }

/* ====== PROBLEMS ====== */
.problems { background: var(--white); }
.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.problem-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.problem-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-soft);
}
.problem-icon { font-size: 2.4rem; margin-bottom: 18px; }
.problem-card h3 { margin-bottom: 12px; }
.problem-card p { color: var(--muted); font-size: 0.96rem; margin-bottom: 18px; }
.problem-tag {
    display: inline-block;
    background: var(--primary-soft);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 600;
}

/* ====== COURSES / PRODUCTS ====== */
.courses { background: var(--white); }
.course-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-bottom: 0;
    max-width: 800px;
    margin: 0 auto;
}
.course-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    display: flex;
    flex-direction: column;
}
.course-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-soft);
}
.course-card-featured {
    background: linear-gradient(160deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border: none;
    box-shadow: var(--shadow-lg);
}
.course-card-featured:hover { transform: translateY(-6px); }
.course-card-featured h3,
.course-card-featured .course-desc { color: var(--white); }
.course-card-featured .course-features li { color: rgba(255, 255, 255, 0.92); }
.course-card-featured .course-features li::before {
    background: rgba(255, 255, 255, 0.25);
    color: var(--white);
}
.course-badge {
    display: inline-block;
    background: var(--primary-soft);
    color: var(--primary);
    padding: 5px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    align-self: flex-start;
    margin-bottom: 18px;
}
.course-badge-hot {
    background: rgba(255, 255, 255, 0.22);
    color: var(--white);
}
.course-card h3 { margin-bottom: 10px; font-size: 1.35rem; }
.course-desc {
    color: var(--muted);
    margin-bottom: 22px;
    font-size: 0.95rem;
    flex-grow: 0;
}
.course-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
    flex-grow: 1;
}
.course-features li {
    position: relative;
    padding-left: 28px;
    font-size: 0.92rem;
}
.course-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
}

/* ====== HOW IT WORKS ====== */
.how-it-works { background: var(--light); }
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.step {
    background: var(--white);
    padding: 32px 28px;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--border);
    transition: transform var(--transition);
}
.step:hover { transform: translateY(-4px); }
.step-num {
    width: 48px;
    height: 48px;
    margin: 0 auto 18px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: 0 8px 20px rgba(43, 116, 251, 0.30);
}
.step h3 { margin-bottom: 8px; font-size: 1.1rem; }
.step p { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* ====== FAQ ====== */
.faq { background: var(--light); }
.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.faq-item[open] {
    border-color: var(--primary-soft);
    box-shadow: var(--shadow-sm);
}
.faq-item summary {
    list-style: none;
    padding: 22px 28px;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-size: 1.02rem;
    transition: color var(--transition);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    color: var(--primary);
    font-size: 1.6rem;
    font-weight: 400;
    transition: transform var(--transition);
    flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--primary); }
.faq-item p { padding: 0 28px 24px; color: var(--muted); margin: 0; line-height: 1.7; }

/* ====== FINAL CTA ====== */
.final-cta {
    background: var(--white);
    padding: 80px 0 120px;
}
.cta-card {
    background:
        radial-gradient(ellipse at top left, rgba(255, 255, 255, 0.15), transparent 50%),
        linear-gradient(135deg, var(--primary), var(--dark));
    color: var(--white);
    border-radius: var(--radius-xl);
    padding: 80px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-card::before,
.cta-card::after {
    content: '★';
    position: absolute;
    color: rgba(255, 255, 255, 0.08);
    font-size: 200px;
    line-height: 1;
}
.cta-card::before { top: -30px; left: -20px; }
.cta-card::after { bottom: -60px; right: -20px; font-size: 240px; }
.cta-card h2 {
    color: var(--white);
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}
.cta-card h2 .accent { color: var(--white); text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 6px; }
.cta-card p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

/* ====== COOKIE BANNER ====== */
#cookieBanner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--dark);
    color: rgba(255,255,255,0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 14px 24px;
    font-size: 0.88rem;
    line-height: 1.5;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.18);
    animation: slideUpIn 0.35s ease;
}
#cookieBanner p { margin: 0; }
#cookieBanner a { color: var(--primary-light); text-decoration: underline; }
#cookieBanner button {
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 100px;
    padding: 9px 22px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background var(--transition);
}
#cookieBanner button:hover { background: var(--primary-dark); }
#cookieBanner.cookie-hidden { animation: slideDownOut 0.35s ease forwards; }
@keyframes slideUpIn {
    from { transform: translateY(100%); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}
@keyframes slideDownOut {
    from { transform: translateY(0);    opacity: 1; }
    to   { transform: translateY(100%); opacity: 0; }
}
@media (max-width: 600px) {
    #cookieBanner { flex-direction: column; gap: 12px; text-align: center; }
}

/* ====== FOOTER ====== */
.site-footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 24px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
.footer-logo { height: 36px; width: auto; margin-bottom: 18px; }
.footer-brand p { color: rgba(255, 255, 255, 0.65); margin: 0; max-width: 280px; }
.footer-col h4 {
    color: var(--white);
    margin-bottom: 18px;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: rgba(255, 255, 255, 0.65); font-size: 0.95rem; }
.footer-col a:hover { color: var(--primary-light); }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.88rem;
}
.footer-bottom p { margin: 0; color: rgba(255, 255, 255, 0.5); }
.legal-links { display: flex; gap: 24px; }
.legal-links a { color: rgba(255, 255, 255, 0.5); font-size: 0.88rem; }
.legal-links a:hover { color: var(--white); }

/* ====== ARTICLE / CHECKOUT PAGES ====== */
.article-hero {
    background: linear-gradient(180deg, var(--primary-tint) 0%, var(--white) 100%);
    padding: 60px 0 40px;
    border-bottom: 1px solid var(--border);
}
.article-hero .container { max-width: 820px; }
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.88rem;
    margin-bottom: 24px;
    color: var(--muted);
}
.breadcrumb a { color: var(--muted); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { color: var(--muted); opacity: 0.5; }
.breadcrumb .current { color: var(--dark); font-weight: 500; }
.article-lead { font-size: 1.18rem; line-height: 1.6; color: var(--text); }
.article-layout { padding: 56px 0 80px; background: var(--white); }
.article-layout .container { max-width: 820px; }

/* Price card (checkout) */
.course-price-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 32px 30px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    position: relative;
}
.course-price-card .price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 6px;
}
.course-price-card .price strong {
    color: var(--primary);
    font-family: 'Poppins', sans-serif;
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1;
}
.course-price-card .price-suffix { color: var(--muted); font-size: 0.95rem; }
.course-price-card .price-note { color: var(--muted); font-size: 0.9rem; margin-bottom: 24px; }
.course-price-card .buy-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 18px 24px;
    background: var(--primary);
    color: var(--white);
    border-radius: 100px;
    font-weight: 700;
    font-size: 1.05rem;
    box-shadow: 0 10px 24px rgba(43, 116, 251, 0.30);
    transition: transform var(--transition), background var(--transition);
    margin-bottom: 12px;
}
.course-price-card .buy-btn:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
}
.course-tag {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.guarantee {
    background: var(--light);
    border-radius: var(--radius-lg);
    padding: 32px 36px;
    display: flex;
    gap: 24px;
    align-items: center;
    margin-top: 40px;
}
.guarantee-icon {
    background: var(--primary-soft);
    color: var(--primary);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}
.guarantee h3 { margin: 0 0 6px; font-size: 1.15rem; }
.guarantee p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* ====== BEDANKT PAGE ====== */
.bedankt-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: var(--primary-tint);
    padding: 80px 0;
}
.bedankt-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 60px 48px;
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
    box-shadow: var(--shadow-xl);
}
.bedankt-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin: 0 auto 24px;
}
.bedankt-card h1 { font-size: 2rem; margin-bottom: 14px; }
.bedankt-card p { color: var(--muted); margin-bottom: 0; }
.bedankt-card .access-info {
    background: var(--primary-tint);
    border: 1px solid var(--primary-soft);
    border-radius: var(--radius);
    padding: 16px 20px;
    margin: 24px 0;
    font-size: 0.95rem;
    color: var(--dark);
    font-weight: 500;
}
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 20px auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ====== EXAM PAGE ====== */
.exam-page {
    min-height: 100vh;
    background: var(--light);
}
.exam-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: var(--shadow-sm);
}
.exam-header-left { display: flex; align-items: center; gap: 20px; }
.exam-header-logo { height: 30px; width: auto; }
.exam-header-title {
    font-weight: 700;
    color: var(--dark);
    font-size: 0.95rem;
}
.exam-timer-display {
    background: var(--primary-tint);
    border: 1.5px solid var(--primary-soft);
    color: var(--primary);
    padding: 7px 18px;
    border-radius: 100px;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 0.04em;
    min-width: 80px;
    text-align: center;
}
.exam-timer-display.urgent {
    background: #fff1f1;
    border-color: #fca5a5;
    color: #dc2626;
}
.exam-progress-bar {
    height: 4px;
    background: var(--border);
    position: sticky;
    top: 64px;
    z-index: 49;
}
.exam-progress-fill {
    height: 100%;
    background: var(--primary);
    transition: width 0.4s ease;
}
.exam-body {
    max-width: 780px;
    margin: 0 auto;
    padding: 32px 24px 80px;
}
.exam-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.exam-q-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.exam-question-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    margin-bottom: 20px;
    animation: fadeSlideIn 0.3s ease;
}
@keyframes fadeSlideIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}
.exam-q-img {
    width: 100%;
    max-height: 280px;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 22px;
    background: var(--light);
}
.exam-q-text {
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.5;
    margin-bottom: 24px;
}
.exam-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.exam-option {
    width: 100%;
    text-align: left;
    padding: 14px 20px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.97rem;
    color: var(--text);
    background: var(--white);
    cursor: pointer;
    transition: border-color var(--transition), background var(--transition), transform 0.15s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1.4;
}
.exam-option:hover:not(:disabled) {
    border-color: var(--primary);
    background: var(--primary-tint);
    transform: translateX(4px);
}
.exam-option .opt-letter {
    background: var(--light);
    color: var(--muted);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.82rem;
    flex-shrink: 0;
    transition: background var(--transition), color var(--transition);
}
.exam-option.selected {
    border-color: var(--primary);
    background: var(--primary-tint);
}
.exam-option.selected .opt-letter {
    background: var(--primary);
    color: var(--white);
}
.exam-option.correct {
    border-color: #16a34a;
    background: #f0fdf4;
}
.exam-option.correct .opt-letter { background: #16a34a; color: var(--white); }
.exam-option.incorrect {
    border-color: #dc2626;
    background: #fef2f2;
}
.exam-option.incorrect .opt-letter { background: #dc2626; color: var(--white); }
.exam-option:disabled { cursor: default; }

.exam-feedback {
    display: none;
    padding: 14px 18px;
    border-radius: var(--radius);
    margin-top: 14px;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.5;
}
.exam-feedback.correct-fb {
    display: block;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #15803d;
}
.exam-feedback.incorrect-fb {
    display: block;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

.exam-nav-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.exam-btn-next {
    background: var(--primary);
    color: var(--white);
    padding: 13px 28px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
    display: none;
}
.exam-btn-next.visible { display: block; }
.exam-btn-next:hover { background: var(--primary-dark); transform: translateY(-2px); }
.exam-btn-finish {
    background: var(--dark);
    color: var(--white);
    padding: 13px 28px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: background var(--transition);
    display: none;
}
.exam-btn-finish.visible { display: block; }

/* Navigation dot grid */
.exam-dot-nav {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}
.exam-dot-nav h4 {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    margin-bottom: 14px;
}
.dot-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.dot-btn {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    border: 1.5px solid var(--border);
    background: var(--white);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--muted);
    cursor: pointer;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.dot-btn.current { border-color: var(--primary); background: var(--primary); color: var(--white); }
.dot-btn.answered-ok { border-color: #16a34a; background: #dcfce7; color: #15803d; }
.dot-btn.answered-wrong { border-color: #dc2626; background: #fee2e2; color: #b91c1c; }

/* Result screen */
.exam-result-screen {
    display: none;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border);
    text-align: center;
    animation: fadeSlideIn 0.4s ease;
}
.exam-result-screen.show { display: block; }
.result-score-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--primary-soft);
    border: 4px solid var(--primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
}
.result-score-circle .score-num {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}
.result-score-circle .score-total {
    font-size: 0.82rem;
    color: var(--muted);
}
.result-pass { border-color: #16a34a; background: #dcfce7; }
.result-pass .score-num { color: #15803d; }
.result-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 28px 0;
}
.result-stat {
    background: var(--light);
    border-radius: var(--radius);
    padding: 16px 12px;
}
.result-stat strong {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}
.result-stat span { font-size: 0.82rem; color: var(--muted); }
.exam-access-check {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-tint);
}
.access-check-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    text-align: center;
    max-width: 400px;
    box-shadow: var(--shadow-xl);
}

/* ====== RESPONSIVE ====== */
@media (max-width: 980px) {
    section { padding: 72px 0; }
    .main-nav, .nav-cta { display: none; }
    .menu-toggle { display: flex; }
    .hero { padding: 60px 0 80px; }
    .hero-inner { grid-template-columns: 1fr; gap: 60px; }
    .hero-visual { min-height: 400px; }
    .problem-grid, .steps-grid { grid-template-columns: 1fr; }
    .course-grid { grid-template-columns: 1fr; max-width: 480px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-brand { grid-column: span 2; }
    .cta-card { padding: 56px 28px; }
    .exam-body { padding: 24px 16px 60px; }
    .result-stats { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    .hero .lead { font-size: 1.05rem; }
    .hero-cta { flex-direction: column; align-items: stretch; }
    .hero-cta .btn { width: 100%; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-brand { grid-column: span 1; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .exam-question-card { padding: 20px; }
    .bedankt-card { padding: 36px 24px; }
    .dot-grid { gap: 4px; }
    .dot-btn { width: 26px; height: 26px; font-size: 0.65rem; }
}
