/* ========================================
   RING AI - Voice AI Infrastructure
   ======================================== */

/* ========================================
   CSS VARIABLES / DESIGN TOKENS
======================================== */
:root {
  /* Dark backgrounds (matching dashboard sidebar #0b0f1a) */
  --color-bg-primary: #0b0f1a;
  --color-bg-secondary: #080c14;
  --color-bg-tertiary: #0f1420;
  --color-border: #1a1f2e;
  --color-border-light: #252d3d;

  /* Light backgrounds */
  --color-bg-light: #fafafa;
  --color-bg-light-secondary: #f0f0f0;
  --color-border-light-mode: #e0e0e0;

  /* Text */
  --color-text-primary: #ffffff;
  --color-text-secondary: #d4d4d8;
  --color-text-muted: #a1a1aa;

  /* Text for light sections */
  --color-text-dark: #0a0a0a;
  --color-text-dark-secondary: #404040;
  --color-text-dark-muted: #707070;

  /* Brand colors from Ring AI logo spectrum */
  --color-cyan: #37B6F6;
  --color-blue: #1C76D2;
  --color-purple: #5E35B1;
  --color-magenta: #8E24AA;
  --color-crimson: #C51260;
  --color-red: #EA2D2F;
  --color-orange: #F4531E;
  --color-gold: #FAB203;

  /* Primary accent - Cyan (logo's first visible layer) */
  --color-accent: #37B6F6;
  --color-accent-light: #5EC6F8;
  --color-accent-dark: #1C9FE8;
  --color-accent-secondary: #8E24AA; /* Magenta for secondary actions */

  /* Ring AI signature gradients (cool to warm journey) */
  --gradient-ring: linear-gradient(135deg, #37B6F6 0%, #5E35B1 30%, #8E24AA 60%, #F4531E 100%);
  --gradient-ring-horizontal: linear-gradient(90deg, #37B6F6 0%, #5E35B1 30%, #8E24AA 60%, #F4531E 100%);

  /* Secondary gradients for variety */
  --gradient-secondary: linear-gradient(135deg, #5E35B1 0%, #8E24AA 100%);
  --gradient-tertiary: linear-gradient(135deg, #8E24AA 0%, #F4531E 50%, #FAB203 100%);

  /* Iridescent / High-Tech Accents */
  --color-glow-viewport: rgba(55, 182, 246, 0.03);
  --color-iridescent-1: #37B6F6;
  --color-iridescent-2: #5E35B1;
  --color-iridescent-3: #8E24AA;

  --color-accent-gradient: linear-gradient(135deg, #37B6F6 0%, #5E35B1 100%);
  --color-accent-gradient-hover: linear-gradient(135deg, #5E35B1 0%, #8E24AA 100%);
  --color-iridescent-gradient: linear-gradient(135deg, var(--color-iridescent-1), var(--color-iridescent-2), var(--color-iridescent-3));

  /* Blobs (spectrum-aligned) */
  --color-blob-1: rgba(55, 182, 246, 0.25);
  --color-blob-2: rgba(142, 36, 170, 0.2);
  --color-blob-3: rgba(94, 53, 177, 0.15);

  /* Semantic */
  --color-success: #22c55e;
  --color-error: #ef4444;

  /* Neon accents (from dashboard) */
  --neon-green: #22c55e;
  --neon-cyan: #06b6d4;
  --neon-purple: #a855f7;
  --neon-pink: #ec4899;
  --neon-orange: #f97316;

  /* Glass morphism (dashboard style) */
  --glass-bg: rgba(26, 31, 46, 0.8);
  --glass-border: rgba(255, 255, 255, 0.05);
  --glass-blur: 12px;

  /* Typography */
  --font-family: 'Inter', 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', 'Consolas', monospace;

  /* Font Scale (base: 16px) */
  --text-xs: 12px;    /* 0.75x - tags, tiny labels */
  --text-sm: 14px;    /* 0.875x - captions, secondary */
  --text-base: 16px;  /* 1x - body copy */
  --text-md: 18px;    /* 1.125x - nav, emphasis */
  --text-lg: 20px;    /* 1.25x - lead text, subtitles */
  --text-xl: 24px;    /* 1.5x - small headings */

  /* Layout */
  --container-width: 1280px;
  --container-narrow: 800px;
  --section-padding: 120px 0;
  --border-radius: 12px;
  --border-radius-lg: 24px;
  --border-radius-xl: 32px;

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

  /* Effects */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -1px rgba(0, 0, 0, 0.24);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
  --glow-accent: 0 0 20px rgba(55, 182, 246, 0.4);
  --glow-secondary: 0 0 30px rgba(94, 53, 177, 0.3);
}

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

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  font-family: var(--font-family);
  font-size: var(--text-base);
  font-weight: 400;
  background-color: var(--color-bg-primary);
  color: var(--color-text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100%;
  position: relative;
  overflow-x: hidden;
}

/* Background Texture & Grid */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 100px 100px;
  z-index: -2;
  mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
}

/* Noise Filter Overlay */
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.04'/%3E%3C/svg%3E");
  z-index: 1000;
  opacity: 0.3;
}

/* Viewport Vignette Effect */
html::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  box-shadow: inset 0 0 150px rgba(0, 0, 0, 0.3);
  z-index: 9999;
}

/* Floating Gradient Orbs Container */
.background-effects {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
  animation: float 20s infinite ease-in-out;
  mix-blend-mode: screen;
}

.glow-orb-1 {
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
  top: -20%;
  left: -10%;
  animation-delay: 0s;
}

.glow-orb-2 {
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.02) 0%, transparent 70%);
  bottom: -10%;
  right: -10%;
  animation-delay: -5s;
}

.glow-orb-3 {
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.02) 0%, transparent 70%);
  top: 40%;
  left: 30%;
  animation-delay: -10s;
  opacity: 0.3;
}

@keyframes float {
  0% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(30px, -50px) scale(1.1);
  }

  66% {
    transform: translate(-20px, 20px) scale(0.95);
  }

  100% {
    transform: translate(0, 0) scale(1);
  }
}

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

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

ul,
ol {
  list-style: none;
}

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

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

/* Typography Helpers */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
}

/* ========================================
   LAYOUT
======================================== */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

.page-content {
  padding-top: 100px;
}

/* ========================================
   NAVIGATION
======================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 24px 0;
  background: rgba(11, 15, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition-base);
}

.nav.scrolled {
  padding: 16px 0;
  background: rgba(11, 15, 26, 0.95);
  border-bottom-color: var(--color-border-light);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.nav-logo {
  display: flex;
  align-items: center;
}

/* Ring AI Logo - Image */
.logo-img {
  height: 63px;
  width: auto;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-logo:hover .logo-img {
  opacity: 0.85;
}

/* Scrolled nav - slightly smaller logo */
.nav.scrolled .logo-img {
  height: 52px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-link {
  font-size: var(--text-md);
  font-weight: 400;
  color: var(--color-text-secondary);
  transition: var(--transition-fast);
  position: relative;
}

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

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text-primary);
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-bg-primary);
  padding: 24px;
  z-index: 999;
  overflow-y: auto;
  border-top: 1px solid var(--color-border);
}

.mobile-menu.open {
  display: block;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-menu-link {
  display: block;
  padding: 16px;
  font-size: var(--text-md);
  font-weight: 500;
  color: var(--color-text-secondary);
  border-radius: var(--border-radius);
  transition: var(--transition-fast);
}

.mobile-menu-link:hover {
  background: var(--color-bg-secondary);
  color: var(--color-text-primary);
}

/* ========================================
   BUTTONS
======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: var(--text-base);
  font-weight: 500;
  border-radius: 100px;
  transition: var(--transition-base);
  white-space: nowrap;
  letter-spacing: -0.01em;
}

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

.btn-ghost:hover {
  color: var(--color-text-primary);
  border-color: var(--color-text-secondary);
  background: rgba(255, 255, 255, 0.05);
}

.btn-primary {
  background: var(--color-accent);
  background: var(--color-accent-gradient);
  color: white;
  box-shadow: 0 4px 20px rgba(55, 182, 246, 0.35),
              0 0 40px rgba(55, 182, 246, 0.2);
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  box-shadow: 0 4px 25px rgba(55, 182, 246, 0.5),
              0 0 60px rgba(142, 36, 170, 0.3);
  transform: translateY(-2px);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-secondary);
  opacity: 0;
  z-index: -1;
  transition: opacity var(--transition-base);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(94, 53, 177, 0.5), 0 0 40px rgba(55, 182, 246, 0.4);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 18px 36px;
  font-size: var(--text-md);
}

.btn-sm {
  padding: 10px 20px;
  font-size: var(--text-sm);
}

.btn-block {
  width: 100%;
}

/* ========================================
   SECTION HEADERS
======================================== */
.section-header {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
}

.section-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 24px;
  padding: 6px 16px;
  border: 1px solid rgba(55, 182, 246, 0.3);
  border-radius: 100px;
  background: rgba(55, 182, 246, 0.1);
}

.section-title {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0.7));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* Page Headers */
.page-header {
  padding: 180px 0 100px;
  text-align: center;
  position: relative;
}

.page-title {
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 80px;
  /* Massive scale overrides */
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  background: linear-gradient(to right, #ffffff, #a1a1aa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* ========================================
   CARDS
======================================== */
.card {
  padding: 40px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  /* More subtle border */
  border-radius: var(--border-radius-lg);
  transition: var(--transition-base);
  backdrop-filter: blur(20px);
  /* Heavier blur */
  -webkit-backdrop-filter: blur(20px);
  position: relative;
}

/* Hover Glow Effect */
.card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(55, 182, 246, 0.4);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), 0 0 60px rgba(94, 53, 177, 0.2);
}

.card-accent {
  border-left: none;
  border-top: 1px solid var(--color-accent);
  position: relative;
  overflow: hidden;
}

.card-accent::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--color-accent);
  box-shadow: 0 0 20px var(--color-accent);
}

/* Gradient Cards (like in the deck) */
.card-gradient {
  background: var(--color-accent-gradient);
  color: white;
  border: none;
  position: relative;
  overflow: hidden;
}

.card-gradient::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.2));
  pointer-events: none;
}

.card-gradient h3,
.card-gradient p {
  color: white;
}

/* ========================================
   FORMS
======================================== */
.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--color-text-secondary);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 16px 20px;
  font-size: var(--text-base);
  color: var(--color-text-primary);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  outline: none;
  transition: var(--transition-fast);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-text-muted);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--color-accent);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
}

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

/* ========================================
   STATS
======================================== */
.stat-value {
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--color-accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text-secondary);
  margin-top: 12px;
}

/* ========================================
   SINGLE STAT (Simplified)
======================================== */
.single-stat {
  padding: 120px 0;
  background: var(--color-bg-light);
  text-align: center;
}

.single-stat-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.single-stat-value {
  font-size: clamp(80px, 15vw, 160px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  background: var(--gradient-ring);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.single-stat-label {
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--color-text-dark-secondary);
  letter-spacing: -0.01em;
}

/* ========================================
   HOW SECTION (Simplified 3 Points)
======================================== */
.how-section {
  padding: 96px 0;
  background: #fff;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  max-width: 1000px;
  margin: 0 auto;
}

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

.how-value {
  display: block;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 16px;
  background: var(--gradient-ring);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.how-label {
  font-size: var(--text-base);
  font-weight: 400;
  color: var(--color-text-dark-secondary);
  line-height: 1.5;
}

/* ========================================
   QUOTE SECTION (Single Testimonial)
======================================== */
.quote-section {
  padding: 120px 0;
  background: var(--color-bg-light);
}

.featured-quote {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.featured-quote p {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 300;
  line-height: 1.5;
  color: var(--color-text-dark);
  margin-bottom: 24px;
  font-style: italic;
}

.featured-quote cite {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-dark-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-style: normal;
}

/* Responsive for simplified sections */
@media (max-width: 768px) {
  .single-stat {
    padding: 80px 0;
  }

  .how-section {
    padding: 64px 0;
  }

  .how-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .quote-section {
    padding: 80px 0;
  }
}

/* ========================================
   CODE BLOCKS
======================================== */
.code-block {
  background: #020202;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--color-border);
}

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

.code-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-border-light);
}

.code-lang {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.code-content {
  padding: 32px;
  overflow-x: auto;
}

.code-content pre {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  line-height: 1.7;
  color: #e4e4e7;
}

code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  padding: 4px 8px;
  background: rgba(94, 53, 177, 0.15);
  border: 1px solid rgba(55, 182, 246, 0.2);
  border-radius: 6px;
  color: var(--color-accent);
}

/* ========================================
   FAQ / ACCORDION
======================================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

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

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 32px 0;
  font-size: var(--text-lg);
  font-weight: 600;
  text-align: left;
  color: var(--color-text-primary);
  background: none;
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

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

.faq-icon {
  font-size: var(--text-xl);
  color: var(--color-text-muted);
  transition: var(--transition-base);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  border-radius: 2px;
}

.faq-icon::before {
  width: 14px;
  height: 2px;
}

.faq-icon::after {
  width: 2px;
  height: 14px;
  transition: var(--transition-base);
}

.faq-item.open .faq-icon::after {
  transform: rotate(90deg);
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
  color: var(--color-accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding-bottom: 32px;
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ========================================
   FOOTER
======================================== */
.footer {
  padding: 100px 0 40px;
  background: #0b0f1a;
  border-top: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

/* Footer gradient glow */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 500px;
  background: radial-gradient(ellipse at top, rgba(55, 182, 246, 0.08), transparent 70%);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 64px;
  margin-bottom: 80px;
  position: relative;
  z-index: 1;
}

.footer-brand p {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  margin-top: 24px;
  max-width: 320px;
  line-height: 1.7;
}

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

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-link {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  transition: var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-accent);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 40px;
  border-top: 1px solid var(--color-border);
  position: relative;
  z-index: 1;
}

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

.footer-social {
  display: flex;
  gap: 24px;
}

.footer-social a {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  transition: var(--transition-fast);
}

.footer-social a:hover {
  color: var(--color-accent);
  transform: translateY(-2px);
}

/* ========================================
   UTILITY CLASSES
======================================== */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.text-gradient {
  background: linear-gradient(90deg, #37B6F6 0%, #8E24AA 50%, #F4531E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

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

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

.mt-0 {
  margin-top: 0;
}

.mt-4 {
  margin-top: 16px;
}

.mt-8 {
  margin-top: 32px;
}

.mt-12 {
  margin-top: 48px;
}

.mt-16 {
  margin-top: 64px;
}

.mt-24 {
  margin-top: 96px;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-4 {
  margin-bottom: 16px;
}

.mb-8 {
  margin-bottom: 32px;
}

.mb-12 {
  margin-bottom: 48px;
}

.mb-16 {
  margin-bottom: 64px;
}

.mb-24 {
  margin-bottom: 96px;
}

.pt-0 {
  padding-top: 0;
}

.pb-0 {
  padding-bottom: 0;
}

.bg-primary {
  background: var(--color-bg-primary);
}

.bg-secondary {
  background: var(--color-bg-secondary);
}

/* Grid helpers */
.grid {
  display: grid;
  gap: 24px;
}

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

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

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

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;

}

/* Animation Utilities */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-in {
  opacity: 1;
  transform: translateY(0);
}


.gap-4 {
  gap: 16px;
}

.gap-6 {
  gap: 24px;
}

.gap-8 {
  gap: 32px;
}

/* Effects */
.glass {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.blob {
  position: absolute;
  filter: blur(80px);
  z-index: -1;
  opacity: 0.5;
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 1280px) {
  .container {
    padding: 0 40px;
  }
}

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

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

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 80px 0;
  }

  .container {
    padding: 0 24px;
  }

  .nav-links {
    display: none;
  }

  .nav-actions .btn-ghost {
    display: none;
  }

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

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .page-header {
    padding: 140px 0 60px;
  }

  .page-title {
    font-size: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }

  .footer-brand {
    grid-column: span 2;
  }

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

  .btn-lg {
    padding: 16px 32px;
    font-size: var(--text-base);
    width: 100%;
  }
}

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

  .footer-brand {
    grid-column: span 1;
  }

  .stat-value {
    font-size: 48px;
  }
}

/* ========================================
   APPLE-INSPIRED HOMEPAGE STYLES
======================================== */

/* Hero Section - Massive Typography */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 0 80px;
  position: relative;
}

.hero-title {
  font-size: clamp(45px, 8.4vw, 98px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 32px;
}

.hero-line {
  display: block;
}

.hero-subtitle {
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.hero-cta {
  margin-top: 20px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.section-desc {
  font-size: var(--text-md);
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 16px auto 0;
  line-height: 1.7;
}

.cta-subtitle {
  font-size: var(--text-md);
  color: var(--color-text-secondary);
  margin-bottom: 32px;
}

/* Telephony Features Grid */
.telephony-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.telephony-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  transition: var(--transition-base);
}

.telephony-feature:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.telephony-feature .material-icons-round {
  font-size: 28px;
  color: var(--neon-cyan);
  filter: drop-shadow(0 0 8px rgba(6, 182, 212, 0.5));
}

.telephony-feature div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.telephony-feature strong {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text-primary);
}

.telephony-feature span {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* Hero Morphing Blob */
.hero-blob {
  position: absolute;
  top: 40%;
  left: 60%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: linear-gradient(
    135deg,
    rgba(55, 182, 246, 0.4) 0%,
    rgba(94, 53, 177, 0.4) 25%,
    rgba(142, 36, 170, 0.4) 50%,
    rgba(244, 83, 30, 0.35) 75%,
    rgba(55, 182, 246, 0.4) 100%
  );
  background-size: 400% 400%;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  filter: blur(60px);
  animation:
    blob-morph 8s ease-in-out infinite,
    blob-gradient 12s ease infinite;
  z-index: 0;
  pointer-events: none;
  transition: left 2s linear,
              top 2s linear,
              opacity 0.5s ease,
              transform 0.5s ease;
}

@keyframes blob-morph {
  0%, 100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    transform: translate(-50%, -50%) rotate(0deg) scale(1);
  }
  25% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    transform: translate(-50%, -50%) rotate(90deg) scale(1.1);
  }
  50% {
    border-radius: 50% 60% 30% 60% / 30% 40% 70% 50%;
    transform: translate(-50%, -50%) rotate(180deg) scale(1);
  }
  75% {
    border-radius: 40% 30% 60% 50% / 60% 70% 30% 40%;
    transform: translate(-50%, -50%) rotate(270deg) scale(1.05);
  }
}

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

/* Blob fragments for split effect */
.hero-blob-fragment {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fragment-1 {
  width: 200px;
  height: 200px;
  background: rgba(55, 182, 246, 0.5);
  top: 30%;
  left: 30%;
}

.fragment-2 {
  width: 150px;
  height: 150px;
  background: rgba(142, 36, 170, 0.5);
  top: 20%;
  left: 70%;
}

.fragment-3 {
  width: 180px;
  height: 180px;
  background: rgba(244, 83, 30, 0.45);
  top: 60%;
  left: 25%;
}

.fragment-4 {
  width: 120px;
  height: 120px;
  background: rgba(94, 53, 177, 0.5);
  top: 65%;
  left: 75%;
}

/* Blob splitting state */
.hero.blob-split .hero-blob {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.5);
}

.hero.blob-split .hero-blob-fragment {
  opacity: 1;
}

.hero.blob-split .fragment-1 {
  transform: translate(-50px, -80px) scale(1.1);
}

.hero.blob-split .fragment-2 {
  transform: translate(60px, -40px) scale(1);
}

.hero.blob-split .fragment-3 {
  transform: translate(-70px, 50px) scale(1.05);
}

.hero.blob-split .fragment-4 {
  transform: translate(50px, 60px) scale(0.95);
}

/* Ensure hero content is above blob */
.hero .container {
  position: relative;
  z-index: 1;
}

/* Stats Section - Floating Numbers (Dark) */
.stats {
  padding: 64px 0;
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.stats-row {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 24px;
}

.stat {
  text-align: center;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 24px;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  transition: var(--transition-base);
  position: relative;
  min-height: 220px;
}

.stat::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-cyan), transparent);
  border-radius: 2px;
  opacity: 0.6;
}

.stat:nth-child(2)::after {
  background: linear-gradient(90deg, var(--neon-purple), transparent);
}

.stat:nth-child(3)::after {
  background: linear-gradient(90deg, var(--neon-orange), transparent);
}

.stat:nth-child(4)::after {
  background: linear-gradient(90deg, var(--neon-green), transparent);
}

.stat:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.stat .stat-value {
  display: block;
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(180deg, var(--color-text-primary) 0%, var(--color-text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat .stat-value.stat-highlight {
  background: linear-gradient(90deg, #37B6F6 0%, #8E24AA 50%, #F4531E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  border-radius: 16px;
  background: rgba(6, 182, 212, 0.1);
}

.stat-icon .material-icons-round {
  font-size: 28px;
  color: var(--neon-cyan);
  filter: drop-shadow(0 0 8px rgba(6, 182, 212, 0.5));
}

.stat:nth-child(1) .stat-icon { background: rgba(168, 85, 247, 0.1); }
.stat:nth-child(1) .stat-icon .material-icons-round { color: var(--neon-purple); filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.5)); }

.stat:nth-child(2) .stat-icon { background: rgba(6, 182, 212, 0.1); }
.stat:nth-child(2) .stat-icon .material-icons-round { color: var(--neon-cyan); filter: drop-shadow(0 0 8px rgba(6, 182, 212, 0.5)); }

.stat:nth-child(3) .stat-icon { background: rgba(249, 115, 22, 0.1); }
.stat:nth-child(3) .stat-icon .material-icons-round { color: var(--neon-orange); filter: drop-shadow(0 0 8px rgba(249, 115, 22, 0.5)); }

.stat:nth-child(4) .stat-icon { background: rgba(34, 197, 94, 0.1); }
.stat:nth-child(4) .stat-icon .material-icons-round { color: var(--neon-green); filter: drop-shadow(0 0 8px rgba(34, 197, 94, 0.5)); }

.stat:hover .stat-value {
  filter: drop-shadow(0 0 20px rgba(55, 182, 246, 0.5));
}

.stat:hover .stat-value.stat-highlight {
  filter: drop-shadow(0 0 25px rgba(142, 36, 170, 0.6));
}

.stat .stat-label {
  display: block;
  font-size: var(--text-base);
  font-weight: 300;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
  width: 100%;
}

/* Section Eyebrow & Titles */
.section-eyebrow {
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}

.section-title-lg {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 32px;
}

/* Problem Section (Dark) - Two Column Layout */
.problem-section {
  padding: 96px 0;
  background: var(--color-bg-primary);
}

.problem-section .section-title-lg {
  color: var(--color-text-primary);
  background: none;
  -webkit-text-fill-color: var(--color-text-primary);
}

.problem-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 80px;
  align-items: center;
}

@media (min-width: 1025px) {
  .problem-row {
    grid-template-columns: 1fr 1fr !important;
  }
}

.problem-content {
  max-width: 100%;
  text-align: left;
}

.problem-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.problem-visual svg {
  width: 100%;
  max-width: 450px;
  height: auto;
}

.problem-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.problem-metric {
  padding: 20px;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  text-align: center;
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  position: relative;
  transition: var(--transition-base);
}

.problem-metric .metric-value {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.problem-metric .metric-label {
  font-size: 13px;
  line-height: 1.4;
}

.problem-metric::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-error), transparent);
  border-radius: 2px;
}

.problem-metric:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.metric-value {
  display: block;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 12px;
}

.problem-section .metric-label {
  color: var(--color-text-muted);
}

/* Solution Section (Dark) - Two Column Layout Reversed */
.solution-section {
  padding: 96px 0;
  background: var(--color-bg-secondary);
}

.solution-section .section-title-lg {
  color: var(--color-text-primary);
  background: none;
  -webkit-text-fill-color: var(--color-text-primary);
}

.solution-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 80px;
  align-items: center;
}

@media (min-width: 1025px) {
  .solution-row {
    grid-template-columns: 1fr 1fr !important;
  }
}

.solution-row.reverse {
  direction: rtl;
}

.solution-row.reverse > * {
  direction: ltr;
}

.solution-content {
  max-width: 100%;
  text-align: left;
}

.solution-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.solution-visual svg {
  width: 100%;
  max-width: 500px;
  height: auto;
}

.solution-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.solution-metric {
  padding: 20px;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  text-align: center;
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  position: relative;
  transition: var(--transition-base);
}

.solution-metric .metric-value {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.solution-metric .metric-label {
  font-size: 13px;
  line-height: 1.4;
}

.solution-metric::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-green), transparent);
  border-radius: 2px;
}

.solution-metric:nth-child(2)::after {
  background: linear-gradient(90deg, var(--neon-cyan), transparent);
}

.solution-metric:nth-child(3)::after {
  background: linear-gradient(90deg, var(--neon-purple), transparent);
}

.solution-metric:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.solution-section .metric-label {
  color: var(--color-text-muted);
}

/* Flywheel Section (Dark) */
/* Integrations Section */
.integrations-section {
  padding: 96px 0;
  background: var(--color-bg-primary);
}

.integrations-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.integrations-content {
  text-align: left;
}

.integrations-content .section-eyebrow {
  color: var(--color-text-muted);
}

.integrations-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.integration-category {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  transition: var(--transition-base);
}

.integration-category:hover {
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateX(4px);
}

.integration-category .material-icons-round {
  font-size: 24px;
  color: var(--neon-cyan);
}

.integration-category:nth-child(1) .material-icons-round { color: var(--neon-cyan); }
.integration-category:nth-child(2) .material-icons-round { color: var(--neon-purple); }
.integration-category:nth-child(3) .material-icons-round { color: var(--neon-orange); }
.integration-category:nth-child(4) .material-icons-round { color: var(--neon-green); }

.integration-category div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.integration-category strong {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text-primary);
}

.integration-category span {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.integrations-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.integrations-visual svg {
  width: 100%;
  max-width: 400px;
  height: auto;
}

/* Stories Section (Dark) */
.stories-section {
  padding: 96px 0;
  background: var(--color-bg-secondary);
}

.stories-section .section-eyebrow {
  color: var(--color-text-muted);
}

.stories-section .section-title {
  background: linear-gradient(180deg, var(--color-text-primary) 0%, var(--color-text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.story-card {
  padding: 32px;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}

.story-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-cyan), transparent);
  border-radius: 2px;
}

.story-card:nth-child(2)::after {
  background: linear-gradient(90deg, var(--neon-purple), transparent);
}

.story-card:nth-child(3)::after {
  background: linear-gradient(90deg, var(--neon-orange), transparent);
}

.story-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.story-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: rgba(26, 31, 46, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  position: relative;
  overflow: hidden;
}

.story-icon::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
}

.story-icon .material-icons-round {
  font-size: 26px;
}

.story-icon.icon-orange {
  box-shadow: 0 0 20px rgba(249, 115, 22, 0.2);
}
.story-icon.icon-orange::before {
  background: linear-gradient(90deg, #f97316, #fb923c);
}
.story-icon.icon-orange .material-icons-round {
  color: #f97316;
}

.story-icon.icon-cyan {
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.2);
}
.story-icon.icon-cyan::before {
  background: linear-gradient(90deg, #06b6d4, #22d3ee);
}
.story-icon.icon-cyan .material-icons-round {
  color: #06b6d4;
}

.story-icon.icon-purple {
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.2);
}
.story-icon.icon-purple::before {
  background: linear-gradient(90deg, #a855f7, #c084fc);
}
.story-icon.icon-purple .material-icons-round {
  color: #a855f7;
}

.story-content {
  flex: 1;
}

.story-quote {
  font-size: var(--text-md);
  font-weight: 300;
  line-height: 1.6;
  color: var(--color-text-primary);
  margin-bottom: 32px;
  font-style: italic;
}

.story-metric {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-primary);
  padding: 6px 14px;
  background: var(--color-border);
  border-radius: 100px;
}

.story-industry {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 24px;
}

/* ROI Section - Dramatic Bars (Dark) */
.roi-section {
  padding: 96px 0;
  background: var(--color-bg-primary);
}

.roi-section .section-eyebrow {
  color: var(--color-text-muted);
}

.roi-section .section-title-lg {
  color: var(--color-text-primary);
  background: none;
  -webkit-text-fill-color: var(--color-text-primary);
}

.roi-section .text-gradient {
  color: var(--color-text-primary);
}

.roi-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.roi-visual {
  padding: 40px;
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-xl);
}

.roi-bars {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.roi-bar-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.roi-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-sm);
  font-weight: 500;
}

.roi-bar-label span:first-child {
  color: var(--color-text-secondary);
}

.roi-bar-value {
  font-weight: 700;
  color: var(--color-text-primary);
}

.roi-bar-track {
  height: 8px;
  background: var(--color-border);
  border-radius: 4px;
  overflow: hidden;
}

.roi-bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 1.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.roi-bar-fill.human {
  width: 100%;
  background: var(--color-text-muted);
}

.roi-bar-fill.legacy {
  width: 18%;
  background: var(--color-text-secondary);
}

.roi-bar-fill.ringai {
  width: 1.2%;
  background: var(--gradient-ring);
  box-shadow: 0 0 20px rgba(55, 182, 246, 0.6);
}

.roi-savings {
  margin-top: 32px;
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.roi-savings-value {
  display: block;
  font-size: 48px;
  font-weight: 800;
  background: linear-gradient(90deg, #37B6F6 0%, #8E24AA 50%, #F4531E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

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

/* Enterprise Section - Quiet Confidence (Dark) */
.enterprise-section {
  padding: 96px 0;
  text-align: center;
  background: var(--color-bg-secondary);
}

.enterprise-section .section-title {
  background: linear-gradient(180deg, var(--color-text-primary) 0%, var(--color-text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.enterprise-badges {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.enterprise-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: var(--transition-base);
}

.enterprise-badge:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.badge-icon {
  font-size: var(--text-md);
  color: var(--neon-green);
  filter: drop-shadow(0 0 6px rgba(34, 197, 94, 0.5));
}

.badge-text {
  font-size: var(--text-base);
  font-weight: 400;
  color: var(--color-text-primary);
}

/* Final CTA */
.final-cta {
  padding: 96px 0;
  text-align: center;
  position: relative;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.03), transparent 70%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
  background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0.8));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-subtext {
  margin-top: 24px;
  font-size: var(--text-base);
  color: var(--color-text-muted);
}

.cta-subtext a {
  color: var(--color-text-secondary);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cta-subtext a:hover {
  color: var(--color-text-primary);
}

/* Inline CTA Banner */
.inline-cta {
  padding: 48px 0;
  background: linear-gradient(135deg, rgba(55, 182, 246, 0.08) 0%, rgba(94, 53, 177, 0.08) 100%);
  border-top: 1px solid rgba(55, 182, 246, 0.15);
  border-bottom: 1px solid rgba(94, 53, 177, 0.15);
  position: relative;
  overflow: hidden;
}

.inline-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.02) 0%, transparent 70%);
  pointer-events: none;
}

.inline-cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  z-index: 1;
}

.inline-cta-text {
  flex: 1;
}

.inline-cta-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-text-primary);
}

.inline-cta-subtitle {
  font-size: 16px;
  color: var(--color-text-secondary);
}

.inline-cta .btn {
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .inline-cta-content {
    flex-direction: column;
    text-align: center;
  }

  .inline-cta-text {
    text-align: center;
  }
}

/* Extra Large Button */
.btn-xl {
  padding: 20px 48px;
  font-size: var(--text-md);
}

/* Scroll Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
              transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.visible {
  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;
}

/* Apple-style Responsive */
@media (max-width: 1024px) {
  .stats-row {
    flex-wrap: wrap;
  }

  .stat {
    flex: 1 1 45%;
  }

  .problem-row,
  .solution-row {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .solution-row.reverse {
    direction: ltr;
  }

  .problem-content,
  .solution-content {
    text-align: center;
  }

  .problem-metrics {
    grid-template-columns: repeat(3, 1fr);
  }

  .solution-metrics {
    grid-template-columns: repeat(3, 1fr);
  }

  .problem-visual,
  .solution-visual {
    order: -1;
  }

  .stories-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .roi-content {
    grid-template-columns: 1fr;
    gap: 60px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 140px 0 80px;
    min-height: auto;
  }

  .hero-title {
    margin-bottom: 40px;
  }

  .hero-blob {
    width: 350px;
    height: 350px;
    filter: blur(40px);
    left: 50%;
    top: 50%;
  }

  .hero-blob-fragment {
    display: none;
  }

  .problem-metrics,
  .solution-metrics {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .problem-metric,
  .solution-metric {
    padding: 16px;
  }

  .problem-metric .metric-value,
  .solution-metric .metric-value {
    font-size: 18px;
  }

  .stats-row {
    flex-direction: column;
    gap: 48px;
  }

  .stat {
    flex: 1 1 100%;
  }

  .problem-section,
  .solution-section,
  .integrations-section,
  .stories-section,
  .roi-section,
  .enterprise-section,
  .final-cta {
    padding: 64px 0;
  }

  .section-title-lg {
    margin-bottom: 24px;
  }

  .enterprise-badges {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .integrations-row {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .integrations-content {
    text-align: center;
  }

  .integrations-visual svg {
    max-width: 320px;
  }

  .roi-visual {
    padding: 40px 24px;
  }

  .btn-xl {
    padding: 18px 36px;
    font-size: var(--text-base);
    width: 100%;
  }
}

/* ========================================
   SECTION-SPECIFIC COLOR TREATMENTS
======================================== */

/* Hero Section - Cyan to Magenta gradient */
.hero-title .text-gradient {
  background: linear-gradient(90deg, #37B6F6 0%, #8E24AA 50%, #F4531E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Stats Grid - Cyan accent */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stats .stat-value {
  background: linear-gradient(180deg, #ffffff 0%, #a1a1aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Problem/Solution Grid */
.problem-solution-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  margin-top: 60px;
}

.problem-column h2 {
  color: #EA2D2F;
  margin-bottom: 32px;
}

.solution-column h2 {
  background: linear-gradient(90deg, #37B6F6 0%, #5E35B1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 32px;
}

.solution-item.card-accent {
  border-left: 3px solid #37B6F6;
  box-shadow: 0 0 30px rgba(55, 182, 246, 0.1);
}

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

/* Use Cases Grid */
.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
}

.use-case-card:nth-child(1) .use-case-icon {
  filter: drop-shadow(0 0 20px rgba(55, 182, 246, 0.6));
}

.use-case-card:nth-child(2) .use-case-icon {
  filter: drop-shadow(0 0 20px rgba(94, 53, 177, 0.6));
}

.use-case-card:nth-child(3) .use-case-icon {
  filter: drop-shadow(0 0 20px rgba(142, 36, 170, 0.6));
}

/* ROI Section */
.roi-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.roi-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.roi-bar-fill.ringai {
  width: 2%;
  background: linear-gradient(90deg, #37B6F6 0%, #5E35B1 100%);
  box-shadow: 0 0 20px rgba(55, 182, 246, 0.6);
}

/* Enterprise Grid */
.enterprise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 60px;
}

.enterprise-item .enterprise-icon {
  font-size: 48px;
  margin-bottom: 24px;
  filter: drop-shadow(0 0 15px rgba(94, 53, 177, 0.5));
}

/* CTA Section */
.cta-box {
  padding: 80px 60px;
  background: linear-gradient(135deg, rgba(55, 182, 246, 0.1) 0%, rgba(94, 53, 177, 0.1) 100%);
  border: 1px solid rgba(55, 182, 246, 0.3);
  border-radius: var(--border-radius-xl);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at top right, rgba(142, 36, 170, 0.15), transparent 60%);
  pointer-events: none;
}

.cta-title {
  font-size: 48px;
  margin-bottom: 24px;
  background: linear-gradient(90deg, #37B6F6 0%, #8E24AA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsive for section-specific treatments */
@media (max-width: 1024px) {
  .problem-solution-grid,
  .roi-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .use-cases-grid,
  .enterprise-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  .use-cases-grid,
  .enterprise-grid,
  .stats-grid,
  .roi-metrics {
    grid-template-columns: 1fr;
  }

  .cta-box {
    padding: 60px 40px;
  }

  .cta-title {
    font-size: 36px;
  }
}