/* ==========================================================================
   BABORG Technologies Official Website Stylesheet
   Modern Cloud-Native & AI Infrastructure Aesthetic (Linear / Stripe / Vercel Dark)
   ========================================================================== */

:root {
  --bg-dark: #07090e;
  --bg-surface: #0d121f;
  --bg-card: rgba(15, 23, 42, 0.65);
  --bg-card-hover: rgba(23, 33, 60, 0.85);
  --bg-glass: rgba(10, 15, 28, 0.75);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.15);
  --border-cyan: rgba(6, 182, 212, 0.4);
  --border-indigo: rgba(99, 102, 241, 0.4);
  --border-emerald: rgba(16, 185, 129, 0.4);

  --neon-cyan: #06b6d4;
  --neon-cyan-hover: #22d3ee;
  --cyber-indigo: #6366f1;
  --cyber-purple: #8b5cf6;
  --emerald-green: #10b981;
  --amber-warning: #f59e0b;

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-highlight: #e2e8f0;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;

  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-glow-cyan: 0 0 25px rgba(6, 182, 212, 0.25);
  --shadow-glow-indigo: 0 0 30px rgba(99, 102, 241, 0.25);
  --shadow-glow-emerald: 0 0 20px rgba(16, 185, 129, 0.25);

  --container-max: 1240px;
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  position: relative;
  overflow-x: hidden;
  background-color: var(--bg-dark);
  min-height: 100vh;
}

/* Background Atmospheric Ambience */
.bg-ambient-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  will-change: transform;
}

.orb-cyan {
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, var(--neon-cyan) 0%, transparent 70%);
  top: -150px;
  left: 15%;
  animation: floatOrb 22s ease-in-out infinite alternate;
}

.orb-indigo {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--cyber-indigo) 0%, transparent 70%);
  top: 30%;
  right: -100px;
  animation: floatOrb 28s ease-in-out infinite alternate-reverse;
}

.orb-emerald {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, var(--emerald-green) 0%, transparent 70%);
  bottom: 5%;
  left: -100px;
  opacity: 0.25;
  animation: floatOrb 25s ease-in-out infinite alternate;
}

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

/* Futuristic Tech Grid Overlay */
.bg-grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, black 30%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, black 30%, transparent 90%);
}

.content-wrapper {
  position: relative;
  z-index: 1;
}

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

h1, h2, h3, h4 {
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #ffffff 20%, #38bdf8 65%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-hero {
  background: linear-gradient(135deg, #ffffff 15%, #67e8f9 50%, #818cf8 80%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-indigo {
  background: linear-gradient(135deg, #ffffff 20%, #818cf8 60%, #6366f1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #fff;
}

.brand-icon-svg {
  width: 36px;
  height: 36px;
  display: block;
}

.brand-text-sub {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--neon-cyan);
  display: block;
  letter-spacing: 0.08em;
  margin-top: -2px;
}

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

.nav-link-item a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 2px;
}

.nav-link-item a:hover {
  color: #fff;
}

.nav-link-item a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-cyan), var(--cyber-indigo));
  transition: width var(--transition-normal);
}

.nav-link-item a:hover::after {
  width: 100%;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
  outline: none;
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-highlight);
  border-color: var(--border-subtle);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--border-medium);
  color: #fff;
}

.btn-primary {
  background: linear-gradient(135deg, #0284c7 0%, #06b6d4 50%, #6366f1 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(6, 182, 212, 0.28);
}

.btn-primary:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(6, 182, 212, 0.42);
}

.btn-outline-glow {
  background: rgba(14, 165, 233, 0.06);
  border-color: var(--border-cyan);
  color: var(--neon-cyan);
}

.btn-outline-glow:hover {
  background: rgba(14, 165, 233, 0.14);
  border-color: var(--neon-cyan);
  color: #fff;
  box-shadow: var(--shadow-glow-cyan);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Section Common */
.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--neon-cyan);
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid var(--border-cyan);
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

/* Hero Section */
.hero-section {
  padding: 110px 0 60px 0;
  text-align: center;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(6, 182, 212, 0.35);
  border-radius: 9999px;
  padding: 8px 20px;
  font-size: 0.88rem;
  color: #e2e8f0;
  margin-bottom: 32px;
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.15);
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.hero-pill-badge:hover {
  border-color: var(--neon-cyan);
  transform: translateY(-2px);
  box-shadow: 0 0 26px rgba(6, 182, 212, 0.3);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--emerald-green);
  box-shadow: 0 0 10px var(--emerald-green);
  animation: pulseBreath 2s infinite;
}

@keyframes pulseBreath {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

.hero-slogan {
  font-size: 3.8rem;
  font-weight: 900;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.15;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 820px;
  margin: 0 auto 40px auto;
  line-height: 1.8;
}

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

.btn-large {
  padding: 14px 30px;
  font-size: 1.05rem;
  border-radius: 10px;
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  color: var(--text-muted);
  font-size: 0.86rem;
  flex-wrap: wrap;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trust-item svg {
  width: 16px;
  height: 16px;
  color: var(--neon-cyan);
}

/* ==========================================================================
   Live Global Edge Console (Tech Command Center)
   ========================================================================== */
.console-wrapper {
  margin-top: 60px;
  margin-bottom: 30px;
  background: rgba(11, 16, 29, 0.85);
  border: 1px solid var(--border-cyan);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.65), 0 0 40px rgba(6, 182, 212, 0.12);
  backdrop-filter: blur(20px);
}

.console-header {
  background: rgba(17, 24, 39, 0.95);
  border-bottom: 1px solid var(--border-subtle);
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.console-title-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

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

.mac-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.mac-dot.red { background: #ef4444; }
.mac-dot.yellow { background: #eab308; }
.mac-dot.green { background: #10b981; }

.console-name {
  font-family: var(--font-mono);
  font-size: 0.86rem;
  color: var(--text-highlight);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.console-tabs {
  display: flex;
  gap: 6px;
  background: rgba(0, 0, 0, 0.35);
  padding: 4px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
}

.console-tab-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.console-tab-btn.active {
  background: rgba(6, 182, 212, 0.2);
  color: #fff;
  border: 1px solid var(--border-cyan);
}

.console-metrics-banner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(13, 20, 36, 0.5);
  border-bottom: 1px solid var(--border-subtle);
}

.c-metric-cell {
  padding: 16px 20px;
  border-right: 1px solid var(--border-subtle);
}
.c-metric-cell:last-child {
  border-right: none;
}

.c-metric-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.c-metric-val {
  font-size: 1.45rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--text-primary);
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.c-metric-unit {
  font-size: 0.8rem;
  color: var(--neon-cyan);
  font-weight: 500;
}

.console-body-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  min-height: 380px;
}

/* Latency Nodes Grid */
.console-nodes-pane {
  padding: 24px;
  border-right: 1px solid var(--border-subtle);
}

.pane-caption {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nodes-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.node-card {
  background: rgba(17, 24, 39, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 14px 16px;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.node-card:hover, .node-card.selected {
  border-color: var(--neon-cyan);
  background: rgba(14, 165, 233, 0.08);
  box-shadow: 0 0 16px rgba(6, 182, 212, 0.2);
}

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

.node-city {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.node-pop {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--text-secondary);
}

.node-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.node-latency {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--emerald-green);
}

.node-status-badge {
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 100px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-green);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Real-time Telemetry & Terminal Pane */
.console-telemetry-pane {
  padding: 24px;
  display: flex;
  flex-direction: column;
  background: rgba(8, 12, 22, 0.95);
}

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

.chart-title {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.canvas-container {
  height: 140px;
  width: 100%;
  position: relative;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  overflow: hidden;
}

canvas#qpsCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

.terminal-log-window {
  margin-top: 18px;
  flex: 1;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 12px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: #a5f3fc;
  overflow-y: auto;
  max-height: 150px;
  line-height: 1.5;
}

.log-entry {
  margin-bottom: 4px;
  word-break: break-all;
}
.log-entry .timestamp {
  color: var(--text-muted);
  margin-right: 6px;
}
.log-entry .tag-ok {
  color: var(--emerald-green);
  font-weight: 600;
}
.log-entry .tag-edge {
  color: var(--neon-cyan);
}

/* ==========================================================================
   Product Matrix (4 Core Pillars)
   ========================================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.product-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 36px;
  transition: all var(--transition-normal);
  backdrop-filter: blur(14px);
  overflow: hidden;
}

.product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-cyan);
  background: var(--bg-card-hover);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), var(--shadow-glow-cyan);
}

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

.product-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid var(--border-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.2);
}

.product-card:nth-child(2) .product-icon-box {
  background: rgba(99, 102, 241, 0.1);
  border-color: var(--border-indigo);
  color: var(--cyber-indigo);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.2);
}

.product-card:nth-child(3) .product-icon-box {
  background: rgba(16, 185, 129, 0.1);
  border-color: var(--border-emerald);
  color: var(--emerald-green);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
}

.product-card:nth-child(4) .product-icon-box {
  background: rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.4);
  color: #a78bfa;
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.2);
}

.product-title {
  font-size: 1.55rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.product-tagline {
  font-size: 0.92rem;
  color: var(--neon-cyan);
  font-weight: 500;
  margin-bottom: 16px;
}

.product-desc {
  font-size: 0.98rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.7;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-highlight);
}

.feature-item svg {
  width: 18px;
  height: 18px;
  color: var(--neon-cyan);
  flex-shrink: 0;
  margin-top: 2px;
}

.card-spec-highlight {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  padding: 10px 14px;
  border: 1px dashed var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #a5f3fc;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ==========================================================================
   Solutions (3 Core Arenas)
   ========================================================================== */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.solution-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 32px;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(12px);
}

.solution-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-indigo);
  background: var(--bg-card-hover);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), var(--shadow-glow-indigo);
}

.solution-badge {
  font-size: 0.74rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--cyber-indigo);
  margin-bottom: 16px;
  display: inline-block;
}

.solution-title {
  font-size: 1.35rem;
  margin-bottom: 14px;
}

.solution-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.68;
  margin-bottom: 24px;
  flex: 1;
}

.solution-stats {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 18px;
}

.s-stat-val {
  font-size: 1.3rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: #fff;
}

.s-stat-label {
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Metrics Section (Hardcore Numbers)
   ========================================================================== */
.metrics-section {
  background: linear-gradient(180deg, transparent 0%, rgba(10, 16, 30, 0.7) 50%, transparent 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.metric-box {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition-fast);
}

.metric-box:hover {
  border-color: var(--border-cyan);
  background: rgba(15, 23, 42, 0.85);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.metric-num {
  font-size: 3.2rem;
  font-weight: 800;
  font-family: var(--font-mono);
  margin-bottom: 8px;
  letter-spacing: -0.04em;
}

.metric-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
}

.metric-sub {
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-text-pane p {
  margin-bottom: 20px;
}

.about-quote {
  border-left: 3px solid var(--neon-cyan);
  padding-left: 18px;
  margin: 24px 0;
  font-style: italic;
  color: var(--text-highlight);
  font-size: 1.1rem;
}

.about-visual-card {
  background: rgba(13, 19, 34, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 36px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.arch-stack-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.arch-layer {
  background: rgba(23, 33, 56, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--transition-fast);
}

.arch-layer:hover {
  border-color: var(--neon-cyan);
  transform: translateX(4px);
  background: rgba(23, 33, 56, 0.8);
}

.arch-layer-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
}

.arch-layer-spec {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--neon-cyan);
}

/* ==========================================================================
   Contact & Lead Generation
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
}

.contact-info-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 36px;
  backdrop-filter: blur(12px);
}

.contact-direct-box {
  margin-top: 32px;
  padding: 20px;
  background: rgba(6, 182, 212, 0.05);
  border: 1px solid var(--border-cyan);
  border-radius: 12px;
}

.direct-email-link {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--neon-cyan);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  cursor: pointer;
}

.direct-email-link:hover {
  color: var(--neon-cyan-hover);
  text-decoration: underline;
}

.contact-form-card {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 40px;
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-highlight);
  margin-bottom: 8px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: rgba(8, 12, 22, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 12px 16px;
  color: #fff;
  font-size: 0.95rem;
  font-family: inherit;
  transition: all var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--neon-cyan);
  box-shadow: 0 0 14px rgba(6, 182, 212, 0.25);
  background: rgba(11, 16, 29, 0.95);
}

.form-textarea {
  resize: vertical;
  min-height: 110px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #05070a;
  border-top: 1px solid var(--border-subtle);
  padding: 80px 0 36px 0;
  position: relative;
  z-index: 10;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand p {
  margin-top: 14px;
  max-width: 340px;
  font-size: 0.92rem;
}

.footer-col-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}

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

.footer-links-list a {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

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

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 28px;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 16px;
}

.system-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 6px 14px;
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--emerald-green);
}

/* ==========================================================================
   Modal & Toast Notifications
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  padding: 20px;
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-cyan);
  border-radius: 18px;
  width: 100%;
  max-width: 540px;
  padding: 32px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75), var(--shadow-glow-cyan);
  transform: scale(0.95);
  transition: transform var(--transition-normal);
  position: relative;
}

.modal-backdrop.active .modal-card {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.4rem;
  cursor: pointer;
}

.modal-close-btn:hover {
  color: #fff;
}

/* Toast Container */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid var(--border-cyan);
  color: #fff;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 0.9rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), var(--shadow-glow-cyan);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideInRight 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

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

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: 1fr; }
  .solutions-grid { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .console-body-grid { grid-template-columns: 1fr; }
  .console-nodes-pane { border-right: none; border-bottom: 1px solid var(--border-subtle); }
  .console-metrics-banner { grid-template-columns: repeat(2, 1fr); }
  .c-metric-cell:nth-child(2) { border-right: none; }
  .footer-top-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero-slogan { font-size: 2.6rem; }
  .section-title { font-size: 2rem; }
  .nav-links, .nav-actions .btn-secondary { display: none; }
  .mobile-menu-toggle { display: block; }
  .nodes-list { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  .footer-top-grid { grid-template-columns: 1fr; }
  .footer-bottom-bar { flex-direction: column; text-align: center; }
}
