/* ===========================
   CSS Variables
=========================== */
:root {
    --cream: #F5F0E8;
    --cream-dark: #EDE7D9;
    --cream-darker: #E3DAC9;
    --amber: #C97B3A;
    --amber-light: #F8EDE0;
    --amber-dark: #A86228;
    --teal: #4A9D96;
    --teal-light: #DFF0EE;
    --green: #5A8F6A;
    --dark: #1E1C1A;
    --text: #2A2825;
    --muted: #6B6560;
    --white: #FFFFFF;
    --border: #DDD5C4;

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    --radius: 16px;
    --radius-lg: 24px;

    --shadow-sm: 0 2px 8px rgba(42, 40, 37, 0.07);
    --shadow-md: 0 8px 24px rgba(42, 40, 37, 0.1);
    --shadow-phone: 0 32px 80px rgba(0, 0, 0, 0.38), 0 0 0 1px rgba(255,255,255,0.06);

    --max-w: 1100px;
    --section-y: 96px;
}

/* ===========================
   Reset
=========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-body);
    background-color: var(--cream);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===========================
   Typography
=========================== */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.6rem, 5.5vw, 4.75rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; font-weight: 600; }
p { line-height: 1.75; }
em { font-style: italic; }

/* ===========================
   Layout
=========================== */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 28px;
}

/* ===========================
   Utility
=========================== */
.section-label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 10px;
}

.section-sub {
    font-size: 1.1rem;
    color: var(--muted);
    max-width: 560px;
    margin: 14px auto 0;
}

/* ===========================
   Buttons
=========================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: 100px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    border: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-amber { background: var(--amber); color: white; }
.btn-amber:hover { background: var(--amber-dark); }
.btn-sm { padding: 10px 22px; font-size: 0.88rem; }

/* App Store Badge */
.app-store-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #000;
    color: white;
    padding: 13px 26px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.12);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.app-store-badge:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,0.32); }
.app-store-badge.large { padding: 16px 34px; border-radius: 18px; }
.apple-icon { width: 26px; height: 26px; flex-shrink: 0; }
.app-store-badge.large .apple-icon { width: 34px; height: 34px; }
.badge-text { display: flex; flex-direction: column; line-height: 1.15; }
.badge-text small { font-size: 0.68rem; font-weight: 400; opacity: 0.8; }
.badge-text strong { font-size: 1.05rem; font-weight: 600; }
.app-store-badge.large .badge-text strong { font-size: 1.25rem; }

/* ===========================
   Navigation
=========================== */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.nav.scrolled {
    background-color: rgba(245, 240, 232, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 28px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: rgba(255,255,255,0.95);
    transition: color 0.3s ease;
}
.nav.scrolled .nav-logo { color: var(--text); }
.nav-logo span { color: var(--amber); }
.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-links a {
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(255,255,255,0.78);
    transition: color 0.18s ease;
}
.nav-links a:hover { color: white; }
.nav.scrolled .nav-links a { color: var(--muted); }
.nav.scrolled .nav-links a:hover { color: var(--text); }
.nav-links .btn-amber { color: white !important; }
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: rgba(255,255,255,0.9);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease, background 0.3s ease;
}
.nav.scrolled .nav-hamburger span { background: var(--text); }
.nav-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===========================
   Hero
=========================== */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background-color: var(--dark);
    background-image:
        radial-gradient(ellipse at 12% 85%, rgba(201, 123, 58, 0.2) 0%, transparent 52%),
        radial-gradient(ellipse at 88% 15%, rgba(74, 157, 150, 0.13) 0%, transparent 52%);
}
.hero .container { position: relative; z-index: 1; width: 100%; }
.hero-decoration {
    position: absolute;
    right: -4%;
    top: 50%;
    transform: translateY(-50%);
    width: 52%;
    max-width: 640px;
    pointer-events: none;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.hero-badge {
    display: inline-block;
    background: rgba(201, 123, 58, 0.18);
    border: 1px solid rgba(201, 123, 58, 0.38);
    color: #F5B87A;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 22px;
}
.hero-headline {
    color: white;
    margin-bottom: 18px;
    letter-spacing: -0.025em;
    animation: fadeUp 0.7s ease both;
}
.hero-sub {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.15rem;
    max-width: 440px;
    margin-bottom: 36px;
    line-height: 1.72;
    animation: fadeUp 0.7s 0.1s ease both;
}
.hero-content { animation: fadeUp 0.7s ease both; }
.hero-visual {
    display: flex;
    justify-content: center;
    animation: fadeUp 0.7s 0.18s ease both;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ===========================
   Phone Mockup
=========================== */
.phone-mockup {
    width: 260px;
    background: #181816;
    border-radius: 48px;
    padding: 14px;
    box-shadow: var(--shadow-phone);
    position: relative;
    border: 1px solid rgba(255,255,255,0.07);
    animation: phoneFloat 5s ease-in-out infinite;
}
@keyframes phoneFloat {
    0%, 100% { transform: translateY(0) rotate(1.5deg); }
    50%       { transform: translateY(-11px) rotate(1.5deg); }
}
.phone-mockup.phone-sm {
    width: 220px;
    border-radius: 42px;
    padding: 12px;
    animation: none;
    transform: rotate(-1deg);
}
.phone-notch {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 84px;
    height: 26px;
    background: #181816;
    border-radius: 14px;
    z-index: 10;
}
.phone-mockup.phone-sm .phone-notch { top: 12px; width: 70px; height: 22px; }
.phone-screen {
    width: 100%;
    aspect-ratio: 9 / 19.5;
    border-radius: 36px;
    overflow: hidden;
    background: var(--cream);
}
.phone-mockup.phone-sm .phone-screen { border-radius: 32px; }
.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

/* ===========================
   Watch Mockup
=========================== */
.watch-mockup {
    width: 164px;
    height: 195px;
    background: #181816;
    border-radius: 46px;
    padding: 13px;
    box-shadow: var(--shadow-phone);
    position: relative;
    border: 1px solid rgba(255,255,255,0.07);
    transform: rotate(-2deg);
}
.watch-screen {
    width: 100%;
    height: 100%;
    border-radius: 34px;
    overflow: hidden;
    background: #000;
}
.watch-screen img { width: 100%; height: 100%; object-fit: cover; }

/* ===========================
   Differentiator
=========================== */
.differentiator {
    padding: var(--section-y) 0;
    background: var(--cream);
    text-align: center;
}
.section-eyebrow {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 18px;
    display: block;
}
.diff-headline {
    font-size: clamp(1.9rem, 4vw, 3.25rem);
    line-height: 1.28;
    max-width: 780px;
    margin: 0 auto 26px;
    color: var(--dark);
}
.diff-headline em { color: var(--amber); }
.diff-body {
    font-size: 1.1rem;
    color: var(--muted);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.78;
}

/* ===========================
   7 Categories
=========================== */
.categories {
    padding: var(--section-y) 0;
    background: var(--cream-dark);
    text-align: center;
}
.categories h2 { margin-bottom: 6px; }
.categories-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 12px;
    margin: 44px 0 28px;
}
.category-card {
    background: white;
    border-radius: var(--radius);
    padding: 18px 10px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: default;
}
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.category-icon { width: 40px; height: 40px; flex-shrink: 0; }
.category-name {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text);
    text-align: center;
    line-height: 1.3;
}
.category-phase {
    font-size: 0.62rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--muted);
}
.category-card.phase-1 .category-phase { color: var(--amber); }
.category-card.phase-2 .category-phase { color: var(--teal); }
.categories-note {
    font-size: 0.88rem;
    color: var(--muted);
    max-width: 480px;
    margin: 0 auto;
}

/* ===========================
   How It Works
=========================== */
.how-it-works {
    padding: var(--section-y) 0;
    background: var(--cream);
    text-align: center;
}
.how-it-works h2 { margin-bottom: 56px; }
.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}
.step {
    flex: 1;
    max-width: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 16px;
}
.step-arrow {
    width: 56px;
    flex-shrink: 0;
    margin-top: 72px;
}
.step-arrow svg { width: 100%; height: auto; }
.step-num {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--cream-darker);
    line-height: 1;
    margin-bottom: -12px;
}
.step-visual {
    width: 80px;
    height: 80px;
    position: relative;
    z-index: 1;
    margin-bottom: 16px;
}
.step-visual svg { width: 100%; height: 100%; }
.step h3 { font-size: 1.15rem; margin-bottom: 10px; color: var(--dark); }
.step p { font-size: 0.94rem; color: var(--muted); line-height: 1.65; }

/* ===========================
   Features
=========================== */
.features {
    padding: var(--section-y) 0;
    background: var(--cream-dark);
}
.features h2 { text-align: center; margin-bottom: 68px; }
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
    margin-bottom: 88px;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
.feature-phone, .feature-watch { display: flex; justify-content: center; }
.feature-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--amber);
    background: var(--amber-light);
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 14px;
}
.feature-text h3 { margin-bottom: 12px; color: var(--dark); }
.feature-text p { color: var(--muted); font-size: 1.02rem; margin-bottom: 18px; line-height: 1.75; }
.feature-bullets { display: flex; flex-direction: column; gap: 10px; }
.feature-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.93rem;
    color: var(--text);
    line-height: 1.5;
}
.feature-bullets li::before {
    content: '';
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    border-radius: 50%;
    background: var(--teal-light) url("data:image/svg+xml,%3Csvg viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 9.5 L7.5 12 L13 6.5' stroke='%234A9D96' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain;
}

/* ===========================
   Kickstart
=========================== */
.kickstart {
    padding: var(--section-y) 0;
    background: var(--dark);
    background-image: radial-gradient(ellipse at 0% 100%, rgba(201, 123, 58, 0.18) 0%, transparent 52%);
}
.kickstart-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.kickstart-text h2 { color: white; margin-bottom: 14px; }
.kickstart-text p { color: rgba(255,255,255,0.62); font-size: 1.05rem; margin-bottom: 30px; line-height: 1.75; }
.kickstart-phone { display: flex; justify-content: center; }

/* ===========================
   Trust
=========================== */
.trust {
    padding: var(--section-y) 0;
    background: var(--cream);
    text-align: center;
}
.trust h2 { margin-bottom: 44px; }
.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 860px;
    margin: 0 auto;
}
.trust-card {
    background: white;
    border-radius: var(--radius);
    padding: 28px 22px;
    box-shadow: var(--shadow-sm);
    text-align: left;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.trust-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.trust-icon {
    width: 44px;
    height: 44px;
    background: var(--teal-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    padding: 8px;
}
.trust-icon svg { width: 28px; height: 28px; }
.trust-card h4 { font-family: var(--font-display); margin-bottom: 8px; color: var(--dark); }
.trust-card p { font-size: 0.92rem; color: var(--muted); line-height: 1.65; }

/* ===========================
   Final CTA
=========================== */
.cta-final {
    padding: var(--section-y) 0;
    background: var(--amber-light);
    background-image: radial-gradient(ellipse at 50% 110%, rgba(201, 123, 58, 0.25) 0%, transparent 60%);
    text-align: center;
}
.cta-final h2 { margin-bottom: 14px; color: var(--dark); }
.cta-final > .container > p { color: var(--muted); font-size: 1.08rem; margin-bottom: 34px; }
.cta-domain { margin-top: 14px !important; font-size: 0.85rem; color: var(--muted); margin-bottom: 0 !important; }

/* ===========================
   Footer
=========================== */
.footer { background: var(--dark); padding: 52px 0 36px; }
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 36px;
}
.footer-logo {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: white;
    display: block;
    margin-bottom: 4px;
}
.footer-brand p { font-size: 0.82rem; color: rgba(255,255,255,0.35); }
.footer-nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-nav a {
    color: rgba(255,255,255,0.55);
    font-size: 0.88rem;
    transition: color 0.18s ease;
}
.footer-nav a:hover { color: white; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.3); }
.footer-disclaimer { font-style: italic; }

/* ===========================
   Scroll Animations
=========================== */
.fade-in {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===========================
   Legal Pages (Privacy + Terms)
=========================== */
.legal-hero {
    background: var(--dark);
    padding: 120px 0 64px;
    text-align: center;
}
.legal-hero h1 { color: white; margin-bottom: 10px; }
.legal-hero p { color: rgba(255,255,255,0.45); font-size: 0.9rem; }
.legal-body {
    max-width: 700px;
    margin: 0 auto;
    padding: 72px 28px 100px;
}
.legal-body h2 {
    font-size: 1.3rem;
    margin: 44px 0 12px;
    color: var(--dark);
    padding-top: 12px;
    border-top: 1px solid var(--border);
}
.legal-body h2:first-child { border-top: none; margin-top: 0; }
.legal-body p { color: var(--muted); line-height: 1.78; margin-bottom: 14px; }
.legal-body ul {
    list-style: disc;
    padding-left: 22px;
    margin-bottom: 14px;
}
.legal-body ul li { color: var(--muted); line-height: 1.75; margin-bottom: 6px; }
.legal-body a { color: var(--amber); text-decoration: underline; }
.legal-body strong { color: var(--text); font-weight: 600; }

/* ===========================
   Responsive
=========================== */
@media (max-width: 880px) {
    :root { --section-y: 72px; }

    /* Nav mobile menu */
    .nav-hamburger { display: flex; }
    .nav-links {
        display: none;
        position: fixed;
        top: 68px; left: 0; right: 0;
        background: var(--cream);
        flex-direction: column;
        padding: 20px 28px 28px;
        gap: 4px;
        box-shadow: var(--shadow-md);
        border-top: 1px solid var(--border);
    }
    .nav-links.open { display: flex; }
    .nav-links a {
        color: var(--text) !important;
        font-size: 1rem;
        padding: 12px 0;
        border-bottom: 1px solid var(--border);
        width: 100%;
    }
    .nav-links a:last-child { border-bottom: none; padding-bottom: 0; }
    .nav-links .btn { border-radius: 8px; justify-content: center; }

    /* Hero */
    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }
    .hero-decoration { display: none; }
    .hero-grid { grid-template-columns: 1fr; gap: 48px; text-align: center; }
    .hero-content { order: 1; }
    .hero-visual { order: 2; }
    .hero-sub { margin: 0 auto 32px; }
    .phone-mockup { animation: phoneFloat 5s ease-in-out infinite; transform: none; }
    @keyframes phoneFloat {
        0%, 100% { transform: translateY(0) rotate(0deg); }
        50%       { transform: translateY(-10px) rotate(0deg); }
    }

    /* Categories */
    .categories-grid { grid-template-columns: repeat(4, 1fr); }

    /* Steps */
    .steps { flex-direction: column; align-items: center; gap: 44px; }
    .step-arrow { display: none; }

    /* Features */
    .feature-row {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .feature-row.reverse { direction: ltr; }
    .feature-bullets li { justify-content: flex-start; text-align: left; }

    /* Kickstart */
    .kickstart-grid { grid-template-columns: 1fr; gap: 44px; text-align: center; }

    /* Trust */
    .trust-grid { grid-template-columns: 1fr; max-width: 400px; }
    .trust-card { text-align: center; }
    .trust-icon { margin: 0 auto 14px; }

    /* Footer */
    .footer-inner { flex-direction: column; gap: 24px; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 560px) {
    .categories-grid { grid-template-columns: repeat(3, 1fr); }
    .phone-mockup { width: 220px; }
}
