/* ══════════════════════════════════════
   CSS VARIABLES & RESET
   ══════════════════════════════════════ */
:root {
    --white: #FFFFFF;
    --black: #1A1A1A;
    --teal: #2E86AB;
    --teal-light: rgba(46, 134, 171, 0.08);
    --teal-glow: rgba(46, 134, 171, 0.15);
    --teal-subtle: rgba(46, 134, 171, 0.05);
    --off-white: #F9FAFB;
    --gray-50: #F8F9FA;
    --gray-100: #E9ECEF;
    --gray-200: #DEE2E6;
    --gray-400: #ADB5BD;
    --gray-500: #6C757D;
    --gray-800: #1A1A1A;
    --gray-900: #111111;
    --font: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-arabic: 'Amiri', serif;
    --ls-tight: -0.02em;
    --ls-normal: 0.01em;
    --ls-wide: 0.12em;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    color: var(--black);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background 0.4s ease, color 0.4s ease;
}


/* ══════════════════════════════════════
   FADE-IN ANIMATION SYSTEM
   ══════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ══════════════════════════════════════
   NAVIGATION — Floating Pill
   ══════════════════════════════════════ */
.nav {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    padding: 6px;
    height: 56px;
    max-width: 1100px;
    width: calc(100% - 32px);
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: saturate(200%) blur(40px) brightness(1.1);
    -webkit-backdrop-filter: saturate(200%) blur(40px) brightness(1.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 999px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.6),
                0 0 0 0.5px rgba(0, 0, 0, 0.04);
    transition: max-width 0.5s var(--ease-out-expo),
                padding 0.5s var(--ease-out-expo),
                height 0.5s var(--ease-out-expo),
                gap 0.5s var(--ease-out-expo),
                box-shadow 0.4s ease,
                top 0.5s var(--ease-out-expo);
}

/* Logo pill — own container inside the nav */
.nav-logo-pill {
    display: flex;
    align-items: center;
    height: 44px;
    padding: 0 16px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 999px;
    flex-shrink: 0;
    transition: opacity 0.35s ease, width 0.35s ease,
                padding 0.35s ease, margin 0.35s ease;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    overflow: hidden;
    flex-shrink: 0;
}

.nav-logo img {
    height: 26px;
    width: auto;
    object-fit: contain;
}

/* Center section — nav links fill available space */
.nav-center {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    transition: opacity 0.35s ease, flex 0.35s ease;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--black);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: var(--ls-normal);
    transition: color 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--teal);
    transition: width 0.3s var(--ease-out-quart);
}

.nav-links a:hover {
    color: var(--teal);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Right section — action buttons */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    transition: gap 0.3s ease;
}

/* Download button — black pill with Apple logo */
.btn-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 20px;
    height: 44px;
    background: #000000;
    color: #FFFFFF;
    font-family: var(--font);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: var(--ls-normal);
    border: none;
    border-radius: 999px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s var(--ease-out-quart);
    flex-shrink: 0;
    white-space: nowrap;
}

.btn-download svg {
    width: 16px;
    height: 16px;
    fill: #FFFFFF;
    flex-shrink: 0;
}

.btn-download:hover {
    background: #1a1a1a;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.btn-download:active {
    transform: translateY(0);
}

/* Android signup — outline pill */
.btn-android {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 16px;
    height: 44px;
    background: rgba(255, 255, 255, 0.5);
    color: var(--black);
    font-family: var(--font);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: var(--ls-normal);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 999px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s var(--ease-out-quart);
    flex-shrink: 0;
    white-space: nowrap;
}

.btn-android:hover {
    background: var(--teal-light);
    border-color: var(--teal);
    color: var(--teal);
}

/* Compact state — collapses to Download-only pill on scroll */
.nav.nav-compact {
    width: auto !important;
    max-width: none;
    padding: 3px;
    gap: 0;
    height: auto;
}

.nav.nav-compact .nav-logo-pill,
.nav.nav-compact .nav-center,
.nav.nav-compact .theme-toggle,
.nav.nav-compact .nav-toggle,
.nav.nav-compact .btn-android {
    display: none;
}

.nav-link-mobile {
    display: none;
}

/* Mobile menu toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--black);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-logo .logo-light {
    display: none;
}

/* ══════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 28px;
    background: #000000;
    color: #FFFFFF;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: var(--ls-normal);
    border: 2px solid #000000;
    border-radius: 100px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s var(--ease-out-quart);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background: #1a1a1a;
    color: #FFFFFF;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 28px;
    background: var(--white);
    color: var(--black);
    font-family: var(--font);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: var(--ls-normal);
    border: 2px solid var(--gray-200);
    border-radius: 100px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s var(--ease-out-quart);
}

.btn-outline:hover {
    border-color: var(--black);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* ══════════════════════════════════════
   THEME TOGGLE
   ══════════════════════════════════════ */
.theme-toggle {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: var(--gray-400);
    transition: color 0.3s var(--ease-out-quart);
    position: relative;
    flex-shrink: 0;
}

.theme-toggle:hover {
    color: var(--teal);
}

.theme-toggle svg {
    width: 18px;
    height: 18px;
    position: absolute;
    transition: opacity 0.3s ease, transform 0.4s var(--ease-out-quart);
}

.theme-toggle .icon-sun {
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}

.theme-toggle .icon-moon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/* ══════════════════════════════════════
   DARK MODE — Shared Components
   ══════════════════════════════════════ */
[data-theme="dark"] {
    --white: #000000;
    --black: #FFFFFF;
    --off-white: #0A0A0A;
    --gray-50: #111111;
    --gray-100: #1A1A1A;
    --gray-200: #333333;
    --gray-400: #777777;
    --gray-500: #999999;
    --gray-800: #E0E0E0;
    --gray-900: #0A0A0A;
    --teal-light: rgba(46, 134, 171, 0.12);
    --teal-glow: rgba(46, 134, 171, 0.2);
    --teal-subtle: rgba(46, 134, 171, 0.08);
}

[data-theme="dark"] .nav {
    background: rgba(20, 20, 20, 0.6);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.06),
                0 0 0 0.5px rgba(255, 255, 255, 0.04);
}

[data-theme="dark"] .nav-logo-pill {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .btn-download {
    background: #FFFFFF;
    color: #000000;
}

[data-theme="dark"] .btn-download svg {
    fill: #000000;
}

[data-theme="dark"] .btn-download:hover {
    background: #E0E0E0;
}

[data-theme="dark"] .nav-links a {
    color: var(--black);
}

[data-theme="dark"] .nav-toggle span {
    background: var(--black);
}

[data-theme="dark"] .btn-android {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .btn-android:hover {
    background: var(--teal-light);
    border-color: var(--teal);
    color: var(--teal);
}

[data-theme="dark"] .theme-toggle {
    color: var(--gray-400);
}

[data-theme="dark"] .theme-toggle:hover {
    color: var(--teal);
}

[data-theme="dark"] .theme-toggle .icon-sun {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

[data-theme="dark"] .theme-toggle .icon-moon {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

[data-theme="dark"] .nav-logo .logo-dark {
    display: none;
}

[data-theme="dark"] .nav-logo .logo-light {
    display: block;
}

[data-theme="dark"] .btn-primary {
    background: #FFFFFF;
    color: #000000;
    border-color: #FFFFFF;
}

[data-theme="dark"] .btn-primary:hover {
    background: #E0E0E0;
    color: #000000;
}

[data-theme="dark"] .btn-outline {
    background: transparent;
    color: var(--black);
    border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .btn-outline:hover {
    border-color: var(--black);
}

[data-theme="dark"] .footer-top {
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

/* ══════════════════════════════════════
   EMAIL CAPTURE MODAL
   ══════════════════════════════════════ */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    background: var(--white);
    max-width: 440px;
    width: 100%;
    border-radius: 16px;
    padding: 40px 36px;
    position: relative;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.12);
    transform: scale(0.95);
    transition: transform 0.3s var(--ease-out-expo);
}

.modal-overlay.active .modal-card {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border: none;
    background: none;
    cursor: pointer;
    color: var(--gray-400);
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: var(--black);
}

.modal-close svg {
    width: 20px;
    height: 20px;
}

.modal-heading {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: var(--ls-tight);
    margin-bottom: 8px;
    color: var(--black);
}

.modal-subtext {
    font-size: 15px;
    color: var(--gray-500);
    margin-bottom: 28px;
    line-height: 1.5;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal-form input {
    padding: 14px 20px;
    border: 1.5px solid var(--gray-200);
    border-radius: 100px;
    font-family: var(--font);
    font-size: 15px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: var(--white);
    width: 100%;
}

.modal-form input::placeholder {
    color: var(--gray-400);
}

.modal-form input:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 4px var(--teal-glow);
}

.modal-form .btn-primary {
    width: 100%;
    padding: 14px 28px;
}

.modal-hint {
    font-size: 13px;
    color: var(--gray-400);
    margin-top: 16px;
    text-align: center;
}

.modal-success {
    display: none;
    text-align: center;
    padding: 20px 0;
}

.modal-success svg {
    width: 48px;
    height: 48px;
    color: var(--teal);
    margin-bottom: 16px;
}

.modal-success p {
    font-size: 18px;
    font-weight: 600;
    color: var(--black);
}

[data-theme="dark"] .modal-card {
    background: var(--gray-900);
}

[data-theme="dark"] .modal-heading {
    color: #FFFFFF;
}

[data-theme="dark"] .modal-subtext {
    color: var(--gray-400);
}

[data-theme="dark"] .modal-form input {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

[data-theme="dark"] .modal-form input:focus {
    border-color: var(--teal);
}

[data-theme="dark"] .modal-close:hover {
    color: var(--white);
}

[data-theme="dark"] .modal-success p {
    color: var(--white);
}

[data-theme="dark"] .modal-hint {
    color: var(--gray-500);
}

/* ══════════════════════════════════════
   DARK PANEL — Rounded section with inverted corners
   ══════════════════════════════════════ */
.dark-panel-wrap {
    position: relative;
    padding: 0 16px;
}
.dark-panel-wrap::before,
.dark-panel-wrap::after {
    content: '';
    display: block;
    height: 32px;
    position: relative;
    z-index: 1;
}
/* Top inverted corners */
.dark-panel-corners-top,
.dark-panel-corners-bottom {
    position: absolute;
    left: 16px;
    right: 16px;
    height: 32px;
    z-index: 2;
    pointer-events: none;
}
.dark-panel-corners-top { top: 0; }
.dark-panel-corners-bottom { bottom: 0; }

.dark-panel-corners-top::before,
.dark-panel-corners-top::after,
.dark-panel-corners-bottom::before,
.dark-panel-corners-bottom::after {
    content: '';
    position: absolute;
    width: 32px;
    height: 32px;
}
/* Top-left */
.dark-panel-corners-top::before {
    top: 0; left: -16px;
    background: radial-gradient(circle at 100% 100%, transparent 31px, var(--white) 32px);
}
/* Top-right */
.dark-panel-corners-top::after {
    top: 0; right: -16px;
    background: radial-gradient(circle at 0% 100%, transparent 31px, var(--white) 32px);
}
/* Bottom-left */
.dark-panel-corners-bottom::before {
    bottom: 0; left: -16px;
    background: radial-gradient(circle at 100% 0%, transparent 31px, var(--white) 32px);
}
/* Bottom-right */
.dark-panel-corners-bottom::after {
    bottom: 0; right: -16px;
    background: radial-gradient(circle at 0% 0%, transparent 31px, var(--white) 32px);
}

[data-theme="dark"] .dark-panel-corners-top::before { background: radial-gradient(circle at 100% 100%, transparent 31px, var(--white) 32px); }
[data-theme="dark"] .dark-panel-corners-top::after { background: radial-gradient(circle at 0% 100%, transparent 31px, var(--white) 32px); }
[data-theme="dark"] .dark-panel-corners-bottom::before { background: radial-gradient(circle at 100% 0%, transparent 31px, var(--white) 32px); }
[data-theme="dark"] .dark-panel-corners-bottom::after { background: radial-gradient(circle at 0% 0%, transparent 31px, var(--white) 32px); }


/* ══════════════════════════════════════
   FOOTER
   ══════════════════════════════════════ */

.footer {
    background: #000000;
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 24px 40px;
    border-radius: 32px 32px 0 0;
}

[data-theme="dark"] .footer {
    background: #FFFFFF;
    color: rgba(0, 0, 0, 0.7);
}

.footer-container {
    max-width: 1120px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    margin-top: 20px;
    max-width: 280px;
    color: rgba(255, 255, 255, 0.5);
}

[data-theme="dark"] .footer-brand p {
    color: rgba(0, 0, 0, 0.5);
}

.footer-logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.footer-logo.logo-dark {
    display: block;
}

.footer-logo.logo-light {
    display: none;
}

[data-theme="dark"] .footer-logo.logo-dark {
    display: none;
}

[data-theme="dark"] .footer-logo.logo-light {
    display: block;
}

.footer-wordmark {
    font-family: var(--font);
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 4px;
    color: #FFFFFF;
    line-height: 1;
}

.footer-col h4 {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: var(--ls-wide);
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 20px;
}

[data-theme="dark"] .footer-col h4 {
    color: rgba(0, 0, 0, 0.4);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-col ul a:hover {
    color: #FFFFFF;
}

[data-theme="dark"] .footer-col ul a {
    color: rgba(0, 0, 0, 0.65);
}

[data-theme="dark"] .footer-col ul a:hover {
    color: #000000;
}

.footer-social {
    display: flex;
    gap: 16px;
    margin-top: 4px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

[data-theme="dark"] .footer-social a {
    background: rgba(0, 0, 0, 0.06);
    color: rgba(0, 0, 0, 0.6);
}

.footer-social a:hover {
    background: var(--teal);
    color: var(--white);
}

.footer-social svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 32px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.35);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .footer-bottom {
    color: rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .footer-bottom a {
    color: rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .footer-bottom a:hover {
    color: rgba(0, 0, 0, 0.7);
}

/* ══════════════════════════════════════
   SECTION COMMON
   ══════════════════════════════════════ */
.section-container {
    max-width: 1120px;
    margin: 0 auto;
}

.section-label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: var(--ls-wide);
    text-transform: uppercase;
    color: var(--teal);
    text-align: center;
    margin-bottom: 16px;
}

.section-heading {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 600;
    text-align: center;
    color: var(--black);
    margin-bottom: 20px;
    letter-spacing: var(--ls-tight);
}

.section-subheading {
    font-size: 17px;
    color: var(--gray-500);
    text-align: center;
    max-width: 520px;
    margin: 0 auto 72px;
    line-height: 1.7;
}

/* ══════════════════════════════════════
   MOBILE CTA BAR
   ══════════════════════════════════════ */
.mobile-cta-bar {
    display: none;
}

/* ══════════════════════════════════════
   RESPONSIVE — 1024px (shared only)
   ══════════════════════════════════════ */
@media (max-width: 1024px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
    /* Keep both action buttons visible */
    .nav-center {
        display: contents;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.92);
        backdrop-filter: saturate(200%) blur(40px);
        -webkit-backdrop-filter: saturate(200%) blur(40px);
        padding: 12px 20px;
        gap: 0;
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.5);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    }
    [data-theme="dark"] .nav-links {
        background: rgba(30, 30, 30, 0.92);
        border-color: rgba(255, 255, 255, 0.1);
    }
    .nav-links.open {
        display: flex;
    }
    .nav-links li {
        width: 100%;
    }
    .nav-links a {
        display: block;
        padding: 12px 0;
        font-size: 15px;
    }
    .nav-links a::after {
        display: none;
    }
    .nav-actions {
        margin-left: auto;
    }
    .nav-toggle {
        display: flex;
    }
}

/* ══════════════════════════════════════
   RESPONSIVE — 768px (shared components)
   ══════════════════════════════════════ */
@media (max-width: 768px) {
    .nav {
        padding: 5px;
        top: 10px;
        height: 52px;
        max-width: calc(100% - 20px);
        gap: 4px;
        transition: max-width 0.5s var(--ease-out-expo),
                    padding 0.5s var(--ease-out-expo),
                    height 0.5s var(--ease-out-expo),
                    gap 0.5s var(--ease-out-expo),
                    box-shadow 0.4s ease,
                    top 0.5s var(--ease-out-expo),
                    transform 0.35s var(--ease-out-expo),
                    opacity 0.3s ease;
    }
    /* Hide on scroll down */
    .nav.nav-hidden {
        transform: translateX(-50%) translateY(-120%);
        opacity: 0;
        pointer-events: none;
    }
    .nav-logo-pill {
        height: 42px;
        padding: 0 12px;
    }
    .nav-logo img {
        height: 22px;
    }
    /* Hide Google Play on mobile, shrink Download */
    .nav-actions .btn-android {
        display: none;
    }
    .btn-download {
        padding: 0 14px;
        height: 42px;
        font-size: 12px;
    }
    .btn-download svg {
        width: 14px;
        height: 14px;
    }
    .hero-email-form {
        flex-direction: column;
    }
    .hero-email-form input,
    .hero-email-form .btn-primary {
        width: 100%;
    }
    .notify-form {
        flex-direction: column;
    }
    .notify-form input,
    .notify-form .btn-primary {
        width: 100%;
    }
    .modal-card {
        margin: 16px;
        max-width: calc(100% - 32px);
    }
    .footer-top {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    /* Mobile CTA bar */
    .mobile-cta-bar {
        display: flex;
        justify-content: center;
        position: fixed;
        bottom: 24px;
        left: 50%;
        right: auto;
        transform: translateX(-50%) translateY(calc(100% + 40px));
        z-index: 999;
        padding: 4px;
        padding-bottom: calc(4px + env(safe-area-inset-bottom));
        background: rgba(255, 255, 255, 0.85);
        -webkit-backdrop-filter: blur(16px) saturate(180%);
        backdrop-filter: blur(16px) saturate(180%);
        border: 1px solid rgba(0, 0, 0, 0.08);
        border-radius: 100px;
        opacity: 0;
        transition: transform 0.4s var(--ease-out-expo), opacity 0.3s ease;
        pointer-events: none;
    }
    .mobile-cta-bar.visible {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    .mobile-cta-bar.hidden {
        transform: translateX(-50%) translateY(calc(100% + 40px));
        opacity: 0;
        pointer-events: none;
    }
    .mobile-cta-bar button {
        white-space: nowrap;
        padding: 14px 36px;
        background: #000000;
        color: #FFFFFF;
        font-family: var(--font);
        font-size: 15px;
        font-weight: 600;
        letter-spacing: var(--ls-normal);
        border: none;
        border-radius: 100px;
        cursor: pointer;
        transition: transform 0.15s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }
    .mobile-cta-bar button svg {
        width: 18px;
        height: 18px;
        fill: #FFFFFF;
    }
    .mobile-cta-bar button:active {
        transform: scale(0.97);
    }
    [data-theme="dark"] .mobile-cta-bar {
        background: rgba(30, 30, 30, 0.85);
        border-color: rgba(255, 255, 255, 0.1);
    }
    [data-theme="dark"] .mobile-cta-bar button {
        background: #FFFFFF;
        color: #000000;
    }
    [data-theme="dark"] .mobile-cta-bar button svg {
        fill: #000000;
    }
}
