/* ==========================================================================
   CELALSTUDIO - PREMIUM AUTONOMOUS ENGINEERING & PRODUCT STUDIO
   Typography: Space Grotesk (Headings), Inter (Body), JetBrains Mono (Tech/Metrics)
   Color System: Deep Obsidian Dark, Violet/Indigo Accents, Emerald/Mint Metrics
   ========================================================================== */

:root {
  --bg: #060913;
  --bg-elevated: #0B1122;
  --surface: #0E162B;
  --surface-2: #121D38;
  --surface-hover: #18274A;
  
  --border: rgba(59, 130, 246, 0.16);
  --border-soft: rgba(255, 255, 255, 0.07);
  --border-highlight: rgba(56, 189, 248, 0.45);
  
  --text: #F8FAFC;
  --text-muted: #94A3B8;
  --text-faint: #64748B;
  
  --accent: #2563EB;
  --accent-hover: #1D4ED8;
  --accent-2: #38BDF8;
  --accent-soft: rgba(37, 99, 235, 0.12);
  --accent-glow: rgba(56, 189, 248, 0.25);
  
  --mint: #10B981;
  --mint-soft: rgba(16, 185, 129, 0.12);
  --mint-glow: rgba(16, 185, 129, 0.3);
  
  --amber: #F59E0B;
  --red: #EF4444;
  --blue: #38BDF8;
  
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --radius-full: 9999px;
  
  --maxw: 1200px;
  --transition-fast: 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg);
  color: var(--text);
  overflow-x: clip;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--text);
  line-height: 1.15;
}

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

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

.mono {
  font-family: 'JetBrains Mono', monospace;
}

.wrap, .container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
  box-sizing: border-box;
  position: relative;
}

::selection {
  background: var(--accent);
  color: #FFFFFF;
}

:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
}

/* Ambient Glow */
.glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(800px 500px at 15% -5%, rgba(37, 99, 235, 0.12), transparent 60%),
    radial-gradient(650px 520px at 100% 10%, rgba(56, 189, 248, 0.08), transparent 60%),
    radial-gradient(600px 600px at 50% 80%, rgba(16, 185, 129, 0.04), transparent 65%);
}

/* Gradient Text */
.grad {
  background: linear-gradient(105deg, #38BDF8 0%, #2563EB 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

/* Eyebrow Pill */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--mint);
  background: var(--mint-soft);
  border: 1px solid rgba(63, 217, 179, 0.25);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
  margin-bottom: 22px;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 8px var(--mint);
  animation: pulseDot 2s infinite ease-in-out;
}

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

/* Buttons */
.btn-primary {
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  color: #FFFFFF;
  padding: 13px 26px;
  border-radius: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0 8px 30px -8px var(--accent-glow);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 34px -8px rgba(124, 108, 251, 0.65);
  color: #FFFFFF;
}

.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text);
  padding: 13px 24px;
  border-radius: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 15px;
  background: transparent;
  transition: border-color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}

.btn-ghost:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13.5px;
  border-radius: 8px;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

header, .site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 10, 16, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-soft);
}

nav.wrap, .header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo, .brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: #FFFFFF;
}

.brand-tag {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.logo-mark {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(124, 108, 251, 0.4);
}

.nav-links, .nav-menu .nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 28px;
  margin: 0;
  padding: 0;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-muted);
}

.nav-links a, .nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14.5px;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.nav-links a:hover, .nav-link:hover {
  color: var(--text);
}

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

.nav-cta {
  background: var(--text);
  color: #0A0A10;
  padding: 9px 18px;
  border-radius: 9px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 600;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-cta:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
  position: relative;
  z-index: 1;
  padding: 72px 0 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  margin-bottom: 56px;
}

.hero-content {
  display: flex;
  flex-direction: column;
}

.hero h1 {
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.08;
  margin-bottom: 20px;
}

.hero p.sub {
  font-size: 16.5px;
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 30px;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero-micro-trust {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  color: var(--text-faint);
  flex-wrap: wrap;
}

.hero-micro-trust span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-micro-trust .trust-dot {
  color: var(--mint);
}

/* ==========================================================================
   HERO RIGHT: MACOS STUDIO ARCHITECTURE & TELEMETRY CONSOLE
   (Flat, razor-sharp engineering console - Zero 3D distortion, Zero AI-slop)
   ========================================================================== */

.hero-console-stage {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.studio-console {
  width: 100%;
  max-width: 560px;
  background: #080A0F;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 
    0 24px 60px -15px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 0 40px -10px rgba(37, 99, 235, 0.12);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.studio-console:hover {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 
    0 30px 70px -15px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 50px -10px rgba(56, 189, 248, 0.18);
}

.console-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: #0D1118;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.console-title-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.console-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: #94A3B8;
  letter-spacing: -0.01em;
}

.console-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 3px 9px;
  border-radius: 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  font-weight: 600;
  color: #10B981;
  letter-spacing: 0.04em;
}

.console-live-badge .pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
  animation: telemetryPulse 2s infinite ease-in-out;
}

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

.console-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Architecture Node Pills */
.console-node-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.console-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 5px 10px;
  border-radius: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: #CBD5E1;
}

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

.dot-pg { background: #38BDF8; box-shadow: 0 0 6px rgba(56, 189, 248, 0.6); }
.dot-redis { background: #10B981; box-shadow: 0 0 6px rgba(16, 185, 129, 0.6); }
.dot-docker { background: #6366F1; box-shadow: 0 0 6px rgba(99, 102, 241, 0.6); }
.dot-flutter { background: #EC4899; box-shadow: 0 0 6px rgba(236, 72, 153, 0.6); }

/* Telemetry & Metrics Grid */
.console-telemetry-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 12px;
}

.telemetry-cell {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.telemetry-cell .t-label {
  font-size: 10px;
  font-family: 'Space Grotesk', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748B;
}

.telemetry-cell .t-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14.5px;
  font-weight: 600;
  color: #FFFFFF;
}

.telemetry-cell .t-value.mint { color: #10B981; }
.telemetry-cell .t-value.sky { color: #38BDF8; }

/* Real-time Telemetry Graph Card */
.console-graph-card {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 12px 14px;
}

.graph-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.graph-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #94A3B8;
  text-transform: uppercase;
}

.graph-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: #10B981;
}

.console-graph-svg {
  width: 100%;
  height: 48px;
  display: block;
}

/* Live Node Matrix */
.console-nodes-matrix {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.matrix-node {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  padding: 6px 9px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  white-space: nowrap;
}

.matrix-node .node-name {
  color: #E2E8F0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.matrix-node .node-indicator {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #10B981;
  flex-shrink: 0;
}

.matrix-node .node-status {
  color: #64748B;
  font-size: 9.5px;
}

/* Console Event Terminal Stream */
.console-log-card {
  background: #050608;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 8px 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  line-height: 1.5;
  color: #64748B;
}

.console-log-line {
  display: flex;
  gap: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.log-time { color: #475569; flex-shrink: 0; }
.log-tag { color: #38BDF8; flex-shrink: 0; }
.log-msg { color: #94A3B8; }
.log-msg strong { color: #10B981; font-weight: normal; }

/* Live Status Signature Panel */
.status-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 6px;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}

.status-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border-soft);
}

.status-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--text-muted);
}

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

.traffic-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.dot-r { background: #EF4444; }
.dot-y { background: #F59E0B; }
.dot-g { background: #10B981; }

.status-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--border-soft);
}

.status-item {
  background: var(--surface);
  padding: 18px 18px 16px;
  transition: background var(--transition-fast);
}

.status-item:hover {
  background: var(--surface-2);
}

.status-item .name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 3px;
  color: var(--text);
}

.status-item .tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-faint);
  margin-bottom: 12px;
  display: block;
}

.status-item .metric-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.status-item .metric {
  font-family: 'JetBrains Mono', monospace;
  font-size: 21px;
  font-weight: 700;
  color: var(--text);
}

.status-item .metric-label {
  font-size: 11px;
  color: var(--text-muted);
}

.status-item .pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: var(--mint);
  font-weight: 600;
}

.status-item .pill .dot {
  width: 5px;
  height: 5px;
}

/* Stat Row */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  margin-top: 56px;
}

.stat-cell {
  padding: 24px 20px;
  border-right: 1px solid var(--border-soft);
}

.stat-cell:last-child {
  border-right: none;
}

.stat-cell .num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.stat-cell .lbl {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ==========================================================================
   SECTION SHARED
   ========================================================================== */

section {
  position: relative;
  z-index: 1;
  padding: 96px 0;
}

.section-head {
  max-width: 780px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-head.left {
  margin-left: 0;
  margin-right: auto;
  text-align: left;
}

.section-eyebrow,
.section-tag-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--accent-2);
  background: rgba(192, 132, 252, 0.08);
  border: 1px solid rgba(192, 132, 252, 0.22);
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.06em;
  margin: 0 auto 16px;
  display: inline-block;
  text-transform: uppercase;
}

.section-head.left .section-eyebrow,
.section-head.left .section-tag-pill {
  margin-left: 0;
}

.section-head h2,
.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 14px;
}

.section-head p,
.section-sub {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.65;
  max-width: 680px;
  margin: 0 auto;
}

.section-head.left p,
.section-head.left .section-sub {
  margin-left: 0;
}

/* Crisp Clean Checkmark Bullet */
.feature-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(63, 217, 179, 0.14);
  color: var(--mint);
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  margin-right: 6px;
}

/* ==========================================================================
   FLAGSHIP PRODUCTS SHOWCASE
   ========================================================================== */

.product-row {
  display: flex;
  align-items: center;
  gap: 56px;
  padding: 60px 0;
  border-bottom: 1px solid var(--border-soft);
}

.product-row:last-child {
  border-bottom: none;
}

.product-row:nth-child(even) {
  flex-direction: row-reverse;
}

.product-col {
  flex: 1;
  min-width: 0;
}

.product-tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--mint);
  background: var(--mint-soft);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 14px;
}

.product-col h3 {
  font-size: 27px;
  font-weight: 700;
  margin-bottom: 10px;
}

.product-col .product-desc {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 22px;
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  margin-bottom: 26px;
}

.feature-list li {
  list-style: none;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.45;
}

.feature-list li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-2);
  margin-top: 6px;
  flex-shrink: 0;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, rgba(124, 108, 251, 0.15) 0%, rgba(192, 132, 252, 0.25) 100%);
  border: 1.5px solid rgba(192, 132, 252, 0.5);
  color: #FFFFFF;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(124, 108, 251, 0.25);
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.product-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.product-link:hover::before {
  left: 100%;
}

.product-link:hover {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  border-color: rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(124, 108, 251, 0.5);
  gap: 14px;
}

.product-link .link-arrow {
  font-size: 16px;
  transition: transform var(--transition-fast);
}

.product-link:hover .link-arrow {
  transform: translateX(4px);
}

/* Rich Real Product Mockup Window */
.mockup-window {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.6);
  transition: border-color var(--transition-fast);
}

.mockup-window:hover {
  border-color: var(--border-highlight);
}

.mockup-window-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border-soft);
  gap: 10px;
}

.mockup-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
}

.mockup-tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-soft);
  color: var(--text-muted);
  padding: 4px 10px;
  border-radius: 6px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

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

.mockup-tab-btn.active {
  color: #FFFFFF;
  background: var(--accent);
  border-color: var(--accent);
}

.mockup-screen-container {
  position: relative;
  background: #000000;
  cursor: pointer;
  overflow: hidden;
}

.mockup-screen-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.mockup-screen-container:hover .mockup-screen-img {
  transform: scale(1.02);
}

.mockup-screen-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 16, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.mockup-screen-container:hover .mockup-screen-overlay {
  opacity: 1;
}

.mockup-zoom-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: #FFFFFF;
  background: rgba(124, 108, 251, 0.85);
  backdrop-filter: blur(8px);
  padding: 6px 12px;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   PHONE MOCKUP FRAME (Mobile Apps & 2D Games)
   ========================================================================== */

.phone-mockup-wrapper {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.6);
  transition: border-color var(--transition-fast);
}

.phone-mockup-wrapper:hover {
  border-color: var(--border-highlight);
}

.phone-device-frame {
  width: 100%;
  max-width: 280px;
  background: #000000;
  border: 8px solid #20202F;
  border-radius: 46px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.9), inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  margin: 16px auto 0;
  cursor: pointer;
}

.phone-dynamic-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 20px;
  background: #000000;
  border-radius: 12px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.phone-camera-lens {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #111122;
  border: 1px solid #222233;
}

.phone-device-screen {
  width: 100%;
  aspect-ratio: 9 / 19.5;
  background: #000000;
  display: block;
  object-fit: cover;
  border-radius: 38px;
  transition: transform 0.4s ease;
}

.phone-device-frame:hover .phone-device-screen {
  transform: scale(1.02);
}

.phone-device-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 16, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
  border-radius: 38px;
  z-index: 6;
}

.phone-device-frame:hover .phone-device-overlay {
  opacity: 1;
}

/* ==========================================================================
   APP & GAME HORIZONTAL FLOW SHOWCASE (Infinite Smooth Marquee)
   ========================================================================== */

.app-flow-section {
  width: 100%;
  overflow: hidden;
  padding: 30px 0 50px;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.app-flow-track {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: appFlowMarquee 38s linear infinite;
  padding: 10px 0;
}

.app-flow-track:hover {
  animation-play-state: paused;
}

@keyframes appFlowMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.app-flow-item {
  width: 250px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.app-flow-item:hover {
  transform: translateY(-8px) scale(1.03);
}

.app-flow-item .phone-device-frame {
  margin: 0;
  max-width: 240px;
  border-width: 7px;
  border-radius: 42px;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.8), 0 0 25px rgba(124, 108, 251, 0.15);
}

.app-flow-item:hover .phone-device-frame {
  border-color: #3B3B54;
  box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.9), 0 0 35px rgba(124, 108, 251, 0.35);
}

.app-flow-item-info {
  text-align: center;
}

.app-flow-item-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.app-flow-item-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--blue, #38BDF8);
  margin-top: 3px;
  display: block;
}

/* ==========================================================================
   SERVICES GRID
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.service-card {
  background: var(--bg-elevated);
  padding: 32px 26px;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.service-card:hover {
  background: var(--surface);
}

.service-glyph {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--accent-soft);
  border: 1px solid rgba(124, 108, 251, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-2);
  margin-bottom: 20px;
}

.service-card h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.service-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   ENGINEERING STANDARDS
   ========================================================================== */

.standards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.standard-card {
  background: var(--bg-elevated);
  padding: 30px 24px;
  transition: background var(--transition-fast);
}

.standard-card:hover {
  background: var(--surface);
}

.standard-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  color: var(--mint);
  background: var(--mint-soft);
  border: 1px solid rgba(63, 217, 179, 0.25);
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 14px;
}

.standard-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.standard-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   PROCESS LINE
   ========================================================================== */

.process-line {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.process-line::before {
  content: "";
  position: absolute;
  top: 19px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border);
}

.process-step {
  position: relative;
  flex: 1;
  min-width: 0;
}

.process-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-2);
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.process-step h4 {
  font-size: 15.5px;
  font-weight: 700;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   DELIVERED CASE STUDIES & REFERENCES
   ========================================================================== */

.ref-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.ref-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.ref-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-highlight);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
}

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

.ref-client-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: #FFFFFF;
}

.ref-sector-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--mint);
  background: rgba(63, 217, 179, 0.1);
  border: 1px solid rgba(63, 217, 179, 0.25);
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

.ref-summary {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.ref-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 20px;
}

.ref-kpi-item {
  text-align: center;
}

.ref-kpi-val {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--mint);
  display: block;
}

.ref-kpi-lbl {
  font-size: 10.5px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-faint);
  margin-top: 2px;
  display: block;
}

.ref-quote-box {
  border-left: 2px solid var(--accent);
  padding-left: 14px;
  margin-bottom: 20px;
  font-size: 13.5px;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.5;
}

.ref-author {
  font-size: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  color: #FFFFFF;
  font-style: normal;
  display: block;
  margin-top: 6px;
}

.ref-tech-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ref-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-faint);
  background: var(--surface-2);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid var(--border-soft);
}

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

/* ==========================================================================
   INTERACTIVE CALCULATOR
   ========================================================================== */

.calc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
}

.calc-group {
  margin-bottom: 26px;
}

.calc-group:last-child {
  margin-bottom: 0;
}

.calc-label {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.chip-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.chip {
  border: 1px solid var(--border);
  padding: 10px 16px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
  background: var(--bg-elevated);
  user-select: none;
}

.chip:hover {
  border-color: var(--text-faint);
  color: #FFFFFF;
}

.chip.active {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: #FFFFFF;
  box-shadow: 0 0 12px var(--accent-soft);
}

.calc-result {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
}

.calc-result .rlabel {
  font-size: 11.5px;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  margin-bottom: 6px;
}

.calc-result .rtime {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--mint);
  margin-bottom: 20px;
}

.calc-result ul {
  list-style: none;
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
  flex: 1;
}

.calc-result ul li {
  line-height: 1.4;
}

.calc-result ul li::before {
  content: "→ ";
  color: var(--accent-2);
  font-weight: 700;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */

.faq-list {
  display: flex;
  flex-direction: column;
}

details {
  border-bottom: 1px solid var(--border-soft);
  padding: 22px 0;
}

details:first-child {
  border-top: 1px solid var(--border-soft);
}

summary {
  cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16.5px;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  user-select: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  font-family: 'JetBrains Mono', monospace;
  font-size: 20px;
  color: var(--text-faint);
  transition: transform 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}

details[open] summary::after {
  transform: rotate(45deg);
  color: var(--accent-2);
}

details p {
  color: var(--text-muted);
  font-size: 14.5px;
  margin-top: 14px;
  max-width: 720px;
  line-height: 1.65;
}

/* ==========================================================================
   CONTACT CARD
   ========================================================================== */

.contact-card {
  background: linear-gradient(135deg, var(--surface), var(--bg-elevated));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 52px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.contact-card h2 {
  font-size: clamp(24px, 3vw, 34px);
  max-width: 460px;
}

.contact-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

footer {
  border-top: 1px solid var(--border-soft);
  padding: 60px 0 30px;
  position: relative;
  z-index: 1;
}

.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 44px;
}

.foot-col h5 {
  font-size: 12px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
}

.foot-col a {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 11px;
  transition: color var(--transition-fast);
}

.foot-col a:hover {
  color: var(--text);
}

.foot-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border-soft);
  font-size: 13px;
  color: var(--text-faint);
  flex-wrap: wrap;
  gap: 10px;
}

/* ==========================================================================
   LIGHTBOX MODAL
   ========================================================================== */

.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(10, 10, 16, 0.92);
  backdrop-filter: blur(14px);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox-modal.open {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 92vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 82vh;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
  border: 1px solid var(--border);
}

.lightbox-close {
  position: absolute;
  top: -42px;
  right: 0;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 2rem;
  cursor: pointer;
}

.lightbox-caption {
  margin-top: 14px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}


/* ==========================================================================
   HIGH-PRECISION HEADER & BUTTON POLISH (Anti-AI-Slop & Design-Taste)
   ========================================================================== */

.nav-wrap, nav.wrap, .header-container {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  height: 72px;
  width: 100%;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: #FFFFFF;
}

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

.nav-links a {
  color: var(--text-muted, #94A3B8);
  text-decoration: none;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14.5px;
  font-weight: 500;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: #FFFFFF;
}

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

.btn-primary-sm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  color: #080A0F !important;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.btn-primary-sm:hover {
  background: #E2E8F0;
  transform: translateY(-1px);
}

.nav-cta-mobile {
  display: none;
}

/* Primary Button: Crisp, authoritative, non-fuzzy */
.btn-primary {
  background: #FFFFFF !important;
  color: #080A0F !important;
  border: 1px solid #FFFFFF !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15) !important;
}

.btn-primary:hover {
  background: #E2E8F0 !important;
  border-color: #E2E8F0 !important;
  color: #080A0F !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.25) !important;
}

/* De-slopped headline gradient: Clean metallic cyan accent instead of rainbow purple */
h1 .grad, .section-title .grad {
  color: #38BDF8 !important;
  background: linear-gradient(180deg, #FFFFFF 20%, #38BDF8 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  font-weight: 700 !important;
}

/* High-End Multi-Column Footer */
.footer-wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top, .foot-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr 1.2fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand p {
  color: var(--text-muted, #94A3B8);
  font-size: 14px;
  line-height: 1.6;
  max-width: 340px;
  margin-top: 10px;
}

.footer-col, .foot-col {
  display: flex !important;
  flex-direction: column !important;
}

.footer-col h5, .foot-col h5 {
  font-size: 12px !important;
  color: #64748B !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  margin-bottom: 16px !important;
  font-family: 'Space Grotesk', sans-serif !important;
  font-weight: 700 !important;
}

.footer-col ul, .foot-col ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.footer-col li, .foot-col li {
  list-style: none !important;
  margin-bottom: 11px !important;
}

.footer-col a, .foot-col a {
  display: inline-block !important;
  font-size: 14px !important;
  color: var(--text-muted, #94A3B8) !important;
  text-decoration: none !important;
  transition: color 0.15s ease !important;
}

.footer-col a:hover, .foot-col a:hover {
  color: #FFFFFF !important;
}

.footer-bottom, .foot-bottom {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding-top: 24px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  font-size: 13px !important;
  color: #64748B !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
}

.footer-bottom .legal-links a {
  color: #94A3B8;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.15s ease;
}

.footer-bottom .legal-links a:hover {
  color: #FFFFFF;
}


/* ==========================================================================
   SUBPAGE & SAAS COMPATIBILITY CLASSES
   (DershanePRO, KuryeFlow, ISGCore, RandevuFlow, Mobil/Oyun)
   ========================================================================== */

.saas-badge-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--accent-2, #C084FC);
  background: rgba(192, 132, 252, 0.1);
  border: 1px solid rgba(192, 132, 252, 0.25);
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-block;
}

.calc-box-card {
  background: var(--surface, #0B0D13);
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  border-radius: var(--radius-lg, 16px);
  padding: 36px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

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

.pricing-glass-card {
  background: var(--surface, #0B0D13);
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  border-radius: var(--radius-lg, 16px);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform var(--transition-fast, 0.2s ease), border-color var(--transition-fast, 0.2s ease);
}

.pricing-glass-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-highlight, rgba(255, 255, 255, 0.2));
}

.pricing-glass-card.popular {
  background: linear-gradient(180deg, rgba(20, 24, 38, 0.95) 0%, rgba(11, 13, 19, 0.98) 100%);
  border: 1.5px solid var(--accent, #38BDF8);
  box-shadow: 0 20px 50px -15px rgba(56, 189, 248, 0.25);
}

.popular-pill {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #2563EB, #38BDF8);
  color: #FFFFFF;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 9999px;
  letter-spacing: 0.05em;
}

.form-glass-input {
  width: 100%;
  background: var(--bg-elevated, #10141D);
  border: 1px solid var(--border-soft, rgba(255, 255, 255, 0.08));
  padding: 13px 16px;
  border-radius: 8px;
  color: #FFFFFF;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}

.form-glass-input:focus {
  border-color: #38BDF8;
}

.mockup-card {
  background: var(--surface, #0B0D13);
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.mockup-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.18);
}

.mockup-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.mockup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.mockup-img-wrap:hover .mockup-overlay {
  opacity: 1;
}

.service-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: #38BDF8;
  display: inline-block;
  margin-bottom: 8px;
}

/* ==========================================================================
   RESPONSIVE QUERIES
   ========================================================================== */

@media (max-width: 992px) {
  .status-list {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .product-row, .product-row:nth-child(even) {
    flex-direction: column;
    gap: 36px;
  }

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

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

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

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

  .mobile-toggle {
    display: flex;
  }

  .nav-links.active, .nav-menu.open, .nav-menu.active {
    display: flex;
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    z-index: 999;
  }

  .nav-menu.open .nav-list, .nav-menu.active .nav-list {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

  .process-line {
    flex-direction: column;
    gap: 32px;
  }

  .process-line::before {
    display: none;
  }
}

@media (max-width: 560px) {
  .wrap, .container {
    padding: 0 20px;
  }

  .status-list {
    grid-template-columns: 1fr;
  }

  .stat-row {
    grid-template-columns: 1fr;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .services-grid, .standards-grid {
    grid-template-columns: 1fr;
  }

  .footer-top,
  .foot-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contact-card {
    padding: 32px 24px;
  }
}

@media (max-width: 1100px) {
  .status-list {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  .console-telemetry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 40px !important;
  }
  .hero-console-stage,
  .hero-surface-stage,
  .frameless-surface-wrap,
  .frameless-surface {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
}

@media (max-width: 900px) {
  .nav-links {
    display: none !important;
  }
  .nav-links.active {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    position: fixed !important;
    top: 72px !important;
    left: 0 !important;
    width: 100% !important;
    height: calc(100vh - 72px) !important;
    background: #080A0F !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 24px 24px 40px !important;
    gap: 0 !important;
    z-index: 9999 !important;
    overflow-y: auto !important;
  }
  .nav-links.active a {
    width: 100% !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    color: #E2E8F0 !important;
    padding: 15px 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    text-align: left !important;
  }
  .nav-links.active a:hover {
    color: #38BDF8 !important;
  }
  .nav-links.active a.nav-cta-mobile {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-top: 24px !important;
    background: #FFFFFF !important;
    color: #080A0F !important;
    border-radius: 8px !important;
    padding: 14px 20px !important;
    font-weight: 700 !important;
    border-bottom: none !important;
  }
  .nav-links.active a.nav-cta-mobile:hover {
    background: #E2E8F0 !important;
    color: #080A0F !important;
  }
  .mobile-toggle {
    display: flex !important;
  }
  .status-list {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 600px) {
  .wrap {
    padding: 0 16px !important;
  }
  .hero {
    padding: 40px 0 32px !important;
  }
  .hero-grid {
    gap: 28px !important;
    margin-bottom: 32px !important;
  }
  .status-list {
    grid-template-columns: 1fr !important;
  }
  .console-telemetry-grid {
    grid-template-columns: 1fr 1fr;
  }
  .console-nodes-matrix {
    grid-template-columns: 1fr;
  }
  .calc-card {
    padding: 24px 16px !important;
  }
  .contact-card {
    padding: 28px 16px !important;
  }
  .chip {
    padding: 8px 12px !important;
    font-size: 12.5px !important;
  }
  .mockup-tabs {
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .mockup-tabs::-webkit-scrollbar {
    display: none;
  }
  .lead-grid {
    grid-template-columns: 1fr !important;
  }
  .lead-grid-full {
    grid-column: span 1 !important;
  }
}

.lead-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}
.lead-grid-full {
  grid-column: span 2;
}

/* ===== POLISH & FIX PATCHES ===== */

/* Console log card: prevent horizontal text overflow on mobile */
.console-log-card {
  overflow: hidden;
}
.console-log-line {
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Console body: ensure nothing bleeds out */
.console-body {
  overflow: hidden;
}

/* Graph meta text: wrap on small screens */
.graph-meta {
  white-space: nowrap;
  flex-shrink: 0;
}

/* Status panel: tighten vertical spacing on mobile */
@media (max-width: 900px) {
  .status-list {
    gap: 2px !important;
  }
  .status-node {
    padding: 16px 18px !important;
  }
  .status-node .node-val {
    font-size: 28px !important;
  }
}

/* Product section: reduce the gap between section header and first card */
.products-section .section-sub {
  margin-bottom: 32px;
}

/* Mockup card: ensure images don't overflow on mobile */
@media (max-width: 600px) {
  .mockup-card .mockup-frame {
    max-height: 400px;
    overflow: hidden;
  }
  .mockup-card .mockup-frame img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
  /* Tighter section spacing on small mobile */
  .section-title {
    font-size: 28px !important;
    line-height: 1.15 !important;
  }
  .section-sub {
    font-size: 14.5px !important;
  }
  /* Console graph meta: smaller text */
  .graph-meta {
    font-size: 10px !important;
  }
  .graph-top-row {
    flex-wrap: wrap;
    gap: 4px;
  }
}

/* Nodes matrix: single column on small mobile */
@media (max-width: 480px) {
  .console-nodes-matrix {
    grid-template-columns: 1fr !important;
  }
  .console-telemetry-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 6px !important;
  }
  .telemetry-cell {
    padding: 8px 10px !important;
  }
  .t-value {
    font-size: 16px !important;
  }
}

/* Status panel: compact on very small screens */
@media (max-width: 390px) {
  .status-node .node-val {
    font-size: 24px !important;
  }
  .status-node .node-label {
    font-size: 11px !important;
  }
}

/* ==========================================================================
   HERO VISUAL VARIANTS & INTERACTIVE SWITCHER
   ========================================================================== */

.hero-variant-selector-wrap {
  width: 100%;
  max-width: 580px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-variant-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(11, 17, 34, 0.95);
  border: 1px solid rgba(56, 189, 248, 0.22);
  padding: 5px 6px;
  border-radius: 12px;
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.6);
}

.hero-variant-bar .variant-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  color: #64748B;
  padding: 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.v-btn {
  flex: 1;
  background: transparent;
  border: 1px solid transparent;
  color: #94A3B8;
  padding: 8px 10px;
  border-radius: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  white-space: nowrap;
}

.v-btn:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.04);
}

.v-btn.active {
  background: #1E293B;
  border-color: rgba(56, 189, 248, 0.45);
  color: #38BDF8;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.hero-visual-variant {
  display: none;
  width: 100%;
  animation: variantFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-visual-variant.active {
  display: block;
}

@keyframes variantFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Variant 1: Bento Architecture (Modern, Frameless, High Contrast) */
.bento-chassis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
}

.bento-card {
  background: #0B1122;
  border: 1px solid rgba(56, 189, 248, 0.18);
  border-radius: 12px;
  padding: 16px 18px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.7);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.bento-card:hover {
  border-color: rgba(56, 189, 248, 0.38);
  transform: translateY(-2px);
}

.bento-card.wide {
  grid-column: 1 / -1;
}

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

.bento-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #F1F5F9;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.bento-title svg {
  color: #38BDF8;
}

.bento-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
}

.bento-badge.live {
  background: rgba(16, 185, 129, 0.12);
  color: #10B981;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.bento-badge.native {
  background: rgba(56, 189, 248, 0.12);
  color: #38BDF8;
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.bento-badge.secure {
  background: rgba(99, 102, 241, 0.12);
  color: #818CF8;
  border: 1px solid rgba(99, 102, 241, 0.25);
}

.bento-metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 12px;
  background: rgba(0, 0, 0, 0.35);
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.bento-metric-cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bento-metric-cell .b-lbl {
  font-size: 9.5px;
  font-family: 'Space Grotesk', sans-serif;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.bento-metric-cell .b-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
}

.bento-metric-cell .b-val.mint { color: #10B981; }
.bento-metric-cell .b-val.sky { color: #38BDF8; }

.bento-sparkline {
  width: 100%;
  height: 42px;
  margin-top: 4px;
}

.bento-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.bento-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: #94A3B8;
  background: rgba(255, 255, 255, 0.03);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

/* Variant 2: Network Topology Visual */
.network-chassis {
  background: #0B1122;
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.75);
  position: relative;
  overflow: hidden;
}

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

.network-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: #FFFFFF;
}

.network-nodes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}

.net-node-box {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(56, 189, 248, 0.14);
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all 0.2s ease;
}

.net-node-box:hover {
  border-color: rgba(56, 189, 248, 0.4);
  background: rgba(15, 23, 42, 0.85);
}

.net-node-box .node-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.net-node-box .node-title {
  font-size: 12px;
  font-weight: 600;
  color: #E2E8F0;
  font-family: 'Space Grotesk', sans-serif;
}

.net-node-box .node-metric {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: #38BDF8;
  font-weight: 600;
}

.net-node-box .node-sub {
  font-size: 10.5px;
  color: #64748B;
  font-family: 'JetBrains Mono', monospace;
}

/* Variant 3: Cockpit (ROI & Performance) */
.cockpit-chassis {
  background: #0B1122;
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.75);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cockpit-hero-kpi {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, rgba(56, 189, 248, 0.08) 100%);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 10px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cockpit-kpi-main {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.02em;
}

.cockpit-kpi-sub {
  font-size: 12px;
  color: #94A3B8;
  margin-top: 2px;
}

.cockpit-matrix {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.cockpit-card {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 12px 14px;
}

.cockpit-card .c-label {
  font-size: 10px;
  color: #64748B;
  text-transform: uppercase;
  font-family: 'Space Grotesk', sans-serif;
}

.cockpit-card .c-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  font-weight: 700;
  color: #10B981;
  margin: 3px 0;
}

.cockpit-card .c-desc {
  font-size: 11px;
  color: #94A3B8;
  line-height: 1.35;
}

/* ==========================================================================
   PRODUCT MODES SWITCHER & CONTAINERS
   ========================================================================== */

.product-mode-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 760px;
  margin: 0 auto 44px;
  background: rgba(11, 17, 34, 0.95);
  border: 1px solid rgba(56, 189, 248, 0.22);
  padding: 6px;
  border-radius: 14px;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.6);
  flex-wrap: wrap;
}

.product-mode-bar .mode-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  font-weight: 700;
  color: #64748B;
  padding: 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.m-btn {
  background: transparent;
  border: 1px solid transparent;
  color: #94A3B8;
  padding: 9px 14px;
  border-radius: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.m-btn:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.04);
}

.m-btn.active {
  background: #1E293B;
  border-color: rgba(56, 189, 248, 0.45);
  color: #38BDF8;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.product-mode-container {
  display: none;
  animation: variantFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.product-mode-container.active {
  display: block;
}

/* TEASER MODE (Protected, High-Status B2B Showcase) */
.teaser-grid {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.teaser-card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  align-items: center;
  background: #0B1122;
  border: 1px solid rgba(56, 189, 248, 0.16);
  border-radius: 16px;
  padding: 36px 40px;
  box-shadow: 0 20px 48px -12px rgba(0, 0, 0, 0.7);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.teaser-card:hover {
  border-color: rgba(56, 189, 248, 0.35);
  transform: translateY(-2px);
}

.teaser-card:nth-child(even) {
  grid-template-columns: 1fr 1.15fr;
}

.teaser-card:nth-child(even) .teaser-info {
  order: 2;
}

.teaser-card:nth-child(even) .teaser-visual {
  order: 1;
}

.teaser-info {
  display: flex;
  flex-direction: column;
}

.teaser-tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  color: #38BDF8;
  background: rgba(56, 189, 248, 0.1);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
  align-self: flex-start;
  border: 1px solid rgba(56, 189, 248, 0.2);
}

.teaser-info h3 {
  font-size: 28px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 10px;
  font-family: 'Space Grotesk', sans-serif;
}

.teaser-problem {
  font-size: 14.5px;
  color: #94A3B8;
  line-height: 1.6;
  margin-bottom: 20px;
}

.teaser-highlights {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 26px;
}

.teaser-point {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: #E2E8F0;
}

.teaser-point svg {
  color: #10B981;
  flex-shrink: 0;
  margin-top: 3px;
}

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

.btn-demo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #2563EB;
  color: #FFFFFF;
  padding: 12px 22px;
  border-radius: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4);
  transition: all 0.2s ease;
}

.btn-demo:hover {
  background: #1D4ED8;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.55);
}

.teaser-visual {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.8);
  background: #060913;
}

.teaser-img-preview {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: top;
  display: block;
  filter: brightness(0.88) contrast(1.05);
  transition: transform 0.4s ease;
}

.teaser-card:hover .teaser-img-preview {
  transform: scale(1.02);
}

.teaser-glass-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(11, 17, 34, 0.95) 0%, rgba(11, 17, 34, 0.6) 60%, transparent 100%);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.teaser-shield-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  color: #CBD5E1;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 5px 10px;
  border-radius: 6px;
  backdrop-filter: blur(8px);
}

/* COMPACT GRID MODE */
.compact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.compact-card {
  background: #0B1122;
  border: 1px solid rgba(56, 189, 248, 0.16);
  border-radius: 14px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.6);
  transition: all 0.2s ease;
}

.compact-card:hover {
  border-color: rgba(56, 189, 248, 0.38);
  transform: translateY(-3px);
  box-shadow: 0 22px 48px -10px rgba(0, 0, 0, 0.85);
}

.compact-card:nth-child(4),
.compact-card:nth-child(5) {
  grid-column: span 1;
}

.compact-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.compact-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38BDF8;
}

.compact-card h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.compact-card p {
  font-size: 13.5px;
  color: #94A3B8;
  line-height: 1.55;
  margin-bottom: 18px;
  flex-grow: 1;
}

.compact-meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.compact-meta-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3px 8px;
  border-radius: 4px;
  color: #CBD5E1;
}

.compact-link {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  color: #38BDF8;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}

.compact-link:hover {
  gap: 10px;
  color: #60A5FA;
}

/* Responsive adjustments */
@media (max-width: 960px) {
  .teaser-card, .teaser-card:nth-child(even) {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 24px;
  }
  .teaser-card:nth-child(even) .teaser-info {
    order: 1;
  }
  .teaser-card:nth-child(even) .teaser-visual {
    order: 2;
  }
  .compact-grid {
    grid-template-columns: 1fr;
  }
  .hero-variant-bar {
    flex-wrap: wrap;
  }
}

/* ==========================================================================
   HERO FRAMELESS INTERACTIVE SOFTWARE SURFACE (Linear & Apple Quiet Luxury)
   Edge-to-Edge Dark Glass Console with Micro-HUD & 3D Mouse Parallax
   ========================================================================== */

.hero-surface-stage,
.hero-laptop-stage {
  width: 100%;
  max-width: 550px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  perspective: 1200px;
}

/* 1. Top Switcher Bar */
.surface-switcher-bar,
.laptop-switcher-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(9, 10, 16, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 5px 8px;
  border-radius: 12px;
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.6);
  flex-wrap: nowrap;
  overflow-x: auto;
  backdrop-filter: blur(12px);
}

.surface-switcher-bar .switcher-label,
.laptop-switcher-bar .switcher-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  color: #64748B;
  padding: 0 6px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.surface-tab-btn,
.laptop-tab-btn {
  flex: 1;
  background: transparent;
  border: 1px solid transparent;
  color: #94A3B8;
  padding: 6px 12px;
  border-radius: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  white-space: nowrap;
}

.surface-tab-btn:hover,
.laptop-tab-btn:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.04);
}

.surface-tab-btn.active,
.laptop-tab-btn.active {
  background: #151824;
  border-color: rgba(56, 189, 248, 0.4);
  color: #38BDF8;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* 2. 3D Floating Frameless Surface Wrap */
.frameless-surface-wrap,
.laptop-device-wrap {
  position: relative;
  width: 100%;
  transform-style: preserve-3d;
  transition: transform 0.12s ease-out;
  cursor: default;
}

/* 3. Pure Glass Surface Monolith */
.frameless-surface {
  background: rgba(10, 12, 18, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  box-shadow: 
    0 35px 90px -15px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
}

/* Top Window HUD Bar */
.surface-hud-bar,
.screen-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(18, 21, 32, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 10px 16px;
}

.hud-dots,
.screen-dots {
  display: flex;
  gap: 6px;
}

.hud-dot,
.sc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.hud-dot.dot-r, .sc-dot.dot-r { background: #EF4444; }
.hud-dot.dot-y, .sc-dot.dot-y { background: #F59E0B; }
.hud-dot.dot-g, .sc-dot.dot-g { background: #10B981; }

.hud-url,
.screen-url {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(6, 8, 14, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 4px 14px;
  border-radius: 6px;
  font-size: 10.5px;
  color: #94A3B8;
  max-width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hud-url svg,
.screen-url svg {
  color: #10B981;
}

.hud-badges,
.screen-badges {
  font-size: 9.5px;
  font-weight: 700;
  color: #10B981;
  display: flex;
  align-items: center;
}

.surface-display,
.laptop-screen {
  position: relative;
  min-height: 380px;
  display: flex;
  flex-direction: column;
}

.surface-reflection,
.laptop-reflection {
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.025) 50%, transparent 60%);
  pointer-events: none;
}

/* 4. Screen Tab Contents */
.laptop-screen-content {
  display: none;
  padding: 16px;
  flex-direction: column;
  gap: 12px;
  animation: fadeIn 0.3s ease;
}

.laptop-screen-content.active {
  display: flex;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Screen Shared Sub-Components */
.sc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 10px;
}

.sc-title strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: #F8FAFC;
}

.sc-title span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: #94A3B8;
}

.sc-status-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10B981;
  padding: 3px 8px;
  border-radius: 6px;
}

/* KPIs Row */
.sc-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.sc-kpi {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sc-kpi-lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  color: #94A3B8;
}

.sc-kpi-val {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #F1F5F9;
}

.sc-kpi-sub {
  font-size: 9.5px;
  color: #64748B;
}

/* DershanePRO Chart */
.sc-chart-wrap {
  background: rgba(11, 17, 34, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sc-chart-header {
  display: flex;
  justify-content: space-between;
  font-size: 9.5px;
}

.sc-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 52px;
  padding-top: 6px;
}

.sc-bar {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 4px;
}

.bar-fill {
  width: 100%;
  height: var(--h);
  background: linear-gradient(180deg, #38BDF8 0%, #2563EB 100%);
  border-radius: 3px 3px 0 0;
  transition: height 0.3s ease;
}

.sc-bar.active .bar-fill {
  background: linear-gradient(180deg, #10B981 0%, #059669 100%);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.bar-lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 8.5px;
  color: #64748B;
}

/* Recent Transaction Rows */
.sc-rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 10.5px;
}

.row-user {
  color: #E2E8F0;
  font-weight: 500;
}

.row-meta {
  color: #94A3B8;
  font-size: 9.5px;
}

.row-tag {
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

.tag-success {
  background: rgba(16, 185, 129, 0.15);
  color: #10B981;
}

.tag-cyan {
  background: rgba(56, 189, 248, 0.15);
  color: #38BDF8;
}

.tag-warning {
  background: rgba(245, 158, 11, 0.15);
  color: #F59E0B;
}

/* KuryeFlow Radar Screen */
.sc-radar-box {
  background: radial-gradient(circle at center, rgba(37, 99, 235, 0.15) 0%, rgba(6, 11, 23, 0.8) 70%);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 8px;
  height: 95px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.radar-circle {
  position: absolute;
  border: 1px dashed rgba(56, 189, 248, 0.25);
  border-radius: 50%;
}

.radar-circle.rc1 { width: 60px; height: 60px; }
.radar-circle.rc2 { width: 140px; height: 140px; }

.radar-line {
  position: absolute;
  width: 100px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #38BDF8);
  transform-origin: left center;
  left: 50%;
  top: 50%;
  animation: radarSweep 4s linear infinite;
}

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

.courier-pin {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 8.5px;
  color: #E2E8F0;
  background: rgba(11, 17, 34, 0.85);
  padding: 2px 5px;
  border-radius: 4px;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.pin-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 6px #10B981;
}

.courier-pin.p1 { top: 18px; left: 22px; }
.courier-pin.p2 { bottom: 20px; right: 28px; }
.courier-pin.p3 { top: 26px; right: 40px; }

/* Code / Flutter Screen */
.sc-code-box {
  background: #030712;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 10px;
  line-height: 1.45;
  color: #E2E8F0;
  overflow: hidden;
}

.code-line {
  display: flex;
  gap: 8px;
}

.c-num { color: #475569; user-select: none; width: 14px; }
.c-kw { color: #F43F5E; }
.c-cls { color: #38BDF8; font-weight: 600; }
.c-fn { color: #818CF8; }
.c-str { color: #10B981; }
.c-val { color: #F59E0B; }
.c-com { color: #64748B; font-style: italic; }
.c-ann { color: #A855F7; }

.sc-terminal {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 9.5px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.term-prompt {
  color: #38BDF8;
  font-weight: 700;
}

/* Floating Perspective Badges for Laptop */
.floating-badge {
  position: absolute;
  background: rgba(11, 17, 34, 0.9);
  border: 1px solid rgba(56, 189, 248, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 6px 12px;
  border-radius: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  color: #F1F5F9;
  display: flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.8);
  pointer-events: none;
  z-index: 30;
  transform: translateZ(35px);
}

.badge-top-right {
  top: -10px;
  right: 14px;
}

.badge-bottom-left {
  bottom: 18px;
  left: -8px;
}

.badge-bottom-right {
  bottom: -10px;
  right: 16px;
}

.badge-dot-live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
}

.badge-icon-flutter {
  color: #38BDF8;
  font-size: 12px;
}

@media (max-width: 600px) {
  .hero-surface-stage,
  .hero-laptop-stage {
    max-width: 100% !important;
    perspective: none !important;
  }
  .frameless-surface {
    border-radius: 12px;
    width: 100% !important;
    overflow: hidden !important;
  }
  .surface-hud-bar {
    padding: 8px 12px;
  }
  .hud-url {
    max-width: 180px;
    font-size: 9.5px;
    padding: 3px 8px;
  }
  .surface-display,
  .laptop-screen {
    min-height: auto;
    overflow: hidden !important;
  }
  .surface-reflection {
    display: none !important;
  }
  .laptop-screen-content {
    padding: 10px;
    gap: 8px;
  }
  .sc-kpis {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 4px;
  }
  .sc-kpi {
    min-width: 0;
    padding: 5px 6px;
  }
  .sc-kpi-lbl {
    font-size: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .sc-kpi-val {
    font-size: 12.5px;
  }
  .sc-kpi-sub {
    font-size: 7.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .sc-bars {
    gap: 4px;
    height: 42px;
  }
  .sc-row {
    font-size: 9px;
    padding: 5px 8px;
  }
  .row-meta {
    font-size: 8.5px;
  }
  .row-tag {
    font-size: 8px;
    padding: 1px 5px;
  }
  .sc-radar-box {
    height: 80px;
  }
  .floating-badge {
    display: none !important;
  }
}

/* ==========================================================================
   5-STEP INTERACTIVE ENGINEERING SPRINT CONSOLE (Linear / Apple Quiet Luxury)
   ========================================================================== */
.sprint-section {
  position: relative;
  margin-top: 60px;
  margin-bottom: 60px;
  scroll-margin-top: 90px;
}

.sprint-console-wrap {
  margin-top: 36px;
}

.sprint-track {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
  overflow-x: auto;
  padding: 8px 4px 16px 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.sprint-track::-webkit-scrollbar {
  display: none;
}

.sprint-track-rail {
  position: absolute;
  top: 32px;
  left: 30px;
  right: 30px;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 0;
  pointer-events: none;
}

.sprint-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #10B981, #38BDF8);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.sprint-node {
  position: relative;
  z-index: 1;
  background: #090A10;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  padding: 12px 16px;
  cursor: pointer;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  min-width: 185px;
  flex: 1;
  outline: none;
}

.sprint-node:hover {
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  background: #0F101A;
}

.sprint-node.active {
  background: #111320;
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.7), 0 0 16px -2px rgba(56, 189, 248, 0.2);
  transform: translateY(-2px);
}

.node-indicator {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #191B26;
  border: 2px solid rgba(255, 255, 255, 0.25);
  position: relative;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.sprint-node.active .node-indicator {
  background: #10B981;
  border-color: #34D399;
  box-shadow: 0 0 10px #10B981;
}

.sprint-node.passed .node-indicator {
  background: #38BDF8;
  border-color: #7DD3FC;
}

.node-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.node-badge {
  font-family: 'Space Grotesk', monospace;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-faint);
  letter-spacing: 0.6px;
  transition: color 0.25s ease;
}

.sprint-node.active .node-badge {
  color: #38BDF8;
}

.node-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #E2E8F0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.node-time {
  font-size: 11px;
  color: var(--text-muted);
  font-family: monospace;
}

/* Console Container */
.sprint-console {
  background: rgba(12, 13, 19, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.sprint-panel {
  display: none;
  grid-template-columns: 1.05fr 1fr;
  min-height: 490px;
}

.sprint-panel.active {
  display: grid;
  animation: sprintFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes sprintFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Left Info Column */
.sprint-info {
  padding: 38px 42px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.sprint-tag-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.sprint-step-tag {
  font-family: 'Space Grotesk', monospace;
  font-size: 11px;
  font-weight: 700;
  color: #38BDF8;
  letter-spacing: 1px;
}

.sprint-status-pill {
  font-family: monospace;
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(16, 185, 129, 0.12);
  color: #10B981;
  border: 1px solid rgba(16, 185, 129, 0.25);
  letter-spacing: 0.5px;
}

.sprint-info h3 {
  font-size: 23px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.3;
  margin-bottom: 12px;
  font-family: 'Space Grotesk', sans-serif;
}

.sprint-desc {
  font-size: 14px;
  color: #94A3B8;
  line-height: 1.6;
  margin-bottom: 22px;
}

.sprint-deliverables {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 24px;
}

.sprint-deliverables h5 {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text-faint);
  letter-spacing: 0.8px;
  margin-bottom: 10px;
  font-family: 'Space Grotesk', monospace;
}

.sprint-deliverables ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: #CBD5E1;
}

.sprint-deliverables .chk {
  color: #10B981;
  font-weight: 800;
  margin-right: 6px;
}

.sprint-footer-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.meta-label {
  font-size: 9.5px;
  font-weight: 700;
  color: var(--text-faint);
  letter-spacing: 0.6px;
  font-family: monospace;
}

.meta-val {
  font-size: 13px;
  font-weight: 700;
  color: #F1F5F9;
}

.meta-val.highlight {
  color: #38BDF8;
}

/* Right Blueprint / Terminal Column */
.sprint-blueprint {
  background: #06070B;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

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

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

.blueprint-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

.blueprint-dots span:nth-child(1) { background: #EF4444; }
.blueprint-dots span:nth-child(2) { background: #F59E0B; }
.blueprint-dots span:nth-child(3) { background: #10B981; }

.blueprint-title {
  font-family: monospace;
  font-size: 11.5px;
  color: var(--text-muted);
}

.blueprint-badge {
  font-family: monospace;
  font-size: 10px;
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 7px;
  border-radius: 4px;
  color: #94A3B8;
}

.blueprint-body {
  padding: 22px;
  flex: 1;
  overflow-y: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  line-height: 1.65;
}

.blueprint-body pre {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
}

.c-key { color: #38BDF8; font-weight: 600; }
.c-str { color: #34D399; }
.c-num { color: #F59E0B; }

.blueprint-footer {
  padding: 11px 18px;
  background: rgba(0, 0, 0, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.foot-signal {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: monospace;
  font-size: 10.5px;
  color: #94A3B8;
  font-weight: 600;
}

.pulse-green {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
}

/* Tokens View Specific */
.token-matrix {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.token-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 12px 14px;
}

.token-label {
  font-size: 10px;
  font-weight: 700;
  color: #64748B;
  letter-spacing: 0.6px;
  margin-bottom: 8px;
  display: block;
  font-family: monospace;
}

.swatch-row {
  display: flex;
  gap: 8px;
}

.swatch {
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-family: monospace;
}

.bezier-preview {
  font-size: 11px;
  color: #94A3B8;
}

.curve-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  margin-top: 8px;
  position: relative;
  overflow: hidden;
}

.curve-ball {
  height: 100%;
  width: 40px;
  background: #38BDF8;
  border-radius: 2px;
  animation: sweepTrack 2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes sweepTrack {
  0% { transform: translateX(-100%); }
  50% { transform: translateX(350%); }
  100% { transform: translateX(-100%); }
}

.mini-component-demo {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 4px;
}

.mini-btn {
  background: #FFFFFF;
  color: #000000;
  font-size: 11.5px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 7px;
  font-family: 'Space Grotesk', sans-serif;
}

.mini-pill {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid #10B981;
  color: #10B981;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  font-family: monospace;
}

/* Git View Specific */
.git-commits {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.git-commit {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 11.5px;
}

.git-hash {
  color: #F59E0B;
  font-weight: 700;
  font-family: monospace;
}

.git-msg {
  color: #CBD5E1;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.git-tag {
  font-size: 9.5px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(56, 189, 248, 0.15);
  color: #38BDF8;
  font-weight: 700;
  font-family: monospace;
}

/* QA View Specific */
.qa-bars {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.qa-metric {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.qa-meta {
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
  color: #94A3B8;
  font-weight: 600;
  font-family: monospace;
}

.bar-track {
  height: 5px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 3px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #10B981, #38BDF8);
  border-radius: 3px;
}

/* Cert View Specific */
.cert-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cert-badge-row {
  display: flex;
  gap: 10px;
}

.store-badge {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 11.5px;
  font-weight: 700;
  color: #FFFFFF;
}

.cert-guarantee-box {
  display: flex;
  gap: 12px;
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 12px;
  padding: 14px 16px;
}

.cert-shield-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.cert-guarantee-box h4 {
  font-size: 13.5px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.cert-guarantee-box p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.cert-meta-row {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  font-family: monospace;
  color: var(--text-faint);
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.cert-ok {
  color: #10B981;
  font-weight: 700;
}

/* Mobile & Tablet Responsive */
@media (max-width: 1024px) {
  .sprint-panel {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .sprint-info {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 28px 24px;
  }
  .sprint-blueprint {
    min-height: 380px;
  }
}

@media (max-width: 768px) {
  .sprint-track-rail {
    display: none;
  }
  .sprint-node {
    min-width: 160px;
    padding: 10px 12px;
  }
  .node-title {
    font-size: 12.5px;
  }
  .sprint-footer-meta {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .sprint-info h3 {
    font-size: 19px;
  }
}


