*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #0b0f1a;
    --surface: #131827;
    --surface-hover: #1a2035;
    --border: #1e2640;
    --text: #e4e8f1;
    --text-muted: #8a92a6;
    --accent: #6c63ff;
    --accent-glow: rgba(108, 99, 255, 0.35);
    --gradient-start: #6c63ff;
    --gradient-end: #b362ff;
    --success: #34d399;
    --radius: 12px;
}

html {
    scroll-behavior: smooth;
}

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

a {
    color: var(--accent);
    text-decoration: none;
}

/* ---- NAV ---- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    backdrop-filter: blur(16px);
    background: rgba(11, 15, 26, 0.8);
    border-bottom: 1px solid var(--border);
}

.nav-logo {
    font-size: 1.35rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: color 0.2s;
}

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

/* ---- HERO ---- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 2rem 4rem;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: var(--accent-glow);
    filter: blur(150px);
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

.hero-badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    border-radius: 100px;
    border: 1px solid var(--border);
    background: var(--surface);
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    position: relative;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    max-width: 800px;
    margin-bottom: 1.25rem;
    position: relative;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 560px;
    margin-bottom: 2.5rem;
    position: relative;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: 100px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

/* ---- FEATURES ---- */
.features {
    padding: 6rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.features h2 {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.features .subtitle {
    text-align: center;
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto 3.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    transition: background 0.2s, transform 0.2s;
}

.feature-card:hover {
    background: var(--surface-hover);
    transform: translateY(-4px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ---- HOW IT WORKS ---- */
.how-it-works {
    padding: 6rem 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 3rem;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.step-number {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.step h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.step p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ---- PRIVACY ---- */
.privacy {
    padding: 6rem 2rem;
    text-align: center;
}

.privacy-card {
    max-width: 700px;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 3rem 2.5rem;
}

.privacy-card h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.privacy-card p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.privacy-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    border-radius: 100px;
    border: 1px solid var(--border);
    background: var(--bg);
    font-size: 0.85rem;
    color: var(--success);
}

/* ---- FOOTER ---- */
.footer {
    padding: 3rem 2rem;
    text-align: center;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ---- ANIMATIONS ---- */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- RESPONSIVE: tablet ---- */
@media (max-width: 768px) {
    .nav {
        padding: 0.85rem 1.25rem;
    }

    .nav-links {
        gap: 1.25rem;
    }

    .nav-links a {
        font-size: 0.85rem;
    }

    .hero {
        padding: 5rem 1.5rem 3rem;
        min-height: auto;
    }

    .hero::before {
        width: 350px;
        height: 350px;
    }

    .hero p {
        font-size: 1.05rem;
    }

    .features {
        padding: 4rem 1.5rem;
    }

    .features h2 {
        font-size: 1.8rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .how-it-works {
        padding: 4rem 1.5rem;
    }

    .how-it-works h2 {
        font-size: 1.8rem;
    }

    .privacy {
        padding: 4rem 1.5rem;
    }

    .privacy-card {
        padding: 2rem 1.5rem;
    }

    .privacy-card h2 {
        font-size: 1.6rem;
    }
}

/* ---- RESPONSIVE: mobile ---- */
@media (max-width: 480px) {
    .nav-links {
        display: none;
    }

    .hero {
        padding: 4.5rem 1rem 2.5rem;
    }

    .hero::before {
        width: 250px;
        height: 250px;
        filter: blur(100px);
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 0.3rem 0.75rem;
    }

    .hero h1 {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
        max-width: 100%;
    }

    .hero p {
        font-size: 0.95rem;
        max-width: 100%;
    }

    .btn-primary {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .features {
        padding: 3rem 1rem;
    }

    .features h2 {
        font-size: 1.5rem;
    }

    .features .subtitle {
        font-size: 0.9rem;
        margin-bottom: 2rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .how-it-works {
        padding: 3rem 1rem;
    }

    .how-it-works h2 {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .step-number {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }

    .privacy {
        padding: 3rem 1rem;
    }

    .privacy-card {
        padding: 1.75rem 1.25rem;
    }

    .privacy-card h2 {
        font-size: 1.35rem;
    }

    .privacy-card p {
        font-size: 0.9rem;
    }

    .badge {
        font-size: 0.75rem;
        padding: 0.35rem 0.75rem;
    }

    .footer {
        padding: 2rem 1rem;
        font-size: 0.8rem;
    }
}
