/* ==========================================================================
   STATELY AI - NEURAL INTELLIGENCE & ENTERPRISE LLM PLATFORM
   Futuristic Dark Luxury Design System (Cyber Obsidian & Neon Sapphire)
   ========================================================================== */

/* --- 1. Design Tokens & Palette --- */
:root {
  /* Surfaces */
  --bg-deep: #030712;
  --bg-surface: #090d1a;
  --bg-card: rgba(15, 23, 42, 0.65);
  --bg-card-hover: rgba(30, 41, 59, 0.75);
  --bg-input: rgba(15, 23, 42, 0.85);

  /* Glowing Accent Colors */
  --neon-cyan: #06b6d4;
  --neon-blue: #3b82f6;
  --neon-violet: #8b5cf6;
  --neon-emerald: #10b981;
  --neon-amber: #f59e0b;

  /* Borders & Glass */
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-hover: rgba(6, 182, 212, 0.4);
  --border-glow: rgba(59, 130, 246, 0.3);

  /* Typography */
  --text-white: #ffffff;
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;

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

  /* Shadows & Glows */
  --glow-cyan: 0 0 35px -5px rgba(6, 182, 212, 0.35);
  --glow-blue: 0 0 35px -5px rgba(59, 130, 246, 0.35);
  --glow-violet: 0 0 35px -5px rgba(139, 92, 246, 0.35);
  --shadow-card: 0 16px 36px -8px rgba(0, 0, 0, 0.6);

  /* Shapes */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;

  --container-max: 1240px;
  --trans-fast: 0.15s ease;
  --trans-smooth: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- 2. Global Resets --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  font-size: 16px;
  background-color: var(--bg-deep);
  color: var(--text-secondary);
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-deep);
  color: var(--text-secondary);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

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

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

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 28px;
  padding-right: 28px;
}

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

/* Interactive Particle Canvas */
#neuralCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.65;
}

/* Ambient Radial Background Auroras */
.aurora-layer {
  position: fixed;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 15%, rgba(6, 182, 212, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 80% 25%, rgba(139, 92, 246, 0.1) 0%, transparent 45%),
    radial-gradient(circle at 50% 70%, rgba(59, 130, 246, 0.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* --- 3. Header & Navigation --- */
.top-notice-bar {
  background: linear-gradient(90deg, rgba(6, 182, 212, 0.15), rgba(139, 92, 246, 0.15));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 16px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
  color: var(--neon-cyan);
  position: relative;
  z-index: 1001;
}

.top-notice-bar a {
  color: #ffffff;
  text-decoration: underline;
  margin-left: 6px;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(3, 7, 18, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  transition: all var(--trans-fast);
}

.navbar.scrolled {
  background: rgba(3, 7, 18, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-frame {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-violet));
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo-frame img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.brand-title-group {
  display: flex;
  flex-direction: column;
}

.brand-main-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-ai-badge {
  font-size: 0.65rem;
  padding: 1px 6px;
  border-radius: var(--radius-pill);
  background: rgba(6, 182, 212, 0.2);
  color: var(--neon-cyan);
  border: 1px solid rgba(6, 182, 212, 0.4);
  font-weight: 700;
}

.brand-parent-tag {
  font-size: 0.68rem;
  color: var(--text-muted);
}

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

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

.nav-link-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--trans-fast);
}

.nav-link-item svg {
  display: none;
}

.nav-link-item:hover {
  color: var(--neon-cyan);
}

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

.mobile-toggle-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 8px;
  cursor: pointer;
  transition: all var(--trans-fast);
  position: relative;
  z-index: 1200;
}

.mobile-toggle-btn:hover {
  background: rgba(6, 182, 212, 0.15);
  border-color: rgba(6, 182, 212, 0.4);
}

.hamburger-dash {
  width: 22px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: transform 0.28s ease, opacity 0.2s ease, background-color 0.28s ease;
  transform-origin: center;
}

.mobile-toggle-btn.active .hamburger-dash:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background-color: var(--neon-cyan);
}

.mobile-toggle-btn.active .hamburger-dash:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-toggle-btn.active .hamburger-dash:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background-color: var(--neon-cyan);
}

/* Nav Backdrop Overlay */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 4, 10, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer-header,
.mobile-drawer-actions,
.mobile-drawer-footer {
  display: none;
}

/* --- 4. Buttons & Badges --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  transition: all var(--trans-smooth);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.btn-cyan-glow {
  background: linear-gradient(135deg, #06b6d4, #2563eb);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-cyan-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(6, 182, 212, 0.5);
  color: #ffffff;
}

.btn-glass {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
}

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

.btn-sm {
  padding: 8px 16px;
  font-size: 0.82rem;
}

.cyber-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: var(--neon-cyan);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pulsing-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--neon-cyan);
  box-shadow: 0 0 10px var(--neon-cyan);
  animation: pulse-ring 2s infinite ease-in-out;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.gradient-title-neon {
  background: linear-gradient(135deg, #ffffff 30%, #38bdf8 70%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- 5. Hero Section --- */
.hero-section {
  position: relative;
  padding: 80px 0 60px;
  z-index: 1;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 50px;
  align-items: center;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: #ffffff;
  margin-top: 20px;
  margin-bottom: 20px;
}

.hero-lead-text {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 34px;
  max-width: 600px;
}

.hero-cta-cluster {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-micro-metrics {
  display: flex;
  gap: 28px;
  border-top: 1px solid var(--border-glass);
  padding-top: 24px;
}

.u-metric-unit strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
}

.u-metric-unit span {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Live Terminal Hologram */
.hero-terminal-card {
  background: rgba(10, 15, 29, 0.85);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(6, 182, 212, 0.15);
  overflow: hidden;
  backdrop-filter: blur(16px);
  position: relative;
}

.terminal-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-glass);
}

.terminal-traffic-lights {
  display: flex;
  gap: 6px;
}

.traffic-light {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.light-red { background: #ef4444; }
.light-yellow { background: #f59e0b; }
.light-green { background: #10b981; }

.terminal-title-text {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.terminal-telemetry-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--neon-cyan);
  background: rgba(6, 182, 212, 0.1);
  padding: 2px 8px;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(6, 182, 212, 0.2);
}

.terminal-code-body {
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #a5f3fc;
  line-height: 1.7;
  max-height: 360px;
  overflow-y: auto;
}

.terminal-code-body .dim { color: var(--text-subtle); }
.terminal-code-body .green { color: #34d399; }
.terminal-code-body .cyan { color: #38bdf8; }
.terminal-code-body .purple { color: #c084fc; }
.terminal-code-body .amber { color: #fbbf24; }

/* --- 6. Live Interactive Neural Sandbox (Core Engagement) --- */
.sandbox-section {
  position: relative;
  padding: 90px 0;
  z-index: 1;
}

.section-tag {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--neon-cyan);
  margin-bottom: 8px;
}

.section-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
}

.sandbox-console-box {
  margin-top: 48px;
  background: rgba(10, 15, 30, 0.75);
  border: 1px solid var(--border-glass-hover);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), var(--glow-cyan);
  overflow: hidden;
  backdrop-filter: blur(20px);
}

.sandbox-mode-tabs {
  display: flex;
  background: rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid var(--border-glass);
  overflow-x: auto;
}

.sandbox-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 20px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  transition: all var(--trans-fast);
  white-space: nowrap;
}

.sandbox-tab:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.02);
}

.sandbox-tab.active {
  color: var(--neon-cyan);
  border-bottom-color: var(--neon-cyan);
  background: rgba(6, 182, 212, 0.05);
}

.sandbox-workspace {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  min-height: 440px;
}

.sandbox-input-area {
  padding: 28px;
  border-right: 1px solid var(--border-glass);
  display: flex;
  flex-direction: column;
}

.sandbox-input-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.prompt-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.prompt-preset-chip {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--trans-fast);
}

.prompt-preset-chip:hover {
  background: rgba(6, 182, 212, 0.15);
  border-color: rgba(6, 182, 212, 0.4);
  color: #ffffff;
}

.sandbox-textarea {
  width: 100%;
  flex: 1;
  min-height: 130px;
  padding: 14px;
  background: var(--bg-input);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.6;
  resize: none;
  outline: none;
  margin-bottom: 16px;
}

.sandbox-textarea:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 0 2px rgba(6, 182, 212, 0.2);
}

.sandbox-exec-btn {
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  color: #ffffff;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.35);
  transition: all var(--trans-fast);
}

.sandbox-exec-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(6, 182, 212, 0.5);
}

/* Output Streaming Terminal */
.sandbox-output-area {
  padding: 28px;
  background: rgba(3, 7, 18, 0.6);
  display: flex;
  flex-direction: column;
}

.output-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.telemetry-readout {
  display: flex;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-muted);
}

.telemetry-readout span strong {
  color: var(--neon-cyan);
}

.streaming-viewbox {
  flex: 1;
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 18px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: #e2e8f0;
  line-height: 1.7;
  overflow-y: auto;
  white-space: pre-wrap;
  position: relative;
}

.streaming-cursor {
  display: inline-block;
  width: 8px;
  height: 15px;
  background-color: var(--neon-cyan);
  vertical-align: middle;
  animation: blink 0.8s infinite;
}

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

/* --- 7. Neural Capabilities Grid --- */
.capabilities-section {
  position: relative;
  padding: 90px 0;
  z-index: 1;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 50px;
}

.capability-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 32px;
  backdrop-filter: blur(16px);
  transition: all var(--trans-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.capability-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--card-glow-color, var(--neon-cyan)), transparent);
  opacity: 0;
  transition: opacity var(--trans-smooth);
}

.capability-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glass-hover);
  box-shadow: var(--shadow-card), 0 0 25px rgba(6, 182, 212, 0.15);
  background: var(--bg-card-hover);
}

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

.card-icon-halo {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.25);
  color: var(--neon-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.cap-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.cap-description {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.68;
  margin-bottom: 22px;
}

.cap-chips {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.cap-tag {
  font-size: 0.74rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
}

/* --- 8. Model Architecture & Benchmarks Section --- */
.benchmarks-section {
  position: relative;
  padding: 90px 0;
  background: rgba(10, 15, 29, 0.5);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  z-index: 1;
}

.benchmarks-table-wrapper {
  margin-top: 48px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: var(--shadow-card);
}

.bench-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.table-scroll-hint {
  display: none;
  font-size: 0.78rem;
  color: var(--neon-cyan);
  margin-top: 14px;
  text-align: center;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.bench-table th {
  background: rgba(255, 255, 255, 0.03);
  padding: 18px 24px;
  font-family: var(--font-heading);
  font-weight: 700;
  color: #ffffff;
  border-bottom: 1px solid var(--border-glass);
  letter-spacing: 0.02em;
}

.bench-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-glass);
  color: var(--text-secondary);
}

.bench-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.highlight-row td {
  background: rgba(6, 182, 212, 0.06);
  font-weight: 700;
  color: #ffffff;
}

.winner-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  font-size: 0.72rem;
}

/* --- 9. Deployment Models & Pricing Section --- */
.pricing-section {
  position: relative;
  padding: 90px 0;
  z-index: 1;
}

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

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(16px);
  position: relative;
}

.price-card.featured {
  border-color: rgba(6, 182, 212, 0.5);
  box-shadow: 0 0 30px rgba(6, 182, 212, 0.2);
  background: rgba(15, 23, 42, 0.85);
}

.featured-ribbon {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  color: #ffffff;
}

.tier-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.tier-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  min-height: 42px;
}

.tier-price-box {
  margin-bottom: 28px;
}

.tier-price {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.tier-cadence {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  margin-top: auto;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.feature-item svg {
  color: var(--neon-cyan);
  flex-shrink: 0;
}

/* --- 10. Consultation & Enterprise Architecture Review (#contact) --- */
.contact-section {
  position: relative;
  padding: 90px 0 110px;
  z-index: 1;
}

.contact-card-surface {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(9, 13, 26, 0.95));
  border: 1px solid var(--border-glass-hover);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(6, 182, 212, 0.15);
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  overflow: hidden;
}

.contact-info-col {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--border-glass);
}

.contact-form-col {
  padding: 48px;
}

.ai-form-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ai-form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.ai-form-group label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.ai-form-group input,
.ai-form-group select,
.ai-form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.94rem;
  background: rgba(3, 7, 18, 0.8);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  color: #ffffff;
  outline: none;
  transition: all var(--trans-fast);
}

.ai-form-group input:focus,
.ai-form-group select:focus,
.ai-form-group textarea:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.2);
}

/* --- 11. Footer --- */
.ai-footer {
  background: #02040a;
  border-top: 1px solid var(--border-glass);
  padding: 60px 0 32px;
  position: relative;
  z-index: 1;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-glass);
}

.footer-brand-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-link-group-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ffffff;
  margin-bottom: 16px;
  display: block;
}

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

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--neon-cyan);
  transform: translateX(3px);
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  font-size: 0.82rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 16px;
}

/* Toast */
.ai-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  background: linear-gradient(135deg, #090d1a, #172033);
  border: 1px solid var(--neon-cyan);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), var(--glow-cyan);
  opacity: 0;
  pointer-events: none;
  transition: all var(--trans-smooth);
  z-index: 3000;
}

.ai-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* --- 12. Responsive System --- */

/* Tablet & Mobile Nav Trigger: <= 1024px */
@media (max-width: 1024px) {
  .nav-desktop-only {
    display: none !important;
  }

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

  /* Slide-in Cyber Drawer */
  .nav-menu-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(88vw, 360px);
    height: 100vh;
    height: 100dvh;
    background: linear-gradient(180deg, #090e1f 0%, #030611 100%);
    border-left: 1px solid rgba(6, 182, 212, 0.25);
    box-shadow: -15px 0 50px rgba(0, 0, 0, 0.85), -2px 0 20px rgba(6, 182, 212, 0.15);
    z-index: 1100;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    transform: translateX(105%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-menu-links.open {
    transform: translateX(0);
  }

  .mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-glass);
  }

  .drawer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .drawer-brand-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    color: #ffffff;
    letter-spacing: -0.02em;
  }

  .drawer-badge {
    font-size: 0.65rem;
    padding: 2px 7px;
    background: rgba(6, 182, 212, 0.15);
    border: 1px solid rgba(6, 182, 212, 0.4);
    color: var(--neon-cyan);
    border-radius: var(--radius-pill);
    font-weight: 700;
  }

  .drawer-close-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
    font-size: 1.4rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--trans-fast);
  }

  .drawer-close-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--neon-cyan);
  }

  .nav-links-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
  }

  .nav-links-wrapper .nav-link-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 16px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.95rem;
    color: var(--text-secondary);
    transition: all var(--trans-fast);
  }

  .nav-links-wrapper .nav-link-item svg {
    display: block;
    color: var(--neon-cyan);
    opacity: 0.85;
    flex-shrink: 0;
  }

  .nav-links-wrapper .nav-link-item:hover,
  .nav-links-wrapper .nav-link-item:active {
    background: rgba(6, 182, 212, 0.12);
    border-color: rgba(6, 182, 212, 0.4);
    color: #ffffff;
    transform: translateX(4px);
  }

  .mobile-drawer-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--border-glass);
  }

  .mobile-drawer-actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .mobile-drawer-footer {
    display: block;
    margin-top: 18px;
    font-size: 0.72rem;
    color: var(--text-subtle);
    text-align: center;
    line-height: 1.4;
  }

  /* Layout Breakpoints */
  .hero-layout {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-lead-text {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-cluster {
    justify-content: center;
  }

  .hero-micro-metrics {
    justify-content: center;
  }

  .sandbox-workspace {
    grid-template-columns: 1fr;
  }

  .sandbox-input-area {
    border-right: none;
    border-bottom: 1px solid var(--border-glass);
  }

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

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

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

  .contact-info-col {
    border-right: none;
    border-bottom: 1px solid var(--border-glass);
  }
}

/* Tablet to Mobile: <= 768px */
@media (max-width: 768px) {
  .capabilities-grid {
    grid-template-columns: 1fr;
  }

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

  .contact-info-col,
  .contact-form-col {
    padding: 32px 24px;
  }

  .table-scroll-hint {
    display: block;
  }

  .sandbox-mode-tabs {
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .sandbox-mode-tabs::-webkit-scrollbar {
    display: none;
  }

  .sandbox-tab {
    flex-shrink: 0;
    min-width: max-content;
    padding: 14px 18px;
  }
}

/* Phone Screen: <= 640px */
@media (max-width: 640px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .top-notice-bar {
    font-size: 0.72rem;
    padding: 6px 12px;
    line-height: 1.45;
  }

  .hero-headline {
    font-size: clamp(2.1rem, 7vw, 2.8rem);
    line-height: 1.15;
  }

  .hero-lead-text {
    font-size: 0.98rem;
    line-height: 1.6;
    margin-bottom: 26px;
  }

  .hero-cta-cluster {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-cta-cluster .btn {
    width: 100%;
  }

  .hero-micro-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    text-align: center;
  }

  .u-metric-unit strong {
    font-size: 1.3rem;
  }

  .sandbox-input-area,
  .sandbox-output-area {
    padding: 20px 16px;
  }

  .telemetry-readout {
    flex-wrap: wrap;
    gap: 6px 14px;
  }

  .streaming-viewbox {
    font-size: 0.78rem;
    padding: 14px;
    min-height: 280px;
  }

  .capability-card {
    padding: 24px 18px;
  }

  .price-card {
    padding: 28px 20px;
  }

  .contact-info-col,
  .contact-form-col {
    padding: 24px 16px;
  }

  .brand-main-title {
    font-size: 1.05rem;
  }

  .brand-logo-frame {
    width: 32px;
    height: 32px;
  }
}
