:root {
  --accent: #5BB8FF;
  --accent-light: #8ED1FF;
  --bg: #060608;
  --glass: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glass-strong: rgba(255, 255, 255, 0.06);
  --text: #fff;
  --text-dim: rgba(255, 255, 255, 0.55);
  --text-muted: rgba(255, 255, 255, 0.25);
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(91,184,255,0.2) transparent;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  line-height: 1.6;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(91,184,255,0.15); border-radius: 3px; }

a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; outline: none; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* ========== ANIMATED BACKGROUND ========== */
.bg-scene {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.mesh-gradient {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
  animation: float 20s ease-in-out infinite;
}

.mesh-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(91,184,255,0.15), transparent);
  top: -200px; left: -100px;
  animation-delay: 0s;
}
.mesh-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(91,184,255,0.08), transparent);
  top: 40%; right: -150px;
  animation-delay: -7s;
  animation-duration: 25s;
}
.mesh-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(142,209,255,0.06), transparent);
  bottom: -100px; left: 30%;
  animation-delay: -14s;
  animation-duration: 30s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -40px) scale(1.05); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(40px, 30px) scale(1.02); }
}

/* Cursor Glow */
.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91,184,255,0.06), transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: left 0.3s ease, top 0.3s ease;
}

/* Grid Overlay */
.grid-overlay {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 80px 80px;
  z-index: -1;
  pointer-events: none;
}

/* ========== NAV ========== */
.nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  background: rgba(12, 12, 16, 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  padding: 8px 8px 8px 20px;
  display: flex;
  align-items: center;
  gap: 24px;
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
}

.dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
  animation: dot-pulse 2.5s ease-in-out infinite;
}

@keyframes dot-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links a {
  font-size: 13px;
  color: var(--text-dim);
  transition: color 0.2s;
}
.nav-links a:hover { color: #fff; }

.nav-cta {
  background: var(--accent);
  color: #000;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 999px;
  transition: all 0.2s;
}
.nav-cta:hover {
  box-shadow: 0 0 20px rgba(91,184,255,0.4);
  transform: scale(1.02);
}

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 32px 80px;
  position: relative;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(91,184,255,0.08);
  border: 1px solid rgba(91,184,255,0.15);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 32px;
}
.badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  max-width: 800px;
}
.hero h1 .gradient-text {
  background: linear-gradient(135deg, #fff 0%, var(--accent-light) 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero h1 .dim {
  display: block;
  -webkit-text-fill-color: rgba(255,255,255,0.35);
}

.hero-sub {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 500px;
  margin: 0 auto 48px;
  line-height: 1.65;
}

/* ========== WAITLIST ========== */
.waitlist-wrap {
  margin-bottom: 12px;
}

.waitlist-form {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  padding: 5px 5px 5px 24px;
  width: 460px;
  max-width: 90vw;
  transition: all 0.3s;
  box-shadow: 0 8px 40px rgba(0,0,0,0.25);
}
.waitlist-form:focus-within {
  border-color: rgba(91,184,255,0.35);
  box-shadow: 0 0 0 4px rgba(91,184,255,0.08), 0 8px 40px rgba(0,0,0,0.25);
}

.waitlist-form input {
  flex: 1;
  background: none;
  border: none;
  color: #fff;
  font-size: 15px;
  outline: none;
  font-family: inherit;
  min-width: 0;
}
.waitlist-form input::placeholder { color: var(--text-muted); }

.waitlist-form button {
  background: var(--accent);
  color: #000;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 24px;
  border-radius: 999px;
  white-space: nowrap;
  transition: all 0.2s;
}
.waitlist-form button:hover {
  box-shadow: 0 0 16px rgba(91,184,255,0.35);
}
.waitlist-form button:disabled {
  opacity: 0.6;
}

.success-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(74,222,128,0.08);
  border: 1px solid rgba(74,222,128,0.2);
  color: #4ADE80;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 14px;
  animation: popIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes popIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.hero-note { font-size: 13px; color: var(--text-muted); margin-top: 8px; }

/* ========== VIDEO FRAME ========== */
.video-section {
  margin-top: 72px;
  width: 100%;
  max-width: 860px;
  position: relative;
}

.video-frame {
  background: rgba(12,12,16,0.6);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(20px);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 40px 80px -20px rgba(0,0,0,0.7),
    0 0 60px rgba(91,184,255,0.04);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s;
}
.video-frame:hover {
  transform: translateY(-4px);
  box-shadow:
    0 0 0 1px rgba(91,184,255,0.12),
    0 40px 80px -20px rgba(0,0,0,0.7),
    0 0 80px rgba(91,184,255,0.08);
}

.video-bar {
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}
.vb-dot { width: 10px; height: 10px; border-radius: 50%; }
.vb-r { background: #FF5F57; }
.vb-y { background: #FEBC2E; }
.vb-g { background: #28C840; }
.vb-title {
  position: absolute;
  left: 50%; transform: translateX(-50%);
  font-size: 12px;
  color: var(--text-muted);
}

.gallery-body {
  position: relative;
  height: 480px;
  background: radial-gradient(ellipse at 50% 50%, rgba(91,184,255,0.03), transparent 70%);
  overflow: hidden;
}
.gallery-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.gallery-img:nth-child(1) { animation: fadeCycle 16s infinite; }
.gallery-img:nth-child(2) { animation: fadeCycle 16s infinite 4s; }
.gallery-img:nth-child(3) { animation: fadeCycle 16s infinite 8s; }
.gallery-img:nth-child(4) { animation: fadeCycle 16s infinite 12s; }

@keyframes fadeCycle {
  0% { opacity: 0; }
  10% { opacity: 1; }
  25% { opacity: 1; }
  35% { opacity: 0; }
  100% { opacity: 0; }
}

/* ========== FEATURES ========== */
.features { padding: 120px 0; }
.section-label {
  text-align: center;
  margin-bottom: 64px;
}
.section-label h2 {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-label p {
  color: var(--text-dim);
  font-size: 17px;
  max-width: 480px;
  margin: 0 auto;
}

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

.f-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 36px 28px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.f-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(91,184,255,0.06), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}
.f-card:hover::before { opacity: 1; }
.f-card:hover {
  border-color: rgba(91,184,255,0.15);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 30px rgba(91,184,255,0.04);
}

.f-icon {
  width: 48px; height: 48px;
  background: rgba(91,184,255,0.08);
  border: 1px solid rgba(91,184,255,0.12);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--accent);
  position: relative;
}

.f-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  position: relative;
}
.f-card p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.65;
  position: relative;
}

/* ========== SOCIAL PROOF ========== */
.social-proof {
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  overflow: hidden;
  padding: 40px 0;
  position: relative;
}
.social-proof::before, .social-proof::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
}
.social-proof::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.social-proof::after { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }

.marquee-track {
  display: flex;
  gap: 20px;
  animation: marquee 35s linear infinite;
  width: max-content;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.quote-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 24px;
  width: 360px;
  flex-shrink: 0;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

/* ========== BOTTOM CTA ========== */
.bottom-cta {
  padding: 160px 0;
  text-align: center;
  position: relative;
}
.bottom-cta h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.bottom-cta .btn-big {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #000;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.25s;
}
.bottom-cta .btn-big:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(91,184,255,0.4);
}

/* ========== FOOTER ========== */
footer {
  border-top: 1px solid var(--glass-border);
  padding: 32px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

/* ========== REVEAL ANIMATIONS ========== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.hidden { display: none !important; }

/* Typing Cursor */
.typing-cursor {
  color: var(--accent);
  -webkit-text-fill-color: var(--accent);
}
.typing-cursor::after {
  content: '|';
  animation: blink 0.8s step-end infinite;
  margin-left: 2px;
  -webkit-text-fill-color: var(--accent);
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Particles */
.particles-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.particle {
  position: absolute;
  background: var(--accent);
  border-radius: 50%;
  animation: drift linear infinite;
}
@keyframes drift {
  0% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(30px, -60px) rotate(90deg); }
  50% { transform: translate(-20px, -120px) rotate(180deg); }
  75% { transform: translate(40px, -60px) rotate(270deg); }
  100% { transform: translate(0, 0) rotate(360deg); }
}

/* Stats Strip */
.stats-strip {
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  padding: 48px 0;
  background: rgba(0,0,0,0.2);
}
.stats-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.stat {
  text-align: center;
  min-width: 120px;
}
.stat-number {
  font-size: 40px;
  font-weight: 800;
  background: linear-gradient(135deg, #fff, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--glass-border);
}

/* ========== MOBILE ========== */
@media (max-width: 768px) {
  .nav { padding: 6px 6px 6px 14px; gap: 12px; }
  .nav-links a { display: none; }
  .nav-links a:last-of-type { display: block; }
  .nav-brand { font-size: 13px; }

  .hero { padding: 100px 20px 60px; }
  .hero h1 { font-size: 34px; }
  .hero-sub { font-size: 16px; }

  .waitlist-form {
    flex-direction: column;
    border-radius: 16px;
    padding: 8px;
    gap: 8px;
    width: 100%;
    max-width: 340px;
  }
  .waitlist-form input { text-align: center; padding: 12px 16px; }
  .waitlist-form button { width: 100%; padding: 12px; border-radius: 10px; }

  .video-section { margin-top: 40px; }
  .gallery-body { height: 260px; }

  .features-grid { grid-template-columns: 1fr; }
  .features { padding: 80px 0; }
  .section-label h2 { font-size: 28px; }

  .quote-card { width: 280px; }
  .bottom-cta { padding: 100px 0; }

  .stats-grid { gap: 24px; }
  .stat-number { font-size: 32px; }
  .stat-divider { display: none; }
}

@media (max-width: 400px) {
  .hero h1 { font-size: 28px; }
  .container { padding: 0 16px; }
}
