/* ========================================
   OPERANT AI WEBSITE - STYLES
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* DJITT Brand Colors — inspired by DjittLogoMain2.png */
    --primary: #C4923A;        /* Gold — logo arc & squares */
    --primary-dark: #9A6E22;   /* Deep gold */
    --primary-light: #D4A85C;  /* Light gold */
    --secondary: #1C1F2B;      /* Dark charcoal — premium dark bg */
    --tertiary: #4A7A9B;       /* Steel blue — circuit lines */
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    
    --bg-light: #F5F3EE;       /* Warm off-white — logo background feel */
    --bg-white: #ffffff;
    --text-dark: #1C1F2B;      /* Dark charcoal */
    --text-gray: #6b7280;
    --text-light: #9ca3af;
    --border-color: #e5e7eb;
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   NAVIGATION
   ======================================== */

.navbar {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.brand-link {
    display: inline-flex;
    align-items: center;
}

.brand-logo {
    height: 52px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary);
}

/* Hamburger toggle button (hidden on desktop) */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.4rem;
    width: 36px;
    height: 28px;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-dark);
    transition: all 0.3s ease;
    position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
    content: '';
    position: absolute;
    left: 0;
}

.nav-toggle span::before { top: -9px; }
.nav-toggle span::after  { top: 9px; }

.nav-toggle[aria-expanded="true"] span {
    background-color: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
    top: 0;
    transform: rotate(-45deg);
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: white;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    background: linear-gradient(135deg, #1C1F2B 0%, #2A3448 60%, #1A2A3A 100%);
    color: white;
    padding: 6rem 20px;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 0.5rem;
    text-align: center;
    backdrop-filter: blur(10px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
}

/* ========================================
   SECTIONS - GENERAL
   ======================================== */

section {
    padding: 4rem 20px;
}

section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-gray);
    text-align: center;
    margin-bottom: 2rem;
}

/* ========================================
   PROBLEMS SECTION
   ======================================== */

.problems {
    background-color: var(--bg-light);
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.problem-card {
    min-width: 0;
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 0.75rem;
    border-left: 4px solid var(--primary);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.problem-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.problem-card p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* ========================================
   SOLUTION SECTION
   ======================================== */

.solution {
    background-color: var(--bg-white);
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.solution-card {
    background-color: var(--bg-light);
    padding: 2.5rem;
    border-radius: 0.75rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    min-width: 0;
}

.solution-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.solution-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.solution-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.solution-card p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.feature-list li {
    padding: 0.5rem 0;
    color: var(--text-gray);
}

.typical-outcome {
    background-color: var(--bg-white);
    padding: 1rem;
    border-radius: 0.5rem;
    border-left: 3px solid var(--success);
    font-size: 0.95rem;
}

.typical-outcome strong {
    color: var(--success);
}

/* ========================================
   HOW IT WORKS SECTION
   ======================================== */

.how-it-works {
    background-color: var(--bg-light);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    position: relative;
}

/* Keep only the 4 step cards in the grid flow */
.timeline-connector {
    display: none;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--border-color);
}

.process-step {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 0.75rem;
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    margin-left: -2rem;
}

.process-step h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.process-step p {
    color: var(--text-gray);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.step-duration {
    display: inline-block;
    background-color: var(--primary-light);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .process-timeline {
        grid-template-columns: 1fr;
    }
    
    .process-timeline::before {
        display: none;
    }
}

/* ========================================
   SERVICES PREVIEW SECTION
   ======================================== */

.services-preview {
    background-color: var(--bg-white);
}

.services-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border-color);
    background-color: var(--bg-white);
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.tab-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.tab-btn.active {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.service-item {
    background-color: var(--bg-light);
    padding: 1.5rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.service-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.service-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.service-item p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.service-price {
    font-weight: 700;
    color: var(--primary);
    font-size: 1rem;
}

.services-cta {
    text-align: center;
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */

.social-proof {
    background-color: var(--bg-light);
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--tertiary);
}

.testimonial-quote {
    font-style: italic;
    color: var(--text-gray);
    margin-bottom: 1rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

.testimonial-quote::before {
    content: '"';
    font-size: 2rem;
    color: var(--primary-light);
    line-height: 0;
    vertical-align: -0.4em;
    margin-right: 0.2rem;
}

.testimonial-author {
    font-size: 0.95rem;
    color: var(--text-dark);
}

.testimonial-author strong {
    color: var(--primary);
}

/* ========================================
   ROI CALCULATOR SECTION
   ======================================== */

.roi-calculator {
    background-color: var(--bg-white);
}

.calculator {
    background-color: var(--bg-light);
    padding: 2.5rem;
    border-radius: 0.75rem;
    max-width: 600px;
    margin: 2rem auto;
    box-shadow: var(--shadow-md);
}

.calc-input-group {
    margin-bottom: 1.5rem;
}

.calc-input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.calc-input-group input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.calc-input-group input:focus {
    outline: none;
    border-color: var(--primary);
}

.practice-score-form {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.practice-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.practice-form-field {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.practice-form-full {
    grid-column: 1 / -1;
}

.practice-form-field label {
    color: var(--text-dark);
    font-size: 0.92rem;
    font-weight: 600;
}

.practice-form-field input {
    width: 100%;
    padding: 0.8rem 0.9rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.practice-form-field input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(196, 146, 58, 0.12);
}

.form-checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.form-checkbox-row input {
    margin-top: 0.2rem;
    width: 1.1rem;
    height: 1.1rem;
    flex-shrink: 0;
}

.form-checkbox-row label {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--text-gray);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.currency {
    position: absolute;
    left: 12px;
    color: var(--text-gray);
    font-weight: 600;
}

.input-wrapper input {
    padding-left: 2rem;
}

.calc-result {
    background-color: var(--bg-white);
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-top: 1.5rem;
}

.result-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.result-item:last-child {
    border-bottom: none;
}

.result-item.highlight {
    background-color: #FEF3DC;
    padding: 0.75rem;
    border-radius: 0.5rem;
    margin: 0.5rem 0;
    border-bottom: none;
}

.result-label {
    color: var(--text-gray);
    font-weight: 600;
}

.result-value {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
}

/* ========================================
   CTA SECTION
   ======================================== */

.cta-section {
    background: linear-gradient(135deg, #1C1F2B 0%, #2A3448 60%, #1A2A3A 100%);
    color: white;
    text-align: center;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.no-obligation {
    opacity: 0.9;
    margin-bottom: 2rem;
}

.contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-option {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 0.75rem;
    backdrop-filter: blur(10px);
}

.contact-option h4 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.contact-option p {
    margin-bottom: 1rem;
    opacity: 0.95;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background-color: var(--secondary);
    color: white;
    padding: 3rem 20px 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 0.85rem;
    display: block;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid #2E3448;
    padding-top: 1.5rem;
    text-align: center;
    color: #9ca3af;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1024px) {
    section {
        padding: 3rem 20px;
    }
    
    section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    /* Mobile navigation */
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-white);
        padding: 0.5rem 0 1.5rem;
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-md);
        gap: 0;
        z-index: 150;
    }

    .nav-menu.is-open {
        display: flex;
    }

    .nav-menu li {
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu li:first-child {
        border-top: 1px solid var(--border-color);
    }

    .nav-menu a {
        display: block;
        padding: 0.875rem 20px;
        font-size: 1.05rem;
    }

    /* Hero */
    .hero .container {
        grid-template-columns: 1fr;
    }

    .hero-content h2 {
        font-size: 1.75rem;
    }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    /* Grids collapse to single column */
    .problems-grid,
    .solution-grid,
    .testimonials {
        grid-template-columns: 1fr;
    }

    .contact-options {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
    }

    /* Section headings */
    section h2 {
        font-size: 1.85rem;
    }
}

@media (max-width: 480px) {
    section {
        padding: 2.5rem 15px;
    }

    section h2 {
        font-size: 1.5rem;
    }

    .brand-logo {
        height: 44px;
    }

    .hero {
        padding: 3.5rem 15px;
    }

    .hero-content h2 {
        font-size: 1.4rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    /* Stack hero CTA buttons vertically */
    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
        text-align: center;
    }

    /* Stack hero stats vertically */
    .hero-stats {
        grid-template-columns: 1fr;
    }

    .stat {
        display: flex;
        align-items: center;
        gap: 1rem;
        text-align: left;
        padding: 1rem 1.25rem;
    }

    .stat-number {
        font-size: 2rem;
        flex-shrink: 0;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    /* Full-width buttons in CTA & contact */
    .contact-option .btn {
        width: 100%;
    }

    /* Calculator padding */
    .calculator {
        padding: 1.5rem;
    }

    /* Solution cards */
    .solution-card {
        padding: 1.75rem;
    }

    /* Service items */
    .service-item {
        padding: 1.25rem;
    }

    .btn {
        padding: 0.7rem 1.25rem;
        font-size: 0.95rem;
    }
}

/* ========================================
   HOW WE WORK TOGETHER — METHOD STEPS
   ======================================== */

.method-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 2.5rem auto 0;
    max-width: 720px;
}

.method-step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.method-step:last-child {
    border-bottom: none;
}

.method-step-number {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.4;
    line-height: 1;
    min-width: 3.25rem;
    font-variant-numeric: tabular-nums;
}

.method-step-body h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
}

.method-step-body p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 0.35rem;
}

.method-step-meta {
    font-size: 0.8rem !important;
    color: var(--text-light) !important;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 0 !important;
}

/* ========================================
   PRACTICE READINESS QUIZ MODAL
   ======================================== */

.quiz-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quiz-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(28, 31, 43, 0.78);
    backdrop-filter: blur(4px);
}

.quiz-modal-content {
    position: relative;
    background: var(--bg-white);
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 560px;
    width: calc(100% - 2rem);
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

.quiz-close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    background: none;
    border: none;
    font-size: 1.75rem;
    color: var(--text-gray);
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

.quiz-close:hover {
    color: var(--text-dark);
}

.quiz-progress {
    height: 4px;
    background: var(--border-color);
    border-radius: 4px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.quiz-progress-bar {
    height: 100%;
    background: var(--primary);
    border-radius: 4px;
    transition: width 0.4s ease;
}

.quiz-step {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.65rem;
}

.quiz-question h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.quiz-option {
    text-align: left;
    padding: 0.9rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    background: var(--bg-white);
    font-size: 0.95rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.quiz-option:hover {
    border-color: var(--primary);
    background: #fdf8f0;
}

.quiz-option.selected {
    border-color: var(--primary);
    background: #fdf8f0;
    color: var(--primary-dark);
    font-weight: 600;
}

.quiz-score-ring {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;
    margin: 0 auto 1.5rem;
    padding: 0.5rem;
    line-height: 1.2;
}

#quiz-result h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    text-align: center;
}

#quiz-result > p {
    color: var(--text-gray);
    text-align: center;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.quiz-result-breakdown {
    background: var(--bg-light);
    border-left: 4px solid var(--primary);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}

.quiz-breakdown-heading {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--primary);
    margin-bottom: 0.4rem;
    text-align: left;
}

.quiz-breakdown-item {
    font-size: 0.95rem;
    color: var(--text-dark);
    text-align: left;
    margin: 0;
    line-height: 1.6;
}

.quiz-result-cta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    text-align: center;
}

@media (max-width: 480px) {
    .quiz-modal-content {
        padding: 1.5rem;
    }

    .quiz-option {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .method-step-number {
        font-size: 1.75rem;
        min-width: 2.5rem;
    }
}
