@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500&display=swap');

:root {
    --black: #0a0a0a;
    --white: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-400: #a3a3a3;
    --gray-600: #525252;
    --gray-800: #262626;
    --accent: #22c55e;
    --accent-dark: #16a34a;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--white);
    color: var(--black);
    line-height: 1.7;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: var(--accent);
    color: var(--black);
}

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

/* Nav */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 20px 0;
    background: rgba(250, 250, 250, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 100;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

nav.scrolled {
    border-bottom-color: var(--gray-200);
}

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

.logo {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--black);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--accent);
}

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

nav a {
    color: var(--gray-600);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

nav a:hover {
    color: var(--black);
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

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

.hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 24px;
}

.hero h1 .highlight {
    color: var(--accent);
    position: relative;
}

.hero p {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 480px;
    margin-bottom: 40px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--black);
    color: var(--white);
    padding: 16px 32px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.btn-primary svg {
    width: 20px;
    height: 20px;
}

/* Features */
.features {
    padding: 120px 0;
    background: var(--gray-100);
}

.features h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gray-400);
    margin-bottom: 48px;
}

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

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

.feature {
    position: relative;
}

.feature-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 16px;
}

.feature h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.feature p {
    color: var(--gray-600);
    font-size: 1rem;
}

/* Stats */
.stats {
    padding: 80px 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -2px;
    color: var(--black);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-400);
    margin-top: 4px;
}

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

.cta h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.cta p {
    color: var(--gray-600);
    margin-bottom: 32px;
}

/* Footer */
footer {
    padding: 48px 0;
    border-top: 1px solid var(--gray-200);
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

footer .links {
    display: flex;
    gap: 24px;
}

footer a {
    color: var(--gray-600);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

footer a:hover {
    color: var(--black);
}

footer .copyright {
    color: var(--gray-400);
    font-size: 0.875rem;
}

/* Legal Pages */
.legal-page {
    padding-top: 140px;
    padding-bottom: 80px;
}

.legal-header {
    margin-bottom: 64px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--gray-200);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-600);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 32px;
    transition: color 0.2s;
}

.back-link:hover {
    color: var(--black);
}

.legal-header h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
}

.legal-header .date {
    color: var(--gray-400);
    font-size: 0.9rem;
}

.legal-content {
    max-width: 720px;
}

.legal-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    margin-top: 48px;
    margin-bottom: 20px;
    color: var(--black);
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p {
    color: var(--gray-600);
    margin-bottom: 16px;
}

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

.legal-content li {
    color: var(--gray-600);
    margin-bottom: 12px;
    padding-left: 8px;
}

.legal-content li::marker {
    color: var(--accent);
}

.legal-content strong {
    color: var(--black);
    font-weight: 500;
}

.legal-content a {
    color: var(--accent-dark);
    text-decoration: underline;
    text-underline-offset: 2px;
}

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

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeUp 0.8s ease-out;
}

.feature {
    animation: fadeUp 0.6s ease-out backwards;
}

.feature:nth-child(1) { animation-delay: 0.1s; }
.feature:nth-child(2) { animation-delay: 0.2s; }
.feature:nth-child(3) { animation-delay: 0.3s; }

/* Mobile */
@media (max-width: 640px) {
    nav ul {
        display: none;
    }

    .hero h1 {
        letter-spacing: -1px;
    }

    footer .container {
        flex-direction: column;
        text-align: center;
    }
}
