/* ============================================
   NEXUS STUDIO — Design System
   Palette: deep navy + cyan node-network accent
   Type: Manrope (display/headings) + JetBrains Mono (labels/data) + Inter (body)
   ============================================ */

:root {
  --bg: #0a1632;
  --bg-soft: #0d1a3a;
  --card: #142547;
  --card-border: rgba(0, 212, 230, 0.16);
  --card-border-hover: rgba(0, 212, 230, 0.4);
  --cyan: #00d4e6;
  --cyan-bright: #4de9f5;
  --cyan-dim: rgba(0, 212, 230, 0.55);
  --white: #ffffff;
  --text: #c7d2e6;
  --text-dim: #7f8caa;
  --divider: rgba(148, 163, 184, 0.14);

  --font-display: "Manrope", "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Menlo, monospace;
  --font-body: "Inter", "Segoe UI", sans-serif;

  --container: 1120px;
  --radius: 16px;
  --radius-sm: 10px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Background network texture ---------- */
.hero {
  background-image:
    linear-gradient(180deg, rgba(10,22,50,0.75) 0%, rgba(10,22,50,0.94) 65%, var(--bg) 100%),
    url("images/bg-network-sparse.jpg");
  background-size: cover;
  background-position: center top;
}

.photo-band {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 320px;
  background-image:
    linear-gradient(180deg, rgba(10,16,32,0.35) 0%, rgba(8,13,28,0.75) 100%),
    url("images/photo-meeting-room.jpg");
  background-size: cover;
  background-position: center 30%;
}

.glow-section {
  position: relative;
}
.glow-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("images/bg-network-glow.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.22;
  z-index: 0;
  pointer-events: none;
}
.glow-section > .wrap { position: relative; z-index: 1; }

/* ---------- Header ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 22, 50, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--divider);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo-link { display: flex; align-items: center; }
.logo-link img { height: 42px; width: auto; }

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

nav.main-nav a {
  color: var(--text-dim);
  transition: color 0.2s ease;
  white-space: nowrap;
}
nav.main-nav a:hover,
nav.main-nav a.active { color: var(--cyan); }

.nav-cta {
  background: var(--cyan);
  color: var(--bg) !important;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px !important;
  padding: 12px 22px;
  border-radius: 999px;
  text-transform: none !important;
  letter-spacing: 0 !important;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 212, 230, 0.35);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 26px;
  cursor: pointer;
}

@media (max-width: 860px) {
  nav.main-nav {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--divider);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 28px 20px;
    transform: translateY(-140%);
    transition: transform 0.25s ease;
  }
  nav.main-nav.open { transform: translateY(0); }
  nav.main-nav a { padding: 14px 0; width: 100%; border-bottom: 1px solid var(--divider); }
  nav.main-nav a:last-of-type { border-bottom: none; }
  .nav-cta { margin-top: 10px; text-align: center; }
  .nav-toggle { display: block; }
}

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px 2px var(--cyan-dim);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--white);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
}

h1 { font-size: clamp(42px, 6.5vw, 76px); }
h2 { font-size: clamp(32px, 4.5vw, 52px); }
h3 { font-size: clamp(22px, 2.6vw, 28px); }

.lede {
  font-size: clamp(18px, 2vw, 22px);
  color: var(--text);
  max-width: 680px;
  margin: 0 0 34px;
}

p { margin: 0 0 16px; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  padding: 17px 30px;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn-primary {
  background: var(--cyan);
  color: var(--bg);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0, 212, 230, 0.38); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(148, 163, 184, 0.35);
}
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan); }

.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
section { position: relative; z-index: 1; padding: 100px 0; }
section.tight { padding: 70px 0; }
section.alt { background: var(--bg-soft); }
.divider-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--divider) 20%, var(--divider) 80%, transparent);
}

/* ---------- Hero ---------- */
.hero {
  padding: 76px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero-inner { max-width: 760px; }
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 64px;
  flex-wrap: wrap;
}
.hero-stat .num {
  font-family: var(--font-mono);
  font-size: 30px;
  font-weight: 700;
  color: var(--cyan);
  display: block;
}
.hero-stat .label {
  font-size: 13px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

/* ---------- Cards ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 34px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: var(--card-border-hover); }

.card-icon {
  width: 46px;
  height: 46px;
  color: var(--cyan);
  margin-bottom: 22px;
}
.card-icon svg { width: 100%; height: 100%; }
.card-icon img { width: 100%; height: 100%; object-fit: contain; }

.grid {
  display: grid;
  gap: 24px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

/* ---------- Pricing table cards ---------- */
.price-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 36px;
}
.price-card + .price-card { margin-top: 24px; }
.price-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.price-card-head .card-icon { margin-bottom: 14px; }
.price-tag {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan-bright);
  background: rgba(0, 212, 230, 0.1);
  border: 1px solid rgba(0, 212, 230, 0.25);
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
  align-self: flex-start;
}

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--divider);
}
.price-row:last-child { border-bottom: none; padding-bottom: 0; }
.price-row .item-name { color: var(--text); font-size: 16px; }
.price-row .item-price {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--white);
  font-size: 17px;
  white-space: nowrap;
}
.price-row .item-price .from { color: var(--text-dim); font-weight: 400; font-size: 13px; margin-right: 4px; }
.price-row .item-price .per { color: var(--text-dim); font-weight: 400; font-size: 13px; }

/* ---------- Numbered steps (real sequence) ---------- */
.steps { max-width: 640px; }
.step {
  display: flex;
  gap: 26px;
  position: relative;
  padding-bottom: 50px;
}
.step:last-child { padding-bottom: 0; }
.step::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 50px;
  bottom: 0;
  width: 1px;
  background: var(--divider);
}
.step:last-child::before { display: none; }
.step-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--card-border-hover);
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  color: var(--cyan);
  font-size: 17px;
  font-weight: 700;
}
.step-body h3 { margin-bottom: 8px; font-size: 20px; }
.step-body p { color: var(--text-dim); margin: 0; }

/* ---------- Comparison / value strip ---------- */
.value-strip {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
  align-items: center;
}
@media (max-width: 780px) {
  .value-strip { grid-template-columns: 1fr; }
  .value-strip .vs-divider { justify-self: center; }
}
.value-col { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 32px; }
.value-col .amount { font-family: var(--font-mono); font-size: 40px; font-weight: 700; margin: 10px 0; }
.value-col.old .amount { color: var(--text-dim); text-decoration: line-through; text-decoration-color: rgba(148,163,184,0.4); }
.value-col.new .amount { color: var(--cyan); }
.vs-divider {
  font-family: var(--font-mono);
  color: var(--text-dim);
  font-size: 13px;
  letter-spacing: 0.1em;
}

/* ---------- Tags / pills ---------- */
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.tag {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text);
  border: 1px solid var(--divider);
  padding: 8px 14px;
  border-radius: 999px;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 64px 48px;
  text-align: center;
}
.cta-band h2 { margin-bottom: 14px; }
.cta-band p { color: var(--text-dim); max-width: 520px; margin: 0 auto 34px; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--divider);
  padding: 50px 0 40px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-logo img { height: 26px; }
.footer-logo span { font-family: var(--font-mono); font-size: 13px; color: var(--text-dim); }
.footer-links { display: flex; gap: 26px; font-family: var(--font-mono); font-size: 13px; color: var(--text-dim); flex-wrap: wrap; }
.footer-links a:hover { color: var(--cyan); }
.footer-copy { font-size: 13px; color: var(--text-dim); width: 100%; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--divider); }

/* ---------- Image placeholders (for images to be added later) ---------- */
.img-placeholder {
  aspect-ratio: 4 / 3;
  border: 1.5px dashed rgba(0, 212, 230, 0.35);
  border-radius: var(--radius);
  background: rgba(0, 212, 230, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-dim);
  text-align: center;
  padding: 24px;
}
.img-placeholder svg { width: 34px; height: 34px; opacity: 0.6; }
.img-placeholder .ph-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.text-dim { color: var(--text-dim); }
.center { text-align: center; }
.max-w-sm { max-width: 560px; }
.max-w-sm.center { margin-left: auto; margin-right: auto; }

@media (max-width: 600px) {
  section { padding: 64px 0; }
  .hero { padding: 50px 0 60px; }
  .cta-band { padding: 44px 26px; }
}
