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

:root {
    --bg: #0a0a10;
    --bg-card: rgba(255, 255, 255, 0.04);
    --bg-card-hover: rgba(255, 255, 255, 0.07);
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);
    --text: #f0f0f5;
    --text-secondary: rgba(240, 240, 245, 0.55);
    --cyan: #00bfe6;
    --purple: #9966f2;
    --pink: #f26699;
    --green: #4dd98b;
    --orange: #ff9933;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --radius: 20px;
    --radius-sm: 14px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
}

/* ===== Typography ===== */

.text-gradient {
    background: linear-gradient(135deg, var(--cyan) 0%, var(--purple) 50%, var(--pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    text-align: center;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 56px;
}

/* ===== Hero ===== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.3;
    pointer-events: none;
    animation: glowPulse 6s ease-in-out infinite alternate;
}

.hero-glow-cyan {
    background: var(--cyan);
    top: -200px;
    left: -100px;
    animation-delay: 0s;
}

.hero-glow-purple {
    background: var(--purple);
    bottom: -200px;
    right: -100px;
    animation-delay: -3s;
}

@keyframes glowPulse {
    0%   { opacity: 0.18; transform: scale(1); }
    100% { opacity: 0.35; transform: scale(1.15); }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--cyan);
    background: rgba(0, 191, 230, 0.1);
    border: 1px solid rgba(0, 191, 230, 0.2);
    padding: 6px 18px;
    border-radius: 100px;
    margin-bottom: 32px;
}

.hero h1 {
    font-size: clamp(3.5rem, 10vw, 6.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 24px;
}

.hero-tagline {
    font-size: clamp(1.15rem, 2.5vw, 1.45rem);
    font-weight: 500;
    color: var(--text);
    margin-bottom: 12px;
    line-height: 1.5;
}

.hero-tagline strong {
    font-weight: 700;
}

.hero-sub {
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    color: var(--text-secondary);
    max-width: 540px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.app-store-btn {
    display: inline-block;
    transition: transform 0.25s ease, filter 0.25s ease;
    border-radius: 10px;
    overflow: hidden;
}

.app-store-btn:hover {
    transform: scale(1.05);
    filter: brightness(1.15);
}

/* ===== Features ===== */

.features {
    padding: 120px 0;
    position: relative;
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: all 0.35s ease;
    opacity: 0;
    transform: translateY(24px);
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: color-mix(in srgb, var(--accent) 12%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent);
}

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

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

/* ===== How it works ===== */

.how-it-works {
    padding: 120px 0;
}

.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.step {
    flex: 1;
    text-align: center;
    max-width: 280px;
    padding: 0 20px;
    opacity: 0;
    transform: translateY(24px);
}

.step.visible {
    opacity: 1;
    transform: translateY(0);
}

.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 800;
    margin: 0 auto 20px;
    color: #fff;
}

.step h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.step p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

.step-connector {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--purple));
    opacity: 0.3;
    margin-top: 28px;
    flex-shrink: 0;
}

/* ===== Pro ===== */

.pro-section {
    padding: 80px 0 120px;
}

.pro-card {
    background: linear-gradient(135deg, rgba(153, 102, 242, 0.08), rgba(0, 191, 230, 0.08));
    border: 1px solid rgba(153, 102, 242, 0.2);
    border-radius: var(--radius);
    padding: 56px 48px;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(24px);
}

.pro-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.pro-badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
    background: linear-gradient(135deg, var(--purple), var(--pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.pro-card h2 {
    font-size: clamp(1.6rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 32px;
}

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

.pro-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
    font-weight: 500;
}

.pro-check {
    color: var(--green);
    font-weight: 700;
    font-size: 1.1rem;
}

/* ===== CTA ===== */

.cta {
    padding: 100px 0 120px;
    text-align: center;
    position: relative;
}

.cta h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.cta p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
}

/* ===== Footer ===== */

footer {
    border-top: 1px solid var(--border);
    padding: 40px 0;
    text-align: center;
}

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

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--text);
}

.footer-copy {
    font-size: 0.82rem;
    color: var(--text-secondary);
    opacity: 0.6;
}

/* ===== Animations ===== */

.feature-card,
.step,
.pro-card {
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.feature-card:nth-child(1) { transition-delay: 0.0s; }
.feature-card:nth-child(2) { transition-delay: 0.08s; }
.feature-card:nth-child(3) { transition-delay: 0.16s; }
.feature-card:nth-child(4) { transition-delay: 0.24s; }
.feature-card:nth-child(5) { transition-delay: 0.32s; }
.feature-card:nth-child(6) { transition-delay: 0.40s; }

.step:nth-child(1) { transition-delay: 0.0s; }
.step:nth-child(3) { transition-delay: 0.15s; }
.step:nth-child(5) { transition-delay: 0.30s; }

/* ===== Responsive ===== */

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

    .steps {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }

    .step-connector {
        width: 2px;
        height: 32px;
        margin: 0;
    }

    .step {
        max-width: 100%;
    }

    .pro-card {
        padding: 40px 28px;
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-glow {
        width: 300px;
        height: 300px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
