/* ============================================
   Course Dreamer - Design System (Polished)
   ============================================ */

/* --------------------------------------------
   CSS Variables (Custom Properties)
   -------------------------------------------- */
:root {
    /* Primary Colors */
    --primary: #0061FE;
    --primary-dark: #0454B5;
    --primary-rgb: 0, 97, 254;
    
    /* Aliases for backwards compatibility */
    --blue: #0061FE;
    --dark-blue: #0454B5;

    /* Neutrals */
    --white: #FFFFFF;
    --platinum: #EFF2F1;
    --black: #090909;

    /* Grays */
    --gray-100: #F7F8F8;
    --gray-200: #E5E7E6;
    --gray-300: #D1D5D4;
    --gray-400: #9CA3A1;
    --gray-500: #6B7270;
    --gray-600: #4A4F4E;

    /* Typography */
    --font-heading: 'Plus Jakarta Sans', -apple-system, sans-serif;
    --font-body: 'DM Sans', -apple-system, sans-serif;
}

/* --------------------------------------------
   CSS Reset
   -------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

input,
button,
textarea,
select {
    font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    list-style: none;
}

/* --------------------------------------------
   Base Styles
   -------------------------------------------- */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-weight: 400;
    background-color: var(--gray-100, #f7f8f8);
    color: var(--black);
}

/* Report mode overrides */
body.report-active {
    background-color: var(--gray-100, #f7f8f8);
}

body.report-active #app {
    max-width: 100%;
    padding: 0;
    align-items: stretch;
    justify-content: flex-start;
}

#app {
    position: relative;
    width: 100%;
    max-width: 780px;
    margin: 0 auto;
    padding: 48px 24px 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

/* Glows disabled */
.glow {
    display: none;
}

/* --------------------------------------------
   Glassmorphism Card
   -------------------------------------------- */
.card {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--gray-200);
    border-radius: 22px;
    padding: 48px 44px 56px;
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.03),
        0 4px 12px rgba(0, 0, 0, 0.04),
        0 12px 40px rgba(0, 0, 0, 0.02);
    width: 100%;
    max-width: 700px;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.6s ease;
}

.card:hover {
    transform: translateY(-2px);
    border-color: rgba(var(--primary-rgb, 0, 97, 254), 0.10);
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.02),
        0 6px 20px rgba(0, 0, 0, 0.05),
        0 16px 48px rgba(0, 0, 0, 0.03);
}

/* --------------------------------------------
   Landing Page Entrance Animations
   -------------------------------------------- */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger children on landing screen */
.screen--landing.screen--active .brand {
    animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.screen--landing.screen--active .brand__tagline {
    animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}

.screen--landing.screen--active .hero__headline {
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.55s both;
}

.screen--landing.screen--active .hero__subheadline {
    animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.8s both;
}

.screen--landing.screen--active .hero__benefits {
    animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 1.05s both;
}

.screen--landing.screen--active .benefit-item:nth-child(1) {
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.15s both;
}

.screen--landing.screen--active .benefit-item:nth-child(2) {
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.3s both;
}

.screen--landing.screen--active .benefit-item:nth-child(3) {
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.45s both;
}

.screen--landing.screen--active .btn--primary {
    animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 1.65s both;
}

.screen--landing.screen--active .hero__trust {
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.85s both;
}

/* Email capture screen — gentle entrance */
.screen--email.screen--active .brand {
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.screen--email.screen--active .form-container {
    animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}

/* --------------------------------------------
   Branding
   -------------------------------------------- */
.brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 8px;
}

.brand__logo {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--black);
}

.brand__logo img {
    height: 56px;
    width: auto;
    display: block;
}

.brand__asterisk {
    font-size: 20px;
    color: var(--primary);
    line-height: 1;
}

.brand__tagline {
    text-align: center;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--gray-500);
    margin-bottom: 64px;
}

/* --------------------------------------------
   Hero Section
   -------------------------------------------- */
.hero {
    text-align: center;
}

.hero__headline {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: 40px;
    font-weight: 800;
    line-height: 1.12;
    color: var(--black);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero__subheadline {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--gray-500);
    max-width: 540px;
    margin: 0 auto 40px;
}

/* --------------------------------------------
   Landing Benefits Section
   -------------------------------------------- */
.hero__benefits {
    max-width: 520px;
    margin: 0 auto 36px;
    text-align: left;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
}

.benefit-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(var(--primary-rgb), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

.benefit-icon svg {
    width: 12px;
    height: 12px;
    display: block;
}

.benefit-text {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--gray-600);
}

/* --------------------------------------------
   Trust Signals
   -------------------------------------------- */
.hero__trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.trust-signal {
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-400);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.trust-divider {
    color: var(--gray-300);
    font-size: 13px;
    user-select: none;
}

/* --------------------------------------------
   Button Component
   -------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn--primary {
    font-size: 18px;
    padding: 16px 32px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 97, 254, 0.3);
}

.btn--primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow:
        0 4px 16px rgba(0, 97, 254, 0.4),
        0 0 24px rgba(0, 97, 254, 0.2);
}

.btn--primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 97, 254, 0.3);
}

.btn--primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn--primary:disabled:hover {
    background-color: var(--primary);
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 97, 254, 0.3);
}

.btn--full {
    width: 100%;
}

/* --------------------------------------------
   Screen Transitions
   -------------------------------------------- */
.screen {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 0 24px;
    display: flex;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s;
}

.screen--active {
    opacity: 1;
    visibility: visible;
    position: relative;
    width: 100%;
}

/* --------------------------------------------
   Form Styles
   -------------------------------------------- */
.form-container {
    text-align: center;
}

.step-indicator {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--gray-400);
    margin-bottom: 16px;
}

.form-headline {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--black);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.form-subtext {
    font-size: 16px;
    color: var(--gray-500);
    margin-bottom: 32px;
}

.capture-form {
    width: 100%;
}

.form-fields {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    color: var(--black);
    background-color: var(--gray-100);
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    outline: none;
    transition: all 0.2s ease;
}

.form-input::placeholder {
    color: var(--gray-400);
}

.form-input:hover {
    border-color: var(--gray-300);
}

.form-input:focus {
    border-color: var(--primary);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(0, 97, 254, 0.1);
}

.privacy-note {
    font-size: 13px;
    color: var(--gray-400);
    margin-top: 20px;
}

.form-error {
    color: #DC2626;
    font-size: 14px;
    margin-top: 16px;
    padding: 12px 16px;
    background: rgba(220, 38, 38, 0.08);
    border-radius: 8px;
    text-align: center;
}

.btn--loading {
    pointer-events: none;
    opacity: 0.7;
}

/* --------------------------------------------
   Questionnaire Styles
   -------------------------------------------- */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-bottom: 24px;
    text-align: left;
}

.radio-option {
    position: relative;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.radio-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.radio-card {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    background-color: var(--gray-100);
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    transition: all 0.2s ease;
    color: var(--gray-600);
    font-size: 16px;
}

.radio-card:hover {
    border-color: var(--gray-300);
    background-color: #F3F4F4;
}

.radio-input:checked+.radio-card {
    border-color: var(--blue);
    background-color: rgba(0, 97, 254, 0.04);
    color: var(--blue);
    font-weight: 500;
    box-shadow: 0 0 0 2px rgba(0, 97, 254, 0.1);
}

textarea.form-input {
    min-height: 120px;
    resize: vertical;
    line-height: 1.5;
}

.btn-back {
    display: inline-block;
    margin-top: 16px;
    font-size: 14px;
    color: var(--gray-500);
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s;
}

.btn-back:hover {
    color: var(--black);
}

.fade-in {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --------------------------------------------
   Processing Screen
   -------------------------------------------- */
.loader-ring {
    display: inline-block;
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
}

.loader-ring:after {
    content: " ";
    display: block;
    width: 50px;
    height: 50px;
    margin: 8px;
    border-radius: 50%;
    border: 5px solid var(--primary);
    border-color: var(--primary) transparent var(--primary) transparent;
    animation: spin 1.2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ============================================
   REPORT SCREEN STYLES (POLISHED)
   ============================================ */

.screen--report {
    flex-direction: column;
    align-items: center;
    padding-top: 40px;
    height: auto;
    min-height: 100vh;
    width: 100%;
}

.report-container {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding-bottom: 80px;
}

.report-section {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--gray-200);
    border-radius: 22px;
    padding: 48px 44px;
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.03),
        0 4px 12px rgba(0, 0, 0, 0.04),
        0 12px 40px rgba(0, 0, 0, 0.02);
    margin-bottom: 28px;
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.35s ease;
}

.report-section.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Inner content stagger — children fade in after card reveals */
.report-section .section-label,
.report-section .dynamic-section-content,
.report-section .verdict-card,
.report-section .cta-box,
.report-section .executive-summary,
.report-section .dynamic-insight-content,
.report-section .dynamic-card-grid,
.report-section .dynamic-stats-grid {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.15s,
                transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}

.report-section.revealed .section-label,
.report-section.revealed .dynamic-section-content,
.report-section.revealed .verdict-card,
.report-section.revealed .cta-box,
.report-section.revealed .executive-summary,
.report-section.revealed .dynamic-insight-content,
.report-section.revealed .dynamic-card-grid,
.report-section.revealed .dynamic-stats-grid {
    opacity: 1;
    transform: translateY(0);
}

.report-section.revealed:hover {
    transform: translateY(-3px);
    border-color: rgba(var(--primary-rgb, 0, 97, 254), 0.15);
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.03),
        0 8px 24px rgba(0, 0, 0, 0.06),
        0 20px 60px rgba(0, 0, 0, 0.04),
        0 0 0 1px rgba(var(--primary-rgb, 0, 97, 254), 0.06);
}

/* Section reveals now handled by .revealed class + IntersectionObserver */

/* Section Labels */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(var(--primary-rgb, 0, 97, 254), 0.08);
    padding: 7px 16px;
    border-radius: 100px;
    margin-bottom: 24px;
}

.section-intro {
    font-size: 17px;
    font-family: var(--font-body, 'DM Sans', sans-serif);
    color: var(--gray-500);
    margin-bottom: 24px;
}

/* ----------------------------------------
   Section 1: Course Concept
   ---------------------------------------- */
.course-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--primary);
    padding: 10px 16px;
    border-radius: 8px;
    margin-bottom: 24px;
}

.concept-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    color: var(--black);
    letter-spacing: -0.02em;
}

.concept-tagline {
    font-size: 18px;
    color: var(--gray-600);
    margin-bottom: 32px;
    line-height: 1.6;
    max-width: 600px;
}

.concept-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.meta-item {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 15px;
}

.meta-label {
    color: var(--gray-500);
    font-weight: 500;
}

.meta-value {
    color: var(--black);
    font-weight: 600;
}

/* Credibility Badge */
.credibility-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    padding: 14px 20px;
    background: rgba(0, 97, 254, 0.06);
    border: 1px solid rgba(0, 97, 254, 0.15);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-dark);
}

.credibility-icon {
    width: 36px;
    height: 36px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

/* Alternative Concepts */
.alternatives-section {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--gray-200);
}

.alternatives-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.alt-concept-card {
    padding: 20px 24px;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    margin-bottom: 12px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.alt-concept-card:hover {
    background: var(--white);
    border-color: var(--blue);
    box-shadow: 0 4px 12px rgba(0, 97, 254, 0.1);
    transform: translateX(4px);
}

.alt-concept-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 4px;
}

.alt-concept-card p {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.5;
}

/* Prepared For */
.prepared-for {
    margin-top: 24px;
    font-size: 12px;
    color: var(--blue);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ----------------------------------------
   Section 2: Curriculum
   ---------------------------------------- */
.curriculum-disclaimer {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px 24px;
    background: rgba(0, 97, 254, 0.04);
    border: 1px solid rgba(0, 97, 254, 0.12);
    border-radius: 12px;
    margin-bottom: 32px;
}

.disclaimer-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.curriculum-disclaimer p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
}

.curriculum-disclaimer strong {
    color: var(--black);
}

/* Timeline with blue gradient line */
.timeline {
    position: relative;
    padding-left: 40px;
    margin-top: 32px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 24px;
    bottom: 24px;
    width: 2px;
    background: linear-gradient(180deg, var(--blue) 0%, var(--dark-blue) 100%);
    border-radius: 2px;
}

/* Module Cards with hover effect */
.module-card {
    position: relative;
    display: flex;
    gap: 0;
    margin-bottom: 16px;
    transition: transform 0.2s ease;
}

.module-card:hover {
    transform: translateX(4px);
}

.module-card:hover .module-content {
    border-color: var(--blue);
    box-shadow: 0 4px 20px rgba(0, 97, 254, 0.1);
}

.module-marker {
    position: absolute;
    left: -32px;
    top: 24px;
    width: 12px;
    height: 12px;
    background: var(--white);
    border: 3px solid var(--blue);
    border-radius: 50%;
    z-index: 2;
}

.module-content {
    flex: 1;
    padding: 24px 28px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    transition: all 0.2s ease;
}

.module-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.module-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--black);
}

.badge-quick-win {
    font-size: 10px;
    font-weight: 700;
    color: #059669;
    background: #ECFDF5;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.module-desc {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* Course Scope */
.course-scope {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.scope-badge {
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-600);
    background: var(--gray-100);
    padding: 8px 16px;
    border-radius: 8px;
}

/* ----------------------------------------
   Section 3: Audience
   ---------------------------------------- */
.persona-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--gray-200);
}

.persona-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--blue) 0%, var(--dark-blue) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    flex-shrink: 0;
}

.persona-info {
    flex: 1;
}

.persona-name {
    font-size: 24px;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 4px;
}

.persona-desc {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.5;
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.detail-block {
    padding: 24px;
    background: var(--gray-100);
    border-radius: 16px;
}

.detail-block h4 {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--blue);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.detail-block p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
}

.detail-block ul {
    list-style: none;
}

.detail-block li {
    font-size: 14px;
    color: var(--gray-600);
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-block li:last-child {
    border-bottom: none;
}

.detail-block li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--blue);
    border-radius: 50%;
    flex-shrink: 0;
}

/* Pain Quote */
.pain-quote {
    position: relative;
    margin-top: 32px;
    padding: 32px 32px 32px 48px;
    background: var(--gray-100);
    border-left: 4px solid var(--blue);
    border-radius: 0 16px 16px 0;
}

.quote-mark {
    position: absolute;
    top: 16px;
    left: 16px;
    font-size: 64px;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.15;
    line-height: 1;
    font-family: Georgia, serif;
}

.pain-quote p {
    font-size: 18px;
    font-style: italic;
    color: var(--gray-600);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.quote-attribution {
    font-size: 13px;
    color: var(--gray-400);
    margin-top: 16px;
    font-style: normal;
    font-weight: 500;
}

/* ----------------------------------------
   Section 4: Readiness
   ---------------------------------------- */
.readiness-visual {
    display: flex;
    align-items: center;
    gap: 48px;
    padding-bottom: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--gray-200);
}

.ring-wrapper {
    position: relative;
    width: 160px;
    height: 160px;
    flex-shrink: 0;
}

.ring-wrapper svg {
    transform: rotate(-90deg);
}

.ring-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.ring-percentage {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.ring-label {
    font-size: 13px;
    color: var(--gray-500);
    font-weight: 500;
    margin-top: 4px;
}

.readiness-checklist {
    flex: 1;
}

.readiness-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--gray-200);
}

.readiness-item:last-child {
    border-bottom: none;
}

.readiness-item .status-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    background: rgba(0, 97, 254, 0.1);
    color: var(--primary);
    flex-shrink: 0;
}

.readiness-item .status-icon.pending {
    background: var(--gray-100);
    color: var(--gray-400);
}

.item-info {
    flex: 1;
}

.item-info strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--black);
}

.item-info span {
    font-size: 12px;
    color: var(--gray-500);
}

/* Assets & Gaps Grid */
.assets-gaps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.assets-card,
.gaps-card {
    padding: 28px;
    border-radius: 16px;
}

.assets-card {
    background: rgba(0, 97, 254, 0.04);
    border: 1px solid rgba(0, 97, 254, 0.12);
}

.gaps-card {
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
}

.assets-card h4,
.gaps-card h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.assets-card h4 {
    color: var(--blue);
}

.gaps-card h4 {
    color: var(--gray-600);
}

.assets-card ul,
.gaps-card ul {
    list-style: none;
}

.assets-card li,
.gaps-card li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    line-height: 1.5;
}

.assets-card li:last-child,
.gaps-card li:last-child {
    border-bottom: none;
}

.assets-card li {
    color: var(--dark-blue);
}

.gaps-card li {
    color: var(--gray-600);
}

.check-icon {
    color: var(--blue);
    font-weight: 700;
    flex-shrink: 0;
}

.gap-icon {
    color: var(--gray-400);
    font-weight: 700;
    flex-shrink: 0;
}

/* ----------------------------------------
   Section 5: Earnings Calculator
   ---------------------------------------- */
.calculator-box {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 20px;
    padding: 36px 32px;
    border: 1px solid rgba(59, 130, 246, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    color: #e2e8f0;
}

.slider-group {
    margin-bottom: 28px;
}

.slider-label-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--gray-600);
}

/* Dark-container slider overrides (calculator + scenario) */
.calculator-box .slider-label-row,
.scenario-box .slider-label-row {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.slider-value {
    color: var(--blue);
    font-weight: 700;
}

.calculator-box .slider-value {
    color: #93c5fd;
    font-family: 'Courier New', monospace;
    font-size: 18px;
}

/* Slider track overrides for dark containers */
.calculator-box input[type=range]::-webkit-slider-runnable-track {
    background: rgba(59, 130, 246, 0.25);
    height: 6px;
    border-radius: 3px;
}

.calculator-box input[type=range]::-webkit-slider-thumb {
    background: #3b82f6;
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.5);
    height: 22px;
    width: 22px;
    margin-top: -8px;
}

/* Firefox overrides for calculator */
.calculator-box input[type=range]::-moz-range-track {
    background: rgba(59, 130, 246, 0.25);
    height: 6px;
    border-radius: 3px;
    border: none;
}

.calculator-box input[type=range]::-moz-range-thumb {
    background: #3b82f6;
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.5);
    height: 22px;
    width: 22px;
    border: none;
    border-radius: 50%;
}

/* Text readability in dark calculator */
.calculator-box .section-intro,
.calculator-box p:not(.calc-note) {
    color: rgba(255, 255, 255, 0.5);
}

input[type=range] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    background: transparent;
}

input[type=range]:focus {
    outline: none;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background: var(--blue);
    cursor: pointer;
    margin-top: -10px;
    box-shadow: 0 2px 6px rgba(0, 97, 254, 0.4);
    transition: transform 0.1s;
}

input[type=range]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    cursor: pointer;
    background: var(--gray-300);
    border-radius: 2px;
}

.results-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.result-item {
    text-align: center;
    padding: 20px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.result-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.result-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 10px;
    font-weight: 600;
}

.revenue-display {
    font-size: 30px;
    font-weight: 800;
    color: #6ee7b7;
    font-family: 'Courier New', monospace;
    font-feature-settings: "tnum";
    font-variant-numeric: tabular-nums;
}

.revenue-display.annual {
    color: #93c5fd;
}

.calc-note {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 20px;
    text-align: center;
    font-style: italic;
}

/* ----------------------------------------
   Scenario Slider (What If)
   ---------------------------------------- */
.scenario-section {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.03) 0%, rgba(59, 130, 246, 0.06) 100%);
}

.scenario-box {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 20px;
    padding: 36px 32px;
    border: 1px solid rgba(59, 130, 246, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    color: #e2e8f0;
}

.scenario-box .slider-group {
    margin-bottom: 28px;
}

.scenario-box .slider-value {
    font-size: 28px;
    color: #93c5fd;
    font-weight: 800;
    font-family: 'Courier New', monospace;
}

.scenario-box input[type=range]::-webkit-slider-runnable-track {
    background: linear-gradient(90deg, #3b82f6 0%, rgba(59, 130, 246, 0.25) 100%);
    height: 6px;
    border-radius: 3px;
}

.scenario-box input[type=range]::-webkit-slider-thumb {
    background: #3b82f6;
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.5);
    height: 22px;
    width: 22px;
    margin-top: -8px;
}

/* Firefox overrides for scenario */
.scenario-box input[type=range]::-moz-range-track {
    background: linear-gradient(90deg, #3b82f6 0%, rgba(59, 130, 246, 0.25) 100%);
    height: 6px;
    border-radius: 3px;
    border: none;
}

.scenario-box input[type=range]::-moz-range-thumb {
    background: #3b82f6;
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.5);
    height: 22px;
    width: 22px;
    border: none;
    border-radius: 50%;
}

/* Text readability in dark scenario box */
.scenario-box .section-intro,
.scenario-box p:not(.scenario-cta) {
    color: rgba(255, 255, 255, 0.5);
}

.scenario-outputs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px;
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.scenario-output {
    text-align: center;
    padding: 20px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.scenario-output:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.scenario-output-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 10px;
    font-weight: 600;
}

.scenario-output-value {
    font-size: 24px;
    font-weight: 800;
    color: #6ee7b7;
    font-family: 'Courier New', monospace;
    font-feature-settings: "tnum";
    font-variant-numeric: tabular-nums;
}

.scenario-cta {
    margin-top: 24px;
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    padding: 12px 24px;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 8px;
}

/* ----------------------------------------
   Section 6: Verdict (Gradient Card)
   ---------------------------------------- */
.verdict-section {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.verdict-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 24px;
    padding: 56px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: var(--white);
    margin-bottom: 32px;
}

.verdict-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.verdict-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

/* Score ring centering — SVG is display:block from reset, needs margin:auto */
.score-ring-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.score-ring-wrap svg {
    display: block;
    margin: 0 auto;
}

.verdict-title {
    font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    color: var(--white);
}

.verdict-subtitle {
    font-family: var(--font-body, 'DM Sans', sans-serif);
    font-size: 19px;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    color: var(--white);
}

.verdict-reasons {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.verdict-reason {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    opacity: 0.95;
}

.verdict-check {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* CTA Box */
.cta-box {
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: 24px;
    padding: 52px 48px;
    text-align: center;
    margin-bottom: 32px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.cta-box:hover {
    border-color: rgba(var(--primary-rgb, 0, 97, 254), 0.2);
    box-shadow: 0 8px 40px rgba(var(--primary-rgb, 0, 97, 254), 0.08);
}

.cta-box h3 {
    font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--black);
}

.cta-box>p {
    font-family: var(--font-body, 'DM Sans', sans-serif);
    font-size: 17px;
    color: var(--gray-500);
    margin-bottom: 32px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.btn-cta {
    font-size: 17px;
    padding: 18px 36px;
}

.btn-cta svg {
    transition: transform 0.2s;
}

.btn-cta:hover svg {
    transform: translateX(4px);
}

.cta-note {
    font-size: 13px;
    color: var(--gray-400);
    margin-top: 16px;
}

/* Report Footer */
.report-footer {
    text-align: center;
    font-size: 12px;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding-top: 32px;
}

/* ============================================
   Mobile Responsiveness
   ============================================ */
@media (max-width: 768px) {
    .report-section {
        padding: 32px 24px;
    }

    .concept-title {
        font-size: 32px;
    }

    .verdict-title {
        font-size: 36px;
    }

    .verdict-card {
        padding: 40px 24px;
    }

    .cta-box {
        padding: 40px 24px;
    }

    .readiness-visual {
        flex-direction: column;
        gap: 32px;
    }

    .assets-gaps-grid {
        grid-template-columns: 1fr;
    }

    .verdict-reasons {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
}

@media (max-width: 600px) {
    #app {
        padding: 28px 16px 28px;
    }

    .details-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .results-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .persona-header {
        flex-direction: column;
        text-align: center;
    }

    .course-scope {
        flex-direction: column;
        gap: 12px;
    }

    .concept-meta {
        gap: 8px;
    }

    .meta-item {
        flex-direction: column;
        gap: 2px;
    }

    .calculator-box {
        padding: 24px 16px;
    }

    .revenue-display {
        font-size: 28px;
    }

    .ring-wrapper {
        width: 140px;
        height: 140px;
    }

    .ring-percentage {
        font-size: 36px;
    }
}

/* --------------------------------------------
   Social Proof Carousel - Premium Cards
   -------------------------------------------- */
.social-proof-section {
    background: var(--primary);
    border: none;
    padding: 48px 32px;
    border-radius: 24px;
}

.social-proof-section .section-title {
    color: white;
}

.testimonial-carousel {
    position: relative;
    overflow: hidden;
}

.testimonial-slides {
    position: relative;
    min-height: 260px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.testimonial-slide.active {
    position: relative;
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

/* Testimonial Card - Modern Style */
.testimonial-card-display {
    display: flex;
    align-items: center;
    gap: 32px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 32px 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.testimonial-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

/* Decorative accent circle behind avatar */
.testimonial-avatar-wrap::before {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background: var(--secondary);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.testimonial-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 1;
    border: 3px solid white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Gender fallback icons */
.testimonial-avatar-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    border: 3px solid white;
}

.testimonial-avatar-icon svg {
    width: 50px;
    height: 50px;
    color: white;
    opacity: 0.9;
}

.testimonial-content {
    flex: 1;
}

/* Quote marks */
.testimonial-quote-mark {
    font-size: 48px;
    line-height: 1;
    color: var(--secondary);
    font-family: Georgia, serif;
    margin-bottom: 8px;
}

.testimonial-stars {
    font-size: 18px;
    color: #FFD93D;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.testimonial-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.author-name {
    font-weight: 700;
    color: white;
    font-size: 16px;
}

.author-title {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.testimonial-quote {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    margin: 0;
    font-style: normal;
}

/* Closing quote */
.testimonial-quote-end {
    display: flex;
    justify-content: flex-end;
    margin-top: 16px;
}

.testimonial-quote-end .testimonial-quote-mark {
    margin-bottom: 0;
    transform: rotate(180deg);
}

/* Carousel Navigation - Updated for dark bg */
.carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
}

.carousel-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: white;
}

.carousel-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

.carousel-dot.active {
    background: var(--secondary);
    transform: scale(1.2);
}

/* Responsive testimonial cards */
@media (max-width: 768px) {
    .testimonial-card-display {
        flex-direction: column;
        text-align: center;
        padding: 24px;
        gap: 20px;
    }

    .testimonial-meta {
        flex-direction: column;
        gap: 12px;
    }

    .testimonial-quote-end {
        justify-content: center;
    }

    .social-proof-section {
        padding: 32px 20px;
    }
}

/* --------------------------------------------
   Retry UI
   -------------------------------------------- */
.retry-container {
    text-align: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile adjustments for carousel */
@media (max-width: 600px) {
    .testimonial-quote {
        font-size: 16px;
    }

    .carousel-arrow {
        width: 36px;
        height: 36px;
    }
}

/* --------------------------------------------
   Email Toast Notification
   -------------------------------------------- */
.email-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--white);
    border-radius: 12px;
    padding: 16px 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1000;
    opacity: 0;
    transition: all 0.3s ease;
    max-width: 90%;
}

.email-toast.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.email-toast.toast-success {
    border-left: 4px solid #22C55E;
}

.email-toast.toast-error {
    border-left: 4px solid #F59E0B;
}

.toast-icon {
    font-size: 20px;
}

.toast-text {
    font-size: 14px;
    color: var(--gray-600);
}

@media (max-width: 600px) {
    .email-toast {
        padding: 12px 16px;
        bottom: 16px;
    }

    .toast-text {
        font-size: 13px;
    }
}

/* ============================================
   SLIDER / RANGE INPUT STYLES
   ============================================ */

.slider-container {
    margin-bottom: 40px;
    /* Much more spacing after slider */
    padding-bottom: 20px;
}

/* Base Slider Styling */
.form-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 10px;
    background: linear-gradient(to right, var(--primary), var(--primary-dark));
    border-radius: 5px;
    outline: none;
    margin: 16px 0;
    cursor: pointer;
}

/* Slider Track - WebKit (Chrome, Safari, Edge) */
.form-slider::-webkit-slider-runnable-track {
    height: 10px;
    background: linear-gradient(to right, var(--primary), var(--primary-dark));
    border-radius: 5px;
}

/* Slider Thumb/Knob - WebKit */
.form-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 28px;
    height: 28px;
    background: var(--primary);
    border: 4px solid var(--white);
    border-radius: 50%;
    cursor: grab;
    margin-top: -9px;
    /* Center on track: (28 - 10) / 2 = 9 */
    box-shadow:
        0 2px 8px rgba(0, 97, 254, 0.4),
        0 0 0 2px var(--primary);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.form-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow:
        0 4px 12px rgba(0, 97, 254, 0.5),
        0 0 0 3px var(--primary);
}

.form-slider::-webkit-slider-thumb:active {
    cursor: grabbing;
    transform: scale(1.1);
}

/* Slider Thumb/Knob - Firefox */
.form-slider::-moz-range-thumb {
    width: 28px;
    height: 28px;
    background: var(--primary);
    border: 4px solid var(--white);
    border-radius: 50%;
    cursor: grab;
    box-shadow:
        0 2px 8px rgba(0, 97, 254, 0.4),
        0 0 0 2px var(--primary);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.form-slider::-moz-range-thumb:hover {
    transform: scale(1.15);
    box-shadow:
        0 4px 12px rgba(0, 97, 254, 0.5),
        0 0 0 3px var(--primary);
}

/* Slider Track - Firefox */
.form-slider::-moz-range-track {
    height: 10px;
    background: linear-gradient(to right, var(--primary), var(--primary-dark));
    border-radius: 5px;
}

/* Slider Value Display */
.slider-value {
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-top: 12px;
}

/* Question Spacing in Dynamic Forms */
.dynamic-input+.input-label,
.radio-group+.input-label,
.slider-container+.input-label {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--gray-200);
}

/* ============================================
   DYNAMIC REPORT STYLES
   ============================================ */

.dynamic-report {
    max-width: 880px;
    margin: 0 auto;
    padding: 40px 20px 100px;
    background: var(--gray-100, #f7f8f8);
    font-family: var(--font-body, 'DM Sans', sans-serif);
    font-size: 17px;
    line-height: 1.7;
}

.dynamic-section {
    margin-bottom: 28px;
    padding: 48px 44px;
    background: var(--white);
    border-radius: 22px;
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.03),
        0 4px 12px rgba(0, 0, 0, 0.04),
        0 12px 40px rgba(0, 0, 0, 0.02);
    border: 1px solid var(--gray-200);
}

/* Section Labels */
.dynamic-section .section-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    background: rgba(var(--primary-rgb, 0, 97, 254), 0.08);
    padding: 7px 16px;
    border-radius: 100px;
    margin-bottom: 24px;
}

.dynamic-section-content {
    margin-top: 18px;
}

/* Dynamic Fields */
.dynamic-field {
    margin-bottom: 20px;
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-100);
}

.dynamic-field:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.dynamic-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 8px;
}

.dynamic-content {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.7;
}

/* Paragraph style field */
.dynamic-field--paragraph {
    padding: 20px 24px;
    background: linear-gradient(135deg, var(--gray-100), #f5f7f6);
    border-radius: 16px;
    border-bottom: none;
    border-left: 4px solid var(--primary);
}

.dynamic-field--paragraph .dynamic-content {
    margin-top: 12px;
    font-size: 15px;
}

/* Stat style field (for numbers) */
.dynamic-field--stat {
    display: inline-block;
    text-align: center;
    padding: 24px 32px;
    background: linear-gradient(145deg, var(--primary), var(--primary-dark));
    border-radius: 16px;
    margin-right: 16px;
    margin-bottom: 16px;
    border-bottom: none;
    box-shadow:
        0 4px 12px rgba(0, 97, 254, 0.25),
        0 8px 24px rgba(0, 97, 254, 0.15);
    min-width: 140px;
}

.dynamic-stat-value {
    font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
    font-size: 40px;
    font-weight: 800;
    color: white;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.dynamic-stat-label {
    font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
    font-size: 11px;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 8px;
    font-weight: 600;
}

/* List style field */
.dynamic-field--list {
    padding: 16px;
    background: var(--gray-100);
    border-radius: 12px;
    border-bottom: none;
}

.dynamic-list {
    list-style: none;
    margin-top: 12px;
}

.dynamic-list li {
    padding: 10px 0;
    padding-left: 20px;
    position: relative;
    border-bottom: 1px solid var(--gray-100, #f1f5f9);
    font-family: var(--font-body, 'DM Sans', sans-serif);
    font-size: 1rem;
    line-height: 1.5;
    color: var(--gray-600, #334155);
}

.dynamic-list li:last-child {
    border-bottom: none;
}

.dynamic-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--gray-400);
    font-weight: 700;
    font-size: 1.2em;
}

/* Right column bullets use primary color */
.dynamic-mini-card:last-child .dynamic-list li::before {
    color: var(--primary);
}

/* Verdict (string sections) */
.dynamic-verdict {
    font-size: 19px;
    line-height: 1.8;
    color: var(--gray-600);
    padding: 24px 28px;
    background: linear-gradient(135deg, #f8f9fa, var(--gray-100));
    border-radius: 16px;
    border-left: 5px solid var(--primary);
    font-style: italic;
}

/* CTA Section */
.cta-section {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.cta-box {
    transition: transform 0.2s ease;
}

.cta-box:hover {
    transform: translateY(-2px);
}

/* Report Footer */
.report-footer {
    text-align: center;
    padding: 32px 20px;
    color: var(--gray-400);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 600px) {
    .dynamic-report {
        padding: 12px;
    }

    .dynamic-section {
        padding: 28px 20px;
    }

    .dynamic-field--stat {
        display: block;
        margin-right: 0;
    }

    .dynamic-stat-value {
        font-size: 28px;
    }
}

/* ============================================
   ENHANCED DYNAMIC REPORT STYLES
   ============================================ */

/* Dynamic Report Header Section — see upgraded version below */

.dynamic-brand-badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    background: linear-gradient(135deg, rgba(0, 97, 254, 0.1), rgba(0, 97, 254, 0.05));
    padding: 10px 20px;
    border-radius: 24px;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.dynamic-report-title {
    font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
    font-size: 34px;
    font-weight: 800;
    color: var(--black);
    margin: 0 0 12px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.dynamic-prepared-for {
    font-size: 17px;
    color: var(--gray-500);
    font-weight: 500;
}

/* Stats Grid Layout — see main rules in P0 section below */

/* Quote Block Styling */
.dynamic-quote-block {
    position: relative;
    padding: 28px 32px 28px 48px;
    margin: 24px 0;
    background: linear-gradient(135deg, var(--gray-100), #f5f7f6);
    border-radius: 16px;
    border-left: 5px solid var(--primary);
}

.dynamic-quote-mark {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 64px;
    font-weight: 700;
    color: var(--primary);
    opacity: 0.3;
    line-height: 1;
    position: absolute;
    top: 12px;
    left: 16px;
}

.dynamic-quote-text {
    font-size: 19px;
    font-style: italic;
    line-height: 1.7;
    color: var(--gray-600);
    margin: 0;
}

.dynamic-quote-attribution {
    margin-top: 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Card Grid for Object Arrays */
.dynamic-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.dynamic-mini-card {
    padding: 24px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    transition: all 0.2s ease;
}

/* Comparison card color treatments */
.dynamic-card-grid .dynamic-mini-card:first-child,
.dynamic-comparison-grid .dynamic-mini-card:first-child {
    background: var(--gray-50, #f9fafb);
}

.dynamic-card-grid .dynamic-mini-card:last-child,
.dynamic-comparison-grid .dynamic-mini-card:last-child {
    background: rgba(var(--primary-rgb, 0, 97, 254), 0.03);
}

.dynamic-mini-card:hover {
    border-color: var(--gray-300);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.mini-card-title {
    font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
}

.mini-card-desc {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.5;
}

/* Nested Sections */
.dynamic-nested-section {
    margin: 20px 0;
    padding: 20px;
    background: var(--gray-100);
    border-radius: 12px;
}

.dynamic-nested-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gray-200);
}

/* Inline Fields */
.dynamic-field--inline {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-100);
}

.dynamic-field--inline:last-child {
    border-bottom: none;
}

.dynamic-field--inline .dynamic-label {
    flex-shrink: 0;
    min-width: 140px;
    font-weight: 600;
    color: var(--gray-500);
}

.dynamic-field--inline .dynamic-content {
    flex: 1;
    color: var(--gray-600);
}

/* Summary text */
.dynamic-summary {
    font-size: 18px;
    line-height: 1.7;
    color: var(--gray-600);
    text-align: center;
    padding: 0 20px;
}

/* Section intro text */
.section-intro {
    font-size: 15px;
    color: var(--gray-500);
    margin-bottom: 24px;
    line-height: 1.6;
}

/* Responsive adjustments for enhanced dynamic report */
@media (max-width: 640px) {
    .dynamic-header-section {
        padding: 32px 20px;
    }

    .dynamic-report-title {
        font-size: 24px;
    }

    .dynamic-brand-badge {
        font-size: 11px;
        padding: 8px 16px;
    }

    .dynamic-stats-grid {
        flex-direction: column;
    }

    .dynamic-stats-grid .dynamic-field--stat {
        min-width: 100%;
    }

    .dynamic-quote-block {
        padding: 24px 20px 24px 20px;
    }

    .dynamic-quote-mark {
        font-size: 48px;
        position: static;
        margin-bottom: 8px;
    }

    .dynamic-quote-text {
        font-size: 16px;
    }

    .dynamic-card-grid {
        grid-template-columns: 1fr;
    }

    .dynamic-field--inline {
        flex-direction: column;
        gap: 4px;
    }

    .dynamic-field--inline .dynamic-label {
        min-width: auto;
    }
}

/* =====================================================
   P0 UPDATE: New Structured Section Styles
   ===================================================== */

/* STAT-GRID: Visual Variety — 4 Gradient Treatments */
.dynamic-stat-card {
    border-radius: 16px;
    padding: 28px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.dynamic-stat-card:hover {
    transform: translateY(-3px);
}

/* Card 1: Primary gradient (dark, white text) */
.dynamic-stat-card:nth-child(1) {
    background: linear-gradient(145deg, var(--primary, #0061FE) 0%, var(--primary-dark, #0454B5) 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(var(--primary-rgb, 0, 97, 254), 0.25);
}

/* Card 2: Dark charcoal (dark, white text) */
.dynamic-stat-card:nth-child(2) {
    background: linear-gradient(145deg, #343a40, #212529);
    color: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Card 3: Outlined light (light, dark text) */
.dynamic-stat-card:nth-child(3) {
    background: var(--white, #ffffff);
    border: 1.5px solid var(--gray-200, #e9ecef);
    color: var(--gray-800, #212529);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

/* Card 4: Primary tint (light, primary text) */
.dynamic-stat-card:nth-child(4) {
    background: linear-gradient(145deg, rgba(var(--primary-rgb, 0, 97, 254), 0.06), rgba(var(--primary-rgb, 0, 97, 254), 0.12));
    border: 1.5px solid rgba(var(--primary-rgb, 0, 97, 254), 0.12);
    color: var(--primary-dark, #0454B5);
    box-shadow: 0 2px 12px rgba(var(--primary-rgb, 0, 97, 254), 0.06);
}

/* Cards 5+ cycle back */
.dynamic-stat-card:nth-child(4n+5) {
    background: linear-gradient(145deg, var(--primary, #0061FE) 0%, var(--primary-dark, #0454B5) 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(var(--primary-rgb, 0, 97, 254), 0.25);
}

.dynamic-stat-card:nth-child(4n+6) {
    background: linear-gradient(145deg, #343a40, #212529);
    color: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Dark cards: white text */
.dynamic-stat-card:nth-child(1) .dynamic-stat-value,
.dynamic-stat-card:nth-child(2) .dynamic-stat-value,
.dynamic-stat-card:nth-child(4n+5) .dynamic-stat-value,
.dynamic-stat-card:nth-child(4n+6) .dynamic-stat-value {
    color: white;
}

.dynamic-stat-card:nth-child(1) .dynamic-stat-label,
.dynamic-stat-card:nth-child(2) .dynamic-stat-label,
.dynamic-stat-card:nth-child(4n+5) .dynamic-stat-label,
.dynamic-stat-card:nth-child(4n+6) .dynamic-stat-label {
    color: rgba(255, 255, 255, 0.75);
}

/* Light cards: dark text */
.dynamic-stat-card:nth-child(3) .dynamic-stat-value {
    color: var(--gray-800, #212529);
}

.dynamic-stat-card:nth-child(3) .dynamic-stat-label {
    color: var(--gray-500, #6c757d);
}

.dynamic-stat-card:nth-child(4) .dynamic-stat-value {
    color: var(--primary-dark, #0454B5);
}

.dynamic-stat-card:nth-child(4) .dynamic-stat-label {
    color: var(--gray-500, #6c757d);
}

/* Subtle shine on dark stat cards */
.dynamic-stat-card:nth-child(1)::after,
.dynamic-stat-card:nth-child(2)::after,
.dynamic-stat-card:nth-child(4n+5)::after,
.dynamic-stat-card:nth-child(4n+6)::after {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.dynamic-stat-card .dynamic-stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 8px;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
    letter-spacing: -0.02em;
}

.dynamic-stat-card .dynamic-stat-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Updated Stats Grid — dynamic layout based on card count */
.dynamic-stats-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 0;
}

.dynamic-stats-grid > .dynamic-field--stat {
    flex: 1 1 calc(50% - 7px);
    margin-right: 0;
    margin-bottom: 0;
    min-width: 140px;
}

.dynamic-stats-grid.stat-count-1 > .dynamic-field--stat {
    flex: 0 1 100%;
    max-width: 400px;
}

.dynamic-stats-grid.stat-count-3 > .dynamic-field--stat {
    flex: 1 1 calc(33.33% - 10px);
}

.dynamic-stats-grid.stat-count-4 > .dynamic-field--stat {
    flex: 1 1 calc(25% - 11px);
}

.dynamic-stats-grid.stat-count-5 > .dynamic-field--stat,
.dynamic-stats-grid.stat-count-6 > .dynamic-field--stat {
    flex: 1 1 calc(33.33% - 10px);
}

/* Scale down values for 3-column layouts */
.dynamic-stats-grid.stat-count-3 .dynamic-stat-value,
.dynamic-stats-grid.stat-count-5 .dynamic-stat-value,
.dynamic-stats-grid.stat-count-6 .dynamic-stat-value {
    font-size: 28px;
}

/* COMPARISON: Side-by-side columns */
.dynamic-comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 24px 0;
}

.comparison-column {
    background: var(--white, #fff);
    border-radius: 16px;
    padding: 28px;
    border: 1px solid var(--gray-200, #e2e8f0);
    border-top: 3px solid transparent;
}

.comparison-column.comparison-left {
    border-top-color: var(--gray-300, #cbd5e1);
    background: var(--white, #fff);
}

.comparison-column.comparison-right {
    border-top-color: var(--primary, #0061FE);
    background: rgba(var(--primary-rgb, 0, 97, 254), 0.02);
}

.comparison-header {
    font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--gray-200, #e2e8f0);
}

.comparison-left .comparison-header {
    color: var(--gray-500, #6b7280);
}

.comparison-right .comparison-header {
    color: var(--primary, #0061FE);
}

.comparison-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comparison-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-100, #f1f5f9);
    font-size: 0.95rem;
    font-family: var(--font-body, 'DM Sans', sans-serif);
    color: var(--gray-600, #334155);
    line-height: 1.5;
}

.comparison-list li:last-child {
    border-bottom: none;
}

/* VERDICT: Styled recommendation with score */
.verdict-section-styled {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.dynamic-verdict-content {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 24px 0;
}

.verdict-score-wrapper {
    position: relative;
    flex-shrink: 0;
}

.verdict-score-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.verdict-score-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary, #0061FE);
}

.verdict-score-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
}

.verdict-text {
    flex: 1;
}

.verdict-text p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #334155;
    margin: 0;
}

/* EXECUTIVE SUMMARY */
.executive-summary {
    border-left: 3px solid var(--primary, #0061FE);
    background: linear-gradient(135deg, var(--white, #ffffff) 0%, rgba(var(--primary-rgb, 0, 97, 254), 0.04) 100%);
    border-radius: 20px;
    margin-bottom: 28px;
}

.executive-summary .summary-content {
    padding: 8px 0;
}

.executive-summary .summary-content p {
    font-size: 17.5px;
    line-height: 1.85;
    margin: 0;
    color: var(--gray-600, #495057);
    font-family: 'DM Sans', -apple-system, sans-serif;
}

/* INSIGHT: Clean text blocks */
.dynamic-insight-content {
    background: #f8fafc;
    border-radius: 12px;
    padding: 24px;
    border-left: 4px solid var(--primary, #0061FE);
}

.dynamic-insight-content p {
    font-family: var(--font-body, 'DM Sans', sans-serif);
    font-size: 1.1rem;
    line-height: 1.75;
    color: #334155;
    margin: 0;
}

/* LIST: Clean numbered/bulleted lists */
.dynamic-list.numbered,
.dynamic-list.bulleted {
    background: #f8fafc;
    border-radius: 12px;
    padding: 24px 24px 24px 44px;
    margin: 16px 0;
}

.dynamic-list.numbered li,
.dynamic-list.bulleted li {
    padding: 10px 0;
    font-size: 1rem;
    line-height: 1.6;
    color: #334155;
}

.dynamic-list.numbered li::marker {
    color: var(--primary, #0061FE);
    font-weight: 700;
}

.dynamic-list.bulleted li::marker {
    color: var(--primary, #0061FE);
}

/* TEXT: Simple paragraphs */
.dynamic-text-content {
    padding: 8px 0;
}

.dynamic-text-content p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #334155;
    margin: 0;
}

/* Header section refinements */
.dynamic-header-section {
    border: none;
    text-align: center;
    padding: 56px 32px 48px;
    background: var(--white, #fff);
    position: relative;
    overflow: hidden;
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.03),
        0 4px 12px rgba(0, 0, 0, 0.04);
}

.dynamic-header-section:hover {
    transform: none;
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.03),
        0 4px 12px rgba(0, 0, 0, 0.04);
    border-color: transparent;
}

/* Hover effects for sections — only after reveal */
.dynamic-section.revealed:hover {
    transform: translateY(-3px);
    border-color: rgba(var(--primary-rgb, 0, 97, 254), 0.15);
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.03),
        0 8px 24px rgba(0, 0, 0, 0.06),
        0 20px 60px rgba(0, 0, 0, 0.04),
        0 0 0 1px rgba(var(--primary-rgb, 0, 97, 254), 0.06);
}

/* Verdict section: no hover lift on outer wrapper (has its own card) */
.verdict-section:hover,
.report-section.verdict-section:hover {
    transform: none;
    box-shadow: none;
    border-color: transparent;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .dynamic-comparison-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .dynamic-verdict-content {
        flex-direction: column;
        text-align: center;
    }

    .dynamic-stat-card .dynamic-stat-value {
        font-size: 2rem;
    }

    .dynamic-stats-grid {
        gap: 12px;
    }

    .dynamic-stats-grid > .dynamic-field--stat {
        flex: 0 1 calc(50% - 6px);
    }

    .dynamic-stats-grid.stat-count-3 .dynamic-stat-value,
    .dynamic-stats-grid.stat-count-5 .dynamic-stat-value,
    .dynamic-stats-grid.stat-count-6 .dynamic-stat-value {
        font-size: 24px;
    }

    .executive-summary .summary-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .dynamic-stats-grid > .dynamic-field--stat {
        flex: 0 1 100%;
    }

    .dynamic-stats-grid .dynamic-stat-value {
        font-size: 32px;
    }
}

/* =====================================================
   PHASE 1A: NEW SECTION TYPE STYLES
   ===================================================== */

/* PROGRESS BAR */
.progress-bar-block {
    padding: 20px 24px;
    background: var(--gray-100);
    border-radius: 16px;
}

.progress-bar-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 12px;
}

.progress-bar-label {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-600);
}

.progress-bar-value {
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: var(--primary, #0061FE);
    font-feature-settings: "tnum";
    font-variant-numeric: tabular-nums;
}

.progress-bar-track {
    width: 100%;
    height: 12px;
    background: var(--gray-200);
    border-radius: 6px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    border-radius: 6px;
    transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
    min-width: 0;
    width: 0;
    position: relative;
}

.progress-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 40px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3));
    border-radius: 0 6px 6px 0;
}

.progress-bar-desc {
    margin-top: 12px;
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* CHECKLIST */
.checklist-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--gray-200);
    transition: background 0.15s ease;
}

.checklist-item:last-child {
    border-bottom: none;
}

.checklist-item:hover {
    background: var(--gray-100);
    border-radius: 8px;
}

.checklist-icon {
    flex-shrink: 0;
    font-size: 16px;
    line-height: 1.5;
}

.checklist-text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--gray-600);
}

.checklist-unchecked .checklist-text {
    color: var(--gray-400);
}

/* CALLOUT */
.callout-block {
    display: flex;
    gap: 16px;
    padding: 20px 24px;
    border-radius: 16px;
    border-left: 4px solid;
}

.callout-info {
    background: rgba(0, 97, 254, 0.06);
    border-left-color: var(--primary);
}

.callout-tip {
    background: rgba(245, 158, 11, 0.08);
    border-left-color: #f59e0b;
}

.callout-warning {
    background: rgba(220, 38, 38, 0.06);
    border-left-color: #dc2626;
}

.callout-success {
    background: rgba(22, 163, 74, 0.06);
    border-left-color: #16a34a;
}

.callout-icon {
    font-size: 22px;
    flex-shrink: 0;
    line-height: 1.4;
}

.callout-body {
    flex: 1;
    min-width: 0;
}

.callout-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-600);
    margin: 0;
}

/* METRIC HIGHLIGHT */
.metric-highlight-block {
    text-align: center;
    padding: 40px 32px;
    background: linear-gradient(145deg, var(--primary), var(--primary-dark));
    border-radius: 20px;
    box-shadow:
        0 4px 12px rgba(0, 97, 254, 0.25),
        0 8px 32px rgba(0, 97, 254, 0.15);
}

.metric-highlight-value {
    font-size: 48px;
    font-weight: 800;
    color: white;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-feature-settings: "tnum";
    font-variant-numeric: tabular-nums;
}

.metric-highlight-label-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.metric-highlight-label {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.metric-highlight-trend {
    font-size: 18px;
    font-weight: 800;
}

.metric-highlight-desc {
    margin-top: 16px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* TIMELINE */
.timeline-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.timeline-item {
    display: flex;
    gap: 20px;
    position: relative;
}

.timeline-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.timeline-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--primary), var(--primary-dark));
    color: white;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 97, 254, 0.3);
    flex-shrink: 0;
}

.timeline-line {
    width: 2px;
    flex: 1;
    background: var(--gray-200);
    min-height: 24px;
}

.timeline-content {
    padding-bottom: 28px;
    flex: 1;
    min-width: 0;
}

.timeline-item--last .timeline-content {
    padding-bottom: 0;
}

.timeline-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--black);
    margin-top: 6px;
}

.timeline-timeframe {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.timeline-desc {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
    margin-top: 6px;
}

/* Responsive for new section types */
@media (max-width: 600px) {
    .metric-highlight-value {
        font-size: 36px;
    }

    .metric-highlight-block {
        padding: 32px 20px;
    }

    .timeline-item {
        gap: 14px;
    }

    .timeline-dot {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .callout-block {
        flex-direction: column;
        gap: 8px;
    }
}

/* =====================================================
   REPORT SCORING — Drag-to-Rank UI
   ===================================================== */
.scoring-info-box {
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 16px;
    font-size: 13px;
    line-height: 1.5;
}

.scoring-info-box strong {
    display: block;
    margin-bottom: 4px;
    font-size: 13px;
}

.scoring-info-box p {
    margin: 0;
    color: var(--text-secondary, #64748b);
}

.scoring-rank-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-height: 40px;
    padding: 8px;
    background: rgba(0, 0, 0, 0.02);
    border: 1px dashed rgba(0, 0, 0, 0.12);
    border-radius: 8px;
}

.scoring-rank-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 6px;
    cursor: grab;
    transition: box-shadow 0.15s, transform 0.15s, opacity 0.15s;
    user-select: none;
}

.scoring-rank-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.scoring-rank-item:active {
    cursor: grabbing;
}

.scoring-rank-item.scoring-dragging {
    opacity: 0.4;
    transform: scale(0.98);
}

.scoring-drag-handle {
    color: #94a3b8;
    font-size: 16px;
    line-height: 1;
    flex-shrink: 0;
    cursor: grab;
}

.scoring-rank-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    transition: background 0.3s;
}

.scoring-rank-label {
    flex: 1;
    font-size: 13px;
    color: #334155;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.scoring-rank-hint {
    font-size: 11px;
    color: #94a3b8;
    font-style: italic;
    flex-shrink: 0;
    min-width: 65px;
    text-align: right;
}

.scoring-empty {
    text-align: center;
    color: #94a3b8;
    font-size: 13px;
    padding: 12px;
    font-style: italic;
}

/* ============================================
   Phase 3B: Landing Page Mobile Responsive
   ============================================ */
@media (max-width: 768px) {
    #app {
        padding: 32px 16px 32px;
    }

    .card {
        padding: 36px 28px 44px;
        border-radius: 22px;
    }

    .hero__headline {
        font-size: 32px;
        letter-spacing: -0.02em;
        margin-bottom: 16px;
    }

    .hero__subheadline {
        font-size: 16px;
        margin-bottom: 32px;
    }

    .hero__benefits {
        max-width: 100%;
        margin-bottom: 28px;
    }

    .benefit-item {
        gap: 10px;
        padding: 8px 0;
    }

    .benefit-text {
        font-size: 14px;
    }

    .hero__trust {
        gap: 8px;
        margin-top: 16px;
    }

    .trust-signal {
        font-size: 12px;
    }

    .brand__tagline {
        margin-bottom: 40px;
        font-size: 10px;
    }

    .form-headline {
        font-size: 26px;
    }

    .form-subtext {
        font-size: 15px;
    }

    .btn--primary {
        font-size: 16px;
        padding: 14px 28px;
    }
}

@media (max-width: 480px) {
    #app {
        padding: 20px 12px 20px;
    }

    .card {
        padding: 28px 20px 36px;
        border-radius: 18px;
    }

    .hero__headline {
        font-size: 26px;
        line-height: 1.15;
    }

    .hero__subheadline {
        font-size: 15px;
        line-height: 1.55;
    }

    .hero__trust {
        flex-direction: column;
        gap: 6px;
    }

    .trust-divider {
        display: none;
    }

    .brand__logo {
        font-size: 13px;
    }

    .brand__tagline {
        margin-bottom: 32px;
    }

    .form-headline {
        font-size: 22px;
    }

    .step-indicator {
        font-size: 10px;
    }

    .radio-card {
        font-size: 14px;
        padding: 12px 14px;
    }

    .form-input {
        font-size: 15px;
        padding: 13px 14px;
    }
}
