/* =========================================================
   FURVIA - Landing Page Styles
   Vanilla CSS, mobile-first, no framework
   ========================================================= */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html {
    scroll-padding-top: 88px;
    -webkit-text-size-adjust: 100%;
}
section[id] {
    scroll-margin-top: 90px;
}
body {
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
ul { list-style: none; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; }

/* ---------- Tokens ---------- */
:root {
    --brand: #6B3EFF;
    --brand-2: #7C3AED;
    --brand-dark: #4F1FD9;
    --brand-soft: #F1ECFF;
    --brand-softer: #F7F4FF;
    --accent: #2DD4D4;
    --accent-deep: #16BFB8;

    --ink: #0E1116;
    --ink-2: #1B1F2A;
    --muted: #5B6370;
    --muted-2: #8A92A0;
    --line: #ECEEF2;
    --bg: #FFFFFF;
    --bg-soft: #FAFAFC;
    --card: #FFFFFF;

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-pill: 999px;

    --shadow-sm: 0 1px 2px rgba(20, 12, 50, 0.06);
    --shadow: 0 8px 24px rgba(31, 18, 87, 0.08);
    --shadow-lg: 0 24px 60px rgba(40, 18, 110, 0.18);
    --shadow-phone: 0 30px 60px rgba(40, 18, 110, 0.25);

    --container: 1200px;
}

/* ---------- Layout ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Paw Watermark (decorative background) ---------- */
.paw-watermark {
    position: absolute;
    top: 18%;
    right: 4%;
    width: 90px;
    height: 90px;
    pointer-events: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80' fill='%23E9E0FF'><circle cx='20' cy='22' r='6'/><circle cx='40' cy='14' r='6'/><circle cx='60' cy='22' r='6'/><circle cx='14' cy='40' r='5'/><circle cx='66' cy='40' r='5'/><path d='M40 38c-9 0-16 7-16 15 0 6 4 10 10 10 2 0 4-1 6-1s4 1 6 1c6 0 10-4 10-10 0-8-7-15-16-15z'/></svg>");
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.7;
    z-index: 0;
}
.paw-watermark--right {
    top: 12%;
    right: 38%;
    width: 80px;
    height: 80px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    font-weight: 600;
    font-size: 14.5px;
    border-radius: var(--radius);
    transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease, border-color .2s ease;
    white-space: nowrap;
    line-height: 1;
}
.btn-pill { border-radius: var(--radius-pill); }
.btn-lg { padding: 15px 28px; font-size: 15px; }

.btn-primary {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 8px 22px rgba(107, 62, 255, 0.30);
}
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); }

.btn-outline {
    background: transparent;
    color: var(--brand);
    border: 2px solid var(--brand);
}
.btn-outline:hover { background: var(--brand-soft); }

.btn-white {
    background: #fff;
    color: var(--brand);
}
.btn-white:hover { background: #F4F0FF; }

.btn-ghost-white {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.7);
}
.btn-ghost-white:hover { background: rgba(255,255,255,0.12); }

/* ---------- Eyebrow Pill ---------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--brand-soft);
    color: var(--brand);
    font-weight: 600;
    font-size: 13px;
    border-radius: var(--radius-pill);
}
.eyebrow svg { color: var(--brand); }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(140%) blur(10px);
    -webkit-backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid var(--line);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    height: 78px;
}
.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--brand);
}
.logo-mark {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.logo-mark svg { width: 100%; height: 100%; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-name { font-weight: 900; font-size: 20px; color: var(--brand); letter-spacing: 0.02em; }
.logo-tag { font-size: 8.5px; font-weight: 700; letter-spacing: 0.18em; color: var(--muted-2); }

.primary-nav ul {
    display: flex;
    align-items: center;
    gap: 36px;
}
.nav-link {
    font-size: 14.5px;
    font-weight: 500;
    color: var(--ink-2);
    transition: color .15s;
    position: relative;
    padding: 6px 0;
}
.nav-link:hover { color: var(--brand); }
.nav-link.active { color: var(--brand); font-weight: 600; }
.nav-link.active::after,
.nav-link.is-active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--brand);
    border-radius: 2px;
    transform: scaleX(1);
    transition: transform 0.25s ease;
}
.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--brand);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.25s ease;
}
.nav-link:hover::after { transform: scaleX(1); }

.header-cta { padding: 12px 26px; font-size: 14.5px; }

/* Mobile nav toggle (hidden on desktop) */
.nav-toggle { display: none; }
.nav-toggle-btn {
    display: none;
    width: 32px;
    height: 32px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
}
.nav-toggle-btn span {
    display: block;
    height: 2.5px;
    border-radius: 2px;
    background: var(--ink);
    transition: transform .25s ease, opacity .25s ease;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
    position: relative;
    padding: 30px 0 40px;
    overflow: visible;
}
.hero .paw-watermark {
    top: 20%;
    right: 50%;
    transform: translateX(50%);
    width: 120px;
    height: 120px;
    opacity: 0.35;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 30px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero-copy { max-width: 540px; }
.hero-title {
    font-size: clamp(38px, 5vw, 58px);
    font-weight: 800;
    margin: 18px 0 18px;
    color: var(--ink);
    line-height: 1.05;
}
.text-brand { color: var(--brand); }
.text-cyan { color: var(--accent); }
.hero-sub {
    color: var(--muted);
    font-size: 16px;
    max-width: 460px;
    margin-bottom: 28px;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 36px;
}

/* Social proof - paw icon avatars (no stock photos) */
.social-proof {
    display: flex;
    align-items: center;
    gap: 16px;
}
.avatars {
    display: inline-flex;
}
.avatars--icons .paw-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 3px solid #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}
.avatars--icons .paw-avatar + .paw-avatar { margin-left: -14px; }
.paw-avatar--1 { background: linear-gradient(135deg, #EDE5FF, #C8B6FF); color: #6B3EFF; }
.paw-avatar--2 { background: linear-gradient(135deg, #FFE5F0, #FFB1C8); color: #D63A82; }
.paw-avatar--3 { background: linear-gradient(135deg, #D5F5F5, #8FE5E0); color: #16BFB8; }
.proof-text { display: flex; flex-direction: column; }
.proof-text strong { font-size: 18px; font-weight: 800; color: var(--ink); }
.proof-text span { font-size: 13px; color: var(--muted); }

/* Hero visual */
.hero-visual {
    position: relative;
    min-height: 460px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    overflow: visible;
}
.hero-blob {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-58%);
    width: 380px;
    height: 380px;
    background: radial-gradient(circle at 30% 25%, #C5AFFF 0%, #9173FF 55%, #6B3EFF 100%);
    border-radius: 50%;
    z-index: 0;
    box-shadow: 0 30px 60px rgba(80, 30, 200, 0.18);
}
.hero-blob::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80' fill='%23ffffff' opacity='0.18'><circle cx='20' cy='22' r='5'/><circle cx='40' cy='14' r='5'/><circle cx='60' cy='22' r='5'/><circle cx='14' cy='40' r='4'/><circle cx='66' cy='40' r='4'/><path d='M40 38c-9 0-16 7-16 15 0 6 4 10 10 10 2 0 4-1 6-1s4 1 6 1c6 0 10-4 10-10 0-8-7-15-16-15z'/></svg>");
    background-repeat: no-repeat;
    background-position: center 60%;
    background-size: 40%;
    border-radius: 50%;
    opacity: 0.4;
}
.hero-dog {
    position: relative;
    z-index: 1;
    width: 70%;
    max-width: 360px;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
    display: block;
    filter: drop-shadow(0 24px 28px rgba(80, 30, 200, 0.28));
    background: transparent;
}

/* =========================================================
   PHONE MOCKUP (shared shell + screenshot image)
   ========================================================= */
.phone {
    position: relative;
    background: #0E1116;
    border-radius: 36px;
    padding: 7px;
    box-shadow: var(--shadow-phone);
}
.phone-notch {
    position: absolute;
    top: 7px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 20px;
    background: #0E1116;
    border-radius: 0 0 12px 12px;
    z-index: 4;
}
.phone-screen {
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}
/* Screen variant that holds a real screenshot image */
.phone-screen--shot {
    background: #fff;
    padding: 0;
}
.phone-screen-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    border-radius: 30px;
}

/* Hero phone */
.phone--hero {
    position: absolute;
    right: -10px;
    top: 0;
    width: 248px;
    z-index: 3;
}
.phone--hero .phone-screen--shot {
    min-height: 520px;
}

/* Community collage phones */
.phone--collage {
    width: 100%;
    max-width: 270px;
}
.phone--collage .phone-screen--shot {
    min-height: 460px;
}
.phone--collage-sm {
    max-width: 220px;
}
.phone--collage-sm .phone-screen--shot {
    min-height: 380px;
}

/* Showcase phones (the tilted row) */
.phone--showcase {
    width: 220px;
    margin: 0 auto;
}
.phone--showcase .phone-screen--shot {
    min-height: 420px;
}

/* Pros section phones */
.phone--pros-card {
    width: 100%;
    max-width: 220px;
}
.phone--pros-card .phone-screen--shot {
    min-height: 420px;
}

/* =========================================================
   TRUST STRIP
   ========================================================= */
.trust { padding: 10px 0 30px; }
.trust-card {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px 28px;
    box-shadow: var(--shadow);
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
}
.trust-ico {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--brand-soft);
    color: var(--brand);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.trust-item strong { display: block; font-size: 14.5px; font-weight: 700; color: var(--ink); }
.trust-item span { font-size: 13px; color: var(--muted); }

/* =========================================================
   COMMUNITY SECTION (now using real app screenshots)
   ========================================================= */
.community { padding: 80px 0 60px; position: relative; }
.community-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.section-title {
    font-size: clamp(28px, 3.6vw, 40px);
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 20px;
}
.section-sub {
    color: var(--muted);
    font-size: 15.5px;
    max-width: 440px;
    margin-bottom: 30px;
}
.features {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}
.feature {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    max-width: 230px;
}
.feat-ico {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: var(--brand-soft);
    color: var(--brand);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.feature strong { display: block; font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.feature span { font-size: 12.5px; color: var(--muted); }

/* Collage with real screenshot phones */
.community-collage {
    position: relative;
    min-height: 540px;
    width: 100%;
}

.card-shot {
    position: absolute;
}
.card-shot--main {
    top: 30px;
    left: 0;
    width: auto;
    z-index: 1;
}
.testimonial-bubble {
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(0%);
    background: #fff;
    padding: 10px 14px;
    border-radius: 14px;
    box-shadow: var(--shadow);
    width: 220px;
    z-index: 3;
}
.testimonial-bubble::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 30px;
    width: 16px;
    height: 16px;
    background: #fff;
    transform: rotate(45deg);
    box-shadow: 4px 4px 8px rgba(31, 18, 87, 0.04);
}
.testimonial-bubble strong { font-size: 12px; color: var(--ink); display: block; margin-bottom: 2px; }
.testimonial-bubble p { font-size: 11.5px; color: var(--muted); line-height: 1.35; }

.card-shot--secondary {
    bottom: 0;
    right: 0;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 14px;
    width: 280px;
    z-index: 2;
    display: flex;
    gap: 12px;
    align-items: center;
}
.card-shot--secondary .phone--collage-sm {
    flex-shrink: 0;
    width: 110px;
}
.card-shot--secondary .phone--collage-sm .phone-screen--shot {
    min-height: 200px;
}
.card-shot--secondary figcaption {
    flex: 1;
    min-width: 0;
}
.event-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}
.event-title strong { font-size: 13px; font-weight: 700; color: var(--ink); }
.event-title .heart { color: #E0367C; }
.event-desc {
    font-size: 11.5px;
    color: var(--muted);
    line-height: 1.4;
}

/* =========================================================
   APP SHOWCASE SECTION
   ========================================================= */
.app-showcase {
    padding: 60px 0 70px;
    background: linear-gradient(180deg, #FAFAFC 0%, #F4EFFF 100%);
    position: relative;
    overflow: hidden;
}
.showcase-head {
    text-align: center;
    margin-bottom: 50px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}
.showcase-head .eyebrow { margin-bottom: 16px; }
.showcase-head .section-title { margin-bottom: 14px; }
.showcase-sub { margin: 0 auto; max-width: 520px; }

.showcase-row {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 24px;
    flex-wrap: nowrap;
}
.showcase-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
    transition: transform .25s ease;
}
.showcase-item:hover { transform: translateY(-6px); }
.showcase-item--1 { transform: rotate(-5deg); }
.showcase-item--2 { transform: rotate(-1.5deg) translateY(-12px); }
.showcase-item--3 { transform: rotate(1.5deg) translateY(-12px); }
.showcase-item--4 { transform: rotate(5deg); }
.showcase-item--1:hover { transform: rotate(-5deg) translateY(-6px); }
.showcase-item--2:hover { transform: rotate(-1.5deg) translateY(-18px); }
.showcase-item--3:hover { transform: rotate(1.5deg) translateY(-18px); }
.showcase-item--4:hover { transform: rotate(5deg) translateY(-6px); }
.showcase-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    background: #fff;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--line);
}

/* =========================================================
   PROS SECTION (now using real app screenshots)
   ========================================================= */
.pros { padding: 60px 0 70px; position: relative; }
.pros-grid {
    display: grid;
    grid-template-columns: 0.9fr 2.1fr;
    gap: 40px;
    align-items: center;
}
.pros-copy { align-self: center; }
.pros-copy .eyebrow-pro { margin-bottom: 14px; }
.pros-copy .section-title { font-size: clamp(26px, 2.8vw, 38px); margin-bottom: 16px; }
.pros-copy .section-sub { margin-bottom: 22px; font-size: 14.5px; max-width: 320px; }

.pros-phones {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: end;
    justify-items: center;
}
.phone--pros-card-1 { transform: rotate(-3deg); }
.phone--pros-card-2 { transform: translateY(-16px); }
.phone--pros-card-3 { transform: rotate(3deg); }
.phone-tag {
    position: absolute;
    bottom: -34px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    font-size: 11.5px;
    font-weight: 600;
    color: var(--brand);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--line);
    white-space: nowrap;
}

/* =========================================================
   BOTTOM CTA BANNER
   ========================================================= */
.cta-banner { padding: 50px 0; }
.cta-card {
    background: linear-gradient(115deg, #6B3EFF 0%, #5828E0 55%, #3B14B8 100%);
    border-radius: var(--radius-lg);
    padding: 30px 40px;
    color: #fff;
    display: grid;
    grid-template-columns: 1.2fr 1.4fr auto;
    gap: 30px;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.cta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 50%, rgba(45,212,212,0.12), transparent 50%),
        radial-gradient(circle at 20% 100%, rgba(255,255,255,0.05), transparent 60%);
    pointer-events: none;
}
.cta-text h2 {
    font-size: clamp(22px, 2.4vw, 32px);
    font-weight: 800;
    line-height: 1.15;
    position: relative;
}
.cta-sub {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    line-height: 1.45;
    position: relative;
}
.cta-actions {
    display: flex;
    gap: 12px;
    position: relative;
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
    background: var(--bg-soft);
    border-top: 1px solid var(--line);
    padding: 26px 0;
    margin-top: 20px;
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    color: var(--muted);
    font-size: 13px;
}
.footer-left {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.footer-brand { font-weight: 800; color: var(--ink); font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: var(--muted); transition: color .15s; }
.footer-links a:hover { color: var(--brand); }

/* =========================================================
   LEGAL PAGES (privacy / terms)
   ========================================================= */
.legal-page {
    max-width: 760px;
    margin: 0 auto;
    padding: 60px 24px 80px;
    color: var(--ink-2);
}
.legal-page .crumb {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--brand);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}
.legal-page .crumb:hover { text-decoration: underline; }
.legal-page h1 {
    font-size: clamp(28px, 3.6vw, 42px);
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 8px;
    line-height: 1.15;
}
.legal-page .legal-meta {
    color: var(--muted);
    font-size: 13.5px;
    margin-bottom: 36px;
}
.legal-page h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--ink);
    margin: 36px 0 12px;
    line-height: 1.3;
}
.legal-page h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--ink-2);
    margin: 22px 0 8px;
}
.legal-page p,
.legal-page li {
    font-size: 15px;
    line-height: 1.65;
    color: var(--ink-2);
    margin-bottom: 12px;
}
.legal-page ul {
    list-style: disc;
    padding-left: 22px;
    margin-bottom: 14px;
}
.legal-page ul li { margin-bottom: 6px; }
.legal-page a {
    color: var(--brand);
    text-decoration: underline;
}
.legal-page a:hover { color: var(--brand-dark); }
.legal-page .legal-footer {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    font-size: 13px;
    color: var(--muted);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
    .hero-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .hero-blob { width: 340px; height: 340px; }
    .phone--hero { width: 220px; right: -10px; }
    .phone--hero .phone-screen--shot { min-height: 460px; }

    .community-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .card-shot--main { left: 0; }
    .card-shot--secondary { right: 0; width: 260px; }

    .showcase-row { gap: 14px; }
    .phone--showcase { width: 190px; }
    .phone--showcase .phone-screen--shot { min-height: 360px; }

    .pros-grid { grid-template-columns: 1fr; gap: 30px; }
    .phone--pros-card { max-width: 200px; }
    .phone--pros-card .phone-screen--shot { min-height: 380px; }
}

@media (max-width: 860px) {
    .header-inner { height: 70px; }

    .nav-toggle-btn { display: flex; order: 3; }
    .header-cta { display: none; }
    .primary-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid var(--line);
        max-height: 0;
        overflow: hidden;
        transition: max-height .3s ease;
        box-shadow: var(--shadow);
    }
    .primary-nav ul {
        flex-direction: column;
        align-items: stretch;
        padding: 14px 24px;
        gap: 4px;
    }
    .primary-nav a {
        display: block;
        padding: 12px 4px;
        border-bottom: 1px solid var(--line);
    }
    .nav-toggle:checked ~ .primary-nav { max-height: 360px; }
    .nav-toggle:checked ~ .nav-toggle-btn span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
    .nav-toggle:checked ~ .nav-toggle-btn span:nth-child(2) { opacity: 0; }
    .nav-toggle:checked ~ .nav-toggle-btn span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

    .hero { padding: 30px 0 40px; }
    .hero-grid { grid-template-columns: 1fr; gap: 24px; text-align: left; }
    .hero-copy { max-width: 100%; }
    .hero-visual {
        min-height: auto;
        max-width: 560px;
        margin: 0 auto;
        width: 100%;
        flex-direction: column;
        align-items: center;
        padding-top: 20px;
    }
    .hero-blob { width: 320px; height: 320px; bottom: auto; top: 0; transform: translateX(-50%); }
    .hero-dog { width: 65%; max-width: 300px; margin-bottom: 12px; }
    .phone--hero {
        position: relative;
        right: auto; top: auto;
        margin: -40px auto 0;
        width: 220px;
    }

    .trust-card {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 20px;
    }

    .community { padding: 50px 0 40px; }
    .community-grid { grid-template-columns: 1fr; gap: 40px; }
    .community-collage {
        min-height: auto;
        max-width: 540px;
        margin: 0 auto;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 60px;
    }
    .card-shot { position: relative; top: auto; left: auto; right: auto; bottom: auto; }
    .testimonial-bubble { transform: translateX(0); left: 20%; }
    .card-shot--secondary { width: 100%; max-width: 320px; }

    .app-showcase { padding: 50px 0; }
    .showcase-head { margin-bottom: 30px; }
    .showcase-row {
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: 30px 16px 30px;
        gap: 18px;
        margin: 0 -24px;
    }
    .showcase-item {
        scroll-snap-align: center;
        flex-shrink: 0;
    }
    .showcase-item--1,
    .showcase-item--2,
    .showcase-item--3,
    .showcase-item--4 { transform: none; }
    .phone--showcase { width: 200px; }
    .phone--showcase .phone-screen--shot { min-height: 380px; }

    .pros { padding: 50px 0; }
    .pros-grid { grid-template-columns: 1fr; gap: 30px; }
    .pros-copy { text-align: left; max-width: 100%; }
    .pros-copy .section-sub { max-width: 100%; }
    .pros-phones {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 16px;
        max-width: 500px;
        margin: 0 auto;
    }
    .phone--pros-card-3 {
        grid-column: 1 / -1;
        max-width: 220px;
        justify-self: center;
    }

    .cta-card {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 28px 26px;
        text-align: left;
    }
    .cta-actions { justify-content: flex-start; }

    .footer-inner { gap: 12px; }
}

@media (max-width: 560px) {
    .container { padding: 0 18px; }
    .logo-tag { display: none; }
    .logo-name { font-size: 18px; }

    .hero { padding: 20px 0 30px; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { width: 100%; }
    .hero-visual { min-height: auto; }
    .hero-blob { width: 280px; height: 280px; }
    .hero-dog { width: 75%; max-width: 280px; }
    .phone--hero { width: 220px; }

    .pros-phones { grid-template-columns: 1fr; }
    .phone--pros-card { max-width: 240px; margin: 0 auto; }
    .phone--pros-card-1,
    .phone--pros-card-2,
    .phone--pros-card-3 { transform: none; }

    .footer-inner { flex-direction: column; text-align: center; align-items: flex-start; }
    .footer-links { gap: 12px 18px; }
}

/* =========================================================
   SCROLL REVEAL & MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
    .reveal,
    .reveal-stagger > * {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .hero-dog,
    .phone--hero {
        animation: none !important;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(32px);
        transition:
            opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
            transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .reveal.is-visible {
        opacity: 1;
        transform: translateY(0);
    }
    .reveal-delay-1 { transition-delay: 0.08s; }
    .reveal-delay-2 { transition-delay: 0.16s; }
    .reveal-delay-3 { transition-delay: 0.24s; }

    .reveal-stagger > * {
        opacity: 0;
        transform: translateY(24px);
        transition:
            opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
            transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .reveal-stagger.is-visible > *:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.05s; }
    .reveal-stagger.is-visible > *:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.12s; }
    .reveal-stagger.is-visible > *:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.19s; }

    @keyframes hero-float {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-12px); }
    }
    @keyframes phone-float {
        0%, 100% { transform: translateY(0) rotate(-2deg); }
        50% { transform: translateY(-8px) rotate(2deg); }
    }
    .hero-dog {
        animation: hero-float 6s ease-in-out infinite;
    }
    .phone--hero {
        animation: phone-float 5s ease-in-out infinite;
        animation-delay: 0.4s;
    }

    .trust-card {
        transition: transform 0.35s ease, box-shadow 0.35s ease;
    }
    .trust-item:hover {
        transform: translateY(-3px);
    }
}
