/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color palette inspired by the logo */
    --sage-green: #8FAA9A;
    --sage-green-light: #A8BDB0;
    --sage-green-dark: #6B8A76;
    --warm-beige: #E8D5C6;
    --warm-beige-light: #F2E8DC;
    --warm-beige-dark: #DCC5B3;
    --soft-pink: #E8C5C5;
    --white: #FFFFFF;
    --dark-green: #4A5D52;
    --text-primary: #2D3B33;
    --text-secondary: #5A6B5F;
    --text-light: #8A9B8F;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Layout */
    --max-width: 1200px;
    --border-radius: 12px;
    --border-radius-lg: 16px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--white);
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: var(--font-size-4xl);
}

h2 {
    font-size: var(--font-size-3xl);
}

h3 {
    font-size: var(--font-size-2xl);
}

h4 {
    font-size: var(--font-size-xl);
}

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-secondary);
}

/* Navigation */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(143, 170, 154, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) 0;
    max-width: var(--max-width);
    margin: 0 auto;
    padding-left: var(--spacing-sm);
    padding-right: var(--spacing-sm);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.nav-brand:hover {
    opacity: 0.8;
}

.logo, .footer-logo {
    height: 40px;
    width: auto;
}

.brand-name, .footer-brand-name {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--dark-green);
}

.nav-menu {
    display: flex;
    gap: var(--spacing-lg);
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--sage-green);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--sage-green);
    border-radius: 1px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--dark-green);
    transition: 0.3s;
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-decoration: none;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: var(--font-size-base);
}

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

.btn-primary:hover {
    background-color: var(--sage-green-dark);
    border-color: var(--sage-green-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: var(--sage-green);
    border-color: var(--sage-green);
}

.btn-secondary:hover {
    background-color: var(--sage-green);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: var(--font-size-lg);
}

/* Hero Section */
.hero {
    padding: 120px 0 var(--spacing-2xl);
    background: linear-gradient(135deg, var(--warm-beige-light) 0%, var(--sage-green-light) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.hero-title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.gradient-text {
    background: linear-gradient(135deg, var(--sage-green) 0%, var(--dark-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-xl);
    color: var(--text-secondary);
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.beta-notice {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--text-light);
}

.beta-badge {
    background-color: var(--sage-green);
    color: var(--white);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: var(--font-size-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: linear-gradient(145deg, #f0f0f0, #e6e6e6);
    border-radius: 30px;
    padding: 20px;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background-image: url('attached_assets/onboardingBgImage_1752838021013.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 20px;
}

.phone-wave-visualization {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-wave {
    position: absolute;
    border: 3px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    opacity: 0.7;
    animation: phoneWavePulse 2s infinite;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.phone-wave-1 {
    width: 30px;
    height: 30px;
    animation-delay: 0s;
}

.phone-wave-2 {
    width: 50px;
    height: 50px;
    animation-delay: 0.5s;
}

.phone-wave-3 {
    width: 70px;
    height: 70px;
    animation-delay: 1s;
}

.phone-wave-4 {
    width: 90px;
    height: 90px;
    animation-delay: 1.5s;
}

@keyframes phoneWavePulse {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

/* Features Section */
.features {
    padding: var(--spacing-2xl) 0;
    background-color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.section-description {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-xl);
}

.feature-card {
    background-color: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid rgba(143, 170, 154, 0.1);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--sage-green-light);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--sage-green-light), var(--sage-green));
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    color: var(--white);
}

.feature-title {
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Onboarding Section */
.onboarding {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(135deg, var(--sage-green-light) 0%, var(--warm-beige-light) 100%);
}

.onboarding-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.onboarding-description {
    font-size: var(--font-size-lg);
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
}

.onboarding-features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.onboarding-feature h4 {
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.onboarding-feature p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

.onboarding-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.question-visualization {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.question-circle {
    position: absolute;
    border: 2px solid var(--sage-green);
    border-radius: 50%;
    opacity: 0.8;
    animation: questionPulse 3s infinite;
    background: rgba(143, 170, 154, 0.1);
}

.question-1 {
    width: 40px;
    height: 40px;
    animation-delay: 0s;
}

.question-2 {
    width: 60px;
    height: 60px;
    animation-delay: 0.6s;
}

.question-3 {
    width: 80px;
    height: 80px;
    animation-delay: 1.2s;
}

.question-4 {
    width: 100px;
    height: 100px;
    animation-delay: 1.8s;
}

.question-5 {
    width: 120px;
    height: 120px;
    animation-delay: 2.4s;
}

@keyframes questionPulse {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
    100% {
        transform: scale(0.8);
        opacity: 0.8;
    }
}

/* About Section */
.about {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(135deg, var(--warm-beige-light) 0%, rgba(143, 170, 154, 0.05) 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.about-description {
    font-size: var(--font-size-lg);
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.about-feature h4 {
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.about-feature p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.voice-visualization {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wave {
    position: absolute;
    border: 2px solid var(--sage-green);
    border-radius: 50%;
    opacity: 0.7;
    animation: pulse 2s infinite;
}

.wave-1 {
    width: 60px;
    height: 60px;
    animation-delay: 0s;
}

.wave-2 {
    width: 100px;
    height: 100px;
    animation-delay: 0.5s;
}

.wave-3 {
    width: 140px;
    height: 140px;
    animation-delay: 1s;
}

.wave-4 {
    width: 180px;
    height: 180px;
    animation-delay: 1.5s;
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

/* CTA Section */
.cta {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(135deg, var(--sage-green) 0%, var(--dark-green) 100%);
    color: var(--white);
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--spacing-md);
    color: var(--white);
}

.cta-description {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-xl);
    color: rgba(255, 255, 255, 0.9);
}

.cta .btn-primary {
    background-color: var(--white);
    color: var(--sage-green);
    border-color: var(--white);
}

.cta .btn-primary:hover {
    background-color: var(--warm-beige-light);
    border-color: var(--warm-beige-light);
}

.cta-note {
    margin-top: var(--spacing-md);
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--font-size-sm);
}

/* Footer */
.footer {
    background-color: var(--dark-green);
    color: var(--white);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.footer-brand-name {
    color: var(--white);
}

.footer-links {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-size: var(--font-size-sm);
}

.support-info {
    margin-top: var(--spacing-xs);
}

.support-info a {
    color: var(--warm-beige);
    text-decoration: none;
    transition: color 0.3s ease;
}

.support-info a:hover {
    color: var(--warm-beige-light);
}

/* Legal Pages */
.legal-page {
    padding: 120px 0 var(--spacing-2xl);
    background-color: var(--white);
}

.legal-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.legal-title {
    font-size: var(--font-size-4xl);
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.legal-subtitle {
    color: var(--text-light);
    font-size: var(--font-size-lg);
}

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

.legal-section {
    margin-bottom: var(--spacing-2xl);
}

.legal-section h2 {
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-xs);
    border-bottom: 2px solid var(--sage-green-light);
}

.legal-section h3 {
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    margin-top: var(--spacing-lg);
}

.legal-section ul {
    margin-left: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.legal-section li {
    margin-bottom: var(--spacing-xs);
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: var(--spacing-lg) 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: var(--font-size-3xl);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .phone-mockup {
        width: 250px;
        height: 500px;
    }



    .phone-wave-visualization {
        width: 100px;
        height: 100px;
    }

    .phone-wave-1 {
        width: 25px;
        height: 25px;
    }

    .phone-wave-2 {
        width: 40px;
        height: 40px;
    }

    .phone-wave-3 {
        width: 55px;
        height: 55px;
    }

    .phone-wave-4 {
        width: 70px;
        height: 70px;
    }

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

    .onboarding-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-content {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .legal-title {
        font-size: var(--font-size-3xl);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-xs);
    }

    .hero {
        padding: 100px 0 var(--spacing-xl);
    }

    .hero-title {
        font-size: var(--font-size-2xl);
    }

    .hero-description {
        font-size: var(--font-size-base);
    }

    .section-title {
        font-size: var(--font-size-2xl);
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .feature-card {
        padding: var(--spacing-md);
    }

    .cta-title {
        font-size: var(--font-size-2xl);
    }
}

/* Smooth Animations */
@media (prefers-reduced-motion: no-preference) {
    .feature-card,
    .btn,
    .nav-link {
        transition: all 0.3s ease;
    }

    .hero-content,
    .features-grid,
    .about-content {
        animation: fadeInUp 0.8s ease-out;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
