:root {
    --bg-dark: #050505;
    --bg-card: rgba(10, 10, 12, 0.8);
    --primary: #0070f3;
    --primary-glow: rgba(0, 112, 243, 0.3);
    --secondary: #00d4ff;
    --text-main: #ffffff;
    --text-muted: #a1a1aa;
    --border: rgba(255, 255, 255, 0.1);
    --accent-gradient: linear-gradient(135deg, #0070f3 0%, #00d4ff 100%);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .logo-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Background Effects */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.12;
}

.orb-1 { width: 600px; height: 600px; background: var(--primary); top: -200px; right: -100px; }
.orb-2 { width: 500px; height: 500px; background: var(--secondary); bottom: -100px; left: -100px; }

/* Navbar */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo { display: flex; align-items: center; gap: 0.75rem; }
.logo-svg {
    width: 32px;
    height: 32px;
    color: var(--primary);
    filter: drop-shadow(0 0 8px var(--primary-glow));
}
.logo-text { font-size: 1.5rem; letter-spacing: -0.5px; }
.nav-links { display: flex; gap: 2.5rem; }
.nav-links a { text-decoration: none; color: var(--text-muted); font-weight: 500; transition: color 0.3s ease; }
.nav-links a:hover { color: var(--text-main); }

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
}

.btn-primary { background: var(--primary); color: white; box-shadow: 0 4px 20px var(--primary-glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px var(--primary-glow); filter: brightness(1.1); }
.btn-xl { padding: 1.1rem 2.5rem; font-size: 1.2rem; border-radius: 16px; }
.btn-lg { padding: 0.875rem 1.75rem; }
.nav-cta {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
    opacity: 1;
}

.nav-cta.hidden {
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
}

/* Typography */
.text-gradient { background: var(--accent-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.badge { display: inline-block; padding: 0.6rem 1.2rem; background: rgba(0, 112, 243, 0.1); border: 1px solid rgba(0, 112, 243, 0.3); border-radius: 100px; font-size: 0.85rem; font-weight: 600; color: var(--secondary); margin-bottom: 2rem; letter-spacing: 0.5px; }

/* Main Content Wrapper to ensure z-index */
main {
    position: relative;
    z-index: 10;
}

section { padding: 100px 0; }

/* Hero */
.hero { min-height: 85vh; display: flex; flex-direction: column; justify-content: center; padding-top: 140px; text-align: center; }
.hero-content { max-width: 850px; margin: 0 auto 4rem; }
.hero h1 { font-size: clamp(3rem, 10vw, 5rem); line-height: 1.05; margin-bottom: 1.5rem; letter-spacing: -3px; }
.hero-subtitle { font-size: clamp(1.1rem, 2.5vw, 1.4rem); color: var(--text-muted); max-width: 750px; margin: 0 auto; line-height: 1.6; }
.cta-group { margin-top: 3.5rem; }

/* Stats Bar */
.stats-bar { padding: 40px 0; }
.stats-grid { display: flex; justify-content: center; align-items: center; gap: 4rem; }
.stat-item { display: flex; flex-direction: column; align-items: center; }
.stat-val { font-size: 2.5rem; font-weight: 700; font-family: 'Outfit'; color: var(--text-main); }
.stat-label { font-size: 0.95rem; color: var(--text-muted); max-width: 180px; text-align: center; margin-top: 0.5rem; }
.stat-sep { width: 1px; height: 60px; background: var(--border); }

/* Hero Visual */
.hero-visual { width: 100%; display: flex; justify-content: center; margin-top: 2rem; perspective: 1200px; }
.floating-card { background: var(--bg-card); backdrop-filter: blur(16px); border: 1px solid var(--glass-border); border-radius: 24px; padding: 2rem; width: 100%; max-width: 550px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5); transform: rotateX(5deg); transition: transform 0.5s ease; }
.floating-card:hover { transform: rotateX(0deg) translateY(-10px); }
.card-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; font-weight: 600; font-size: 1rem; color: var(--text-main); }
.digest-items { display: flex; flex-direction: column; gap: 1.25rem; }
.digest-item { display: flex; align-items: center; gap: 1.25rem; padding: 1.25rem; background: rgba(255, 255, 255, 0.02); border-radius: 16px; border: 1px solid transparent; transition: all 0.3s ease; }
.digest-item:hover { background: rgba(255, 255, 255, 0.05); border-color: var(--glass-border); transform: translateX(8px); }
.pulse { width: 10px; height: 10px; background: var(--primary); border-radius: 50%; box-shadow: 0 0 0 0 rgba(0, 112, 243, 0.7); animation: pulse 2s infinite; flex-shrink: 0; }

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 112, 243, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(0, 112, 243, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 112, 243, 0); }
}

/* Features */
.features .section-header { text-align: center; margin-bottom: 4rem; }
.features h2 { font-size: 3.5rem; }
.features-list { list-style: none; max-width: 700px; margin: 0 auto; display: flex; flex-direction: column; gap: 1.5rem; }
.feature-li { display: flex; align-items: center; gap: 1.5rem; padding: 1.5rem 2rem; background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 20px; font-size: 1.15rem; font-weight: 500; transition: all 0.3s ease; }
.feature-li:hover { background: rgba(255, 255, 255, 0.06); transform: translateX(10px); border-color: var(--primary); }
.li-icon { width: 36px; height: 36px; background: rgba(0, 112, 243, 0.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary); }

/* CTA Section */
.cta-box { background: linear-gradient(135deg, #001f3f 0%, #000 100%); padding: 6rem 4rem; border-radius: 40px; text-align: center; border: 1px solid var(--border); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5); }
.cta-box h2 { font-size: 3.5rem; margin-bottom: 1.5rem; }
.cta-box p { font-size: 1.25rem; margin-bottom: 3rem; color: var(--text-muted); }
.early-access-form { display: flex; max-width: 550px; margin: 0 auto; gap: 1rem; position: relative; z-index: 20; }
.early-access-form input { flex: 1; padding: 1.1rem 1.5rem; border-radius: 14px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.05); color: white; font-size: 1.1rem; outline: none; transition: border-color 0.3s ease; cursor: text; }
.early-access-form input:focus { border-color: var(--primary); background: rgba(255, 255, 255, 0.08); }
.early-access-form .btn { min-width: 160px; }

/* Footer */
footer { padding: 6rem 0 3rem; border-top: 1px solid var(--border); }
.footer-content { display: flex; justify-content: space-between; align-items: center; }
.footer-brand p { color: var(--text-muted); margin-top: 0.5rem; }
.footer-links { text-align: right; }
.footer-links p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1rem; }
.social-links { display: flex; gap: 1.5rem; justify-content: flex-end; }
.social-links a { color: var(--text-muted); transition: color 0.3s ease; }
.social-links a:hover { color: var(--primary); }

/* Responsive */
@media (max-width: 768px) {
    .stats-grid { flex-direction: column; gap: 2.5rem; }
    .stat-sep { display: none; }
    .hero h1 { font-size: 3.5rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .nav-links { display: none; }
    .early-access-form { flex-direction: column; }
    .cta-box { padding: 4rem 2rem; }
}

/* Animation & Hidden classes */
.fade-in, .fade-in-up { opacity: 1; }
.hidden { display: none !important; }
#form-message { margin-top: 2rem; font-weight: 600; font-size: 1.1rem; color: var(--secondary); }

/* Utility Classes */
.text-blue { color: var(--primary) !important; }
.text-white { color: #ffffff !important; }
.icon-small { width: 1.2rem; height: 1.2rem; }
