/* ===== DESIGN SYSTEM - Glacier ===== */
:root {
    /* Primary - Steel blue */
    --primary: #2B6D90;
    --primary-hover: #1E5570;
    --primary-light: rgba(43, 109, 144, 0.10);
    --gradient-primary: linear-gradient(135deg, #2B6D90 0%, #4A95B5 100%);

    /* Success - Amber */
    --success: #F59E0B;
    --success-hover: #D97706;
    --success-light: rgba(245, 158, 11, 0.10);

    /* Alert - Red */
    --alert: #EF4444;
    --alert-light: rgba(239, 68, 68, 0.10);

    /* Warning - Orange */
    --warning: #FB923C;
    --warning-light: rgba(251, 146, 60, 0.10);

    /* Deep steel blue page / ice white card */
    --bg-page: #0A1525;
    --bg-card: #F0F7FF;
    --bg-elevated: #E0EEF8;
    --bg-hover: #E0EEF8;
    --border: #C8DAE8;
    --border-light: #B0C8D8;
    --text-primary: #0A1525;
    --text-secondary: #3A5575;
    --text-muted: #7A9AB8;
    --bg-input: #F8FCFF;
    --white: #FFFFFF;

    /* Centered glow */
    --orb-top: rgba(2, 132, 199, 0.14);
    --orb-bottom: rgba(56, 189, 248, 0.06);

    /* Page-level text (on bg-page) */
    --text-page: #C0DEFF;
    --text-page-sub: rgba(192, 222, 255, 0.6);

    /* Score header zone - soft blue tint */
    --score-bg: #D8E8F5;
    --score-text: #0A1525;
    --score-sub: #5A7A95;

    /* Email capture zone - subtle tint */
    --email-gradient: linear-gradient(135deg, #D0E4F5 0%, #DCEDF8 100%);
    --email-text: #0A1525;
    --email-input-bg: #FFFFFF;
    --email-input-border: #B0C8D8;
    --email-sub: #5A7A95;
    --email-placeholder: #7A9AB8;

    /* Legal footer */
    --legal-text: rgba(192, 222, 255, 0.3);
    --legal-link: rgba(192, 222, 255, 0.4);

    /* Spacing */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --text-xs: 12px;
    --text-sm: 14px;
    --text-base: 16px;
    --text-lg: 18px;
    --text-xl: 20px;
    --text-2xl: 24px;

    /* Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 20px;

    /* Shadows - strong for dark bg */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px -2px rgba(0, 0, 0, 0.15);
    --shadow-card: 0 20px 60px -15px rgba(2, 132, 199, 0.20), 0 0 0 1px rgba(192, 222, 255, 0.05);

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-page);
    color: var(--text-primary);
    line-height: 1.5;
    font-size: var(--text-base);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

/* Ambient centered glow behind card */
body::before {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120vw;
    height: 120vh;
    background: radial-gradient(ellipse 50% 65% at center, var(--orb-top) 0%, transparent 60%);
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -45%);
    width: 100vw;
    height: 100vh;
    background: radial-gradient(ellipse 40% 35% at center, var(--orb-bottom) 0%, transparent 55%);
    pointer-events: none;
}

.app-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-4);
    position: relative;
    z-index: 1;
}

.page-header {
    text-align: center;
    margin-bottom: var(--space-5);
}

.page-title {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--text-page);
    margin: 0 0 var(--space-1) 0;
    letter-spacing: -0.02em;
}

.page-subtitle {
    font-size: var(--text-sm);
    color: var(--text-page-sub);
    margin: 0;
}

.card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    max-width: 480px;
    width: 100%;
    overflow: hidden;
    position: relative;
    max-height: calc(100vh - 48px);
    display: flex;
    flex-direction: column;
    border: none;
}

/* ===== RESULTS MODE ===== */
.app-container.results-mode {
    justify-content: center;
}

.app-container.results-mode .page-header {
    display: none;
}

.app-container.results-mode .legal-notice {
    display: none;
}

.app-container.results-mode .card {
    max-width: 560px;
    max-height: calc(100vh - 32px);
}

.app-container.results-mode .card-body {
    padding: var(--space-5) var(--space-6);
}

.app-container.results-mode .score-header {
    padding: var(--space-4);
    margin-bottom: var(--space-4);
    gap: var(--space-4);
}

.app-container.results-mode .score-ring {
    width: 88px;
    height: 88px;
}

.app-container.results-mode .score-value {
    font-size: 28px;
}

.app-container.results-mode .score-info h2 {
    font-size: var(--text-lg);
    margin-bottom: 2px;
}

.app-container.results-mode .score-info p {
    font-size: var(--text-xs);
}

.app-container.results-mode .result-section {
    margin-bottom: var(--space-3);
}

.app-container.results-mode .result-row {
    padding: var(--space-2) 0;
}

.app-container.results-mode .score-context {
    margin-bottom: var(--space-3);
}

.app-container.results-mode .score-context p {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-primary);
}

.app-container.results-mode .consequence-box {
    margin-bottom: var(--space-4);
    padding: var(--space-3) var(--space-4);
}

.app-container.results-mode .consequence-box p {
    font-size: var(--text-sm);
}

.app-container.results-mode .risks-section {
    margin-bottom: var(--space-3);
}

.app-container.results-mode .risks-intro {
    display: none;
}

.app-container.results-mode .benefits-section {
    margin-bottom: var(--space-3);
    padding: var(--space-3) var(--space-4);
}

.app-container.results-mode .benefits-list li {
    font-size: var(--text-xs);
    padding: 2px 0;
    padding-left: var(--space-5);
}

.app-container.results-mode .benefits-summary {
    font-size: var(--text-xs);
    padding-top: var(--space-2);
}

.app-container.results-mode .email-capture {
    padding: var(--space-4);
    margin-top: var(--space-3);
}

.app-container.results-mode .email-capture-title {
    font-size: var(--text-sm);
    margin-bottom: var(--space-3);
}

.app-container.results-mode .email-subcopy {
    margin-top: var(--space-2);
    font-size: var(--text-xs);
}

/* ===== HEADER & PROGRESS ===== */
.card-header {
    background: transparent;
    padding: var(--space-5) var(--space-6);
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.progress-container {
    display: flex;
    gap: var(--space-2);
    margin-bottom: var(--space-2);
}

.progress-step {
    flex: 1;
    height: 4px;
    background: var(--border);
    border-radius: 4px;
    transition: all var(--transition-base);
    overflow: hidden;
}

.progress-step.active {
    background: var(--gradient-primary);
}

.progress-step.completed {
    background: var(--success);
}

.step-indicator {
    font-size: var(--text-sm);
    color: var(--text-muted);
    font-weight: 500;
}

/* ===== CARD BODY ===== */
.card-body {
    padding: var(--space-6);
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.card-body::-webkit-scrollbar {
    display: none;
}

/* ===== QUESTION SCREENS ===== */
.question-screen {
    display: none;
}

.question-screen.active {
    display: block;
    animation: fadeSlideIn 400ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.question-screen.exiting {
    display: block;
    animation: fadeSlideOut 250ms cubic-bezier(0.4, 0, 1, 1) forwards;
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeSlideOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-8px);
    }
}

.question-title {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-6);
    line-height: 1.3;
    letter-spacing: -0.02em;
}

/* ===== OPTIONS ===== */
.options-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.question-screen.active .option-btn {
    animation: optionFadeIn 400ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.question-screen.active .option-btn:nth-child(1) { animation-delay: 50ms; }
.question-screen.active .option-btn:nth-child(2) { animation-delay: 100ms; }
.question-screen.active .option-btn:nth-child(3) { animation-delay: 150ms; }
.question-screen.active .option-btn:nth-child(4) { animation-delay: 200ms; }
.question-screen.active .option-btn:nth-child(5) { animation-delay: 250ms; }
.question-screen.active .option-btn:nth-child(6) { animation-delay: 300ms; }

@keyframes optionFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.option-btn {
    display: flex;
    align-items: center;
    padding: var(--space-4);
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-align: left;
    font-size: var(--text-base);
    color: var(--text-secondary);
    min-height: 52px;
}

.option-btn:hover {
    border-color: var(--border-light);
    background: var(--bg-elevated);
    color: var(--text-primary);
    transform: translateY(-1px);
}

.option-btn:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.option-btn.selected {
    border-color: var(--primary);
    background: var(--primary-light);
    color: var(--text-primary);
    font-weight: 500;
}

.option-btn.multi-select.selected {
    border-color: var(--success);
    background: var(--success-light);
    color: var(--success-hover);
}

.option-radio {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-light);
    border-radius: 50%;
    margin-right: var(--space-3);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.option-btn:hover .option-radio {
    border-color: var(--primary);
}

.option-btn.selected .option-radio {
    border-color: var(--primary);
    background: var(--primary);
}

.option-btn.selected .option-radio::after {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--white);
    border-radius: 50%;
}

.option-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-sm);
    margin-right: var(--space-3);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.option-btn:hover .option-checkbox {
    border-color: var(--success);
}

.option-btn.multi-select.selected .option-checkbox {
    border-color: var(--success);
    background: var(--success);
}

.option-btn.multi-select.selected .option-checkbox::after {
    content: '';
    width: 6px;
    height: 10px;
    border: solid var(--white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-top: -2px;
}

/* ===== FOOTER ===== */
.card-footer {
    padding: var(--space-4) var(--space-6);
    background: var(--bg-elevated);
    border-top: 1px solid var(--border);
    display: flex;
    gap: var(--space-3);
    flex-shrink: 0;
}

.btn {
    flex: 1;
    padding: var(--space-3) var(--space-5);
    border-radius: var(--radius-md);
    font-size: var(--text-base);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    min-height: 48px;
}

.btn:focus {
    outline: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-fast);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px -4px rgba(91, 141, 239, 0.4);
}

.btn-primary:active:not(:disabled) {
    transform: translateY(0);
}

.btn-primary:disabled {
    background: var(--bg-elevated);
    color: var(--text-muted);
    box-shadow: none;
    cursor: not-allowed;
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--bg-elevated);
    color: var(--text-primary);
    border-color: var(--border-light);
}

/* ===== RESULTS SCREEN ===== */
.results-screen {
    display: none;
}

.results-screen.active {
    display: block;
    animation: fadeSlideIn 500ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.results-screen.active .score-header {
    animation: fadeSlideIn 500ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 100ms;
    opacity: 0;
}

.results-screen.active .result-section {
    animation: fadeSlideIn 500ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 150ms;
    opacity: 0;
}

.results-screen.active .score-context {
    animation: fadeSlideIn 500ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 175ms;
    opacity: 0;
}

.results-screen.active .consequence-box {
    animation: fadeSlideIn 500ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 200ms;
    opacity: 0;
}

.results-screen.active .risks-section {
    animation: fadeSlideIn 500ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 250ms;
    opacity: 0;
}

.results-screen.active .benefits-section {
    animation: fadeSlideIn 500ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 300ms;
    opacity: 0;
}

.results-screen.active .email-capture {
    animation: fadeSlideIn 500ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 350ms;
    opacity: 0;
}

/* Score header - full-bleed dark banner */
.score-header {
    display: flex;
    align-items: center;
    gap: var(--space-5);
    padding: var(--space-5);
    background: var(--score-bg);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-4);
    border: none;
}

.score-circle-wrapper {
    position: relative;
    flex-shrink: 0;
}

.score-ring {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    padding: 4px;
    animation: scaleIn 600ms cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    animation-delay: 150ms;
    transform: scale(0);
}

.score-ring.critical {
    background: linear-gradient(135deg, #F87171 0%, #DC2626 100%);
    box-shadow: 0 8px 30px -4px rgba(248, 113, 113, 0.4);
}
.score-ring.insufficient {
    background: linear-gradient(135deg, #FBBF24 0%, #D97706 100%);
    box-shadow: 0 8px 30px -4px rgba(251, 191, 36, 0.4);
}
.score-ring.satisfactory {
    background: var(--gradient-primary);
    box-shadow: 0 8px 30px -4px rgba(91, 141, 239, 0.4);
}
.score-ring.good {
    background: linear-gradient(135deg, #34D399 0%, #059669 100%);
    box-shadow: 0 8px 30px -4px rgba(52, 211, 153, 0.4);
}

.score-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--score-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.score-value {
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
}

.score-value.critical { color: #DC2626; }
.score-value.insufficient { color: #D97706; }
.score-value.satisfactory { color: #2563EB; }
.score-value.good { color: #059669; }

.score-max {
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--score-sub);
    margin-top: 2px;
}

.score-info {
    flex: 1;
}

.score-info h2 {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--score-text);
    margin-bottom: var(--space-1);
}

.score-info p {
    font-size: var(--text-sm);
    color: var(--score-sub);
}

.result-section {
    margin-bottom: var(--space-4);
}

.result-row {
    display: flex;
    align-items: baseline;
    gap: var(--space-3);
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--border);
}

.result-row:last-child {
    border-bottom: none;
}

.result-label {
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.result-value {
    font-size: var(--text-sm);
    font-weight: 600;
    text-align: right;
}

.result-actions {
    font-size: var(--text-xs);
    max-width: 200px;
    line-height: 1.4;
}

.exposure-high { color: var(--alert); }
.exposure-medium { color: var(--warning); }
.exposure-low { color: var(--success); }

/* Score context - punchy phrase */
.score-context {
    margin-bottom: var(--space-4);
}

.score-context p {
    font-size: var(--text-sm);
    color: var(--text-primary);
    font-weight: 500;
    margin: 0;
    line-height: 1.5;
}

/* Consequence box */
.consequence-box {
    background: var(--bg-elevated);
    border-left: 3px solid var(--primary);
    padding: var(--space-3) var(--space-4);
    margin-bottom: var(--space-4);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.consequence-box p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    font-style: italic;
    margin: 0;
}

/* Risks */
.risks-section {
    margin-bottom: var(--space-4);
}

.risks-title {
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-2);
}

.risks-intro {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin: 0 0 var(--space-2) 0;
    font-style: italic;
}

.risks-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.risks-list li {
    font-size: var(--text-xs);
    color: var(--text-secondary);
    background: var(--bg-elevated);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

/* Benefits section */
.benefits-section {
    margin-bottom: var(--space-4);
    padding: var(--space-4);
    background: var(--success-light);
    border-radius: var(--radius-md);
    border: 1px solid rgba(52, 211, 153, 0.2);
}

.benefits-title {
    font-size: var(--text-xs);
    font-weight: 600;
    color: #059669;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-2);
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-3) 0;
}

.benefits-list li {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    padding: var(--space-1) 0;
    padding-left: var(--space-5);
    position: relative;
}

.benefits-list li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 600;
}

.benefits-summary {
    font-size: var(--text-sm);
    color: var(--text-primary);
    font-weight: 500;
    margin: 0;
    padding-top: var(--space-2);
    border-top: 1px solid rgba(52, 211, 153, 0.2);
}

/* ===== EMAIL CAPTURE - CTA zone ===== */
.email-capture {
    background: var(--email-gradient);
    border: none;
    border-radius: var(--radius-md);
    padding: var(--space-5);
    margin-top: var(--space-4);
}

.email-capture-title {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--email-text);
    margin-bottom: var(--space-4);
    text-align: center;
}

.email-capture-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.email-capture-input {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    border: 1px solid var(--email-input-border);
    border-radius: var(--radius-md);
    font-size: var(--text-base);
    font-family: var(--font-sans);
    color: var(--email-text);
    background: var(--email-input-bg);
    transition: all var(--transition-fast);
}

.email-capture-input::placeholder {
    color: var(--email-placeholder);
}

.email-capture-input:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--email-input-bg);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.email-capture-btn {
    width: 100%;
    padding: var(--space-4) var(--space-5);
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-size: var(--text-base);
    font-weight: 600;
    font-family: var(--font-sans);
    cursor: pointer;
    transition: all var(--transition-fast);
    min-height: 48px;
    box-shadow: 0 4px 15px -3px rgba(91, 141, 239, 0.4);
}

.email-capture-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 25px -5px rgba(91, 141, 239, 0.5);
}

.email-capture-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.email-capture-btn:active {
    transform: translateY(0);
}

.email-capture-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(91, 141, 239, 0.3);
}

.consent-label {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    font-size: var(--text-xs);
    color: var(--email-sub);
    line-height: 1.4;
    cursor: pointer;
    text-align: left;
}

.consent-label input[type="checkbox"] {
    margin-top: 2px;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
    cursor: pointer;
}

.consent-label a {
    color: var(--primary);
    text-decoration: underline;
}

.email-subcopy {
    font-size: var(--text-sm);
    color: var(--email-sub);
    text-align: center;
    margin-top: var(--space-3);
}

/* ===== STEP KITS (post-email) ===== */
.step-hidden { display: none; }

.success-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-4);
    background: var(--success-light);
    border: 1px solid rgba(52, 211, 153, 0.25);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-5);
    font-size: var(--text-sm);
    color: #059669;
    font-weight: 500;
}

.success-icon {
    width: 20px;
    height: 20px;
    background: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.success-icon::after {
    content: '';
    width: 5px;
    height: 9px;
    border: solid var(--white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-top: -2px;
}

.success-context {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    text-align: center;
    margin: 0 0 var(--space-5) 0;
    line-height: 1.5;
}

.kits-intro {
    text-align: center;
    margin-bottom: var(--space-5);
}

.kits-intro h3 {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-1);
}

.kits-intro p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.kits-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.kit-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-5);
    background: var(--bg-card);
    transition: all var(--transition-fast);
}

.kit-card:hover {
    border-color: var(--border-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.kit-card.recommended {
    border-color: var(--primary);
    background: var(--primary-light);
}

.kit-card.recommended:hover {
    box-shadow: 0 4px 20px -4px rgba(91, 141, 239, 0.3);
}

.kit-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-3);
}

.kit-badges {
    display: flex;
    gap: var(--space-2);
}

.kit-badge {
    font-size: 11px;
    font-weight: 600;
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.badge-standard {
    background: var(--bg-elevated);
    color: var(--text-secondary);
}

.badge-pro {
    background: var(--gradient-primary);
    color: var(--white);
}

.badge-reco {
    background: var(--success);
    color: var(--white);
}

.kit-price {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--text-primary);
}

.kit-price small {
    font-size: var(--text-sm);
    font-weight: 400;
    color: var(--text-muted);
}

.kit-title {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-1);
}

.kit-target {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin-bottom: var(--space-3);
}

.kit-features {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-4) 0;
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.kit-features li {
    padding: var(--space-1) 0;
    padding-left: var(--space-6);
    position: relative;
}

.kit-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 16px;
    height: 16px;
    background: var(--success-light);
    border-radius: 50%;
}

.kit-features li::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 11px;
    width: 4px;
    height: 7px;
    border: solid var(--success);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.kit-cta {
    display: block;
    width: 100%;
    padding: var(--space-3) var(--space-4);
    background: var(--gradient-primary);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--radius-md);
    font-size: var(--text-base);
    font-weight: 600;
    text-align: center;
    transition: all var(--transition-fast);
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px -2px rgba(91, 141, 239, 0.3);
}

.kit-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px -4px rgba(91, 141, 239, 0.4);
}

.kit-card.recommended .kit-cta {
    background: linear-gradient(135deg, #34D399 0%, #059669 100%);
    box-shadow: 0 2px 8px -2px rgba(52, 211, 153, 0.3);
}

.kit-card.recommended .kit-cta:hover {
    box-shadow: 0 6px 20px -4px rgba(52, 211, 153, 0.4);
}

/* ===== LEGAL NOTICE ===== */
.legal-notice {
    text-align: center;
    padding: var(--space-3);
    font-size: var(--text-xs);
    color: var(--legal-text);
    margin-top: var(--space-2);
}

.legal-notice a {
    color: var(--legal-link);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.legal-notice a:hover {
    opacity: 0.8;
}

/* ===== LOADING OVERLAY ===== */
.loading-overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.loading-overlay.show { display: flex; }

.spinner {
    width: 36px;
    height: 36px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ===== RESPONSIVE ===== */

/* Tablets and small desktops */
@media (max-width: 768px) {
    .page-header {
        margin-bottom: var(--space-4);
    }

    .page-title {
        font-size: var(--text-xl);
    }
}

/* Phones */
@media (max-width: 480px) {
    .app-container {
        padding: var(--space-2);
    }

    .card {
        max-height: calc(100vh - 24px);
        border-radius: var(--radius-lg);
    }

    .app-container.results-mode .card {
        max-height: calc(100vh - 16px);
    }

    .card-header,
    .card-body,
    .card-footer {
        padding-left: var(--space-4);
        padding-right: var(--space-4);
    }

    .page-header {
        margin-bottom: var(--space-3);
    }

    .page-title {
        font-size: var(--text-lg);
    }

    .page-subtitle {
        font-size: var(--text-xs);
    }

    .question-title {
        font-size: var(--text-base);
        margin-bottom: var(--space-4);
    }

    .option-btn {
        padding: var(--space-3);
        min-height: 44px;
        font-size: var(--text-sm);
    }

    .results-grid {
        grid-template-columns: 1fr;
    }

    .score-header {
        flex-direction: column;
        text-align: center;
        padding: var(--space-3);
    }

    .score-ring {
        width: 80px;
        height: 80px;
    }

    .score-value {
        font-size: 26px;
    }

    .score-info h2 {
        font-size: var(--text-base);
    }

    .score-info p {
        font-size: var(--text-xs);
    }

    .result-row {
        padding: var(--space-2) 0;
    }

    .consequence-box {
        padding: var(--space-2) var(--space-3);
    }

    .benefits-section {
        padding: var(--space-3);
    }

    .email-capture {
        padding: var(--space-3);
    }

    .email-capture-title {
        font-size: var(--text-sm);
    }

    .email-capture-btn {
        min-height: 44px;
        font-size: var(--text-sm);
    }

    .kit-card {
        padding: var(--space-4);
    }

    .kit-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-2);
    }

    .kit-price {
        align-self: flex-start;
    }

    .kit-cta {
        min-height: 44px;
        font-size: var(--text-sm);
    }

    .btn {
        min-height: 44px;
        font-size: var(--text-sm);
    }

    .legal-notice {
        font-size: 11px;
        padding: var(--space-2);
    }
}

/* Very small phones */
@media (max-width: 360px) {
    .app-container {
        padding: var(--space-1);
    }

    .card-header,
    .card-body,
    .card-footer {
        padding-left: var(--space-3);
        padding-right: var(--space-3);
    }

    .option-btn {
        padding: var(--space-2) var(--space-3);
        font-size: var(--text-sm);
    }

    .score-ring {
        width: 70px;
        height: 70px;
    }

    .score-value {
        font-size: 22px;
    }

    .kit-badge {
        font-size: 10px;
    }
}
