/* ==========================================================================
   FIGHTERS — dark tactical landing page
   ========================================================================== */

@font-face {
  font-family: "Bruno Ace SC";
  src: url("assets/fonts/BrunoAceSC-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #08090b;
  --bg-alt: #0e1013;
  --panel: #131519;
  --panel-border: #232630;
  --text: #eef0f2;
  --text-dim: #9aa0ac;
  --accent: #ff2b2b;
  --accent-dim: #7a1414;
  --accent-glow: rgba(255, 43, 43, 0.35);
  --font-display: "Bruno Ace SC", "Arial Narrow", sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --container: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 28px);
}

section { position: relative; }

/* Background texture: subtle grid + scanline */
.grid-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 90%);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #0a0a0a;
  box-shadow: 0 0 0 rgba(255,43,43,0);
}
.btn-primary:hover {
  background: #ff4444;
  box-shadow: 0 0 32px var(--accent-glow);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--panel-border);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(8, 9, 11, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.3s ease;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img { height: 34px; width: auto; }
.brand span {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.14em;
}

.nav-links {
  display: flex;
  gap: clamp(18px, 2.5vw, 40px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  position: relative;
  padding-bottom: 4px;
}
.nav-links a:hover { color: var(--text); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.25s ease;
}
.nav-links a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 18px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 22px; height: 2px; background: var(--text);
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 78px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(255,43,43,0.10), transparent 60%),
    radial-gradient(ellipse 50% 50% at 10% 90%, rgba(255,43,43,0.06), transparent 60%),
    var(--bg);
}

.hero-visual {
  position: absolute;
  right: clamp(-40px, -4vw, 0px);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(260px, 40vw, 560px);
  aspect-ratio: 1;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.hero-mark {
  position: relative;
  width: 64%;
  opacity: 0.95;
  filter: drop-shadow(0 0 60px rgba(255,43,43,0.18));
  z-index: 2;
}

.radar-ring {
  position: absolute;
  border: 1px solid rgba(255,43,43,0.22);
  border-radius: 50%;
  z-index: 1;
}
.radar-ring.r1 { width: 46%; height: 46%; }
.radar-ring.r2 { width: 70%; height: 70%; border-color: rgba(255,43,43,0.15); }
.radar-ring.r3 { width: 94%; height: 94%; border-color: rgba(255,43,43,0.09); }

.radar-sweep {
  position: absolute;
  width: 94%;
  height: 94%;
  border-radius: 50%;
  z-index: 1;
  background: conic-gradient(from 0deg, rgba(255,43,43,0.35), transparent 28%, transparent 100%);
  animation: spin 6s linear infinite;
  mask-image: radial-gradient(circle, transparent 0%, black 2%);
}

.radar-blips {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.radar-blip {
  position: absolute;
  width: 6px;
  height: 6px;
  margin: -3px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px 2px var(--accent-glow);
  z-index: 2;
  animation: blip-appear 2.2s ease-out forwards;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes blip-appear {
  0% { opacity: 0; transform: scale(0.4); }
  15% { opacity: 1; transform: scale(1.4); }
  30% { transform: scale(1); }
  75% { opacity: 1; }
  100% { opacity: 0; transform: scale(0.6); }
}

@media (prefers-reduced-motion: reduce) {
  .radar-sweep { animation: none; }
  .radar-blip { display: none; }
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 26px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--accent);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 9vw, 108px);
  line-height: 0.98;
  letter-spacing: 0.01em;
  margin: 0 0 22px;
  max-width: 16ch;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero p.lead {
  max-width: 560px;
  color: var(--text-dim);
  font-size: 17px;
  margin-bottom: 42px;
}

.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 64px; }

.hero-stats {
  display: flex;
  gap: clamp(24px, 4vw, 56px);
  flex-wrap: wrap;
  border-top: 1px solid var(--panel-border);
  padding-top: 28px;
  max-width: 700px;
}
.hero-stats .stat-num {
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--accent);
  display: block;
}
.hero-stats .stat-label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
}
.scroll-cue .line {
  width: 1px; height: 36px;
  background: linear-gradient(var(--accent), transparent);
  animation: scrollpulse 1.8s ease-in-out infinite;
}
@keyframes scrollpulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* ---------- Ticker ---------- */
.ticker {
  position: relative;
  z-index: 2;
  overflow: hidden;
  background: var(--bg-alt);
  border-top: 1px solid var(--panel-border);
  border-bottom: 1px solid var(--panel-border);
  padding: 16px 0;
}
.ticker-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: ticker 26s linear infinite;
}
.ticker-track span {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.85;
  white-space: nowrap;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

/* ---------- Section headers ---------- */
.section-head {
  max-width: 640px;
  margin: 0 0 64px;
}
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.15;
  margin: 0 0 18px;
}
.section-head p { color: var(--text-dim); font-size: 16px; margin: 0; }

section.pad { padding: clamp(70px, 10vw, 130px) 0; }

/* ---------- About ---------- */
.about {
  background: var(--bg-alt);
  border-top: 1px solid var(--panel-border);
  border-bottom: 1px solid var(--panel-border);
}
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}
.about-copy p {
  color: var(--text-dim);
  margin-bottom: 20px;
}
.about-copy strong { color: var(--text); }

.about-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  border: 1px solid var(--panel-border);
  border-radius: 4px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,43,43,0.10), transparent 70%),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0 2px, transparent 2px 14px);
}
.about-visual img { width: 62%; }
.about-visual::before,
.about-visual::after {
  content: "";
  position: absolute;
  width: 22px; height: 22px;
  border: 1px solid var(--accent);
  z-index: 3;
}
.about-visual::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.about-visual::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }

.about-visual img { position: relative; z-index: 2; }

.scan-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(255,43,43,0.3);
  z-index: 1;
  width: 68%;
  height: 68%;
  animation: spin 18s linear infinite;
}
.scan-ring.alt {
  width: 46%;
  height: 46%;
  border-style: solid;
  border-color: rgba(255,43,43,0.18);
  animation-duration: 12s;
  animation-direction: reverse;
}
@media (prefers-reduced-motion: reduce) {
  .scan-ring { animation: none; }
}

/* ---------- Feature cards ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--panel-border);
  border: 1px solid var(--panel-border);
}
.feature-card {
  background: var(--bg);
  padding: 42px 34px;
  transition: background 0.25s ease;
}
.feature-card:hover { background: var(--panel); }
.feature-icon {
  width: 46px; height: 46px;
  margin-bottom: 26px;
  color: var(--accent);
}
.feature-icon svg { width: 100%; height: 100%; }
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: 0.03em;
  margin: 0 0 14px;
}
.feature-card p {
  color: var(--text-dim);
  font-size: 14.5px;
  margin: 0;
}

/* ---------- Specs / product ---------- */
.specs {
  background: var(--bg-alt);
  border-top: 1px solid var(--panel-border);
  border-bottom: 1px solid var(--panel-border);
}
.specs-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.specs-visual {
  position: relative;
  aspect-ratio: 4/5;
  border: 1px solid var(--panel-border);
  background: radial-gradient(circle at 30% 20%, rgba(255,43,43,0.12), transparent 55%), var(--panel);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.specs-visual .tag {
  position: absolute;
  top: 20px; left: 20px;
  z-index: 2;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent-dim);
  padding: 6px 12px;
}

.blueprint {
  width: 78%;
  color: var(--text-dim);
}
.blueprint .spin-slow,
.blueprint .spin-slow-rev {
  color: var(--accent);
  transform-box: fill-box;
  transform-origin: center;
}
.blueprint .spin-slow { animation: spin 30s linear infinite; }
.blueprint .spin-slow-rev { animation: spin 20s linear infinite reverse; }
@media (prefers-reduced-motion: reduce) {
  .blueprint .spin-slow, .blueprint .spin-slow-rev { animation: none; }
}

.spec-list { list-style: none; margin: 0; padding: 0; }
.spec-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid var(--panel-border);
  gap: 24px;
}
.spec-list li:first-child { padding-top: 0; }
.spec-list .k {
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.spec-list .v {
  font-family: var(--font-display);
  font-size: 18px;
  text-align: right;
}

/* ---------- Process / steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.step {
  position: relative;
  padding-top: 30px;
  border-top: 1px solid var(--panel-border);
}
.step .num {
  font-family: var(--font-display);
  font-size: 42px;
  color: var(--panel-border);
  display: block;
  margin-bottom: 18px;
}
.step h3 { font-size: 16px; margin: 0 0 10px; letter-spacing: 0.03em; }
.step p { color: var(--text-dim); font-size: 14px; margin: 0; }

/* ---------- Gallery / logo marks ---------- */
.gallery {
  background: var(--bg-alt);
  border-top: 1px solid var(--panel-border);
  border-bottom: 1px solid var(--panel-border);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--panel-border);
  border: 1px solid var(--panel-border);
}
.gallery-cell {
  background: #050505;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.gallery-cell img { width: 60%; opacity: 0.95; }
.gallery-cell.light { background: #f4f4f4; }

/* ---------- CTA ---------- */
.cta {
  padding: 150px 0;
  text-align: center;
  position: relative;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(255,43,43,0.12), transparent 70%);
  z-index: 0;
}
.cta .container { position: relative; z-index: 1; }
.cta h2 {
  font-family: var(--font-display);
  font-size: clamp(34px, 6vw, 64px);
  margin: 0 0 24px;
  line-height: 1.1;
}
.cta p { color: var(--text-dim); max-width: 520px; margin: 0 auto 42px; }
.cta-actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

.cta-contacts {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid var(--panel-border);
  font-size: 14px;
  letter-spacing: 0.03em;
  color: var(--text-dim);
}
.cta-contacts a { color: var(--text); }
.cta-contacts a:hover { color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--panel-border);
  padding: 70px 0 30px;
  background: var(--bg-alt);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--panel-border);
}
.footer-brand img { height: 30px; margin-bottom: 18px; }
.footer-brand p { color: var(--text-dim); font-size: 14px; max-width: 320px; }
.footer-col h4 {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0 0 20px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { font-size: 14.5px; color: var(--text); }
.footer-col a:hover { color: var(--accent); }
.footer-col .address {
  display: block;
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.5;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--text-dim);
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Mobile nav ---------- */
@media (max-width: 900px) {
  .about-grid, .specs-layout { grid-template-columns: 1fr; gap: 50px; }
  .about-visual { order: -1; max-width: 340px; margin: 0 auto; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-links, .header-actions .btn-ghost { display: none; }
  .nav-toggle { display: flex; }
  .hero-visual { opacity: 0.35; width: clamp(220px, 62vw, 380px); right: clamp(-40px, -8vw, 0px); }
  .features-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  section.pad { padding: 90px 0; }
  .hero-stats { gap: 32px; }
}

.nav-links.open {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 78px;
  left: 0; right: 0;
  background: var(--bg);
  padding: 30px 28px;
  gap: 24px;
  border-bottom: 1px solid var(--panel-border);
}
