/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-color: #202020;
    --text-color: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.6);
    --accent-color: #defb00;
    --border-color: rgba(255, 255, 255, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Landing page with background image */
body.landing-page {
    background-image: url('https://eca1.b-cdn.net/TOKI/Generated%20Image%20December%2012%2C%202025%20-%207_45PM.jpeg');
    background-size: cover;
    background-position: left center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(32, 32, 32, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

body.landing-page .nav {
    background-color: rgba(0, 0, 0, 0.3);
    border-bottom: none;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

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

/* Hero section */
.hero {
    height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 10rem 2rem 6rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.hero-content {
    max-width: 450px;
    padding: 3rem;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    margin-right: 5%;
}

.hero-logo {
    height: 36px;
    margin-bottom: 1rem;
}

.tagline {
    font-size: 1.4rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.app-store-button img {
    height: 50px;
    transition: transform 0.2s;
}

.app-store-button:hover img {
    transform: scale(1.05);
}

/* Voice sample bubbles */
.voice-bubbles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: 10;
}

.bubble {
    position: absolute;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.bubble-cyan {
    background: #00d4ff;
    color: #000;
}

.bubble-green {
    background: #c8ff00;
    color: #000;
}

/* Position bubbles on left side of screen */
.bubble-1 {
    top: 15%;
    left: 5%;
}

.bubble-2 {
    top: 12%;
    left: 45%;
}

.bubble-3 {
    top: 40%;
    left: 8%;
}

.bubble-4 {
    top: 55%;
    left: 35%;
}

/* Ground footer with scrolling grass and animations */
.ground-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    pointer-events: none;
    z-index: 20;
}

.ground-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: #2a2a2a;
}

.scrolling-grass {
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 200%;
    height: 20px;
    overflow: visible;
    animation: scrollGrass 50s linear infinite;
}

.grass-row {
    width: 100%;
    height: 100%;
    position: relative;
}

/* Natural grass blades with angles - very uneven spacing */
.grass-row::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1800 20'%3E%3Cpath d='M20,20 L18,8 M23,20 L25,11 M26,20 L25,14 M280,20 L282,7 M283,20 L281,12 M650,20 L648,9 M653,20 L656,13 M900,20 L898,6 M1150,20 L1152,10 M1153,20 L1150,14 M1500,20 L1498,8 M1503,20 L1506,12 M1505,20 L1504,15' stroke='%23404040' stroke-width='1' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-size: 1800px 100%;
    background-position: bottom;
}

@keyframes scrollGrass {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.lottie-goose {
    position: absolute;
    bottom: 40px;
    left: 20%;
}

.lottie-balloon {
    position: absolute;
    bottom: 40px;
    left: 80%;
    transform: translateX(-50%);
}

/* Page content (About, Privacy, Terms) */
.page-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 8rem 2rem 4rem;
    flex: 1;
}

.page-content h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.last-updated {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.page-content section {
    margin-bottom: 2.5rem;
}

.page-content h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    padding-top: 1rem;
}

.page-content h3 {
    font-size: 1.15rem;
    margin: 1.5rem 0 0.75rem;
    color: var(--text-color);
}

.page-content p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.page-content ul {
    color: var(--text-muted);
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.page-content li {
    margin-bottom: 0.5rem;
}

.page-content strong {
    color: var(--text-color);
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--border-color);
    padding: 2rem;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

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

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .hero {
        justify-content: center;
    }

    .hero-content {
        margin-right: 0;
    }
}

/* Responsive - Mobile (Portrait) */
@media (max-width: 768px) {
    body.landing-page {
        background-position: 25% center;
    }

    .hero {
        align-items: flex-start;
        justify-content: center;
        padding-top: 7rem;
        padding-bottom: 6rem;
    }

    .hero-content {
        max-width: 100%;
        margin: 0 1rem;
        padding: 2rem;
        background: rgba(0, 0, 0, 0.7);
    }

    .hero-logo {
        height: 32px;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .description {
        font-size: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .nav-links a {
        font-size: 0.85rem;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    /* Reposition bubbles on mobile */
    .voice-bubbles {
        display: block;
    }

    .bubble {
        font-size: 0.85rem;
        padding: 8px 12px;
    }

    .bubble-1 {
        top: auto;
        bottom: 18%;
        left: 5%;
    }

    .bubble-2 {
        top: auto;
        bottom: 28%;
        left: auto;
        right: 5%;
    }

    .bubble-3 {
        top: auto;
        bottom: 8%;
        left: auto;
        right: 25%;
    }

    .bubble-4 {
        top: auto;
        bottom: 38%;
        left: 8%;
    }

    .lottie-goose {
        left: 10%;
    }

    .lottie-balloon {
        left: 80%;
    }
}

/* Responsive - Small Mobile */
@media (max-width: 480px) {
    body.landing-page {
        background-position: 20% center;
    }

    .hero-content {
        padding: 1.5rem;
    }

    .hero-logo {
        height: 28px;
    }

    .tagline {
        font-size: 1.1rem;
    }

    .nav-container {
        padding: 0.75rem 1rem;
    }

    .nav-links {
        gap: 0.75rem;
    }

    .nav-links a {
        font-size: 0.8rem;
    }
}
