*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --brand:        #E84855;
    --brand-dark:   #c73240;
    --brand-light:  #fff0f1;
    --ink:          #0f1117;
    --ink-2:        #374151;
    --ink-3:        #6b7280;
    --ink-4:        #9ca3af;
    --surface:      #ffffff;
    --surface-2:    #f9fafb;
    --surface-3:    #f3f4f6;
    --border:       #e5e7eb;
    --radius:       14px;
    --radius-sm:    8px;
    --shadow-sm:    0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.05);
    --shadow-md:    0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.05);
    --shadow-lg:    0 12px 40px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.06);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--surface);
    color: var(--ink);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }

.site-header,
.navbar,
.header,
header {
    min-height: 80px;
}

/* ── Navbar ─────────────────────────────────────────────── */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.navbar-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo {
    width: 38px;
    height: 38px;
    background: var(--brand);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nav-logo svg { width: 20px; height: 20px; fill: #fff; }

/* Logo image only */
.nav-brand img {
    width: 42px;
    height: 42px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.nav-app-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -.3px;
}

.nav-links {
    /* display: flex;
    align-items: center;
    gap: 4px;
    list-style: none; */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
    min-height: 24px;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.nav-links a {
    font-size: .875rem;
    font-weight: 500;
    color: var(--ink-2);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: background .15s, color .15s;
}

.nav-links a:hover,
.nav-links a.active {
    background: var(--surface-3);
    color: var(--ink);
}

.nav-cta {
    /* background: var(--brand) !important; */
    /* color: #fff !important; */
    padding: 8px 20px !important;
    background: var(--brand) !important;   /* #E84855 */
    color: #ffffff !important;              /* white on red = 4.5:1 ✅ */
    padding: 8px 18px;
    border-radius: 8px;
    font-weight: 600;
}

.nav-cta:hover {
    background: var(--brand-dark) !important;
}

.nav-hamburger {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    border-radius: var(--radius-sm);
    color: var(--ink-2);
}

.nav-hamburger:hover { background: var(--surface-3); }

.nav-mobile {
    display: none;
    position: fixed;
    inset: 68px 0 0 0;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(16px);
    padding: 20px 24px;
    z-index: 99;
    flex-direction: column;
    gap: 4px;
    border-top: 1px solid var(--border);
}

.nav-mobile.open { display: flex; }
.nav-mobile a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--ink-2);
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    transition: background .15s;
}
.nav-mobile a:hover { background: var(--surface-3); }
.nav-mobile .nav-cta {
    background: var(--brand) !important;
    color: #fff !important;
    text-align: center;
    margin-top: 8px;
}

/* ── Container ──────────────────────────────────────────── */
.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Section ────────────────────────────────────────────── */
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

.section-label {
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    /* color: var(--brand); */
    color: #c0303c;
    margin-bottom: 10px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    color: var(--ink);
    line-height: 1.2;
    letter-spacing: -.5px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--ink-3);
    margin-top: 12px;
    max-width: 560px;
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-size: .9rem;
    font-weight: 600;
    border: none;
    transition: all .18s;
    white-space: nowrap;
}

.btn-primary {
    background: var(--brand);
    color: #fff;
}
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(232,72,85,.3); }

.btn-outline {
    background: transparent;
    color: var(--ink);
    border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--ink-3); background: var(--surface-2); }

.btn-ghost {
    background: transparent;
    color: var(--brand);
    padding: 0;
}
.btn-ghost:hover { gap: 12px; }

.btn-lg { padding: 15px 32px; font-size: 1rem; border-radius: var(--radius); }

/* ── Cards ──────────────────────────────────────────────── */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow .2s, transform .2s;
}
.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

/* ── Download Badges ────────────────────────────────────── */
.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--ink);
    color: #fff;
    padding: 11px 20px;
    border-radius: var(--radius-sm);
    font-size: .85rem;
    transition: background .15s, transform .15s;
}
.store-badge:hover { background: #1f2937; transform: translateY(-2px); }
.store-badge .store-icon { font-size: 1.3rem; }
.store-badge-text-sub { font-size: .65rem; opacity: .7; display: block; line-height: 1; margin-bottom: 1px; }
.store-badge-text-main { font-size: .9rem; font-weight: 600; line-height: 1.2; }

/* ── Footer ─────────────────────────────────────────────── */
footer {
    background: var(--ink);
    color: rgba(255,255,255,.7);
    padding: 60px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand-logo {
    width: 40px;
    height: 40px;
    background: var(--brand);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.footer-brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.footer-desc {
    font-size: .875rem;
    line-height: 1.7;
    color: rgba(255,255,255,.5);
    margin-bottom: 20px;
}

.footer-heading {
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 16px;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    font-size: .875rem;
    color: rgba(255,255,255,.6);
    transition: color .15s;
}
.footer-links a:hover { color: #fff; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding-top: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: .82rem;
    color: rgba(255,255,255,.35);
    flex-wrap: wrap;
    gap: 12px;
}

/* ── Breadcrumb ─────────────────────────────────────────── */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .82rem;
    color: var(--ink-4);
    margin-bottom: 28px;
}
.breadcrumb a { color: var(--ink-3); transition: color .15s; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb span { color: var(--ink-3); }

/* ── Page Hero ──────────────────────────────────────────── */
.page-hero {
    background: var(--surface-2);
    border-bottom: 1px solid var(--border);
    padding: 48px 0 40px;
}

/* ── Utility ────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-brand { color: var(--brand); }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mb-8 { margin-bottom: 32px; }
.gap-3 { gap: 12px; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.flex-wrap { flex-wrap: wrap; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-hamburger { display: flex; align-items: center; justify-content: center; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .section { padding: 56px 0; }
}

@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* ── Animations ─────────────────────────────────────────── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.fade-up { 
    /* animation: fadeUp .5s ease both; */
    animation: fadeUp 0.6s ease forwards;
 }
.fade-up-1 { animation-delay: .1s; }
.fade-up-2 { animation-delay: .2s; }
.fade-up-3 { animation-delay: .3s; }
.fade-up-4 { animation-delay: .4s; }
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
