/* ╔══════════════════════════════════════════╗
   ║           RaceTools  app.css             ║
   ╚══════════════════════════════════════════╝ */

@property --border-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

:root {
    --brand:      #ef233d;
    --brand-dim:  rgba(239, 35, 61, 0.15);
    --text:       #ffffff;
    --muted:      rgba(255, 255, 255, 0.48);
    --bg:         #0c0c18;
    --bg-card:    #14142a;
    --card-bg:    rgba(255, 255, 255, 0.04);
    --border:     rgba(255, 255, 255, 0.07);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    cursor: none;
}

/* ── NOISE OVERLAY ─────────────────────────── */
#noise-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9990;
    opacity: 0.028;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-size: 200px 200px;
}

/* ── PARTICLES CANVAS ──────────────────────── */
#particles-canvas {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

/* ── PROGRESS BAR ──────────────────────────── */
#progress-bar {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 2px;
    background: var(--brand);
    transform-origin: left;
    transform: scaleX(0);
    z-index: 9999;
    transition: transform 0.05s linear;
}

/* ── PRELOADER ─────────────────────────────── */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

#preloader-logo {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    opacity: 0;
    transform: translateY(20px);
}

#preloader-logo .white { color: #fff; }
#preloader-logo .red   { color: var(--brand); }

#preloader-track {
    width: 160px;
    height: 2px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    overflow: hidden;
}

#preloader-fill {
    height: 100%;
    width: 0%;
    background: var(--brand);
    border-radius: 2px;
    box-shadow: 0 0 12px var(--brand);
}

/* ── NAVBAR ────────────────────────────────── */
#navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 0 32px;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
    backdrop-filter: blur(20px) saturate(1.5);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    background: rgba(12,12,24,0.72);
    border-bottom: 1px solid var(--border);
}

#navbar.visible { transform: translateY(0); }
.in-app #navbar { display: none; }

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

.navbar-logo {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-decoration: none;
    flex-shrink: 0;
}
.navbar-logo .white { color: #fff; }
.navbar-logo .red   { color: var(--brand); }

.navbar-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.navbar-links a {
    font-size: 0.85rem;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.15s;
}
.navbar-links a:hover { color: var(--text); }

.navbar-cta {
    background: var(--brand) !important;
    color: #fff !important;
    padding: 7px 18px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.82rem !important;
    transition: opacity 0.15s !important;
}
.navbar-cta:hover { opacity: 0.85; }

/* ── SECTION DOTS ──────────────────────────── */
#section-dots {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 900;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.section-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: none;
    cursor: none;
    padding: 0;
    transition: background 0.25s, transform 0.25s, height 0.25s;
}

.section-dot.active {
    background: var(--brand);
    height: 20px;
    border-radius: 3px;
    box-shadow: 0 0 8px var(--brand);
}

/* ── CURSOR ────────────────────────────────── */
#cursor {
    position: fixed;
    width: 10px;
    height: 10px;
    background: var(--brand);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9995;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
}

#cursor-trail {
    position: fixed;
    width: 34px;
    height: 34px;
    border: 1.5px solid rgba(239,35,61,0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9994;
    transform: translate(-50%, -50%);
}

/* ── SPOTLIGHT ─────────────────────────────── */
#spotlight {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background: radial-gradient(500px circle at var(--mx,50%) var(--my,50%), rgba(239,35,61,0.055), transparent 50%);
}

/* ── HERO ──────────────────────────────────── */
.hero {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 24px 64px;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(239,35,61,0.16) 0%, transparent 65%);
    animation: pulse-glow 4s ease-in-out infinite;
    pointer-events: none;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.024) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.55; transform: translateX(-50%) scale(1); }
    50%       { opacity: 1;    transform: translateX(-50%) scale(1.18); }
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--brand);
    background: rgba(239,35,61,0.1);
    border: 1px solid rgba(239,35,61,0.22);
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 32px;
    opacity: 0;
}

.hero-title {
    font-size: clamp(4rem, 14vw, 9rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 0.9;
    margin-bottom: 28px;
}

.hero-title .white { color: #fff; }
.hero-title .red   { color: var(--brand); }
.hero-title .hero-char { display: inline-block; }

.hero-sub {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--muted);
    margin-bottom: 48px;
    min-height: 1.6em;
    opacity: 0;
}

.typewriter-cursor {
    display: inline-block;
    color: var(--brand);
    animation: blink 0.9s step-end infinite;
    margin-left: 2px;
    font-weight: 300;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}

.hero-cta { opacity: 0; }

.hero-content {
    max-width: 1100px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text { text-align: left; }

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    position: relative;
    opacity: 0;
    transform: translateX(30px);
}

.hero-visual-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 70% at 50% 85%, rgba(239,35,61,0.14) 0%, transparent 70%);
    pointer-events: none;
}

.hero-phone {
    width: 220px;
    height: 460px;
    position: relative;
    z-index: 1;
}

.hero-trust {
    margin-top: 20px;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.3);
    letter-spacing: 0.04em;
    opacity: 0;
}

/* ── APP STORE BUTTON ──────────────────────── */
.appstore-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: #000;
    text-decoration: none;
    padding: 14px 26px;
    border-radius: 14px;
    font-weight: 600;
    box-shadow: 0 4px 24px rgba(0,0,0,0.3);
    will-change: transform;
}

.appstore-btn-text { display: flex; flex-direction: column; text-align: left; }
.appstore-btn-text .small { font-size: 0.6rem; letter-spacing: 0.03em; opacity: 0.65; line-height: 1; }
.appstore-btn-text .large { font-size: 1rem; font-weight: 700; line-height: 1.3; }

/* ── FEATURE STRIP ─────────────────────────── */
.feature-strip {
    position: relative;
    z-index: 2;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(255,255,255,0.015);
    padding: 18px 24px;
    overflow: hidden;
}

.feature-strip-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.feature-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 28px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--muted);
    white-space: nowrap;
}

.feature-pill svg {
    color: var(--brand);
    flex-shrink: 0;
}

.pill-divider {
    width: 1px;
    height: 20px;
    background: var(--border);
    flex-shrink: 0;
}

/* ── FEATURES ──────────────────────────────── */
.features-section {
    position: relative;
    z-index: 2;
    padding: 120px 48px;
}

.features-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Tabs */
.feature-tabs { display: flex; flex-direction: column; gap: 8px; }

.feature-tab {
    display: flex;
    flex-direction: column;
    padding: 24px 28px;
    border-radius: 16px;
    cursor: none;
    position: relative;
    overflow: hidden;
    /* default: transparent border */
    background: var(--card-bg);
    border: 1px solid transparent;
    transition: background 0.3s;
}

/* inactive hover */
.feature-tab:not(.active):hover {
    background: rgba(255,255,255,0.05);
}

/* active: animated gradient border */
.feature-tab.active {
    background:
        linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
        conic-gradient(from var(--border-angle), transparent 30%, var(--brand) 50%, transparent 70%) border-box;
    animation: border-spin 3s linear infinite;
}

@keyframes border-spin { to { --border-angle: 360deg; } }

/* red left bar */
.feature-tab::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--brand);
    border-radius: 0 2px 2px 0;
    transform: scaleY(0);
    transform-origin: center;
    transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.feature-tab.active::before { transform: scaleY(1); }

.feature-tab-label {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 6px;
    opacity: 0;
    transition: opacity 0.25s;
}
.feature-tab.active .feature-tab-label { opacity: 1; }

.feature-tab-heading {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: rgba(255,255,255,0.25);
    transition: color 0.25s;
    line-height: 1;
    margin-bottom: 8px;
}
.feature-tab.active .feature-tab-heading { color: #fff; }

.feature-tab-desc {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.65;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.45s ease, opacity 0.35s ease;
}
.feature-tab.active .feature-tab-desc { max-height: 120px; opacity: 1; }

/* Phone */
.feature-phone-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    position: relative;
}

.feature-phone-wrap::before {
    content: '';
    position: absolute;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(239,35,61,0.1) 0%, transparent 70%);
    animation: pulse-glow 3s ease-in-out infinite;
    pointer-events: none;
}

.phone-swipe-hint {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.2);
    letter-spacing: 0.08em;
    display: none;
}

/* ── PHONE MOCKUP ──────────────────────────── */
.phone {
    width: 240px;
    height: 500px;
    background: #13132a;
    border-radius: 44px;
    border: 2px solid rgba(255,255,255,0.09);
    position: relative;
    box-shadow:
        0 0 0 8px rgba(255,255,255,0.025),
        0 40px 100px rgba(0,0,0,0.65),
        inset 0 1px 0 rgba(255,255,255,0.06);
    overflow: hidden;
    transform-style: preserve-3d;
    will-change: transform;
}


.phone-panel {
    position: absolute;
    inset: 0;
    padding: 60px 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transform: translateY(14px) scale(0.97);
    transition: opacity 0.38s ease, transform 0.38s cubic-bezier(0.22,1,0.36,1);
    pointer-events: none;
}
.phone-panel.active {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}
.phone-panel--screenshot {
    padding: 0;
}
.phone-panel--screenshot img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}

/* Skeleton primitives */
.sk         { background: rgba(255,255,255,0.07); border-radius: 6px; }
.sk-accent  { background: rgba(239,35,61,0.22);   border-radius: 6px; }
.sk-card    { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.sk-card-accent { background: rgba(239,35,61,0.06); border: 1px solid rgba(239,35,61,0.14); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.sk-row     { display: flex; gap: 8px; align-items: center; }
.sk-icon    { width: 32px; height: 32px; border-radius: 9px; background: rgba(239,35,61,0.18); flex-shrink: 0; }
.sk-map     { height: 150px; background: rgba(239,35,61,0.06); border-radius: 12px; border: 1px solid rgba(239,35,61,0.1); display: flex; align-items: center; justify-content: center; }

/* ── PREMIUM ───────────────────────────────── */
.premium-band {
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, rgba(239,35,61,0.07) 0%, rgba(16,10,24,0.6) 55%);
    border-top: 1px solid rgba(239,35,61,0.1);
    border-bottom: 1px solid rgba(239,35,61,0.1);
    padding: 120px 48px;
    overflow: hidden;
}

.premium-band::before {
    content: '';
    position: absolute;
    top: -120px; right: -120px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(239,35,61,0.08) 0%, transparent 60%);
    pointer-events: none;
}

.premium-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 16px;
}

.premium-trial-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.68rem;
    font-weight: 700;
    color: #fff;
    background: var(--brand);
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 20px;
    letter-spacing: 0.04em;
}

/* Redesigned premium layout */
.prem-wrap {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 72px;
}

.prem-header {
    text-align: center;
}

.prem-header .premium-label { margin-bottom: 14px; }
.prem-header .premium-trial-badge { margin-bottom: 24px; }

.prem-heading {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 20px;
}

.prem-subhead {
    font-size: 1.05rem;
    color: var(--muted);
    line-height: 1.6;
}

.prem-showcase {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    gap: 0 48px;
    align-items: start;
}

.prem-divider {
    background: rgba(239,35,61,0.15);
    align-self: stretch;
}

.prem-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.prem-visual {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    position: relative;
    min-height: 320px;
}

.prem-card-glow {
    position: absolute;
    width: 280px; height: 280px;
    background: radial-gradient(circle, rgba(239,35,61,0.12) 0%, transparent 65%);
    animation: pulse-glow 3.5s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}

.prem-visual--phone .phone.premium-phone {
    height: 320px;
    position: relative;
    z-index: 1;
}

.premium-phone::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 40%;
    background: linear-gradient(to bottom, transparent, #13132a 85%);
    pointer-events: none;
    z-index: 2;
    border-radius: 0 0 42px 42px;
}

.prem-visual--carplay {
    align-items: center;
}

.prem-visual--carplay .carplay-screen {
    width: 100%;
    max-width: 440px;
    position: relative;
    z-index: 1;
}

.carplay-screen {
    aspect-ratio: 16 / 9;
    background: #0a0a0a;
    border-radius: 14px;
    border: 2px solid rgba(255,255,255,0.1);
    box-shadow:
        0 0 0 5px rgba(0,0,0,0.55),
        0 12px 48px rgba(0,0,0,0.55),
        0 0 80px rgba(239,35,61,0.07);
    overflow: hidden;
    position: relative;
}

.carplay-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.prem-info {
    text-align: center;
    max-width: 320px;
}

.prem-feature-name {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.prem-feature-desc {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.65;
    margin-bottom: 18px;
}

.prem-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.prem-checklist li {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.6);
    display: flex;
    align-items: center;
    gap: 8px;
}

.prem-checklist li::before {
    content: '';
    width: 16px; height: 16px;
    background: rgba(239,35,61,0.15);
    border: 1px solid rgba(239,35,61,0.3);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpolyline points='20 6 9 17 4 12' fill='none' stroke='%23ef233d' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: 11px;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

.prem-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
}

.prem-benefits li {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.55);
    display: flex;
    align-items: center;
    gap: 10px;
}

.prem-benefits li::before {
    content: '';
    width: 16px; height: 16px;
    background: rgba(239,35,61,0.15);
    border: 1px solid rgba(239,35,61,0.3);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpolyline points='20 6 9 17 4 12' fill='none' stroke='%23ef233d' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: 11px;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

.prem-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.prem-cta-btn {
    display: inline-block;
    padding: 16px 44px;
    background: var(--brand);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    border-radius: 100px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    box-shadow: 0 0 40px rgba(239,35,61,0.35), 0 4px 20px rgba(0,0,0,0.3);
    will-change: transform;
}

.prem-cta-btn:hover {
    background: #ff2244;
    box-shadow: 0 0 60px rgba(239,35,61,0.5), 0 8px 30px rgba(0,0,0,0.4);
    transform: translateY(-2px);
    color: #fff;
    text-decoration: none;
}

.prem-cta-note {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.3);
    letter-spacing: 0.04em;
}

/* ── CTA BAND ──────────────────────────────── */
.cta-band {
    position: relative;
    z-index: 2;
    background: var(--brand);
    overflow: hidden;
}

.cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 50% 110%, rgba(0,0,0,0.22) 0%, transparent 60%),
        radial-gradient(rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 100% 100%, 24px 24px;
    pointer-events: none;
}

.cta-inner {
    position: relative;
    text-align: center;
    padding: 100px 24px;
}

.cta-inner h2 {
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
    opacity: 0;
}

.cta-inner p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.72);
    margin-bottom: 40px;
    opacity: 0;
}

.cta-inner .magnetic { opacity: 0; }

.appstore-btn-dark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #000;
    color: #fff;
    text-decoration: none;
    padding: 14px 26px;
    border-radius: 14px;
    font-weight: 600;
    box-shadow: 0 4px 24px rgba(0,0,0,0.4);
    will-change: transform;
}

.appstore-btn-dark .appstore-btn-text { display: flex; flex-direction: column; text-align: left; }
.appstore-btn-dark .small { font-size: 0.6rem; letter-spacing: 0.03em; opacity: 0.6; line-height: 1; }
.appstore-btn-dark .large { font-size: 1rem; font-weight: 700; line-height: 1.3; }

/* ── FOOTER ────────────────────────────────── */
footer {
    position: relative;
    z-index: 2;
    border-top: 1px solid var(--border);
    padding: 32px 24px;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.15s;
}
.footer-links a:hover { color: var(--text); }

.footer-copy { font-size: 0.72rem; color: rgba(255,255,255,0.2); }
.footer-copy a { color: var(--brand); text-decoration: none; }
.footer-copy a:hover { color: var(--text); }

/* ── RESPONSIVE ────────────────────────────── */
@media (max-width: 768px) {
    body { cursor: auto; }
    #cursor, #cursor-trail { display: none; }
    #section-dots { display: none; }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-text { text-align: center; }
    .hero-visual { order: -1; }
    .hero-phone { width: 180px; height: 380px; }
    .hero-trust { text-align: center; }

    .feature-strip-inner { flex-wrap: wrap; gap: 10px 0; }
    .feature-pill { padding: 4px 16px; }
    .pill-divider { display: none; }

    .features-section { padding: 72px 24px; }
    .features-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .feature-phone-wrap { order: -1; }
    .phone-swipe-hint { display: block; }

    .premium-band { padding: 72px 24px; }
    .prem-wrap { gap: 48px; }
    .prem-showcase {
        grid-template-columns: 1fr;
        gap: 48px 0;
    }
    .prem-divider { display: none; }
    .prem-visual { min-height: 260px; }
    .prem-visual--phone .phone.premium-phone { height: 260px; }

    .phone { width: 200px; height: 420px; }
}
