:root {
    --navy: #0f2137;
    --navy-mid: #1a3a5c;
    --accent: #e8b84b;
    --accent-dark: #c99a32;
    --light-bg: #f8f9fc;
    --text-muted: #6b7a8d;
}

body {
    background-color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #1a1a2e;
}

/* ── Navbar ── */
.navbar {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.navbar-brand {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--navy) !important;
    display: flex;
    align-items: center;
    gap: 10px;
}
.navbar-app-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    flex-shrink: 0;
}

/* ── Hero ── */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
    color: white;
    padding: 80px 0 70px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(232,184,75,0.08);
    border-radius: 50%;
}
.hero-tagline {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.5px;
}
.hero-tagline .accent { color: var(--accent); }
.hero-sub {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.75);
    max-width: 480px;
    line-height: 1.6;
}
.btn-download-hero {
    background: var(--accent);
    color: var(--navy);
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 32px;
    border-radius: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s, transform 0.15s;
}
.btn-download-hero:hover {
    background: var(--accent-dark);
    color: var(--navy);
    transform: translateY(-1px);
}
.ios-badge {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
    margin-top: 6px;
}

/* ── App Store badge ── */
.appstore-badge-link {
    display: inline-block;
    transition: transform 0.15s, opacity 0.15s;
}
.appstore-badge-link:hover {
    transform: translateY(-2px);
    opacity: 0.88;
}
.appstore-badge-img {
    height: 54px;
    width: auto;
    display: block;
}
.appstore-badge-cta {
    height: 64px;
}

/* ── Hero phone mockup ── */
.hero-phone {
    position: relative;
    width: 240px;
    flex-shrink: 0;
}
.hero-phone-inner {
    background: #1a1a2e;
    border: 5px solid rgba(255,255,255,0.18);
    border-radius: 44px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.06);
    position: relative;
}
.hero-phone-inner::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 28px;
    background: #1a1a2e;
    border-radius: 0 0 20px 20px;
    z-index: 2;
}
.hero-phone-screen {
    width: 100%;
    display: block;
    border-radius: 39px;
}
@media (max-width: 991px) {
    .hero-phone { width: 200px; }
}

/* ── Screenshots section ── */
.screenshots-section {
    background: var(--light-bg);
    padding: 80px 0 70px;
}
.screenshots-row {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: flex-end;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.screenshots-row::-webkit-scrollbar { display: none; }
.screenshot-item {
    flex: 0 0 auto;
    text-align: center;
}
.screenshot-phone {
    background: #ffffff;
    border: 3px solid rgba(0,0,0,0.08);
    border-radius: 34px;
    overflow: hidden;
    width: 160px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
    transition: transform 0.25s, box-shadow 0.25s;
}
.screenshot-phone:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(0,0,0,0.15);
}
.screenshot-phone img {
    width: 100%;
    display: block;
    border-radius: 31px;
}
.screenshot-caption {
    margin-top: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}
@media (max-width: 768px) {
    .screenshot-phone { width: 130px; }
    .screenshots-row { gap: 14px; justify-content: flex-start; padding: 0 16px 12px; }
}

/* ── Recall callout ── */
.recall-callout {
    background: linear-gradient(135deg, #1D428A 0%, #6b7f99 100%);
    border-left: 5px solid #FFC72C;
    border-radius: 16px;
    padding: 40px 48px;
}
.recall-badge {
    background: #FFC72C;
    color: #0f2460;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 12px;
}
.recall-callout h2 {
    font-size: 1.9rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
}
.recall-callout p {
    color: rgba(255,255,255,0.8) !important;
}
.recall-callout ul span:last-child {
    color: rgba(255,255,255,0.85);
}

/* ── Features ── */
.features { background: var(--light-bg); }
.feature-card {
    background: white;
    border-radius: 16px;
    padding: 32px 28px;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
.feature-icon {
    font-size: 2.2rem;
    margin-bottom: 16px;
}
.feature-card h5 {
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}
.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* ── How it works ── */
.step-number {
    width: 48px;
    height: 48px;
    background: var(--navy);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    margin: 0 auto 16px;
}
.step-connector {
    position: absolute;
    top: 24px;
    left: calc(50% + 32px);
    right: calc(-50% + 32px);
    height: 2px;
    background: linear-gradient(90deg, var(--navy), rgba(15,33,55,0.15));
}

/* ── Download CTA ── */
.download-cta {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
    color: white;
    padding: 80px 0;
}
.download-cta h2 {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 800;
}

/* ── Footer ── */
footer {
    background: #0a1929;
    color: rgba(255,255,255,0.5);
    font-size: 0.875rem;
    padding: 24px 0;
}
footer a { color: rgba(255,255,255,0.65); text-decoration: none; }
footer a:hover { color: var(--accent); }

/* ── Section headers ── */
.section-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-dark);
    margin-bottom: 8px;
}
.section-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 12px;
}
.section-sub {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ── Mobile (≤ 768px) ── */
@media (max-width: 768px) {
    /* Navbar: shrink brand text so it doesn't crowd the button */
    .navbar-brand { font-size: 1rem; }

    /* Hero: reduce top/bottom breathing room */
    .hero { padding: 52px 0 48px; }

    /* Hero phone: shrink further and center neatly below CTA */
    .hero-phone { width: 180px; }

    /* Recall callout: tight horizontal padding on narrow screens */
    .recall-callout { padding: 28px 20px; }
    .recall-callout h2 { font-size: clamp(1.3rem, 5vw, 1.9rem); }

    /* Screenshots: break out of the container so the row scrolls edge-to-edge */
    .screenshots-section .container { overflow: visible; }
    .screenshots-row {
        margin-left: -12px;
        margin-right: -12px;
        padding: 0 16px 16px;
        justify-content: flex-start;
    }

    /* Features: full-width cards on the smallest phones */
    .feature-card { padding: 24px 20px; }

    /* Download CTA: reduce vertical padding */
    .download-cta { padding: 60px 0; }
    .download-cta p { font-size: 1rem; }

    /* App Store badge: slightly smaller on mobile */
    .appstore-badge-img { height: 46px; }
    .appstore-badge-cta { height: 54px; }
}
