@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600&family=Outfit:wght@300;400;500;600;700;800&display=swap');

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --ink: #0c0e12;
  --ink-light: #161920;
  --ink-medium: #1e222b;
  --slate: #272c38;
  --steel: #5c6478;
  --cloud: #b4bac8;
  --pure: #ffffff;
  --accent: #3B82F6;
  --accent-hover: #2563EB;
  --accent-glow: rgba(59, 130, 246, 0.15);
  --accent-dim: rgba(59, 130, 246, 0.08);
  --success: #34d399;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;
  --r-full: 9999px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 200ms;
  --font-display: 'Outfit', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

body {
  font-family: var(--font-display);
  color: var(--cloud);
  background: var(--ink);
  min-height: 100vh;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 80px;
}

.section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 40px;
  font-weight: 700;
  color: var(--pure);
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.section-title p {
  font-size: 16px;
  color: var(--steel);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

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

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background var(--duration) var(--ease);
}

.nav.scrolled {
  background: rgba(12, 14, 18, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

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

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

.nav-logo-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--pure);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--cloud);
  transition: color var(--duration) var(--ease);
}

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

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-toggle {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  border: 1px solid rgba(59, 130, 246, 0.3);
  padding: 4px 14px;
  border-radius: var(--r-full);
  transition: all var(--duration) var(--ease);
}

.lang-toggle:hover {
  background: rgba(59, 130, 246, 0.1);
}

.nav-login {
  font-size: 13px;
  font-weight: 500;
  color: var(--cloud);
  transition: color var(--duration) var(--ease);
}

.nav-login:hover {
  color: var(--accent);
}

.nav-cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--pure);
  background: var(--accent);
  padding: 6px 18px;
  border-radius: var(--r-full);
  transition: all var(--duration) var(--ease);
}

.nav-cta:hover {
  background: var(--accent-hover);
  box-shadow: 0 2px 12px rgba(59, 130, 246, 0.35);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--cloud);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  top: 64px;
  background: rgba(12, 14, 18, 0.95);
  backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  z-index: 99;
}

.nav-mobile-overlay.open {
  display: flex;
}

.nav-mobile-overlay a {
  font-size: 24px;
  font-weight: 600;
  color: var(--pure);
  transition: color var(--duration) var(--ease);
}

.nav-mobile-overlay a:hover {
  color: var(--accent);
}

.nav-mobile-cta {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: var(--pure) !important;
  background: var(--accent);
  padding: 12px 40px;
  border-radius: var(--r-full);
  margin-top: 16px;
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0c0e12 0%, #0f172a 40%, #1e1b4b 100%);
  padding-top: 64px;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.25) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.25) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, black 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, black 10%, transparent 70%);
}

.hero-glow {
  position: absolute;
  width: 900px;
  height: 900px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(59, 130, 246, 0.25) 0%, rgba(30, 64, 175, 0.1) 35%, transparent 65%);
  pointer-events: none;
}

.hero-glow-tl {
  position: absolute;
  width: 600px;
  height: 600px;
  top: -200px;
  left: -200px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 65%);
  pointer-events: none;
}

.hero-glow-br {
  position: absolute;
  width: 600px;
  height: 600px;
  bottom: -200px;
  right: -200px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.18) 0%, transparent 65%);
  pointer-events: none;
}

.hero-waves {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-waves .wave {
  position: absolute;
  width: 80px;
  height: 80px;
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  animation: wavePulse 7s ease-out infinite;
}

.hero-waves .wave:nth-child(1) { animation-delay: 0s; }
.hero-waves .wave:nth-child(2) { animation-delay: 1.75s; }
.hero-waves .wave:nth-child(3) { animation-delay: 3.5s; }
.hero-waves .wave:nth-child(4) { animation-delay: 5.25s; }

@keyframes wavePulse {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
  10% { opacity: 0.7; }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(12); }
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-particles .particle {
  position: absolute;
  width: 5px;
  height: 5px;
  background: rgba(59, 130, 246, 0.7);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.6), 0 0 20px rgba(59, 130, 246, 0.2);
  animation: floatUp linear infinite;
}

.hero-particles .particle:nth-child(1) { left: 10%; animation-duration: 8s; animation-delay: 0s; }
.hero-particles .particle:nth-child(2) { left: 20%; animation-duration: 12s; animation-delay: 2s; }
.hero-particles .particle:nth-child(3) { left: 35%; animation-duration: 10s; animation-delay: 4s; }
.hero-particles .particle:nth-child(4) { left: 55%; animation-duration: 9s; animation-delay: 1s; }
.hero-particles .particle:nth-child(5) { left: 70%; animation-duration: 11s; animation-delay: 3s; }
.hero-particles .particle:nth-child(6) { left: 85%; animation-duration: 7s; animation-delay: 5s; }
.hero-particles .particle:nth-child(7) { left: 45%; animation-duration: 13s; animation-delay: 0.5s; }
.hero-particles .particle:nth-child(8) { left: 90%; animation-duration: 10s; animation-delay: 2.5s; }

@keyframes floatUp {
  0% { bottom: -5%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { bottom: 105%; opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 64px;
  font-weight: 800;
  color: var(--pure);
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 18px;
  color: var(--steel);
  max-width: 600px;
  margin: 0 auto 40px;
}

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

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 32px;
  font-size: 15px;
  font-weight: 700;
  color: var(--pure);
  background: linear-gradient(135deg, var(--accent-hover), var(--accent));
  border-radius: var(--r-full);
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.35);
  transition: all var(--duration) var(--ease);
}

.btn-hero-primary:hover {
  box-shadow: 0 6px 28px rgba(59, 130, 246, 0.5);
  transform: translateY(-2px);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 32px;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  border: 1px solid rgba(59, 130, 246, 0.4);
  border-radius: var(--r-full);
  transition: all var(--duration) var(--ease);
}

.btn-hero-secondary:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: var(--accent);
}

/* ===== Features ===== */
.features {
  background: var(--ink);
}

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

.feature-card {
  background: var(--ink-light);
  border: 1px solid rgba(59, 130, 246, 0.08);
  border-radius: var(--r-lg);
  padding: 36px 28px;
  transition: all 0.3s var(--ease);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.25);
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.12), 0 0 0 1px rgba(59, 130, 246, 0.1);
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border-radius: var(--r-md);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--pure);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--steel);
  line-height: 1.7;
}

/* ===== Screenshots / Carousel ===== */
.screenshots {
  background: var(--ink-light);
}

.carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
}

.carousel-track {
  display: flex;
  transition: transform 0.45s var(--ease);
}

.carousel-slide {
  min-width: 100%;
  flex-shrink: 0;
}

/* ===== Mock UI (Product Screenshots) ===== */
.mock-ui {
  height: 480px;
  background: #0d1117;
  border: 1px solid rgba(59, 130, 246, 0.12);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
}

.mock-titlebar {
  height: 36px;
  background: #161b22;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 12px;
  flex-shrink: 0;
}

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

.mock-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mock-dots span:nth-child(1) { background: #ff5f57; }
.mock-dots span:nth-child(2) { background: #febc2e; }
.mock-dots span:nth-child(3) { background: #28c840; }

.mock-url {
  flex: 1;
  text-align: center;
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--steel);
  background: rgba(255,255,255,0.04);
  border-radius: 4px;
  padding: 3px 12px;
  margin-right: 42px;
}

.mock-body {
  flex: 1;
  display: flex;
  overflow: hidden;
}

.mock-sidebar {
  width: 52px;
  background: #0d1117;
  border-right: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 0;
  gap: 6px;
  flex-shrink: 0;
}

.mock-sidebar-logo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: linear-gradient(135deg, #1e40af, #3b82f6);
  margin-bottom: 10px;
}

.mock-sidebar-item {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: rgba(255,255,255,0.03);
}

.mock-sidebar-item.active {
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.mock-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #0d1117;
}

.mock-topbar {
  height: 44px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  flex-shrink: 0;
}

.mock-breadcrumb {
  font-size: 13px;
  font-weight: 600;
  color: var(--pure);
}

.mock-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
}

.mock-btn-group {
  display: flex;
  gap: 8px;
}

.mock-btn-outline {
  font-size: 11px;
  font-weight: 500;
  color: var(--cloud);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 4px 14px;
  border-radius: 5px;
}

.mock-btn-primary {
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  padding: 4px 14px;
  border-radius: 5px;
}

/* --- Dashboard Mock --- */
.mock-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 14px 20px 0;
}

.mock-stat-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 12px 14px;
}

.mock-stat-label {
  font-size: 10px;
  color: var(--steel);
  margin-bottom: 4px;
}

.mock-stat-value {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--pure);
  line-height: 1.2;
}

.mock-stat-trend {
  font-size: 10px;
  font-family: var(--font-mono);
  margin-top: 4px;
}

.mock-stat-trend.up { color: #34d399; }
.mock-stat-trend.down { color: #f87171; }
.mock-stat-trend.neutral { color: var(--steel); }

.mock-chart-area {
  flex: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 10px;
  padding: 10px 20px 14px;
  min-height: 0;
}

.mock-chart, .mock-recent {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 12px 14px;
  overflow: hidden;
}

.mock-chart-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--cloud);
  margin-bottom: 10px;
}

.mock-line-chart {
  width: 100%;
  height: calc(100% - 28px);
}

.mock-recent-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.mock-recent-item:last-child { border-bottom: none; }

.mock-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.mock-dot.green { background: #34d399; }
.mock-dot.blue { background: #3b82f6; }
.mock-dot.orange { background: #fb923c; }

.mock-text-line {
  height: 8px;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
}

.mock-text-line.w50 { width: 50%; }
.mock-text-line.w55 { width: 55%; }
.mock-text-line.w60 { width: 60%; }
.mock-text-line.w65 { width: 65%; }
.mock-text-line.w70 { width: 70%; }

.mock-badge-success, .mock-badge-info, .mock-badge-warn, .mock-badge-error {
  font-size: 9px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
  flex-shrink: 0;
  margin-left: auto;
}

.mock-badge-success { color: #34d399; background: rgba(52,211,153,0.12); }
.mock-badge-info { color: #3b82f6; background: rgba(59,130,246,0.12); }
.mock-badge-warn { color: #fb923c; background: rgba(251,146,60,0.12); }
.mock-badge-error { color: #f87171; background: rgba(248,113,113,0.12); }

/* --- Agent Config Mock --- */
.mock-agent-layout {
  flex: 1;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 14px;
  padding: 14px 20px;
  overflow: hidden;
}

.mock-agent-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mock-form-group { display: flex; flex-direction: column; gap: 4px; }

.mock-form-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--steel);
}

.mock-form-input {
  font-size: 12px;
  color: var(--cloud);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 8px 12px;
}

.mock-form-textarea {
  font-size: 11px;
  color: var(--steel);
  line-height: 1.6;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 10px 12px;
  flex: 1;
  min-height: 90px;
}

.mock-prompt-text {
  display: block;
  margin-bottom: 8px;
}

.mock-tool-pills {
  display: flex;
  gap: 6px;
}

.mock-pill {
  font-size: 10px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(59,130,246,0.12);
  padding: 3px 10px;
  border-radius: 10px;
}

.mock-agent-sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mock-config-section {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 10px 12px;
}

.mock-config-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--accent);
  margin-bottom: 6px;
  font-family: var(--font-mono);
}

.mock-config-select {
  font-size: 11px;
  color: var(--cloud);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 5px;
  padding: 6px 10px;
}

.mock-slider-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mock-slider-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: var(--steel);
}

.mock-slider-row span:first-child {
  width: 60px;
  flex-shrink: 0;
}

.mock-slider {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
}

.mock-slider-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
}

/* --- Call Records Mock --- */
.mock-search-bar {
  width: 160px;
  height: 28px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 5px;
  display: flex;
  align-items: center;
  padding: 0 10px;
}

.mock-table {
  flex: 1;
  padding: 0 20px;
  overflow: hidden;
}

.mock-table-head {
  display: grid;
  grid-template-columns: 70px 1fr 70px 1fr 70px 70px;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 10px;
  font-weight: 600;
  color: var(--steel);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.mock-table-row {
  display: grid;
  grid-template-columns: 70px 1fr 70px 1fr 70px 70px;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 11px;
  color: var(--cloud);
  align-items: center;
}

.mock-mono {
  font-family: var(--font-mono);
  font-size: 11px;
}

.mock-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
}

.mock-page-info {
  font-size: 10px;
  color: var(--steel);
}

.mock-page-btns {
  display: flex;
  gap: 4px;
}

.mock-page-btn {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--steel);
  background: rgba(255,255,255,0.04);
  border-radius: 4px;
}

.mock-page-btn.active {
  color: #fff;
  background: var(--accent);
}

/* --- IVR Designer Mock --- */
.mock-ivr-canvas {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.mock-ivr-grid {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 20px 20px;
}

.mock-ivr-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.mock-ivr-node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  z-index: 1;
}

.mock-ivr-node span {
  font-size: 10px;
  color: var(--cloud);
  white-space: nowrap;
}

.mock-ivr-node-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  border-radius: 10px;
  border: 1.5px solid;
}

.mock-ivr-start .mock-ivr-node-icon {
  background: rgba(52,211,153,0.1);
  border-color: rgba(52,211,153,0.4);
  color: #34d399;
}

.mock-ivr-play .mock-ivr-node-icon {
  background: rgba(59,130,246,0.1);
  border-color: rgba(59,130,246,0.4);
  color: #3b82f6;
}

.mock-ivr-menu .mock-ivr-node-icon {
  background: rgba(251,146,60,0.1);
  border-color: rgba(251,146,60,0.4);
  color: #fb923c;
}

.mock-ivr-keys {
  display: flex;
  gap: 3px;
}

.mock-ivr-keys span {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--steel);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 3px;
}

.mock-ivr-queue .mock-ivr-node-icon {
  background: rgba(139,92,246,0.1);
  border-color: rgba(139,92,246,0.4);
  color: #8b5cf6;
}

.mock-ivr-ai .mock-ivr-node-icon {
  background: rgba(59,130,246,0.1);
  border-color: rgba(59,130,246,0.4);
  color: #3b82f6;
}

.mock-ivr-end .mock-ivr-node-icon {
  background: rgba(248,113,113,0.1);
  border-color: rgba(248,113,113,0.4);
  color: #f87171;
  border-radius: 50%;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(12, 14, 18, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 50%;
  color: var(--cloud);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  z-index: 2;
}

.carousel-btn:hover {
  background: rgba(59, 130, 246, 0.15);
  border-color: var(--accent);
  color: var(--pure);
}

.carousel-btn-prev { left: 16px; }
.carousel-btn-next { right: 16px; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 20px 0 12px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--r-full);
  background: var(--slate);
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.carousel-dot.active {
  width: 24px;
  background: var(--accent);
}

/* ===== Tech ===== */
.tech {
  background: var(--ink);
}

.tech-pipeline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.pipeline-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.pipeline-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--r-md);
  transition: all 0.3s var(--ease);
}

.pipeline-node:hover .pipeline-icon {
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

.pipeline-node span {
  font-size: 12px;
  color: var(--steel);
  white-space: nowrap;
}

.pipeline-arrow {
  display: flex;
  align-items: center;
  padding: 0 6px;
  margin-bottom: 20px;
  opacity: 0.5;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 48px;
}

.tech-tag {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--cloud);
  background: var(--ink-light);
  border: 1px solid rgba(59, 130, 246, 0.1);
  padding: 6px 16px;
  border-radius: var(--r-full);
  transition: all var(--duration) var(--ease);
}

.tech-tag:hover {
  border-color: rgba(59, 130, 246, 0.3);
  color: var(--accent);
}

.tech-providers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 16px;
}

.provider-group {
  background: var(--ink-light);
  border: 1px solid rgba(59, 130, 246, 0.08);
  border-radius: var(--r-lg);
  padding: 28px 24px;
}

.provider-group h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--pure);
  margin-bottom: 14px;
}

.provider-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.provider-list li {
  font-size: 14px;
  color: var(--steel);
  padding-left: 16px;
  position: relative;
}

.provider-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.5;
}

.btn-api {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 28px;
  font-size: 14px;
  font-weight: 600;
  color: var(--steel);
  background: var(--ink-light);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: var(--r-full);
  cursor: default;
  transition: all var(--duration) var(--ease);
}

.coming-soon {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 2px 8px;
  border-radius: var(--r-full);
}

/* ===== Metrics ===== */
.metrics {
  background: var(--ink);
  padding: 80px 0;
}

.metrics-grid {
  display: flex;
  justify-content: center;
  gap: 80px;
}

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

.metric-value {
  font-family: var(--font-mono);
  font-size: 48px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 12px;
}

.metric-label {
  font-size: 14px;
  color: var(--steel);
}

/* ===== Use Cases ===== */
.use-cases {
  background: var(--ink);
}

.usecases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.usecase-card {
  background: var(--ink-light);
  border: 1px solid rgba(59, 130, 246, 0.08);
  border-radius: var(--r-lg);
  padding: 32px 24px;
  transition: all 0.3s var(--ease);
}

.usecase-card:hover {
  border-color: rgba(59, 130, 246, 0.25);
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.12), 0 0 0 1px rgba(59, 130, 246, 0.1);
  transform: translateY(-4px);
}

.usecase-icon {
  color: var(--accent);
  margin-bottom: 20px;
}

.usecase-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--pure);
  margin-bottom: 10px;
}

.usecase-card p {
  font-size: 14px;
  color: var(--steel);
  line-height: 1.7;
}

/* ===== FAQ ===== */
.faq {
  background: var(--ink);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid rgba(59, 130, 246, 0.1);
  border-radius: var(--r-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--pure);
  background: rgba(59, 130, 246, 0.04);
  text-align: left;
  transition: background var(--duration) var(--ease);
}

.faq-question:hover {
  background: rgba(59, 130, 246, 0.08);
}

.faq-chevron {
  color: var(--steel);
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}

.faq-answer p {
  padding: 0 24px 18px;
  font-size: 14px;
  color: var(--cloud);
  line-height: 1.8;
}

/* ===== Bottom CTA ===== */
.bottom-cta {
  position: relative;
  text-align: center;
  padding: 100px 0;
}

.bottom-cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1e1b4b 0%, #0c0e12 100%);
}

.bottom-cta-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 65%);
  pointer-events: none;
}

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

.bottom-cta h2 {
  font-size: 40px;
  font-weight: 700;
  color: var(--pure);
  margin-bottom: 12px;
}

.bottom-cta p {
  font-size: 16px;
  color: var(--steel);
  margin-bottom: 32px;
}

/* Stagger reveal for grid items */
.features-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.features-grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.features-grid .reveal:nth-child(4) { transition-delay: 0.3s; }
.features-grid .reveal:nth-child(5) { transition-delay: 0.4s; }
.features-grid .reveal:nth-child(6) { transition-delay: 0.5s; }

.usecases-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.usecases-grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.usecases-grid .reveal:nth-child(4) { transition-delay: 0.3s; }

/* ===== Responsive: Tablet (768px - 1023px) ===== */
@media (max-width: 1023px) {
  .container {
    padding: 0 40px;
  }

  .section {
    padding: 80px 0;
  }

  .section-title h2 {
    font-size: 32px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-sub {
    font-size: 16px;
  }

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

  .tech-providers {
    gap: 16px;
  }

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

  .metrics-grid {
    gap: 48px;
  }

  .metric-value {
    font-size: 40px;
  }

  .bottom-cta h2 {
    font-size: 32px;
  }
}

/* ===== Responsive: Mobile (< 768px) ===== */
@media (max-width: 767px) {
  .container {
    padding: 0 20px;
  }

  .section {
    padding: 60px 0;
  }

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

  .section-title h2 {
    font-size: 26px;
  }

  .section-title p {
    font-size: 14px;
  }

  /* Nav */
  .nav-links {
    display: none;
  }

  .nav-login,
  .nav-cta {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  /* Hero */
  .hero h1 {
    font-size: 36px;
  }

  .hero-sub {
    font-size: 14px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .hero-cta a {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  /* Reduce particles on mobile */
  .hero-particles .particle:nth-child(n+5) {
    display: none;
  }

  /* Features */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .feature-card {
    padding: 24px 20px;
  }

  /* Carousel */
  .carousel-btn {
    display: none;
  }

  .mock-ui {
    height: 320px;
  }

  .mock-sidebar {
    width: 36px;
  }

  .mock-sidebar-logo {
    width: 22px;
    height: 22px;
  }

  .mock-sidebar-item {
    width: 24px;
    height: 24px;
  }

  .mock-stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    padding: 8px 10px 0;
  }

  .mock-stat-card {
    padding: 8px 10px;
  }

  .mock-stat-value {
    font-size: 14px;
  }

  .mock-chart-area {
    grid-template-columns: 1fr;
    padding: 6px 10px 10px;
  }

  .mock-recent {
    display: none;
  }

  .mock-topbar {
    padding: 0 10px;
    height: 36px;
  }

  .mock-breadcrumb {
    font-size: 11px;
  }

  .mock-agent-layout {
    grid-template-columns: 1fr;
    padding: 8px 10px;
    gap: 8px;
  }

  .mock-agent-sidebar {
    flex-direction: row;
    gap: 6px;
    overflow: hidden;
  }

  .mock-config-section {
    flex: 1;
    min-width: 0;
  }

  .mock-table-head,
  .mock-table-row {
    grid-template-columns: 55px 1fr 55px 70px;
    font-size: 9px;
  }

  .mock-table-head .col-dur,
  .mock-table-head .col-status,
  .mock-table-row .col-dur,
  .mock-table-row .col-status {
    display: none;
  }

  .mock-ivr-node-icon {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }

  .mock-ivr-node span {
    font-size: 8px;
  }

  /* Tech */
  .tech-pipeline {
    flex-direction: column;
    gap: 4px;
  }

  .pipeline-arrow {
    transform: rotate(90deg);
    padding-bottom: 0;
    margin: 0;
  }

  .tech-providers {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Metrics */
  .metrics-grid {
    flex-wrap: wrap;
    gap: 32px;
  }

  .metric-item {
    flex: 1 1 40%;
  }

  .metric-value {
    font-size: 36px;
  }

  /* Use Cases */
  .usecases-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* FAQ */
  .faq-question {
    padding: 14px 18px;
    font-size: 14px;
  }

  .faq-answer p {
    padding: 0 18px 14px;
    font-size: 13px;
  }

  /* Bottom CTA */
  .bottom-cta h2 {
    font-size: 26px;
  }

  .bottom-cta .btn-hero-primary {
    width: 100%;
    max-width: 280px;
  }
}

/* ===== Footer ===== */
.footer {
  background: var(--ink);
  border-top: 1px solid rgba(59, 130, 246, 0.08);
  padding-top: 60px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  padding-bottom: 40px;
}

.footer-brand {
  max-width: 260px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--pure);
  margin-bottom: 10px;
}

.footer-desc {
  font-size: 13px;
  color: var(--steel);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 60px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col h5 {
  font-size: 13px;
  font-weight: 600;
  color: var(--pure);
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 13px;
  color: var(--steel);
  transition: color var(--duration) var(--ease);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 20px 80px;
  font-size: 12px;
  color: var(--steel);
  text-align: center;
}

@media (max-width: 767px) {
  .footer-inner {
    flex-direction: column;
    gap: 32px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 32px;
  }

  .footer-bottom {
    padding: 16px 20px;
  }
}

/* Touch: replace hover with active on mobile */
@media (hover: none) {
  .feature-card:hover,
  .usecase-card:hover {
    transform: none;
    box-shadow: none;
    border-color: rgba(59, 130, 246, 0.08);
  }

  .feature-card:active,
  .usecase-card:active {
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.08);
  }
}
