/* =========================
   ROOT / TOKENS
   ========================= */

:root {
    --bg: #fbf7f1;
    --card: #ffffff;
    --text: #1e1e1e;
    --muted: #666;
    --accent: #d06d4f;

    --radius: 14px;

    --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    --font-title: 'Playfair Display', serif;
}

/* =========================
   RESET / BASE
   ========================= */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
}

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

/* =========================
   TOP NAV
   ========================= */

.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    background: transparent;
    backdrop-filter: blur(8px);
}

.top-nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 14px 28px;
}

.site-title {
    font-family: var(--font-title);
    font-size:1.3rem;
    font-weight: 500;
    color: var(--text);
    letter-spacing: 0.02em;
}

/* =========================
   PAGE WRAPPER
   ========================= */

.landing {
    height: 100vh;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

/* =========================
   FEATURE SECTIONS
   ========================= */

.feature {
    min-height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;

    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Alternate left / right */
.feature--reverse {
    direction: rtl;
}
.feature--reverse > * {
    direction: ltr;
}

/* Hero gets a bit more space */
.feature--hero {
    padding-top: 160px;
}

/* =========================
   TEXT
   ========================= */

.feature h1,
.feature h2 {
    font-family: var(--font-title);
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 0;
}

.feature h1 {
    font-size: clamp(2.6rem, 5vw, 3.2rem);
}

.feature h2 {
    font-size: clamp(2.1rem, 4vw, 2.5rem);
}

.feature strong {
    font-weight: 600;
}

.feature-text {
    display: flex;
    flex-direction: column;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 32px 0 0;
    color: var(--muted);
}

.feature-list li {
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 600;
}

/* =========================
   VISUALS
   ========================= */

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

.feature-visual img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15));
    transform-origin: center;
}

/* Optional slight angle for overview screens */
.feature-visual img.angled {
    transform: rotate(-6deg);
}

/* =========================
   PLAY STORE BUTTON
   ========================= */

.play-button {
    display: inline-block;
    padding: 14px 22px;
    border-radius: 999px;
    background: #000;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    width: fit-content;
}

/* =========================
   REVEAL ANIMATION
   ========================= */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition:
            opacity 0.8s ease,
            transform 0.8s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================
   SLIDE INDICATOR
   ========================= */

.slide-indicator {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 20;
}

.slide-indicator button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.25);
    cursor: pointer;
    transition:
            transform 0.2s ease,
            background 0.2s ease;
}

.slide-indicator button.active {
    background: var(--text);
    transform: scale(1.6);
}

/* =========================
   FOOTER
   ========================= */

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 10;

    text-align: center;
    padding: 2px 24px;
    color: var(--muted);
    font-size: 0.9rem;
}

.footer a {
    color: inherit;
    text-decoration: underline;
    margin-right: 12px;
}

/* =========================
   GOOGLE PLAY BADGE
   ========================= */

.play-badge {
    display: inline-block;
}

.play-badge img {
    height: 80px;
    width: auto;
}

/* =========================
   PRIVACY PAGE
   ========================= */

.privacy {
    max-width: 820px;
    margin: 0 auto;
    padding: 160px 24px 120px;
}

/* Hero */
.privacy-hero {
    text-align: center;
    margin-bottom: 64px;
}

.privacy-hero h1 {
    font-family: var(--font-title);
    font-size: clamp(2.2rem, 5vw, 2.8rem);
    margin: 0;
}

.privacy-hero .subtitle {
    margin-top: 12px;
    color: var(--muted);
    font-size: 1.1rem;
}

/* Cards */
.privacy-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(6px);
    border-radius: var(--radius);
    padding: 32px;
    margin-bottom: 24px;
}

.privacy-card h2 {
    font-family: var(--font-title);
    font-size: 1.4rem;
    margin-top: 0;
    margin-bottom: 12px;
}

.privacy-card p {
    margin: 0 0 12px;
    color: var(--text);
}

.privacy-card p:last-child {
    margin-bottom: 0;
}

.privacy-card a {
    color: var(--text);
    text-decoration: underline;
}

/* Mobile */
@media (max-width: 760px) {
    .privacy {
        padding: 120px 20px 100px;
    }

    .privacy-card {
        padding: 24px;
    }
}


/* =========================
   MOBILE
   ========================= */

@media (max-width: 760px) {

    .feature h1 {
        font-size: clamp(1.8rem, 5vw, 3.2rem);
    }

    .feature h2 {
        font-size: clamp(1.6rem, 4vw, 2.5rem);
    }

    .landing {
        scroll-snap-type: y proximity;
    }

    .feature {
        padding: 64px 20px;
        min-height: 100vh;
        text-align: center;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .feature-visual img {
        max-width: 80%;
    }

    .feature--reverse {
        direction: ltr;
    }

    .feature-text {
        align-items: center;
    }

    .feature-list {
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
        text-align: left;
    }

    .slide-indicator {
        display: none;
    }

    .feature--hero {
        padding-top: 80px;
    }

    .site-title {
        font-size: 1rem;
    }

    .top-nav-inner {
        padding: 12px 20px;
    }

    .play-badge img {
        height: 48px;
    }
}
