:root {
  --bg: #04070e;
  --bg-2: #07101f;
  --panel: rgba(14, 26, 48, 0.55);
  --border: rgba(80, 160, 255, 0.18);
  --border-hi: rgba(64, 170, 255, 0.55);
  --blue: #1e90ff;
  --blue-hi: #3fb6ff;
  --blue-deep: #0a4fd6;
  --silver: #d9e1ea;
  --text: #c6d2e0;
  --muted: #8193a8;
  --white: #f3f7fb;
  --radius: 18px;
  --maxw: 1180px;
  --display: "Orbitron", "Segoe UI", sans-serif;
  --body: "Inter", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(1200px 700px at 75% -10%, rgba(30, 144, 255, 0.18), transparent 60%),
    radial-gradient(900px 600px at 0% 40%, rgba(10, 79, 214, 0.12), transparent 60%),
    var(--bg);
  color: var(--text);
  font: 400 17px/1.65 var(--body);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.bg-grid {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(63, 182, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(63, 182, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 75%);
}

/* ---------- type helpers ---------- */
h1, h2, h3 { font-family: var(--display); color: var(--white); margin: 0; letter-spacing: 0.02em; }
.chrome {
  background: linear-gradient(180deg, #ffffff 0%, #c9d3de 45%, #8c9bab 55%, #e8eef4 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.glow {
  color: var(--blue-hi);
  text-shadow: 0 0 18px rgba(30, 144, 255, 0.55);
}
.eyebrow {
  font-family: var(--display); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--blue-hi);
  margin: 0 0 14px; display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--blue-hi);
  box-shadow: 0 0 12px var(--blue-hi); animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.35; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px; border-radius: 999px;
  font: 600 0.95rem var(--body); color: #fff;
  background: linear-gradient(180deg, var(--blue-hi), var(--blue-deep));
  border: 1px solid rgba(140, 210, 255, 0.5);
  box-shadow: 0 0 0 0 rgba(30, 144, 255, 0.5), 0 10px 30px -10px rgba(30, 144, 255, 0.8);
  transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 0 0 4px rgba(30, 144, 255, 0.18), 0 14px 36px -10px rgba(30, 144, 255, 0.9); }
.btn-ghost { background: rgba(255, 255, 255, 0.03); border-color: var(--border-hi); box-shadow: none; color: var(--silver); }
.btn-ghost:hover { background: rgba(30, 144, 255, 0.12); color: #fff; }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }
.link { color: var(--blue-hi); font-weight: 600; }
.link:hover { color: #fff; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px max(16px, calc((100% - var(--maxw)) / 2));
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(4, 7, 14, 0.82); backdrop-filter: blur(12px); border-color: var(--border); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { border-radius: 10px; }
.brand-text { font-family: var(--display); font-weight: 800; letter-spacing: 0.12em; color: var(--white); font-size: 0.95rem; }
.brand-text em { font-style: normal; font-weight: 500; color: var(--blue-hi); letter-spacing: 0.08em; margin-left: 4px; font-size: 0.78rem; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a:not(.btn) { color: var(--text); font-weight: 500; font-size: 0.95rem; position: relative; }
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--blue-hi); transform: scaleX(0); transition: transform .25s; box-shadow: 0 0 8px var(--blue-hi);
}
.nav-links a:not(.btn):hover { color: #fff; }
.nav-links a:not(.btn):hover::after { transform: scaleX(1); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--silver); border-radius: 2px; }

/* ---------- hero ---------- */
.hero {
  max-width: var(--maxw); margin: 0 auto; padding: 60px 16px 90px;
  display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: center;
}
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); line-height: 1.08; font-weight: 900; }
.hero h1 span { display: block; }
.lead { font-size: 1.12rem; max-width: 34em; margin: 24px 0 34px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.cta-row.center { justify-content: center; }
.hero-stats { list-style: none; padding: 0; margin: 46px 0 0; display: flex; gap: 40px; flex-wrap: wrap; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--display); font-size: 1.6rem; color: var(--white); }
.hero-stats span { font-size: 0.82rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }

.hero-art { position: relative; display: grid; place-items: center; }
.hero-art img {
  position: relative; width: min(100%, 440px); border-radius: 28px;
  -webkit-mask-image: radial-gradient(closest-side, #000 78%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 78%, transparent 100%);
  animation: float 7s ease-in-out infinite;
}
.orbit {
  position: absolute; width: 92%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 144, 255, 0.35), transparent 62%);
  filter: blur(30px);
}
@keyframes float { 50% { transform: translateY(-12px); } }

/* ---------- sections ---------- */
.section { max-width: var(--maxw); margin: 0 auto; padding: 90px 16px; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 54px; }
.section-head h2, .about h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 800; line-height: 1.2; }
.sub { color: var(--muted); margin: 16px 0 0; }

/* ---------- products ---------- */
.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.product {
  position: relative; padding: 36px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(20, 38, 70, 0.6), rgba(8, 16, 32, 0.7));
  border: 1px solid var(--border);
  overflow: hidden; transition: transform .3s, border-color .3s, box-shadow .3s;
  display: flex; flex-direction: column;
}
.product::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  background: linear-gradient(120deg, transparent 30%, rgba(63, 182, 255, 0.25), transparent 70%);
  opacity: 0; transition: opacity .3s;
}
.product:hover { transform: translateY(-6px); border-color: var(--border-hi); box-shadow: 0 30px 60px -30px rgba(30, 144, 255, 0.6); }
.product:hover::before { opacity: 1; }
.product-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.product-icon, .pillar-icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(160deg, rgba(63, 182, 255, 0.25), rgba(10, 79, 214, 0.15));
  border: 1px solid var(--border-hi); box-shadow: 0 0 24px -6px rgba(30, 144, 255, 0.7);
}
.product-icon svg, .pillar-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--blue-hi); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tag { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.tag-live { color: #7cf0c0; background: rgba(40, 200, 140, 0.12); border: 1px solid rgba(40, 200, 140, 0.35); }
.tag-soon { color: var(--blue-hi); background: rgba(30, 144, 255, 0.1); border: 1px solid var(--border-hi); }
.product h3 { font-size: 2rem; font-weight: 900; }
.product h3 span { color: var(--blue-hi); text-shadow: 0 0 16px rgba(30, 144, 255, 0.6); }
.product-tagline { color: var(--silver); font-weight: 600; margin: 6px 0 12px; }
.product p { margin-top: 0; }
.features { list-style: none; padding: 0; margin: 8px 0 30px; display: grid; gap: 10px; }
.features li { padding-left: 28px; position: relative; }
.features li::before {
  content: ""; position: absolute; left: 0; top: 0.55em; width: 14px; height: 8px;
  border-left: 2px solid var(--blue-hi); border-bottom: 2px solid var(--blue-hi);
  transform: rotate(-45deg) translateY(-3px);
}
.product-actions { margin-top: auto; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }

/* ---------- pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pillar { padding: 28px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--border); transition: border-color .3s, transform .3s; }
.pillar:hover { border-color: var(--border-hi); transform: translateY(-4px); }
.pillar h3 { font-size: 1.02rem; margin: 20px 0 10px; }
.pillar p { margin: 0; font-size: 0.95rem; color: var(--muted); }

/* ---------- about ---------- */
.about-card {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: center;
  padding: 50px; border-radius: 24px; border: 1px solid var(--border);
  background:
    radial-gradient(600px 300px at 0% 0%, rgba(30, 144, 255, 0.18), transparent 70%),
    linear-gradient(180deg, rgba(14, 26, 48, 0.7), rgba(6, 12, 24, 0.7));
}
.about-copy p { margin: 0 0 16px; }
.about-copy p:last-child { margin: 0; }

/* ---------- contact ---------- */
.contact { text-align: center; padding-bottom: 120px; }

/* ---------- footer ---------- */
.footer { max-width: var(--maxw); margin: 0 auto; padding: 0 16px 40px; }
.footer-rule { display: flex; align-items: center; gap: 22px; margin-bottom: 36px; }
.footer-rule::before, .footer-rule::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(217, 225, 234, 0.4), transparent); }
.footer-rule span { font-size: 0.72rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-size: 0.92rem; }
.footer-links a:hover { color: var(--blue-hi); }
.copy { color: var(--muted); font-size: 0.85rem; margin: 0; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 30px; text-align: center; }
  .hero-art { order: -1; }
  .hero-art img { width: min(80%, 380px); }
  .lead { margin-left: auto; margin-right: auto; }
  .hero .cta-row, .hero-stats { justify-content: center; }
  .products { grid-template-columns: 1fr; }
  .about-card { grid-template-columns: 1fr; gap: 20px; padding: 32px; }
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 18px; padding: 24px 16px;
    background: rgba(4, 7, 14, 0.96); border-bottom: 1px solid var(--border);
    display: none;
  }
  .nav-links.open { display: flex; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .pillars { grid-template-columns: 1fr; }
  .product { padding: 26px; }
  .brand-text em { display: none; }
  .hero-stats { gap: 24px; }
  .section { padding: 64px 16px; }
}
