/* ============================================================
   MoveObject · AirLock365 — site styles
   Synthwave-terminal identity, executed calm & premium.
   ============================================================ */
:root {
  --bg: #0a0612;
  --surface: #150c24;
  --surface-2: #1d1230;
  --surface-3: #261640;
  --border: #3a2a5c;
  --border-bright: #5a3f8f;
  --accent: #22d9ee;
  --accent-dim: #17838f;
  --accent-2: #ff36a3;
  --success: #00c876;
  --text: #eae6ff;
  --text-dim: #9c8fc4;
  --text-muted: #6b5f94;
  --mono: ui-monospace, "Cascadia Code", "JetBrains Mono", "SF Mono", Consolas, "Liberation Mono", monospace;
  --sans: "Segoe UI", -apple-system, BlinkMacSystemFont, system-ui, "Helvetica Neue", Arial, sans-serif;
  --maxw: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
em { font-style: normal; color: var(--text); border-bottom: 1px solid var(--accent-dim); }
strong { color: var(--text); font-weight: 700; }

/* ---------- ambient background ---------- */
.bg-grid, .bg-scan { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.bg-grid {
  /* coloured glow washes sit above the wireframe scene for depth */
  background-image:
    radial-gradient(ellipse 1100px 620px at 50% -12%, rgba(255,54,163,0.12), transparent 60%),
    radial-gradient(ellipse 900px 500px at 88% 4%, rgba(34,217,238,0.10), transparent 60%);
}
/* the real synthwave wireframe terrain + neon grid (same asset the AirLock365 Portal uses) */
.bg-grid::after {
  content: ""; position: fixed; inset: 0; z-index: -1;
  background: url("../images/background.png") center bottom / cover no-repeat;
  opacity: 0.55;
}
.bg-scan {
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,0.015) 0, rgba(255,255,255,0.015) 1px, transparent 1px, transparent 3px);
  opacity: 0.5; z-index: 60;
}

/* ---------- shared type ---------- */
.eyebrow, .section-eyebrow {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 1.1rem; text-shadow: 0 0 12px rgba(34,217,238,0.35);
}
.band-title {
  font-family: var(--mono); font-weight: 700; letter-spacing: -0.01em; line-height: 1.12;
  font-size: clamp(1.6rem, 3.6vw, 2.7rem); margin: 0 0 1rem; text-wrap: balance;
}
.band-lead { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: var(--text-dim); max-width: 60ch; margin: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--mono);
  font-size: 0.86rem; font-weight: 600; letter-spacing: 0.02em; padding: 0.85rem 1.5rem;
  border-radius: 3px; border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform 0.15s var(--ease), box-shadow 0.2s, background 0.2s, border-color 0.2s;
}
.btn .arr { transition: transform 0.2s var(--ease); }
.btn-primary { background: var(--accent); color: #04121a; box-shadow: 0 0 24px rgba(34,217,238,0.28); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 34px rgba(34,217,238,0.45); }
.btn-primary:hover .arr { transform: translateX(3px); }
.btn-ghost { border-color: var(--border-bright); color: var(--text); background: rgba(21,12,36,0.5); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 0.6rem 1.1rem; font-size: 0.78rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 2rem;
  padding: 0.9rem clamp(1.1rem, 4vw, 3rem); border-bottom: 1px solid var(--border);
  background: rgba(10,6,18,0.72); backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(34,217,238,0.12);
}
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; flex: none; }
.brand-mo { font-family: var(--mono); font-weight: 800; font-size: 1.35rem; letter-spacing: 0.04em; color: var(--accent); text-shadow: 0 0 14px rgba(34,217,238,0.5); }
.brand-mo .o { color: var(--accent-2); text-shadow: 0 0 14px rgba(255,54,163,0.5); }
.brand-mo.small { font-size: 1.1rem; }
.brand-wm { font-family: var(--mono); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.16em; color: var(--text-dim); }
.brand-wm .dot { color: var(--text-muted); }
.site-nav { display: flex; gap: 1.6rem; margin-left: auto; }
.site-nav a { font-family: var(--mono); font-size: 0.82rem; letter-spacing: 0.04em; color: var(--text-dim); text-decoration: none; transition: color 0.2s; }
.site-nav a:hover { color: var(--accent); }
.nav-toggle { display: none; background: none; border: 1px solid var(--border); color: var(--text); font-size: 1.3rem; border-radius: 3px; padding: 0.2rem 0.6rem; cursor: pointer; }

/* ---------- section frame ---------- */
main { display: block; }
.band, .how, .product, .cta { padding: clamp(4rem, 9vw, 7.5rem) clamp(1.1rem, 5vw, 3rem); }
.band, .how-head, .pipeline, .pillar-grid, .product-frame, .about-grid, .cta-inner { max-width: var(--maxw); margin-inline: auto; }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center;
  max-width: var(--maxw); margin-inline: auto; padding: clamp(3.5rem, 8vw, 6.5rem) clamp(1.1rem, 5vw, 3rem) clamp(3rem, 6vw, 5rem);
}
.hero-title {
  font-family: var(--mono); font-weight: 800; letter-spacing: -0.02em; line-height: 1.05;
  font-size: clamp(2.3rem, 6.2vw, 4.1rem); margin: 0 0 1.4rem; text-wrap: balance;
}
.hero-title .accent { color: var(--accent); text-shadow: 0 0 26px rgba(34,217,238,0.35); }
.hero-sub { font-size: clamp(1.05rem, 1.7vw, 1.22rem); color: var(--text-dim); max-width: 52ch; margin: 0 0 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.trust-row { list-style: none; display: flex; flex-wrap: wrap; gap: 1.5rem 2rem; padding: 0; margin: 2.6rem 0 0; border-top: 1px solid var(--border); padding-top: 1.6rem; }
.trust-row li { font-family: var(--mono); font-size: 0.82rem; color: var(--text-dim); display: flex; align-items: baseline; gap: 0.5rem; }
.trust-row .idx { color: var(--accent-2); font-size: 0.72rem; }

/* ---------- terminal component ---------- */
.hero-terminal, .product-frame, .about-term {
  border: 1px solid var(--border); border-radius: 6px; background: rgba(15,9,26,0.85);
  overflow: hidden; box-shadow: 0 24px 60px -24px rgba(0,0,0,0.7), 0 0 0 1px rgba(34,217,238,0.04);
}
.hero-terminal { position: relative; }
.hero-terminal::before {
  content: ""; position: absolute; inset: -1px; border-radius: 6px; pointer-events: none;
  box-shadow: 0 0 44px rgba(34,217,238,0.12) inset;
}
.term-bar { display: flex; align-items: center; gap: 0.5rem; padding: 0.6rem 0.9rem; border-bottom: 1px solid var(--border); background: rgba(29,18,48,0.6); }
.term-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--surface-3); border: 1px solid var(--border-bright); }
.term-dot:nth-child(1) { background: rgba(232,53,112,0.5); }
.term-dot:nth-child(2) { background: rgba(217,163,15,0.5); }
.term-dot:nth-child(3) { background: rgba(0,200,118,0.5); }
.term-title { margin-left: 0.6rem; font-family: var(--mono); font-size: 0.72rem; color: var(--text-muted); }
.term-body { padding: 1.1rem 1.2rem; font-family: var(--mono); font-size: 0.85rem; line-height: 1.9; }
.term-line { margin: 0; white-space: nowrap; overflow: hidden; }
.term-prompt { color: var(--accent); }
.term-dim { color: var(--text-muted); }
.term-ok { color: var(--success); }
.term-tag { color: var(--accent); border: 1px solid rgba(34,217,238,0.3); background: rgba(34,217,238,0.12); border-radius: 999px; padding: 0.02em 0.5em; font-size: 0.78em; }
.caret { color: var(--accent); animation: blink 1.05s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- problem band ---------- */
.problem { text-align: left; border-top: 1px solid var(--border); }
.problem .band-lead { font-size: clamp(1.1rem, 2vw, 1.4rem); color: var(--text-dim); max-width: 44ch; }

/* ---------- how it works ---------- */
.how-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.pipeline { list-style: none; margin: 0; padding: 0; position: relative; display: flex; flex-direction: column; gap: 0; }
.pipeline::before {
  content: ""; position: absolute; left: calc(1.4rem - 1px); top: 1.4rem; bottom: 1.4rem; width: 2px;
  background: linear-gradient(var(--accent), var(--accent-2)); opacity: 0.35;
}
.step { position: relative; display: grid; grid-template-columns: 2.8rem 1fr; gap: 1.4rem; padding: 1.4rem 0; }
.step-idx {
  position: relative; z-index: 1; width: 2.8rem; height: 2.8rem; display: grid; place-items: center;
  font-family: var(--mono); font-weight: 700; font-size: 0.9rem; color: var(--accent);
  background: var(--surface); border: 1px solid var(--border-bright); border-radius: 50%;
  box-shadow: 0 0 0 5px var(--bg);
}
.step-body h3 { font-family: var(--mono); font-size: clamp(1.1rem, 2vw, 1.4rem); margin: 0.2rem 0 0.5rem; letter-spacing: -0.01em; }
.step-body p { margin: 0; color: var(--text-dim); max-width: 62ch; }
.step-note { margin-top: 0.8rem !important; color: var(--text-muted) !important; font-style: italic; }
.step-feature .step-body {
  border: 1px solid var(--border); border-left: 2px solid var(--accent);
  border-radius: 6px; padding: 1.2rem 1.4rem; background: rgba(21,12,36,0.55);
}
.step-feature .step-idx { color: #04121a; background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 5px var(--bg), 0 0 22px rgba(34,217,238,0.4); }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0 0.4rem; }
.chip {
  font-family: var(--mono); font-size: 0.74rem; color: var(--accent); border: 1px solid rgba(34,217,238,0.3);
  background: rgba(34,217,238,0.08); border-radius: 999px; padding: 0.25em 0.75em;
}

/* ---------- pillars ---------- */
.pillars { border-top: 1px solid var(--border); }
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: clamp(2rem, 4vw, 3rem); }
.pillar {
  border: 1px solid var(--border); border-top: 2px solid var(--accent); border-radius: 6px;
  background: var(--surface); padding: 1.8rem 1.6rem; transition: transform 0.2s var(--ease), border-color 0.2s, box-shadow 0.2s;
}
.pillar:nth-child(2) { border-top-color: var(--accent-2); }
.pillar:hover { transform: translateY(-4px); border-color: var(--border-bright); box-shadow: 0 20px 40px -20px rgba(0,0,0,0.6); }
.pillar-idx { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; color: var(--text-muted); margin: 0 0 1rem; }
.pillar h3 { font-family: var(--mono); font-size: 1.2rem; margin: 0 0 0.7rem; letter-spacing: -0.01em; }
.pillar p { margin: 0; color: var(--text-dim); font-size: 0.98rem; }

/* ---------- product ---------- */
.product { border-top: 1px solid var(--border); }
.product-frame { margin-top: clamp(2rem, 4vw, 3rem); }
.product-frame video { width: 100%; background: #000; display: block; }

/* ---------- about ---------- */
.about { border-top: 1px solid var(--border); }
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.pull {
  margin: 2rem 0 0; padding: 1.2rem 0 0.2rem 1.4rem; border-left: 2px solid var(--accent-2);
  font-family: var(--mono); font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--text); line-height: 1.5;
}

/* ---------- cta ---------- */
.cta { border-top: 1px solid var(--border); text-align: center; }
.cta-inner h2 { font-family: var(--mono); font-size: clamp(1.7rem, 4vw, 2.8rem); letter-spacing: -0.02em; margin: 0 0 0.9rem; text-wrap: balance; }
.cta-inner p { color: var(--text-dim); font-size: 1.1rem; margin: 0 0 2rem; }
.cta .hero-actions { justify-content: center; }

/* ---------- footer ---------- */
.site-footer {
  display: flex; align-items: center; justify-content: center; gap: 1.4rem; flex-wrap: wrap;
  padding: 2.2rem 1.5rem; border-top: 1px solid var(--border);
  font-family: var(--mono); font-size: 0.8rem; color: var(--text-muted);
}
.site-footer a { color: var(--text-dim); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }

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

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-terminal { order: -1; }
  .about-grid { grid-template-columns: 1fr; }
  .pillar-grid { grid-template-columns: 1fr; }
  .site-nav { display: none; }
  .nav-toggle { display: inline-block; margin-left: auto; }
  .site-header.open .site-nav {
    display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0;
    background: rgba(10,6,18,0.97); border-bottom: 1px solid var(--border); padding: 0.5rem 0;
  }
  .site-header.open .site-nav a { padding: 0.9rem clamp(1.1rem, 5vw, 3rem); border-top: 1px solid var(--border); }
  .site-header .btn-primary.btn-sm { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .caret { animation: none; }
}
