/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #0f172a;
    --color-secondary: #1e293b;
    --color-accent: #3b82f6;
    --color-accent-hover: #2563eb;
    --color-text: #334155;
    --color-text-light: #64748b;
    --color-bg: #ffffff;
    --color-bg-alt: #f8fafc;
    --color-border: #e2e8f0;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    z-index: 100;
    padding: 0 0;
}

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

.logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: -0.02em;
}

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

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-light);
}

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

/* ===== Hero ===== */
.hero {
    position: relative;
    padding: 180px 0 120px;
    background: #050d1a;
    color: #fff;
    text-align: center;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Animated grid background */
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.07) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 100%);
    animation: gridPulse 8s ease-in-out infinite alternate;
}

@keyframes gridPulse {
    0% { opacity: 0.4; }
    100% { opacity: 1; }
}

/* Floating gradient orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    will-change: transform;
}

.hero-orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.6), transparent 70%);
    top: -100px;
    right: -80px;
    animation: float1 12s ease-in-out infinite alternate;
}

.hero-orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.5), transparent 70%);
    bottom: -120px;
    left: -60px;
    animation: float2 10s ease-in-out infinite alternate;
}

.hero-orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.4), transparent 70%);
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
    animation: float3 14s ease-in-out infinite alternate;
}

/* Center glow behind text */
.hero-glow {
    position: absolute;
    width: 600px;
    height: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse, rgba(59, 130, 246, 0.15), transparent 70%);
    z-index: 1;
}

@keyframes float1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-40px, 30px) scale(1.1); }
}

@keyframes float2 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, -40px) scale(1.15); }
}

@keyframes float3 {
    0% { transform: translateX(-50%) translate(0, 0) scale(1); }
    100% { transform: translateX(-50%) translate(-20px, -30px) scale(1.2); }
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(135deg, #ffffff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 1.2rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== Sections ===== */
.section {
    padding: 100px 0;
}

.section-alt {
    background: var(--color-bg-alt);
}

.section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 48px;
    text-align: center;
    letter-spacing: -0.02em;
}

/* ===== About ===== */
.about-text {
    max-width: 680px;
    margin: 0 auto 56px;
    text-align: center;
}

.about-text p {
    font-size: 1.05rem;
    color: var(--color-text);
    margin-bottom: 16px;
    line-height: 1.8;
}

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

.stat {
    text-align: center;
    padding: 32px 24px;
}

.stat-icon {
    display: inline-block;
    font-size: 0.6rem;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.stat h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.stat p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ===== Focus ===== */
.focus-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.focus-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 36px 32px;
    transition: box-shadow 0.25s, transform 0.25s;
}

.focus-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.focus-icon {
    color: var(--color-accent);
    margin-bottom: 16px;
}

.focus-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.focus-card p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ===== Contact ===== */
.contact-content {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.contact-content p {
    font-size: 1.05rem;
    color: var(--color-text-light);
    margin-bottom: 28px;
    line-height: 1.7;
}

.btn {
    display: inline-block;
    padding: 14px 36px;
    background: var(--color-accent);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 8px;
    transition: background 0.2s, transform 0.15s;
}

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

/* ===== Footer ===== */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--color-border);
    background: var(--color-bg);
}

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

.footer-brand .logo {
    font-size: 1rem;
}

.footer-brand p {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-top: 6px;
}

.footer-links {
    display: flex;
    gap: 28px;
}

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

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

/* ===== Legal Pages ===== */
.legal-page {
    padding-top: 100px;
    padding-bottom: 80px;
    min-height: 100vh;
}

.legal-page .container {
    max-width: 780px;
}

.legal-page h1 {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.legal-page .effective-date {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 48px;
}

.legal-page h2 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-top: 40px;
    margin-bottom: 16px;
}

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

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

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

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

.legal-page a:hover {
    color: var(--color-accent-hover);
    text-decoration: underline;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .hero {
        padding: 140px 0 80px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

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

    .section {
        padding: 64px 0;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

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

    .nav-links {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .nav-links {
        display: none;
    }
}
