﻿:root {
    /* PRIMARY - Warm energetic orange (caring action, not medical alarm) */
    --primary-warm: #FF6B35; /* Saturated warm orange */
    --primary-deep: #E85A28; /* Deeper for hover */
    /* AUTHORITY - Deep navy (trustworthy, not corporate blue) */
    --authority-navy: #1B1F3B; /* Dark navy with warmth */
    --authority-slate: #2D3250; /* Slate navy */
    /* BACKGROUNDS - Warm cream (home, not hospital) */
    --bg-white: #FFFFFF;
    --bg-cream: #FFF9F3; /* Warm peachy cream like HeyAto */
    /* ACCENTS - Keep it minimal */
    --accent-peach: #FFE8D9; /* Soft warm peach */
    --accent-mist: #F0F4F8; /* Barely-there cool accent */
    /* TEXT - High contrast darks */
    --text-dark: #1B1F3B; /* Match authority navy */
    --text-mid: #3E4454; /* Warm dark grey */
    --text-light: #6B7280; /* Medium grey */
    /* SEMANTIC - Keep orange family */
    --alert-red: #E85A28; /* Use primary-deep for consistency */
    --warning-amber: #FFA94D; /* Lighter warm amber */
    --success-green: #34D399; /* Fresh green */
    /* Legacy aliases for compatibility */
    --secondary-trust: #2D3250;
    --secondary-light: #4A90E2;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text-mid);
    background: var(--bg-cream);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
header {
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 2px solid var(--accent-peach);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Quicksand', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-warm);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-emoji {
    font-size: 2rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

    .nav-links a {
        color: var(--text-mid);
        text-decoration: none;
        font-weight: 500;
        transition: color 0.3s;
    }

        .nav-links a:hover {
            color: var(--authority-navy);
        }

.cta-button {
    background: var(--primary-warm);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

    .cta-button:hover {
        background: var(--primary-deep);
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(255, 107, 53, 0.4);
    }

/* Hero Section */
.hero {
    padding: 4rem 0;
    background: white;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.hero-text h1 {
    font-family: 'Quicksand', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--authority-navy);
    margin-bottom: 1.5rem;
}

.hero-explainer {
    font-size: 1.2rem;
    color: var(--text-mid);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.hero-differentiator {
    font-size: 1.05rem;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 2rem;
    padding-left: 1rem;
    border-left: 4px solid var(--primary-warm);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

    .hero-buttons .primary {
        background: var(--primary-warm);
        color: white;
        padding: 1rem 2rem;
        border-radius: 8px;
        text-decoration: none;
        font-weight: 600;
        font-size: 1.1rem;
        transition: all 0.3s;
        box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
    }

        .hero-buttons .primary:hover {
            background: var(--primary-deep);
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(255, 107, 53, 0.4);
        }

    .hero-buttons .secondary {
        background: transparent;
        color: var(--authority-navy);
        padding: 1rem 2rem;
        border: 2px solid var(--authority-navy);
        border-radius: 8px;
        text-decoration: none;
        font-weight: 600;
        font-size: 1.1rem;
        transition: all 0.3s;
    }

        .hero-buttons .secondary:hover {
            background: var(--authority-navy);
            color: white;
        }

.trust-badges {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-mid);
}

.badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--success-green);
    color: white;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: bold;
}

/* Hero Visual - WhatsApp Mockup */
.hero-visual {
    position: relative;
}

.phone-mockup {
    background: white;
    border: 3px solid var(--authority-navy);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(27, 31, 59, 0.2);
}

.phone-header {
    background: var(--authority-navy);
    color: white;
    padding: 1rem;
    font-weight: 600;
    text-align: center;
}

.chat-preview {
    padding: 1.5rem;
    background: #ECE5DD;
    min-height: 400px;
}

.message {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    align-items: flex-end;
}

    .message.maggi {
        justify-content: flex-start;
    }

    .message.user {
        justify-content: flex-end;
    }

.message-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--authority-navy);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.message.user .message-avatar {
    background: var(--text-light);
}

.message-bubble {
    background: white;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    max-width: 75%;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.message.user .message-bubble {
    background: #DCF8C6;
}

.message-sender {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--authority-navy);
    margin-bottom: 0.25rem;
}

.message-text {
    font-size: 0.95rem;
    color: var(--text-mid);
    line-height: 1.4;
}

.message-time {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 0.25rem;
    text-align: right;
}

.message-buttons {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
    flex-wrap: wrap;
}

.msg-btn {
    background: var(--authority-navy);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

    .msg-btn:hover {
        background: var(--authority-slate);
    }

.alert-card {
    margin-top: 1.5rem;
    background: white;
    border: 2px solid var(--alert-red);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(232, 90, 40, 0.2);
}

.alert-header {
    background: var(--alert-red);
    color: white;
    padding: 0.75rem 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.alert-icon {
    font-size: 1.2rem;
}

.alert-body {
    padding: 1rem;
}

    .alert-body strong {
        display: block;
        color: var(--alert-red);
        margin-bottom: 0.5rem;
    }

    .alert-body p {
        font-size: 0.9rem;
        color: var(--text-mid);
        line-height: 1.6;
    }

/* Problem Statement Section */
.problem-statement {
    padding: 4rem 0;
    background: var(--accent-mist);
}

.problem-content h2 {
    font-family: 'Quicksand', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--authority-navy);
    text-align: center;
    margin-bottom: 3rem;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.problem-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 2px solid var(--authority-navy);
}

.problem-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.problem-card h3 {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.problem-card p {
    color: var(--text-mid);
    font-style: italic;
    line-height: 1.6;
}

/* How It Works */
.how-it-works {
    padding: 5rem 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

    .section-header h2 {
        font-family: 'Quicksand', sans-serif;
        font-size: 2.5rem;
        font-weight: 700;
        color: var(--authority-navy);
        margin-bottom: 1rem;
    }

    .section-header p {
        font-size: 1.2rem;
        color: var(--text-mid);
    }

.steps-visual {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 4rem;
}

.step-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-cream);
    border-radius: 12px;
    border: 2px solid var(--authority-navy);
    position: relative;
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--primary-warm);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.step-visual {
    margin: 1.5rem 0 1rem;
}

.step-icon {
    font-size: 3rem;
}

.step-item h3 {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.step-item p {
    color: var(--text-mid);
    line-height: 1.6;
}

.step-arrow {
    font-size: 2rem;
    color: var(--authority-navy);
    font-weight: bold;
}

.escalation-example {
    background: var(--accent-peach);
    padding: 2.5rem;
    border-radius: 12px;
    border: 2px solid var(--alert-red);
}

    .escalation-example h3 {
        font-family: 'Quicksand', sans-serif;
        font-size: 1.5rem;
        color: var(--authority-navy);
        margin-bottom: 2rem;
        text-align: center;
    }

.timeline {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.timeline-point {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 1.5rem;
    align-items: center;
}

.time {
    font-weight: 600;
    color: var(--text-dark);
    text-align: right;
}

.event {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: white;
    border-radius: 8px;
    border-left: 4px solid var(--text-light);
}

    .event.success {
        border-left-color: var(--success-green);
    }

    .event.warning {
        border-left-color: var(--warning-amber);
    }

    .event.alert {
        border-left-color: var(--alert-red);
        background: white;
        box-shadow: 0 4px 12px rgba(232, 90, 40, 0.2);
    }

.event-icon {
    font-size: 1.5rem;
}

.event span:last-child {
    color: var(--text-mid);
}

/* Detection Signals */
.detection-signals {
    padding: 5rem 0;
    background: var(--bg-cream);
}

.signals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.signal-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--authority-navy);
}

.signal-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

    .signal-icon.critical {
        color: var(--alert-red);
    }

    .signal-icon.high {
        color: var(--warning-amber);
    }

    .signal-icon.medium {
        color: var(--authority-slate);
    }

.signal-card h3 {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.signal-card ul {
    list-style: none;
    padding: 0;
}

.signal-card li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    color: var(--text-mid);
    position: relative;
    line-height: 1.5;
}

    .signal-card li::before {
        content: '•';
        position: absolute;
        left: 0;
        color: var(--primary-warm);
        font-weight: bold;
        font-size: 1.2rem;
    }

/* Consent Feature */
.consent-feature {
    padding: 5rem 0;
    background: white;
}

.consent-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.feature-label {
    display: inline-block;
    background: var(--authority-navy);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.consent-text h2 {
    font-family: 'Quicksand', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--authority-navy);
    margin-bottom: 1.5rem;
}

.consent-text p {
    font-size: 1.1rem;
    color: var(--text-mid);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.consent-how h3,
.consent-benefits h3 {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.3rem;
    color: var(--text-dark);
    margin: 2rem 0 1rem;
}

.consent-flow {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 2rem;
}

.flow-step {
    flex: 1;
    background: var(--bg-cream);
    padding: 1.5rem;
    border-radius: 8px;
    border: 2px solid var(--authority-navy);
}

.flow-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.flow-step p {
    font-size: 0.95rem;
    margin: 0;
}

.flow-arrow {
    font-size: 2rem;
    color: var(--authority-navy);
    font-weight: bold;
}

.consent-list {
    list-style: none;
    padding: 0;
}

    .consent-list li {
        padding: 0.75rem 0 0.75rem 2rem;
        position: relative;
        line-height: 1.6;
    }

        .consent-list li::before {
            content: '✓';
            position: absolute;
            left: 0;
            background: var(--success-green);
            color: white;
            width: 24px;
            height: 24px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 0.85rem;
        }

.consent-visual {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(27, 31, 59, 0.15);
}

.settings-panel {
    border: 2px solid var(--authority-navy);
    border-radius: 12px;
    overflow: hidden;
}

.settings-header {
    background: var(--authority-navy);
    color: white;
    padding: 1rem 1.5rem;
    font-weight: 600;
}

.settings-item {
    padding: 1.5rem;
    border-bottom: 1px solid var(--bg-cream);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .settings-item:last-child {
        border-bottom: none;
    }

.settings-label {
    font-weight: 600;
    color: var(--text-dark);
}

.settings-sublabel {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

.toggle-option {
    font-size: 0.9rem;
    color: var(--text-mid);
    font-weight: 600;
    padding: 0.5rem 1rem;
    background: var(--bg-cream);
    border-radius: 20px;
}

    .toggle-option.active {
        background: var(--success-green);
        color: white;
    }

/* Day One */
.day-one {
    padding: 5rem 0;
    background: var(--bg-cream);
}

.day-one-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.step-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    position: relative;
    border: 2px solid var(--authority-navy);
}

.step-time {
    display: inline-block;
    background: var(--success-green);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.day-one-cta {
    text-align: center;
    padding: 2.5rem;
    background: white;
    border-radius: 12px;
    border: 2px solid var(--primary-warm);
}

    .day-one-cta p {
        font-size: 1.15rem;
        color: var(--text-mid);
        margin-bottom: 1.5rem;
    }

    .day-one-cta strong {
        color: var(--authority-navy);
    }

/* Testimonials */
.testimonials {
    padding: 5rem 0;
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--bg-cream);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--authority-navy);
}

.testimonial-before,
.testimonial-after {
    margin-bottom: 1.5rem;
}

.before-icon,
.after-icon {
    font-size: 2rem;
    margin-right: 0.5rem;
}

.before-text,
.after-text {
    color: var(--text-mid);
    line-height: 1.6;
    margin-top: 0.5rem;
}

    .before-text strong,
    .after-text strong {
        color: var(--text-dark);
    }

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 2px solid white;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--authority-navy);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 600;
}

.author-info h4 {
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.author-info p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* FAQ */
.faq {
    padding: 5rem 0;
    background: var(--bg-cream);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--authority-navy);
}

    .faq-item h3 {
        font-family: 'Quicksand', sans-serif;
        font-size: 1.2rem;
        color: var(--text-dark);
        margin-bottom: 0.75rem;
    }

    .faq-item p {
        color: var(--text-mid);
        line-height: 1.7;
    }

/* Final CTA */
.final-cta {
    padding: 5rem 0;
    background: var(--primary-warm);
    color: white;
    text-align: center;
}

    .final-cta h2 {
        font-family: 'Quicksand', sans-serif;
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 1rem;
    }

    .final-cta p {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }

    .final-cta .cta-button {
        background: white;
        color: var(--primary-warm);
        font-size: 1.1rem;
        padding: 1rem 2.5rem;
        box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    }

        .final-cta .cta-button:hover {
            background: var(--bg-cream);
            transform: translateY(-3px);
        }

.cta-details {
    margin: 2rem 0 1rem;
}

    .cta-details p {
        font-size: 1rem;
        margin: 0.5rem 0;
    }

.pricing-note {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Footer */
footer {
    background: var(--authority-navy);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.footer-links h4 {
    font-family: 'Quicksand', sans-serif;
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

    .footer-links a:hover {
        color: white;
    }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive */
@media (max-width: 968px) {
    .hero-content,
    .consent-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .problem-grid,
    .signals-grid,
    .day-one-steps,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .steps-visual {
        grid-template-columns: 1fr;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .nav-links {
        display: none;
    }

    .consent-flow {
        flex-direction: column;
    }

    .flow-arrow {
        transform: rotate(90deg);
    }
}

/* Scroll reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }
