/* ===== Reset & Base ===== */

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

:root {
    --bg: #0a0a0a;
    --bg-surface: #141414;
    --text: #f5f5f5;
    --text-secondary: #888;
    --accent: #3b82f6;
    --accent-hover: #2563eb;
    --border: #222;
    --max-width: 960px;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ===== Nav ===== */

header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

nav {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -0.02em;
}

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

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

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

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

.hero {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 12rem 2rem 6rem;
    text-align: center;
}

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

.subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.5;
}

.cta-button {
    display: inline-block;
    padding: 0.9rem 2.5rem;
    background: var(--accent);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background 0.2s, transform 0.1s;
}

.cta-button:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

.cta-button:active {
    transform: translateY(0);
}

.cta-note {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

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

.features {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 4rem 2rem 8rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.feature {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

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

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

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

footer {
    border-top: 1px solid var(--border);
    padding: 3rem 2rem;
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

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

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

.copyright {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

/* ===== Legal Pages ===== */

.legal {
    max-width: 680px;
    margin: 0 auto;
    padding: 10rem 2rem 6rem;
}

.legal h1 {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.legal .updated {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 3rem;
}

.legal h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
}

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

.legal ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

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

.legal a:hover {
    text-decoration: underline;
}

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

@media (max-width: 600px) {
    nav {
        padding: 0.75rem 1.25rem;
    }

    .nav-links {
        gap: 1.25rem;
    }

    .hero {
        padding: 8rem 1.25rem 4rem;
    }

    .features {
        padding: 2rem 1.25rem 5rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.75rem;
    }
}
