/* ===== AeroMatrix 12 — brand stylesheet (dark sci-fi aerospace HUD) ===== */
:root {
  --bg:        #0a0e14;
  --bg-alt:    #0e141d;
  --surface:   #131b26;
  --surface-2: #182231;
  --border:    #24313f;
  --text:      #e8eff6;
  --muted:     #8ea0b4;
  --cyan:      #35c5e0;
  --electric:  #4aa8e8;
  --steel:     #9fb2c6;
  --grad:      linear-gradient(120deg, #35c5e0, #4aa8e8, #2b6fa8);
  --radius:    14px;
  --maxw:      1160px;
  --ease:      cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, .brand-name {
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
}

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

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

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--cyan); color: #05121a; padding: 10px 16px; border-radius: 0 0 8px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 28px; border-radius: 8px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.btn-primary {
  background: var(--grad); color: #04121b;
  box-shadow: 0 8px 26px -10px rgba(53,197,224,.7);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 38px -10px rgba(53,197,224,.85); }
.btn-ghost { background: rgba(19,27,38,.6); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }

/* ===== Header ===== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(10,14,20,.86);
  backdrop-filter: saturate(150%) blur(14px);
  border-bottom-color: var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand img { border-radius: 8px; box-shadow: 0 0 0 1px var(--border); }
.brand-name { font-size: 19px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.brand-12 { color: var(--cyan); margin-left: 5px; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-size: 14.5px; color: var(--muted); transition: color .2s var(--ease); letter-spacing: .01em; }
.nav a:hover { color: var(--text); }
.nav .nav-cta {
  color: var(--text); border: 1px solid var(--border); padding: 9px 18px; border-radius: 8px; background: rgba(24,34,49,.5);
}
.nav .nav-cta:hover { border-color: var(--cyan); color: var(--cyan); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero — HUD / blueprint ===== */
.hero { position: relative; padding: 190px 0 120px; overflow: hidden; isolation: isolate; }
.hero-inner { position: relative; z-index: 4; max-width: 780px; }
.hero-glow {
  position: absolute; top: -12%; left: 50%; transform: translateX(-50%);
  width: 980px; height: 720px; max-width: 130vw;
  background: radial-gradient(ellipse at center, rgba(53,197,224,.20), rgba(74,168,232,.06) 42%, transparent 70%);
  filter: blur(12px); z-index: 1; pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, #000 20%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, #000 20%, transparent 72%);
  opacity: .45;
}
.hero-blueprint {
  position: absolute; z-index: 2; pointer-events: none;
  top: 50%; right: -6%; transform: translateY(-50%);
  width: 760px; max-width: 78vw; height: auto; opacity: .5;
  filter: drop-shadow(0 0 30px rgba(53,197,224,.25));
  animation: bpFloat 9s var(--ease) infinite alternate;
}
@keyframes bpFloat { to { transform: translateY(-52%); } }

/* HUD corner brackets */
.hud-brackets { position: absolute; inset: 92px 20px 40px; z-index: 3; pointer-events: none; }
.hud-c { position: absolute; width: 26px; height: 26px; }
.hud-c::before, .hud-c::after { content: ""; position: absolute; background: var(--cyan); opacity: .55; }
.hud-c::before { width: 100%; height: 2px; }
.hud-c::after { width: 2px; height: 100%; }
.hud-tl { top: 0; left: 0; } .hud-tl::before { top: 0; left: 0; } .hud-tl::after { top: 0; left: 0; }
.hud-tr { top: 0; right: 0; } .hud-tr::before { top: 0; right: 0; } .hud-tr::after { top: 0; right: 0; }
.hud-bl { bottom: 0; left: 0; } .hud-bl::before { bottom: 0; left: 0; } .hud-bl::after { bottom: 0; left: 0; }
.hud-br { bottom: 0; right: 0; } .hud-br::before { bottom: 0; right: 0; } .hud-br::after { bottom: 0; right: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--cyan); margin: 0 0 24px; font-weight: 600;
  font-family: "Space Grotesk", sans-serif;
}
.eyebrow-tick { width: 8px; height: 8px; border-radius: 2px; background: var(--cyan); box-shadow: 0 0 12px rgba(53,197,224,.9); }
.hero h1 { font-size: clamp(2.5rem, 6.4vw, 4.9rem); font-weight: 700; }
.hero-sub { font-size: clamp(1rem, 1.5vw, 1.18rem); color: var(--muted); margin: 28px 0 0; max-width: 600px; }
.hero-actions { display: flex; gap: 14px; margin-top: 40px; flex-wrap: wrap; }

.hero-readout {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 52px 0 0;
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  background: rgba(19,27,38,.5); backdrop-filter: blur(3px); max-width: 620px;
}
.hero-readout > div { padding: 18px 22px; border-left: 1px solid var(--border); }
.hero-readout > div:first-child { border-left: 0; }
.hero-readout dt { font-family: "Space Grotesk", sans-serif; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); margin: 0 0 4px; }
.hero-readout dd { margin: 0; font-size: 14px; color: var(--steel); }

/* ===== Marquee ===== */
.strip { border-block: 1px solid var(--border); background: var(--bg-alt); overflow: hidden; padding: 16px 0; }
.strip-track {
  display: flex; align-items: center; gap: 30px; white-space: nowrap; width: max-content;
  animation: marquee 32s linear infinite;
  font-family: "Space Grotesk", sans-serif; font-size: 14px; color: var(--steel); letter-spacing: .12em; text-transform: uppercase;
}
.strip-track .dot { color: var(--cyan); font-size: 9px; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .strip-track { animation: none; } .hero-blueprint { animation: none; } }

/* ===== Sections ===== */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--border); }
.kicker { font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--cyan); font-weight: 600; margin: 0 0 14px; font-family: "Space Grotesk", sans-serif; }
.section-head { max-width: 720px; margin: 0 0 58px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
.section-head .lead { color: var(--muted); margin-top: 16px; font-size: 1.05rem; }

/* ===== Spec-sheet capabilities grid ===== */
.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.spec {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px 30px 26px; overflow: hidden;
  transition: border-color .3s var(--ease), background .3s var(--ease), transform .3s var(--ease);
}
.spec::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(120% 90% at 100% 0%, rgba(53,197,224,.10), transparent 55%);
  opacity: 0; transition: opacity .3s var(--ease);
}
.spec:hover { border-color: rgba(53,197,224,.5); background: var(--surface-2); transform: translateY(-4px); }
.spec:hover::after { opacity: 1; }
.spec-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.spec-label { font-family: "Space Grotesk", sans-serif; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.spec-ico { width: 40px; height: 40px; color: var(--electric); flex: 0 0 auto; }
.spec h3 { font-size: 1.4rem; margin-bottom: 10px; }
.spec p { color: var(--muted); margin: 0; font-size: .98rem; }
.spec-value {
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
  margin-top: 22px !important; padding-top: 16px; border-top: 1px dashed var(--border);
  font-family: "Space Grotesk", sans-serif;
}
.spec-value span { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.spec-value b { font-size: 14px; font-weight: 600; color: var(--steel); text-align: right; }

/* ===== Metrics band ===== */
.metrics-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.metric {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 30px; position: relative; overflow: hidden;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.metric::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--grad);
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.metric:hover { border-color: rgba(53,197,224,.45); transform: translateY(-4px); }
.metric:hover::before { transform: scaleX(1); }
.metric-k {
  display: block; font-family: "Space Grotesk", sans-serif; font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 1.9rem); letter-spacing: -0.01em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 12px;
}
.metric-v { color: var(--muted); margin: 0; font-size: 1rem; }

/* ===== Alternating feature rows ===== */
.rows { display: grid; gap: 26px; }
.row {
  display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 48px;
  background: var(--surface); border: 1px solid var(--border); border-radius: calc(var(--radius) + 4px);
  padding: 46px 50px; position: relative; overflow: hidden;
  transition: border-color .3s var(--ease), background .3s var(--ease), transform .3s var(--ease);
}
.row::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 3px; background: var(--grad);
  transform: scaleY(0); transform-origin: top; transition: transform .4s var(--ease);
}
.row:hover { border-color: rgba(53,197,224,.4); background: var(--surface-2); transform: translateY(-4px); }
.row:hover::before { transform: scaleY(1); }
.row-reverse .row-visual { order: -1; }
.row-tag {
  display: inline-block; font-family: "Space Grotesk", sans-serif; font-size: 12.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--cyan); margin-bottom: 14px;
}
.row-copy h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 14px; }
.row-copy p { color: var(--muted); margin: 0; font-size: 1.02rem; max-width: 48ch; }
.row-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.row-list li { position: relative; padding-left: 24px; color: var(--steel); font-size: .96rem; }
.row-list li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px;
  border: 1.6px solid var(--cyan); border-radius: 2px; transform: rotate(45deg);
}
.row-visual {
  display: grid; place-items: center; min-height: 220px; border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 45%, rgba(53,197,224,.14), transparent 62%),
    linear-gradient(160deg, rgba(24,34,49,.75), rgba(10,14,20,.5));
  border: 1px solid rgba(53,197,224,.2); position: relative; overflow: hidden;
}
.row-visual::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(53,197,224,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(53,197,224,.08) 1px, transparent 1px);
  background-size: 26px 26px; opacity: .6;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 30%, transparent 78%);
}
.row-line { position: relative; width: min(260px, 68%); height: auto; color: var(--cyan); filter: drop-shadow(0 0 14px rgba(53,197,224,.35)); }

/* ===== FAQ accordion ===== */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.faq-head { margin: 0; position: sticky; top: 100px; }
.faq-list { display: grid; gap: 14px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: border-color .3s var(--ease);
}
.faq-item.open { border-color: rgba(53,197,224,.5); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: 0; cursor: pointer; text-align: left; color: var(--text);
  font-family: "Space Grotesk", sans-serif; font-size: 1.08rem; font-weight: 600; padding: 22px 24px;
}
.faq-q:hover { color: var(--cyan); }
.faq-ico { position: relative; flex: 0 0 auto; width: 16px; height: 16px; }
.faq-ico::before, .faq-ico::after {
  content: ""; position: absolute; background: var(--cyan); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.faq-ico::before { top: 7px; left: 0; width: 16px; height: 2px; }
.faq-ico::after { top: 0; left: 7px; width: 2px; height: 16px; }
.faq-item.open .faq-ico::after { transform: scaleY(0); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-item.open .faq-a { max-height: 340px; }
.faq-a p { color: var(--muted); margin: 0; padding: 0 24px 24px; font-size: .98rem; }

/* ===== Contact ===== */
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-copy h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin-bottom: 16px; }
.contact-copy p { color: var(--muted); margin-bottom: 22px; }
.contact-email { display: inline-block; font-family: "Space Grotesk", sans-serif; font-size: 1.25rem; color: var(--cyan); border-bottom: 1px solid transparent; transition: border-color .2s; }
.contact-email:hover { border-bottom-color: var(--cyan); }
.contact-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 12.5px; color: var(--muted); font-weight: 500; font-family: "Space Grotesk", sans-serif; letter-spacing: .04em; text-transform: uppercase; }
.field input, .field textarea {
  background: var(--bg); border: 1px solid var(--border); border-radius: 8px; color: var(--text);
  padding: 12px 14px; font: inherit; font-size: 15px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  width: 100%; resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: #5f7185; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(53,197,224,.15); }
.contact-form .btn { margin-top: 4px; }

/* ===== Footer ===== */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-alt); padding: 54px 0 30px; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; flex-wrap: wrap; padding-bottom: 34px; border-bottom: 1px solid var(--border); }
.footer-tag { color: var(--muted); margin: 14px 0 0; font-size: .95rem; }
.footer-nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-nav a { color: var(--muted); font-size: 15px; transition: color .2s; }
.footer-nav a:hover { color: var(--cyan); }
.footer-bottom { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; color: var(--muted); font-size: 14px; padding-top: 22px; }

/* ===== Reveal animation (only when JS is active) ===== */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero { padding: 150px 0 90px; }
  .hero-blueprint { opacity: .28; right: -20%; }
  .spec-grid { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: 1fr; }
  .row, .row-reverse { grid-template-columns: 1fr; gap: 30px; }
  .row-reverse .row-visual { order: 0; }
  .faq-wrap { grid-template-columns: 1fr; gap: 32px; }
  .faq-head { position: static; }
  .contact-inner { grid-template-columns: 1fr; gap: 38px; }
}
@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 4px; align-items: stretch;
    background: rgba(10,14,20,.98); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border);
    padding: 16px 24px 24px; transform: translateY(-120%); transition: transform .35s var(--ease); z-index: 90;
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 13px 4px; font-size: 17px; border-bottom: 1px solid var(--border); color: var(--text); }
  .nav .nav-cta { text-align: center; margin-top: 10px; border: 1px solid var(--cyan); color: var(--cyan); }
  .hero { padding: 128px 0 72px; }
  .hero-readout { grid-template-columns: 1fr; }
  .hero-readout > div { border-left: 0; border-top: 1px solid var(--border); }
  .hero-readout > div:first-child { border-top: 0; }
  .hud-brackets { inset: 84px 14px 30px; }
  .row { padding: 34px 28px; }
  .section { padding: 72px 0; }
}
@media (max-width: 480px) {
  .row { padding: 28px 22px; }
  .spec { padding: 26px 22px 22px; }
  .footer-inner { flex-direction: column; }
  .hero-blueprint { display: none; }
}
