/* NeoDM PRO Showcase — 2026/2027 Award-Winning Aesthetic & Spatial Hierarchy */

:root {
  /* Color Scheme & Dark/Light System */
  color-scheme: dark;
  
  /* 2026 Cybernetic Void Palette (Dark Default) */
  --bg: #030712;
  --bg-deep: #02040a;
  --bg-card: rgba(13, 19, 33, 0.72);
  --bg-card-hover: rgba(20, 28, 48, 0.85);
  --bg-glass: rgba(15, 23, 42, 0.7);
  --bg-pill: rgba(30, 41, 59, 0.7);

  /* High-Tech Accents */
  --cyan: #00f2fe;
  --cyan-glow: rgba(0, 242, 254, 0.35);
  --cyan-subtle: rgba(0, 242, 254, 0.08);
  --indigo: #6366f1;
  --violet: #a855f7;
  --violet-glow: rgba(168, 85, 247, 0.25);
  --emerald: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.3);

  /* Text & Typography */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-gradient: linear-gradient(135deg, #ffffff 0%, #cbd5e1 45%, #38bdf8 100%);
  --text-cyan-grad: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);

  /* Borders & Highlights */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 242, 254, 0.4);
  --border-specular: linear-gradient(90deg, transparent, rgba(0, 242, 254, 0.6), rgba(168, 85, 247, 0.6), transparent);

  /* Spatial Spacing Scale */
  --space-2xs: 4px;
  --space-xs: 8px;
  --space-sm: 14px;
  --space-md: 22px;
  --space-lg: 36px;
  --space-xl: 56px;
  --space-2xl: 88px;
  --space-3xl: 128px;

  /* Fonts */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Space Grotesk', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Shadows */
  --shadow-card: 0 16px 40px -10px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.07);
  --shadow-glow: 0 0 50px -10px rgba(0, 242, 254, 0.25);
  --shadow-hero: 0 25px 80px -15px rgba(0, 0, 0, 0.8), 0 0 120px -20px rgba(0, 242, 254, 0.2);
}

[data-theme="light"] {
  color-scheme: light;

  --bg: #f8fafc;
  --bg-deep: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.88);
  --bg-card-hover: rgba(255, 255, 255, 0.98);
  --bg-glass: rgba(255, 255, 255, 0.8);
  --bg-pill: rgba(241, 245, 249, 0.92);

  --cyan: #0284c7;
  --cyan-glow: rgba(2, 132, 199, 0.2);
  --cyan-subtle: rgba(2, 132, 199, 0.06);
  --indigo: #4f46e5;
  --violet: #7c3aed;
  --violet-glow: rgba(124, 58, 237, 0.15);
  --emerald: #059669;
  --emerald-glow: rgba(5, 150, 105, 0.2);

  --text-primary: #090d16;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-gradient: linear-gradient(135deg, #090d16 0%, #1e293b 60%, #0284c7 100%);
  --text-cyan-grad: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);

  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-glow: rgba(2, 132, 199, 0.3);
  --border-specular: linear-gradient(90deg, transparent, rgba(2, 132, 199, 0.5), transparent);

  --shadow-card: 0 10px 30px -8px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.06);
  --shadow-glow: 0 0 40px -10px rgba(2, 132, 199, 0.15);
  --shadow-hero: 0 20px 60px -15px rgba(0, 0, 0, 0.12), 0 0 80px -20px rgba(2, 132, 199, 0.15);
}

/* Base Styles & Universal Resets */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background-color: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  transition: background-color 0.4s ease, color 0.4s ease;
  min-height: 100vh;
  min-height: 100dvh;
}

/* Atmospheric Ambient Lighting & Grid Backdrop */
.ambient-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-grid {
  position: absolute;
  inset: 0;
  background-size: 48px 48px;
  background-image: 
    linear-gradient(to right, var(--border-subtle) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border-subtle) 1px, transparent 1px);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, black 20%, transparent 80%);
  opacity: 0.65;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  opacity: 0.45;
}

.ambient-orb-1 {
  width: min(650px, 90vw);
  height: min(650px, 90vw);
  background: radial-gradient(circle, var(--cyan-glow) 0%, transparent 70%);
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  animation: orbFloat 14s ease-in-out infinite alternate;
}

.ambient-orb-2 {
  width: min(500px, 75vw);
  height: min(500px, 75vw);
  background: radial-gradient(circle, var(--violet-glow) 0%, transparent 70%);
  top: 35%;
  right: -100px;
  animation: orbFloat 18s ease-in-out infinite alternate-reverse;
}

.ambient-orb-3 {
  width: min(550px, 80vw);
  height: min(550px, 80vw);
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
  top: 70%;
  left: -100px;
}

@keyframes orbFloat {
  0% { transform: translate(-50%, 0) scale(1); }
  50% { transform: translate(-45%, 40px) scale(1.08); }
  100% { transform: translate(-55%, -20px) scale(0.95); }
}

/* Fluid Layout Container */
.container {
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(16px, 3.5vw, 32px);
  position: relative;
  z-index: 1;
}

/* Floating Frosted Glass Navigation */
.header-wrap {
  position: sticky;
  top: clamp(10px, 2vh, 18px);
  z-index: 100;
  margin-bottom: clamp(24px, 4vh, 44px);
}

.nav-dock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px clamp(12px, 2vw, 20px);
  background: var(--bg-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 700;
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  letter-spacing: -0.4px;
}

.brand-logo-ring {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.2), rgba(168, 85, 247, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  box-shadow: 0 0 15px var(--cyan-glow);
  flex-shrink: 0;
}

.brand-logo-ring img {
  width: 22px;
  height: 22px;
  border-radius: 5px;
}

.brand-pro-tag {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 2px 7px;
  background: linear-gradient(135deg, #00f2fe, #4facfe);
  color: #04121d;
  border-radius: 6px;
  margin-left: -2px;
  text-transform: uppercase;
}

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

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
  padding: 4px 0;
}

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

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

.theme-btn {
  background: var(--bg-pill);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  transition: all 0.2s ease;
}

.theme-btn:hover {
  border-color: var(--border-glow);
  transform: scale(1.03);
}

.btn-nav-download {
  background: var(--text-primary);
  color: var(--bg);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
  white-space: nowrap;
}

.btn-nav-download:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.4);
}

/* Elegant Section Dividers (Visual Breathing Room) */
.section-divider {
  border: none;
  height: 1px;
  background: radial-gradient(ellipse 65% 1px at 50% 50%, var(--border-glow), transparent 75%);
  margin: 0 auto;
  width: 100%;
  max-width: 1100px;
  opacity: 0.55;
}

/* Shared Section Headline Rhythm */
.section-headline {
  text-align: center;
  margin-bottom: clamp(40px, 6vh, 68px);
}

.section-tag {
  font-family: var(--font-mono);
  font-size: clamp(0.72rem, 1vw, 0.8rem);
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: inline-block;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--cyan-subtle);
  border: 1px solid rgba(0, 242, 254, 0.2);
}

.section-headline h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.8vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.8px;
  line-height: 1.18;
  margin-bottom: 16px;
}

.section-headline p {
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  max-width: 660px;
  margin-inline: auto;
  line-height: 1.7;
}

/* Hero Section */
.hero-section {
  text-align: center;
  padding: clamp(32px, 5vh, 60px) 0 clamp(56px, 8vh, 96px);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: var(--bg-pill);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  font-size: clamp(0.74rem, 1.1vw, 0.82rem);
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: clamp(22px, 3vh, 32px);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  justify-content: center;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--emerald);
  box-shadow: 0 0 10px var(--emerald);
  animation: pulseDot 2s infinite ease-in-out;
  flex-shrink: 0;
}

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

.status-separator {
  opacity: 0.3;
}

.status-highlight {
  color: var(--cyan);
  font-weight: 700;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.2vw, 4.4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: clamp(18px, 2.5vh, 26px);
}

.hero-title .gradient-text {
  background: var(--text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

.hero-title .highlight-text {
  background: var(--text-cyan-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: clamp(1.02rem, 1.2vw + 0.3rem, 1.18rem);
  color: var(--text-secondary);
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: clamp(28px, 4vh, 38px);
  line-height: 1.75;
  font-weight: 400;
}

/* Hero CTA Group */
.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 36px;
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  color: #030a14;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 0 35px var(--cyan-glow), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  min-height: 52px;
}

.btn-hero-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 50px rgba(0, 242, 254, 0.6);
}

.btn-hero-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: skewX(-25deg);
  transition: 0.75s;
}

.btn-hero-primary:hover::after {
  left: 140%;
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 52px;
}

.btn-hero-secondary:hover {
  border-color: var(--border-glow);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

/* Dedicated WinGet Command Row */
.hero-winget-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: clamp(44px, 7vh, 72px);
  padding: 0 12px;
}

.winget-badge {
  font-size: 0.68rem;
  padding: 2px 8px;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald);
  border: 1px solid rgba(16, 185, 129, 0.35);
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* Quick Terminal Copy Pill */
.cli-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 8px 18px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  max-width: 100%;
}

.cli-pill:hover {
  border-color: var(--cyan);
  color: var(--text-primary);
}

.cli-pill .cli-prefix {
  color: var(--cyan);
  font-weight: 700;
}

.cli-pill .copy-icon {
  opacity: 0.6;
  transition: opacity 0.2s;
  flex-shrink: 0;
}

.cli-pill:hover .copy-icon {
  opacity: 1;
}

/* Interactive Hero Stage & Switcher */
.hero-stage {
  margin-top: 0;
  position: relative;
}

.stage-nav-wrap {
  width: 100%;
  margin-bottom: 24px;
}

.stage-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.stage-tab-btn {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  min-height: 40px;
}

.stage-tab-btn:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.2);
}

.stage-tab-btn.active {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.15), rgba(168, 85, 247, 0.15));
  border-color: var(--cyan);
  color: var(--text-primary);
  box-shadow: 0 0 20px var(--cyan-glow);
}

.stage-window-frame {
  max-width: 1100px;
  margin-inline: auto;
  border-radius: clamp(14px, 2.5vw, 22px);
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-hero);
  overflow: hidden;
  position: relative;
  transition: all 0.4s ease;
}

.stage-window-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border-specular);
  z-index: 10;
}

.stage-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: rgba(10, 15, 28, 0.9);
  border-bottom: 1px solid var(--border-subtle);
}

.stage-traffic-lights {
  display: flex;
  gap: 8px;
}

.stage-traffic-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #334155;
}

.stage-traffic-dot.red { background: #ef4444; }
.stage-traffic-dot.yellow { background: #f59e0b; }
.stage-traffic-dot.green { background: #10b981; }

.stage-address-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 4px 16px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.stage-viewport {
  position: relative;
  background: #000;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.stage-viewport img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: opacity 0.3s ease, transform 0.4s ease;
}

/* 2026 Interactive Telemetry Simulator Widget */
.sim-section {
  padding: clamp(60px, 9vh, 120px) 0;
}

.sim-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: clamp(18px, 2.8vw, 26px);
  padding: clamp(22px, 3.8vw, 44px);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

.sim-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--border-specular);
}

.sim-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: clamp(20px, 3vw, 32px);
  flex-wrap: wrap;
  gap: 16px;
}

.sim-badge-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  margin-bottom: 4px;
}

.sim-header-info h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 700;
  line-height: 1.2;
}

.sim-controls {
  display: flex;
  gap: 6px;
  background: var(--bg-deep);
  padding: 4px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
}

.sim-conn-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 36px;
}

.sim-conn-btn.active {
  background: var(--cyan);
  color: #04121d;
  box-shadow: 0 0 15px var(--cyan-glow);
}

.sim-telemetry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 2vw, 20px);
  margin-bottom: clamp(20px, 3vw, 30px);
}

.sim-stat-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: clamp(14px, 2vw, 18px);
}

.sim-stat-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.sim-stat-value {
  font-family: var(--font-mono);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.sim-stat-value.cyan { color: var(--cyan); }
.sim-stat-value.emerald { color: var(--emerald); }

/* Live Segment Simulation Visualizer */
.sim-visualizer {
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: clamp(16px, 2.5vw, 22px);
}

.sim-segments-track {
  display: grid;
  grid-template-columns: repeat(32, 1fr);
  gap: 3px;
  height: clamp(32px, 4.5vw, 40px);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  padding: 4px;
  overflow: hidden;
  margin-bottom: 14px;
}

.sim-seg-bar {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.sim-seg-fill {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, var(--cyan), #3b82f6);
  border-radius: 2px;
  transition: height 0.2s ease;
}

.sim-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 10px;
}

.sim-meta-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--emerald);
  font-weight: 600;
}

/* Bento Grid Section */
.bento-section {
  padding: clamp(60px, 9vh, 120px) 0;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(18px, 2.6vw, 32px);
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: clamp(18px, 2.5vw, 24px);
  padding: clamp(24px, 3.6vw, 38px);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
  overflow: hidden;
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.7), 0 0 35px var(--cyan-subtle);
}

.bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}

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

.card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  align-self: flex-start;
}

.bento-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.8vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-bottom: 12px;
  line-height: 1.28;
}

.bento-card p {
  color: var(--text-secondary);
  font-size: clamp(0.92rem, 1.1vw, 0.98rem);
  line-height: 1.65;
  margin-bottom: 24px;
  flex-grow: 1;
}

.card-media {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-deep);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  margin-top: auto;
  aspect-ratio: 16 / 10;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.4s ease;
}

.bento-card:hover .card-media img {
  transform: scale(1.02);
}

/* Feature Spec List Inside Cards */
.spec-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(0.88rem, 1.1vw, 0.95rem);
  color: var(--text-secondary);
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
}

.spec-icon {
  color: var(--emerald);
  font-size: 0.95rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* Modern Comparative Matrix Table */
.benchmark-section {
  padding: clamp(60px, 9vh, 120px) 0;
}

.table-glass-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: clamp(16px, 2.5vw, 24px);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
}

.table-glass-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--border-specular);
}

.table-scroll-hint {
  display: none;
  padding: 10px 16px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--cyan);
  background: rgba(0, 242, 254, 0.06);
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-weight: 600;
}

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

.matrix-table th,
.matrix-table td {
  padding: clamp(14px, 2vw, 20px) clamp(16px, 2.2vw, 26px);
  border-bottom: 1px solid var(--border-subtle);
  font-size: clamp(0.85rem, 1vw, 0.95rem);
}

.matrix-table th {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
}

.matrix-table th.highlight-col,
.matrix-table td.highlight-col {
  background: rgba(0, 242, 254, 0.03);
  font-weight: 700;
  color: var(--cyan);
  border-left: 1px solid var(--border-subtle);
  border-right: 1px solid var(--border-subtle);
}

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

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

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

.cross-pill {
  color: var(--text-muted);
}

/* Futuristic CLI Terminal Emulator */
.cli-section {
  padding: clamp(60px, 9vh, 110px) 0 clamp(80px, 12vh, 140px);
}

.cli-terminal {
  background: #05070e;
  border: 1px solid var(--border-subtle);
  border-radius: clamp(16px, 2.5vw, 22px);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(14px, 2vw, 22px);
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 10px;
}

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

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #334155;
}

.terminal-dot.red { background: #ef4444; }
.terminal-dot.yellow { background: #f59e0b; }
.terminal-dot.green { background: #10b981; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: clamp(0.72rem, 1vw, 0.8rem);
  color: var(--text-muted);
}

.terminal-body {
  padding: clamp(18px, 3vw, 28px);
  font-family: var(--font-mono);
  font-size: clamp(0.82rem, 1.1vw, 0.95rem);
  line-height: 1.8;
  color: var(--text-primary);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.cli-comment {
  color: var(--text-muted);
  user-select: none;
}

.cli-prompt {
  color: var(--cyan);
  user-select: none;
  margin-right: 8px;
}

.cli-cmd {
  color: #f1f5f9;
  font-weight: 600;
}

.cli-arg {
  color: #38bdf8;
}

.cli-val {
  color: #34d399;
}

/* Frequently Asked Questions (FAQ) Section — Modern Details/Summary Accordion */
.faq-section {
  padding: clamp(60px, 9vh, 120px) 0;
}

.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 860px;
  margin-inline: auto;
}

.faq-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.faq-card[open] {
  border-color: var(--cyan);
  box-shadow: 0 10px 30px -10px var(--cyan-subtle);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(18px, 2.5vw, 24px) clamp(20px, 3vw, 28px);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  font-weight: 700;
  color: var(--text-primary);
  user-select: none;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-icon {
  color: var(--cyan);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.faq-card[open] .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 clamp(20px, 3vw, 28px) clamp(20px, 2.5vw, 26px);
  color: var(--text-secondary);
  font-size: clamp(0.95rem, 1.1vw, 1.02rem);
  line-height: 1.7;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 16px;
}

.faq-answer p {
  margin: 0;
}

.faq-answer code {
  font-family: var(--font-mono);
  color: var(--cyan);
  background: rgba(0, 242, 254, 0.08);
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 0.9em;
  border: 1px solid rgba(0, 242, 254, 0.2);
}

/* Footer Section */
.footer-wrap {
  border-top: 1px solid var(--border-subtle);
  padding: clamp(56px, 8vh, 96px) 0 clamp(40px, 6vh, 80px);
  text-align: center;
  position: relative;
  z-index: 1;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 18px;
  color: var(--text-primary);
  text-decoration: none;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 3vw, 32px);
  list-style: none;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
  padding: 6px 4px;
}

.footer-links a:hover {
  color: var(--cyan);
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.7;
  max-width: 620px;
  margin-inline: auto;
}

/* Comprehensive Responsive Breakpoints */

/* Tablet & Smaller Laptops */
@media (max-width: 960px) {
  .col-8, .col-4, .col-6, .col-12 {
    grid-column: span 12;
  }
}

/* Tablets & Mobile Screens */
@media (max-width: 820px) {
  .stage-nav-wrap {
    overflow: hidden;
  }

  .stage-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    justify-content: flex-start;
    padding: 6px 12px 14px;
    mask-image: linear-gradient(to right, transparent, black 16px, black calc(100% - 16px), transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 16px, black calc(100% - 16px), transparent);
  }

  .stage-nav::-webkit-scrollbar {
    display: none;
  }

  .stage-tab-btn {
    flex: 0 0 auto;
    scroll-snap-align: center;
  }
}

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

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

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

  .hero-stage {
    margin-top: 10px;
  }
}

/* Mobile Screens (Phones) */
@media (max-width: 640px) {
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    max-width: 360px;
    margin-inline: auto;
    gap: 12px;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
  }

  .sim-controls {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
  }

  .sim-conn-btn {
    text-align: center;
    padding: 8px 6px;
    font-size: 0.8rem;
  }

  .sim-segments-track {
    gap: 1.5px;
    padding: 2px;
  }

  .cli-pill {
    max-width: 100%;
    padding: 8px 14px;
    font-size: 0.78rem;
  }
}

/* Extra Small Phones */
@media (max-width: 480px) {
  .brand-pro-tag {
    display: none;
  }

  .nav-dock {
    padding: 8px 12px;
  }

  .sim-telemetry-grid {
    grid-template-columns: 1fr;
  }

  .status-pill {
    font-size: 0.72rem;
    padding: 6px 12px;
    gap: 6px;
  }

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