:root {
  --bg-primary: #000000;
  --bg-secondary: #0a0a0a;
  --surface: #141414;
  --accent: #ff6600; /* vibrant orange */
  --accent-light: #ff944d;
  --accent-dark: #cc5200;
  --text-primary: #e8e6e1;
  --text-secondary: #ffffff;
  --text-muted: #aca9a4;
  --border: #252525;
  --border-light: #333333;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-lg: 0 25px 60px rgba(0, 0, 0, 0.8);
  --shadow-accent: 0 0 60px rgba(255, 102, 0, 0.08);
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --font-mono:
    "SF Mono", "Cascadia Code", "JetBrains Mono", "Fira Code", "Consolas",
    monospace;
  --font-sans:
    "Inter", "Segoe UI", "Helvetica Neue", system-ui, -apple-system, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: #000000; /* pure black fallback */
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.8)), url("slide1.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
}

/* ── Animated background grid (orange-tinted) ── */
.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.04;
  background-image:
    linear-gradient(rgba(255, 102, 0, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 102, 0, 0.5) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(
    ellipse 70% 60% at 50% 40%,
    black 30%,
    transparent 70%
  );
  -webkit-mask-image: radial-gradient(
    ellipse 70% 60% at 50% 40%,
    black 30%,
    transparent 70%
  );
}

/* ── Floating orbs (orange glow) ── */
.orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(120px);
  opacity: 0.15;
  animation: floatOrb 18s ease-in-out infinite;
}
.orb--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(255, 102, 0, 0.4) 0%,
    transparent 70%
  );
  top: -20%;
  left: -10%;
  animation-delay: 0s;
  animation-duration: 20s;
}
.orb--2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(255, 102, 0, 0.35) 0%,
    transparent 70%
  );
  bottom: -18%;
  right: -8%;
  animation-delay: -8s;
  animation-duration: 22s;
}
.orb--3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(
    circle,
    rgba(255, 102, 0, 0.25) 0%,
    transparent 70%
  );
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -14s;
  animation-duration: 16s;
}

@keyframes floatOrb {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  20% {
    transform: translate(60px, -40px) scale(1.08);
  }
  40% {
    transform: translate(-30px, 50px) scale(0.94);
  }
  60% {
    transform: translate(-55px, -25px) scale(1.05);
  }
  80% {
    transform: translate(40px, 35px) scale(0.96);
  }
}

/* ── Noise texture ── */
.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

/* ── Main container ── */
.main-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 720px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* ── Logo (image now) ── */
.brand {
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.9s ease-out both;
}
.brand__logo {
  height: 70px; /* adjust to your logo's size */
  width: auto;
  filter: brightness(1.1) drop-shadow(0 4px 12px rgba(255, 102, 0, 0.25));
  transition: filter var(--transition-smooth);
}
.brand__logo:hover {
  filter: brightness(1.2) drop-shadow(0 6px 16px rgba(255, 102, 0, 0.4));
}

/* ── Headline ── */
.headline {
  animation: fadeInUp 0.9s ease-out 0.15s both;
  margin-bottom: 1rem;
}
.headline__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(255, 102, 0, 0.08);
  border: 1px solid rgba(255, 102, 0, 0.25);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.4rem;
}
.headline__title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 0.8rem;
}
.headline__title .accent {
  color: var(--accent);
}
.headline__subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  font-weight: 400;
  max-width: 440px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Notify form ── */
.notify-form {
  display: flex;
  gap: 0.6rem;
  width: 100%;
  max-width: 460px;
  animation: fadeInUp 0.9s ease-out 0.45s both;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2rem;
}
.notify-form__input {
  flex: 1;
  min-width: 220px;
  padding: 0.9rem 1.2rem;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 50px;
  outline: none;
  transition: all var(--transition-fast);
  letter-spacing: 0.01em;
}
.notify-form__input::placeholder {
  color: var(--text-muted);
  font-weight: 400;
}
.notify-form__input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 102, 0, 0.12);
  background: var(--surface);
}
.notify-form__btn {
  padding: 0.9rem 1.8rem;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: var(--font-sans);
  letter-spacing: 0.03em;
  color: #000000;
  background: linear-gradient(
    135deg,
    var(--accent-light) 0%,
    var(--accent) 50%,
    var(--accent-dark) 100%
  );
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition-smooth);
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(255, 102, 0, 0.25);
  position: relative;
  overflow: hidden;
}
.notify-form__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255, 102, 0, 0.4);
  filter: brightness(1.08);
}
.notify-form__btn:active {
  transform: scale(0.97);
  transition: transform 0.1s ease;
}
.notify-form__btn--success {
  background: linear-gradient(135deg, #4caf84 0%, #3a8d62 100%) !important;
  box-shadow: 0 6px 20px rgba(60, 140, 100, 0.3) !important;
  pointer-events: none;
}

/* ── Footer ── */
.footer-note {
  margin-top: 2.5rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  animation: fadeInUp 0.9s ease-out 0.6s both;
}
.footer-note span {
  color: var(--accent);
  opacity: 0.9;
}

/* ── Toast ── */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  z-index: 100;
  background: var(--surface);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  padding: 0.9rem 1.6rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-lg);
  transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.toast--visible {
  transform: translateX(-50%) translateY(0);
}
.toast__icon {
  color: #4caf84;
  font-weight: 700;
  font-size: 1.1rem;
}

/* ── Animations ── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .main-container {
    padding: 1.5rem 1rem;
  }
  .notify-form {
    flex-direction: column;
    align-items: center;
    max-width: 100%;
  }
  .notify-form__input {
    width: 100%;
    min-width: unset;
    text-align: center;
  }
  .notify-form__btn {
    width: 100%;
    text-align: center;
  }
  .headline__title {
    font-size: 1.9rem;
  }
  .brand__logo {
    height: 55px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .orb,
  .notify-form__btn,
  .bg-grid {
    animation: none !important;
    transition: none !important;
  }
  .orb {
    display: none;
  }
}
