/* ==========================================================================
   ORBITWEB.TECH - Orbit Design System (Light Theme)
   Executive Elegant Palette: Royal Indigo (#312E81), Obsidian (#0B0F19), Sapphire (#2563EB)
   ========================================================================== */

:root {
  /* Brand Palette (Executive Elegant Indigo & Sapphire) */
  --color-primary: #3730A3;
  --color-primary-hover: #312E81;
  --color-primary-active: #1E1B4B;
  --color-primary-light: #EEF2FF;
  --color-primary-subtle: rgba(55, 48, 163, 0.08);
  --color-primary-border: #C7D2FE;
  
  --color-steel: #4F46E5;
  --color-steel-light: #F5F7FF;
  --color-steel-border: #E0E7FF;

  --color-accent: #2563EB;
  --color-accent-subtle: rgba(37, 99, 235, 0.08);

  /* Semantic Status (Refined Jewel Tones) */
  --color-status-online: #16A34A;
  --color-status-online-light: #F0FDF4;
  --color-status-idle: #D97706;
  --color-status-dnd: #DC2626;
  --color-status-offline: #94A3B8;

  /* Neutrals (Crisp Luxury Alabaster & Porcelain) */
  --bg-page: #FCFCFD;
  --bg-subtle: #F6F7FA;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FAFAFC;
  --bg-servers: #18181B;
  --bg-secondary: #F1F3F7;

  --text-main: #0B0F19;
  --text-normal: #1E293B;
  --text-muted: #475569;
  --text-subtle: #64748B;
  --text-faint: #94A3B8;

  --border-subtle: #E2E8F0;
  --border-strong: #CBD5E1;
  --border-accent: rgba(55, 48, 163, 0.22);

  /* Shadows (Refined Soft Obsidian Ambient) */
  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.06), 0 2px 4px -2px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.07), 0 4px 6px -4px rgba(15, 23, 42, 0.03);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.07), 0 8px 10px -6px rgba(15, 23, 42, 0.02);
  --shadow-glow: 0 0 32px -6px rgba(55, 48, 163, 0.20);

  /* Layout */
  --max-width: 1220px;
  --nav-height: 76px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-normal);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Background Subtle Canvas Noise/Gradient in Royal Indigo & Sapphire */
.bg-mesh-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 820px;
  background: 
    radial-gradient(circle at 18% 12%, rgba(49, 46, 129, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 82% 16%, rgba(37, 99, 235, 0.05) 0%, transparent 45%),
    radial-gradient(circle at 50% 38%, rgba(49, 46, 129, 0.03) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
}

/* Containers & Layout */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding-block: 96px;
  position: relative;
}

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

/* Header & Sticky Nav */
.header-nav {
  position: sticky;
  top: 0;
  width: 100%;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1000;
  transition: all 0.25s ease;
}

.header-nav.scrolled {
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.06);
  border-bottom-color: var(--border-subtle);
}

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

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

.brand-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  border: 1px solid var(--color-primary-border);
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

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

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

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-main);
}

/* Buttons (Blurple Primary & Crisp Outlines) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  font-size: 14.5px;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(180deg, #181B26 0%, #0B0F19 100%);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 2px 4px rgba(11, 15, 25, 0.08),
    0 8px 20px -4px rgba(11, 15, 25, 0.22);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #252A3B 0%, #111523 100%);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 4px 10px rgba(11, 15, 25, 0.12),
    0 12px 26px -4px rgba(11, 15, 25, 0.32);
  transform: translateY(-1px);
}

.btn-outline {
  background: #FFFFFF;
  color: var(--text-main);
  border: 1.5px solid var(--border-strong);
}

.btn-outline:hover {
  background: var(--bg-subtle);
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid transparent;
}

.btn-ghost:hover {
  background: var(--bg-subtle);
  color: var(--text-main);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
}

/* Eyebrows & Badges */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-primary);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(88, 101, 242, 0.7);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(88, 101, 242, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(88, 101, 242, 0); }
  100% { box-shadow: 0 0 0 0 rgba(88, 101, 242, 0); }
}

/* Hero Section */
.hero-section {
  padding-top: 56px;
  padding-bottom: 104px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.15fr;
  gap: 60px;
  align-items: center;
}

.hero-title {
  font-size: 54px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--text-main);
  margin-bottom: 22px;
}

/* Animated SVG Drawline Underline in Orbit Blurple */
.drawline-wrap {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

.drawline-text {
  position: relative;
  z-index: 2;
  color: var(--text-main);
}

.drawline-svg {
  position: absolute;
  left: -4%;
  bottom: -6px;
  width: 108%;
  height: 18px;
  pointer-events: none;
  z-index: 1;
}

.drawline-path {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: drawline-anim 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.3s;
}

@keyframes drawline-anim {
  to {
    stroke-dashoffset: 0;
  }
}

.hero-subtitle {
  font-size: 19px;
  line-height: 1.55;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 540px;
}

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

.cta-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cta-caption {
  font-size: 12px;
  color: var(--text-faint);
  padding-left: 12px;
}

/* Hero Trust Badges */
.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-subtle);
}

.trust-item svg {
  color: var(--color-primary);
}

/* Hero UI Mockup Showcase (Orbit Light Theme) */
.hero-mockup-wrapper {
  position: relative;
  perspective: 1000px;
}

.app-window {
  background: #FFFFFF;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  box-shadow: 
    0 24px 48px -12px rgba(0, 0, 0, 0.10),
    0 12px 24px -8px rgba(0, 0, 0, 0.05),
    0 0 0 1px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.app-window:hover {
  box-shadow: 
    0 32px 64px -12px rgba(0, 0, 0, 0.14),
    0 16px 32px -8px rgba(88, 101, 242, 0.12);
}

/* Window Chrome Top */
.window-header {
  height: 42px;
  background: #F2F3F5;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  padding-inline: 16px;
  gap: 14px;
}

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

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background: #FDA4AF; }
.dot-yellow { background: #FDE047; }
.dot-green { background: #86EFAC; }

.window-address {
  flex: 1;
  max-width: 340px;
  height: 26px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  display: flex;
  align-items: center;
  padding-inline: 10px;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-subtle);
}

.address-secure {
  color: var(--color-primary);
}

/* Window Body (Orbit Concept Light Layout) */
.window-body {
  display: grid;
  grid-template-columns: 58px 170px 1fr;
  height: 410px;
  background: #FFFFFF;
}

/* 1. Spaces Rail (bgServers #E3E5E8) */
.spaces-rail {
  background: var(--bg-servers);
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-block: 14px;
  gap: 12px;
}

.space-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.space-icon.active {
  background: var(--color-primary);
  color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(88, 101, 242, 0.35);
}

.space-icon.secondary {
  background: #FFFFFF;
  color: var(--text-normal);
  border: 1px solid var(--border-subtle);
}

.space-divider {
  width: 24px;
  height: 1px;
  background: var(--border-strong);
  margin-block: 2px;
}

/* 2. Channel Sidebar (bgSidebar #F2F3F5) */
.channel-sidebar {
  background: var(--bg-subtle);
  border-right: 1px solid var(--border-subtle);
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-faint);
  letter-spacing: 0.05em;
  padding-inline: 8px;
}

.channel-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.channel-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
}

.channel-item:hover {
  background: #E3E5E8;
  color: var(--text-main);
}

.channel-item.active {
  background: #FFFFFF;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-subtle);
}

.channel-hash {
  color: var(--text-faint);
  font-weight: 700;
}

.channel-item.voice {
  color: var(--color-primary);
}

/* 3. Chat Main Area (bgChat #FFFFFF) */
.chat-main {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
}

.chat-header {
  height: 48px;
  border-bottom: 1px solid var(--border-subtle);
  padding-inline: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-channel-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
}

.encrypted-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  background: var(--color-primary-light);
  color: var(--color-primary);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.chat-timeline {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: hidden;
}

.msg-row {
  display: flex;
  gap: 12px;
}

.msg-avatar {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  color: #FFFFFF;
  flex-shrink: 0;
}

.avatar-blurple { background: linear-gradient(135deg, #312E81, #1E1B4B); }
.avatar-steel { background: linear-gradient(135deg, #5B8FC7, #3B71AB); }

.msg-content {
  flex: 1;
}

.msg-header {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 3px;
}

.msg-user {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-main);
}

.msg-time {
  font-size: 11px;
  color: var(--text-faint);
}

.msg-text {
  font-size: 13px;
  color: var(--text-normal);
  line-height: 1.45;
}

.code-pill {
  font-family: var(--font-mono);
  font-size: 11.5px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--color-primary);
}

.msg-reactions {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}

.react-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
}

.react-pill.active {
  background: var(--color-primary-light);
  border-color: var(--color-primary-border);
  color: var(--color-primary);
}

/* Floating Widgets Overlay */
.floating-call-widget {
  position: absolute;
  right: -24px;
  bottom: -28px;
  background: #FFFFFF;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 10;
  animation: float-subtle 4s ease-in-out infinite alternate;
}

@keyframes float-subtle {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-6px); }
}

.call-pulse-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.call-meta-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
}

.call-meta-sub {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--color-primary);
}

.audio-bars-live {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 18px;
}

.audio-bar {
  width: 3px;
  background: var(--color-primary);
  border-radius: 2px;
  animation: bar-dance 1.2s ease-in-out infinite alternate;
}

.audio-bar:nth-child(1) { height: 6px; animation-delay: 0.1s; }
.audio-bar:nth-child(2) { height: 16px; animation-delay: 0.3s; }
.audio-bar:nth-child(3) { height: 10px; animation-delay: 0.2s; }
.audio-bar:nth-child(4) { height: 18px; animation-delay: 0.4s; }

@keyframes bar-dance {
  0% { transform: scaleY(0.4); }
  100% { transform: scaleY(1); }
}

/* Section Header Typography */
.section-header {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: 64px;
}

.section-eyebrow {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.section-title {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--text-main);
  margin-bottom: 18px;
}

.section-desc {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Feature Grid 3-Columns */
.features-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.feature-icon-box {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border: 1px solid var(--color-primary-border);
}

.feature-icon-box.steel {
  background: var(--color-steel-light);
  color: var(--color-steel);
  border-color: var(--color-steel-border);
}

.feature-card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.feature-card-text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.58;
  margin-bottom: 20px;
  flex: 1;
}

.feature-card-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.15s ease;
}

.feature-card-link:hover {
  gap: 10px;
  color: var(--color-primary-hover);
}

/* Interactive Split Showcase */
.showcase-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
}

.showcase-split.reverse {
  grid-template-columns: 1fr 1fr;
}
.showcase-split.reverse .showcase-visual {
  order: 1;
}
.showcase-split.reverse .showcase-info {
  order: 2;
}

.showcase-visual {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.showcase-visual img,
.showcase-visual svg {
  width: 100%;
  height: auto;
  max-width: 580px;
}

.showcase-info-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-primary);
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.showcase-info-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-main);
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.showcase-info-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 26px;
}

.bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 30px;
}

.bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-muted);
}

.bullet-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  font-weight: 700;
}

/* Interactive E2EE Ratchet Simulator Widget */
.crypto-simulator-card {
  background: #FFFFFF;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: 36px;
  margin-top: 48px;
}

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

.sim-headline {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
}

.sim-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--radius-full);
}

.simulator-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 16px;
  align-items: center;
}

.sim-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sim-box-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-faint);
  letter-spacing: 0.05em;
}

.sim-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  font-size: 13.5px;
  font-family: var(--font-sans);
  background: #FFFFFF;
  color: var(--text-main);
  outline: none;
  transition: border-color 0.15s ease;
}

.sim-input:focus {
  border-color: var(--color-primary);
}

.sim-output-box {
  font-family: var(--font-mono);
  font-size: 11px;
  background: #1E1F22;
  color: #5B8FC7;
  padding: 10px;
  border-radius: 6px;
  min-height: 44px;
  word-break: break-all;
  display: flex;
  align-items: center;
}

.sim-arrow-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.sim-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 20px;
}

/* Centralized vs Orbit Comparison Table */
.comparison-container {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

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

.comparison-table th,
.comparison-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 14.5px;
}

.comparison-table th {
  background: #F8F9FA;
  font-weight: 800;
  color: var(--text-main);
  font-size: 15px;
}

.comparison-table th.col-orbit {
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 16px;
  border-bottom: 2px solid var(--color-primary);
}

.comparison-table td.col-orbit {
  background: rgba(49, 46, 129, 0.04);
  font-weight: 600;
  color: var(--text-main);
}

.pill-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-primary);
  font-weight: 700;
}

.pill-cross {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #EF4444;
  font-weight: 600;
}

/* Self-Hosting Docker Snippet */
.code-preview-window {
  background: #1E1F22;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid #2B2D31;
}

.code-header {
  height: 38px;
  background: #2B2D31;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 16px;
}

.code-filename {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #949BA4;
}

.btn-copy-code {
  background: transparent;
  border: none;
  color: #949BA4;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  transition: color 0.15s ease;
}

.btn-copy-code:hover {
  color: #FFFFFF;
}

.code-body {
  padding: 22px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.65;
  color: #DBDEE1;
  overflow-x: auto;
}

.code-keyword { color: #3730A3; font-weight: 600; }
.code-string { color: #5B8FC7; }
.code-comment { color: #80848E; }

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

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-item.active {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.faq-trigger {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
  font-size: 17px;
  font-weight: 700;
  color: var(--text-main);
  transition: color 0.15s ease;
}

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

.faq-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.25s ease;
  color: var(--text-subtle);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--color-primary);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  padding-inline: 24px;
}

.faq-item.active .faq-body {
  max-height: 300px;
  padding-bottom: 20px;
}

.faq-text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Call To Action Banner */
.cta-banner-section {
  padding-block: 80px;
}

.cta-banner-card {
  background: linear-gradient(135deg, #1E1F22 0%, #2B2D31 100%);
  border-radius: var(--radius-xl);
  padding: 64px 48px;
  text-align: center;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.cta-banner-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(88, 101, 242, 0.25) 0%, transparent 60%);
  pointer-events: none;
}

.cta-banner-title {
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cta-banner-sub {
  font-size: 17px;
  color: #949BA4;
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: 32px;
}

.cta-banner-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Footer */
.site-footer {
  background: #F8F9FA;
  border-top: 1px solid var(--border-subtle);
  padding-top: 72px;
  padding-bottom: 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

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

.footer-heading {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-main);
  margin-bottom: 18px;
}

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

.footer-link {
  text-decoration: none;
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
  font-size: 13px;
  color: var(--text-faint);
}

.footer-badges {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .hero-title {
    font-size: 44px;
  }
  
  .showcase-split,
  .showcase-split.reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .showcase-split.reverse .showcase-visual {
    order: 2;
  }
  .showcase-split.reverse .showcase-info {
    order: 1;
  }

  .features-grid-3 {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .mobile-toggle {
    display: block;
  }

  .hero-title {
    font-size: 36px;
  }

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

  .features-grid-3 {
    grid-template-columns: 1fr;
  }

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

  .sim-arrow-divider {
    transform: rotate(90deg);
  }

  .window-body {
    grid-template-columns: 1fr;
  }

  .spaces-rail,
  .channel-sidebar {
    display: none;
  }

  .floating-call-widget {
    right: 10px;
    bottom: -20px;
    padding: 10px 14px;
  }

  .comparison-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .comparison-table {
    min-width: 580px;
  }

  .crypto-simulator-card {
    padding: 24px 18px;
  }

  .cta-banner-card {
    padding: 48px 24px;
  }

  .cta-banner-title {
    font-size: 28px;
  }

  .cta-banner-buttons {
    flex-direction: column;
    width: 100%;
  }

  .cta-banner-buttons .btn {
    width: 100%;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(28px, 8.5vw, 34px);
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta-group .cta-item,
  .hero-cta-group .btn {
    width: 100%;
  }

  .cta-caption {
    text-align: center;
    padding-left: 0;
  }

  .stats-card {
    border-radius: 18px;
  }

  .stat {
    padding: 22px 16px;
  }

  .stat-num {
    font-size: 34px;
  }

  .hero-trust-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  width: 100%;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-subtle);
  padding: 24px;
  box-shadow: var(--shadow-xl);
  z-index: 999;
}

.mobile-nav-drawer.open {
  display: block;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 24px;
}

.mobile-nav-links a {
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
}
