/* =========================================================
   faster2market — futuristic dark design system
   ========================================================= */

:root {
  /* palette */
  --bg:            #05070d;
  --bg-2:          #080b14;
  --surface:       rgba(255, 255, 255, .035);
  --surface-2:     rgba(255, 255, 255, .06);
  --line:          rgba(255, 255, 255, .09);
  --line-strong:   rgba(255, 255, 255, .16);

  --text:          #e8ecf5;
  --text-dim:      #97a1b8;
  --text-faint:    #63708c;

  --accent:        #00e5ff;
  --accent-2:      #7c5cff;
  --accent-3:      #ff3d81;
  --ok:            #35e08a;

  --glow-accent:   0 0 0 1px rgba(0, 229, 255, .35), 0 0 32px -8px rgba(0, 229, 255, .55);

  /* type */
  --font:      'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* layout */
  --shell:  1180px;
  --radius: 16px;
  --radius-lg: 22px;
  --header-h: 72px;

  --ease: cubic-bezier(.2, .7, .3, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
h1, h2, h3, h4 { line-height: 1.1; margin: 0; letter-spacing: -.02em; font-weight: 600; }
p { margin: 0; }
ul, ol, dl { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

::selection { background: rgba(0, 229, 255, .28); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute; top: -60px; left: 16px; z-index: 200;
  background: var(--accent); color: #04121a; padding: 10px 18px;
  border-radius: 0 0 10px 10px; font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; }

/* ---------- shared layout ---------- */
.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: 24px; }
.shell.narrow { max-width: 820px; }
.section { position: relative; padding: clamp(72px, 10vw, 128px) 0; }
.section-alt::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent, rgba(124, 92, 255, .045) 35%, transparent);
  border-block: 1px solid var(--line);
  pointer-events: none;
}

/* ---------- background layers ---------- */
#grid-canvas {
  position: fixed; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  opacity: .55;
  pointer-events: none;
}
.aurora { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.aurora span {
  position: absolute; display: block;
  width: 60vw; height: 60vw; max-width: 900px; max-height: 900px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .30;
  animation: drift 26s var(--ease) infinite alternate;
}
.aurora span:nth-child(1) { top: -18%; left: -12%; background: radial-gradient(circle, #00e5ff, transparent 65%); }
.aurora span:nth-child(2) { top: 22%; right: -18%; background: radial-gradient(circle, #7c5cff, transparent 65%); animation-delay: -8s; }
.aurora span:nth-child(3) { bottom: -22%; left: 28%; background: radial-gradient(circle, #ff3d81, transparent 65%); opacity: .18; animation-delay: -16s; }
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(6%, 8%, 0) scale(1.18); }
}
.scanlines {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.022) 0 1px, transparent 1px 3px);
  mix-blend-mode: overlay;
  opacity: .5;
}
main, .site-header, .site-footer, .marquee { position: relative; z-index: 2; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(5, 7, 13, .55);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.site-header.scrolled {
  background: rgba(5, 7, 13, .88);
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: var(--header-h);
}
.header-beam {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,229,255,.7), rgba(124,92,255,.7), transparent);
  opacity: .55;
}

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.03em; font-size: 1.05rem; }
.brand-mark { width: 26px; height: 26px; color: var(--accent); filter: drop-shadow(0 0 10px rgba(0,229,255,.6)); }
.brand-2 { color: var(--accent); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav > a:not(.btn) {
  font-size: .93rem; color: var(--text-dim); position: relative; padding: 6px 0;
  transition: color .2s var(--ease);
}
.nav > a:not(.btn)::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--accent); box-shadow: 0 0 10px var(--accent);
  transition: width .28s var(--ease);
}
.nav > a:not(.btn):hover { color: var(--text); }
.nav > a:not(.btn):hover::after,
.nav > a.active::after { width: 100%; }
.nav > a.active { color: var(--text); }

.nav-toggle {
  display: none;
  width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--surface); cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { width: 17px; height: 1.5px; background: var(--text); transition: transform .25s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: .95rem; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), color .2s;
}
.btn svg { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-sm { padding: 9px 18px; font-size: .88rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #04121a;
  box-shadow: 0 8px 30px -12px rgba(0, 229, 255, .8);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -12px rgba(0, 229, 255, .95); }

.btn-ghost { border-color: var(--line-strong); background: var(--surface); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); background: rgba(0, 229, 255, .07); transform: translateY(-2px); }

/* ---------- hero ---------- */
.hero { padding: clamp(64px, 9vw, 116px) 0 clamp(56px, 7vw, 90px); }
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-dim);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 16px; background: var(--surface);
}
.pulse-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--ok);
  box-shadow: 0 0 0 0 rgba(53, 224, 138, .7);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(53, 224, 138, .6); }
  70%  { box-shadow: 0 0 0 9px rgba(53, 224, 138, 0); }
  100% { box-shadow: 0 0 0 0 rgba(53, 224, 138, 0); }
}

.hero-title {
  margin: 26px 0 0;
  font-size: clamp(2.6rem, 7.2vw, 5.1rem);
  font-weight: 700; letter-spacing: -.045em; line-height: 1.02;
  max-width: 15ch;
}
.grad {
  background: linear-gradient(100deg, var(--accent) 10%, var(--accent-2) 55%, var(--accent-3) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  background-size: 200% 100%;
  animation: shimmer 7s linear infinite;
}
@keyframes shimmer { to { background-position: 200% 0; } }

.glitch { position: relative; display: inline-block; }
.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute; inset: 0;
  clip-path: inset(0 0 55% 0);
  opacity: 0; pointer-events: none;
}
.glitch::before { color: var(--accent); transform: translate(-2px, -1px); }
.glitch::after  { color: var(--accent-3); clip-path: inset(60% 0 0 0); transform: translate(2px, 1px); }
.glitch:hover::before, .glitch:hover::after { opacity: .85; animation: glitch .45s steps(2) infinite; }
@keyframes glitch {
  0%   { transform: translate(-2px, -1px); }
  50%  { transform: translate(3px, 1px); }
  100% { transform: translate(-1px, 2px); }
}

.hero-sub {
  margin-top: 26px; max-width: 62ch;
  font-size: clamp(1.03rem, 1.5vw, 1.2rem); color: var(--text-dim);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 36px; }

/* ---------- marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  background: rgba(255,255,255,.015);
  overflow: hidden; padding: 14px 0;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex; align-items: center; gap: 30px; width: max-content;
  animation: scroll-x 42s linear infinite;
}
.marquee-track span {
  font-family: var(--font-mono); font-size: .8rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text-faint); white-space: nowrap;
}
.marquee-track i { color: var(--accent); opacity: .55; font-size: .6rem; font-style: normal; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ---------- section heads ---------- */
.section-head { max-width: 700px; margin-bottom: clamp(40px, 6vw, 64px); }
.kicker {
  font-family: var(--font-mono); font-size: .76rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 16px;
}
.section-head h2 { font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: -.04em; text-wrap: balance; }
.lede { margin-top: 18px; color: var(--text-dim); font-size: 1.05rem; }
/* used where the section's content below it is a single centred element */
.section-head-center { margin-inline: auto; text-align: center; margin-bottom: 0; }

/* ---------- hosting showcase (browser mock) ---------- */
.showcase { width: min(720px, 100%); margin: 44px auto 0; }
.browser {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: rgba(6, 9, 16, .9);
  backdrop-filter: blur(8px);
  overflow: hidden;
  box-shadow: 0 40px 80px -46px rgba(124, 92, 255, .6);
}
.browser-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 12px 16px; border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.02);
}
.browser-bar > i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.browser-bar > i:first-child { background: #ff5f57; }
.browser-bar > i:nth-child(2) { background: #febc2e; }
.browser-bar > i:nth-child(3) { background: #28c840; }
.browser-url {
  margin-left: 12px; flex: 1;
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: .74rem; color: var(--text-dim);
  background: rgba(255,255,255,.04); border: 1px solid var(--line);
  border-radius: 999px; padding: 4px 14px;
}
.browser-url svg {
  width: 11px; height: 11px; flex: none;
  fill: none; stroke: var(--ok); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

.browser-tabs { display: flex; gap: 1px; background: var(--line); border-bottom: 1px solid var(--line); }
.browser-tabs button {
  flex: 1; padding: 11px 8px; border: 0; cursor: pointer;
  background: rgba(255,255,255,.015);
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text-faint);
  transition: color .2s var(--ease), background .2s var(--ease);
}
.browser-tabs button:hover { color: var(--text-dim); }
.browser-tabs button[aria-selected="true"] {
  color: var(--accent); background: rgba(0,229,255,.08);
  box-shadow: inset 0 -2px 0 var(--accent);
}

.browser-view { position: relative; }
.mock { padding: 22px; min-height: 340px; display: flex; flex-direction: column; }
.mock[hidden] { display: none; }

/* --- panel 1: a simple marketing site, shown on its own light ground --- */
.mock-site { background: #f4f6fb; color: #0d1320; gap: 18px; }
.m-nav { display: flex; align-items: center; gap: 12px; }
.m-logo { font-weight: 700; font-size: .82rem; letter-spacing: -.02em; }
.m-links { display: flex; gap: 10px; margin-left: auto; }
.m-links i { width: 26px; height: 5px; border-radius: 3px; background: #c3cad8; }
.m-pill {
  font-size: .6rem; font-weight: 600; letter-spacing: .04em;
  background: #0d1320; color: #fff; border-radius: 999px; padding: 5px 11px;
}
.m-hero { text-align: center; padding: 22px 8px 6px; }
.m-h1 { font-size: 1.12rem; font-weight: 700; letter-spacing: -.03em; line-height: 1.25; }
.m-sub { margin-top: 8px; font-size: .74rem; color: #5c6779; }
.m-cta {
  display: inline-block; margin-top: 14px;
  font-size: .68rem; font-weight: 600;
  background: #0d1320; color: #fff; border-radius: 999px; padding: 8px 18px;
}
.m-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: auto; }
.m-card {
  background: #fff; border: 1px solid #e2e7f0; border-radius: 10px;
  padding: 12px 11px; display: grid; gap: 7px; align-content: start;
}
.m-ico { width: 18px; height: 18px; border-radius: 5px; background: #0d1320; opacity: .82; }
.m-card i { display: block; height: 5px; border-radius: 3px; background: #d7dde8; }
.m-card i.short { width: 60%; }

/* --- panel 2: the same product, but behind a sign-in --- */
.mock-app {
  background: radial-gradient(120% 90% at 50% -10%, rgba(124,92,255,.20), transparent 60%), #0a0e18;
  align-items: center; justify-content: center; gap: 18px;
}
.m-login {
  width: min(280px, 100%);
  border: 1px solid var(--line); border-radius: 14px;
  background: rgba(255,255,255,.03);
  padding: 22px 20px; display: grid; gap: 9px; justify-items: center;
}
.m-mark {
  width: 26px; height: 26px; border-radius: 8px;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  margin-bottom: 4px;
}
.m-h2 { font-size: .98rem; font-weight: 600; letter-spacing: -.02em; }
.m-note { font-size: .72rem; color: var(--text-faint); margin-bottom: 6px; }
.m-field { width: 100%; display: grid; gap: 4px; }
.m-label {
  font-family: var(--font-mono); font-size: .58rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--text-faint);
}
.m-input {
  border: 1px solid var(--line); border-radius: 8px;
  background: rgba(5,7,13,.6); padding: 8px 11px;
  font-size: .74rem; color: var(--text-dim);
}
.m-dots { letter-spacing: .12em; }
.m-signin {
  width: 100%; margin-top: 8px; text-align: center;
  background: linear-gradient(120deg, var(--accent), var(--accent-2)); color: #04121a;
  border-radius: 999px; padding: 9px; font-size: .78rem; font-weight: 600;
}
.m-small { font-size: .66rem; color: var(--text-faint); margin-top: 4px; }
.m-strip { display: flex; gap: 8px; }
.m-strip i { width: 26px; height: 4px; border-radius: 3px; background: var(--line-strong); }
.m-strip i:first-child { background: var(--accent); opacity: .8; }

.showcase-note {
  margin-top: 16px; font-size: .86rem; color: var(--text-faint); text-align: center;
  max-width: 42ch; margin-inline: auto;
}

/* ---------- compare tiers ---------- */
.compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 26px; align-items: stretch; }
.tier {
  display: flex; flex-direction: column;
  padding: 32px 30px;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.tier:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.tier-hot {
  border-color: rgba(124, 92, 255, .4);
  background: linear-gradient(180deg, rgba(124,92,255,.10), rgba(255,255,255,.012));
  box-shadow: 0 30px 70px -45px rgba(124, 92, 255, .9);
}
.tier-tag {
  display: inline-block; font-family: var(--font-mono); font-size: .7rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent);
  border: 1px solid rgba(0,229,255,.3); background: rgba(0,229,255,.07);
  border-radius: 999px; padding: 4px 13px; margin-bottom: 16px;
}
.tier-tag-hot { color: #c3b4ff; border-color: rgba(124,92,255,.45); background: rgba(124,92,255,.12); }
.tier-head h3 { font-size: 1.6rem; }
.tier-head p { margin-top: 10px; color: var(--text-dim); font-size: .96rem; }
.tier-head em { color: var(--text); font-style: italic; }
.tier-list { margin-top: 24px; display: grid; gap: 11px; flex: 1; }
.tier-list li {
  position: relative; padding-left: 22px; font-size: .95rem; color: var(--text-dim);
  border-bottom: 1px dashed rgba(255,255,255,.06); padding-bottom: 11px;
}
.tier-list li:last-child { border-bottom: 0; }
.tier-list li::before { content: '▸'; position: absolute; left: 0; color: var(--accent); }
.tier-hot .tier-list li::before { color: var(--accent-2); }
.tier-foot {
  margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line);
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
}
.tier-meta { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-faint); }
.tier-foot strong { font-size: 1.05rem; }

.compare-divider { display: grid; place-items: center; position: relative; }
.compare-divider::before {
  content: ''; position: absolute; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(180deg, transparent, var(--line-strong), transparent);
}
.compare-divider span {
  position: relative; font-family: var(--font-mono); font-size: .72rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--text-faint);
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 50%; width: 42px; height: 42px; display: grid; place-items: center;
}

/* ---------- faq ---------- */
.faq { display: grid; gap: 12px; }
.faq details {
  border: 1px solid var(--line); border-radius: 14px;
  background: var(--surface);
  overflow: hidden;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.faq details[open] { border-color: rgba(0,229,255,.32); background: rgba(0,229,255,.045); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 54px 18px 22px;
  font-weight: 600; font-size: 1.02rem; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 22px; top: 50%;
  width: 11px; height: 11px;
  border-right: 1.8px solid var(--accent); border-bottom: 1.8px solid var(--accent);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-20%) rotate(-135deg); }
.faq details p { padding: 0 22px 20px; color: var(--text-dim); font-size: .96rem; }

/* ---------- contact ---------- */
.contact-wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: start;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line); border-radius: 26px;
  background: linear-gradient(150deg, rgba(0,229,255,.07), rgba(124,92,255,.05) 55%, rgba(255,255,255,.012));
  backdrop-filter: blur(8px);
}
.contact-copy h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.contact-points { margin-top: 26px; display: grid; gap: 11px; }
.contact-points li { color: var(--text-dim); font-size: .96rem; display: flex; gap: 11px; }
.contact-points span { color: var(--accent); }
.contact-direct { margin-top: 28px; color: var(--text-faint); font-size: .94rem; }
.contact-direct a { color: var(--accent); border-bottom: 1px solid rgba(0,229,255,.35); }
.contact-direct a:hover { border-bottom-color: var(--accent); }

.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.contact-form .btn, .form-note { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .13em;
  text-transform: uppercase; color: var(--text-faint);
}
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px;
  border: 1px solid var(--line); border-radius: 11px;
  background: rgba(5, 7, 13, .6);
  font-size: .95rem; resize: vertical;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,229,255,.14);
  background: rgba(5, 7, 13, .85);
}
.field select { appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(135deg, var(--accent) 50%, transparent 50%);
  background-position: calc(100% - 19px) 55%, calc(100% - 13px) 55%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.field select option { background: #0a0e18; color: var(--text); }
.field.invalid input, .field.invalid textarea { border-color: var(--accent-3); box-shadow: 0 0 0 3px rgba(255,61,129,.14); }
.form-note { font-size: .82rem; color: var(--text-faint); text-align: center; margin-top: 2px; }
.form-note.success { color: var(--ok); }
.form-note.error { color: var(--accent-3); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: rgba(4, 6, 11, .7); padding-top: 56px; }
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 34px;
  padding-bottom: 44px;
}
.footer-brand p { margin-top: 14px; color: var(--text-faint); font-size: .92rem; max-width: 34ch; }
.footer-col { display: grid; gap: 10px; align-content: start; }
.footer-col h4 {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .15em;
  text-transform: uppercase; color: var(--text-faint); margin-bottom: 4px;
}
.footer-col a { color: var(--text-dim); font-size: .93rem; transition: color .2s; }
.footer-col a:hover { color: var(--accent); }
.footer-status { display: flex; align-items: center; gap: 9px; color: var(--text-faint); font-size: .85rem; margin-top: 4px; }
.footer-bottom {
  border-top: 1px solid var(--line); padding-block: 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: var(--text-faint); font-size: .85rem;
}
.footer-mono { font-family: var(--font-mono); letter-spacing: .08em; }

/* ---------- reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .compare { grid-template-columns: 1fr; }
  .compare-divider { display: none; }
  .contact-wrap { grid-template-columns: 1fr; gap: 34px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 780px) {
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 16px 24px 24px;
    background: rgba(5, 7, 13, .97);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .22s var(--ease), transform .22s var(--ease);
  }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav > a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav .btn { margin-top: 14px; }
  .nav-toggle { display: flex; }
  .hero-cta .btn { flex: 1 1 auto; }
  .contact-form { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* ---------- motion / print ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  #grid-canvas { display: none; }
}

@media print {
  #grid-canvas, .aurora, .scanlines, .marquee, .site-header { display: none; }
  body { background: #fff; color: #000; }
}
