/* ============================================
   OPENGATE AI — ULTRA-PREMIUM MARKETING SITE
   Core Stylesheet
   ============================================ */

/* --------------------------------------------
   CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   -------------------------------------------- */
:root {
  /* Color Palette */
  --color-bg-base: #0a0a0f;
  --color-bg-elevated: #12121a;
  --color-bg-gradient-start: #0a0a0f;
  --color-bg-gradient-mid: #0d1117;
  --color-bg-gradient-end: #0f1729;
  
  --color-text-primary: #f0f2f5;
  --color-text-secondary: #a8b2c1;
  --color-text-muted: #6b7685;
  
  --color-accent: #00a8ff;
  --color-accent-hover: #33bbff;
  --color-accent-glow: rgba(0, 168, 255, 0.25);
  
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-hover: rgba(255, 255, 255, 0.15);
  
  --color-success: #00d68f;
  --color-warning: #ffaa00;
  --color-error: #ff4757;

  /* Typography Scale */
  --font-family-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-family-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2rem;
  --font-size-4xl: 2.5rem;
  --font-size-5xl: 3.5rem;
  --font-size-6xl: 4.5rem;

  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  --line-height-tight: 1.15;
  --line-height-snug: 1.3;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.7;

  /* Spacing Scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Layout */
  --container-max: 1280px;
  --container-narrow: 900px;
  --container-wide: 1440px;
  --header-height: 72px;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px var(--color-accent-glow);
  --shadow-glow-intense: 0 0 60px rgba(0, 168, 255, 0.4), 0 0 100px rgba(0, 168, 255, 0.2);
  
  /* Premium Glassmorphism */
  --glass-bg: rgba(18, 18, 26, 0.6);
  --glass-bg-hover: rgba(18, 18, 26, 0.8);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-hover: rgba(0, 168, 255, 0.4);
  --glass-blur: 20px;
  
  /* Secondary Accent (Gold for savings/value) */
  --color-gold: #ffd700;
  --color-gold-soft: rgba(255, 215, 0, 0.15);
  --color-gold-glow: rgba(255, 215, 0, 0.3);
  
  /* Gradients */
  --gradient-premium: linear-gradient(135deg, rgba(0, 168, 255, 0.1) 0%, rgba(255, 215, 0, 0.05) 100%);
  --gradient-card: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 100%);
  --gradient-glow: radial-gradient(ellipse at 50% 0%, rgba(0, 168, 255, 0.15) 0%, transparent 70%);
  --color-gold-glow: rgba(255, 215, 0, 0.3);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* Z-Index Scale */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-modal: 300;
  --z-toast: 400;
}

/* --------------------------------------------
   PREMIUM ANIMATIONS & KEYFRAMES
   -------------------------------------------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes countUp {
  from { opacity: 0; transform: scale(0.5); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px var(--color-accent-glow); }
  50% { box-shadow: 0 0 40px var(--color-accent-glow), 0 0 60px rgba(0, 168, 255, 0.2); }
}

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

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Scroll-triggered animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }

/* --------------------------------------------
   CSS RESET & BASE
   -------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  font-family: var(--font-family-body);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-normal);
  color: var(--color-text-primary);
  background: var(--color-bg-base);
  background: linear-gradient(
    180deg,
    var(--color-bg-gradient-start) 0%,
    var(--color-bg-gradient-mid) 50%,
    var(--color-bg-gradient-end) 100%
  );
  background-attachment: fixed;
  min-height: 100vh;
}

img, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

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

a:hover {
  color: var(--color-accent-hover);
}

a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

button:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-display);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  color: var(--color-text-primary);
}

/* --------------------------------------------
   TYPOGRAPHY
   -------------------------------------------- */
.text-xs { font-size: var(--font-size-xs); }
.text-sm { font-size: var(--font-size-sm); }
.text-base { font-size: var(--font-size-base); }
.text-lg { font-size: var(--font-size-lg); }
.text-xl { font-size: var(--font-size-xl); }
.text-2xl { font-size: var(--font-size-2xl); }
.text-3xl { font-size: var(--font-size-3xl); }
.text-4xl { font-size: var(--font-size-4xl); }
.text-5xl { font-size: var(--font-size-5xl); }
.text-6xl { font-size: var(--font-size-6xl); }

.text-muted { color: var(--color-text-muted); }
.text-secondary { color: var(--color-text-secondary); }
.text-accent { color: var(--color-accent); }

.font-medium { font-weight: var(--font-weight-medium); }
.font-semibold { font-weight: var(--font-weight-semibold); }
.font-bold { font-weight: var(--font-weight-bold); }

/* --------------------------------------------
   LAYOUT UTILITIES
   -------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.container--wide {
  max-width: var(--container-wide);
}

.section {
  padding: var(--space-24) 0;
}

.section--sm {
  padding: var(--space-16) 0;
}

.section--lg {
  padding: var(--space-32) 0;
}

/* Flex Utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }
.gap-12 { gap: var(--space-12); }

/* Grid */
.grid {
  display: grid;
  gap: var(--space-6);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }

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

@media (max-width: 640px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .grid-6 { grid-template-columns: repeat(2, 1fr); }
}

/* Spacing */
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }

/* Text Alignment */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* --------------------------------------------
   COMPONENTS: BUTTONS
   -------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  line-height: 1;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

/* Button shimmer effect */
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-accent) 0%, #0090dd 100%);
  color: var(--color-bg-base);
  box-shadow: 0 4px 15px rgba(0, 168, 255, 0.3);
}

.btn--primary:hover {
  background: linear-gradient(135deg, var(--color-accent-hover) 0%, var(--color-accent) 100%);
  box-shadow: 0 6px 25px rgba(0, 168, 255, 0.5), 0 0 40px rgba(0, 168, 255, 0.3);
  transform: translateY(-2px);
}

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

.btn--secondary:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text-secondary);
}

.btn--ghost:hover {
  color: var(--color-text-primary);
}

.btn--lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--font-size-base);
}

.btn--sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--font-size-xs);
}

@media (prefers-reduced-motion: reduce) {
  .btn--primary:hover {
    transform: none;
  }
}

/* --------------------------------------------
   COMPONENTS: CARDS
   -------------------------------------------- */
.card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

/* Subtle gradient overlay on cards */
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.card:hover {
  border-color: var(--glass-border-hover);
  background: var(--glass-bg-hover);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(0, 168, 255, 0.1);
}

.card--interactive {
  cursor: pointer;
}

.card--interactive:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(0, 168, 255, 0.15);
  border-color: var(--color-accent);
}

@media (prefers-reduced-motion: reduce) {
  .card--interactive:hover {
    transform: none;
  }
}

.card__title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-3);
}

.card__text {
  color: var(--color-text-secondary);
  line-height: var(--line-height-relaxed);
}

/* --------------------------------------------
   COMPONENTS: HEADER / NAVIGATION
   -------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  z-index: var(--z-sticky);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.header__logo {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
  letter-spacing: -0.02em;
}

.header__logo:hover {
  color: var(--color-text-primary);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.header__nav-link {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
}

.header__nav-link:hover,
.header__nav-link--active {
  color: var(--color-text-primary);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

/* Mobile Menu Toggle */
.header__menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 4px;
}

.header__menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text-primary);
  transition: all var(--transition-fast);
}

.header__menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.header__menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.header__menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 900px) {
  .header__nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    background: var(--color-bg-base);
    padding: var(--space-8);
    transform: translateX(100%);
    transition: transform var(--transition-base);
  }

  .header__nav--open {
    transform: translateX(0);
  }

  .header__nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
  }

  .header__nav-link {
    font-size: var(--font-size-lg);
  }

  .header__menu-toggle {
    display: flex;
  }

  .header__actions .btn--ghost {
    display: none;
  }
}

/* --------------------------------------------
   COMPONENTS: FOOTER
   -------------------------------------------- */
.footer {
  background: var(--color-bg-base);
  border-top: 1px solid var(--color-border);
  padding: var(--space-16) 0 var(--space-8);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
}

.footer__top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-8);
}

.footer__brand {
  max-width: 280px;
}

.footer__logo {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-4);
}

.footer__address {
  font-style: normal;
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-relaxed);
}

.footer__nav {
  display: flex;
  gap: var(--space-12);
  flex-wrap: wrap;
}

.footer__nav-group h4 {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer__nav-group ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer__nav-group a {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.footer__nav-group a:hover {
  color: var(--color-text-primary);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border);
}

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

.footer__legal {
  display: flex;
  gap: var(--space-6);
}

.footer__legal a {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

@media (max-width: 640px) {
  .footer__top {
    flex-direction: column;
  }
  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Main Content Offset for Fixed Header */
.main {
  padding-top: var(--header-height);
}

/* --------------------------------------------
   COMPONENTS: CUSTOM LOGO
   -------------------------------------------- */
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-xl);
  color: var(--color-text-primary);
  text-decoration: none;
}

.logo__icon {
  width: 32px;
  height: 32px;
  position: relative;
}

.logo__icon svg {
  width: 100%;
  height: 100%;
}

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

/* --------------------------------------------
   COMPONENTS: SOCIAL PROOF BAR
   -------------------------------------------- */
.proof-bar {
  padding: var(--space-8) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

.proof-bar__label {
  text-align: center;
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-6);
}

.proof-bar__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-12);
  flex-wrap: wrap;
}

.proof-bar__logo {
  opacity: 0.5;
  transition: opacity var(--transition-base);
  filter: grayscale(100%) brightness(2);
  height: 28px;
}

.proof-bar__logo:hover {
  opacity: 1;
  filter: grayscale(0%) brightness(1);
}

/* --------------------------------------------
   COMPONENTS: ANIMATED STAT COUNTERS
   -------------------------------------------- */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: var(--space-16);
  padding: var(--space-10) 0;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
  min-width: 150px;
}

.stat__value {
  font-size: var(--font-size-5xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: var(--space-2);
  background: linear-gradient(135deg, var(--color-accent) 0%, #00d4ff 50%, var(--color-accent) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 3s ease infinite;
}

.stat__value.counting {
  animation: countUp 0.5s ease forwards, gradient-shift 3s ease infinite;
}

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

/* Gold accent for savings */
.stat--gold .stat__value {
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-soft) 50%, var(--color-gold) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --------------------------------------------
   COMPONENTS: HERO
   -------------------------------------------- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.hero__poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 15, 0.6) 0%,
    rgba(10, 10, 15, 0.8) 50%,
    var(--color-bg-base) 100%
  );
}

.hero__content {
  position: relative;
  text-align: center;
  max-width: 900px;
  padding: var(--space-8);
}

.hero__eyebrow {
  display: inline-block;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-4);
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, var(--font-size-6xl));
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-6);
}

.hero__subtitle {
  font-size: var(--font-size-xl);
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto var(--space-8);
  line-height: var(--line-height-relaxed);
}

.hero__actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-12);
}

.hero__proof {
  display: flex;
  gap: var(--space-8);
  justify-content: center;
  flex-wrap: wrap;
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border);
}

.hero__proof-item {
  text-align: center;
}

.hero__proof-value {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-accent);
}

.hero__proof-label {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

/* --------------------------------------------
   COMPONENTS: SECTION HEADERS
   -------------------------------------------- */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-12);
}

.section-header__eyebrow {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-3);
}

.section-header__title {
  font-size: var(--font-size-4xl);
  margin-bottom: var(--space-4);
}

.section-header__text {
  font-size: var(--font-size-lg);
  color: var(--color-text-secondary);
  line-height: var(--line-height-relaxed);
}

/* --------------------------------------------
   COMPONENTS: VENDOR / INTEGRATION BAR
   -------------------------------------------- */
.vendor-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-8);
  padding: var(--space-8) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.vendor-bar__item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

.vendor-bar__item:hover {
  color: var(--color-text-primary);
}

.vendor-bar__icon {
  width: 24px;
  height: 24px;
  opacity: 0.7;
}

/* --------------------------------------------
   COMPONENTS: PRICING
   -------------------------------------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

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

@media (max-width: 640px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

.pricing-card {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
}

.pricing-card--featured {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-glow);
}

.pricing-card:hover {
  border-color: var(--color-border-hover);
}

.pricing-card--featured:hover {
  border-color: var(--color-accent);
}

.pricing-card__badge {
  display: inline-block;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  color: var(--color-bg-base);
  background: var(--color-accent);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
  align-self: flex-start;
}

.pricing-card__name {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-2);
}

.pricing-card__price {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-1);
}

.pricing-card__price span {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-normal);
  color: var(--color-text-muted);
}

.pricing-card__desc {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}

.pricing-card__features {
  flex: 1;
  margin-bottom: var(--space-6);
}

.pricing-card__features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-3);
}

.pricing-card__features li::before {
  content: "✓";
  color: var(--color-accent);
  font-weight: var(--font-weight-bold);
  flex-shrink: 0;
}

/* --------------------------------------------
   COMPONENTS: ACCORDION (FAQ)
   -------------------------------------------- */
.accordion {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.accordion__item {
  border-bottom: 1px solid var(--color-border);
}

.accordion__item:last-child {
  border-bottom: none;
}

.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) var(--space-6);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-primary);
  text-align: left;
  background: var(--color-bg-elevated);
  transition: background var(--transition-fast);
}

.accordion__trigger:hover {
  background: var(--color-bg-base);
}

.accordion__icon {
  width: 20px;
  height: 20px;
  color: var(--color-text-muted);
  transition: transform var(--transition-fast);
}

.accordion__item--open .accordion__icon {
  transform: rotate(180deg);
}

.accordion__content {
  display: none;
  padding: 0 var(--space-6) var(--space-5);
  background: var(--color-bg-elevated);
}

.accordion__item--open .accordion__content {
  display: block;
}

.accordion__text {
  color: var(--color-text-secondary);
  line-height: var(--line-height-relaxed);
}

/* --------------------------------------------
   COMPONENTS: COMPARE TABLE
   -------------------------------------------- */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--font-size-sm);
}

.compare-table th,
.compare-table td {
  padding: var(--space-4);
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.compare-table th {
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-primary);
  background: var(--color-bg-elevated);
}

.compare-table td {
  color: var(--color-text-secondary);
}

.compare-table td:not(:first-child) {
  text-align: center;
}

.compare-table th:not(:first-child) {
  text-align: center;
}

.compare-table tbody tr:hover {
  background: var(--color-bg-elevated);
}

/* --------------------------------------------
   COMPONENTS: FORMS
   -------------------------------------------- */
.form-group {
  margin-bottom: var(--space-5);
}

.form-label {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-primary);
  margin-bottom: var(--space-2);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-size: var(--font-size-base);
  font-family: var(--font-family-body);
  color: var(--color-text-primary);
  background: var(--color-bg-base);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* --------------------------------------------
   COMPONENTS: CTA BAND
   -------------------------------------------- */
.cta-band {
  background: linear-gradient(135deg, var(--color-bg-gradient-mid) 0%, var(--color-bg-gradient-end) 100%);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
  padding: var(--space-16) var(--space-6);
}

.cta-band__title {
  font-size: var(--font-size-3xl);
  margin-bottom: var(--space-4);
}

.cta-band__text {
  font-size: var(--font-size-lg);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-8);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* --------------------------------------------
   COMPONENTS: SIGNAL ATLAS CANVAS (Full-Screen Background)
   -------------------------------------------- */

/* Fixed full-screen canvas background */
#atlas-canvas-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
}

/* Ensure body has proper stacking context */
body {
  position: relative;
}

/* Add subtle overlay to improve text readability */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, transparent 0%, var(--color-bg-base) 70%);
  z-index: -1;
  pointer-events: none;
}

/* Legacy wrapper styles (keep for section use if needed) */
.atlas-canvas-wrapper {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
}

.atlas-canvas {
  width: 100%;
  height: 100%;
}

.atlas-canvas--disabled {
  display: none;
}

.atlas-canvas__fallback {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
}

.atlas-canvas--disabled + .atlas-canvas__fallback {
  display: flex;
}

/* --------------------------------------------
   COMPONENTS: AUDIO TOGGLE
   -------------------------------------------- */
.audio-toggle {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  z-index: var(--z-base);
  transition: all var(--transition-fast);
}

.audio-toggle:hover {
  border-color: var(--color-border-hover);
  color: var(--color-text-primary);
}

.audio-toggle__icon {
  width: 16px;
  height: 16px;
}

/* --------------------------------------------
   PERSONAS SECTION
   -------------------------------------------- */
.persona-card {
  text-align: center;
  padding: var(--space-8);
}

.persona-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-4);
  color: var(--color-accent);
}

.persona-card__title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-3);
}

.persona-card__text {
  color: var(--color-text-secondary);
  line-height: var(--line-height-relaxed);
}

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

  .hero__video {
    display: none;
  }

  .atlas-canvas {
    display: none;
  }

  .atlas-canvas__fallback {
    display: flex;
  }
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  padding: var(--space-3) var(--space-4);
  background: var(--color-accent);
  color: var(--color-bg-base);
  font-weight: var(--font-weight-semibold);
  border-radius: var(--radius-md);
  z-index: var(--z-toast);
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: var(--space-4);
}

/* Visually Hidden (for screen readers) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* ============================================
   AUDIO TOGGLE
   ============================================ */

.audio-toggle {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  z-index: var(--z-fixed);
  box-shadow: var(--shadow-lg);
}

.audio-toggle:hover {
  color: var(--color-text-primary);
  border-color: var(--color-accent);
  transform: scale(1.05);
}

.audio-toggle:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.audio-toggle--active {
  color: var(--color-accent);
  border-color: var(--color-accent);
  background: rgba(0, 168, 255, 0.1);
}

.audio-toggle svg {
  width: 20px;
  height: 20px;
}

/* Hide on small screens */
@media (max-width: 767px) {
  .audio-toggle {
    bottom: var(--space-4);
    right: var(--space-4);
    width: 40px;
    height: 40px;
  }
  
  .audio-toggle svg {
    width: 18px;
    height: 18px;
  }
}

/* Reduced motion - hide audio toggle */
@media (prefers-reduced-motion: reduce) {
  .audio-toggle {
    display: none;
  }
}

/* ============================================
   SIGNAL ATLAS CANVAS - FULL PAGE BACKGROUND
   ============================================ */

.atlas-canvas-wrapper {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

#atlas-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* Reduced motion - static canvas with lower opacity */
@media (prefers-reduced-motion: reduce) {
  .atlas-canvas-wrapper {
    opacity: 0.3;
  }
}

/* ============================================
   HERO VIDEO
   ============================================ */

.hero-video-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  opacity: 0.3;
}

.hero-video-poster {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.3;
}

/* Reduced motion - show poster, hide video */
@media (prefers-reduced-motion: reduce) {
  .hero-video {
    display: none;
  }
  
  .hero-video-poster {
    display: block;
  }
}

/* Canvas fallback removed - now full page background */


/* ============================================
   PREMIUM ENHANCEMENTS
   ============================================ */

/* --------------------------------------------
   SOCIAL PROOF BAR
   -------------------------------------------- */
.social-proof {
  padding: var(--space-12) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: linear-gradient(180deg, rgba(0,168,255,0.02) 0%, transparent 100%);
}

.social-proof__label {
  text-align: center;
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-8);
}

.social-proof__logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-12);
  flex-wrap: wrap;
}

.social-proof__logo {
  opacity: 0.5;
  transition: opacity var(--transition-base);
  filter: grayscale(100%) brightness(2);
}

.social-proof__logo:hover {
  opacity: 0.9;
  filter: grayscale(0%) brightness(1);
}

.social-proof__logo svg,
.social-proof__logo img {
  height: 32px;
  width: auto;
}

/* --------------------------------------------
   ANIMATED STAT COUNTERS
   -------------------------------------------- */
.stat-counter {
  font-variant-numeric: tabular-nums;
}

.stat-counter[data-animated="true"] .stat__value {
  animation: countPulse 0.3s ease-out;
}

@keyframes countPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); color: var(--color-accent); }
  100% { transform: scale(1); }
}

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

/* --------------------------------------------
   ENHANCED CARD EFFECTS
   -------------------------------------------- */
.card {
  transform: translateY(0) scale(1);
  transform-style: preserve-3d;
}

.card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(0, 168, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0, 168, 255, 0.06), transparent 40%);
  opacity: 0;
  transition: opacity var(--transition-base);
  pointer-events: none;
}

.card:hover::after {
  opacity: 1;
}

/* Card glow border effect */
.card--glow {
  position: relative;
}

.card--glow::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--color-accent), transparent 50%, var(--color-gold) 100%);
  opacity: 0;
  transition: opacity var(--transition-base);
  z-index: -1;
}

.card--glow:hover::before {
  opacity: 0.5;
}


/* --------------------------------------------
   SCROLL REVEAL ANIMATIONS
   -------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* --------------------------------------------
   PREMIUM BUTTON ENHANCEMENTS
   -------------------------------------------- */
.btn--primary {
  position: relative;
  overflow: hidden;
}

.btn--primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn--primary:hover::before {
  width: 300px;
  height: 300px;
}

.btn--primary::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-hover));
  z-index: -1;
  opacity: 0;
  filter: blur(10px);
  transition: opacity var(--transition-base);
}

.btn--primary:hover::after {
  opacity: 0.6;
}

/* Magnetic button effect class */
.btn--magnetic {
  transition: transform 0.2s ease;
}

/* --------------------------------------------
   PREMIUM HEADER LOGO
   -------------------------------------------- */
.header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-xl);
  color: var(--color-text-primary);
  text-decoration: none;
}

.header__logo-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header__logo-icon svg {
  width: 100%;
  height: 100%;
}

/* Logo animation on hover */
.header__logo:hover .header__logo-icon {
  animation: logoPulse 0.6s ease;
}

@keyframes logoPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); filter: drop-shadow(0 0 8px var(--color-accent)); }
}

/* --------------------------------------------
   FLOATING CTA (appears after scroll)
   -------------------------------------------- */
.floating-cta {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: 100;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.floating-cta.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.floating-cta .btn {
  box-shadow: 0 4px 20px rgba(0, 168, 255, 0.4);
}

@media (max-width: 768px) {
  .floating-cta {
    bottom: var(--space-4);
    right: var(--space-4);
    left: var(--space-4);
  }
  
  .floating-cta .btn {
    width: 100%;
  }
}


/* --------------------------------------------
   PREMIUM LOGO STYLING
   -------------------------------------------- */
.header__logo-text {
  font-weight: var(--font-weight-bold);
}

.header__logo-accent {
  color: var(--color-accent);
}

.header__logo-icon {
  color: var(--color-text-primary);
}

.header__logo-icon svg {
  display: block;
}

/* --------------------------------------------
   GRADIENT TEXT ANIMATION
   -------------------------------------------- */
.gradient-text-animated {
  background: linear-gradient(
    90deg,
    var(--color-accent) 0%,
    var(--color-gold) 25%,
    var(--color-accent) 50%,
    var(--color-gold) 75%,
    var(--color-accent) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s linear infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

@media (prefers-reduced-motion: reduce) {
  .gradient-text-animated {
    animation: none;
    background: var(--color-accent);
    -webkit-background-clip: text;
  }
}

/* --------------------------------------------
   METRIC HIGHLIGHTS (Stats Section)
   -------------------------------------------- */
.metric-highlight {
  text-align: center;
  padding: var(--space-6);
}

.metric-highlight__value {
  font-size: var(--font-size-5xl);
  font-weight: var(--font-weight-bold);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.metric-highlight__label {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

/* --------------------------------------------
   SAVINGS BADGES
   -------------------------------------------- */
.badge--savings {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--color-gold-soft);
  border: 1px solid var(--color-gold);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  color: var(--color-gold);
  font-weight: var(--font-weight-medium);
}

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