@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@300;400;500;600;700;800;900&display=swap');

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

:root {
    --bg: #0f0f11;
    --bg-surface: #17171a;
    --bg-elevated: #1e1e22;
    --border: #2a2a30;
    --text: #f0f0f0;
    --text-secondary: #9a9aa8;
    --text-muted: #5a5a68;
    --accent: #5b6ef5;
    --accent-light: #7b8cff;
    --accent-dim: rgba(91, 110, 245, 0.12);
    --purple: #8b5cf6;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Barlow', -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a:hover {
    color: var(--accent);
}

/* NAV */

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

nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
}

.nav-brand svg,
.nav-brand img {
    width: 28px;
    height: 28px;
    border-radius: 6px;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.01em;
}

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

/* LAYOUT */

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

section {
    padding: 100px 0;
}

/* HERO */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
}

.hero-content {
    max-width: 680px;
}

.hero-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 32px;
    border-radius: 18px;
}

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

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

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 400;
    max-width: 480px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--accent), var(--purple));
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.2s, opacity 0.2s;
}

.hero-cta:hover {
    color: #fff;
    transform: translateY(-2px);
    opacity: 0.9;
}

/* FEATURES */

.features {
    border-top: 1px solid var(--border);
}

.features-header {
    text-align: center;
    margin-bottom: 64px;
}

.features-header h2 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.features-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

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

.feature-card {
    padding: 32px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: border-color 0.3s;
}

.feature-card:hover {
    border-color: #333;
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-dim);
    border-radius: 10px;
    margin-bottom: 20px;
}

.feature-icon img {
    width: 24px;
    height: 24px;
    filter: brightness(0) saturate(100%) invert(44%) sepia(52%) saturate(2878%) hue-rotate(218deg) brightness(102%) contrast(93%);
}

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

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

/* HOW IT WORKS */

.how-it-works {
    border-top: 1px solid var(--border);
}

.how-header {
    text-align: center;
    margin-bottom: 64px;
}

.how-header h2 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.how-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

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

.step {
    text-align: center;
}

.step-number {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--purple);
    border-radius: 50%;
    font-weight: 700;
    font-size: 1rem;
    color: var(--purple);
    margin-bottom: 16px;
}

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

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

/* CTA SECTION */

.cta-section {
    border-top: 1px solid var(--border);
    text-align: center;
}

.cta-box {
    padding: 64px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 16px;
}

.cta-box h2 {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

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

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--accent), var(--purple));
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.2s, opacity 0.2s;
}

.cta-button:hover {
    color: #fff;
    transform: translateY(-2px);
    opacity: 0.9;
}

/* FOOTER */

footer {
    border-top: 1px solid var(--border);
    padding: 48px 0;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.footer-brand svg,
.footer-brand img {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

.footer-links {
    display: flex;
    gap: 24px;
    list-style: none;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* LEGAL PAGES */

.legal {
    padding-top: 120px;
    padding-bottom: 80px;
}

.legal h1 {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.legal .last-updated {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 48px;
}

.legal h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.legal p, .legal li {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 12px;
}

.legal ul {
    padding-left: 24px;
    margin-bottom: 16px;
}

.legal li {
    margin-bottom: 6px;
}

.legal a {
    color: var(--accent);
}

.legal strong {
    color: var(--text);
    font-weight: 600;
}

/* RESPONSIVE */

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

    .steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .nav-links {
        gap: 20px;
    }

    .cta-box {
        padding: 40px 24px;
    }
}

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

    .nav-links {
        display: none;
    }
}
