/* Reset & Base */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --navy: #0A0E1A;
    --navy-medium: #1A1F2E;
    --navy-light: #12162A;
    --cyan: #00D4AA;
    --cyan-dim: rgba(0, 212, 170, 0.15);
    --white: #E8E8EC;
    --gray: #6B7280;
    --red: #CC3333;
    --night-bg: #1A0A0A;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--navy);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
@keyframes pulse { 0%, 100% { opacity: 0.6; } 50% { opacity: 1; } }
@keyframes dotDrift {
    0% { transform: translate(0, 0); }
    25% { transform: translate(5px, -8px); }
    50% { transform: translate(-3px, -4px); }
    75% { transform: translate(7px, 3px); }
    100% { transform: translate(0, 0); }
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.feature-card, .step, .unique-card, .problem-card, .solution-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.feature-card.visible, .step.visible, .unique-card.visible, .problem-card.visible, .solution-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    transition: all 0.3s ease;
}
.nav.scrolled {
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 12px 0;
}
.nav-container {
    max-width: 1140px;
    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: 18px;
    font-weight: 600;
    letter-spacing: 1px;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-links a {
    color: var(--gray);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-download-btn {
    background: var(--cyan) !important;
    color: var(--navy) !important;
    padding: 8px 20px !important;
    border-radius: 8px;
    font-weight: 600 !important;
}
.nav-download-btn:hover { opacity: 0.9; }

.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(--white);
    border-radius: 2px;
    transition: all 0.3s;
}
.mobile-menu-btn.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
    position: relative;
    overflow: hidden;
}
.hero-bg-dots {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(0,212,170,0.06) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(0,212,170,0.04) 0%, transparent 50%);
}
.hero-content {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}
.hero-badge {
    display: inline-block;
    background: var(--cyan-dim);
    color: var(--cyan);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}
.hero h1 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--white) 0%, var(--cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 17px;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 480px;
}
.hero-actions { display: flex; gap: 16px; margin-bottom: 16px; }
.hero-meta { font-size: 13px; color: var(--gray); }

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--cyan);
    color: var(--navy);
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,212,170,0.3); }
.btn-primary.large { padding: 18px 36px; font-size: 17px; border-radius: 14px; }
.btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.15);
    transition: all 0.2s;
}
.btn-secondary:hover { border-color: var(--cyan); color: var(--cyan); }

/* Phone Mockup - Hero */
.hero-phone { display: flex; justify-content: center; }
.phone-frame {
    width: 280px;
    height: 560px;
    background: #1a1a2e;
    border-radius: 36px;
    padding: 12px;
    border: 2px solid rgba(255,255,255,0.1);
    box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05);
    animation: float 6s ease-in-out infinite;
}
.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--navy);
    border-radius: 26px;
    overflow: hidden;
    position: relative;
}
.mock-app { width: 100%; height: 100%; position: relative; padding: 20px 16px; }
.mock-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.mock-title {
    color: rgba(232,232,236,0.85);
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 2px;
}
.mock-icons { display: flex; gap: 8px; }
.mock-icon { width: 18px; height: 18px; border-radius: 50%; background: rgba(107,114,128,0.4); }
.mock-dots-area { position: absolute; inset: 0; pointer-events: none; }
.mock-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #000;
    border: 1.5px solid rgba(0,0,0,0.8);
    box-shadow: 0 0 0 2px rgba(255,255,255,0.3);
    animation: dotDrift 8s ease-in-out infinite;
}
.mock-dot.d1 { top: 15%; left: 5%; animation-delay: 0s; }
.mock-dot.d2 { top: 35%; left: 8%; animation-delay: 1.2s; }
.mock-dot.d3 { top: 55%; left: 3%; animation-delay: 0.6s; }
.mock-dot.d4 { top: 75%; left: 6%; animation-delay: 1.8s; }
.mock-dot.d5 { top: 20%; right: 5%; animation-delay: 0.4s; }
.mock-dot.d6 { top: 40%; right: 7%; animation-delay: 1.5s; }
.mock-dot.d7 { top: 60%; right: 4%; animation-delay: 0.9s; }
.mock-dot.d8 { top: 80%; right: 6%; animation-delay: 2.1s; }
.mock-dot.d9 { top: 5%; left: 30%; animation-delay: 0.3s; }
.mock-dot.d10 { top: 5%; right: 30%; animation-delay: 1.7s; }
.mock-dot.d11 { bottom: 8%; left: 25%; animation-delay: 0.7s; }
.mock-dot.d12 { bottom: 8%; right: 25%; animation-delay: 1.1s; }
.mock-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}
.mock-status {
    color: var(--cyan);
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 12px;
}
.mock-play-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    animation: pulse 3s ease-in-out infinite;
}
.mock-hint { color: var(--gray); font-size: 10px; }

/* Problem / Solution */
.problem-section { padding: 80px 0; }
.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.problem-card, .solution-card {
    padding: 32px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.06);
}
.problem-card { background: rgba(204, 51, 51, 0.05); border-color: rgba(204, 51, 51, 0.15); }
.solution-card { background: rgba(0, 212, 170, 0.05); border-color: rgba(0, 212, 170, 0.15); }
.problem-icon, .solution-icon { margin-bottom: 16px; }
.problem-card h3, .solution-card h3 { font-size: 18px; margin-bottom: 10px; }
.problem-card p, .solution-card p { color: var(--gray); font-size: 15px; }

/* Features */
.features { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    margin-bottom: 12px;
}
.section-header p { color: var(--gray); font-size: 16px; }
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.feature-card {
    background: var(--navy-light);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.06);
    transition: all 0.3s;
}
.feature-card:hover {
    border-color: rgba(0,212,170,0.2);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--cyan-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--cyan);
}
.feature-card h3 { font-size: 16px; margin-bottom: 10px; }
.feature-card p { color: var(--gray); font-size: 14px; line-height: 1.6; }

/* How It Works */
.how-it-works {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--navy) 0%, var(--navy-light) 50%, var(--navy) 100%);
}
.steps-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 60px;
}
.step {
    text-align: center;
    padding: 32px;
    background: var(--navy-medium);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.06);
    flex: 1;
    max-width: 280px;
}
.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--cyan);
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    margin: 0 auto 16px;
}
.step h3 { font-size: 16px; margin-bottom: 10px; }
.step p { color: var(--gray); font-size: 14px; }
.step-arrow { color: var(--cyan); flex-shrink: 0; }

.science-box {
    background: var(--navy-medium);
    border: 1px solid rgba(0,212,170,0.15);
    border-radius: 16px;
    padding: 32px;
    max-width: 800px;
    margin: 0 auto;
}
.science-box h3 {
    color: var(--cyan);
    font-size: 16px;
    margin-bottom: 12px;
}
.science-box p { color: var(--gray); font-size: 15px; line-height: 1.7; }

/* Screenshots */
.screenshots { padding: 100px 0; }
.screenshots-scroll {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}
.screenshots-scroll::-webkit-scrollbar { height: 6px; }
.screenshots-scroll::-webkit-scrollbar-track { background: var(--navy-medium); border-radius: 3px; }
.screenshots-scroll::-webkit-scrollbar-thumb { background: var(--gray); border-radius: 3px; }

.screenshot-phone {
    flex-shrink: 0;
    scroll-snap-align: center;
    text-align: center;
}
.screenshot-label { color: var(--gray); font-size: 13px; margin-top: 12px; }
.phone-frame-sm {
    width: 200px;
    height: 400px;
    background: #1a1a2e;
    border-radius: 28px;
    padding: 8px;
    border: 2px solid rgba(255,255,255,0.08);
}
.phone-screen-sm {
    width: 100%;
    height: 100%;
    background: var(--navy);
    border-radius: 22px;
    overflow: hidden;
}
.phone-screen-sm.ss-night { background: var(--night-bg); }

/* Screenshot Mocks */
.ss-splash {
    width: 100%; height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.ss-app-name { color: var(--cyan); font-size: 22px; font-weight: 300; letter-spacing: 4px; }
.ss-tagline { color: var(--gray); font-size: 10px; }

.ss-main { width: 100%; height: 100%; position: relative; padding: 14px 10px; }
.ss-header { display: flex; justify-content: space-between; }
.ss-header span { color: rgba(232,232,236,0.8); font-size: 11px; font-weight: 300; letter-spacing: 1.5px; }
.ss-header.night span { color: rgba(232,232,236,0.6); }
.ss-dots-scattered { position: absolute; inset: 0; }
.ss-dot {
    position: absolute;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #000;
    box-shadow: 0 0 0 1.5px rgba(255,255,255,0.3);
    animation: dotDrift 7s ease-in-out infinite;
}
.ss-dot.night { background: var(--red); box-shadow: 0 0 0 1.5px rgba(255,255,255,0.2); }
.ss-dot.sd1 { top: 18%; left: 6%; animation-delay: 0s; }
.ss-dot.sd2 { top: 38%; left: 8%; animation-delay: 0.8s; }
.ss-dot.sd3 { top: 58%; left: 5%; animation-delay: 1.6s; }
.ss-dot.sd4 { top: 78%; left: 7%; animation-delay: 0.4s; }
.ss-dot.sd5 { top: 22%; right: 6%; animation-delay: 1.2s; }
.ss-dot.sd6 { top: 48%; right: 8%; animation-delay: 2s; }
.ss-dot.sd7 { top: 68%; right: 5%; animation-delay: 0.6s; }
.ss-dot.sd8 { top: 88%; right: 7%; animation-delay: 1.4s; }
.ss-center-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}
.ss-status-text { color: var(--cyan); font-size: 10px; margin-bottom: 8px; }
.ss-status-text.night { color: var(--red); }
.ss-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--cyan);
    margin: 0 auto 6px;
}
.ss-btn.night { background: var(--red); }
.ss-tap-text { color: var(--gray); font-size: 8px; }

.ss-settings {
    padding: 16px 12px;
    height: 100%;
    overflow: hidden;
}
.ss-settings-title { color: var(--white); font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.ss-setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
}
.ss-setting-item span { color: var(--white); font-size: 9px; }
.ss-slider {
    width: 60px;
    height: 4px;
    background: var(--navy-medium);
    border-radius: 2px;
    position: relative;
}
.ss-slider-fill {
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 50%;
    background: var(--cyan);
    border-radius: 2px;
}
.ss-slider-fill.wide { width: 85%; }
.ss-toggle {
    width: 28px;
    height: 14px;
    border-radius: 7px;
    background: var(--navy-medium);
    position: relative;
}
.ss-toggle::after {
    content: '';
    position: absolute;
    top: 2px; left: 2px;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--gray);
    transition: all 0.2s;
}
.ss-toggle.on { background: rgba(0,212,170,0.3); }
.ss-toggle.on::after { left: 16px; background: var(--cyan); }
.ss-divider {
    height: 1px;
    background: var(--navy-medium);
    margin: 8px 0;
}
.ss-pro {
    background: var(--cyan-dim);
    color: var(--cyan) !important;
    padding: 1px 5px;
    border-radius: 3px;
    font-size: 7px !important;
    font-weight: 700;
}

.ss-premium {
    padding: 16px 12px;
    height: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.ss-star { color: var(--cyan); font-size: 28px; }
.ss-premium-title { color: var(--white); font-size: 14px; font-weight: 300; letter-spacing: 1px; }
.ss-premium-sub { color: var(--gray); font-size: 9px; }
.ss-feature-list { text-align: left; margin: 10px 0; }
.ss-feat { color: var(--white); font-size: 8px; padding: 3px 0; }
.ss-upgrade-btn {
    background: var(--cyan);
    color: var(--navy);
    padding: 6px 16px;
    border-radius: 8px;
    font-size: 9px;
    font-weight: 600;
    margin-top: 6px;
}

/* Unique Features */
.unique-features { padding: 100px 0; }
.unique-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.unique-card {
    background: var(--navy-light);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.06);
    transition: all 0.3s;
}
.unique-card:hover { border-color: rgba(0,212,170,0.2); }
.unique-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--cyan);
    opacity: 0.3;
    margin-bottom: 12px;
}
.unique-card h3 { font-size: 16px; margin-bottom: 10px; }
.unique-card p { color: var(--gray); font-size: 14px; line-height: 1.6; }
.unique-card strong { color: var(--white); }

/* Pricing */
.pricing { padding: 100px 0; }
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.pricing-card {
    background: var(--navy-medium);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    position: relative;
    transition: all 0.3s;
}
.pricing-card:hover { border-color: rgba(0,212,170,0.2); transform: translateY(-4px); }
.pricing-card.highlighted {
    border-color: var(--cyan);
    background: linear-gradient(135deg, var(--navy-medium) 0%, rgba(0,212,170,0.05) 100%);
}
.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--cyan);
    color: var(--navy);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    text-transform: uppercase;
}
.pricing-name { font-size: 18px; font-weight: 600; margin-bottom: 12px; }
.pricing-price { font-size: 36px; font-weight: 700; color: var(--cyan); }
.pricing-period { color: var(--gray); font-size: 14px; margin-bottom: 20px; }
.pricing-features {
    list-style: none;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.pricing-features li {
    color: var(--gray);
    font-size: 14px;
    padding-left: 20px;
    position: relative;
}
.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--cyan);
    font-weight: 700;
}
@media (max-width: 768px) {
    .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
}

/* Download CTA */
.download-cta { padding: 100px 0; }
.download-box {
    background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy-medium) 100%);
    border: 1px solid rgba(0,212,170,0.15);
    border-radius: 24px;
    padding: 60px;
    text-align: center;
}
.download-box h2 { font-size: clamp(24px, 3vw, 36px); margin-bottom: 12px; }
.download-box > p { color: var(--gray); font-size: 16px; margin-bottom: 32px; }
.download-meta { color: var(--gray); font-size: 13px; margin-top: 16px; }
.coming-soon {
    color: var(--cyan);
    font-size: 14px;
    font-weight: 500;
    margin-top: 12px;
    opacity: 0.85;
}
.install-note {
    background: var(--navy);
    border-radius: 12px;
    padding: 24px;
    margin-top: 32px;
    text-align: left;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.install-note h4 { color: var(--white); font-size: 14px; margin-bottom: 12px; }
.install-note ol {
    color: var(--gray);
    font-size: 13px;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Footer */
.footer {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 48px 0;
}
.footer-content { text-align: center; }
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}
.footer-disclaimer {
    color: var(--gray);
    font-size: 12px;
    max-width: 600px;
    margin: 0 auto 16px;
    line-height: 1.6;
}
.footer-links { margin-bottom: 16px; }
.footer-links a {
    color: var(--cyan);
    text-decoration: none;
    font-size: 14px;
}
.footer-links a:hover { text-decoration: underline; }
.footer-copy { color: var(--gray); font-size: 12px; opacity: 0.6; }

/* Responsive */
@media (max-width: 900px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-subtitle { max-width: 100%; margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-phone { order: -1; }
    .phone-frame { width: 220px; height: 440px; }
    .features-grid, .unique-grid { grid-template-columns: repeat(2, 1fr); }
    .problem-grid { grid-template-columns: 1fr; }
    .steps-grid { flex-direction: column; }
    .step-arrow { transform: rotate(90deg); }
    .step { max-width: 100%; }
}

@media (max-width: 640px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10,14,26,0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    .nav-links.open { display: flex; }
    .mobile-menu-btn { display: flex; }
    .features-grid, .unique-grid { grid-template-columns: 1fr; }
    .hero { padding-top: 80px; }
    .phone-frame { width: 200px; height: 400px; }
    .download-box { padding: 32px 20px; }
    .hero-actions { flex-direction: column; align-items: center; }
    .screenshots-scroll { gap: 16px; }
}
