/* ===== ROOT VARIABLES ===== */
:root {
    --primary: #FF9D5C;
    --primary-dark: #FF8C3A;
    --secondary: #5ECCC0;
    --secondary-dark: #3DAA9E;
    --accent: #FFB380;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border: #e0e0e0;
    --success: #4CAF50;
    --spacing-unit: 1rem;
    --container-max: 1200px;
}

/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-white);
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

a {
    color: var(--primary);
    text-decoration: none;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 157, 92, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--secondary);
    border: 2px solid var(--secondary);
}

.btn-secondary:hover {
    background: var(--secondary);
    color: white;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* ===== NAVIGATION ===== */
.navbar {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.phone-btn {
    background: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
}

/* ===== STICKY CTA BAR ===== */
.sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    border-top: 1px solid var(--border);
    padding: 0.75rem;
    z-index: 99;
    gap: 0.5rem;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
}

.sticky-cta.active {
    display: flex;
}

.sticky-cta .cta-btn-primary,
.sticky-cta .cta-btn-secondary {
    flex: 1;
    padding: 0.75rem;
    text-align: center;
    border-radius: 0.5rem;
    font-weight: 600;
    color: white;
}

.sticky-cta .cta-btn-primary {
    background: var(--primary);
}

.sticky-cta .cta-btn-secondary {
    background: var(--secondary);
}

/* ===== HERO SECTION ===== */
.hero {
    padding: 4rem var(--spacing-unit);
    background: linear-gradient(135deg, #FFF5F0 0%, #F0FFFE 100%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.hero-content h1 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.hero-subheading {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.pre-headline {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

/* Trust Badges */
.trust-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.badge {
    background: white;
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: center;
    border: 1px solid var(--border);
}

.badge-icon {
    font-size: 1.5rem;
    color: var(--success);
    display: block;
    margin-bottom: 0.5rem;
}

.badge small {
    display: block;
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

/* BCBA Card */
.bcba-card {
    background: white;
    border: 2px solid var(--primary);
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin: 2rem 0;
}

.bcba-header h3 {
    color: var(--primary);
}

.bcba-quote {
    font-style: italic;
    color: var(--text-light);
    margin-top: 1rem;
}

/* Hero CTAs */
.hero-ctas {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.hero-ctas .btn {
    flex: 1;
    min-width: 200px;
}

/* Floating Badges */
.floating-badges {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.floating-badge {
    background: rgba(255, 157, 92, 0.1);
    padding: 0.75rem 1.25rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 600;
}

/* Hero Visual */
.hero-visual {
    display: none;
}

.hero-placeholder {
    height: 400px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
}

/* ===== QUIZ SECTION ===== */
.quiz-section {
    padding: 4rem var(--spacing-unit);
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    color: var(--primary);
}

.quiz-container {
    max-width: 600px;
    margin: 0 auto;
}

.quiz-question {
    display: none;
    animation: fadeIn 0.3s ease;
}

.quiz-question.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.quiz-question h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.option {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 2px solid var(--border);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.option:hover {
    border-color: var(--secondary);
    background: rgba(94, 204, 192, 0.05);
}

.option input[type="radio"] {
    margin-right: 1rem;
    cursor: pointer;
    width: 20px;
    height: 20px;
}

.option input[type="radio"]:checked + span {
    color: var(--secondary);
    font-weight: 600;
}

.quiz-nav {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

#quizNext {
    min-width: 150px;
}

/* Form Container */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    animation: fadeIn 0.3s ease;
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.lead-form {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 157, 92, 0.1);
}

.form-group button {
    width: 100%;
}

.form-trust {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

.form-trust p {
    font-size: 0.875rem;
    color: var(--text-light);
    margin: 0.5rem 0;
}

/* ===== SECTION LABELS & HEADERS ===== */
.section-label {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.section-subheading {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* ===== INSURANCE SECTION ===== */
.insurance-section {
    padding: 4rem var(--spacing-unit);
}

.insurance-section h2 {
    text-align: center;
    color: var(--primary);
}

.insurance-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.logo-card {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 0.5rem;
    text-align: center;
    border: 2px solid var(--border);
}

.insurance-cta {
    text-align: center;
    font-weight: 600;
    margin-top: 2rem;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
    padding: 4rem var(--spacing-unit);
    background: var(--bg-light);
}

.how-it-works h2 {
    text-align: center;
    color: var(--primary);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.step {
    text-align: center;
}

.step-number {
    display: inline-block;
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.step h3 {
    color: var(--text-dark);
}

.steps-footer {
    text-align: center;
    font-weight: 600;
    margin-top: 2rem;
}

/* ===== REVIEWS SECTION ===== */
.reviews-section {
    padding: 4rem var(--spacing-unit);
}

.reviews-section h2 {
    text-align: center;
    color: var(--primary);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.review-card {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.stars {
    color: var(--primary);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.review-text {
    font-style: italic;
    margin-bottom: 1rem;
}

.review-author {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 600;
}

/* ===== DIFFERENTIATORS ===== */
.differentiators {
    padding: 4rem var(--spacing-unit);
    background: linear-gradient(135deg, rgba(94, 204, 192, 0.05) 0%, rgba(255, 157, 92, 0.05) 100%);
}

.differentiators h2 {
    text-align: center;
    color: var(--primary);
    margin-bottom: 3rem;
}

.diff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.diff-card {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    text-align: center;
    border: 1px solid var(--border);
}

.diff-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.diff-card h3 {
    color: var(--primary);
}

/* ===== WHAT IS ABA ===== */
.what-is-aba {
    padding: 4rem var(--spacing-unit);
    background: var(--bg-light);
}

.what-is-aba h2 {
    color: var(--primary);
    margin-bottom: 2rem;
}

.aba-content {
    max-width: 800px;
    margin: 0 auto;
}

.aba-list {
    list-style: none;
    margin: 2rem 0;
}

.aba-list li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

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

.aba-list strong {
    color: var(--primary);
}

.what-is-aba .btn {
    margin-top: 2rem;
}

/* ===== IN-HOME BENEFITS ===== */
.in-home-benefits {
    padding: 4rem var(--spacing-unit);
}

.in-home-benefits h2 {
    text-align: center;
    color: var(--primary);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.benefit-card {
    background: linear-gradient(135deg, rgba(255, 157, 92, 0.1) 0%, rgba(94, 204, 192, 0.1) 100%);
    padding: 2rem;
    border-radius: 0.75rem;
}

.benefit-card h3 {
    color: var(--primary);
}

.benefits-tagline {
    text-align: center;
    font-weight: 600;
    margin: 2rem 0;
}

/* ===== ABA NEAR YOU ===== */
#aba-near-you {
    padding: 4rem var(--spacing-unit);
    background: var(--bg-light);
    text-align: center;
}

#aba-near-you h2 {
    color: var(--primary);
}

/* ===== DAY IN LIFE ===== */
.day-in-life {
    padding: 4rem var(--spacing-unit);
}

.day-in-life h2 {
    text-align: center;
    color: var(--primary);
    margin-bottom: 2rem;
}

.timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.timeline-item {
    background: white;
    border: 2px solid var(--secondary);
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
}

.timeline-time {
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.timeline-duration {
    font-size: 0.875rem;
    color: var(--text-light);
}

.timeline-note {
    text-align: center;
    margin-top: 1rem;
}

/* ===== YOUR TEAM ===== */
#your-team {
    padding: 4rem var(--spacing-unit);
    background: var(--bg-light);
}

#your-team h2 {
    text-align: center;
    color: var(--primary);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.team-card {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border);
}

.team-card h3 {
    color: var(--primary);
}

/* ===== PROGRAMS BY AGE ===== */
.programs-by-age {
    padding: 4rem var(--spacing-unit);
}

.programs-by-age h2 {
    text-align: center;
    color: var(--primary);
}

.age-programs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.age-card {
    background: linear-gradient(135deg, rgba(94, 204, 192, 0.05) 0%, rgba(255, 157, 92, 0.05) 100%);
    padding: 2rem;
    border-radius: 0.75rem;
    border-left: 4px solid var(--secondary);
}

.age-range {
    font-size: 0.875rem;
    color: var(--secondary);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.age-card h3 {
    color: var(--primary);
}

/* ===== SERVICE AREAS ===== */
#service-areas {
    padding: 4rem var(--spacing-unit);
    background: var(--bg-light);
    text-align: center;
}

#service-areas h2 {
    color: var(--primary);
}

.service-cities {
    font-weight: 600;
    margin: 1.5rem 0;
}

/* ===== FAQ ===== */
.faq-section {
    padding: 4rem var(--spacing-unit);
}

.faq-section h2 {
    text-align: center;
    color: var(--primary);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.faq-item {
    background: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border);
}

.faq-item h3 {
    color: var(--primary);
    margin-bottom: 0.75rem;
}

/* ===== FINAL CTA ===== */
.final-cta {
    padding: 4rem var(--spacing-unit);
    background: linear-gradient(135deg, rgba(255, 157, 92, 0.1) 0%, rgba(94, 204, 192, 0.1) 100%);
    text-align: center;
}

.final-cta h2 {
    color: var(--primary);
}

.final-ctas {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    justify-content: center;
    flex-wrap: wrap;
}

.final-ctas .btn {
    min-width: 250px;
}

.final-trust {
    margin-top: 2rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 2rem var(--spacing-unit);
    text-align: center;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-brand h3 {
    color: var(--primary);
}

.footer-contact a {
    color: var(--primary);
    font-weight: 600;
}

.footer-links a {
    color: var(--accent);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        display: block;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .hero-ctas .btn {
        width: 100%;
    }

    .sticky-cta {
        padding-bottom: 1rem;
    }

    body {
        padding-bottom: 120px;
    }

    .trust-badges {
        grid-template-columns: 1fr;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .final-ctas {
        flex-direction: column;
    }

    .final-ctas .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    h3 {
        font-size: 1.125rem;
    }

    .navbar .container {
        flex-direction: column;
        gap: 0.5rem;
    }

    .phone-btn {
        width: 100%;
        text-align: center;
    }

    section {
        padding: 2rem var(--spacing-unit) !important;
    }

    .insurance-logos {
        grid-template-columns: 1fr;
    }

    .steps-container {
        grid-template-columns: 1fr;
    }
}
