/* quiz.css — extracted verbatim from pages/quiz.php */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    :root { --dark: #0A0A0A; --dark-2: #0D0D0D; --dark-3: #111111; --amber: #D97706; --amber-hover: #B45309; --max-w: 1200px; --gutter: 2.5rem; }
    html { scroll-behavior: smooth; }
    body { font-family: 'DM Sans', sans-serif; background: var(--dark); color: #fff; line-height: 1.75; overflow-x: hidden; -webkit-font-smoothing: antialiased; }

    /* ── Nav ── */
    #nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; display: flex; align-items: center; justify-content: space-between; padding: 1.5rem var(--gutter); background: rgba(10,10,10,0.6); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); border-bottom: 1px solid rgba(255,255,255,0.08); }
    .nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #F9FAFB; }
    .logo-rect { fill: #ffffff; stroke: none; }
    .logo-text { fill: #0A0A0A; }
    .logo-wordmark { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.1rem; letter-spacing: -0.02em; color: #ffffff; }
    .nav-links { display: flex; align-items: center; gap: 0.5rem; list-style: none; }
    .nav-links a { font-size: 0.85rem; font-weight: 500; color: rgba(255,255,255,0.65); text-decoration: none; padding: 0.4rem 0.8rem; font-family: 'DM Sans', sans-serif; transition: color 0.2s; }
    .nav-links a:hover { color: #fff; }
    .nav-pill { display: inline-flex; align-items: center; padding: 0.5rem 1.25rem; border: none; border-radius: 100px; font-size: 0.82rem; font-weight: 600; color: #0A0A0A; cursor: pointer; background: white; font-family: 'DM Sans', sans-serif; transition: all 0.2s; }
    .nav-pill:hover { background: #f0f0f0; transform: translateY(-1px); }
    .nav-links .has-dropdown { position: relative; }
    .nav-links .has-dropdown > button { display: flex; align-items: center; gap: 0.3rem; padding: 0.4rem 0.8rem; color: rgba(255,255,255,0.65); font-size: 0.85rem; font-weight: 500; font-family: 'DM Sans', sans-serif; background: none; border: none; cursor: pointer; transition: color 0.2s; white-space: nowrap; }
    .nav-links .has-dropdown > button:hover { color: white; }
    .nav-links .has-dropdown > button svg { transition: transform 0.2s; }
    .nav-links .has-dropdown.open > button svg { transform: rotate(180deg); }
    .chevron-icon { width: 12px; height: 12px; opacity: 0.5; }
    .nav-dropdown { display: none; position: absolute; top: calc(100% + 1rem); left: 50%; transform: translateX(-50%); background: rgba(13,13,13,0.95); backdrop-filter: blur(24px) saturate(160%); -webkit-backdrop-filter: blur(24px) saturate(160%); border: 1px solid rgba(255,255,255,0.08); border-radius: 4px; padding: 1.5rem; z-index: 100; box-shadow: 0 24px 60px rgba(0,0,0,0.5); animation: ddSlideDown 0.2s ease; }
    .nav-links .has-dropdown.open .nav-dropdown { display: block; }
    @keyframes ddSlideDown { from { opacity: 0; transform: translateX(-50%) translateY(-8px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }
    .mega-menu { width: 1060px; }
    .mega-groups { display: grid; grid-template-columns: repeat(6, 1fr); }
    .mega-group { padding: 0.25rem 1.25rem 0.25rem 0; }
    .mega-group + .mega-group { padding-left: 1.25rem; border-left: 1px solid rgba(255,255,255,0.07); }
    .mega-group-label { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #D97706; margin-bottom: 0.65rem; display: block; }
    .mega-link { display: block; padding: 0.45rem 0.5rem; border-radius: 4px; text-decoration: none; transition: background 0.15s; margin: 0 -0.5rem; }
    .mega-link:hover { background: rgba(255,255,255,0.06); }
    .mega-link-name { display: block; font-family: 'Sora', sans-serif; font-size: 0.8rem; font-weight: 600; color: rgba(255,255,255,0.85); }
    .mega-link:hover .mega-link-name { color: white; }
    .mega-link-desc { display: block; font-size: 0.7rem; color: #555; margin-top: 0.1rem; line-height: 1.35; }
    .mega-link:hover .mega-link-desc { color: #777; }
    .mega-badge { display: inline-block; font-size: 0.58rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; background: #D97706; color: white; padding: 0.1rem 0.35rem; border-radius: 2px; margin-top: 0.2rem; width: fit-content; }

    /* ── Quiz shell ── */
    #quiz-wrap { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 8rem var(--gutter) 5rem; }
    .quiz-box { width: 100%; max-width: 600px; }
    .quiz-progress-track { width: 100%; height: 3px; background: rgba(255,255,255,0.08); border-radius: 100px; overflow: hidden; margin-bottom: 3rem; }
    .quiz-progress-fill { height: 100%; background: var(--amber); border-radius: 100px; transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
    .quiz-step { display: none; }
    .quiz-step.active { display: block; animation: stepIn 0.35s cubic-bezier(0.4, 0, 0.2, 1); }
    @keyframes stepIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
    .quiz-q-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); margin-bottom: 1rem; display: block; }
    .quiz-q-text { font-family: 'Sora', sans-serif; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; letter-spacing: -0.03em; color: white; line-height: 1.2; margin-bottom: 2.5rem; }
    .quiz-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.85rem; }
    .quiz-option { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.09); border-radius: 6px; padding: 1.1rem 1.25rem; font-family: 'DM Sans', sans-serif; font-size: 0.95rem; font-weight: 500; color: rgba(255,255,255,0.75); cursor: pointer; text-align: left; transition: all 0.18s; }
    .quiz-option:hover { border-color: rgba(217,119,6,0.5); background: rgba(217,119,6,0.07); color: white; }
    .quiz-option.selected { border-color: var(--amber); background: rgba(217,119,6,0.12); color: white; }

    /* ── Result ── */
    #quiz-result { display: none; animation: stepIn 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
    #quiz-email-gate { display: none; animation: stepIn 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
    .quiz-email-form { display: flex; gap: 0.6rem; flex-wrap: wrap; align-items: center; max-width: 520px; margin-bottom: 1rem; }
    .quiz-email-form input[type="email"] { flex: 1; min-width: 240px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12); border-radius: 100px; color: white; font-family: 'DM Sans', sans-serif; font-size: 0.95rem; padding: 0.85rem 1.25rem; outline: none; transition: border-color 0.2s; }
    .quiz-email-form input[type="email"]:focus { border-color: var(--amber); }
    .quiz-email-form .result-cta { white-space: nowrap; }
    .quiz-email-form .result-cta:disabled { opacity: 0.6; cursor: not-allowed; }
    .quiz-email-note { font-size: 0.82rem; color: rgba(255,255,255,0.4); margin: 0.5rem 0 1rem; min-height: 1.2em; }
    .quiz-email-note.is-error { color: #f87171; }
    .quiz-email-note.is-ok { color: #4ade80; }
    .result-eyebrow { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); margin-bottom: 1rem; display: block; }
    .result-heading { font-family: 'Sora', sans-serif; font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; color: white; margin-bottom: 1.25rem; }
    .result-plan { display: inline-block; background: var(--amber); color: white; font-family: 'Sora', sans-serif; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.4rem 1rem; border-radius: 100px; margin-bottom: 1.5rem; }
    .result-desc { font-size: 1rem; color: rgba(255,255,255,0.6); line-height: 1.8; margin-bottom: 2.5rem; max-width: 500px; }
    .result-cta { display: inline-flex; align-items: center; gap: 0.5rem; background: white; color: #0A0A0A; padding: 0.9rem 2.2rem; border-radius: 100px; font-family: 'DM Sans', sans-serif; font-size: 0.95rem; font-weight: 700; border: none; cursor: pointer; text-decoration: none; transition: all 0.2s; }
    .result-cta:hover { background: #f0f0f0; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(255,255,255,0.12); }
    .result-secondary { display: inline-flex; align-items: center; color: rgba(255,255,255,0.35); font-size: 0.88rem; text-decoration: none; margin-left: 1.5rem; transition: color 0.2s; cursor: pointer; border: none; background: none; font-family: 'DM Sans', sans-serif; }
    .result-secondary:hover { color: white; }

    /* ── Footer ── */
    #footer { background: #0A0A0A; border-top: 1px solid rgba(255,255,255,0.05); padding: 5.5rem var(--gutter) 2.5rem; }
    .footer-inner { max-width: var(--max-w); margin: 0 auto; }
    .footer-top { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: end; padding-bottom: 4rem; border-bottom: 1px solid rgba(255,255,255,0.05); margin-bottom: 3.5rem; }
    .footer-talk { font-family: 'Sora', sans-serif; font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; color: white; }
    .footer-form-label { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #555; display: block; margin-bottom: 1rem; }
    .footer-form { display: flex; border: 1px solid rgba(255,255,255,0.08); border-radius: 2px; overflow: hidden; }
    .footer-form input[type="email"] { flex: 1; background: transparent; border: none; outline: none; color: white; font-family: 'DM Sans', sans-serif; font-size: 0.9rem; padding: 0.9rem 1.25rem; }
    .footer-form input::placeholder { color: #444; }
    .footer-form button { background: var(--amber); color: white; border: none; padding: 0.9rem 1.5rem; font-family: 'DM Sans', sans-serif; font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: background 0.2s; white-space: nowrap; }
    .footer-form button:hover { background: var(--amber-hover); }
    .footer-links-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; margin-bottom: 3.5rem; }
    .footer-col h4 { font-family: 'Sora', sans-serif; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #444; margin-bottom: 1.25rem; }
    .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
    .footer-col a { font-size: 0.87rem; color: #555; text-decoration: none; transition: color 0.2s; }
    .footer-col a:hover { color: white; }
    .footer-col button { background: none; border: none; padding: 0; font-size: 0.87rem; color: #555; font-family: 'DM Sans', sans-serif; cursor: pointer; transition: color 0.2s; }
    .footer-col button:hover { color: white; }
    .footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.04); }
    .footer-copy { font-size: 0.8rem; color: #333; }
    .footer-legal { display: flex; gap: 1.5rem; }
    .footer-legal a { font-size: 0.8rem; color: #333; text-decoration: none; transition: color 0.2s; }
    .footer-legal a:hover { color: #666; }

    @media (max-width: 768px) { .nav-links { display: none; } .quiz-options { grid-template-columns: 1fr; } }
    @media (max-width: 900px) { :root { --gutter: 1.75rem; } .footer-top { grid-template-columns: 1fr; } .footer-links-grid { grid-template-columns: repeat(2, 1fr); } }
    @media (max-width: 600px) { :root { --gutter: 1.25rem; } .footer-links-grid { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; } .result-secondary { display: block; margin: 1.25rem 0 0; } }
