/* ============================================
   ZADEV Landing Page - Main Styles
   ============================================ */

/* ============================================
   CSS Variables & Design System
   ============================================ */
:root {
  /* Brand Colors */
  --color-light: #F6F1F1;
  --color-primary: #19A7CE;
  --color-secondary: #146C94;
  --color-dark: #000000;

  /* Semantic Colors */
  --bg-primary: var(--color-dark);
  --bg-secondary: #0A0A0A;
  --bg-card: rgba(20, 108, 148, 0.1);
  --bg-card-hover: rgba(20, 108, 148, 0.2);

  --text-primary: var(--color-light);
  --text-secondary: rgba(246, 241, 241, 0.7);
  --text-muted: rgba(246, 241, 241, 0.5);

  --accent-primary: var(--color-primary);
  --accent-secondary: var(--color-secondary);
  --accent-gradient: linear-gradient(135deg, var(--color-primary), var(--color-secondary));

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Poppins', var(--font-primary);

  --font-size-xs: 0.75rem;     /* 12px */
  --font-size-sm: 0.875rem;    /* 14px */
  --font-size-base: 1rem;      /* 16px */
  --font-size-lg: 1.125rem;    /* 18px */
  --font-size-xl: 1.25rem;     /* 20px */
  --font-size-2xl: 1.5rem;     /* 24px */
  --font-size-3xl: 1.875rem;   /* 30px */
  --font-size-4xl: 2.25rem;    /* 36px */
  --font-size-5xl: 3rem;       /* 48px */
  --font-size-6xl: 3.75rem;    /* 60px */

  /* Spacing */
  --spacing-xs: 0.5rem;    /* 8px */
  --spacing-sm: 1rem;      /* 16px */
  --spacing-md: 1.5rem;    /* 24px */
  --spacing-lg: 2rem;      /* 32px */
  --spacing-xl: 3rem;      /* 48px */
  --spacing-2xl: 4rem;     /* 64px */
  --spacing-3xl: 6rem;     /* 96px */

  /* Border Radius */
  --radius-sm: 0.375rem;   /* 6px */
  --radius-md: 0.5rem;     /* 8px */
  --radius-lg: 0.75rem;    /* 12px */
  --radius-xl: 1rem;       /* 16px */
  --radius-2xl: 1.5rem;    /* 24px */
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-glow: 0 0 30px rgba(25, 167, 206, 0.3);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Z-index */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal: 400;
  --z-tooltip: 500;
}

/* ============================================
   Reset & Base Styles
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

  html {
    scroll-behavior: auto;
  }
}

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

/* ============================================
   Global Particle Background
   ============================================ */
.global-particle-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* Ensure all content is above particle background */
nav,
section,
footer {
  position: relative;
  z-index: 1;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  color: var(--text-primary);
}

h1 { font-size: var(--font-size-5xl); }
h2 { font-size: var(--font-size-4xl); }
h3 { font-size: var(--font-size-2xl); }
h4 { font-size: var(--font-size-xl); }
h5 { font-size: var(--font-size-lg); }
h6 { font-size: var(--font-size-base); }

p {
  margin: 0;
  line-height: 1.7;
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-primary);
  filter: brightness(1.2);
}

ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ============================================
   Utility Classes
   ============================================ */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

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

/* ============================================
   Navigation
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-fixed);
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(25, 167, 206, 0.1);
  transition: all var(--transition-base);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  font-family: var(--font-display);
  font-size: var(--font-size-xl);
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
  transition: transform var(--transition-base);
}

.logo:hover {
  transform: scale(1.05);
}

.logo-icon {
  font-size: var(--font-size-2xl);
  color: var(--accent-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--spacing-xl);
}

.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: var(--font-size-sm);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a:hover {
  color: var(--accent-primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  transition: width var(--transition-base);
}

.nav-links a:hover::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--spacing-xs);
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--transition-base);
}

.mobile-menu {
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.98);
  backdrop-filter: blur(12px);
  padding: var(--spacing-lg);
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  z-index: var(--z-dropdown);
}

.mobile-menu.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.mobile-menu-links a {
  color: var(--text-primary);
  font-size: var(--font-size-lg);
  font-weight: 500;
  padding: var(--spacing-sm) 0;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
  padding: 0.875rem 1.75rem;
  border: none;
  border-radius: var(--radius-lg);
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-gradient);
  color: var(--color-dark);
  box-shadow: 0 4px 20px rgba(25, 167, 206, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(25, 167, 206, 0.4);
  filter: brightness(1.1);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid rgba(25, 167, 206, 0.3);
}

.btn-secondary:hover {
  background: rgba(25, 167, 206, 0.1);
  border-color: var(--accent-primary);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.625rem 1.25rem;
  font-size: var(--font-size-sm);
}

.btn-icon {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-base);
}

.btn:hover .btn-icon {
  transform: translateX(4px);
}

.btn-icon-left {
  width: 20px;
  height: 20px;
}

/* ============================================
   Badges
   ============================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: 0.5rem 1rem;
  background: rgba(25, 167, 206, 0.1);
  border: 1px solid rgba(25, 167, 206, 0.3);
  border-radius: var(--radius-full);
  color: var(--accent-primary);
  font-size: var(--font-size-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.section-badge {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  background: rgba(25, 167, 206, 0.1);
  border: 1px solid rgba(25, 167, 206, 0.3);
  border-radius: var(--radius-full);
  color: var(--accent-primary);
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: calc(80px + var(--spacing-3xl)) 0 var(--spacing-3xl);
  overflow: hidden;
}


.hero-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  z-index: 10;
  position: relative;
  opacity: 1;
  visibility: visible;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  margin-top: var(--spacing-sm);
  color: var(--text-primary);
}

.hero-subtitle {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  max-width: 540px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: var(--spacing-2xl);
  margin-top: var(--spacing-md);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.stat-value {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  font-family: var(--font-display);
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hero Visual */
.hero-visual {
  position: relative;
}

.dashboard-mock {
  background: linear-gradient(145deg, rgba(20, 108, 148, 0.2), rgba(25, 167, 206, 0.1));
  border: 1px solid rgba(25, 167, 206, 0.2);
  border-radius: var(--radius-2xl);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-2xl), var(--shadow-glow);
  backdrop-filter: blur(10px);
  animation: float 6s ease-in-out infinite;
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-sm);
  border-bottom: 1px solid rgba(25, 167, 206, 0.2);
}

.dashboard-dots {
  display: flex;
  gap: 6px;
}

.dashboard-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-primary);
  opacity: 0.6;
}

.dashboard-dots span:nth-child(2) {
  background: var(--color-secondary);
}

.dashboard-dots span:nth-child(3) {
  background: var(--color-light);
  opacity: 0.3;
}

.dashboard-title {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.dashboard-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  position: relative;
  min-height: 200px;
}

.data-bar {
  height: 12px;
  background: var(--accent-gradient);
  border-radius: var(--radius-full);
  width: var(--width, 70%);
  opacity: 0;
  animation: slideIn 1s ease-out forwards;
  animation-delay: var(--delay, 0s);
  box-shadow: 0 0 20px rgba(25, 167, 206, 0.4);
}

.dashboard-pulse {
  position: absolute;
  top: 50%;
  right: var(--spacing-md);
  width: 8px;
  height: 8px;
  background: var(--accent-primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

/* Chaos Feed Transformation Styles */
.chaos-container {
  position: relative;
  width: 100%;
  height: 500px;
  perspective: 1000px;
}

.browser-window {
  position: absolute;
  width: 420px;
  background: rgba(15, 20, 25, 0.95);
  border: 1px solid rgba(25, 167, 206, 0.2);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
              0 0 40px rgba(25, 167, 206, 0.1);
  backdrop-filter: blur(20px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Initial Stacked Chaos State */
.twitter-window {
  top: 40px;
  left: 0;
  transform: rotate(-8deg) translateY(0px);
  z-index: 3;
  opacity: 1;
}

.reddit-window {
  top: 80px;
  left: 60px;
  transform: rotate(5deg) translateY(0px);
  z-index: 2;
  opacity: 0.9;
}

.newsletter-window {
  top: 120px;
  left: 30px;
  transform: rotate(-3deg) translateY(0px);
  z-index: 1;
  opacity: 0.8;
}

/* Clean ZADEV State (Hidden Initially) */
.zadev-window {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  z-index: 0;
  opacity: 0;
  width: 500px;
}

/* Browser Window Components */
.browser-header {
  background: rgba(30, 30, 30, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.zadev-header {
  background: linear-gradient(135deg, rgba(20, 108, 148, 0.4), rgba(25, 167, 206, 0.2));
  border-bottom: 1px solid rgba(25, 167, 206, 0.3);
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.browser-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.browser-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.browser-content {
  padding: 20px;
  min-height: 200px;
}

/* Chaotic Feed Items */
.feed-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  margin-bottom: 8px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  opacity: 0;
  animation: fadeInItem 0.4s ease-out forwards;
}

.feed-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
}

.feed-text {
  flex: 1;
}

.feed-title {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 4px;
}

.feed-snippet {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

/* Clean ZADEV Feed Items */
.zadev-content {
  background: linear-gradient(135deg, rgba(20, 108, 148, 0.1), rgba(25, 167, 206, 0.05));
}

.zadev-feed-item {
  display: flex;
  gap: 12px;
  padding: 16px;
  margin-bottom: 12px;
  background: rgba(25, 167, 206, 0.08);
  border-radius: 10px;
  border: 1px solid rgba(25, 167, 206, 0.2);
  opacity: 0;
  animation: fadeInItem 0.5s ease-out forwards;
  transition: all 0.3s ease;
}

.zadev-feed-item:hover {
  background: rgba(25, 167, 206, 0.12);
  border-color: rgba(25, 167, 206, 0.4);
  transform: translateX(4px);
}

.zadev-badge {
  font-size: 11px;
  padding: 4px 10px;
  background: rgba(25, 167, 206, 0.2);
  border: 1px solid rgba(25, 167, 206, 0.3);
  border-radius: 6px;
  color: var(--accent-primary);
  font-weight: 600;
  white-space: nowrap;
  height: fit-content;
  display: flex;
  align-items: center;
  gap: 6px;
}

.zadev-badge svg {
  flex-shrink: 0;
}

.zadev-text {
  flex: 1;
}

.zadev-title {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 6px;
  line-height: 1.4;
}

.zadev-meta {
  font-size: 12px;
  color: rgba(25, 167, 206, 0.7);
  font-weight: 500;
}

.zadev-pulse {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 10px;
  height: 10px;
  background: var(--accent-primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
  box-shadow: 0 0 20px rgba(25, 167, 206, 0.6);
}

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

/* ============================================
   Section Styles
   ============================================ */
section {
  padding: var(--spacing-3xl) 0;
  position: relative;
  overflow: hidden;
}

/* Apply particle background to all sections */
section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top, rgba(25, 167, 206, 0.15), transparent 50%),
              radial-gradient(ellipse at bottom, rgba(20, 108, 148, 0.1), transparent 50%);
  z-index: 0;
  pointer-events: none;
}

/* Ensure section content is above background */
section > * {
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--spacing-3xl);
}

.section-title {
  margin-top: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
  font-size: clamp(2rem, 4vw, 3rem);
}

.section-subtitle {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   Features Section
   ============================================ */
.features {
  background: linear-gradient(180deg, transparent, rgba(25, 167, 206, 0.03), transparent);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-xl);
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid rgba(25, 167, 206, 0.2);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2xl), 0 0 40px rgba(25, 167, 206, 0.2);
  border-color: var(--accent-primary);
}

.feature-card:hover::before {
  opacity: 0.05;
}

.feature-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(25, 167, 206, 0.1);
  border: 2px solid rgba(25, 167, 206, 0.3);
  border-radius: var(--radius-lg);
  margin-bottom: var(--spacing-md);
  color: var(--accent-primary);
  transition: all var(--transition-base);
}

.feature-card:hover .feature-icon {
  background: var(--accent-gradient);
  color: var(--color-dark);
  transform: rotateY(180deg);
}

.feature-title {
  margin-bottom: var(--spacing-sm);
  color: var(--text-primary);
}

.feature-description {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
  line-height: 1.7;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.feature-list li {
  color: var(--text-muted);
  font-size: var(--font-size-sm);
  padding-left: var(--spacing-md);
  position: relative;
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-primary);
  font-weight: 700;
}

/* ============================================
   Demo Section
   ============================================ */
.demo {
  background: radial-gradient(ellipse at center, rgba(20, 108, 148, 0.1), transparent);
}

.demo-container {
  max-width: 900px;
  margin: 0 auto;
}

.demo-preview {
  position: relative;
}

.demo-browser {
  background: rgba(10, 10, 10, 0.8);
  border: 1px solid rgba(25, 167, 206, 0.2);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl), var(--shadow-glow);
}

.browser-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-md);
  background: rgba(25, 167, 206, 0.05);
  border-bottom: 1px solid rgba(25, 167, 206, 0.2);
}

.browser-dots {
  display: flex;
  gap: 8px;
}

.browser-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--text-muted);
  opacity: 0.5;
}

.browser-url {
  flex: 1;
  text-align: center;
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  font-family: monospace;
}

.browser-content {
  padding: var(--spacing-xl);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  min-height: 300px;
}

.feed-item {
  display: flex;
  gap: var(--spacing-md);
  padding: var(--spacing-md);
  background: rgba(25, 167, 206, 0.05);
  border: 1px solid rgba(25, 167, 206, 0.1);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  cursor: pointer;
}

.feed-item:hover {
  background: rgba(25, 167, 206, 0.1);
  border-color: var(--accent-primary);
  transform: translateX(8px);
}

.feed-indicator {
  width: 8px;
  height: 8px;
  background: var(--accent-primary);
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
  animation: pulse 2s infinite;
}

.feed-title {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.feed-meta {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
}

.demo-tooltip {
  position: absolute;
  background: rgba(0, 0, 0, 0.95);
  border: 1px solid var(--accent-primary);
  border-radius: var(--radius-md);
  padding: var(--spacing-sm) var(--spacing-md);
  box-shadow: var(--shadow-xl), 0 0 20px rgba(25, 167, 206, 0.3);
  opacity: 0;
  animation: tooltipFade 5s ease-in-out infinite;
}

.demo-tooltip-1 {
  top: 20%;
  right: -120px;
  animation-delay: 0s;
}

.demo-tooltip-2 {
  bottom: 30%;
  left: -120px;
  animation-delay: 1.5s;
}

.tooltip-title {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 4px;
}

.tooltip-text {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
}

/* ============================================
   How It Works Section
   ============================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.step {
  text-align: center;
  padding: var(--spacing-xl);
  background: var(--bg-card);
  border: 1px solid rgba(25, 167, 206, 0.2);
  border-radius: var(--radius-xl);
  transition: all var(--transition-slow);
  position: relative;
}

.step:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl), 0 0 30px rgba(25, 167, 206, 0.2);
  border-color: var(--accent-primary);
}

.step-number {
  position: absolute;
  top: var(--spacing-md);
  right: var(--spacing-md);
  font-size: var(--font-size-4xl);
  font-weight: 800;
  font-family: var(--font-display);
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.3;
}

.step-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--spacing-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(25, 167, 206, 0.1);
  border: 2px solid rgba(25, 167, 206, 0.3);
  border-radius: 50%;
  color: var(--accent-primary);
  transition: all var(--transition-base);
}

.step:hover .step-icon {
  background: var(--accent-gradient);
  color: var(--color-dark);
  transform: scale(1.1) rotate(360deg);
}

.step-title {
  margin-bottom: var(--spacing-sm);
  color: var(--text-primary);
}

.step-description {
  color: var(--text-secondary);
  line-height: 1.7;
}

.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================
   Testimonials Section - Terminal Style
   ============================================ */
.testimonials {
  background: linear-gradient(180deg, #0F1419 0%, #0A0E13 100%);
  padding: 100px 0;
}

.testimonial-terminal {
  max-width: 1000px;
  margin: 0 auto;
  background: #1E1E1E;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
              0 0 40px rgba(25, 167, 206, 0.1);
}

.testimonial-terminal .terminal-header {
  background: #2D2D2D;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #3D3D3D;
}

.testimonial-terminal .terminal-buttons {
  display: flex;
  gap: 8px;
}

.testimonial-terminal .terminal-button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.testimonial-terminal .terminal-button.close {
  background: #FF5F57;
}

.testimonial-terminal .terminal-button.minimize {
  background: #FFBD2E;
}

.testimonial-terminal .terminal-button.maximize {
  background: #28CA42;
}

.testimonial-terminal .terminal-title {
  color: #8B8B8B;
  font-size: 13px;
  font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
}

.testimonial-terminal .terminal-body {
  padding: 24px;
  font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
  font-size: 14px;
  line-height: 1.6;
  min-height: 400px;
}

.terminal-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.terminal-prompt {
  color: #19A7CE;
  font-weight: bold;
}

.terminal-command {
  color: #DCDCAA;
}

.terminal-cursor {
  display: inline-block;
  color: #19A7CE;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50% {
    opacity: 1;
  }
  51%, 100% {
    opacity: 0;
  }
}

.terminal-info-line {
  margin-bottom: 8px;
  opacity: 0;
  animation: fadeIn 0.3s ease forwards;
}

.terminal-info-line.success-line {
  margin-bottom: 24px;
}

.info-tag {
  color: #DCDCAA;
  font-weight: bold;
  margin-right: 8px;
}

.success-tag {
  color: #22C55E;
  font-weight: bold;
  margin-right: 8px;
}

.testimonial-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid #2D2D30;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  animation: slideUp 0.6s ease forwards;
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-emoji {
  font-size: 24px;
}

.testimonial-prompt {
  color: #4EC9B0;
  font-weight: bold;
}

.testimonial-cmd {
  color: #DCDCAA;
}

.testimonial-content {
  padding-left: 32px;
}

.testimonial-stars {
  font-size: 16px;
  margin-bottom: 12px;
}

.rating-text {
  color: #9CA3AF;
  font-size: 13px;
  margin-left: 8px;
}

.testimonial-quote {
  color: #F6F1F1;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 16px;
  font-style: italic;
}

.testimonial-meta {
  font-size: 13px;
}

.testimonial-role {
  color: #19A7CE;
  font-weight: 600;
  margin-bottom: 4px;
}

.testimonial-duration {
  color: #9CA3AF;
}

/* Mobile Responsive for Testimonials */
@media (max-width: 768px) {
  .testimonial-terminal .terminal-body {
    padding: 16px;
    font-size: 12px;
    min-height: 350px;
  }

  .testimonial-terminal .terminal-title {
    font-size: 11px;
  }

  .profile-emoji {
    font-size: 20px;
  }

  .testimonial-box {
    padding: 16px;
  }

  .testimonial-content {
    padding-left: 24px;
  }

  .testimonial-quote {
    font-size: 14px;
  }

  .testimonial-meta {
    font-size: 12px;
  }

  .terminal-command {
    word-break: break-all;
  }
}

/* ============================================
   Early Access Waitlist Section - Inner Circle Style (Dark Premium)
   ============================================ */
.early-access {
  padding: 120px 0;
  background: #000000;
  position: relative;
  overflow: hidden;
}

/* Animated dark grid pattern */
.early-access::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(25, 167, 206, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(25, 167, 206, 0.08) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridPulse 8s ease-in-out infinite;
  pointer-events: none;
}

/* Subtle radial glow */
.early-access::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1200px;
  height: 1200px;
  background: radial-gradient(
    circle,
    rgba(25, 167, 206, 0.12) 0%,
    rgba(20, 108, 148, 0.06) 30%,
    transparent 70%
  );
  animation: glowPulse 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes gridPulse {
  0%, 100% {
    opacity: 0.3;
    background-position: 0 0;
  }
  50% {
    opacity: 0.6;
    background-position: 25px 25px;
  }
}

@keyframes glowPulse {
  0%, 100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

/* Hero Content - Centered Layout */
.hero-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
  opacity: 1;
  transform: translateY(0);
  animation: fadeInUp 0.8s ease-out forwards;
}

/* Hero Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(25, 167, 206, 0.1);
  border: 1px solid rgba(25, 167, 206, 0.3);
  border-radius: 50px;
  color: #19A7CE;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 32px;
  animation: badgePulse 2s ease-in-out infinite;
}

.badge-dot {
  color: #19A7CE;
  font-size: 1.2rem;
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(25, 167, 206, 0.2);
  }
  50% {
    box-shadow: 0 0 30px rgba(25, 167, 206, 0.4);
  }
}

@keyframes dotPulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Hero Title */
.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-primary);
  margin: 0 0 24px;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, #19A7CE 0%, #146C94 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
}

.gradient-text::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, #19A7CE, transparent);
  border-radius: 2px;
  opacity: 0.6;
}

/* Hero Subtitle */
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.6;
  color: rgba(246, 241, 241, 0.75);
  max-width: 700px;
  margin: 0 auto 48px;
}

/* Hero Form */
.hero-form {
  margin-bottom: 20px;
}

.form-wrapper {
  display: flex;
  gap: 12px;
  max-width: 600px;
  margin: 0 auto;
  padding: 6px;
  background: rgba(10, 10, 10, 0.6);
  border: 2px solid rgba(25, 167, 206, 0.2);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.form-wrapper:focus-within {
  border-color: #19A7CE;
  background: rgba(10, 10, 10, 0.8);
  box-shadow:
    0 0 0 4px rgba(25, 167, 206, 0.15),
    0 8px 32px rgba(25, 167, 206, 0.25);
}

.hero-input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 18px 20px;
  color: #F6F1F1;
  font-size: 1rem;
  outline: none;
}

.hero-input::placeholder {
  color: rgba(246, 241, 241, 0.4);
}

.hero-button {
  background: linear-gradient(135deg, #19A7CE, #146C94);
  color: #000000;
  border: none;
  padding: 18px 32px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
}

.hero-button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 12px 32px rgba(25, 167, 206, 0.4),
    0 0 60px rgba(25, 167, 206, 0.3);
}

.hero-button:active {
  transform: translateY(0) scale(0.98);
}

.hero-button svg {
  transition: transform 0.3s ease;
}

.hero-button:hover svg {
  transform: translateX(4px);
}

/* Hero Trust */
.hero-trust {
  font-size: 0.9rem;
  color: rgba(246, 241, 241, 0.6);
  margin: 0 0 40px;
}

/* Capacity Indicator */
.capacity-indicator {
  max-width: 400px;
  margin: 0 auto;
  padding: 20px 24px;
  background: rgba(25, 167, 206, 0.05);
  border: 1px solid rgba(25, 167, 206, 0.15);
  border-radius: 12px;
}

.capacity-text {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 0.875rem;
  color: rgba(246, 241, 241, 0.7);
}

.capacity-value {
  color: #19A7CE;
  font-weight: 700;
}

.capacity-bar-wrapper {
  height: 8px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.4);
}

.capacity-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #19A7CE 0%, #146C94 50%, #19A7CE 100%);
  background-size: 200% 100%;
  border-radius: 4px;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  animation: capacityGlow 2s ease-in-out infinite;
  box-shadow: 0 0 16px rgba(25, 167, 206, 0.5);
}

@keyframes capacityGlow {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Hero Success State */
.hero-success {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 60px 40px;
  background: rgba(10, 10, 10, 0.6);
  border: 2px solid rgba(25, 167, 206, 0.3);
  border-radius: 24px;
  box-shadow:
    0 20px 80px rgba(0, 0, 0, 0.6),
    0 0 100px rgba(25, 167, 206, 0.2);
  animation: successSlideIn 0.6s ease-out;
}

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

.hero-success .success-animation {
  width: 100px;
  height: 100px;
  margin: 0 auto 32px;
  background: rgba(25, 167, 206, 0.1);
  border: 3px solid #19A7CE;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #19A7CE;
  animation: successPulse 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

@keyframes successPulse {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.15);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.hero-success .success-heading {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.hero-success .success-text {
  font-size: 1.125rem;
  color: rgba(246, 241, 241, 0.75);
  margin-bottom: 40px;
}

.hero-success .success-details {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 32px;
}

.hero-success .detail-item {
  flex: 1;
  max-width: 180px;
  padding: 20px;
  background: rgba(25, 167, 206, 0.05);
  border: 1px solid rgba(25, 167, 206, 0.2);
  border-radius: 12px;
}

.hero-success .detail-label {
  display: block;
  font-size: 0.75rem;
  color: rgba(246, 241, 241, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.hero-success .detail-value {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: #19A7CE;
}

.hero-success .success-footer {
  font-size: 1rem;
  color: rgba(246, 241, 241, 0.7);
  margin: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hero-badge {
    font-size: 0.7rem;
    padding: 8px 16px;
  }

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

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 36px;
  }

  .form-wrapper {
    flex-direction: column;
    gap: 8px;
  }

  .hero-button {
    width: 100%;
    justify-content: center;
  }

  .capacity-indicator {
    padding: 16px 20px;
  }

  .hero-success {
    padding: 40px 24px;
  }

  .hero-success .success-heading {
    font-size: 1.75rem;
  }

  .hero-success .success-details {
    flex-direction: column;
    gap: 16px;
  }

  .hero-success .detail-item {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .early-access {
    padding: 80px 0;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .form-wrapper {
    padding: 4px;
  }

  .hero-input {
    padding: 16px 18px;
    font-size: 0.95rem;
  }

  .hero-button {
    padding: 16px 24px;
    font-size: 0.95rem;
  }
}

/* Footer Copyright */
.footer-copyright {
  text-align: center;
  color: #9CA3AF;
  font-size: 14px;
  margin: 0;
}

/* ============================================
   Terminal Waitlist Section
   ============================================ */
.waitlist-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #0A0E13 0%, #0F1419 100%);
  position: relative;
  overflow: hidden;
}

/* Subtle animated grid background */
.waitlist-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(25, 167, 206, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(25, 167, 206, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: gridShift 20s linear infinite;
  pointer-events: none;
  opacity: 0.4;
}

@keyframes gridShift {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 40px 40px;
  }
}

/* Terminal Window Container */
.terminal-waitlist {
  max-width: 800px;
  margin: 0 auto;
  background: #1E1E1E;
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(25, 167, 206, 0.1);
  position: relative;
  z-index: 1;
}

/* Terminal Header */
.terminal-waitlist .terminal-header {
  background: #2D2D2D;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #3D3D3D;
}

.terminal-waitlist .terminal-buttons {
  display: flex;
  gap: 8px;
}

.terminal-waitlist .terminal-button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.terminal-waitlist .terminal-button.close {
  background: #FF5F57;
}

.terminal-waitlist .terminal-button.minimize {
  background: #FFBD2E;
}

.terminal-waitlist .terminal-button.maximize {
  background: #28CA42;
}

.terminal-waitlist .terminal-title {
  color: #8B8B8B;
  font-size: 13px;
  font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
}

/* Terminal Body */
.terminal-waitlist .terminal-body {
  padding: 24px;
  font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
  font-size: 14px;
  line-height: 1.6;
  min-height: 400px;
}

/* Terminal Command Line */
.terminal-waitlist .terminal-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.terminal-waitlist .terminal-prompt {
  color: #19A7CE;
  font-weight: bold;
}

.terminal-waitlist .terminal-command {
  color: #DCDCAA;
}

/* Terminal Info Messages */
.terminal-waitlist .terminal-info {
  margin-bottom: 24px;
}

.terminal-waitlist .info-line {
  margin-bottom: 8px;
  opacity: 0;
  animation: fadeIn 0.5s ease forwards;
}

.terminal-waitlist .info-line:nth-child(1) {
  animation-delay: 0.3s;
}

.terminal-waitlist .info-line:nth-child(2) {
  animation-delay: 0.6s;
}

.terminal-waitlist .info-tag {
  color: #DCDCAA;
  font-weight: bold;
  margin-right: 8px;
}

/* Terminal Form Container */
.terminal-form-container {
  margin-bottom: 0;
  opacity: 0;
  animation: fadeIn 0.6s ease forwards;
  animation-delay: 0.9s;
}

/* Terminal Form */
.terminal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Input Groups */
.terminal-input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.terminal-label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #9CA3AF;
  font-size: 13px;
}

.label-prompt {
  color: #19A7CE;
  font-weight: bold;
  display: none;
}

/* Terminal Inputs */
.terminal-input {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid #3D3D3D;
  border-radius: 6px;
  padding: 12px 16px;
  color: #F6F1F1;
  font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
  font-size: 14px;
  transition: all 0.3s ease;
  outline: none;
}

.terminal-input::placeholder {
  color: #6B7280;
}

.terminal-input:focus {
  border-color: #19A7CE;
  background: rgba(0, 0, 0, 0.6);
  box-shadow: 0 0 0 3px rgba(25, 167, 206, 0.1);
}


.terminal-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #19A7CE, #146C94);
  color: #000000;
  border: none;
  border-radius: 8px;
  padding: 14px 24px;
  font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  margin-top: 8px;
}

.code-keyword {
  color: #569cd6;
  margin-right: 0.3em;
}

.code-operator {
  margin: 0 0.3em; 
  color: #d4d4d4;
}


.code-string {
  color: #ce9178;
}


.code-number {
  color: #b5cea8;
}


.code-boolean {
  color: #569cd6;
}


.code-function {
  color: #dcdcaa;
}

.code-comment {
  color: #6a9955;
  margin-left: 0.5em;
}


.code-keyword {
  margin-right: 8px;
}

.code-string + .code-comment {
  margin-left: 0.5em; 
}

.code-operator {
  margin: 0 0.3em;
}

.terminal-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 24px rgba(25, 167, 206, 0.4),
    0 0 40px rgba(25, 167, 206, 0.3);
}

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

.terminal-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-arrow {
  transition: transform 0.3s ease;
}

.terminal-submit-btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* Terminal Output Messages */
.terminal-output {
  margin-bottom: 16px;
}

.output-line {
  margin-bottom: 8px;
  opacity: 0;
  animation: slideIn 0.4s ease forwards;
}

.output-tag {
  font-weight: bold;
  margin-right: 8px;
}

.output-line .output-tag:contains('[✓]'),
.output-line .output-tag:contains('✓') {
  color: #22C55E;
}

.output-line .output-tag:contains('[INFO]') {
  color: #DCDCAA;
}

.output-line .output-tag:contains('[ERROR]') {
  color: #EF4444;
}

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

/* Terminal Cursor */
.terminal-cursor-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

.terminal-cursor {
  display: inline-block;
  color: #19A7CE;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50% {
    opacity: 1;
  }
  51%, 100% {
    opacity: 0;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Loading State */
.terminal-submit-btn.loading {
  pointer-events: none;
}

.terminal-submit-btn.loading .btn-arrow {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Success State - Form Hidden */
.terminal-form-container.hidden {
  display: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .waitlist-section {
    padding: 80px 0;
  }

  .terminal-waitlist .terminal-body {
    padding: 20px 16px;
    font-size: 13px;
    min-height: 350px;
  }

  .terminal-waitlist .terminal-title {
    font-size: 11px;
  }

  .terminal-input {
    padding: 10px 14px;
    font-size: 13px;
  }

  .terminal-submit-btn {
    padding: 12px 20px;
    font-size: 13px;
  }

  .terminal-label {
    font-size: 12px;
  }

  .info-line {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .terminal-waitlist .terminal-body {
    padding: 16px 12px;
    font-size: 12px;
  }

  .terminal-input {
    padding: 10px 12px;
    font-size: 12px;
  }

  .terminal-submit-btn {
    padding: 12px 16px;
    font-size: 12px;
  }
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid rgba(25, 167, 206, 0.1);
  padding: var(--spacing-3xl) 0 var(--spacing-lg);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: var(--spacing-3xl);
  margin-bottom: var(--spacing-2xl);
  padding-bottom: var(--spacing-2xl);
  border-bottom: 1px solid rgba(25, 167, 206, 0.1);
}

.footer-tagline {
  color: var(--text-secondary);
  margin: var(--spacing-md) 0 var(--spacing-lg);
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: var(--spacing-md);
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(25, 167, 206, 0.1);
  border: 1px solid rgba(25, 167, 206, 0.2);
  border-radius: 50%;
  color: var(--accent-primary);
  transition: all var(--transition-base);
}

.social-link:hover {
  background: var(--accent-gradient);
  color: var(--color-dark);
  transform: translateY(-4px);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-xl);
}

.footer-heading {
  color: var(--text-primary);
  font-size: var(--font-size-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--spacing-md);
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.footer-column a {
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
  transition: color var(--transition-fast);
}

.footer-column a:hover {
  color: var(--accent-primary);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: var(--font-size-sm);
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
  }

  .hero-visual {
    order: -1;
  }

  .step-arrow {
    display: none;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .testimonial-track {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .mobile-menu-toggle {
    display: flex;
  }

  .hero {
    padding: calc(80px + var(--spacing-2xl)) 0 var(--spacing-2xl);
  }

  .hero-container {
    flex-direction: column;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-stats {
    gap: var(--spacing-lg);
  }

  /* Mobile Chaos Transformation */
  .chaos-container {
    height: 400px;
    margin-top: var(--spacing-xl);
  }

  .browser-window {
    width: 320px;
    font-size: 12px;
  }

  .twitter-window {
    top: 20px;
    left: 50%;
    transform: translateX(-50%) rotate(-8deg);
  }

  .reddit-window {
    top: 60px;
    left: 50%;
    transform: translateX(-50%) rotate(5deg);
  }

  .newsletter-window {
    top: 100px;
    left: 50%;
    transform: translateX(-50%) rotate(-3deg);
  }

  .zadev-window {
    width: 340px;
  }

  .feed-item, .zadev-feed-item {
    padding: 10px;
  }

  .feed-avatar {
    width: 32px;
    height: 32px;
  }

  .feed-title, .zadev-title {
    font-size: 13px;
  }

  .feed-snippet, .zadev-meta {
    font-size: 11px;
  }

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

  .form-group {
    flex-direction: column;
  }

  .demo-tooltip {
    display: none;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  :root {
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
  }

  .container {
    padding: 0 var(--spacing-md);
  }

  section {
    padding: var(--spacing-2xl) 0;
  }

  .section-header {
    margin-bottom: var(--spacing-2xl);
  }

  .hero-stats {
    flex-direction: column;
    gap: var(--spacing-md);
    align-items: flex-start;
  }
}

