/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --accent-blue: #4A90D9;
    --accent-blue-dark: #3A7BC8;
    --accent-blue-light: #6BABF0;
    --bg-dark: #161A22;
    --bg-darker: #0F1218;
    --bg-card: rgba(255, 255, 255, 0.05);
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.75);
    --text-tertiary: rgba(255, 255, 255, 0.5);
    --gradient-primary: linear-gradient(135deg, #4A90D9 0%, #5B9EE8 100%);
    --gradient-hero: linear-gradient(135deg, #1C2129 0%, #161A22 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Nav links (Terms / Privacy in hero) */
.nav-links {
    position: absolute;
    top: 24px;
    right: 24px;
    display: flex;
    gap: 20px;
    z-index: 2;
}

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

.nav-links a:hover {
    color: var(--accent-blue-light);
}

/* Hero Section */
.hero {
    background: var(--gradient-hero);
    padding: 80px 20px 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(74, 144, 217, 0.08) 0%, transparent 65%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.logo {
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    display: block;
    filter: drop-shadow(0 8px 24px rgba(74, 144, 217, 0.25));
}

.logo-fallback {
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    font-size: 4rem;
    line-height: 100px;
    background: var(--bg-card);
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-title {
    font-size: 3.25rem;
    font-weight: 800;
    margin-bottom: 8px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.35rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-weight: 400;
}

.hero-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

/* Section Styles */
section {
    padding: 60px 20px;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Privacy / Legal Section */
.privacy {
    background: var(--bg-darker);
}

.privacy-content {
    max-width: 720px;
    margin: 0 auto;
}

.last-updated {
    color: var(--text-tertiary);
    font-size: 0.9rem;
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.privacy-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 36px;
    margin-bottom: 14px;
    color: var(--text-primary);
}

.privacy-content h4 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.privacy-content p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.75;
}

.privacy-content ul {
    margin-left: 24px;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.privacy-content li {
    margin-bottom: 8px;
    line-height: 1.65;
}

.privacy-content a {
    color: var(--accent-blue-light);
    text-decoration: none;
    border-bottom: 1px solid rgba(74, 144, 217, 0.4);
    transition: border-color 0.2s ease, color 0.2s ease;
}

.privacy-content a:hover {
    border-bottom-color: var(--accent-blue);
    color: var(--accent-blue-light);
}

/* Footer */
.footer {
    background: var(--bg-darker);
    padding: 36px 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-content {
    max-width: 560px;
    margin: 0 auto;
}

.footer-content p {
    color: var(--text-tertiary);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.footer-content a {
    color: var(--accent-blue-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .nav-links {
        top: 16px;
        right: 16px;
        gap: 16px;
    }

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

    .section-title {
        font-size: 1.85rem;
    }

    .privacy-content h3 {
        font-size: 1.35rem;
    }

    .logo {
        width: 80px;
        height: 80px;
    }

    .logo-fallback {
        width: 80px;
        height: 80px;
        font-size: 3rem;
        line-height: 80px;
    }

    section {
        padding: 48px 20px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 16px 80px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.6rem;
        margin-bottom: 32px;
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-blue);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-blue-dark);
}
