/* ============================================
   ShotGain Landing Page — Design System
   Premium Dark Theme / Sports Analytics
   ============================================ */

/* CSS Custom Properties */
:root {
    --bg: #0A0E17;
    --bg-surface: #141B2D;
    --bg-raised: #1C2540;
    --border: #2A3555;
    --border-light: rgba(42, 53, 85, 0.5);

    --primary: #00D4AA;
    --primary-dim: rgba(0, 212, 170, 0.15);
    --primary-glow: rgba(0, 212, 170, 0.3);
    --primary-dark: #00A888;

    --blue: #3498FF;
    --blue-dim: rgba(52, 152, 255, 0.15);

    --purple: #A855F7;
    --purple-dim: rgba(168, 85, 247, 0.15);
    --purple-glow: rgba(168, 85, 247, 0.3);

    --danger: #FF4757;
    --warning: #FFA502;

    --text: #FFFFFF;
    --text-secondary: #8892B0;
    --text-muted: #4A5568;

    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-round: 999px;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(0, 212, 170, 0.2);

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-primary { color: var(--primary); }
.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.text-gradient-purple {
    background: linear-gradient(135deg, var(--purple), #E879F9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font);
    font-weight: 600;
    border: none;
    border-radius: var(--radius-round);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: #0A0E17;
    padding: 14px 28px;
    font-size: 15px;
    box-shadow: 0 4px 20px rgba(0, 212, 170, 0.3);
}
.btn-primary:hover {
    background: #00E8BC;
    box-shadow: 0 6px 30px rgba(0, 212, 170, 0.5);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    padding: 14px 28px;
    font-size: 15px;
    border: 2px solid var(--border);
}
.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-xl { padding: 20px 40px; font-size: 18px; }

/* Section Styling */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-dim);
    color: var(--primary);
    border-radius: var(--radius-round);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
    border: 1px solid var(--primary-glow);
}

.tag-mystery {
    background: var(--purple-dim);
    color: var(--purple);
    border-color: var(--purple-glow);
}

.section-header h2 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   NAVIGATION
   ============================================ */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition);
    background: transparent;
}

#navbar.scrolled {
    background: rgba(10, 14, 23, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    padding: 10px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1px;
}

.nav-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition);
}
.nav-links a:hover { color: var(--text); }
.nav-links .btn { color: #0A0E17; }

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: all var(--transition);
    border-radius: 2px;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
}
.mobile-nav.open { display: flex; }
.mobile-nav a { font-size: 16px; font-weight: 500; }

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
}

.hero-glow-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -200px;
    right: -100px;
    opacity: 0.12;
}

.hero-glow-2 {
    width: 500px;
    height: 500px;
    background: var(--blue);
    bottom: -100px;
    left: -200px;
    opacity: 0.08;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(42, 53, 85, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(42, 53, 85, 0.15) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, black 20%, transparent 70%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--primary-dim);
    border: 1px solid var(--primary-glow);
    border-radius: var(--radius-round);
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
    animation: pulse-border 2s ease-in-out infinite;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

@keyframes pulse-border {
    0%, 100% { border-color: var(--primary-glow); }
    50% { border-color: var(--primary); }
}

.hero h1 {
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -2px;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 19px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-subtitle strong { color: var(--primary); font-weight: 600; }

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-cta-micro {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: -4px;
    width: 100%;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 28px;
}

.hero-stat-value {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.5px;
}

.hero-stat-label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* Hero Visual / Phone Mockup */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    position: relative;
    max-width: 420px;
    animation: float 6s ease-in-out infinite;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 32px;
    box-shadow: var(--shadow-lg);
    opacity: 1;
    visibility: visible;
}

.phone-glow {
    position: absolute;
    inset: -40px;
    background: radial-gradient(ellipse at center, rgba(0, 212, 170, 0.15), transparent 70%);
    z-index: -1;
    border-radius: 50%;
}

/* Phone Frame Fallback — hidden by default, shown only when hero image fails */
.phone-frame-fallback {
    background: linear-gradient(160deg, #0f1525, #141b2d);
    border: 2px solid var(--border);
    border-radius: 32px;
    padding: 20px 18px 16px;
    display: none;
    flex-direction: column;
    gap: 12px;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), var(--shadow-lg);
    min-height: 520px;
    max-width: 280px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.pf-notch {
    width: 100px;
    height: 6px;
    background: var(--border);
    border-radius: 4px;
    margin: 0 auto 8px;
}

.pf-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: rgba(0, 212, 170, 0.08);
    border: 1px solid var(--primary-glow);
    border-radius: var(--radius-sm);
}

.pf-hole {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
}

.pf-dist {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
}

.pf-recommendation {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--primary-dim);
    border: 1px solid var(--primary-glow);
    border-radius: var(--radius-md);
}

.pf-club {
    font-size: 24px;
    font-weight: 900;
    color: var(--primary);
}

.pf-sg {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

.pf-dispersion {
    position: relative;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.pf-ellipse {
    width: 120px;
    height: 70px;
    border: 2px solid rgba(0, 212, 170, 0.4);
    border-radius: 50%;
    position: relative;
    animation: pulse-ellipse 3s ease-in-out infinite;
}

.pf-ellipse::after {
    content: '';
    position: absolute;
    inset: 12px;
    border: 1px dashed rgba(0, 212, 170, 0.25);
    border-radius: 50%;
}

@keyframes pulse-ellipse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

.pf-target {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--primary-glow);
}

.pf-bar-chart {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 10px;
    height: 80px;
    padding: 0 8px;
    flex: 1;
}

.pf-bar {
    flex: 1;
    height: var(--h, 50%);
    background: linear-gradient(180deg, var(--primary), var(--primary-dark));
    border-radius: 4px 4px 0 0;
    position: relative;
    max-width: 40px;
    transition: height 0.6s ease;
}

.pf-bar-neg {
    background: linear-gradient(180deg, var(--danger), #cc3844);
}

.pf-bar span {
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 600;
    white-space: nowrap;
}

.pf-nav-dots {
    display: flex;
    gap: 6px;
    justify-content: center;
    padding-top: 8px;
}

.pf-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--border);
}

.pf-dot-active {
    background: var(--primary);
    width: 18px;
    border-radius: 3px;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-16px); }
}

/* Floating Cards */
.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(20, 27, 45, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    z-index: 3;
    animation: float-card 5s ease-in-out infinite;
}

.floating-card-1 { top: 10%; right: -10%; animation-delay: 0s; }
.floating-card-2 { bottom: 25%; left: -5%; animation-delay: 1.5s; }
.floating-card-3 { bottom: 5%; right: 0%; animation-delay: 3s; }

@keyframes float-card {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.fc-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
}
.fc-positive { background: var(--primary-dim); color: var(--primary); }
.fc-info { background: var(--blue-dim); color: var(--blue); }
.fc-warning { background: rgba(255, 165, 2, 0.15); color: var(--warning); }

.fc-value {
    display: block;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.5px;
}
.fc-label {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.5;
    animation: fade-in-up 1s ease 1.5s both;
}

.hero-scroll-indicator span {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--text-secondary);
    border-bottom: 2px solid var(--text-secondary);
    transform: rotate(45deg);
    animation: bounce-arrow 2s ease-in-out infinite;
}

@keyframes bounce-arrow {
    0%, 100% { transform: rotate(45deg) translate(0, 0); }
    50% { transform: rotate(45deg) translate(4px, 4px); }
}

@keyframes fade-in-up {
    from { opacity: 0; transform: translateX(-50%) translateY(20px); }
    to { opacity: 0.5; transform: translateX(-50%) translateY(0); }
}

/* ============================================
   SOCIAL PROOF BAR
   ============================================ */
.social-proof {
    padding: 40px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    background: var(--bg-surface);
}

.proof-items {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.proof-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.proof-number {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--primary);
}

.proof-text {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
    padding: 120px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--blue));
    opacity: 0;
    transition: opacity var(--transition);
}

.feature-card:hover {
    border-color: var(--primary-glow);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.feature-card:hover::before { opacity: 1; }

.feature-card-large {
    grid-column: span 3;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: center;
}

.feature-card-large .feature-card-text {
    display: flex;
    flex-direction: column;
}

.feature-icon-wrap {
    margin-bottom: 20px;
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-dim);
    border: 1px solid var(--primary-glow);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

/* ---- Feature Mini Visualizations ---- */
.fmv {
    margin-top: 20px;
    padding: 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

/* SG Bar Chart */
.fmv-bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}
.fmv-bar-row:last-child { margin-bottom: 0; }
.fmv-bar-label {
    width: 64px;
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 600;
    text-align: right;
}
.fmv-bar-track {
    flex: 1;
    height: 8px;
    background: rgba(255,255,255,0.06);
    border-radius: 4px;
    overflow: hidden;
}
.fmv-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.6s ease;
}
.fmv-bar-fill.fmv-pos { background: var(--primary); }
.fmv-bar-fill.fmv-neg { background: var(--danger); }
.fmv-bar-val {
    width: 44px;
    font-size: 13px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.fmv-bar-val.fmv-pos { color: var(--primary); }
.fmv-bar-val.fmv-neg { color: var(--danger); }

/* Simulator Bridge */
.fmv-bridge {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: center;
}
.fmv-monitors {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.fmv-brand {
    padding: 4px 10px;
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
}
.fmv-arrow {
    font-size: 24px;
    color: var(--primary);
    animation: pulse-arrow 2s ease-in-out infinite;
}
@keyframes pulse-arrow {
    0%, 100% { opacity: 0.5; transform: translateX(0); }
    50% { opacity: 1; transform: translateX(4px); }
}
.fmv-phone {
    padding: 8px 14px;
    background: var(--primary-dim);
    border: 1px solid var(--primary-glow);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
}

/* AI Caddy Comparison */
.fmv-caddy {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.fmv-club-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: var(--bg-raised);
    border: 1px solid var(--primary-glow);
    border-radius: 8px;
}
.fmv-club-option.fmv-club-alt {
    border-color: var(--border);
    opacity: 0.7;
}
.fmv-club-name {
    font-weight: 700;
    font-size: 14px;
    color: var(--text);
    width: 70px;
}
.fmv-club-sg {
    font-size: 14px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--text-secondary);
}
.fmv-club-sg.fmv-pos { color: var(--primary); }
.fmv-club-sg.fmv-neg { color: var(--text-muted); }
.fmv-badge-rec {
    margin-left: auto;
    padding: 3px 8px;
    background: var(--primary-dim);
    border: 1px solid var(--primary);
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Dispersion Ellipse */
.fmv-dispersion {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.fmv-ellipse-outer {
    position: relative;
    width: 160px;
    height: 100px;
    border: 1px dashed rgba(255,255,255,0.15);
    border-radius: 50%;
}
.fmv-ellipse-inner {
    position: absolute;
    top: 20%;
    left: 20%;
    width: 60%;
    height: 60%;
    border: 1px solid var(--primary-glow);
    border-radius: 50%;
    background: var(--primary-dim);
}
.fmv-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 4px var(--primary-glow);
}
.fmv-crosshair-h, .fmv-crosshair-v {
    position: absolute;
    background: rgba(255,255,255,0.08);
}
.fmv-crosshair-h {
    top: 50%;
    left: 10%;
    width: 80%;
    height: 1px;
}
.fmv-crosshair-v {
    left: 50%;
    top: 10%;
    width: 1px;
    height: 80%;
}
.fmv-disp-stats {
    display: flex;
    gap: 16px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    font-variant-numeric: tabular-nums;
}

/* Privacy Checklist */
.fmv-privacy {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.fmv-check-row {
    font-size: 13px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}
.fmv-check {
    font-size: 14px;
}

.feature-visual {
    overflow: hidden;
    position: relative;
}

.feature-visual img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    opacity: 1;
    visibility: visible;
}

/* Fallback UI — hidden by default, shown only when feature image fails */
.feature-visual-fallback {
    display: none;
    z-index: 1;
    background: linear-gradient(145deg, var(--bg), var(--bg-raised));
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    flex-direction: column;
    gap: 16px;
}

.fvf-icon {
    font-size: 32px;
    margin-bottom: 4px;
}

.fvf-lines {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fvf-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: 14px;
}

.fvf-rank {
    font-weight: 800;
    color: var(--primary);
    min-width: 24px;
    font-size: 13px;
}

.fvf-label {
    flex: 1;
    color: var(--text-secondary);
    font-weight: 500;
}

.fvf-sg {
    font-weight: 700;
    font-size: 13px;
    font-family: 'SF Mono', 'Fira Code', monospace;
}

.fvf-neg { color: var(--danger); }
.fvf-pos { color: var(--primary); }

.fvf-caption {
    font-size: 11px;
    color: var(--text-muted);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-top: auto;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works {
    padding: 120px 0;
    background: var(--bg-surface);
}

.steps {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.step {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    position: relative;
}

.step-number {
    font-size: 56px;
    font-weight: 900;
    background: linear-gradient(180deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    min-width: 80px;
}

.step-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.step-content p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.7;
}

.step-line {
    position: absolute;
    left: 40px;
    top: 72px;
    bottom: -48px;
    width: 2px;
    background: linear-gradient(180deg, var(--primary-glow), transparent);
}

/* ============================================
   STEALTH MODE SECTION
   ============================================ */
.stealth-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.stealth-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.stealth-glow {
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: var(--purple);
    filter: blur(200px);
    opacity: 0.06;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.stealth-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.stealth-subtitle {
    font-size: 19px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
}

.stealth-section h2 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.stealth-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.stealth-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.sf-icon {
    width: 44px;
    height: 44px;
    background: var(--purple-dim);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.stealth-feature strong {
    display: block;
    font-size: 16px;
    margin-bottom: 2px;
}

.stealth-feature span {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.stealth-visual {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.stealth-image {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    width: 100%;
}

.stealth-overlay {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-md);
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.vibration-indicator {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 28px;
}

.vib-bar {
    width: 4px;
    background: var(--purple);
    border-radius: 2px;
    animation: vib-pulse 1.5s ease-in-out infinite;
}
.vib-1 { height: 8px; animation-delay: 0s; }
.vib-2 { height: 18px; animation-delay: 0.15s; }
.vib-3 { height: 28px; animation-delay: 0.3s; }
.vib-4 { height: 14px; animation-delay: 0.45s; }
.vib-5 { height: 10px; animation-delay: 0.6s; }

@keyframes vib-pulse {
    0%, 100% { opacity: 0.4; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}

.stealth-badge {
    font-size: 13px;
    font-weight: 700;
    color: var(--purple);
    letter-spacing: 2px;
    animation: stealth-blink 2s ease-in-out infinite;
}

@keyframes stealth-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* ============================================
   COMPARISON TABLE
   ============================================ */
.comparison {
    padding: 120px 0;
    background: var(--bg-surface);
}

.comparison-table-wrap {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.comparison-table th,
.comparison-table td {
    padding: 18px 24px;
    text-align: center;
    border-bottom: 1px solid var(--border-light);
}

.comparison-table th {
    background: var(--bg-raised);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
}

.comparison-table td:first-child,
.comparison-table th:first-child {
    text-align: left;
    font-weight: 600;
}

.comp-highlight {
    background: rgba(0, 212, 170, 0.05) !important;
    color: var(--primary) !important;
    font-weight: 700 !important;
    border-left: 1px solid var(--primary-glow);
    border-right: 1px solid var(--primary-glow);
}

.comparison-table th.comp-highlight {
    background: var(--primary-dim) !important;
    color: var(--primary) !important;
    border-top: 2px solid var(--primary);
}

.comparison-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
    padding: 120px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition);
}

.testimonial-card:hover {
    border-color: var(--primary-glow);
    transform: translateY(-4px);
}

.testimonial-stars {
    color: var(--warning);
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.testimonial-card p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    color: #0A0E17;
}

.testimonial-author strong {
    display: block;
    font-size: 15px;
}

.testimonial-author span {
    font-size: 13px;
    color: var(--text-muted);
}

/* ============================================
   WAITLIST SECTION
   ============================================ */
.waitlist-section {
    padding: 80px 0;
}

.waitlist-card {
    background: linear-gradient(135deg, var(--bg-surface), var(--bg-raised));
    border: 2px solid var(--primary-glow);
    border-radius: var(--radius-xl);
    padding: 64px;
    text-align: center;
    position: relative;
    box-shadow: 0 0 60px rgba(0, 212, 170, 0.08), var(--shadow-lg);
}

.waitlist-urgency-banner {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(255, 165, 2, 0.1);
    border: 1px solid rgba(255, 165, 2, 0.3);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--warning);
    margin-bottom: 24px;
    animation: pulse-border-urgency 2s ease-in-out infinite;
}
.waitlist-urgency-banner strong { color: #FFD700; }
.urgency-pulse {
    width: 8px; height: 8px;
    background: var(--warning);
    border-radius: 50%;
    animation: pulse-dot 1.5s ease-in-out infinite;
}
@keyframes pulse-border-urgency {
    0%, 100% { border-color: rgba(255, 165, 2, 0.3); }
    50% { border-color: rgba(255, 165, 2, 0.7); }
}

.waitlist-card h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.2;
}

.waitlist-card > div > p {
    color: var(--text-secondary);
    font-size: 17px;
    margin-bottom: 32px;
}

.waitlist-form .form-group {
    display: flex;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto 16px;
}

.waitlist-form input {
    flex: 1;
    padding: 16px 20px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-round);
    color: var(--text);
    font-family: var(--font);
    font-size: 15px;
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.waitlist-form input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-dim);
}

.waitlist-form input::placeholder {
    color: var(--text-muted);
}

.platform-label {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.platform-toggle {
    display: flex;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto 20px;
}

.platform-option {
    flex: 1;
    cursor: pointer;
}

.platform-option input[type="radio"] {
    display: none;
}

.platform-card {
    padding: 24px 16px;
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    color: var(--text-secondary);
    transition: all 0.25s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
}

.platform-card:hover {
    border-color: var(--primary-glow);
    color: var(--text);
    background: rgba(0, 212, 170, 0.04);
    transform: translateY(-2px);
}

/* When radio is checked, highlight the card */
.platform-option input[type="radio"]:checked + .platform-card {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-dim);
    box-shadow: 0 0 12px var(--primary-glow);
    transform: translateY(-2px);
}

.platform-option input[type="radio"]:checked + .platform-card::after {
    content: '✓';
    position: absolute;
    top: 8px;
    right: 10px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary);
    color: #0A0E17;
    font-size: 13px;
    font-weight: 900;
    line-height: 22px;
    text-align: center;
}

.platform-emoji {
    font-size: 36px;
    line-height: 1;
}
.platform-name {
    font-size: 16px;
    font-weight: 700;
}

.form-submit-wrap {
    max-width: 480px;
    margin: 0 auto 14px;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.form-note {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

.hero-cta-micro {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 8px;
    font-weight: 500;
}

.form-field { flex: 1; text-align: left; }
.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
    padding-left: 4px;
}

.form-trust-signals {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 12px;
}
.trust-item {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.form-social-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
}
.form-proof-avatars { display: flex; }
.fpa {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--bg-raised);
    border: 2px solid var(--bg-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    margin-right: -8px;
}
.fpa-more {
    background: var(--primary-dim);
    border-color: var(--primary-glow);
    font-size: 14px;
}
.form-proof-text {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
    text-align: left;
}

.cta-risk-reversal {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}
.cta-dot { color: var(--border); }

.waitlist-success {
    padding: 16px;
    background: var(--primary-dim);
    border: 1px solid var(--primary-glow);
    border-radius: var(--radius-md);
    color: var(--primary);
    font-weight: 600;
    max-width: 480px;
    margin: 0 auto;
}

/* ============================================
   FINAL CTA
   ============================================ */
.final-cta {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.final-cta-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(150px);
}
.cta-glow-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -100px;
    left: 30%;
    opacity: 0.1;
}
.cta-glow-2 {
    width: 400px;
    height: 400px;
    background: var(--blue);
    bottom: -100px;
    right: 30%;
    opacity: 0.08;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 19px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.cta-buttons {
    margin-bottom: 16px;
}

.cta-free {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 64px 0 32px;
    border-top: 1px solid var(--border-light);
    background: var(--bg-surface);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand {
    max-width: 280px;
}

.footer-brand span {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1px;
}

.footer-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: 12px;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 64px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.footer-col a {
    font-size: 14px;
    color: var(--text-muted);
    transition: color var(--transition);
}
.footer-col a:hover { color: var(--primary); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
    font-size: 13px;
    color: var(--text-muted);
}

/* ============================================
   ANIMATIONS (Scroll Triggered)
   ============================================ */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* Feature cards don't use data-animate — images are always visible */

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-cta { justify-content: center; }
    .hero-stats { justify-content: center; }

    .hero-visual { order: -1; }
    .phone-mockup { max-width: 320px; }
    .floating-card { display: none; }

    .feature-card-large {
        grid-column: span 3;
        grid-template-columns: 1fr;
    }

    .feature-visual {
        min-height: auto;
    }

    .phone-frame-fallback {
        max-width: 260px;
        min-height: 440px;
        padding: 16px 14px 12px;
    }

    .stealth-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .stealth-visual { order: -1; max-width: 500px; margin: 0 auto; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: flex; }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card-large { grid-column: span 1; }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .waitlist-card { padding: 40px 24px; }

    .waitlist-form .form-group {
        flex-direction: column;
    }

    .platform-toggle {
        flex-direction: row;
        gap: 6px;
    }

    .platform-btn {
        padding: 10px 8px;
        font-size: 13px;
    }

    .feature-visual-fallback {
        padding: 20px 16px;
    }

    .fvf-row {
        padding: 8px 10px;
        font-size: 13px;
        gap: 8px;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-links { gap: 32px; }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .comparison-table { font-size: 13px; }
    .comparison-table th,
    .comparison-table td { padding: 12px 14px; }

    .proof-items { gap: 24px; }

    .step { flex-direction: column; gap: 12px; }
    .step-number { font-size: 36px; }
    .step-line { display: none; }
}

@media (max-width: 480px) {
    .hero { padding: 100px 0 60px; min-height: auto; }
    .hero h1 { letter-spacing: -1px; }
    .hero-stats { flex-direction: column; gap: 16px; }
    .hero-stat-divider { width: 40px; height: 1px; }
    .hero-scroll-indicator { display: none; }

    .phone-frame-fallback {
        max-width: 240px;
        min-height: 400px;
        padding: 14px 12px 10px;
        gap: 8px;
    }

    .pf-dispersion { height: 90px; }
    .pf-ellipse { width: 90px; height: 52px; }
    .pf-bar-chart { height: 60px; }
    .pf-recommendation { padding: 10px 12px; }
    .pf-club { font-size: 20px; }

    .fvf-row { flex-wrap: wrap; }
    .fvf-sg { margin-left: auto; }

    .platform-btn .platform-icon { display: none; }
}

/* ============================================
   FLEXBOX GAP FALLBACKS (Safari < 14.1)
   ============================================ */
@supports not (gap: 1px) {
    .nav-links > * + * { margin-left: 32px; }
    .hero-stats > * + * { margin-left: 28px; }
    .hero-cta > * + * { margin-left: 16px; }
    .proof-items > * + * { margin-left: 48px; }
    .platform-toggle > * + * { margin-left: 8px; }
    .waitlist-form .form-group > * + * { margin-left: 12px; }
    .footer-links > * + * { margin-left: 64px; }
}
