:root {
  --ink: #070D1A;
  --ink-2: #0C1424;
  --ink-3: #111C33;
  --line: rgba(148, 178, 230, 0.14);
  --text: #E6EDF8;
  --text-dim: #9FB0C9;
  --cyan: #4FD1E8;
  --violet: #7C6CF0;
  --amber: #F5B453;
  --grad: linear-gradient(100deg, var(--cyan), var(--violet));
  --radius: 14px;
  --display: 'Space Grotesk', sans-serif;
  --body: 'IBM Plex Sans', sans-serif;
  --mono: 'IBM Plex Mono', monospace;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: rgba(79, 209, 232, 0.3); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- Nav ---------- */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(7, 13, 26, 0.72);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 66px;
}
.logo {
  font-family: var(--display); font-weight: 700; font-size: 1.15rem;
  letter-spacing: 0.02em; color: var(--text); text-decoration: none;
  display: flex; align-items: center; gap: 10px;
}
.logo-crest {
  width: 34px; height: 34px; flex-shrink: 0;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
  transition: transform 0.2s ease;
}
.logo:hover .logo-crest { transform: scale(1.08); }
.logo span.tld { color: var(--text-dim); font-weight: 500; }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a {
  color: var(--text-dim); text-decoration: none; font-size: 0.94rem;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: 10px;
  font-family: var(--body); font-weight: 600; font-size: 0.95rem;
  text-decoration: none; cursor: pointer; border: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn-primary {
  background: var(--grad); color: #06101f;
  box-shadow: 0 4px 24px rgba(79, 209, 232, 0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(124, 108, 240, 0.35); }
.btn-ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: var(--ink-3); transform: translateY(-2px); }
.nav-cta { padding: 9px 18px; font-size: 0.9rem; }

/* ---------- Nav dropdowns ---------- */
.dropdown { position: relative; }
.dropdown::after {
  content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 14px;
}
.dropdown-menu {
  position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translate(-50%, 8px);
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px;
  min-width: 200px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translate(-50%, 0);
}
.dropdown-menu a {
  display: flex; align-items: center; gap: 11px;
  padding: 10px 13px; border-radius: 8px;
  white-space: nowrap; font-size: 0.92rem;
}
.dropdown-menu a:hover { background: var(--ink-3); color: var(--text); }
.dropdown-menu svg { width: 17px; height: 17px; flex-shrink: 0; }

/* ---------- Hero ---------- */
header {
  position: relative;
  min-height: 92vh;
  display: flex; align-items: center;
  padding: 130px 0 90px;
  overflow: hidden;
}
#net {
  position: absolute; inset: 0; z-index: 0;
  opacity: 0.85;
}
.hero-glow {
  position: absolute; z-index: 0;
  width: 720px; height: 720px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124,108,240,0.16), transparent 65%);
  top: -220px; right: -180px; pointer-events: none;
}
.hero-content { position: relative; z-index: 2; max-width: 780px; }
.eyebrow {
  font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--cyan);
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 22px;
}
.eyebrow::before {
  content: ''; width: 26px; height: 1px; background: var(--cyan);
}
h1 {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5.6vw, 4.1rem);
  font-weight: 700; line-height: 1.08; letter-spacing: -0.02em;
  margin-bottom: 26px;
}
.rotator {
  display: inline-block;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  border-bottom: 2px solid rgba(79,209,232,0.4);
  min-width: 1ch;
}
.cursor-bar {
  display: inline-block; width: 3px; height: 0.85em;
  background: var(--cyan); margin-left: 4px;
  animation: blink 1s steps(1) infinite;
  vertical-align: -0.08em;
}
@keyframes blink { 50% { opacity: 0; } }
.hero-sub {
  color: var(--text-dim); font-size: 1.18rem; max-width: 580px;
  margin-bottom: 38px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
section { padding: 96px 0; position: relative; }
.section-head { max-width: 640px; margin-bottom: 56px; }
h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  font-weight: 700; letter-spacing: -0.015em; line-height: 1.15;
  margin: 14px 0 16px;
}
.section-head p { color: var(--text-dim); font-size: 1.06rem; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .cursor-bar { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Services ---------- */
.grid { display: grid; gap: 20px; }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(79, 209, 232, 0.35);
  background: var(--ink-3);
}
.card-icon {
  width: 44px; height: 44px; border-radius: 11px;
  display: grid; place-items: center;
  background: rgba(79, 209, 232, 0.1);
  border: 1px solid rgba(79, 209, 232, 0.2);
  margin-bottom: 18px;
}
.card-icon svg { width: 22px; height: 22px; stroke: var(--cyan); }
.card h3 {
  font-family: var(--display); font-size: 1.12rem; font-weight: 600;
  margin-bottom: 10px;
}
.card p { color: var(--text-dim); font-size: 0.95rem; }

/* ---------- Products ---------- */
#products { background: var(--ink-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.product-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 20px; overflow: hidden;
  text-decoration: none; color: inherit;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 108, 240, 0.45);
  box-shadow: 0 20px 60px rgba(7, 13, 26, 0.6), 0 0 40px rgba(124, 108, 240, 0.12);
}
.product-info { padding: 46px 42px; display: flex; flex-direction: column; justify-content: center; }
.badge {
  align-self: flex-start;
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--amber);
  border: 1px solid rgba(245, 180, 83, 0.35);
  background: rgba(245, 180, 83, 0.08);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 18px;
}
.product-info h3 {
  font-family: var(--display); font-size: 1.9rem; font-weight: 700;
  margin-bottom: 12px;
}
.product-info p { color: var(--text-dim); margin-bottom: 26px; }
.product-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--cyan); font-size: 0.98rem;
}
.product-link svg { width: 17px; height: 17px; transition: transform 0.2s ease; }
.product-card:hover .product-link svg { transform: translateX(5px); }
.product-visual {
  background:
    radial-gradient(circle at 70% 30%, rgba(124,108,240,0.28), transparent 55%),
    radial-gradient(circle at 25% 75%, rgba(79,209,232,0.22), transparent 55%),
    var(--ink-3);
  display: grid; place-items: center;
  min-height: 300px; position: relative; overflow: hidden;
}
.product-visual::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black 30%, transparent 75%);
}
.product-wordmark {
  position: relative;
  font-family: var(--display); font-weight: 700;
  font-size: 2.6rem; letter-spacing: -0.02em;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.coming-soon {
  margin-top: 22px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 26px 30px;
  color: var(--text-dim);
  font-size: 0.95rem;
  display: flex; align-items: center; gap: 14px;
}
.pulse-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--violet); flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(124, 108, 240, 0.5);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 12px rgba(124, 108, 240, 0); }
  100% { box-shadow: 0 0 0 0 rgba(124, 108, 240, 0); }
}

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; counter-reset: step; }
.step {
  padding: 28px 26px;
  border-left: 2px solid var(--line);
  transition: border-color 0.25s ease;
}
.step:hover { border-left-color: var(--cyan); }
.step-num {
  font-family: var(--mono); font-size: 0.8rem; color: var(--cyan);
  letter-spacing: 0.1em; margin-bottom: 12px; display: block;
}
.step h3 { font-family: var(--display); font-size: 1.08rem; font-weight: 600; margin-bottom: 8px; }
.step p { color: var(--text-dim); font-size: 0.93rem; }

/* ---------- Contact / CTA ---------- */
#contact .cta-panel {
  background:
    radial-gradient(circle at 15% 20%, rgba(79,209,232,0.12), transparent 50%),
    radial-gradient(circle at 85% 80%, rgba(124,108,240,0.14), transparent 50%),
    var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 70px 40px;
  text-align: center;
}
#contact h2 { margin-top: 0; }
#contact p { color: var(--text-dim); max-width: 520px; margin: 0 auto 34px; }
.contact-email {
  font-family: var(--mono); font-size: 0.95rem; color: var(--text-dim);
  margin-top: 26px; display: block;
}
.contact-email a { color: var(--cyan); text-decoration: none; }
.contact-email a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--line);
  padding: 44px 0;
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 18px;
  color: var(--text-dim); font-size: 0.88rem;
}
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: var(--text-dim); text-decoration: none; }
.footer-links a:hover { color: var(--text); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-links a:not(.btn), .nav-links .dropdown { display: none; }
  .product-card { grid-template-columns: 1fr; }
  .product-visual { min-height: 210px; order: -1; }
  section { padding: 72px 0; }
  header { min-height: auto; padding: 120px 0 70px; }
}
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px;
}
