:root {
  /* Color Palette - Premium Dark SaaS */
  --bg-color: #050508;
  --bg-surface: #0a0b10;
  --bg-surface-darker: #07080b;
  --bg-glass: rgba(15, 17, 26, 0.4);
  --bg-glass-hover: rgba(25, 28, 43, 0.5);
  
  --text-dark: #050508;
  --text-light: #f4f5f9;
  --text-muted: #8b92a5;
  
  --primary-color: #3b82f6;
  --primary-light: #60a5fa;
  --primary-glow: rgba(59, 130, 246, 0.5);
  
  --accent-color: #8b5cf6;
  --accent-light: #a78bfa;
  --accent-glow: rgba(139, 92, 246, 0.5);
  
  --border-color: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.15);
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Outfit', var(--font-primary);
  
  /* Spacing & Layout */
  --section-padding: clamp(4rem, 8vw, 8rem);
  --container-width: 1200px;
  --container-sm: 800px;
  --container-lg: 1400px;
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base Setup */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-color);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Typography Utilities */
h1, h2, h3, h4, .font-display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.text-gradient {
  background: linear-gradient(135deg, var(--text-light) 0%, var(--primary-light) 50%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.text-muted { color: var(--text-muted); }
.text-light { color: var(--text-light); }
.text-primary { color: var(--primary-color); }
.text-primary-light { color: var(--primary-light); }

.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-4xl { font-size: clamp(2rem, 5vw, 2.5rem); }
.text-6xl { font-size: clamp(3rem, 8vw, 4rem); }

.font-semibold { font-weight: 600; }
.font-extrabold { font-weight: 800; }
.track-tight { letter-spacing: -0.04em; }
.tracking-wide { letter-spacing: 0.05em; }

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container-sm { max-width: var(--container-sm); }
.container-lg { max-width: var(--container-lg); }

.padding-section { padding: var(--section-padding) 0; }
.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.z-10 { z-index: 10; }
.overflow-hidden { overflow: hidden; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.items-center { align-items: center; }
.align-start { align-items: flex-start; }
.align-baseline { align-items: baseline; }
.gap-3 { gap: 0.75rem; }
.gap-12 { gap: 3rem; }

.text-center { text-align: center; }
.inline-flex { display: inline-flex; }
.shrink-0 { flex-shrink: 0; }

.w-full { width: 100%; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-xs { max-width: 20rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mr-3 { margin-right: 0.75rem; }
.ml-2 { margin-left: 0.5rem; }

.p-2 { padding: 0.5rem; }
.p-8 { padding: 2rem; }
.p-12 { padding: 3rem; }
.pt-8 { padding-top: 2rem; }
.pt-16 { padding-top: 4rem; }
.pb-6 { padding-bottom: 1.5rem; }
.pb-8 { padding-bottom: 2rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }

/* Grid Systems */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .md-gap-24 { gap: 6rem; }
  .md-text-5xl { font-size: 3.5rem; }
}

@media (min-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Background Aesthetics & Glassmorphism */
.bg-surface-darker { background-color: var(--bg-surface-darker); }

.glass {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
}

.glass-panel {
  background: linear-gradient(180deg, rgba(20, 22, 33, 0.6) 0%, rgba(10, 11, 16, 0.8) 100%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-color);
  box-shadow: 0 24px 64px -12px rgba(0, 0, 0, 0.5);
}

.premium-border {
  position: relative;
  background-clip: padding-box;
  border-radius: var(--radius-xl);
}
.premium-border::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px; right: -1px; bottom: -1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 50%, rgba(255,255,255,0.05) 100%);
  z-index: -1;
  border-radius: calc(var(--radius-xl) + 1px);
}

.border-b { border-bottom: 1px solid var(--border-color); }
.border-t { border-top: 1px solid var(--border-color); }
.border-glass { border-color: var(--border-color); }

.rounded-full { border-radius: 9999px; }
.rounded-b-xl { border-radius: 0 0 var(--radius-xl) var(--radius-xl); }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }

/* Blob Backgrounds */
.blob-bg {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  z-index: -10;
  pointer-events: none;
  animation: float-blob 20s infinite ease-in-out alternate;
}

.blob-1 {
  top: -10%; left: -10%;
  width: 50vw; height: 50vw;
  background: var(--primary-color);
}

.blob-2 {
  bottom: -20%; right: -10%;
  width: 60vw; height: 60vw;
  background: var(--accent-color);
  animation-delay: -10s;
}

@keyframes float-blob {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(5%, 10%) scale(1.1); }
  100% { transform: translate(-5%, 5%) scale(0.95); }
}

/* Nav Styles */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 4.5rem;
  z-index: 100;
  border-bottom: 1px solid var(--border-color);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  text-decoration: none;
  color: var(--text-light);
}

.logo-mark {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  position: relative;
}

.gradient-glow::after, .gradient-glow-sm::after {
  content: "";
  position: absolute;
  inset: -2px;
  background: inherit;
  filter: blur(8px);
  z-index: -1;
  opacity: 0.6;
}

.gradient-glow-sm::after { filter: blur(4px); opacity: 0.4; }

.nav-links {
  display: none;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav-links { display: flex; }
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a:hover {
  color: var(--text-light);
}

.hover-underline::before {
  content: "";
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background-color: var(--text-light);
  transition: width var(--transition-normal);
  border-radius: 2px;
}

.hover-underline:hover::before { width: 100%; }

.nav-actions {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.nav-links.mobile-active {
  display: flex !important;
  flex-direction: column;
  position: fixed;
  top: 4.5rem;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-surface);
  padding: 2rem;
  z-index: 99;
  gap: 2rem;
  align-items: center;
  justify-content: center;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.nav-actions.mobile-active {
  display: flex !important;
  position: fixed;
  bottom: 3rem;
  left: 0;
  right: 0;
  padding: 0 2rem;
  z-index: 100;
  justify-content: center;
}

@media (max-width: 767px) {
  .nav-links:not(.mobile-active) { display: none; }
  .nav-actions:not(.mobile-active) { display: none; }
  
  .hero-title {
    font-size: clamp(2.5rem, 10vw, 3.5rem);
    line-height: 1.1;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .padding-section {
    padding: 4rem 0;
  }

  .pricing-price .price-amount {
    font-size: 4rem;
  }

  .modal-window {
    padding: 2rem 1.5rem;
    margin: 1rem;
  }
}

@media (min-width: 768px) {
  .nav-actions { display: flex; }
}

.mobile-menu-toggle {
  display: block;
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  padding: 0.5rem;
}

@media (min-width: 768px) {
  .mobile-menu-toggle { display: none; }
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.2, 0, 0.2, 1), 
              box-shadow 0.2s cubic-bezier(0.2, 0, 0.2, 1),
              background 0.2s cubic-bezier(0.2, 0, 0.2, 1),
              border-color 0.2s cubic-bezier(0.2, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

.btn-lg {
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
}

.btn-xl {
  padding: 1rem 2rem;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

.btn-full { width: 100%; }

.btn-primary {
  background: #ffffff;
  color: #0a0b10;
  border: 1px solid #ffffff;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 25px -5px rgba(255, 255, 255, 0.2);
  background: #ffffff;
}

.btn-primary:active {
  transform: translateY(-1px) scale(0.98);
}

.btn-outline {
  background: transparent;
  color: var(--text-light);
  border: 1px solid var(--border-light);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--text-light);
  transform: translateY(-3px);
}

/* Sheen / Glow Effects */
.btn-glow {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: all 0.6s;
  pointer-events: none;
  z-index: 1;
}

.btn:hover .btn-glow {
  left: 100%;
}

.pulse-hover .btn-glow {
  /* Hide the old pulse glow container if it's still in HTML, 
     re-using it for the sheen effect above */
  display: block; 
}

.btn span, .btn svg { 
  position: relative; 
  z-index: 2; 
  transition: transform 0.3s cubic-bezier(0.2, 0, 0.2, 1); 
  display: inline-flex;
  align-items: center;
}

.btn:hover span, .btn:hover svg:not(.group-hover-translate) {
  transform: translateY(-1px);
}

.group-hover-translate {
  transition: transform 0.3s cubic-bezier(0.2, 0, 0.2, 1);
}

.group:hover .group-hover-translate {
  transform: translateX(5px) translateY(-1px);
}

.check-icon { width: 1.5rem; height: 1.5rem; }

/* Interactive Elements */
.interactive { transition: transform 0.1s cubic-bezier(0.4, 0, 0.2, 1); }
.interactive:active { transform: scale(0.95); }

.card-glow-hover { transition: all var(--transition-normal); }
.card-glow-hover:hover {
  background: var(--bg-glass-hover);
  border-color: var(--border-light);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

/* Hero Section */
.hero {
  padding: clamp(8rem, 15vw, 12rem) 0 4rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to bottom, black 20%, transparent 80%);
  -webkit-mask-image: linear-gradient(to bottom, black 20%, transparent 80%);
  z-index: -1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0 auto;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 2rem;
  border: 1px solid var(--border-light);
}

.chip-dot {
  width: 8px; height: 8px;
  background-color: var(--primary-color);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--primary-glow);
}

.hero-title {
  font-size: clamp(3rem, 7vw, 5.5rem);
  margin-bottom: 1.5rem;
  max-width: 54rem;
  word-break: break-word;
  hyphens: auto;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
}

.float-subtle {
  animation: float 6s ease-in-out infinite;
}

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

.animate-gradient {
  background-size: 200% auto;
  animation: shine 4s linear infinite;
}

@keyframes shine {
  to { background-position: 200% center; }
}

.hero-demo-wrapper {
  position: relative;
  max-width: 600px;
  width: 100%;
  margin: 4rem auto 0;
}

.glow-ring {
  position: absolute;
  inset: -20px;
  background: conic-gradient(from 180deg at 50% 50%, var(--primary-glow) 0deg, var(--accent-glow) 180deg, var(--primary-glow) 360deg);
  filter: blur(40px);
  opacity: 0.5;
  z-index: -1;
  border-radius: inherit;
  animation: spin 10s linear infinite;
}

@keyframes spin { 100% { transform: rotate(360deg); } }

.hero-demo-window {
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.window-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.window-dots {
  position: absolute;
  left: 1rem;
  display: flex;
  gap: 0.5rem;
}

.window-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.dot-red { background-color: #ff5f56; }
.dot-yellow { background-color: #ffbd2e; }
.dot-green { background-color: #27c93f; }

.chat-interface {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 200px;
}

.chat-message {
  display: flex;
  opacity: 0;
  transform: translateY(10px);
  animation: slideInChat 0.3s forwards cubic-bezier(0.16, 1, 0.3, 1);
}

.user-msg { justify-content: flex-end; }

.ai-msg {
  justify-content: flex-start;
  align-items: flex-start;
  gap: 0.75rem;
}

.msg-bubble {
  padding: 0.75rem 1rem;
  border-radius: 1rem;
  font-size: 0.9rem;
  max-width: 85%;
  line-height: 1.5;
}

.user-msg .msg-bubble {
  background-color: var(--text-light);
  color: var(--text-dark);
  border-bottom-right-radius: 0.25rem;
}

.ai-msg .msg-bubble {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: var(--text-light);
  border-bottom-left-radius: 0.25rem;
}

.msg-avatar {
  width: 2rem; height: 2rem;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.chat-input-placeholder {
  margin: 0 1.5rem 1.5rem;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-light);
  border-radius: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.send-icon {
  background: var(--text-light);
  color: var(--text-dark);
  width: 2rem; height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Typing Indicator Animation */
.typing-dots { display: inline-flex; gap: 4px; padding: 4px 0; }
.typing-dot {
  width: 6px; height: 6px;
  background: var(--text-muted);
  border-radius: 50%;
  animation: typing 1.4s infinite ease-in-out both;
}
.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typing {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}
@keyframes slideInChat {
  to { opacity: 1; transform: translateY(0); }
}

/* Steps Section */
.steps-container { position: relative; }
.step-connector {
  position: absolute;
  top: 0; bottom: 0; left: 24px;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary-color) 0%, var(--accent-color) 100%);
  opacity: 0.3;
  z-index: -1;
}

@media (min-width: 768px) {
  .step-connector { left: 50%; transform: translateX(-50%); }
}

.step-row {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 4rem;
  position: relative;
}

@media (min-width: 768px) {
  .step-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .step-row.reverse { flex-direction: row-reverse; }
  .step-graphic, .step-content { width: 45%; }
  .step-content { padding-left: 2rem; }
  .step-row.reverse .step-content { padding-left: 0; padding-right: 2rem; text-align: right; }
}

.step-graphic {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.icon-wrapper {
  width: 4rem; height: 4rem;
  border-radius: 1rem;
  display: flex; align-items: center; justify-content: center;
  color: white;
  box-shadow: 0 0 30px var(--primary-glow);
}
.gradient-bg {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-light));
}

.step-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.5rem;
  opacity: 0.7;
}

.step-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Use Cases */
.case-card {
  padding: 2rem;
  border-radius: var(--radius-md);
  text-align: center;
}

.case-icon-wrapper {
  width: 3.5rem; height: 3.5rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-light);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
}

.case-title {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

/* FAQ */
.faq-accordion { overflow: hidden; }
.faq-item {
  border-bottom: 1px solid var(--border-color);
}
.faq-item:last-child { border-bottom: none; }

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: var(--text-light);
  font-size: 1.125rem;
  font-weight: 500;
  font-family: inherit;
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all var(--transition-fast);
}

.faq-question:hover { color: var(--primary-light); }

.faq-icon {
  transition: transform var(--transition-fast);
  color: var(--text-muted);
}
.faq-item.active .faq-icon { transform: rotate(45deg); color: var(--text-light); }

.faq-answer {
  height: 0;
  overflow: hidden;
  transition: height var(--transition-normal);
}

.faq-answer-inner {
  padding: 0 1.5rem 1.5rem;
  line-height: 1.6;
}

/* Final CTA */
.flare-bg {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80vw; height: 80vw;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
  z-index: 0;
  pointer-events: none;
}

/* Scroll Reveal Animations */
.reveal-up {
  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-up.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }

/* Stagger Children */
.stagger-in > * {
  opacity: 0;
  transform: translateY(20px);
  animation: staggerFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.stagger-in > *:nth-child(1) { animation-delay: 0.1s; }
.stagger-in > *:nth-child(2) { animation-delay: 0.2s; }

@keyframes staggerFadeIn {
  to { opacity: 1; transform: translateY(0); }
}
/* Modal & Waitlist Styles */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
  padding: 1.5rem;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-window {
  width: 100%;
  max-width: 500px;
  padding: 3rem 2rem;
  border-radius: var(--radius-xl);
  position: relative;
  transform: translateY(20px);
  transition: transform var(--transition-normal);
}

.modal-overlay.active .modal-window {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.modal-close:hover {
  color: var(--text-light);
}

.modal-content-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.capacity-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #f87171;
  border-radius: 9999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background-color: #ef4444;
  border-radius: 50%;
  box-shadow: 0 0 8px #ef4444;
  animation: pulse-red 2s infinite;
}

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

.modal-title {
  font-size: 2rem;
}

.glass-input {
  width: 100%;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-light);
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: all var(--transition-normal);
}

.glass-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.waitlist-form-container {
  width: 100%;
}

.waitlist-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeIn 0.5s forwards ease-out;
}

.hidden {
  display: none;
}

.success-icon-wrapper {
  width: 4rem;
  height: 4rem;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  color: #4ade80;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.logo-img {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
  filter: drop-shadow(0 0 10px var(--primary-glow));
}

.logo-img-sm {
  width: 1.75rem;
  height: 1.75rem;
  object-fit: contain;
  filter: drop-shadow(0 0 5px var(--primary-glow));
}
