html, body { overflow-x: hidden; width: 100%; max-width: 100vw; }
*, *::before, *::after { box-sizing: border-box; }
img, video, canvas, svg { max-width: 100%; }
/* ==========================================================================
   VORTEX AI - Next-Gen Autonomous AI Workflow Engine
   Cyber Aesthetic / Titanium / Electric Indigo & Cyan Theme
   ========================================================================== */

:root {
  --bg-dark: #07080d;
  --bg-surface: #0c0e18;
  --bg-card: rgba(14, 18, 32, 0.72);
  --bg-card-hover: rgba(20, 26, 46, 0.85);
  --bg-glass: rgba(10, 13, 24, 0.7);
  --bg-subtle: rgba(255, 255, 255, 0.03);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.15);
  --border-glow: rgba(99, 102, 241, 0.35);
  --border-cyan-glow: rgba(6, 182, 212, 0.35);

  --primary: #6366f1;
  --primary-light: #818cf8;
  --primary-glow: rgba(99, 102, 241, 0.4);
  --cyan: #06b6d4;
  --cyan-light: #22d3ee;
  --cyan-glow: rgba(6, 182, 212, 0.4);
  --emerald: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.3);
  --violet: #8b5cf6;
  --rose: #f43f5e;
  --amber: #f59e0b;

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-dim: #475569;

  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  --max-w-container: 1280px;
  --max-w-narrow: 860px;
}

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

html {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background-color: var(--bg-dark);
}

/* Background Grids & Ambient Glow */
.bg-grid-pattern {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 30%, black 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, black 40%, transparent 85%);
  pointer-events: none;
  z-index: 0;
}

.ambient-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

.ambient-orb-1 {
  width: 500px;
  height: 500px;
  top: -150px;
  left: 20%;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
}

.ambient-orb-2 {
  width: 600px;
  height: 600px;
  top: 40%;
  right: -100px;
  background: radial-gradient(circle, var(--cyan-glow) 0%, transparent 70%);
}

/* Typography Fluid Clamping */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.5rem, 5vw + 1rem, 4.25rem);
}

h2 {
  font-size: clamp(1.85rem, 3vw + 0.5rem, 2.75rem);
}

h3 {
  font-size: clamp(1.35rem, 2vw + 0.25rem, 1.75rem);
}

p {
  color: var(--text-secondary);
  font-size: clamp(1rem, 0.5vw + 0.9rem, 1.125rem);
}

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

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

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

code, pre, .mono {
  font-family: var(--font-mono);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--max-w-container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
  position: relative;
  z-index: 1;
}

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

.section {
  padding-block: clamp(4.5rem, 8vw, 7.5rem);
  position: relative;
  z-index: 1;
}

.section-hero {
  padding-top: clamp(6.5rem, 12vw, 9.5rem);
  padding-bottom: clamp(4rem, 6vw, 6rem);
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: clamp(3rem, 5vw, 4.5rem);
}

.section-header.left-aligned {
  text-align: left;
  margin-inline: 0;
}

/* Glowing Badges & Chips */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: var(--primary-light);
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(10px);
}

.badge-pill.cyan {
  background: rgba(6, 182, 212, 0.1);
  border-color: rgba(6, 182, 212, 0.3);
  color: var(--cyan-light);
}

.badge-pill.emerald {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
  color: var(--emerald);
}

.badge-pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}

/* Gradient Text */
.text-gradient {
  background: linear-gradient(135deg, #ffffff 30%, #a5b4fc 70%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #ffffff 20%, #38bdf8 65%, #6366f1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.875rem 1.625rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 20px -2px var(--primary-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #818cf8 0%, #6366f1 100%);
  box-shadow: 0 6px 28px 2px var(--primary-glow);
  transform: translateY(-2px);
  color: #fff;
}

.btn-cyan {
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
  color: #03131e;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 20px -2px var(--cyan-glow);
}

.btn-cyan:hover {
  background: linear-gradient(135deg, #22d3ee 0%, #06b6d4 100%);
  box-shadow: 0 6px 28px 2px var(--cyan-glow);
  transform: translateY(-2px);
  color: #020c14;
}

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

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

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.8125rem;
  border-radius: var(--radius-sm);
}

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

/* Spotlight Cards (Dynamic Radial Glow Effect) */
.spotlight-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  backdrop-filter: blur(16px);
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
  overflow: hidden;
  z-index: 1;
}

.spotlight-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(
    450px circle at var(--mx, 50%) var(--my, 50%),
    rgba(99, 102, 241, 0.18),
    transparent 65%
  );
  opacity: 0;
  transition: opacity var(--transition-smooth);
  pointer-events: none;
  z-index: -1;
}

.spotlight-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.6);
}

.spotlight-card:hover::before {
  opacity: 1;
}

/* Glass Card */
.glass-panel {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
}

/* Navigation Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding-block: 1.15rem;
  transition: all var(--transition-smooth);
}

.site-header.scrolled {
  background: rgba(7, 8, 13, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding-block: 0.85rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.brand-logo-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
  display: grid;
  place-items: center;
  box-shadow: 0 0 16px var(--primary-glow);
  color: #fff;
}

.brand-logo-icon svg {
  width: 18px;
  height: 18px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding-block: 0.25rem;
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--cyan));
  border-radius: 2px;
  box-shadow: 0 0 8px var(--primary-glow);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  height: 32px;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 101;
}

.mobile-toggle span {
  width: 22px;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(7, 8, 13, 0.97);
  backdrop-filter: blur(24px);
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav .nav-link {
  font-size: 1.5rem;
  font-weight: 600;
}

/* ==========================================================================
   HOMEPAGE: HERO & NEURAL CANVAS
   ========================================================================== */

.hero-wrapper {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(2.5rem, 5vw, 4rem);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.2vw, 1.25rem);
  line-height: 1.7;
  margin-bottom: 2.25rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.hero-stat-item .stat-value {
  font-size: 1.85rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.hero-stat-item .stat-value span {
  color: var(--cyan);
}

.hero-stat-item .stat-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Neural Canvas Container */
.hero-canvas-card {
  position: relative;
  height: 520px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  background: radial-gradient(circle at 50% 50%, rgba(20, 24, 45, 0.6) 0%, rgba(10, 12, 22, 0.9) 100%);
  overflow: hidden;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.7);
}

#neural-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: crosshair;
}

.canvas-floating-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(12, 16, 28, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(12px);
  z-index: 2;
}

.canvas-status {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.status-ring {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 10px var(--emerald);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.canvas-status-text {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-primary);
}

.canvas-status-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.canvas-fps-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  background: rgba(99, 102, 241, 0.15);
  color: var(--primary-light);
  border: 1px solid rgba(99, 102, 241, 0.3);
}

/* ==========================================================================
   INTERACTIVE WORKFLOW ORCHESTRATION GRAPH
   ========================================================================== */

.workflow-section {
  position: relative;
}

.workflow-interactive-container {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: start;
}

.workflow-canvas-wrap {
  position: relative;
  background: rgba(12, 16, 28, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  overflow: hidden;
}

.workflow-canvas-wrap svg {
  width: 100%;
  height: auto;
  display: block;
}

/* SVG Flow Styling */
.flow-wire {
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 2;
  fill: none;
}

.flow-wire-pulse {
  stroke-dasharray: 8 16;
  animation: flowLine 2.5s linear infinite;
}

.flow-wire-pulse.cyan {
  stroke: var(--cyan);
  filter: drop-shadow(0 0 4px var(--cyan));
}

.flow-wire-pulse.indigo {
  stroke: var(--primary);
  filter: drop-shadow(0 0 4px var(--primary));
}

@keyframes flowLine {
  to {
    stroke-dashoffset: -48;
  }
}

.workflow-node {
  cursor: pointer;
  transition: all var(--transition-fast);
}

.workflow-node:hover .node-box,
.workflow-node.active .node-box {
  stroke: var(--primary);
  fill: rgba(30, 38, 65, 0.95);
  filter: drop-shadow(0 0 12px var(--primary-glow));
}

.workflow-node.cyan:hover .node-box,
.workflow-node.cyan.active .node-box {
  stroke: var(--cyan);
  fill: rgba(14, 40, 55, 0.95);
  filter: drop-shadow(0 0 12px var(--cyan-glow));
}

.workflow-node text {
  font-family: var(--font-mono);
  font-size: 11px;
  fill: #f1f5f9;
}

.workflow-node .node-type {
  font-size: 9px;
  fill: #94a3b8;
}

/* Node Inspector Panel */
.workflow-inspector {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(16px);
}

.inspector-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.inspector-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.inspector-type {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  background: rgba(99, 102, 241, 0.15);
  color: var(--primary-light);
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.inspector-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.inspector-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.inspector-meta-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem;
}

.inspector-meta-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-family: var(--font-mono);
  margin-bottom: 0.25rem;
}

.inspector-meta-val {
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--text-primary);
}

.inspector-code-block {
  background: #05060a;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: #38bdf8;
  overflow-x: auto;
  line-height: 1.5;
}

/* ==========================================================================
   FEATURE CARDS GRID (Spotlight Glow)
   ========================================================================== */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.75rem;
}

.feature-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  display: grid;
  place-items: center;
  color: var(--primary-light);
  margin-bottom: 1.5rem;
  transition: all var(--transition-fast);
}

.spotlight-card:hover .feature-icon-wrap {
  transform: scale(1.08);
  box-shadow: 0 0 20px var(--primary-glow);
}

.feature-icon-wrap.cyan {
  background: rgba(6, 182, 212, 0.12);
  border-color: rgba(6, 182, 212, 0.25);
  color: var(--cyan);
}

.spotlight-card:hover .feature-icon-wrap.cyan {
  box-shadow: 0 0 20px var(--cyan-glow);
}

.feature-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.feature-card-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.feature-card-image {
  margin-top: 1rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.feature-card-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.spotlight-card:hover .feature-card-image img {
  transform: scale(1.04);
}

.feature-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.feature-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

/* ==========================================================================
   BILLING SWITCHER & PRICING TIERS
   ========================================================================== */

.billing-switch-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.billing-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.billing-label.active {
  color: var(--text-primary);
}

.billing-toggle-btn {
  position: relative;
  width: 64px;
  height: 34px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-full);
  padding: 3px;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.billing-toggle-btn.active {
  background: var(--primary);
  border-color: var(--primary-light);
}

.billing-toggle-thumb {
  width: 26px;
  height: 26px;
  background: #ffffff;
  border-radius: 50%;
  transition: transform var(--transition-smooth);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.billing-toggle-btn.active .billing-toggle-thumb {
  transform: translateX(30px);
}

.save-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.2);
  color: var(--emerald);
  border: 1px solid rgba(16, 185, 129, 0.4);
}

/* Pricing Cards */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
}

.pricing-card.featured {
  background: linear-gradient(180deg, rgba(20, 24, 48, 0.9) 0%, rgba(12, 15, 28, 0.95) 100%);
  border-color: var(--primary);
  box-shadow: 0 0 40px -10px var(--primary-glow);
  transform: translateY(-8px);
}

.pricing-featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--primary), var(--cyan));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 1.25rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 15px var(--primary-glow);
}

.pricing-header {
  margin-bottom: 2rem;
}

.pricing-tier-name {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pricing-tier-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  min-height: 42px;
}

.pricing-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-block: 1.5rem;
}

.pricing-currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.pricing-amount {
  font-size: 3.5rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--text-primary);
  line-height: 1;
}

.pricing-period {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.pricing-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-grow: 1;
}

.pricing-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.pricing-feature-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--cyan);
}

.pricing-feature-item.disabled {
  color: var(--text-dim);
  text-decoration: line-through;
}

.pricing-feature-item.disabled svg {
  color: var(--text-dim);
}

/* ==========================================================================
   PRICING COMPARISON MATRIX TABLE
   ========================================================================== */

.matrix-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  margin-top: 4rem;
}

.matrix-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.matrix-table th,
.matrix-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.9375rem;
}

.matrix-table th {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.05rem;
}

.matrix-table th:first-child {
  width: 40%;
}

.matrix-table .cat-row td {
  background: rgba(99, 102, 241, 0.08);
  font-weight: 700;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-block: 0.85rem;
}

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

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

.matrix-check {
  color: var(--emerald);
  font-weight: 700;
}

.matrix-cross {
  color: var(--text-dim);
}

/* ==========================================================================
   FEATURES PAGE: TABBED DEEP DIVES
   ========================================================================== */

.features-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.tab-btn {
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.9375rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  transition: all var(--transition-fast);
}

.tab-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-medium);
  background: rgba(255, 255, 255, 0.08);
}

.tab-btn.active {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(6, 182, 212, 0.2));
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 0 20px -5px var(--primary-glow);
}

.tab-panel {
  display: none;
  animation: fadeInTab 0.4s ease forwards;
}

.tab-panel.active {
  display: block;
}

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

.tab-deep-dive-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.tab-deep-dive-image {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  position: relative;
}

.tab-deep-dive-image img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}

.feature-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.feature-bullet-item {
  display: flex;
  gap: 1rem;
}

.feature-bullet-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  display: grid;
  place-items: center;
  color: var(--primary-light);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Architecture Specs Grid */
.architecture-specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.spec-card {
  background: rgba(14, 18, 32, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  backdrop-filter: blur(12px);
}

.spec-metric {
  font-family: var(--font-mono);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--cyan);
  margin-bottom: 0.35rem;
}

.spec-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.spec-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   CHANGELOG & ROADMAP TIMELINE
   ========================================================================== */

.timeline-wrapper {
  position: relative;
  max-width: 900px;
  margin-inline: auto;
  padding-left: 2.5rem;
}

.timeline-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary) 0%, var(--cyan) 50%, rgba(255, 255, 255, 0.1) 100%);
  box-shadow: 0 0 10px var(--primary-glow);
}

.timeline-item {
  position: relative;
  margin-bottom: 3.5rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: 6px;
  left: -2.5rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 3px solid var(--primary);
  box-shadow: 0 0 12px var(--primary-glow);
  z-index: 2;
}

.timeline-item.cyan::before {
  border-color: var(--cyan);
  box-shadow: 0 0 12px var(--cyan-glow);
}

.timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(16px);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.timeline-card:hover {
  transform: translateX(4px);
  border-color: var(--border-glow);
}

.timeline-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.timeline-version-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.timeline-version {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
}

.timeline-date {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.timeline-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.badge-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.badge-tag.feature {
  background: rgba(99, 102, 241, 0.15);
  color: var(--primary-light);
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.badge-tag.perf {
  background: rgba(6, 182, 212, 0.15);
  color: var(--cyan-light);
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.badge-tag.security {
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.timeline-content-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.timeline-content-item {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.timeline-content-item::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1;
}

.timeline-code-snippet {
  margin-top: 1.25rem;
  background: #05060b;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: #a5b4fc;
  overflow-x: auto;
}

/* ==========================================================================
   CONTACT PAGE & DEMO REQUEST FORM
   ========================================================================== */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  backdrop-filter: blur(16px);
}

.sla-benchmark-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.sla-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.sla-val {
  font-size: 1.75rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--primary-light);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.sla-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Form Styles */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.75rem;
  backdrop-filter: blur(16px);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.875rem 1.15rem;
  background: rgba(10, 12, 22, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.9375rem;
  outline: none;
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
  background: rgba(14, 18, 32, 0.9);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

/* Interactive Radio Pills */
.pill-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pill-radio-option {
  position: relative;
}

.pill-radio-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pill-radio-label {
  display: inline-block;
  padding: 0.65rem 1.15rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.pill-radio-option input[type="radio"]:checked + .pill-radio-label {
  background: rgba(99, 102, 241, 0.2);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 0 12px -2px var(--primary-glow);
}

/* Form Toast Alert */
.form-toast {
  display: none;
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--emerald);
  color: #ecfdf5;
  font-size: 0.9375rem;
  align-items: center;
  gap: 0.75rem;
}

.form-toast.active {
  display: flex;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: #040508;
  padding-top: 5rem;
  padding-bottom: 2.5rem;
  position: relative;
  z-index: 1;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand-desc {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-top: 1rem;
  max-width: 320px;
}

.footer-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 0.85rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--emerald);
  margin-top: 1.5rem;
}

.footer-heading {
  font-size: 0.9375rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

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

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 1.5rem;
}

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

.footer-badges {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.compliance-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  border: 1px solid var(--border-subtle);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   RESPONSIVENESS / MEDIA QUERIES
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-subtitle {
    margin-inline: auto;
  }

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

  .hero-stats {
    max-width: 500px;
    margin-inline: auto;
  }

  .hero-canvas-card {
    height: 400px;
  }

  .workflow-interactive-container {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 540px;
    margin-inline: auto;
  }

  .pricing-card.featured {
    transform: none;
  }

  .tab-deep-dive-grid {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

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

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

  .mobile-toggle {
    display: flex;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .sla-benchmark-grid {
    grid-template-columns: 1fr;
  }
}
