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

:root {
    --bg: #0a0f1a;
    --bg-card: #111827;
    --bg-card-hover: #1a2332;
    --green: #22c55e;
    --green-dim: rgba(34, 197, 94, 0.15);
    --yellow: #facc15;
    --text: #f1f5f9;
    --text-dim: #94a3b8;
    --border: #1e293b;
    --radius: 16px;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

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

a {
    color: var(--green);
    text-decoration: none;
    transition: opacity 0.2s;
}
a:hover {
    opacity: 0.85;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* === Nav === */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 15, 26, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-weight: 700;
    font-size: 1.05rem;
}

.nav-logo img {
    border-radius: 8px;
}

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

.nav-links a {
    color: var(--text-dim);
    font-size: 0.9rem;
    font-weight: 500;
}
.nav-links a:hover {
    color: var(--text);
}

.btn-download-sm {
    background: var(--green);
    color: var(--bg) !important;
    padding: 8px 20px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.85rem !important;
}
.btn-download-sm:hover {
    opacity: 0.9 !important;
}

/* === Hero === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 24px 60px;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-text {
    flex: 1;
    max-width: 560px;
}

.hero-badge {
    margin-bottom: 24px;
}

.hero-icon {
    border-radius: 16px;
    box-shadow: 0 0 40px rgba(34, 197, 94, 0.2);
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.hero h1 em {
    font-style: italic;
    color: var(--green);
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--text-dim);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 480px;
}

.hero-cta {
    margin-bottom: 16px;
}

.appstore-badge img {
    transition: transform 0.2s;
}
.appstore-badge:hover img {
    transform: scale(1.04);
}

.hero-platforms {
    font-size: 0.85rem;
    color: var(--text-dim);
    letter-spacing: 0.02em;
}

.hero-phone {
    flex: 0 0 auto;
    width: 320px;
    position: relative;
}

.phone-screenshot {
    width: 100%;
    border-radius: 32px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), 0 0 120px rgba(34, 197, 94, 0.08);
}

.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.08) 0%, transparent 70%);
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    pointer-events: none;
}

/* === Sections === */
.section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* === Features === */
.features {
    padding: 100px 0;
}

.features h2,
.screenshots h2,
.cta h2 {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: background 0.25s, border-color 0.25s;
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: #2d3a4d;
}

.feature-icon {
    font-size: 1.6rem;
    margin-bottom: 16px;
    line-height: 1.2;
    color: var(--green);
}

.feature-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.6;
}

/* === Screenshots === */
.screenshots {
    padding: 80px 0 100px;
    background: linear-gradient(180deg, transparent 0%, rgba(17, 24, 39, 0.5) 50%, transparent 100%);
}

.screenshots-scroll {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0 24px 20px;
    scrollbar-width: none;
}

.screenshots-scroll::-webkit-scrollbar {
    display: none;
}

.screenshot-item {
    flex: 0 0 auto;
    scroll-snap-align: center;
}

.screenshot-item img {
    width: 260px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* === CTA === */
.cta {
    padding: 100px 0;
    text-align: center;
}

.cta p {
    font-size: 1.15rem;
    color: var(--text-dim);
    margin-bottom: 32px;
}

/* === Footer === */
.footer {
    border-top: 1px solid var(--border);
    padding: 48px 24px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-brand img {
    border-radius: 8px;
}

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

.footer-links a {
    color: var(--text-dim);
    font-size: 0.9rem;
}
.footer-links a:hover {
    color: var(--text);
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--text-dim);
    opacity: 0.7;
    line-height: 1.6;
}

/* === Responsive === */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-sub {
        max-width: 100%;
    }

    .hero-phone {
        width: 260px;
    }

    .hero-glow {
        right: 50%;
        transform: translate(50%, -50%);
    }

    .nav-links a:not(.btn-download-sm) {
        display: none;
    }

    .screenshot-item img {
        width: 220px;
    }
}

@media (max-width: 540px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 80px;
        min-height: auto;
        padding-bottom: 40px;
    }

    .features {
        padding: 60px 0;
    }

    .screenshots {
        padding: 60px 0;
    }

    .cta {
        padding: 60px 0;
    }
}
