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

:root {
    --bg:         #0b0f1a;
    --bg-card:    #131929;
    --bg-card2:   #1a2236;
    --accent:     #e84040;
    --accent-dim: #b03030;
    --text:       #f0f2f7;
    --text-muted: #8892a4;
    --border:     #1f2d45;
    --nav-h:      64px;
    --radius:     14px;
    --max-w:      1100px;
    --font:       -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font);
       font-size: 17px; line-height: 1.6; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; }

/* ── Nav ─────────────────────────────────────────── */
#navbar {
    position: sticky; top: 0; z-index: 100;
    background: rgba(11, 15, 26, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    max-width: var(--max-w); margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    height: var(--nav-h); padding: 0 24px;
}
.nav-logo {
    display: flex; align-items: center; gap: 10px;
    font-weight: 700; font-size: 17px; color: var(--text);
}
.nav-logo:hover { text-decoration: none; }
.nav-icon { width: 32px; height: 32px; border-radius: 7px; }
.nav-links { list-style: none; display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--text-muted); font-size: 15px; font-weight: 500;
               transition: color .2s; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-cta {
    background: var(--accent); color: #fff !important;
    padding: 8px 18px; border-radius: 8px; font-weight: 600 !important;
    transition: background .2s !important;
}
.nav-cta:hover { background: var(--accent-dim) !important; }
.hamburger { display: none; background: none; border: none;
             color: var(--text); font-size: 22px; cursor: pointer; }
.mobile-menu { display: none; list-style: none;
               padding: 12px 24px 20px; border-top: 1px solid var(--border); }
.mobile-menu.open { display: block; }
.mobile-menu li { padding: 10px 0; border-bottom: 1px solid var(--border); }
.mobile-menu a { color: var(--text); font-size: 16px; }

/* ── Hero ────────────────────────────────────────── */
#hero {
    min-height: calc(100vh - var(--nav-h));
    display: flex; flex-direction: column;
    justify-content: center; align-items: center;
    padding: 80px 24px 60px;
    background: radial-gradient(ellipse at 60% 40%, #1a1040 0%, var(--bg) 65%);
    position: relative;
}
.hero-inner {
    max-width: var(--max-w); width: 100%;
    display: flex; align-items: center; justify-content: space-between; gap: 60px;
}
.hero-text { flex: 1; }
.hero-badge {
    display: inline-block;
    background: rgba(232, 64, 64, 0.15); color: var(--accent);
    border: 1px solid rgba(232,64,64,0.3);
    padding: 6px 16px; border-radius: 50px; font-size: 14px; font-weight: 600;
    margin-bottom: 24px;
}
.hero-text h1 {
    font-size: clamp(36px, 5vw, 62px); font-weight: 800; line-height: 1.1;
    letter-spacing: -0.03em; margin-bottom: 20px;
}
.hero-sub {
    font-size: 19px; color: var(--text-muted); max-width: 520px;
    line-height: 1.6; margin-bottom: 36px;
}
.hero-actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.btn-appstore img { height: 50px; }
.hero-price {
    font-size: 14px; color: var(--text-muted); font-style: italic;
}
.hero-image { flex-shrink: 0; }
.hero-icon {
    width: 220px; height: 220px; border-radius: 44px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.6);
}
.scroll-hint {
    margin-top: 48px; font-size: 24px; color: var(--text-muted);
    animation: bounce 2s infinite; text-decoration: none;
}
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(8px); }
}

/* ── Sections ────────────────────────────────────── */
section { padding: 100px 24px; }
section:nth-child(even) { background: var(--bg-card); }
.section-inner { max-width: var(--max-w); margin: 0 auto; }
h2 {
    font-size: clamp(28px, 4vw, 46px); font-weight: 800;
    letter-spacing: -0.02em; margin-bottom: 16px; line-height: 1.15;
}
.section-sub {
    font-size: 18px; color: var(--text-muted); max-width: 600px;
    margin-bottom: 56px; line-height: 1.6;
}

/* ── Features Grid ───────────────────────────────── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}
.feature-card {
    background: var(--bg-card2); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 28px 24px;
    transition: border-color .2s, transform .2s;
}
.feature-card:hover {
    border-color: var(--accent); transform: translateY(-3px);
}
.feature-icon { font-size: 28px; margin-bottom: 14px; }
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 15px; color: var(--text-muted); line-height: 1.55; }

/* ── How It Works ────────────────────────────────── */
.steps {
    display: flex; align-items: flex-start; justify-content: center;
    gap: 16px; margin-bottom: 60px; flex-wrap: wrap;
}
.step {
    background: var(--bg-card2); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 32px 28px;
    flex: 1; min-width: 200px; max-width: 280px;
    text-align: center;
}
.step-num {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--accent); color: #fff;
    font-size: 20px; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
}
.step h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.step p  { font-size: 15px; color: var(--text-muted); }
.step-arrow {
    font-size: 28px; color: var(--text-muted);
    align-self: center; padding-top: 0;
}
.demo-word {
    display: flex; justify-content: center; align-items: center;
    gap: 2px; margin: 0 auto 16px;
    background: #000; border-radius: 12px;
    padding: 32px 48px; max-width: 360px;
}
.demo-letter { font-size: 72px; font-weight: 900; color: #f0f2f7; }
.demo-letter.red { color: var(--accent); }
.demo-caption { text-align: center; color: var(--text-muted); font-size: 15px; }

/* ── Screenshots ─────────────────────────────────── */
.screenshot-hero {
    margin-bottom: 24px;
}
.screenshot-hero .screenshot-img {
    width: 100%; border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}
.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.screenshot-item .screenshot-img {
    width: 100%; border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    transition: transform .2s, box-shadow .2s;
}
.screenshot-item .screenshot-img:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}
.screenshot-caption {
    font-size: 13px; color: var(--text-muted);
    text-align: center; margin-top: 10px;
    line-height: 1.4;
}

/* ── Formats ─────────────────────────────────────── */
.formats-grid {
    display: flex; flex-wrap: wrap; gap: 12px;
    margin-bottom: 28px;
}
.format-pill {
    background: var(--bg-card2); border: 1px solid var(--border);
    border-radius: 50px; padding: 10px 22px;
    font-size: 16px; font-weight: 600; font-family: monospace;
    color: var(--accent);
}
.formats-note {
    font-size: 15px; color: var(--text-muted);
    max-width: 560px; line-height: 1.55;
}

/* ── Pricing ─────────────────────────────────────── */
#pricing { text-align: center; }
#pricing h2 { text-align: center; }
#pricing .section-sub { margin: 0 auto 48px; }
.pricing-card {
    background: var(--bg-card2); border: 1px solid var(--border);
    border-radius: 20px; padding: 52px 48px;
    max-width: 480px; margin: 0 auto;
    box-shadow: 0 0 80px rgba(232,64,64,0.08);
}
.pricing-badge {
    display: inline-block;
    background: rgba(232,64,64,0.12); color: var(--accent);
    border: 1px solid rgba(232,64,64,0.25);
    padding: 5px 14px; border-radius: 50px;
    font-size: 13px; font-weight: 600; margin-bottom: 20px;
}
.pricing-amount {
    font-size: 72px; font-weight: 900; letter-spacing: -0.03em;
    line-height: 1; margin-bottom: 10px;
}
.pricing-tagline {
    font-size: 16px; color: var(--text-muted);
    font-style: italic; margin-bottom: 32px;
}
.pricing-features {
    list-style: none; text-align: left; margin-bottom: 36px;
}
.pricing-features li {
    padding: 9px 0; border-bottom: 1px solid var(--border);
    font-size: 16px; color: var(--text-muted);
}
.pricing-features li:last-child { border-bottom: none; }
.btn-download {
    display: block; background: var(--accent); color: #fff;
    font-size: 17px; font-weight: 700; padding: 16px 32px;
    border-radius: 12px; margin-bottom: 20px;
    transition: background .2s;
}
.btn-download:hover { background: var(--accent-dim); text-decoration: none; }
.pricing-compare {
    font-size: 13px; color: var(--text-muted); line-height: 1.5;
}

/* ── Footer ──────────────────────────────────────── */
footer {
    background: #070a12; border-top: 1px solid var(--border);
    padding: 40px 24px;
}
.footer-inner {
    max-width: var(--max-w); margin: 0 auto;
    display: flex; flex-wrap: wrap;
    align-items: center; justify-content: space-between; gap: 20px;
}
.footer-left { display: flex; align-items: center; gap: 10px; }
.footer-icon { width: 28px; height: 28px; border-radius: 6px; }
.footer-name { font-size: 14px; font-weight: 600; color: var(--text); }
.footer-links { list-style: none; display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { font-size: 14px; color: var(--text-muted); }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 13px; color: var(--text-muted); }

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hamburger { display: block; }
    .hero-inner { flex-direction: column-reverse; text-align: center; gap: 36px; }
    .hero-actions { align-items: center; }
    .hero-sub { margin: 0 auto 36px; }
    .hero-icon { width: 140px; height: 140px; border-radius: 28px; }
    .step-arrow { display: none; }
    .footer-inner { flex-direction: column; text-align: center; }
    .footer-links { justify-content: center; }
    .pricing-card { padding: 36px 24px; }
    .pricing-amount { font-size: 56px; }
    .screenshot-grid { grid-template-columns: 1fr; gap: 12px; }
}
