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

:root {
  --bg: #000000;
  --text: #f0f4ff;
  --text-muted: rgba(240, 244, 255, 0.55);
  --purple: #6366f1;
  --blue: #3b82f6;
  --cyan: #06b6d4;
  --glass: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --gradient: linear-gradient(135deg, var(--purple) 0%, var(--blue) 50%, var(--cyan) 100%);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Video Background ── */

.video-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(99, 102, 241, 0.12) 0%, transparent 60%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.85) 70%, #000 100%);
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 80%);
}

/* ── Ambient Glows ── */

.glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 1;
}

.glow-1 {
  width: 500px;
  height: 500px;
  top: -10%;
  left: -10%;
  background: rgba(99, 102, 241, 0.15);
  animation: float 12s ease-in-out infinite;
}

.glow-2 {
  width: 400px;
  height: 400px;
  bottom: -5%;
  right: -5%;
  background: rgba(6, 182, 212, 0.12);
  animation: float 14s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, 20px); }
}

/* ── Layout ── */

.page {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem 1.5rem;
}

/* ── Header ── */

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(6, 182, 212, 0.35));
}

.brand {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.status-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 100px;
  backdrop-filter: blur(12px);
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ── Hero ── */

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.15s forwards;
}

.headline {
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 800px;
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.3s forwards;
}

.gradient-text {
  display: block;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subheadline {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 620px;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.45s forwards;
}

/* ── Feature Cards ── */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  width: 100%;
  max-width: 900px;
  margin-bottom: 2.5rem;
}

.feature-card {
  padding: 1.5rem 1.25rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  backdrop-filter: blur(20px);
  text-align: left;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}

.feature-card:nth-child(1) { animation-delay: 0.55s; }
.feature-card:nth-child(2) { animation-delay: 0.65s; }
.feature-card:nth-child(3) { animation-delay: 0.75s; }

.feature-card:hover {
  border-color: rgba(6, 182, 212, 0.25);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(6, 182, 212, 0.08);
}

.feature-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(99, 102, 241, 0.12);
  color: var(--cyan);
  margin-bottom: 1rem;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/* ── Notify Form ── */

.notify-form {
  width: 100%;
  max-width: 480px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.85s forwards;
}

.input-group {
  display: flex;
  gap: 0.5rem;
  padding: 0.35rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  backdrop-filter: blur(20px);
  transition: border-color 0.3s;
}

.input-group:focus-within {
  border-color: rgba(6, 182, 212, 0.35);
}

.input-group input {
  flex: 1;
  padding: 0.75rem 1rem;
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--text);
  background: transparent;
  border: none;
  outline: none;
}

.input-group input::placeholder {
  color: rgba(240, 244, 255, 0.3);
}

.btn-primary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  background: var(--gradient);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}

.btn-primary svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 24px rgba(6, 182, 212, 0.3);
}

.btn-primary:hover svg {
  transform: translateX(3px);
}

.btn-primary:active {
  transform: translateY(0);
}

.form-message {
  margin-top: 0.75rem;
  font-size: 0.82rem;
  min-height: 1.2em;
  transition: color 0.3s;
}

.form-message.success {
  color: var(--cyan);
}

.form-message.error {
  color: #f87171;
}

/* ── Footer ── */

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  margin-top: auto;
  font-size: 0.78rem;
  color: var(--text-muted);
  opacity: 0;
  animation: fadeUp 0.8s ease 1s forwards;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

/* ── Animations ── */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Responsive ── */

@media (max-width: 768px) {
  .page {
    padding: 1.5rem 1.25rem 1.25rem;
  }

  .header {
    margin-bottom: 2rem;
  }

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

  .brand {
    font-size: 1.15rem;
  }

  .status-badge {
    font-size: 0.65rem;
    padding: 0.35rem 0.75rem;
  }

  .features {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .input-group {
    flex-direction: column;
    padding: 0.5rem;
  }

  .btn-primary {
    justify-content: center;
    width: 100%;
  }

  .footer {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .video-bg video {
    display: none;
  }
}
