/* =========================
   ROOT / TOKENS (PawCare — Warm Teal)
   ========================= */

:root {
    --bg: #F9F7F4;
    --card: #ffffff;
    --text: #1A2B2E;
    --muted: #6B7B80;
    --accent: #2A9D8F;
    --accent-secondary: #E07A5F;
    --accent-warm: #E8A94B;

    --radius: 14px;

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

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

*,
*::before,
*::after {
    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;
    text-decoration: none;
}

/* =========================
   COMING SOON — HERO
   ========================= */

.coming-soon {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
}

.coming-soon-icon {
    width: 120px;
    height: 120px;
    border-radius: 28px;
    margin-bottom: 32px;
    box-shadow:
        0 12px 40px rgba(42,157,143,0.2),
        0 4px 12px rgba(0,0,0,0.08);
}

.coming-soon h1 {
    font-family: var(--font-title);
    font-size: clamp(2.4rem, 5vw, 3.2rem);
    font-weight: 700;
    margin: 0 0 8px;
    letter-spacing: -0.01em;
}

.coming-soon h1 strong {
    color: var(--accent);
}

.coming-soon .tagline {
    font-size: 1.15rem;
    color: var(--muted);
    margin-bottom: 48px;
    max-width: 460px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 560px;
    width: 100%;
    margin-bottom: 48px;
}

.feature-pill {
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(6px);
    border-radius: var(--radius);
    padding: 20px 24px;
    text-align: left;
}

.feature-pill h3 {
    font-family: var(--font-title);
    font-size: 1.05rem;
    margin: 0 0 4px;
}

.feature-pill p {
    font-size: 0.88rem;
    color: var(--muted);
    margin: 0;
}

.store-badges {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.store-badge img {
    height: 40px;
    width: auto;
    display: block;
}

.store-badge--play {
    height: 40px;
    overflow: hidden;
}

.store-badge--play img {
    height: 62px;
    margin-top: -11px;
}

.store-badge--dimmed {
    opacity: 0.4;
    pointer-events: none;
}

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

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

.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;
}

.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;
}

.privacy-card .highlight {
    color: var(--accent);
    font-weight: 500;
}

/* =========================
   LANDING PAGE
   ========================= */

.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;
}

.feature--reverse {
    direction: rtl;
}
.feature--reverse > * {
    direction: ltr;
}

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

.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 h1 strong,
.feature h2 strong {
    color: var(--accent);
    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;
}

/* Phone frame visuals */
.feature-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-visual .phone-frame {
    position: relative;
    width: 320px;
    border-radius: 40px;
    border: 7px solid #1A2B2E;
    background: #1A2B2E;
    overflow: hidden;
    box-shadow:
        0 20px 60px rgba(26,43,46,0.18),
        0 4px 16px rgba(0,0,0,0.10);
}

.feature-visual .phone-frame::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 22px;
    background: #1A2B2E;
    border-radius: 20px;
    z-index: 2;
}

.feature-visual .phone-frame img {
    display: block;
    width: 100%;
    height: auto;
}

/* Store badges inside hero align left */
.feature .store-badges {
    justify-content: flex-start;
    margin-top: 8px;
}

/* 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(--accent);
    transform: scale(1.6);
}

/* Fixed footer when landing page is active */
body.landing-page .footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    padding: 4px 24px;
    background: transparent;
}

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

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

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

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

@media (max-width: 760px) {

    .coming-soon {
        padding: 100px 20px 60px;
    }

    .coming-soon-icon {
        width: 88px;
        height: 88px;
        border-radius: 22px;
        margin-bottom: 24px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
    }

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

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

    .store-badge img {
        height: 32px;
    }

    .store-badge--play {
        height: 32px;
    }

    .store-badge--play img {
        height: 50px;
        margin-top: -9px;
    }

    .privacy {
        padding: 120px 20px 100px;
    }

    .privacy-card {
        padding: 24px;
    }

    /* Landing — mobile */
    .feature {
        padding: 64px 20px;
        min-height: 100vh;
        text-align: center;
        grid-template-columns: 1fr;
        gap: 24px;
        justify-content: center;
        align-content: center;
    }

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

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

    .feature--reverse {
        direction: ltr;
    }

    .feature-text {
        align-items: center;
        order: 2;
        max-width: 85%;
        margin-left: auto;
        margin-right: auto;
    }

    .feature-visual {
        order: 1;
    }

    .feature--hero .feature-text { order: 1; }
    .feature--hero .feature-visual { order: 2; }

    .feature-visual .phone-frame {
        width: 200px;
        max-width: 200px;
        border-radius: 30px;
        border-width: 5px;
    }

    .feature-visual .phone-frame::before {
        width: 60px;
        height: 16px;
        top: 6px;
    }

    .feature-list {
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
        margin-top: 20px;
        text-align: left;
        font-size: 0.9rem;
    }

    .feature-list li {
        margin-bottom: 8px;
    }

    .feature .store-badges {
        justify-content: center;
        gap: 6px;
        margin-top: 4px;
    }

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

    .feature--hero .feature-list {
        margin-top: 8px;
    }

    .feature--hero .phone-frame {
        width: 160px !important;
        max-width: 160px !important;
    }

    .slide-indicator {
        display: none;
    }
}
