:root {
  --bg: #07111f;
  --bg2: #0c1b30;
  --card: rgba(12, 23, 41, 0.82);
  --line: rgba(124, 223, 255, 0.16);
  --text: #e8f2fb;
  --muted: #b4c4d5;
  --accent: #7cdfff;
  --accent2: #f4c26b;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(124,223,255,0.18), transparent 28%),
    radial-gradient(circle at right top, rgba(244,194,107,0.08), transparent 20%),
    linear-gradient(180deg, var(--bg) 0%, #050b14 100%);
}
a { color: inherit; text-decoration: none; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px 28px;
  backdrop-filter: blur(18px);
  background: rgba(6, 12, 21, 0.72);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.brand { display:flex; align-items:center; gap:14px; }
.brand-mark {
  width: 88px; height: 64px; border-radius: 18px;
  display:grid; place-items:center; font-weight:800;
  overflow: hidden;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.brand strong, .brand span { display:block; }
.brand span { color: var(--muted); font-size: 12px; }
.topbar nav { display:flex; gap:18px; flex-wrap:wrap; color: var(--muted); }
.topbar nav a:hover { color: var(--accent); }

main { width:min(1180px, calc(100% - 32px)); margin: 0 auto; }
.hero {
  display:grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 26px;
  padding: 56px 0 28px;
  min-height: calc(100vh - 90px);
  align-items:center;
}
.hero-copy h1 {
  font-family: "Fraunces", serif;
  font-size: clamp(43px, 5.8vw, 77px);
  line-height: 0.96;
  margin: 14px 0 16px;
  max-width: 13ch;
}
.lede, .section-head p, .card p, .timeline p, .contact-box p { color: var(--muted); line-height: 1.7; }
.eyebrow {
  margin: 0;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 800;
  font-size: 12px;
}
.cta-row { display:flex; gap: 12px; flex-wrap:wrap; margin: 26px 0; }
.btn {
  display:inline-flex; align-items:center; justify-content:center;
  padding: 14px 20px; border-radius: 999px; font-weight: 800;
  border: 1px solid transparent;
}
.btn-primary { background: var(--accent); color: #06101d; }
.btn-secondary { border-color: rgba(124,223,255,0.25); color: var(--text); }
.chips { display:flex; flex-wrap:wrap; gap:10px; }
.chips span {
  padding: 9px 12px; border: 1px solid var(--line); border-radius:999px;
  background: rgba(124,223,255,0.06); color: var(--text); font-size: 13px;
}
.hero-panel, .card, .contact-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: 0 26px 80px rgba(0,0,0,0.25);
}
.hero-panel { padding: 28px; }
.panel-label, .step { color: var(--accent2); text-transform: uppercase; letter-spacing: 0.14em; font-size: 12px; font-weight: 800; }
.timeline { margin-top: 22px; border-left: 2px solid rgba(124,223,255,0.15); padding-left: 18px; }
.timeline > div { margin-bottom: 22px; position: relative; }
.timeline > div:before {
  content:""; position:absolute; left:-28px; top:6px; width: 10px; height: 10px; border-radius:50%;
  background: var(--accent); box-shadow: 0 0 0 6px rgba(124,223,255,0.1);
}
.timeline strong, .card h3, .section-head h2, .contact-box strong { color: #fff; }

.section { padding: 44px 0; }
.section-alt { padding: 54px 0; }
.section-head { max-width: 760px; margin-bottom: 24px; }
.section-head h2 {
  font-family: "Fraunces", serif;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.04;
  margin: 10px 0 14px;
}

.grid { display:grid; gap: 18px; }
.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.flow {
  display:grid;
  grid-template-columns: 1fr 28px 1fr 28px 1fr 28px 1fr;
  gap: 4px;
  align-items: stretch;
}
.flow-node {
  padding: 24px 28px;
  border-radius: 22px;
  background: var(--card);
  border: 1px solid var(--line);
  min-height: 170px;
}
.flow-node span {
  display:inline-flex;
  width: 38px;
  height: 38px;
  align-items:center;
  justify-content:center;
  border-radius: 50%;
  background: rgba(124,223,255,0.16);
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 14px;
}
.flow-node strong { display:block; font-size: 18px; margin-bottom: 8px; color: #fff; }
.flow-arrow {
  display:grid;
  place-items:center;
  color: var(--accent);
  font-size: 28px;
  font-weight: 800;
}
.architecture-panel {
  margin-top: 22px;
  display:grid;
  grid-template-columns: repeat(11, minmax(0, 1fr));
  gap: 10px;
  align-items:center;
  padding: 18px;
  border-radius: 22px;
  background: rgba(12,23,41,0.72);
  border: 1px solid var(--line);
}
.architecture-node {
  text-align:center;
  padding: 16px 12px;
  min-height: 72px;
  border-radius: 18px;
  background: rgba(124,223,255,0.06);
  border: 1px solid rgba(124,223,255,0.14);
  font-weight: 800;
  color: #e8f2fb;
  display:grid;
  place-items:center;
}
.architecture-node.accent {
  background: linear-gradient(135deg, rgba(124,223,255,0.24), rgba(42,124,255,0.14));
  color: #ffffff;
}
.architecture-arrow {
  text-align:center;
  color: var(--accent);
  font-size: 22px;
  font-weight: 800;
}
.card { padding: 22px; }
.card.soft-blue { background: linear-gradient(180deg, rgba(92, 183, 255, 0.18), rgba(12,23,41,0.82)); }
.card.soft-cyan { background: linear-gradient(180deg, rgba(124, 223, 255, 0.20), rgba(12,23,41,0.82)); }
.card.soft-sky { background: linear-gradient(180deg, rgba(143, 219, 255, 0.18), rgba(12,23,41,0.82)); }
.card.soft-ice { background: linear-gradient(180deg, rgba(174, 235, 255, 0.18), rgba(12,23,41,0.82)); }
.card.accent {
  background: linear-gradient(180deg, rgba(124,223,255,0.11), rgba(12,23,41,0.82));
}
.step { display:inline-block; margin-bottom: 14px; }
.section-contact {
  display:grid;
  grid-template-columns: 1fr 360px;
  gap: 18px;
  align-items:start;
  padding-bottom: 60px;
}
.contact-box { padding: 26px; }

@media (max-width: 1024px) {
  .hero, .cards-4, .cards-5, .cards-3, .section-contact, .flow { grid-template-columns: 1fr; }
  .hero-copy h1 { max-width: none; }
  .flow-arrow { display:none; }
  .architecture-panel { grid-template-columns: 1fr; }
  .architecture-arrow { display:none; }
}
@media (max-width: 720px) {
  .topbar { padding: 16px; }
  .topbar nav { display: none; }
  main { width: min(100% - 20px, 1180px); }
  .hero { padding-top: 34px; }
}
