:root {
    /* Theme Tokens - Matching Corporate Identity */
    --bg-color: #FFFBF0;
    /* Cream */
    --text-primary: #1A4D2E;
    /* Forest Green */
    --text-secondary: #5C7A6D;
    /* Muted Green */

    --accent-primary: #1A4D2E;
    /* Green Primary */
    --accent-secondary: #D97706;
    /* Amber Secondary */

    --accent-glow: #FADCA8;
    /* Soft Orange Glow */

    --glass-bg: rgba(255, 255, 255, 0.7);
    /* Light Glass */
    --glass-border: rgba(26, 77, 46, 0.1);
    /* Subtle Green Border */

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        gap: 4rem;
        padding-top: 6rem;
    }

    .hero-content {
        order: 1;
    }

    .hero-visual {
        order: 2;
    }

    .hero-content.right {
        order: 3;
    }

    .hero-sub {
        margin-left: auto;
        margin-right: auto;
    }

    .navbar {
        padding: 1rem;
    }

    .bilingual-split {
        flex-direction: column;
        gap: 4rem;
    }

    .bilingual-split::after {
        display: none;
    }

    .bilingual-split.tight {
        gap: 2rem;
    }
}

/* Ambient Glow Background */
.ambient-glow {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(250, 220, 168, 0.4), transparent 60%),
        radial-gradient(circle at 80% 20%, rgba(217, 119, 6, 0.1), transparent 50%);
    z-index: -1;
    pointer-events: none;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    backdrop-filter: blur(10px);
    z-index: 100;
    background: rgba(255, 251, 240, 0.85);
    /* Light Cream Transparent */
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    margin-left: 2rem;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8rem 2rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
    gap: 2rem;
}

.hero-content {
    flex: 1;
}

.badge {
    background: rgba(26, 77, 46, 0.08);
    color: var(--text-primary);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: inline-block;
}

h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.gradient-text {
    /* Solid Green/Accent for clarity on light bg */
    color: var(--accent-secondary);
    background: none;
    -webkit-text-fill-color: initial;
}

.hero-sub {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

/* Buttons */
.btn-primary {
    background: var(--accent-primary);
    color: #FFFBF0;
    /* Cream text on green button */
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(26, 77, 46, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26, 77, 46, 0.3);
    background: #133A22;
    /* Darker green */
}

.btn-primary.small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-secondary {
    color: var(--accent-primary);
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    font-weight: 500;
    margin-left: 1rem;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

.btn-secondary:hover {
    border-color: var(--accent-primary);
}

/* Hero Visual / Mockup */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 310px;
    height: 620px;
    background: #0F1115;
    /* Keep phone frame dark for contrast */
    border-radius: 50px;
    border: 10px solid #2a2a2a;
    position: relative;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.3), 0 0 120px -30px rgba(26, 77, 46, 0.1);
    overflow: hidden;
}

.screen {
    /* Keep App Dark Mode inside the phone primarily, or switch? 
       Let's switch app to Cream/Light too for consistency with "All pages". 
    */
    background: #FDFDF6;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Mockup Header */
.app-header {
    padding: 2.5rem 1.5rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 10;
    color: #1A1A1A;
}

.back-arrow {
    color: #1A4D2E;
    font-size: 1.2rem;
}

.header-title span:first-child {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: #1A1A1A;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 5px #10b981;
}

.header-actions .icon {
    font-size: 1.1rem;
    cursor: pointer;
    color: #1A4D2E;
}

/* Chat Area */
.chat-area {
    padding: 1.2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.date-divider {
    text-align: center;
    color: #888;
    font-size: 0.7rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.chat-bubble {
    padding: 0.9rem 1.1rem;
    border-radius: 18px;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    max-width: 82%;
    line-height: 1.45;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.chat-bubble.received {
    background: #FFFFFF;
    color: #1A1A1A;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.chat-bubble.sent {
    background: #1A4D2E;
    /* Green bubble */
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.translation-hint {
    font-size: 0.8rem;
    opacity: 0.7;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    /* Darker border for light mode */
    padding-top: 0.4rem;
    margin-top: 0.2rem;
    font-style: italic;
    color: inherit;
}

.chat-bubble.sent .translation-hint {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.system-message {
    text-align: center;
    color: #1A4D2E;
    font-size: 0.7rem;
    margin: 1rem 0 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(26, 77, 46, 0.05);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    align-self: center;
}

/* Controls */
.message-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.speaker-icon {
    font-size: 0.9rem;
    opacity: 0.5;
}

/* Controls - Voice Mode Primary */
.input-area {
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.mic-btn {
    flex: 1;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 28px;
    padding: 1rem 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    gap: 0.3rem;
    height: 90px;
    color: #444;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.mic-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.05);
}

.mic-btn.en {
    color: #1A4D2E;
}

.mic-icon {
    font-size: 1.8rem;
    color: #1A4D2E;
}

/* Mockup Nav */
.app-nav {
    display: flex;
    justify-content: space-between;
    padding: 1rem 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-item {
    font-size: 0.65rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: #888;
}

.nav-item.active {
    color: #1A4D2E;
}

/* Features */
.features {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.bilingual-split {
    display: flex;
    gap: 4rem;
    justify-content: space-between;
    position: relative;
}

/* Vertical Divider for Features Section */
.features .bilingual-split::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 2rem;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(26, 77, 46, 0.1) 20%, rgba(26, 77, 46, 0.1) 80%, transparent);
    transform: translateX(-50%);
}

.bilingual-split.tight {
    gap: 2rem;
    margin-bottom: 2rem;
}

.feature-column {
    flex: 1;
}

.feature-column h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 3rem;
    min-height: 2.5em;
    color: var(--text-primary);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    padding: 2.5rem;
    border-radius: 24px;
    transition: transform 0.3s, background 0.3s;
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-secondary);
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
}

/* Download Section */
.download-section {
    padding: 6rem 2rem;
    text-align: center;
}

.glass-panel {
    max-width: 800px;
    margin: 0 auto;
    background: #FFFFFF;
    padding: 4rem 2rem;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03);
}

.download-section h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.waitlist-content {
    flex: 1;
    text-align: center;
    padding: 0 1rem;
}

.waitlist-content.left {
    border-right: 1px solid rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .waitlist-content.left {
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        padding-bottom: 1rem;
        margin-bottom: 1rem;
    }
}

.download-section p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.waitlist-form {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 500px;
    margin: 0 auto;
}

.glass-input {
    flex: 1;
    min-width: 250px;
    padding: 1rem 1.5rem;
    background: #F8F4E9;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 30px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s, background 0.3s;
}

.glass-input:focus {
    border-color: var(--accent-primary);
    background: #fff;
}

.btn-primary.large {
    font-size: 1.1rem;
    padding: 1rem 2rem;
    border: none;
    cursor: pointer;
}

.form-success {
    margin-top: 1.5rem;
    padding: 2rem;
    background: rgba(26, 77, 46, 0.05);
    border: 1px solid rgba(26, 77, 46, 0.2);
    border-radius: 20px;
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.success-icon {
    font-size: 3rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}