/* ============================================================
   POLITICAL COMPASS GR — STYLE.CSS
   Premium, modern, youthful dark UI
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
    --bg:           #07091a;
    --surface:      rgba(12, 20, 48, 0.75);
    --surface-2:    rgba(20, 30, 65, 0.6);
    --border:       rgba(255,255,255,0.07);
    --border-glow:  rgba(139,92,246,0.35);

    --txt:          #f1f5f9;
    --txt-muted:    #8892b0;

    --violet:       #8b5cf6;
    --blue:         #38bdf8;
    --pink:         #ec4899;
    --cyan:         #06b6d4;
    --green:        #10b981;

    /* Quadrant palette */
    --q-auth-left:  #ff6b81;
    --q-auth-right: #4ea8de;
    --q-lib-left:   #43e97b;
    --q-lib-right:  #f7971e;

    --radius-xl:    28px;
    --radius-lg:    18px;
    --radius-md:    12px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg);
    color: var(--txt);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
}

/* ---------- Accessibility Utilities ---------- */
/* Visually hidden but readable by screen readers */
.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus rings — WCAG 2.1 Level AA */
.opt-btn:focus-visible,
.mode-card:focus-visible,
.action-btn:focus-visible,
.restart-btn:focus-visible,
.home-btn:focus-visible,
.home-btn-large:focus-visible,
.resume-btn:focus-visible,
.guide-toggle-btn:focus-visible,
.modal-close:focus-visible,
.info-btn:focus-visible {
    outline: 3px solid var(--violet);
    outline-offset: 3px;
    border-radius: var(--radius-md);
}
/* Pill-shaped buttons keep their outline shape */
.home-btn:focus-visible,
.resume-btn:focus-visible {
    border-radius: 99px;
}
/* Circular buttons */
.info-btn:focus-visible,
.modal-close:focus-visible {
    border-radius: 50%;
}

/* ---------- Background Orbs ---------- */
.bg-orbs {
    position: fixed; inset: 0;
    z-index: 0; pointer-events: none; overflow: hidden;
}
.orb {
    position: absolute; border-radius: 50%;
    filter: blur(110px); opacity: 0.35;
    animation: drift 30s ease-in-out infinite alternate;
}
.orb-1 { width:600px;height:600px; background:var(--violet); top:-200px; left:-200px; }
.orb-2 { width:700px;height:700px; background:var(--pink);   bottom:-250px;right:-200px; animation-delay:-8s; }
.orb-3 { width:450px;height:450px; background:var(--blue);   top:35%; left:45%; animation-delay:-16s; }
.orb-4 { width:350px;height:350px; background:var(--green);  bottom:15%;left:8%; animation-delay:-22s; }

@keyframes drift {
    0%   { transform: translate(0,0) scale(1); }
    100% { transform: translate(120px,80px) scale(1.25); }
}

/* ---------- App Container ---------- */
.app-container {
    position: relative; z-index: 10;
    width: 94%; max-width: 860px;
    background: var(--surface);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 52px 56px;
    margin: 5vh auto 32px;
    box-shadow:
        0 40px 80px -20px rgba(0,0,0,0.7),
        inset 0 1px 0 rgba(255,255,255,0.08);
}

/* ---------- Screens ---------- */
.screen {
    display: none;
    flex-direction: column;
    opacity: 0;
    transform: translateY(16px) scale(0.99);
    transition: opacity .45s ease, transform .45s ease;
}
.screen.active {
    display: flex;
    opacity: 1;
    transform: translateY(0) scale(1);
}


/* ============================================================
   START SCREEN
   ============================================================ */
/* Logo Container & Premium Logo */
.logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}
.app-logo {
    max-width: 380px;
    width: 100%;
    height: auto;
    border: none;
    box-shadow: none;
    border-radius: 0;
    transition: transform 0.3s ease;
}
.app-logo:hover {
    transform: scale(1.02);
}

.main-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.2rem, 6vw, 3.8rem);
    font-weight: 700;
    text-align: center;
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: var(--txt);
    margin-bottom: 14px;
}
.gradient-text {
    background: linear-gradient(135deg, var(--violet), var(--pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    text-align: center;
    color: var(--txt-muted);
    font-size: 1.15rem;
    margin-bottom: 28px;
    letter-spacing: .2px;
}

.alert-box {
    background: rgba(236,72,153,.1);
    border-left: 4px solid var(--pink);
    border-radius: 10px;
    padding: 14px 20px;
    color: #fbcfe8;
    font-size: 1rem;
    margin-bottom: 36px;
    line-height: 1.5;
}

/* Resume Banner */
.resume-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin-bottom: 24px;
    gap: 16px;
    animation: fadeInDown 0.4s ease;
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
.resume-content {
    display: flex;
    align-items: center;
    gap: 14px;
}
.resume-icon {
    font-size: 1.8rem;
}
.resume-text-wrap {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: left;
}
.resume-title {
    color: #e2e8f0;
    font-size: 1.05rem;
    font-weight: 700;
}
.resume-desc {
    color: #94a3b8;
    font-size: 0.92rem;
}
.resume-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    flex-wrap: wrap;
}
.resume-btn {
    padding: 10px 18px;
    border-radius: var(--radius-md);
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Outfit', sans-serif;
}
.resume-btn-primary {
    background: var(--violet);
    border: 1.5px solid var(--violet);
    color: #fff;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}
.resume-btn-primary:hover {
    background: #7c3aed;
    border-color: #7c3aed;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(139, 92, 246, 0.45);
}
.resume-btn-secondary {
    background: rgba(255,255,255,0.05);
    border: 1.5px solid var(--border);
    color: var(--txt-muted);
}
.resume-btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    color: var(--txt);
    border-color: rgba(255,255,255,0.2);
}

@media (max-width: 680px) {
    .resume-banner {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 18px;
    }
    .resume-actions {
        justify-content: flex-end;
    }
}

/* Mode Cards */
.mode-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}
@media (max-width:680px) { .mode-grid { grid-template-columns: 1fr; } }

.mode-card {
    position: relative;
    display: flex; flex-direction: column; align-items: center;
    gap: 4px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 20px 24px;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
    font-family: 'Outfit', sans-serif;
    color: var(--txt);
}
.mode-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px -10px rgba(139,92,246,.3);
    border-color: var(--violet);
}
.mode-icon  { font-size: 2.2rem; margin-bottom: 6px; }
.mode-label { font-size: 1.2rem; font-weight: 700; }
.mode-qs    { font-size: .95rem; color: var(--txt-muted); }
.mode-time  { font-size: 0.8rem; color: var(--txt-muted); display: block; margin-top: 4px; }

/* Recommended mode card badge */
.mode-card.recommended { border-color: var(--violet); }
.mode-recommended {
    position: absolute;
    top: -12px; left: 50%;
    transform: translateX(-50%);
    background: var(--violet);
    color: #fff;
    font-size: 0.75rem; font-weight: 700;
    padding: 3px 12px;
    border-radius: 12px;
    white-space: nowrap;
    pointer-events: none;
}


/* ============================================================
   QUIZ SCREEN
   ============================================================ */

/* Home Button */
.home-btn {
    background: rgba(255,255,255,.06);
    border: 1.5px solid var(--border);
    color: var(--txt-muted);
    border-radius: 99px;
    padding: 6px 16px;
    font-family: 'Outfit', sans-serif;
    font-size: .88rem; font-weight: 600;
    cursor: pointer;
    transition: all .2s;
    white-space: nowrap;
    flex-shrink: 0;
}
.home-btn:hover {
    background: rgba(255,255,255,.12);
    color: var(--txt);
    border-color: var(--violet);
}

.axis-badge {
    background: rgba(56,189,248,.12);
    border: 1px solid rgba(56,189,248,.3);
    color: var(--blue);
    border-radius: 99px;
    padding: 6px 18px;
    font-size: .9rem; font-weight: 700;
    letter-spacing: .3px;
}

.quiz-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    gap: 12px;
    flex-wrap: wrap;
}
.quiz-nav-btns {
    display: flex;
    gap: 8px;
}
.q-counter {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem; font-weight: 700;
    color: var(--txt-muted);
}

/* Progress */
.progress-wrap {
    display: flex; align-items: center; gap: 12px; margin-bottom: 44px;
}
.progress-track {
    flex: 1; height: 8px;
    background: rgba(255,255,255,.07);
    border-radius: 99px; overflow: hidden;
}
.progress-fill {
    height: 100%; width: 0%;
    background: linear-gradient(90deg, var(--blue), var(--violet), var(--pink));
    background-size: 300% 100%;
    animation: shimmer 2.5s linear infinite;
    border-radius: 99px;
    transition: width .5s cubic-bezier(.4,0,.2,1);
}
@keyframes shimmer {
    0%  { background-position: 0% 50%; }
    100%{ background-position: 100% 50%; }
}
.progress-pct {
    font-size: .85rem; font-weight: 700;
    color: var(--txt-muted); min-width: 36px; text-align: right;
}

/* Question */
.question-box {
    position: relative;
    min-height: 150px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 48px; /* Extra padding for info btn */
    margin-bottom: 32px;
}
#question-text {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 500;
    text-align: center; line-height: 1.45;
    transition: opacity .3s ease;
}
.info-btn {
    position: absolute;
    top: 14px; right: 14px;
    background: rgba(255,255,255,.05);
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 32px; height: 32px;
    color: var(--txt-muted);
    font-size: 1rem;
    cursor: pointer;
    transition: all .2s;
    display: flex; align-items: center; justify-content: center;
}
.info-btn:hover {
    background: rgba(139,92,246,.2);
    border-color: var(--violet);
    color: #fff;
    transform: scale(1.1);
}

/* Info Modal */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none;
    transition: opacity .3s ease;
}
.modal-overlay.active {
    opacity: 1; pointer-events: auto;
}
.modal-content {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px;
    width: 90%; max-width: 500px;
    position: relative;
    transform: translateY(20px);
    transition: transform .3s ease;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.modal-overlay.active .modal-content {
    transform: translateY(0);
}
.modal-close {
    position: absolute; top: 16px; right: 20px;
    background: none; border: none;
    color: var(--txt-muted); font-size: 1.8rem;
    cursor: pointer; transition: color .2s;
}
.modal-close:hover { color: #fff; }
.modal-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem; margin-bottom: 12px;
    color: var(--txt);
}
.modal-body {
    color: #94a3b8; font-size: 1.05rem; line-height: 1.6;
}

/* Options */
.options-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
@media (max-width:520px) { .options-grid { grid-template-columns: 1fr; } }

.opt-btn {
    display: flex; align-items: center; gap: 12px;
    padding: 18px 20px;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border);
    background: rgba(255,255,255,.035);
    color: var(--txt);
    font-family: 'Outfit', sans-serif;
    font-size: 1rem; font-weight: 500;
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease,
                background .18s ease, box-shadow .18s ease;
    text-align: left;
}

.opt-icon { font-size: 1.4rem; flex-shrink: 0; }

@media (hover: hover) {
    .opt-btn:hover { transform: translateY(-3px) scale(1.02); }
    .opt-agree-strong:hover  { border-color:#4ade80; background:rgba(74,222,128,.1); box-shadow:0 6px 20px -5px rgba(74,222,128,.25); }
    .opt-agree:hover         { border-color:#86efac; background:rgba(134,239,172,.08); }
    .opt-disagree:hover      { border-color:#fca5a5; background:rgba(252,165,165,.08); }
    .opt-disagree-strong:hover { border-color:#f87171; background:rgba(248,113,113,.1); box-shadow:0 6px 20px -5px rgba(248,113,113,.25); }
}

/* Touch active state for feedback on mobile */
.opt-btn:active { transform: scale(0.98); }
.opt-agree-strong:active  { border-color:#4ade80; background:rgba(74,222,128,.1); }
.opt-agree:active         { border-color:#86efac; background:rgba(134,239,172,.08); }
.opt-disagree:active      { border-color:#fca5a5; background:rgba(252,165,165,.08); }
.opt-disagree-strong:active { border-color:#f87171; background:rgba(248,113,113,.1); }


/* ============================================================
   RESULT SCREEN
   ============================================================ */
.result-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #fff, #c4b5fd, #93c5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 24px;
}

/* Compass */
.compass-wrap {
    width: 100%;
    display: flex; justify-content: center;
    margin-bottom: 28px;
}
#compass-canvas {
    width: 100%; max-width: 450px; height: auto;
    border-radius: var(--radius-lg);
    box-shadow:
        0 0 0 1px rgba(255,255,255,.08),
        0 30px 70px -20px rgba(0,0,0,.8);
    display: block;
}

/* Analysis Card */
.analysis-card {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px 36px;
    margin-bottom: 8px;
}
.analysis-header { margin-bottom: 16px; }
.analysis-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--violet), var(--pink));
    color: #fff;
    font-size: .78rem; font-weight: 700;
    padding: 4px 14px; border-radius: 99px;
    letter-spacing: .6px; margin-bottom: 10px;
}
#quadrant-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--txt);
}

/* Analysis Body (multi-paragraph rich text) */
.analysis-body {
    color: #b8c4d6;
    font-size: 1.08rem;
    line-height: 1.8;
    margin-bottom: 12px;
}
.analysis-body p {
    margin-bottom: 16px;
    color: #94a3b8;
}
.analysis-body p:last-child { margin-bottom: 0; }
.analysis-body .highlight {
    color: #e2e8f0;
    font-weight: 600;
}
.analysis-body .ideology-ref {
    display: inline-block;
    background: rgba(139,92,246,.12);
    border: 1px solid rgba(139,92,246,.25);
    color: #c4b5fd;
    font-size: .88rem;
    font-weight: 600;
    padding: 3px 12px;
    border-radius: 99px;
    margin: 2px 3px;
}
.analysis-body .axis-summary {
    background: rgba(255,255,255,.04);
    border-left: 3px solid var(--violet);
    border-radius: 0 10px 10px 0;
    padding: 14px 18px;
    margin: 16px 0;
    font-size: 1rem;
    color: #8892b0;
    line-height: 1.65;
}
.analysis-body .axis-summary strong {
    color: var(--txt);
}

/* Compass Guide Card */
.compass-guide-card {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px 36px;
    margin-bottom: 32px;
}
.compass-guide-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--txt);
    margin-bottom: 16px;
    font-size: 1.4rem;
}
.compass-guide-card > p {
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 24px;
}
.guide-axis {
    background: rgba(255,255,255,.03);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,.05);
}
.guide-axis h4 {
    color: #e2e8f0;
    font-size: 1.1rem;
    margin-bottom: 12px;
    display: flex; align-items: center; gap: 8px;
}
.guide-axis ul {
    list-style: none;
    padding-left: 0;
    color: #8892b0;
    line-height: 1.6;
}
.guide-axis li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
}
.guide-axis li::before {
    content: '•';
    color: var(--violet);
    position: absolute;
    left: 0; font-weight: bold;
}
.guide-axis li strong { color: #cbd5e1; }
.guide-conclusion {
    color: #94a3b8;
    font-style: italic;
    text-align: center;
    margin-top: 10px;
}

/* Result Action Buttons */
.result-actions {
    display: flex; gap: 14px; margin-top: 20px;
}
.action-btn {
    flex: 1;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border);
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem; font-weight: 600;
    cursor: pointer;
    transition: all .25s;
    letter-spacing: .3px;
    color: var(--txt);
}
.action-share {
    background: linear-gradient(135deg, rgba(139,92,246,.15), rgba(236,72,153,.15));
    border-color: rgba(139,92,246,.3);
}
.action-share:hover {
    background: linear-gradient(135deg, rgba(139,92,246,.3), rgba(236,72,153,.3));
    border-color: var(--violet);
    transform: translateY(-2px);
}
.action-pdf {
    background: rgba(56,189,248,.1);
    border-color: rgba(56,189,248,.3);
}
.action-pdf:hover {
    background: rgba(56,189,248,.2);
    border-color: var(--blue);
    transform: translateY(-2px);
}
@media (max-width:480px) {
    .result-actions { flex-direction: column; }
}

/* Restart & Navigation Buttons */
.result-nav-grid {
    display: flex;
    gap: 14px;
    margin-top: 20px;
    width: 100%;
}
.result-nav-grid .restart-btn,
.result-nav-grid .home-btn-large {
    flex: 1;
    margin-top: 0;
}
.restart-btn {
    width: 100%;
    padding: 18px;
    border-radius: var(--radius-md);
    background: rgba(255,255,255,.06);
    border: 1.5px solid var(--border);
    color: var(--txt);
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem; font-weight: 600;
    cursor: pointer;
    transition: all .25s;
    letter-spacing: .3px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.restart-btn:hover {
    background: rgba(255,255,255,.12);
    border-color: var(--violet);
    transform: translateY(-2px);
}
.home-btn-large {
    width: 100%;
    padding: 18px;
    border-radius: var(--radius-md);
    background: rgba(139, 92, 246, 0.1);
    border: 1.5px solid rgba(139, 92, 246, 0.35);
    color: var(--txt);
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem; font-weight: 600;
    cursor: pointer;
    transition: all .25s;
    letter-spacing: .3px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.home-btn-large:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: var(--violet);
    transform: translateY(-2px);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    position: relative; z-index: 10;
    text-align: center;
    padding: 20px;
    color: var(--txt-muted);
    font-size: .88rem;
}
.site-footer strong { color: var(--txt); }
.site-footer a {
    color: var(--blue);
    text-decoration: none; font-weight: 600;
    transition: color .2s;
}
.site-footer a:hover { color: var(--violet); }

/* ============================================================
   ACCORDION TOGGLE BUTTONS
   ============================================================ */
.guide-toggle-btn {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--txt);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    padding: 0;
    line-height: 1.3;
}
/* Guide card in result screen uses a slightly smaller size */
.compass-guide-card .guide-toggle-btn { font-size: 1.25rem; }

.accordion-chevron {
    transition: transform 0.3s ease;
    font-size: 0.9rem;
    flex-shrink: 0;
    margin-left: 12px;
}

/* ============================================================
   INTRO & FAQ SECTION
   ============================================================ */
.intro-faq-container {
    margin-top: 48px;
    border-top: 1px solid var(--border);
    padding-top: 36px;
}
.info-intro-card, .faq-card {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 28px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.info-intro-card:hover, .faq-card:hover {
    border-color: rgba(139, 92, 246, 0.25);
    box-shadow: 0 10px 30px -10px rgba(139, 92, 246, 0.15);
}
.info-intro-card h3, .faq-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.35rem;
    color: var(--txt);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.info-intro-card h3 span, .faq-card h3 span {
    font-size: 1.5rem;
}
.info-intro-card p {
    color: #94a3b8;
    line-height: 1.75;
    font-size: 1.02rem;
    margin-bottom: 14px;
}
.info-intro-card p:last-child {
    margin-bottom: 0;
}
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 18px;
}
.faq-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.faq-question {
    color: #cbd5e1;
    font-size: 1.08rem;
    font-weight: 600;
    margin-bottom: 8px;
}
.faq-answer {
    color: #8892b0;
    line-height: 1.65;
    font-size: 0.98rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 760px) {
    .app-container { padding: 32px 22px; margin: 3vh auto 24px; }
}
@media (max-width: 480px) {
    body { background: var(--bg); }
    .app-container { 
        width: 100%; 
        max-width: 100%; 
        margin: 0; 
        border-radius: 0; 
        border: none; 
        min-height: 100vh; 
        padding: 24px 16px; 
    }
    .quiz-header { margin-bottom: 18px; }
    .q-counter { margin-left: auto; font-size: 0.95rem; }
    .axis-badge { font-size: 0.85rem; padding: 4px 14px; }
    .question-box { padding: 24px 44px; min-height: 120px; margin-bottom: 24px; }
    .opt-btn { padding: 14px 16px; font-size: 0.95rem; }
    .options-grid { gap: 10px; }
    .analysis-card { padding: 24px 20px; }
    .compass-guide-card { padding: 24px 20px; }
    .result-nav-grid { flex-direction: column; gap: 10px; }
    .info-intro-card, .faq-card { padding: 22px 18px; margin-bottom: 20px; }
    .info-intro-card h3, .faq-card h3 { font-size: 1.2rem; }
    .info-intro-card p, .faq-answer { font-size: 0.94rem; }
    .faq-question { font-size: 0.98rem; }
}
