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

:root {
    --bg: #05070c;
    --fg: #fafafa;
    --muted: #94a3b8;
    --blue: #3b82f6;
    --blue-light: #60a5fa;
    --blue-lighter: #93c5fd;
    --blue-dark: #1d4ed8;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--bg);
    color: var(--fg);
    min-height: 100vh;
}

/* Background */
.bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--bg);
}

.plasma {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.25;
    animation: drift 12s ease-in-out infinite;
}

.p1 { top: 25%; left: 25%; width: 500px; height: 500px; background: radial-gradient(ellipse at 30% 40%, rgba(37, 99, 235, 0.4) 0%, transparent 50%); }
.p2 { bottom: 33%; right: 25%; width: 600px; height: 600px; background: radial-gradient(ellipse at 70% 60%, rgba(59, 130, 246, 0.35) 0%, transparent 55%); animation-delay: -4s; animation-duration: 18s; }
.p3 { top: 50%; left: 50%; transform: translate(-50%, -50%); width: 700px; height: 700px; background: radial-gradient(ellipse at 50% 30%, rgba(99, 102, 241, 0.3) 0%, transparent 45%); animation-delay: -8s; }

.spotlight {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 800px; height: 800px;
    background: radial-gradient(ellipse at 50% 50%, rgba(88, 28, 135, 0.4) 0%, transparent 60%);
    filter: blur(60px);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes drift {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.25; }
    50% { transform: translate(20px, -15px) scale(1.05); opacity: 0.4; }
}

@keyframes pulse {
    0%, 100% { opacity: 0.15; transform: scale(1); }
    50% { opacity: 0.35; transform: scale(1.1); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Nav */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    transition: all 0.3s;
}

nav.scrolled {
    background: rgba(5, 7, 12, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(30, 40, 60, 0.5);
}

.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo-icon {
    width: 32px; height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon svg { width: 20px; height: 20px; color: white; }

.logo-text { font-weight: 700; font-size: 1.25rem; color: var(--fg); }
.logo-swarm { background: linear-gradient(to right, var(--blue-light), var(--blue)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.nav-links { display: none; gap: 2rem; }
@media (min-width: 768px) { .nav-links { display: flex; } }
.nav-links a { font-size: 0.875rem; color: var(--muted); text-decoration: none; }
.nav-links a:hover { color: var(--fg); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    text-decoration: none;
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(59, 130, 246, 0.5);
    color: var(--blue-light);
}

.btn-outline:hover { background: rgba(59, 130, 246, 0.1); }

.btn-primary {
    background: linear-gradient(to right, var(--blue), var(--blue-dark));
    color: white;
}

.btn-primary:hover { opacity: 0.9; }

.btn-lg { padding: 0.75rem 1.5rem; font-size: 1rem; }

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 64px;
    z-index: 10;
}

.hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 5rem 1rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) { .hero-inner { grid-template-columns: 1fr 1fr; } }

.hero-content { text-align: center; }
@media (min-width: 1024px) { .hero-content { text-align: left; } }

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    margin-bottom: 1.5rem;
}

.badge svg { width: 16px; height: 16px; color: var(--blue-light); }
.badge span { font-size: 0.875rem; color: var(--blue-lighter); }

.hero h1 {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) { .hero h1 { font-size: 3rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 3.75rem; } }

.hero-title-white { color: var(--fg); }
.hero-title-gradient {
    background: linear-gradient(to right, var(--blue-light), var(--blue-lighter), #bfdbfe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
}

.hero p { font-size: 1.125rem; color: var(--muted); margin-bottom: 2rem; max-width: 36rem; }

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 640px) { .hero-buttons { flex-direction: row; } }
@media (min-width: 1024px) { .hero-buttons { justify-content: flex-start; } }

.quote-box {
    margin-top: 2.5rem;
    padding: 1rem;
    border-radius: 0.75rem;
    background: rgba(30, 35, 45, 0.5);
    border: 1px solid rgba(30, 40, 60, 0.5);
}

.quote-box p { font-size: 0.875rem; font-style: italic; margin-bottom: 0.5rem; }
.quote-box cite { font-size: 0.75rem; color: var(--blue-light); font-style: normal; }

.hero-mascot {
    display: flex;
    justify-content: center;
    animation: float 5s ease-in-out infinite;
}

@media (min-width: 1024px) { .hero-mascot { justify-content: flex-end; } }

.mascot-wrap { position: relative; }
.mascot-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(29, 78, 216, 0.2));
    border-radius: 50%;
    filter: blur(48px);
    animation: pulse 4s ease-in-out infinite;
}

.mascot-wrap img {
    position: relative;
    width: 320px; height: 320px;
    object-fit: contain;
    filter: drop-shadow(0 25px 25px rgba(0, 0, 0, 0.5));
}

@media (min-width: 640px) { .mascot-wrap img { width: 384px; height: 384px; } }

/* Sections */
.section {
    position: relative;
    z-index: 10;
    padding: 5rem 0;
}

.section-inner { max-width: 1280px; margin: 0 auto; padding: 0 1rem; }

.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-size: 2rem; font-weight: 700; margin-bottom: 1rem; }
.gradient-text {
    background: linear-gradient(to right, var(--blue-light), var(--blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Stats */
.stats { border-top: 1px solid rgba(30, 40, 60, 0.5); border-bottom: 1px solid rgba(30, 40, 60, 0.5); }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
@media (min-width: 1024px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-item { text-align: center; }
.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--blue-light), var(--blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.stat-label { font-size: 0.875rem; color: var(--muted); }

/* Features */
.features-grid { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }

.feature-card {
    padding: 1.5rem;
    border-radius: 1rem;
    background: rgba(10, 12, 18, 0.8);
    border: 1px solid rgba(30, 40, 60, 0.5);
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: rgba(59, 130, 246, 0.5);
    transform: translateY(-2px);
}

.feature-icon {
    width: 48px; height: 48px;
    border-radius: 0.75rem;
    background: rgba(59, 130, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.feature-icon svg { width: 24px; height: 24px; color: var(--blue-light); }
.feature-card h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.875rem; color: var(--muted); }

/* Capabilities */
.cap-grid { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .cap-grid { grid-template-columns: repeat(3, 1fr); } }

.cap-card {
    padding: 2rem;
    border-radius: 1rem;
    background: rgba(10, 12, 18, 0.8);
    border: 1px solid rgba(30, 40, 60, 0.5);
}

.cap-icon {
    width: 64px; height: 64px;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(29, 78, 216, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.cap-icon svg { width: 32px; height: 32px; color: var(--blue-light); }
.cap-card h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 1rem; }
.cap-card p { color: var(--muted); }

/* Don't Be */
.dontbe-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .dontbe-grid { grid-template-columns: 1fr 1fr; } }

.dontbe-mascot { display: flex; justify-content: center; order: 2; }
@media (min-width: 1024px) { .dontbe-mascot { order: 1; } }

.dontbe-content { order: 1; }
@media (min-width: 1024px) { .dontbe-content { order: 2; } }

.warning-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    margin-bottom: 1.5rem;
}

.warning-badge svg { width: 16px; height: 16px; color: #f87171; }
.warning-badge span { font-size: 0.875rem; color: #fca5a5; }

.dontbe-content h2 { font-size: 2rem; font-weight: 700; margin-bottom: 1rem; }
.dontbe-red {
    background: linear-gradient(to right, #f87171, #fb923c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dontbe-content > p { font-size: 1.125rem; color: var(--muted); margin-bottom: 1.5rem; }

.dontbe-list { list-style: none; margin-bottom: 2rem; }
.dontbe-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.dontbe-x {
    width: 24px; height: 24px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dontbe-x span { font-size: 0.875rem; color: #f87171; }
.dontbe-list li span { color: var(--muted); }

.dontbe-box {
    padding: 1rem;
    border-radius: 0.75rem;
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.dontbe-box p { font-size: 0.875rem; color: var(--blue-lighter); }
.dontbe-box strong { color: var(--blue-light); }

/* Waitlist */
.waitlist-inner {
    max-width: 32rem;
    margin: 0 auto;
    text-align: center;
    padding: 0 1rem;
}

.waitlist h2 { font-size: 2rem; font-weight: 700; margin-bottom: 1rem; }
.waitlist p { color: var(--muted); margin-bottom: 2rem; }

.waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) { .waitlist-form { flex-direction: row; } }

.waitlist-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    background: rgba(10, 12, 18, 0.8);
    border: 1px solid rgba(30, 40, 60, 0.5);
    color: var(--fg);
    font-size: 1rem;
    outline: none;
}

.waitlist-input:focus { border-color: var(--blue); }
.waitlist-input::placeholder { color: #64748b; }

.success {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--blue-light);
}

.success svg { width: 20px; height: 20px; }

.note { font-size: 0.75rem; color: var(--muted); margin-top: 1rem; }
.count { color: var(--blue-light); }

/* Footer */
footer {
    position: relative;
    z-index: 10;
    padding: 3rem 0;
    border-top: 1px solid rgba(30, 40, 60, 0.5);
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

@media (min-width: 768px) { .footer-inner { flex-direction: row; justify-content: space-between; } }

.social { display: flex; gap: 1.5rem; }
.social a { color: var(--muted); transition: color 0.2s; }
.social a:hover { color: var(--fg); }
.social svg { width: 20px; height: 20px; }

.copyright { font-size: 0.875rem; color: var(--muted); }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #1e283c; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue); }
::selection { background: rgba(37, 99, 235, 0.3); }
