/* ===========================
   Innovation Net — Design System
   =========================== */

:root {
  /* Colors */
  --navy-950: #060a14;
  --navy-900: #0a0f1e;
  --navy-850: #0d1424;
  --navy-800: #111a2e;
  --navy-700: #16213a;
  --navy-600: #1c2b48;
  --navy-border: #223252;

  --blue-500: #2f6bff;
  --blue-400: #4c85ff;
  --blue-glow: #5b8dff;
  --red-500: #e0303f;
  --red-glow: #ff4757;

  --white: #ffffff;
  --grey-100: #e8edf7;
  --grey-300: #a9b7d1;
  --grey-500: #7688a9;
  --grey-600: #5a6c8a;

  --green: #22c55e;
  --amber: #f2a93b;
  --purple: #8b6bff;

  /* Type */
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Radii */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;

  /* Shadows */
  --glow-blue: 0 0 40px rgba(47, 107, 255, 0.25);
  --shadow-card: 0 8px 24px rgba(0,0,0,0.35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--navy-900);
  color: var(--grey-100);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--white);
  line-height: 1.15;
  margin: 0 0 0.5em 0;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em 0; color: var(--grey-300); }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }

:focus-visible {
  outline: 2px solid var(--blue-400);
  outline-offset: 2px;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-400);
  margin-bottom: 12px;
}

.eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--red-500);
}

.section {
  padding: 88px 0;
  border-bottom: 1px solid var(--navy-border);
}

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-head p { font-size: 17px; }

.section-head.center {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.breadcrumb {
  font-size: 13px;
  color: var(--grey-500);
  padding: 20px 0;
}
.breadcrumb a:hover { color: var(--blue-400); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: 15px;
  font-family: var(--font-body);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue-500);
  color: var(--white);
}
.btn-primary:hover { background: var(--blue-400); box-shadow: var(--glow-blue); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  border-color: var(--navy-border);
  color: var(--grey-100);
}
.btn-outline:hover { border-color: var(--blue-400); color: var(--blue-400); }

.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-block { width: 100%; justify-content: center; }

.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 15, 30, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--navy-border);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand img { height: 34px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text .name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--white);
  letter-spacing: 0.02em;
}
.brand-text .name span { color: var(--blue-400); }
.brand-text .est {
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--grey-500);
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav > ul { display: flex; align-items: center; gap: 2px; }

.nav-link {
  padding: 10px 14px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--grey-300);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative;
}
.nav-link:hover, .nav-link.active { color: var(--white); }
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--blue-400);
}
.nav-link svg { width: 12px; height: 12px; }

.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-sm);
  color: var(--grey-300);
}
.icon-btn:hover { background: var(--navy-700); color: var(--white); }
.icon-btn svg { width: 18px; height: 18px; }

.mobile-toggle { display: none; }

/* ---- Footer ---- */
.site-footer {
  background: var(--navy-950);
  padding-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--navy-border);
}
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { font-size: 14px; }
.footer-col h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--grey-500);
  margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 12px; }
.footer-col a { font-size: 14.5px; color: var(--grey-300); }
.footer-col a:hover { color: var(--blue-400); }

.social-row { display: flex; gap: 10px; margin-top: 20px; }
.social-row a {
  width: 34px; height: 34px;
  border: 1px solid var(--navy-border);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--grey-300);
}
.social-row a:hover { border-color: var(--blue-400); color: var(--blue-400); }
.social-row svg { width: 16px; height: 16px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 13px;
  color: var(--grey-600);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom .links { display: flex; gap: 20px; }
.footer-bottom a:hover { color: var(--blue-400); }

/* ---- Cards ---- */
.card {
  background: var(--navy-800);
  border: 1px solid var(--navy-border);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: var(--blue-400); transform: translateY(-2px); }

.icon-box {
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.icon-box svg { width: 26px; height: 26px; }

.icon-box.blue { background: rgba(47,107,255,0.14); color: var(--blue-400); }
.icon-box.teal { background: rgba(45, 212, 191, 0.14); color: #2dd4bf; }
.icon-box.orange { background: rgba(242,169,59,0.14); color: var(--amber); }
.icon-box.purple { background: rgba(139,107,255,0.14); color: var(--purple); }
.icon-box.green { background: rgba(34,197,94,0.14); color: var(--green); }
.icon-box.red { background: rgba(224,48,63,0.14); color: var(--red-glow); }

.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { font-size: 14.5px; margin-bottom: 18px; }

.card-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-400);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card-link svg { width: 14px; height: 14px; }
.card-link:hover { gap: 9px; }

/* ---- Grids ---- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }

/* ---- Stats bar ---- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--navy-border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.stat {
  padding: 28px 20px;
  text-align: center;
  border-right: 1px solid var(--navy-border);
}
.stat:last-child { border-right: none; }
.stat .num {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  color: var(--white);
}
.stat .label { font-size: 13px; color: var(--grey-500); margin-top: 4px; }

/* ---- Hero ---- */
.hero {
  padding: 72px 0 0;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding-bottom: 56px;
}
.hero h1 {
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.hero .accent { color: var(--blue-400); }
.hero-lede { font-size: 17px; max-width: 480px; }
.hero-cta { display: flex; gap: 14px; margin-top: 28px; }
.hero-media { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 380px; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

/* CSS-crafted server rack visual (no stock imagery needed) */
.rack-scene {
  width: 100%; height: 100%; min-height: 380px;
  background: linear-gradient(180deg, #0a0f1e 0%, #0d1730 60%, #0a0f1e 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 30px;
}
.rack-scene::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(76,133,255,0.18), transparent 60%);
}
.rack-col {
  flex: 1;
  height: 88%;
  background: linear-gradient(180deg, #131c30, #0c1322);
  border: 1px solid var(--navy-border);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px 6px;
  position: relative;
  z-index: 1;
}
.rack-col .u {
  height: 8px;
  background: #1a2540;
  border-radius: 2px;
  display: flex;
  align-items: center;
  padding: 0 4px;
  gap: 3px;
}
.rack-col .u i {
  width: 3px; height: 3px; border-radius: 50%;
  background: #2dd4bf;
  box-shadow: 0 0 4px #2dd4bf;
}
.rack-col .u:nth-child(3n) i { background: var(--blue-glow); box-shadow: 0 0 4px var(--blue-glow); }
.rack-col .u:nth-child(5n) i { background: var(--red-glow); box-shadow: 0 0 4px var(--red-glow); }
.badge-float {
  position: absolute;
  bottom: 20px; right: 20px;
  background: rgba(10,15,30,0.9);
  border: 1px solid var(--navy-border);
  border-radius: var(--r-md);
  padding: 14px 18px;
  display: flex; align-items: center; gap: 12px;
  backdrop-filter: blur(6px);
}
.badge-float .num { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--white); }
.badge-float .label { font-size: 12px; color: var(--grey-500); }

/* ---- Feature strip ---- */
.feature-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--navy-border);
  border-bottom: 1px solid var(--navy-border);
}
.feature-item {
  padding: 24px 20px;
  border-right: 1px solid var(--navy-border);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.feature-item:last-child { border-right: none; }
.feature-item svg { width: 20px; height: 20px; color: var(--blue-400); flex-shrink: 0; margin-top: 2px; }
.feature-item .t { font-size: 13.5px; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: 0.02em; }
.feature-item .d { font-size: 13px; color: var(--grey-500); margin-top: 2px; }

/* ---- CTA banner ---- */
.cta-banner {
  background: linear-gradient(120deg, var(--navy-800), var(--navy-700));
  border: 1px solid var(--navy-border);
  border-radius: var(--r-lg);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cta-banner h3 { font-size: 24px; margin-bottom: 6px; }
.cta-banner p { margin: 0; }
.cta-banner .actions { display: flex; gap: 12px; flex-shrink: 0; align-items: center; }

/* ---- Table of contents / sidebar nav ---- */
.side-nav { background: var(--navy-800); border: 1px solid var(--navy-border); border-radius: var(--r-lg); padding: 8px; }
.side-nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 16px;
  font-size: 14.5px;
  border-radius: var(--r-sm);
  color: var(--grey-300);
}
.side-nav a.active { background: var(--blue-500); color: var(--white); }
.side-nav a:hover:not(.active) { background: var(--navy-700); color: var(--white); }
.side-nav svg { width: 14px; height: 14px; }

/* ---- Forms ---- */
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--grey-300); margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%;
  background: var(--navy-700);
  border: 1px solid var(--navy-border);
  border-radius: var(--r-sm);
  padding: 13px 14px;
  font-size: 14.5px;
  color: var(--white);
  font-family: var(--font-body);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--blue-400);
}
.field textarea { resize: vertical; min-height: 110px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.checkbox-row { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--grey-300); margin-bottom: 20px; }
.checkbox-row input { width: auto; margin-top: 3px; }

/* ---- Badges/pills ---- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 600;
}
.pill.green { background: rgba(34,197,94,0.14); color: var(--green); }
.pill.blue { background: rgba(47,107,255,0.14); color: var(--blue-400); }
.pill-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ---- Utility ---- */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .main-nav { display: none; }
  .mobile-toggle { display: flex; }
  .hero-grid, .grid-2 { grid-template-columns: 1fr; }
  .grid-3, .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-strip { grid-template-columns: repeat(2, 1fr); }
  .feature-item { border-bottom: 1px solid var(--navy-border); }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .hero h1 { font-size: 36px; }
  .cta-banner { flex-direction: column; align-items: flex-start; }
  .field-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .feature-strip { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
