/*
 * SentryNeural.com - Production Stylesheet
 * Modern Light-Theme Cloud & AI Solutions Design System
 * 
 * Design Architecture:
 * - Crisp White & Slate Canvas (#ffffff / #f8fafc / #f1f5f9)
 * - Deep Tech Accents (Cyber Teal #0e7a68 -> Electric Cyan #0284c7)
 * - Precision Typography: Inter (Headings & Body) + JetBrains Mono (Code, Telemetry & Badges)
 * - Refined 1px Micro-Borders (#e2e8f0), Soft Ambient Shadows, and Subtle Architectural Grid
 * - High-Contrast Dark Developer Terminal Widget for dramatic technical depth
 * - WCAG 2.1 AA/AAA Accessible contrast, Visible Focus & prefers-reduced-motion
 */

/* ==========================================================================
   1. Design Tokens & CSS Variables
   ========================================================================== */

:root {
  --bg-canvas: #ffffff;
  --bg-surface: #f8fafc;
  --bg-surface-elevated: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-input: #f8fafc;

  --border-subtle: #e2e8f0;
  --border-card: #e2e8f0;
  --border-glow: rgba(14, 122, 104, 0.4);

  --text-main: #0f172a;        /* Slate 900 */
  --text-secondary: #475569;   /* Slate 600 */
  --text-muted: #64748b;       /* Slate 500 */

  --accent-primary: #0e7a68;   /* Deep Tech Teal */
  --accent-cyan: #0284c7;      /* Sky 600 */
  --accent-emerald: #059669;   /* Emerald 600 */
  --accent-gradient: linear-gradient(135deg, #0e7a68 0%, #0284c7 100%);
  --accent-gradient-text: linear-gradient(135deg, #0f172a 30%, #0e7a68 100%);

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --nav-height: 64px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
}

/* ==========================================================================
   2. Base & Reset Styles
   ========================================================================== */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  height: 100%;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-main);
  background-color: var(--bg-canvas);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(14, 122, 104, 0.05), transparent 70%),
    radial-gradient(circle at 90% 20%, rgba(2, 132, 199, 0.03), transparent 40%),
    radial-gradient(circle at 10% 60%, rgba(14, 122, 104, 0.03), transparent 45%);
  background-attachment: fixed;
  margin: 0;
  padding: 0;
  height: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: rgba(14, 122, 104, 0.18);
  color: #0f172a;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

hr {
  position: relative;
  border: none;
  height: 1px;
  background: var(--border-subtle);
  margin: 20px auto 32px auto;
  max-width: 320px;
}

hr:before {
  content: "";
  position: absolute;
  top: -1px;
  left: 35%;
  width: 30%;
  height: 3px;
  background: var(--accent-gradient);
  border-radius: 2px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--text-main);
  margin-top: 0;
  line-height: 1.25;
}

h1.centered, h2.centered {
  text-align: center;
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.centered {
  text-align: center;
}

p {
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

strong, b {
  font-weight: 600;
  color: var(--text-main);
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color 0.15s ease-in-out;
}

a:hover {
  color: #095c4e;
  text-decoration: underline;
}

/* Text Gradient Utilities */
.text-gradient {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-gradient-silver {
  background: var(--accent-gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Accessibility: Skip to Content */
.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--accent-primary);
  color: #ffffff !important;
  padding: 12px 20px;
  font-weight: 600;
  font-size: 14px;
  border-radius: 0 0 6px 6px;
  z-index: 10000;
  text-decoration: none !important;
  box-shadow: 0 4px 16px rgba(14, 122, 104, 0.35);
  transition: top 0.15s ease-in-out;
}

.skip-link:focus {
  top: 0;
  outline: 3px solid #0f172a !important;
  outline-offset: 2px !important;
}

/* Accessible Visible Focus Styles (WCAG 2.1 AA) */
:focus-visible {
  outline: 2px solid var(--accent-primary) !important;
  outline-offset: 3px !important;
}

/* Layout Containers & Section Padding */
.section-pad {
  padding: 85px 0;
}

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

.bg-surface {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-intro {
  max-width: 720px;
  margin: 0 auto 44px auto;
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.7;
}

.section-meta-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.tech-coord {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  background: rgba(14, 122, 104, 0.05);
  border: 1px solid rgba(14, 122, 104, 0.16);
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-block;
}

/* ==========================================================================
   3. Floating Glass Navigation Bar (Light Theme)
   ========================================================================== */

#navbar-main {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
}

.navbar-fixed-top {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  height: var(--nav-height);
  min-height: var(--nav-height);
  margin-bottom: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  min-height: var(--nav-height);
  position: relative;
}

.navbar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none !important;
  padding: 0;
  flex-shrink: 0;
}

.brand-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(14, 122, 104, 0.08);
  border: 1px solid rgba(14, 122, 104, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
}

.brand-icon-wrap .icon {
  font-size: 16px;
  color: var(--accent-primary);
}

.brand-title {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-main);
  font-size: 17px;
}

.brand-title span {
  color: var(--accent-primary);
}

.navbar-toggle {
  display: none;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  cursor: pointer;
  padding: 8px 10px;
  transition: all 0.15s ease-in-out;
  line-height: 1;
}

.navbar-toggle:hover,
.navbar-toggle:focus-visible {
  background: var(--bg-surface-elevated);
  border-color: var(--border-card);
  color: var(--accent-primary);
}

.navbar-toggle .icon {
  font-size: 18px;
  line-height: 1;
  display: block;
}

.navbar-collapse {
  display: flex;
  align-items: center;
}

.navbar-nav {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
}

.navbar-nav > li > a {
  display: block;
  padding: 8px 13px;
  color: var(--text-secondary);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.2px;
  text-decoration: none !important;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease-in-out;
  white-space: nowrap;
}

.navbar-nav > li > a:hover,
.navbar-nav > li > a:focus-visible {
  color: var(--text-main);
  background: rgba(0, 0, 0, 0.04);
}

.navbar-nav > li.active > a,
.navbar-nav > li > a.active {
  color: var(--accent-primary);
  background: rgba(14, 122, 104, 0.08);
  font-weight: 600;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-cmdk-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s ease-in-out;
  outline: none;
  flex-shrink: 0;
}

.nav-cmdk-btn .icon {
  font-size: 15px;
  line-height: 1;
}

.nav-cmdk-btn:hover,
.nav-cmdk-btn:focus-visible {
  color: var(--accent-primary);
  border-color: var(--accent-primary);
  background: var(--bg-surface-elevated);
  box-shadow: 0 2px 8px rgba(14, 122, 104, 0.12);
}

.nav-cmdk-btn .cmdk-key-hint {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-3px);
  background: var(--text-main);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  padding: 4px 7px;
  border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1040;
}

.nav-cmdk-btn .cmdk-key-hint::after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 4px;
  border-style: solid;
  border-color: transparent transparent var(--text-main) transparent;
}

.nav-cmdk-btn:hover .cmdk-key-hint,
.nav-cmdk-btn:focus .cmdk-key-hint,
.nav-cmdk-btn:focus-visible .cmdk-key-hint {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 16px;
  background: var(--accent-primary) !important;
  border: 1px solid var(--accent-primary) !important;
  border-radius: var(--radius-sm);
  color: #ffffff !important;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.2px;
  text-decoration: none !important;
  box-shadow: 0 2px 8px rgba(14, 122, 104, 0.2);
  transition: all 0.15s ease-in-out;
  white-space: nowrap;
}

.nav-cta-btn:hover,
.nav-cta-btn:focus-visible {
  background: #095c4e !important;
  border-color: #095c4e !important;
  box-shadow: 0 4px 12px rgba(14, 122, 104, 0.35);
  color: #ffffff !important;
}

/* Desktop Navigation (>= 992px) */
@media (min-width: 992px) {
  #navbar-main .navbar-collapse {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    margin-left: 32px;
  }

  .navbar-actions {
    margin-left: auto;
  }

  .navbar-toggle {
    display: none !important;
  }
}

/* Mobile Navigation (< 992px) */
@media (max-width: 991.98px) {
  .navbar-header {
    width: 100%;
  }

  .navbar-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }

  #navbar-main .navbar-collapse {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 12px 28px -4px rgba(0, 0, 0, 0.08);
    padding: 16px 20px 20px;
  }

  #navbar-main .navbar-collapse.show,
  #navbar-main .navbar-collapse.in,
  #navbar-main .navbar-collapse.open {
    display: block !important;
  }

  .navbar-nav {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 4px;
  }

  .navbar-nav > li {
    width: 100%;
  }

  .navbar-nav > li > a {
    width: 100%;
    padding: 11px 16px;
    font-size: 15px;
  }

  .navbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border-subtle);
    width: 100%;
  }

  .navbar-actions .nav-cmdk-btn {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }

  .navbar-actions .nav-cta-btn {
    flex: 1;
    height: 40px;
    font-size: 14px;
    text-align: center;
  }
}

/* ==========================================================================
   4. Section 1: Hero Section (#headerwrap) - Light Theme & Parallax Architecture
   ========================================================================== */

#headerwrap {
  position: relative;
  background-color: #ffffff;
  background-image:
    linear-gradient(#f1f5f9 1px, transparent 1px),
    linear-gradient(90deg, #f1f5f9 1px, transparent 1px);
  background-size: 48px 48px;
  padding-top: 130px;
  padding-bottom: 0;
  min-height: 640px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-topology-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

#headerwrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 480px;
  background: radial-gradient(circle, rgba(14, 122, 104, 0.06) 0%, rgba(2, 132, 199, 0.03) 50%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* Multi-Layer Parallax Elements */
.hero-parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.parallax-layer {
  position: absolute;
  pointer-events: none;
  will-change: transform;
}

.parallax-orb-1 {
  top: 10%;
  right: 6%;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 122, 104, 0.08) 0%, rgba(2, 132, 199, 0.03) 50%, transparent 70%);
  filter: blur(40px);
}

.parallax-orb-2 {
  top: 52%;
  left: -6%;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.07) 0%, rgba(14, 122, 104, 0.02) 60%, transparent 70%);
  filter: blur(48px);
}

.parallax-ring {
  top: 20%;
  right: 20%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 1px dashed rgba(14, 122, 104, 0.16);
}

.parallax-node-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.5px;
  color: var(--accent-primary);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(14, 122, 104, 0.22);
  padding: 4px 10px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.parallax-node-1 {
  top: 18%;
  right: 48%;
}

.parallax-node-2 {
  top: 76%;
  right: 12%;
}

/* Section Ambient Parallax Backgrounds */
.section-parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

#focus, #services, #commitments, #how-we-work, #partner-program, #faq, #contact {
  position: relative;
}

.section-parallax-orb {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(48px);
  will-change: transform;
}

.section-parallax-orb.orb-teal {
  background: radial-gradient(circle, rgba(14, 122, 104, 0.06) 0%, transparent 70%);
}

.section-parallax-orb.orb-sky {
  background: radial-gradient(circle, rgba(2, 132, 199, 0.05) 0%, transparent 70%);
}

.section-parallax-ring {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 1px dashed rgba(14, 122, 104, 0.14);
  pointer-events: none;
  will-change: transform;
}

.section-parallax-ring.ring-sky {
  border-color: rgba(2, 132, 199, 0.14);
}

.section-parallax-chip {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.5px;
  color: var(--accent-primary);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(14, 122, 104, 0.2);
  padding: 4px 10px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: none;
  will-change: transform;
  z-index: 1;
}

#headerwrap .container {
  position: relative;
  z-index: 2;
}

/* Hero Split Layout */
.hero-split-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-col-content {
  flex: 1 1 52%;
  text-align: left;
}

.hero-col-terminal {
  flex: 1 1 48%;
  max-width: 580px;
  will-change: transform;
}

/* Hero Badge Pill */
.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: rgba(14, 122, 104, 0.06);
  border: 1px solid rgba(14, 122, 104, 0.25);
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 22px;
}

.hero-badge .badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-primary);
  box-shadow: 0 0 8px rgba(14, 122, 104, 0.5);
  margin-right: 8px;
  animation: pulse-glow 2s infinite ease-in-out;
}

.hero-badge .badge-tag {
  color: var(--accent-primary);
  font-weight: 600;
  margin-right: 6px;
}

.hero-badge .badge-arrow {
  color: var(--text-muted);
  margin-left: 6px;
  font-size: 14px;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

/* Hero Typography */
.hero-title {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -1px;
  color: var(--text-main);
  margin-bottom: 18px;
}

.hero-desc {
  font-size: 17.5px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 30px;
  max-width: 540px;
}

/* Hero Action Buttons */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.btn-glow {
  background: var(--accent-primary);
  color: #ffffff !important;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.2px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(14, 122, 104, 0.25);
  transition: all 0.2s ease-in-out;
  position: relative;
  overflow: hidden;
}

.btn-glow::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -70%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );
  transform: rotate(25deg);
  pointer-events: none;
  transition: none;
}

.btn-glow:hover::after {
  left: 130%;
  transition: left 0.75s ease-in-out;
}

.btn-glow:hover {
  transform: translateY(-1px);
  background: #095c4e;
  box-shadow: 0 6px 20px rgba(14, 122, 104, 0.35);
  color: #ffffff !important;
}

.btn-glass {
  background: #ffffff;
  color: var(--text-main) !important;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.2px;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid #cbd5e1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  transition: all 0.2s ease-in-out;
}

.btn-glass:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  color: var(--text-main) !important;
}

/* Hero Tech Stack Chips */
.hero-tech-stack {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-right: 6px;
}

.tech-pill {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-secondary);
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  padding: 4px 10px;
  border-radius: 4px;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.tech-pill:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

/* Hero Cloud + AI Terminal Component (High-Contrast Developer Dark Console with 3D Tilt) */
.terminal-3d-wrap {
  perspective: 1200px;
  transform-style: preserve-3d;
}

.terminal-card {
  position: relative;
  background: #0b0f19;
  border: 1px solid #1e293b;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.18), 0 0 20px rgba(14, 122, 104, 0.08);
  overflow: hidden;
  font-family: var(--font-mono);
  text-align: left;
  transform-style: preserve-3d;
  will-change: transform;
  transition: box-shadow 0.25s ease;
}

.terminal-glare {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  background: radial-gradient(circle 360px at var(--glare-x, 50%) var(--glare-y, 50%), rgba(255, 255, 255, 0.08), transparent 75%);
  z-index: 10;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.terminal-3d-wrap:hover .terminal-glare {
  opacity: 1;
}

.terminal-3d-wrap:hover .terminal-card {
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.24), 0 0 32px rgba(14, 122, 104, 0.14);
}

.terminal-header {
  background: #111728;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.terminal-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.terminal-header-right {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.terminal-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.terminal-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.terminal-dot.red { background: #ff5f56; }
.terminal-dot.yellow { background: #ffbd2e; }
.terminal-dot.green { background: #27c93f; }

.terminal-tabs {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: rgba(0, 0, 0, 0.35);
  padding: 2px 3px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.term-tab {
  background: transparent;
  border: none;
  color: #64748b;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.term-tab:hover {
  color: #e2e8f0;
}

.term-tab.active {
  background: #1e293b;
  color: #38bdf8;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  font-weight: 600;
}

.term-tool-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  font-family: var(--font-mono);
  font-size: 10.5px;
  padding: 3px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.term-tool-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.25);
}

.term-toast {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  color: #34d399;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 2px 7px;
  border-radius: 3px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform: translateY(-2px);
}

.term-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.terminal-title {
  font-size: 12px;
  color: #94a3b8;
  letter-spacing: 0.3px;
}

.terminal-status-pill {
  font-size: 11px;
  color: #34d399;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2px 8px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.term-tab-panel {
  display: none;
}

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

.terminal-body {
  padding: 20px 22px;
  font-size: 12.5px;
  line-height: 1.8;
  color: #94a3b8;
  overflow-x: auto;
}

.term-cmd {
  color: #38bdf8;
  font-weight: 500;
  margin-bottom: 14px;
  display: block;
}

.term-cmd span {
  color: #34d399;
}

.term-step {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
}

.term-step-name {
  color: #f1f5f9;
}

.term-ok {
  color: #34d399;
  font-weight: 600;
}

.term-sub {
  color: #64748b;
  padding-left: 14px;
  font-size: 11.5px;
  margin-bottom: 3px;
}

.term-sub .val-pass { color: #38bdf8; }
.term-sub .val-det { color: #a78bfa; }

.term-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 14px 0;
}

.term-telemetry {
  background: rgba(56, 189, 248, 0.06);
  border-left: 2px solid #38bdf8;
  padding: 8px 12px;
  border-radius: 0 4px 4px 0;
  font-size: 11.5px;
  color: #f1f5f9;
  margin-bottom: 10px;
}

.term-prompt {
  color: #38bdf8;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 12px;
}

.term-cursor {
  display: inline-block;
  width: 7px;
  height: 14px;
  background: #38bdf8;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

/* Live Cloud Telemetry Ribbon */
.hero-telemetry-ribbon {
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 11px 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  position: relative;
  z-index: 5;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.02);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.ribbon-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.ribbon-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
}

.ribbon-dot.live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
  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); }
}

.ribbon-label {
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.5px;
  font-size: 10.5px;
}

.ribbon-val {
  color: var(--text-main);
  font-weight: 600;
}

.ribbon-divider {
  color: #cbd5e1;
  font-weight: 300;
}

/* Cloud & AI Infrastructure Compatibility Ribbon */
.hero-ecosystem-ribbon {
  background: #f8fafc;
  border-bottom: 1px solid var(--border-subtle);
  padding: 8px 0;
  font-family: var(--font-mono);
  font-size: 11px;
  position: relative;
  z-index: 4;
}

.ecosystem-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.ecosystem-label {
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.6px;
  font-size: 10px;
  flex-shrink: 0;
}

.ecosystem-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.eco-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 3px 8px;
  color: var(--text-secondary);
  font-size: 11px;
  transition: all 0.15s ease;
}

.eco-chip:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  box-shadow: 0 2px 6px rgba(14, 122, 104, 0.08);
}

.eco-chip .icon {
  font-size: 12px;
  color: var(--accent-primary);
}

.eco-badge {
  font-size: 9.5px;
  font-weight: 600;
  color: #047857;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 1px 4px;
  border-radius: 3px;
}

/* ==========================================================================
   5. Bento Grid: Focus Areas & Services (Light Theme)
   ========================================================================== */

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.25s ease-in-out;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03), 0 4px 12px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(350px circle at var(--mouse-x, -500px) var(--mouse-y, -500px), rgba(14, 122, 104, 0.06), transparent 70%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1;
}

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

.bento-card > * {
  position: relative;
  z-index: 2;
}

.bento-card:hover {
  border-color: rgba(14, 122, 104, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -2px rgba(14, 122, 104, 0.1), 0 2px 6px rgba(0, 0, 0, 0.04);
}

/* Bento Column Spans */
.span-4 { grid-column: span 4; }
.span-6 { grid-column: span 6; }
.span-8 { grid-column: span 8; }
.span-12 { grid-column: span 12; }

/* Bento Card Elements */
.bento-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(14, 122, 104, 0.08);
  border: 1px solid rgba(14, 122, 104, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.bento-icon-badge .icon {
  font-size: 20px;
  color: var(--accent-primary);
}

.bento-card h3 {
  font-size: 18.5px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 12px;
  letter-spacing: -0.2px;
}

.bento-card p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 24px;
  flex-grow: 1;
}

.bento-meta-chips {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
  margin-top: auto;
}

.meta-chip {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-primary);
  background: rgba(14, 122, 104, 0.06);
  border: 1px solid rgba(14, 122, 104, 0.2);
  padding: 3px 8px;
  border-radius: 4px;
}

.meta-chip.emerald {
  color: #047857;
  background: #ecfdf5;
  border-color: #a7f3d0;
}

.meta-chip.slate {
  color: var(--text-secondary);
  background: #f8fafc;
  border-color: var(--border-subtle);
}

/* ==========================================================================
   5b. Live Guardrail & Enclave Sandbox Simulator (Phase 2)
   ========================================================================== */

.simulator-wrap {
  margin-top: 48px;
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
  position: relative;
  overflow: hidden;
}

.simulator-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.simulator-title-group {
  flex: 1 1 450px;
}

.simulator-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(14, 122, 104, 0.08);
  border: 1px solid rgba(14, 122, 104, 0.25);
  padding: 4px 10px;
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--accent-primary);
  margin-bottom: 12px;
}

.simulator-heading {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.4px;
  color: var(--text-main);
  margin-bottom: 8px;
}

.simulator-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 0;
  max-width: 620px;
}

/* Simulator Switcher Tabs */
.simulator-tabs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 0 0 340px;
}

.sim-tab-btn {
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 9px 14px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-mono);
}

.sim-tab-btn:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.sim-tab-btn.active {
  background: #ffffff;
  border-color: var(--accent-primary);
  box-shadow: 0 2px 8px rgba(14, 122, 104, 0.12);
}

.sim-tab-num {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  margin-right: 8px;
}

.sim-tab-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-main);
  flex-grow: 1;
}

.sim-tab-pill {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
}

.pill-alert {
  background: #fee2e2;
  color: #dc2626;
  border: 1px solid #fca5a5;
}

.pill-teal {
  background: #e0f2fe;
  color: #0284c7;
  border: 1px solid #bae6fd;
}

.pill-emerald {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

/* Simulator Dual-Console Stage */
.simulator-stage {
  display: grid;
  grid-template-columns: 1fr 64px 1.1fr;
  align-items: center;
  gap: 16px;
  background: #0b0f19;
  border: 1px solid #1e293b;
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.12);
}

.sim-window {
  background: #111728;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.sim-win-header {
  background: #0d121f;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sim-win-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #94a3b8;
}

.sim-win-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.sim-win-dot.red { background: #ef4444; }
.sim-win-dot.green { background: #10b981; }

.sim-win-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 3px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #f87171;
}

.sim-win-tag.tag-success {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.35);
  color: #34d399;
}

.sim-win-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.sim-code-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #64748b;
  margin-bottom: 8px;
}

.sim-code {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  padding: 12px 14px;
  margin: 0 0 14px 0;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  color: #e2e8f0;
  flex-grow: 1;
  white-space: pre-wrap;
  word-break: break-word;
  transition: opacity 0.2s ease;
}

.sim-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #94a3b8;
}

/* Interception Conduit */
.sim-conduit {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 100%;
}

.sim-conduit-line {
  width: 2px;
  height: 120px;
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.4), rgba(16, 185, 129, 0.4));
  position: relative;
  overflow: hidden;
}

.sim-conduit-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 24px;
  background: #38bdf8;
  animation: conduit-flow 2s infinite linear;
}

@keyframes conduit-flow {
  0% { transform: translateY(-100%); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateY(500%); opacity: 0; }
}

.sim-conduit-badge {
  margin-top: 10px;
  background: rgba(14, 122, 104, 0.2);
  border: 1px solid rgba(14, 122, 104, 0.4);
  padding: 4px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  color: #38bdf8;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

/* ==========================================================================
   6. Commitments: Security & Trust Perimeter (Light Theme)
   ========================================================================== */

.perimeter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.perimeter-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: all 0.25s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  transform-style: preserve-3d;
  will-change: transform;
  position: relative;
  overflow: hidden;
}

.perimeter-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(350px circle at var(--mouse-x, -500px) var(--mouse-y, -500px), rgba(14, 122, 104, 0.06), transparent 70%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1;
}

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

.perimeter-card > * {
  position: relative;
  z-index: 2;
}

.perimeter-card:hover {
  border-color: rgba(14, 122, 104, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(14, 122, 104, 0.08);
}

.perimeter-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(14, 122, 104, 0.08);
  border: 1px solid rgba(14, 122, 104, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  font-size: 18px;
  margin-bottom: 18px;
}

.perimeter-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-main);
}

.perimeter-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* ==========================================================================
   7. Connected Architectural Pipeline ("How We Work")
   ========================================================================== */

.pipeline-wrapper {
  position: relative;
  margin-top: 40px;
}

.pipeline-circuit-svg {
  position: absolute;
  top: 14px;
  left: 0;
  width: 100%;
  height: 60px;
  pointer-events: none;
  z-index: 1;
}

.circuit-track {
  fill: none;
  stroke-width: 2.5;
  stroke-dasharray: 6 6;
}

.circuit-pulse {
  fill: none;
  stroke-width: 3.5;
  stroke-dasharray: 90 310;
  stroke-linecap: round;
  animation: circuit-pulse-flow 4s linear infinite;
}

@keyframes circuit-pulse-flow {
  0% { stroke-dashoffset: 400; }
  100% { stroke-dashoffset: 0; }
}

.circuit-dot {
  fill: var(--accent-primary);
  stroke: #ffffff;
  stroke-width: 2.5;
}

.pipeline-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 2;
}

.pipeline-node {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  position: relative;
  z-index: 2;
  text-align: left;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transform-style: preserve-3d;
  will-change: transform;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.pipeline-node::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(350px circle at var(--mouse-x, -500px) var(--mouse-y, -500px), rgba(14, 122, 104, 0.06), transparent 70%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.pipeline-node:hover::before {
  opacity: 1;
}

.pipeline-node > * {
  position: relative;
  z-index: 2;
}

.pipeline-node:hover {
  border-color: var(--accent-primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(14, 122, 104, 0.08);
}

.node-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.node-num {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent-primary);
  background: rgba(14, 122, 104, 0.08);
  border: 1px solid rgba(14, 122, 104, 0.25);
  padding: 4px 10px;
  border-radius: 9999px;
}

.node-status {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-emerald);
}

.pipeline-node h4 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 10px;
}

.pipeline-node p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 18px;
  flex-grow: 1;
}

.node-deliverables {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: auto;
}

.node-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-block;
}

.node-deliverable-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--accent-primary);
  background: rgba(14, 122, 104, 0.05);
  border: 1px dashed rgba(14, 122, 104, 0.25);
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.pipeline-node:hover .node-deliverable-tag {
  background: rgba(14, 122, 104, 0.12);
  border-color: var(--accent-primary);
  color: #095c4e;
}

/* ==========================================================================
   8. Early Partner Program Card (Light Theme)
   ========================================================================== */

.partner-spotlight-card {
  background: #ffffff;
  border: 1px solid rgba(14, 122, 104, 0.3);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: 0 12px 36px rgba(14, 122, 104, 0.07);
  margin-top: 32px;
  position: relative;
  overflow: hidden;
}

.partner-spotlight-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.partner-spotlight-left {
  flex: 1 1 58%;
}

.partner-spotlight-right {
  flex: 1 1 42%;
  background: #f8fafc;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
  transition: all 0.25s ease;
}

.partner-spotlight-right::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(350px circle at var(--mouse-x, -500px) var(--mouse-y, -500px), rgba(14, 122, 104, 0.06), transparent 70%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.partner-spotlight-right:hover::before {
  opacity: 1;
}

.partner-spotlight-right > * {
  position: relative;
  z-index: 2;
}

.partner-spotlight-right:hover {
  border-color: rgba(14, 122, 104, 0.4);
  box-shadow: 0 10px 24px rgba(14, 122, 104, 0.08);
}

.partner-tier-badge {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-primary);
  background: rgba(14, 122, 104, 0.08);
  border: 1px solid rgba(14, 122, 104, 0.25);
  padding: 4px 12px;
  border-radius: 9999px;
  display: inline-block;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.partner-spotlight-card h3 {
  font-size: 27px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.partner-perks-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0 0;
}

.partner-perks-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 16px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.perk-check {
  color: var(--accent-primary);
  font-size: 16px;
  margin-right: 12px;
  flex-shrink: 0;
  margin-top: 3px;
}

/* ==========================================================================
   9. FAQ Accordion (Light Theme)
   ========================================================================== */

.faq-container {
  max-width: 860px;
  margin: 32px auto 0 auto;
}

.panel-group .panel {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md) !important;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: all 0.25s ease;
  transform-style: preserve-3d;
  will-change: transform;
  position: relative;
}

.panel-group .panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(350px circle at var(--mouse-x, -500px) var(--mouse-y, -500px), rgba(14, 122, 104, 0.05), transparent 70%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.panel-group .panel:hover::before {
  opacity: 1;
}

.panel-group .panel > * {
  position: relative;
  z-index: 2;
}

.panel-group .panel:hover {
  border-color: rgba(14, 122, 104, 0.35);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.panel-heading {
  padding: 0;
  background: transparent !important;
  border: none;
}

.panel-title a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main) !important;
  text-decoration: none !important;
  transition: all 0.15s ease;
}

.panel-title a:hover {
  color: var(--accent-primary) !important;
}

.panel-title a .faq-arrow {
  font-size: 12px;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.panel-title a[aria-expanded="true"] .faq-arrow {
  transform: rotate(180deg);
  color: var(--accent-primary);
}

.panel-collapse {
  display: none;
  border-top: 1px solid var(--border-subtle);
}

.panel-collapse.in {
  display: block;
}

.panel-body {
  padding: 22px 24px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  background: #f8fafc;
}

/* ==========================================================================
   10. Contact Section & Inputs (Light Theme)
   ========================================================================== */

.contact-card-wrap {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.05);
  margin-top: 32px;
}

.contact-info-panel h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 16px;
}

.contact-info-panel p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

.contact-badge-info {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(14, 122, 104, 0.06);
  border: 1px solid rgba(14, 122, 104, 0.25);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  color: var(--accent-primary);
  font-family: var(--font-mono);
  font-size: 12px;
  margin-top: 12px;
}

.form-group {
  margin-bottom: 22px;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 8px;
  letter-spacing: 0.2px;
}

.form-control {
  width: 100%;
  background-color: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 15px;
  color: var(--text-main);
  font-family: var(--font-sans);
  transition: all 0.2s ease-in-out;
}

.form-control:focus {
  background-color: #ffffff;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(14, 122, 104, 0.15);
  outline: none !important;
}

.form-control::placeholder {
  color: #94a3b8;
}

/* Status Banners */
.form-status {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
  display: none;
}

.form-status-loading {
  background: #f0fdfa;
  border: 1px solid #99f6e4;
  color: #0f766e;
}

.form-status-success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.form-status-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.form-status-error a {
  color: #991b1b !important;
  text-decoration: underline !important;
}

/* ==========================================================================
   11. Footer (Light Theme)
   ========================================================================== */

#footerwrap, #copyrights {
  background: #f8fafc;
  border-top: 1px solid var(--border-subtle);
  padding: 48px 0 36px 0;
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
}

#footerwrap p, #copyrights p {
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.footer-links {
  margin-bottom: 16px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 13.5px;
  margin: 0 8px;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent-primary);
  text-decoration: underline;
}

.footer-credits, .credits {
  font-size: 12.5px;
  color: #94a3b8;
}

/* Legal Pages (Privacy & Terms) */
.legal-section {
  padding-top: 120px;
  padding-bottom: 80px;
}

.draft-alert {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--radius-sm);
  color: #b45309;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 14px 18px;
  margin-bottom: 24px;
}

.legal-body {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.legal-body h1 {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
}

.legal-body h2 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-main);
  margin-top: 36px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 8px;
}

.legal-body p, .legal-body li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.legal-body ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.legal-body li {
  margin-bottom: 8px;
}

/* ==========================================================================
   12. Responsive Media Queries
   ========================================================================== */

@media (max-width: 991px) {
  .hero-split-row {
    flex-direction: column;
    text-align: center;
  }

  .hero-col-content {
    text-align: center;
  }

  .hero-desc {
    margin: 0 auto 30px auto;
  }

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

  .hero-tech-stack {
    justify-content: center;
  }

  .hero-col-terminal {
    max-width: 100%;
    width: 100%;
  }

  .span-4, .span-6, .span-8 {
    grid-column: span 12;
  }

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

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

  .pipeline-circuit-svg,
  .pipeline-track::before {
    display: none;
  }

  .simulator-stage {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .sim-conduit {
    display: none;
  }

  .simulator-tabs {
    flex: 1 1 100%;
  }

  .partner-spotlight-row {
    flex-direction: column;
  }
}

@media (max-width: 767px) {
  .hero-title {
    font-size: 32px;
  }

  .perimeter-grid {
    grid-template-columns: 1fr;
  }

  .pipeline-track {
    grid-template-columns: 1fr;
  }

  .partner-spotlight-card {
    padding: 28px 20px;
  }

  .contact-card-wrap {
    padding: 28px 20px;
  }

  .parallax-node-badge,
  .parallax-ring,
  .section-parallax-ring,
  .section-parallax-chip {
    display: none;
  }

  .terminal-3d-wrap {
    perspective: none;
  }
}

/* ==========================================================================
   5c. Interactive Reference Architecture Explorer (Feature 2)
   ========================================================================== */

.arch-explorer-wrap {
  margin-top: 48px;
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
  position: relative;
  overflow: hidden;
}

.arch-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.arch-title-group {
  flex: 1 1 500px;
}

.arch-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(14, 122, 104, 0.08);
  border: 1px solid rgba(14, 122, 104, 0.25);
  padding: 4px 10px;
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--accent-primary);
  margin-bottom: 12px;
}

.arch-heading {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.4px;
  color: var(--text-main);
  margin-bottom: 8px;
}

.arch-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 0;
  max-width: 650px;
}

.arch-switcher {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.arch-tab-btn {
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.arch-tab-btn:hover {
  background: #ffffff;
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

.arch-tab-btn.active {
  background: #ffffff;
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  box-shadow: 0 2px 8px rgba(14, 122, 104, 0.14);
}

.arch-stage {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  margin-top: 16px;
  align-items: stretch;
}

.arch-canvas-flow {
  background: #0b0f19;
  border: 1px solid #1e293b;
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.arch-flow-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: #38bdf8;
  margin-bottom: 20px;
}

.arch-nodes-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.arch-node-chip {
  background: #111728;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.arch-node-chip:hover {
  background: #162036;
  border-color: #38bdf8;
  transform: translateX(4px);
}

.arch-node-chip.active {
  background: #162036;
  border-color: #34d399;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.15);
}

.chip-step {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 3px;
}

.chip-name {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  color: #f1f5f9;
  flex-grow: 1;
}

.chip-role {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: #34d399;
  background: rgba(16, 185, 129, 0.12);
  padding: 2px 6px;
  border-radius: 3px;
}

.arch-flow-arrow {
  color: #64748b;
  text-align: center;
  font-size: 12px;
  margin: -4px 0;
}

.arch-node-inspector {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.inspector-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.inspector-badge {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--accent-primary);
  background: rgba(14, 122, 104, 0.08);
  padding: 3px 8px;
  border-radius: 4px;
}

.inspector-status {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: #047857;
  font-weight: 600;
}

.inspector-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.inspector-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.inspector-spec-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
}

.spec-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
}

.spec-label {
  color: var(--text-muted);
  font-weight: 600;
}

.spec-val {
  color: var(--text-main);
  font-weight: 600;
  background: #f8fafc;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
}

/* ==========================================================================
   6b. Deterministic vs Cloud API Benchmark Comparison Matrix (Feature 3)
   ========================================================================== */

.benchmark-matrix-wrap {
  margin-top: 48px;
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.benchmark-header {
  margin-bottom: 24px;
}

.benchmark-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(14, 122, 104, 0.08);
  border: 1px solid rgba(14, 122, 104, 0.25);
  padding: 4px 10px;
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--accent-primary);
  margin-bottom: 12px;
}

.benchmark-heading {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.4px;
  color: var(--text-main);
  margin-bottom: 8px;
}

.benchmark-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 0;
  max-width: 680px;
}

.benchmark-table-responsive {
  overflow-x: auto;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-top: 20px;
}

.benchmark-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
  font-family: var(--font-sans);
}

.benchmark-table th {
  background: #f8fafc;
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
}

.benchmark-table td {
  padding: 16px;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: middle;
}

.benchmark-table tr:last-child td {
  border-bottom: none;
}

.benchmark-table .col-highlight {
  background: rgba(14, 122, 104, 0.03);
  border-left: 2px solid var(--accent-primary);
  border-right: 1px solid var(--border-subtle);
}

.dim-name strong {
  display: block;
  color: var(--text-main);
  font-size: 13.5px;
}

.dim-sub {
  font-size: 11.5px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.val-sn .pill-pass {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11px;
  color: #047857;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 2px 7px;
  border-radius: 4px;
  margin-bottom: 4px;
}

.val-legacy .pill-warn {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 11px;
  color: #b45309;
  background: #fffbeb;
  border: 1px solid #fde68a;
  padding: 2px 7px;
  border-radius: 4px;
  margin-bottom: 4px;
}

.val-legacy .pill-fail {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 11px;
  color: #dc2626;
  background: #fee2e2;
  border: 1px solid #fca5a5;
  padding: 2px 7px;
  border-radius: 4px;
  margin-bottom: 4px;
}

.val-detail {
  display: block;
  font-size: 11.5px;
  color: var(--text-secondary);
}

.val-impact {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   7b. Research Notes & Technical RFC Briefs (Feature 4)
   ========================================================================== */

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

.rfc-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.rfc-card:hover {
  border-color: var(--accent-primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(14, 122, 104, 0.08);
}

.rfc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.rfc-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-primary);
  background: rgba(14, 122, 104, 0.08);
  border: 1px solid rgba(14, 122, 104, 0.25);
  padding: 3px 8px;
  border-radius: 4px;
}

.rfc-status {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: #047857;
  font-weight: 600;
}

.rfc-card h4 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 12px;
}

.rfc-abstract {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

.rfc-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
}

.rfc-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-muted);
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  padding: 2px 6px;
  border-radius: 4px;
}

/* ==========================================================================
   9b. Interactive Contact Scoping Pills (Feature 6)
   ========================================================================== */

.form-scope-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.scope-pill {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.scope-pill:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

.scope-pill.active {
  background: rgba(14, 122, 104, 0.08);
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  font-weight: 600;
}

.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #cbd5e1;
}

.scope-pill.active .pill-dot {
  background: var(--accent-primary);
}

/* ==========================================================================
   10. Developer Cmd + K Command Palette Modal (Feature 5)
   ========================================================================== */

.cmdk-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 12vh;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.cmdk-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.cmdk-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.cmdk-dialog {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 620px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.2), 0 0 1px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transform: translateY(-8px) scale(0.98);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.cmdk-modal.open .cmdk-dialog {
  transform: translateY(0) scale(1);
}

.cmdk-input-wrap {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
  gap: 12px;
}

.cmdk-search-icon {
  font-size: 16px;
  color: var(--accent-primary);
}

.cmdk-input {
  flex-grow: 1;
  border: none;
  outline: none;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--text-main);
  background: transparent;
}

.cmdk-esc-hint {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 2px 6px;
}

.cmdk-list {
  max-height: 340px;
  overflow-y: auto;
  padding: 10px;
}

.cmdk-group-title {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: var(--text-muted);
  padding: 8px 12px 4px 12px;
}

.cmdk-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.12s ease;
}

.cmdk-item:hover, .cmdk-item.active {
  background: rgba(14, 122, 104, 0.08);
  color: var(--accent-primary);
}

.cmdk-item .icon {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.12s ease;
}

.cmdk-item:hover .icon, .cmdk-item.active .icon {
  color: var(--accent-primary);
}

.cmdk-item-hint {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 2px 6px;
}

.cmdk-empty {
  padding: 28px 16px;
  text-align: center;
  font-size: 13.5px;
  color: var(--text-muted);
  font-family: var(--font-sans);
}

.cmdk-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background: #f8fafc;
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

.cmdk-footer kbd {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 3px;
  padding: 1px 4px;
  font-size: 10px;
}

@media (max-width: 991px) {
  .arch-stage {
    grid-template-columns: 1fr;
  }
  .rfc-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   13. Reduced Motion Support (Accessibility)
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero-badge .badge-dot,
  .ribbon-dot.live {
    animation: none !important;
    opacity: 1 !important;
  }

  .term-cursor {
    animation: none !important;
    opacity: 1 !important;
  }

  /* Fully drawn, static attractive SVG circuit spine */
  .circuit-pulse {
    animation: none !important;
    stroke-dasharray: none !important;
    stroke-dashoffset: 0 !important;
    opacity: 0.45 !important;
  }

  /* Static conduit connector pill */
  .sim-conduit-pulse {
    animation: none !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    opacity: 0.6 !important;
  }

  .parallax-layer,
  .section-parallax-orb,
  .section-parallax-ring,
  .section-parallax-chip,
  .terminal-card,
  .hero-col-terminal,
  .bento-card,
  .perimeter-card,
  .pipeline-node,
  .partner-spotlight-card,
  .partner-spotlight-right,
  .panel-group .panel,
  [data-parallax-speed] {
    transform: none !important;
    transition: none !important;
    will-change: auto !important;
  }
}

/* ==========================================================================
   14. Launch Gate & Production Countdown
   ========================================================================== */

body.is-locked {
  overflow-x: hidden;
}

body.is-locked #navbar-main,
body.is-locked main,
body.is-locked #main-content,
body.is-locked #footerwrap,
body.is-locked #cmd-palette-modal {
  display: none !important;
}

.launch-gate {
  position: relative;
  min-height: 100vh;
  width: 100%;
  background-color: var(--bg-canvas);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 24px 36px 24px;
  z-index: 9999;
  color: var(--text-main);
  font-family: var(--font-sans);
  overflow: hidden;
  transition: opacity 400ms ease, transform 400ms ease;
}

.launch-gate.is-revealing {
  opacity: 0;
  transform: scale(0.995);
  pointer-events: none;
}

.launch-gate-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(14, 122, 104, 0.08), transparent 70%),
    radial-gradient(circle at 90% 20%, rgba(2, 132, 199, 0.05), transparent 45%),
    radial-gradient(circle at 10% 70%, rgba(14, 122, 104, 0.04), transparent 50%),
    radial-gradient(var(--border-subtle) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 28px 28px;
  background-position: 0 0, 0 0, 0 0, 0 0;
  opacity: 0.9;
  z-index: 0;
}

.launch-gate-header {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
}

.launch-gate-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  user-select: none;
}

.launch-gate-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.launch-gate-status-chip.is-ready {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #166534;
}

.launch-gate-status-chip.is-ready .launch-status-dot {
  background: var(--accent-emerald);
  box-shadow: 0 0 0 rgba(5, 150, 105, 0.4);
}

.launch-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-primary);
  display: inline-block;
  animation: launchPulseDot 2s infinite ease-in-out;
}

@keyframes launchPulseDot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(14, 122, 104, 0.6);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(14, 122, 104, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(14, 122, 104, 0);
  }
}

.launch-gate-container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 820px;
  margin: 32px auto;
}

.launch-gate-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-primary);
  background: rgba(14, 122, 104, 0.08);
  border: 1px solid rgba(14, 122, 104, 0.2);
  padding: 5px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
}

.launch-gate-h1 {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 16px 0;
  background: var(--accent-gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  max-width: 740px;
}

.launch-gate-subhead {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 0 32px 0;
}

.launch-countdown-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 28px 0;
  width: 100%;
}

.launch-tile {
  flex: 1;
  max-width: 125px;
  min-width: 68px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-top: 3px solid var(--accent-primary);
  border-radius: var(--radius-lg);
  padding: 16px 8px 12px 8px;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.02);
  text-align: center;
}

.launch-tile-val {
  font-family: var(--font-mono);
  font-size: clamp(1.85rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1;
  color: var(--text-main);
  font-variant-numeric: tabular-nums;
  display: inline-block;
  min-width: 2ch;
  transition: opacity 75ms ease, transform 75ms ease;
}

.launch-tile-val.is-swapping {
  opacity: 0;
  transform: translateY(-3px);
}

.launch-tile-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-top: 6px;
}

.launch-colon {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 700;
  color: var(--accent-primary);
  line-height: 1;
  margin-top: -16px;
  opacity: 0.75;
  user-select: none;
  animation: colonBlink 1s step-start infinite;
}

@keyframes colonBlink {
  50% { opacity: 0.15; }
}

.launch-ribbon-container {
  width: 100%;
  max-width: 580px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin: 0 0 24px 0;
  text-align: left;
}

.launch-ribbon-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 8px;
}

.launch-ribbon-label {
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.launch-ribbon-caption {
  color: var(--accent-primary);
}

.launch-ribbon-track {
  height: 6px;
  width: 100%;
  background: var(--border-subtle);
  border-radius: 9999px;
  overflow: hidden;
  margin-bottom: 6px;
}

.launch-ribbon-bar {
  height: 100%;
  width: 0%;
  background: var(--accent-gradient);
  border-radius: 9999px;
  transition: width 350ms ease;
}

.launch-ribbon-bounds {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
}

.launch-gate-terminal {
  width: 100%;
  max-width: 580px;
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: var(--radius-md);
  text-align: left;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #cbd5e1;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
  overflow: hidden;
  margin: 0 0 24px 0;
}

.launch-gate-terminal-header {
  background: #1e293b;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #334155;
}

.launch-gate-terminal-dots {
  display: flex;
  gap: 6px;
}

.launch-gate-terminal-title {
  font-size: 11px;
  color: #94a3b8;
  flex: 1;
  text-align: center;
  margin-right: 18px;
}

.launch-gate-terminal-badge {
  font-size: 10px;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  padding: 2px 6px;
  border-radius: 4px;
}

.launch-gate-terminal-body {
  padding: 12px 16px;
  line-height: 1.65;
}

.gate-term-cmd {
  color: #f8fafc;
  font-weight: 600;
  margin-bottom: 6px;
  word-break: break-all;
}

.gate-term-prompt {
  color: #0284c7;
  margin-right: 6px;
}

.gate-term-line {
  color: #94a3b8;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
}

.gate-staged {
  color: #10b981;
  font-weight: 500;
}

.gate-pending {
  color: #f59e0b;
  font-weight: 500;
}

.gate-term-highlight {
  color: #38bdf8;
  margin-top: 8px;
  border-top: 1px dashed #334155;
  padding-top: 8px;
}

.launch-time-block {
  margin: 0 0 20px 0;
}

.launch-time-headline {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.launch-time-local {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.launch-cal-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  background: var(--bg-card);
  color: var(--accent-primary);
  border: 1px solid var(--accent-primary);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 2px 6px rgba(14, 122, 104, 0.08);
}

.launch-cal-btn:hover,
.launch-cal-btn:focus-visible {
  background: var(--accent-primary);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(14, 122, 104, 0.2);
  outline: none;
}

.launch-gate-footer {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
}

.launch-noscript-notice {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 13px;
  margin: 16px auto 0 auto;
  max-width: 600px;
  text-align: left;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.launch-noscript-notice a {
  color: #b45309;
  font-weight: 600;
  text-decoration: underline;
}

.launch-gate-footnote {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

/* Reduced Motion overrides for launch gate */
@media (prefers-reduced-motion: reduce) {
  .launch-status-dot {
    animation: none !important;
  }
  .launch-colon {
    animation: none !important;
    opacity: 0.6 !important;
  }
  .launch-tile-val {
    transition: none !important;
    transform: none !important;
  }
  .launch-gate {
    transition: none !important;
  }
  .launch-ribbon-bar {
    transition: none !important;
  }
  .launch-cal-btn {
    transition: none !important;
    transform: none !important;
  }
}

