/* ===========================================================
   byFootprint — shared styles
   Palette + type matched to Footprint Navigator
   bg #000 · primary #0080ff · card #1a1a1a · border #2e2e2e
   Type: Montserrat · radius .5rem
   =========================================================== */

:root {
  --bg: #000000;          /* --background 0 0% 0% */
  --bg-elev: #111111;     /* footer / elevated */
  --bg-card: #1a1a1a;     /* --card 0 0% 10% */
  --line: #2e2e2e;        /* --border 0 0% 18% */
  --line-soft: #1f1f1f;
  --ink: #ffffff;         /* --foreground */
  --ink-soft: #a6a6a6;    /* --muted-foreground 0 0% 65% */
  --ink-dim: #666666;     /* footer dim */
  --blue: #0080ff;        /* --primary 211 100% 50% */
  --blue-bright: #339dff;
  --blue-glow: #0080ff;
  --white-hot: #ffffff;
  --radius: 0.5rem;
  --maxw: 1180px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Montserrat', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Subtle single glow — keeps Navigator's clean true-black base */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background: radial-gradient(55vw 55vw at 78% -8%, rgba(0,128,255,.10), transparent 60%);
  pointer-events: none;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Type ---------- */
h1, h2, h3 { font-weight: 800; letter-spacing: -.02em; line-height: 1.08; }
.eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--blue-bright);
}
.lead { color: var(--ink-soft); font-size: 1.12rem; max-width: 56ch; }

/* ---------- Header / Nav (matched to Navigator) ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(46,46,46,.4);
}
body { padding-top: 64px; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 700; letter-spacing: -.01em; font-size: 1.125rem; }
.brand img { height: 40px; width: auto; }
.brand span { font-weight: 700; }

/* Centered logo-only hero */
.hero-center { text-align: center; padding: 14vh 0 10vh; }
.hero-center img { width: min(220px, 60vw); margin: 0 auto 28px; filter: drop-shadow(0 0 30px rgba(0,128,255,.35)); animation: floaty 6s ease-in-out infinite; }
.hero-center .go-further { font-size: clamp(2.4rem, 7vw, 4.2rem); font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.hero-center .go-further .dot { color: var(--blue); }
.hero-center .sub { color: var(--ink-soft); font-size: 1.05rem; margin-top: 16px; max-width: 46ch; margin-left: auto; margin-right: auto; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  font-weight: 500; font-size: .875rem;
  color: var(--ink-soft); transition: color .2s var(--ease);
}
.nav-links a:hover { color: var(--blue); }
.nav-links a.active { color: var(--blue); }
.nav-cta {
  background: var(--blue); color: #fff !important; font-weight: 600 !important;
  padding: 8px 18px; border-radius: var(--radius);
}
.nav-cta:hover { background: var(--blue-bright) !important; color: #fff !important; }

/* ---------- Buttons (matched to Navigator) ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius); font-weight: 600; font-size: .95rem;
  transition: background .2s var(--ease), border-color .2s var(--ease), opacity .2s var(--ease);
  cursor: pointer; border: 0;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-bright); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- Hero ---------- */
.hero { padding: 96px 0 72px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); margin: 18px 0 22px; }
.hero h1 .glow { color: var(--blue-bright); text-shadow: 0 0 26px rgba(46,163,255,.55); }
.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-art { position: relative; display: grid; place-items: center; }
.hero-art img { width: min(360px, 80%); filter: drop-shadow(0 0 28px rgba(0,128,255,.35)); animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-head { max-width: 60ch; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 14px 0 16px; }

/* ---------- Product cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: linear-gradient(180deg, var(--bg-card), var(--bg-elev));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; position: relative; overflow: hidden;
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius);
  background: radial-gradient(70% 60% at 80% 0%, rgba(46,163,255,.12), transparent 70%);
  opacity: 0; transition: opacity .3s var(--ease);
  pointer-events: none;
}
.card:hover { transform: translateY(-3px); border-color: var(--blue); box-shadow: 0 12px 36px rgba(0,0,0,.5); }
.card:hover::before { opacity: 1; }
.card .tag {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--blue-bright);
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; margin-bottom: 16px;
}
.card h3 { font-size: 1.5rem; margin-bottom: 10px; }
.card p { color: var(--ink-soft); margin-bottom: 20px; }
.card .card-link { color: var(--blue-bright); font-weight: 700; font-size: .94rem; display: inline-flex; align-items: center; gap: 7px; }
.card .card-link svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.card:hover .card-link svg { transform: translateX(4px); }
.card .muted-link { color: var(--ink-dim); }

/* ---------- Stats / strip ---------- */
.strip { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: var(--bg-elev); }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 44px 0; text-align: center; }
.strip-grid .n { font-size: 2.4rem; font-weight: 800; color: var(--blue-bright); }
.strip-grid .l { color: var(--ink-soft); font-size: .92rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 6px; }
.field-row .field { margin-bottom: 0; }
.field { margin-bottom: 6px; }
.field label { display: block; font-size: .82rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 3px; }
.field input, .field textarea {
  width: 100%; background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: 8px; padding: 8px 13px; color: var(--ink); font-family: inherit; font-size: .93rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(46,163,255,.18); }
.field textarea { resize: vertical; min-height: 52px; }
.form-note { font-size: .82rem; color: var(--ink-dim); margin-top: 4px; }
.contact-info .info-item { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.contact-info .info-item svg { width: 22px; height: 22px; color: var(--blue-bright); flex-shrink: 0; margin-top: 3px; }
.contact-info .info-item .k { font-weight: 700; }
.contact-info .info-item .v { color: var(--ink-soft); }
.form-status { margin-top: 14px; font-weight: 600; font-size: .94rem; display: none; }
.form-status.ok { display: block; color: var(--blue-bright); }
.form-status.err { display: block; color: #ff7a7a; }

/* ---------- Counter cards ---------- */
.counter-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  justify-content: center; margin-top: 40px;
  max-width: 460px; margin-left: auto; margin-right: auto;
}
.counter-card {
  display: flex; flex-direction: column; align-items: center;
  background: linear-gradient(180deg, var(--bg-card), var(--bg-elev));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; min-height: 148px;
  position: relative; overflow: hidden;
}
.counter-card::before {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius);
  background: radial-gradient(70% 60% at 80% 0%, rgba(46,163,255,.10), transparent 70%);
  pointer-events: none;
}
.counter-label {
  font-size: .72rem; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--blue-bright); margin-bottom: 8px;
}
.counter-number {
  font-size: 3.2rem; font-weight: 800; color: var(--ink); line-height: 1;
  letter-spacing: -.04em;
  height: 1em; overflow: hidden; display: block; position: relative;
}
.slot-reel {
  display: flex; flex-direction: column;
  transition: transform 2.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.slot-digit {
  display: block; height: 1em; line-height: 1;
  font-size: 3.2rem; font-weight: 800; color: var(--ink); letter-spacing: -.04em;
}
.counter-caption {
  font-size: .8rem; color: var(--ink-soft); margin-top: 6px; text-align: center;
}

/* ---------- Footer (Navigator-style centered strip) ---------- */
.site-footer { background: #111; color: #fff; text-align: center; padding: 28px 0; margin-top: 40px; }
.footer-copy { color: #666; font-size: 12px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-art img { width: 200px; }
  .grid-2 { grid-template-columns: 1fr; }
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  /* Nav stays as a horizontal row: logo left, links right */
  .nav-links { gap: 20px; }
  .brand { font-size: 1rem; }
}
@media (max-width: 560px) {
  .strip-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 48px; }
  .nav-links { gap: 12px; }
}
@media (max-width: 360px) {
  .brand { font-size: .8rem; }
  .brand img { height: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
