/* ==========================================================================
   HOK IA — Design System & Stylesheet (V2 Refined)
   Direction: Futuristic, Living Neural Interface, High-Contrast Dark Theme
   Compliance: Impeccable Craft & Emil Kowalski Motion Principles
   ========================================================================== */

:root {
  /* Color Architecture */
  --bg-deep: #05070c;
  --bg-canvas: #080c15;
  --bg-surface: #0e1524;
  --bg-surface-elevated: #141d30;
  --bg-surface-glass: rgba(14, 21, 36, 0.76);
  --bg-card-hover: rgba(20, 29, 48, 0.88);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.15);
  --border-highlight: rgba(0, 229, 255, 0.4);

  /* Primary Accent & Glow (Electric Cyan & Ethereal Indigo/Violet) */
  --accent-cyan: #00e5ff;
  --accent-cyan-rgb: 0, 229, 255;
  --accent-indigo: #6366f1;
  --accent-indigo-rgb: 99, 102, 241;
  --accent-violet: #8b5cf6;

  /* Client Portal Accent (Warm Amber / Luxury Gold) */
  --portal-amber: #f59e0b;
  --portal-amber-light: #fbbf24;
  --portal-amber-deep: #d97706;
  --portal-amber-bg: rgba(245, 158, 11, 0.1);
  --portal-amber-border: rgba(245, 158, 11, 0.35);
  --portal-amber-glow: rgba(245, 158, 11, 0.25);
  
  --gradient-accent: linear-gradient(135deg, #00e5ff 0%, #6366f1 55%, #8b5cf6 100%);
  --gradient-accent-text: linear-gradient(135deg, #ffffff 10%, #7dd3fc 45%, #a5b4fc 80%, #c084fc 100%);
  --gradient-portal: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(217, 119, 6, 0.2) 100%);
  --gradient-glow: radial-gradient(circle, rgba(0, 229, 255, 0.15) 0%, rgba(99, 102, 241, 0.05) 50%, transparent 75%);

  /* Typography Colors */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #05070c;

  /* Typography Scale */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', ui-monospace, monospace;

  /* Motion & Easings (Emil Kowalski Philosophy) */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-micro: 150ms;
  --duration-ui: 240ms;
  --duration-reveal: 580ms;

  /* Layout */
  --container-max: 1260px;
  --nav-height: 80px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  color-scheme: dark;
}

body {
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  min-height: 100vh;
}

/* Focus Management for Accessibility */
:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

/* --------------------------------------------------------------------------
   Background Neural Network & Ambient Lighting
   -------------------------------------------------------------------------- */
#neuralCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.95;
  transition: opacity var(--duration-ui) var(--ease-out);
}

.ambient-layer {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.32;
  will-change: transform;
}

.glow-top-left {
  top: -15%;
  left: 8%;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.45) 0%, rgba(99, 102, 241, 0.22) 50%, transparent 75%);
}

.glow-bottom-right {
  bottom: 12%;
  right: -5%;
  width: 680px;
  height: 680px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.42) 0%, rgba(139, 92, 246, 0.22) 50%, transparent 75%);
}

.glow-center-pulse {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 820px;
  height: 820px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.1) 0%, transparent 65%);
}

/* --------------------------------------------------------------------------
   Layout Helpers
   -------------------------------------------------------------------------- */
.site-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

.section {
  padding: 105px 0;
  position: relative;
}

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

/* Section Header Structure */
.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 64px;
  position: relative;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-cyan);
  padding: 6px 14px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.24);
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(2rem, 3.6vw, 2.85rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-description {
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  color: var(--text-secondary);
  line-height: 1.65;
}

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

/* --------------------------------------------------------------------------
   Optical Continuity Dividers (Between Sections)
   -------------------------------------------------------------------------- */
.section-luminary-track {
  width: 100%;
  max-width: 800px;
  height: 1px;
  margin: 0 auto;
  position: relative;
  background: linear-gradient(90deg, transparent 0%, rgba(0, 229, 255, 0.25) 50%, transparent 100%);
  pointer-events: none;
}

.luminary-node {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-cyan);
  box-shadow: 0 0 12px 2px var(--accent-cyan);
}

/* --------------------------------------------------------------------------
   Header / Navbar
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 100;
  transition: background-color var(--duration-ui) var(--ease-out),
              backdrop-filter var(--duration-ui) var(--ease-out),
              border-color var(--duration-ui) var(--ease-out);
}

.site-header.scrolled {
  background-color: rgba(8, 12, 21, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
}

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

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-img {
  height: 38px;
  width: auto;
  filter: drop-shadow(0 2px 10px rgba(0, 229, 255, 0.25));
  transition: transform var(--duration-ui) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .brand-link:hover .brand-logo-img {
    transform: scale(1.03);
  }
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(16px, 1.8vw, 24px);
  list-style: none;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--duration-micro) var(--ease-out);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}

@media (hover: hover) and (pointer: fine) {
  .nav-link:hover {
    color: var(--text-primary);
  }
}

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

/* Operational Status Indicator Pill */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  padding: 0 14px;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  backdrop-filter: blur(8px);
  white-space: nowrap;
  flex-shrink: 0;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulseBeacon 2.4s infinite var(--ease-in-out);
}

@keyframes pulseBeacon {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.85); opacity: 0.45; }
}

/* --------------------------------------------------------------------------
   Buttons & CTAs
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform var(--duration-micro) var(--ease-out),
              box-shadow var(--duration-ui) var(--ease-out),
              border-color var(--duration-ui) var(--ease-out),
              background var(--duration-ui) var(--ease-out),
              color var(--duration-micro) var(--ease-out);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

/* Primary Commercial CTA Button */
.btn-primary {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.9) 0%, rgba(99, 102, 241, 0.95) 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 24px -6px rgba(0, 229, 255, 0.35);
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px -4px rgba(0, 229, 255, 0.55);
    border-color: rgba(255, 255, 255, 0.45);
  }
}

.btn-primary:active {
  transform: translateY(0);
}

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

@media (hover: hover) and (pointer: fine) {
  .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.28);
    transform: translateY(-2px);
  }
}

.btn-secondary:active {
  transform: translateY(0);
}

/* Acessar Painel — Luxury Warm Amber/Gold Portal Button */
.btn-portal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  color: #fef3c7;
  background: var(--gradient-portal);
  border: 1px solid var(--portal-amber-border);
  box-shadow: 0 4px 16px -4px var(--portal-amber-glow);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

@media (hover: hover) and (pointer: fine) {
  .btn-portal:hover {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(251, 191, 36, 0.28) 100%);
    border-color: rgba(251, 191, 36, 0.65);
    color: #ffffff;
    box-shadow: 0 6px 24px -2px rgba(245, 158, 11, 0.4);
    transform: translateY(-2px);
  }
}

.btn-portal:active {
  transform: translateY(0);
}

/* Header Specific Actions — Standardized 38px Height & Vertical Alignment */
.site-header .btn-commercial-cta {
  height: 38px;
  padding: 0 18px;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-sizing: border-box;
}

.site-header .btn-portal {
  height: 38px;
  padding: 0 16px;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-sizing: border-box;
  margin-left: clamp(20px, 2.2vw, 36px);
}

.portal-icon {
  width: 15px;
  height: 15px;
  color: var(--portal-amber-light);
  transition: transform var(--duration-micro) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .btn-portal:hover .portal-icon {
    transform: scale(1.12);
  }
}

.btn-lg {
  padding: 15px 32px;
  font-size: 1.0625rem;
  border-radius: var(--radius-md);
}

.btn-icon {
  width: 18px;
  height: 18px;
  transition: transform var(--duration-micro) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover .btn-icon {
    transform: translateX(3px);
  }
}

/* Mobile Hamburger Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  color: var(--text-primary);
  cursor: pointer;
  z-index: 110;
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--text-primary);
  margin: 5px 0;
  transition: transform var(--duration-ui) var(--ease-out),
              opacity var(--duration-ui) var(--ease-out);
}

.mobile-portal-item {
  display: none;
  width: 100%;
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  padding-top: calc(var(--nav-height) + 55px);
  padding-bottom: 95px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto 64px;
  position: relative;
  z-index: 2;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.28);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: #e0f2fe;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}

.hero-pill-icon {
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
}

.hero-headline {
  font-size: clamp(2.5rem, 5.5vw, 4.35rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}

.hero-subheadline {
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 740px;
  margin: 0 auto 40px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 45px;
}

/* Hero Showcase Container */
.hero-showcase {
  max-width: 1040px;
  margin: 0 auto;
  position: relative;
  perspective: 1200px;
  z-index: 2;
}

.showcase-window {
  background: var(--bg-surface-glass);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.75),
              0 0 55px -10px rgba(0, 229, 255, 0.18);
  overflow: hidden;
  transition: border-color var(--duration-ui) var(--ease-out),
              box-shadow var(--duration-ui) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .showcase-window:hover {
    border-color: rgba(0, 229, 255, 0.4);
    box-shadow: 0 30px 75px -15px rgba(0, 0, 0, 0.85),
                0 0 70px -8px rgba(0, 229, 255, 0.28);
  }
}

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

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

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

.dot-red { background-color: rgba(239, 68, 68, 0.8); }
.dot-yellow { background-color: rgba(245, 158, 11, 0.8); }
.dot-green { background-color: rgba(16, 185, 129, 0.8); }

.showcase-title-badge {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.showcase-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--accent-cyan);
  font-weight: 500;
}

.showcase-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 32px;
  gap: 32px;
  text-align: left;
}

@media (max-width: 860px) {
  .showcase-content {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 24px;
  }
}

.showcase-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.showcase-card-title {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.showcase-card-body h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.showcase-card-body p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.showcase-channel-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.channel-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.channel-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-cyan);
}

/* Dialogue Simulation */
.sim-chat {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}

.chat-bubble {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  line-height: 1.5;
  max-width: 88%;
}

.chat-bubble-user {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: #e2e8f0;
  border-bottom-left-radius: 4px;
}

.chat-bubble-user .bubble-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.chat-bubble-ai {
  align-self: flex-end;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.12) 0%, rgba(99, 102, 241, 0.16) 100%);
  border: 1px solid rgba(0, 229, 255, 0.25);
  color: #f8fafc;
  border-bottom-right-radius: 4px;
}

.chat-bubble-ai .bubble-meta {
  font-size: 0.75rem;
  color: var(--accent-cyan);
  font-weight: 600;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

/* --------------------------------------------------------------------------
   Problem / Friction Section
   -------------------------------------------------------------------------- */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 992px) {
  .problem-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }
}

.problem-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  position: relative;
  transition: transform var(--duration-ui) var(--ease-out),
              border-color var(--duration-ui) var(--ease-out),
              background-color var(--duration-ui) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .problem-card:hover {
    transform: translateY(-5px);
    border-color: rgba(239, 68, 68, 0.35);
    background-color: var(--bg-card-hover);
  }
}

.problem-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f87171;
  margin-bottom: 24px;
}

.problem-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.problem-card p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Solution & Contextual Intelligence Section
   -------------------------------------------------------------------------- */
.solution-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 900px) {
  .solution-split {
    grid-template-columns: 1fr;
  }
}

.solution-pillars {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pillar-item {
  display: flex;
  gap: 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: border-color var(--duration-ui) var(--ease-out),
              transform var(--duration-ui) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .pillar-item:hover {
    border-color: var(--border-highlight);
    transform: translateX(5px);
  }
}

.pillar-icon-box {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
}

.pillar-item h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.pillar-item p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.solution-graphic-card {
  background: var(--bg-surface-glass);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 36px;
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}

.solution-graphic-card::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -20%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.comparison-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.comparison-row {
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--border-subtle);
}

.comparison-row.legacy {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.06);
}

.comparison-row.hok {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.07) 0%, rgba(99, 102, 241, 0.09) 100%);
  border-color: rgba(0, 229, 255, 0.28);
}

.row-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.row-badge.legacy { color: var(--text-muted); }
.row-badge.hok { color: var(--accent-cyan); }

.comparison-row h5 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.comparison-row p {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   Multichannel Proprietary Convergence Topology (Custom Interface)
   -------------------------------------------------------------------------- */
.multichannel-topology-wrap {
  max-width: 1140px;
  margin: 0 auto;
  position: relative;
}

.topology-stage {
  display: grid;
  grid-template-columns: 1fr 340px 1fr;
  grid-template-rows: auto auto;
  gap: 28px 48px;
  align-items: center;
  margin-bottom: 40px;
  position: relative;
}

.node-wa {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}

.node-chat {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
}

.topology-core-hub {
  grid-column: 2 / 3;
  grid-row: 1 / 3;
}

.node-ig {
  grid-column: 3 / 4;
  grid-row: 1 / 2;
}

.node-fb {
  grid-column: 3 / 4;
  grid-row: 2 / 3;
}

@media (max-width: 980px) {
  .topology-stage {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 20px;
  }

  .topology-core-hub {
    grid-column: 1 / -1;
    grid-row: 1 / 2;
    margin-bottom: 12px;
  }

  .node-wa {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
  }

  .node-ig {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
  }

  .node-chat {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
  }

  .node-fb {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
  }
}

@media (max-width: 640px) {
  .topology-stage {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 16px;
  }

  .topology-core-hub {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .node-wa,
  .node-chat,
  .node-ig,
  .node-fb {
    grid-column: 1 / -1;
    grid-row: auto;
  }
}

/* Channel Topology Nodes */
.topology-node {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
  transition: transform var(--duration-ui) var(--ease-out),
              border-color var(--duration-ui) var(--ease-out),
              box-shadow var(--duration-ui) var(--ease-out),
              background-color var(--duration-ui) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .topology-node:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
    box-shadow: 0 14px 34px -8px rgba(0, 229, 255, 0.25);
    background-color: var(--bg-card-hover);
  }
}

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

.node-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--duration-ui) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .topology-node:hover .node-icon-wrap {
    transform: scale(1.08);
  }
}

/* Channel Platform Colors */
.node-wa .node-icon-wrap {
  background: rgba(37, 211, 102, 0.12);
  color: #25d366;
  border: 1px solid rgba(37, 211, 102, 0.28);
}

.node-ig .node-icon-wrap {
  background: rgba(225, 48, 108, 0.12);
  color: #e1306c;
  border: 1px solid rgba(225, 48, 108, 0.28);
}

.node-chat .node-icon-wrap {
  background: rgba(0, 229, 255, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 229, 255, 0.28);
}

.node-fb .node-icon-wrap {
  background: rgba(24, 119, 242, 0.12);
  color: #1877f2;
  border: 1px solid rgba(24, 119, 242, 0.28);
}

.node-tactical-tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
}

.topology-node h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.topology-node p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Channel Conduit Streams (Flowing toward Central Hub) */
.conduit-stream {
  display: block;
  position: absolute;
  top: 50%;
  width: 48px;
  height: 2px;
  pointer-events: none;
  z-index: 1;
}

.stream-to-right {
  right: -48px;
}

.stream-to-left {
  left: -48px;
}

.stream-to-right .conduit-line {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 229, 255, 0.25) 0%, rgba(0, 229, 255, 0.8) 100%);
}

.stream-to-left .conduit-line {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(270deg, rgba(0, 229, 255, 0.25) 0%, rgba(0, 229, 255, 0.8) 100%);
}

.stream-to-right .conduit-pulse-bead {
  position: absolute;
  top: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px 2px var(--accent-cyan);
  animation: pulseStreamRight 2.2s infinite ease-in-out;
}

.stream-to-left .conduit-pulse-bead {
  position: absolute;
  top: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px 2px var(--accent-cyan);
  animation: pulseStreamLeft 2.2s infinite ease-in-out;
}

@keyframes pulseStreamRight {
  0% { left: 0; opacity: 0; }
  25% { opacity: 1; }
  75% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

@keyframes pulseStreamLeft {
  0% { right: 0; opacity: 0; }
  25% { opacity: 1; }
  75% { opacity: 1; }
  100% { right: 100%; opacity: 0; }
}

@media (max-width: 980px) {
  .conduit-stream {
    display: none !important;
  }
}

/* Central Core Hub (Heightened Protagonism & Living Convergence) */
.topology-core-hub {
  background: radial-gradient(circle at center, rgba(0, 229, 255, 0.14) 0%, rgba(99, 102, 241, 0.09) 50%, rgba(9, 13, 22, 0.95) 90%);
  border: 1px solid rgba(0, 229, 255, 0.38);
  border-radius: var(--radius-lg);
  padding: 38px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 50px -10px rgba(0, 229, 255, 0.28), inset 0 0 35px rgba(0, 229, 255, 0.1);
  z-index: 2;
}

.core-aura-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.22) 0%, rgba(99, 102, 241, 0.12) 45%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.core-orbit-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.ring-outer {
  width: 170px;
  height: 170px;
  border: 1px dashed rgba(0, 229, 255, 0.35);
  top: 42px;
  animation: rotateRing 32s linear infinite;
}

.ring-inner {
  width: 130px;
  height: 130px;
  border: 1px solid rgba(99, 102, 241, 0.4);
  top: 62px;
  animation: rotateRingReverse 22s linear infinite;
}

@keyframes rotateRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes rotateRingReverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

.core-center-monogram {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.25) 0%, rgba(8, 12, 21, 0.98) 75%);
  border: 2px solid rgba(0, 229, 255, 0.6);
  box-shadow: 0 0 32px rgba(0, 229, 255, 0.45), inset 0 0 20px rgba(0, 229, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  position: relative;
  z-index: 3;
}

.core-logo-badge {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.5));
}

.core-telemetry {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 3;
}

.telemetry-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--accent-cyan);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.telemetry-heading {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.telemetry-caption {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.45;
  max-width: 250px;
}

/* Synthesis Nexus Bar */
.core-nexus-bar {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.08) 0%, rgba(99, 102, 241, 0.12) 50%, rgba(139, 92, 246, 0.08) 100%);
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: var(--radius-lg);
  padding: 34px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-shadow: 0 16px 45px -10px rgba(0, 229, 255, 0.18);
}

@media (max-width: 800px) {
  .core-nexus-bar {
    flex-direction: column;
    text-align: center;
    padding: 28px 22px;
  }
}

.nexus-info h3 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.nexus-info p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 600px;
}

.nexus-core-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(9, 13, 22, 0.85);
  border: 1px solid var(--border-medium);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: #e0f2fe;
}

/* --------------------------------------------------------------------------
   Interactive Experience Simulator
   -------------------------------------------------------------------------- */
.simulator-box {
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 55px -15px rgba(0, 0, 0, 0.65);
}

.simulator-tabs {
  display: flex;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border-subtle);
  overflow-x: auto;
}

.tab-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 20px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  transition: color var(--duration-micro) var(--ease-out),
              background var(--duration-micro) var(--ease-out),
              border-color var(--duration-micro) var(--ease-out);
  white-space: nowrap;
}

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

.tab-btn.active {
  color: var(--accent-cyan);
  border-bottom-color: var(--accent-cyan);
  background: rgba(0, 229, 255, 0.05);
}

.tab-panel {
  display: none;
  padding: 36px 30px;
}

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

.chat-thread {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 760px;
  margin: 0 auto;
}

.msg {
  display: flex;
  flex-direction: column;
  max-width: 80%;
}

.msg-in {
  align-self: flex-start;
}

.msg-in .msg-bubble {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: #f1f5f9;
  border-radius: var(--radius-md);
  border-bottom-left-radius: 4px;
  padding: 14px 18px;
  font-size: 0.9375rem;
}

.msg-out {
  align-self: flex-end;
}

.msg-out .msg-bubble {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.12) 0%, rgba(99, 102, 241, 0.16) 100%);
  border: 1px solid rgba(0, 229, 255, 0.28);
  color: #ffffff;
  border-radius: var(--radius-md);
  border-bottom-right-radius: 4px;
  padding: 14px 18px;
  font-size: 0.9375rem;
}

.msg-author {
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--text-muted);
}

.msg-out .msg-author {
  text-align: right;
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.sim-disclaimer {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 24px;
}

/* --------------------------------------------------------------------------
   Concrete Benefits Grid
   -------------------------------------------------------------------------- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

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

.benefit-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  gap: 24px;
  transition: transform var(--duration-ui) var(--ease-out),
              border-color var(--duration-ui) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .benefit-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-highlight);
  }
}

.benefit-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
}

.benefit-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.benefit-content p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   FAQ Accordion Section
   -------------------------------------------------------------------------- */
.faq-accordion {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--duration-ui) var(--ease-out);
}

.faq-item.active {
  border-color: rgba(0, 229, 255, 0.35);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  text-align: left;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  background: transparent;
  transition: color var(--duration-micro) var(--ease-out);
}

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

.faq-icon-cross {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  position: relative;
  transition: transform var(--duration-ui) var(--ease-out);
}

.faq-icon-cross::before,
.faq-icon-cross::after {
  content: '';
  position: absolute;
  background-color: var(--text-secondary);
  transition: transform var(--duration-ui) var(--ease-out), background-color var(--duration-ui) var(--ease-out);
}

.faq-icon-cross::before {
  top: 9px;
  left: 3px;
  width: 14px;
  height: 2px;
}

.faq-icon-cross::after {
  top: 3px;
  left: 9px;
  width: 2px;
  height: 14px;
}

.faq-item.active .faq-icon-cross {
  transform: rotate(45deg);
}

.faq-item.active .faq-icon-cross::before,
.faq-item.active .faq-icon-cross::after {
  background-color: var(--accent-cyan);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-ui) var(--ease-out);
}

.faq-answer-inner {
  padding: 0 28px 24px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   Final Call To Action (Bottom Anchor)
   -------------------------------------------------------------------------- */
.final-cta-card {
  background: radial-gradient(circle at center, rgba(0, 229, 255, 0.14) 0%, rgba(99, 102, 241, 0.09) 50%, var(--bg-surface) 90%);
  border: 1px solid rgba(0, 229, 255, 0.35);
  border-radius: var(--radius-lg);
  padding: 72px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 65px -15px rgba(0, 229, 255, 0.22);
}

.cta-aura {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.18) 0%, transparent 65%);
  pointer-events: none;
}

.final-cta-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
}

.final-cta-content h2 {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}

.final-cta-content p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 36px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background-color: var(--bg-deep);
  padding: 60px 0 36px;
  position: relative;
  z-index: 2;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 48px;
}

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

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

.footer-logo {
  height: 34px;
  width: auto;
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

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

@media (max-width: 520px) {
  .footer-links-group {
    flex-direction: column;
    gap: 16px;
  }
}

.footer-link {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color var(--duration-micro) var(--ease-out);
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

@media (max-width: 600px) {
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

.footer-status-pill {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* --------------------------------------------------------------------------
   Scroll Reveal System (Soft, Elegant & Discreet)
   -------------------------------------------------------------------------- */
.reveal-init {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--duration-reveal) var(--ease-out),
              transform var(--duration-reveal) var(--ease-out);
  will-change: opacity, transform;
}

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

/* Stagger Utilities (Discreet 60ms Increments) */
.delay-1 { transition-delay: 60ms; }
.delay-2 { transition-delay: 120ms; }
.delay-3 { transition-delay: 180ms; }
.delay-4 { transition-delay: 240ms; }
.delay-5 { transition-delay: 300ms; }

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

  .reveal-init {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }

  #neuralCanvas {
    display: none !important;
  }

  .ambient-glow {
    filter: blur(100px) !important;
    opacity: 0.15 !important;
  }

  .status-dot,
  .ring-outer,
  .ring-inner {
    animation: none !important;
  }
}

/* --------------------------------------------------------------------------
   Mobile Navigation Drawer & Responsive Refinements
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) and (min-width: 993px) {
  .nav-menu {
    gap: 16px;
  }
  .nav-link {
    font-size: 0.875rem;
  }
  .nav-actions {
    gap: 8px;
  }
  .status-pill {
    padding: 0 10px;
    font-size: 0.75rem;
  }
  .site-header .btn-commercial-cta {
    padding: 0 14px;
    font-size: 0.8125rem;
  }
  .site-header .btn-portal {
    padding: 0 12px;
    font-size: 0.8125rem;
    margin-left: 14px;
  }
}

@media (max-width: 992px) {
  .mobile-menu-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(8, 12, 21, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 32px 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border-subtle);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--duration-ui) var(--ease-out),
                opacity var(--duration-ui) var(--ease-out);
    z-index: 99;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .status-pill {
    display: none;
  }

  .site-header .btn-portal {
    margin-left: 0;
  }

  .mobile-portal-item {
    display: block;
    margin-top: 12px;
  }

  .btn-portal-mobile {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
  }

  .mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

@media (max-width: 640px) {
  .site-header .btn-commercial-cta {
    padding: 8px 14px;
    font-size: 0.8125rem;
    gap: 6px;
  }

  .site-header .btn-portal {
    display: none; /* In header on small mobile screens, available in the mobile menu drawer */
  }

  .brand-logo-img {
    height: 32px;
  }

  .simulator-tabs {
    justify-content: flex-start;
    padding-bottom: 4px;
  }

  .tab-btn {
    min-width: 130px;
    padding: 12px 14px;
    font-size: 0.8125rem;
  }

  .chat-bubble {
    max-width: 95%;
  }

  .msg {
    max-width: 92%;
  }
}
