/* ==========================================================================
   Northveil Technologies — Wildcat DMP landing page
   ========================================================================== */

:root {
  --black: #0b0a08;
  --near-black: #141210;
  --charcoal: #1e1b17;
  --cream: #f2e8d5;
  --white: #fbf7ee;
  --accent: #ffffff;
  --accent-dark: #cfc9ba;
  --accent-glow: rgba(255, 255, 255, 0.45);
  --steel: #8a8f98;
  --line: rgba(242, 232, 213, 0.14);

  --font-display: "Bebas Neue", "Oswald", sans-serif;
  --font-script: "Alex Brush", cursive;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max-w: 1240px;
}

* { box-sizing: border-box; }

section, #top { scroll-margin-top: 110px; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--black);
  color: var(--cream);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.05;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--black);
  box-shadow: 0 8px 24px -8px var(--accent-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -8px var(--accent-glow); }

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

.btn[disabled], .btn.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

.btn small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  font-weight: 600;
  opacity: 0.8;
}

/* ---------- marquee ---------- */
.marquee {
  background: var(--accent);
  color: var(--black);
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
}
.marquee__track {
  display: inline-flex;
  animation: marquee 26s linear infinite;
}
.marquee__track span {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  padding: 10px 0;
}
.marquee__track span::after {
  content: "\2726";
  margin: 0 28px;
  font-size: 0.8rem;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 16px 0;
  transition: background 0.3s ease, padding 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(11, 10, 8, 0.86);
  backdrop-filter: blur(10px);
  padding: 10px 0;
  border-color: var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-family: var(--font-script);
  font-size: 2rem;
  color: var(--white);
  letter-spacing: 0.02em;
}
.logo span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.85;
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0%;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s ease;
}
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after { width: 100%; }

.header-cta { display: flex; align-items: center; gap: 16px; }
.header-cta .btn { padding: 11px 22px; font-size: 0.85rem; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 0;
  background:
    radial-gradient(60% 60% at 82% 20%, rgba(255, 255, 255, 0.22), transparent 60%),
    radial-gradient(50% 50% at 10% 90%, rgba(255, 255, 255, 0.12), transparent 60%),
    var(--black);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(242,232,213,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242,232,213,0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 70% 30%, black, transparent 70%);
  pointer-events: none;
}
.hero .wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(3rem, 6.5vw, 5.6rem);
  color: var(--white);
}
.hero-copy h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero-copy .hero-tagline {
  margin: 22px 0 36px;
  font-family: var(--font-display);
  letter-spacing: 0.03em;
  font-size: 1.35rem;
  color: var(--accent);
}
.hero-copy p {
  margin: 14px 0 36px;
  max-width: 480px;
  font-size: 1.12rem;
  color: var(--steel);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 56px;
  flex-wrap: wrap;
}
.hero-stats div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.1rem;
  color: var(--white);
}
.hero-stats div span {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
}

/* ---------- device illustration ---------- */
.device-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.device-glow {
  position: absolute;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  filter: blur(10px);
  animation: pulse 4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.08); opacity: 1; }
}
.device-svg { position: relative; width: min(360px, 80%); }

/* ---------- section shell ---------- */
section { position: relative; padding: 120px 0; }
.section-head {
  max-width: 620px;
  margin-bottom: 56px;
}
.section-head h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  color: var(--white);
  margin-top: 14px;
}
.section-head p {
  margin-top: 18px;
  color: var(--steel);
  font-size: 1.05rem;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- trust bar ---------- */
.trust-bar {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-bar .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 64px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel);
  font-weight: 600;
}
.trust-item svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }

/* ---------- features ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
}
.feature-card {
  background: var(--near-black);
  padding: 38px 32px;
  transition: background 0.25s ease, transform 0.25s ease;
}
.feature-card:hover { background: var(--charcoal); transform: translateY(-4px); }
.feature-card .icon {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--accent);
  margin-bottom: 22px;
}
.feature-card .icon svg { width: 24px; height: 24px; }
.feature-card h3 {
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
}
.feature-card p {
  margin: 10px 0 0;
  font-size: 0.94rem;
  color: var(--steel);
}

/* ---------- why / split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.why-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 20px; }
.why-list li {
  display: flex;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.why-list li:last-child { border-bottom: none; }
.why-list .num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--accent);
  min-width: 34px;
}
.why-list h4 { font-family: var(--font-body); text-transform: none; letter-spacing: 0; font-size: 1.05rem; color: var(--white); }
.why-list p { margin: 6px 0 0; color: var(--steel); font-size: 0.94rem; }

.tagline-card {
  background: linear-gradient(155deg, var(--charcoal), var(--near-black));
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 48px;
  position: relative;
  overflow: hidden;
}
.tagline-card::before {
  content: "\201C";
  position: absolute;
  top: -30px; left: 20px;
  font-size: 12rem;
  font-family: Georgia, serif;
  color: rgba(255, 255, 255, 0.12);
  line-height: 1;
}
.tagline-card p {
  position: relative;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--white);
  line-height: 1.2;
}
.tagline-card span {
  position: relative;
  display: block;
  margin-top: 20px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- colorways ---------- */
.colorway-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.colorway-card {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--near-black);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.colorway-card:hover { transform: translateY(-6px); border-color: var(--accent); }
.swatch {
  aspect-ratio: 4 / 3;
  position: relative;
}
.swatch::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.55));
}
.swatch-steel { background: linear-gradient(135deg, #cfd3d8, #7c828c 45%, #3d4148); }
.swatch-americana { background: linear-gradient(135deg, #1f2b52 0 33%, #f2e8d5 33% 66%, #8c1f2b 66% 100%); }
.swatch-darkcamo {
  background-color: #23261f;
  background-image:
    radial-gradient(circle at 20% 30%, #33392b 0 22%, transparent 23%),
    radial-gradient(circle at 70% 60%, #14150f 0 26%, transparent 27%),
    radial-gradient(circle at 45% 80%, #3d4430 0 18%, transparent 19%),
    radial-gradient(circle at 85% 20%, #454b38 0 20%, transparent 21%);
}
.swatch-whitecamo {
  background-color: #e9e4d6;
  background-image:
    radial-gradient(circle at 25% 35%, #cfc8b2 0 22%, transparent 23%),
    radial-gradient(circle at 75% 65%, #b9b192 0 26%, transparent 27%),
    radial-gradient(circle at 50% 85%, #d9d3bf 0 18%, transparent 19%),
    radial-gradient(circle at 85% 15%, #cac2a6 0 20%, transparent 21%);
}
.colorway-card h4 {
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  padding: 16px 18px 4px;
}
.colorway-card p {
  margin: 0;
  padding: 0 18px 18px;
  font-size: 0.8rem;
  color: var(--steel);
}
.pill {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(11,10,8,0.7);
  color: var(--cream);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
}

/* ---------- video section ---------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.video-card {
  border-radius: 16px;
  overflow: hidden;
  background: var(--near-black);
  border: 1px solid var(--line);
}
.video-frame {
  aspect-ratio: 16/9;
  position: relative;
  background: var(--charcoal);
}
.video-frame iframe, .video-frame video {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}
.video-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px;
  color: var(--steel);
  background: repeating-linear-gradient(135deg, var(--charcoal), var(--charcoal) 10px, var(--near-black) 10px, var(--near-black) 20px);
}
.video-placeholder svg { width: 42px; height: 42px; color: var(--accent); }
.video-placeholder span { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; }
.video-card h4 {
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--white);
  padding: 16px 18px 18px;
}

/* ---------- about ---------- */
.about {
  background: var(--near-black);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.about p { color: var(--steel); font-size: 1.05rem; margin: 18px 0; }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: none;
  border: none;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  padding: 26px 4px;
  cursor: pointer;
}
.faq-q .plus {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  transition: transform 0.25s ease, background 0.25s ease;
  position: relative;
}
.faq-q .plus::before, .faq-q .plus::after {
  content: "";
  position: absolute;
  background: var(--accent);
}
.faq-q .plus::before { width: 10px; height: 2px; }
.faq-q .plus::after { width: 2px; height: 10px; }
.faq-item.is-open .faq-q .plus { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-a p { margin: 0 0 24px; color: var(--steel); max-width: 640px; font-size: 0.98rem; }
.faq-item.is-open .faq-a { max-height: 240px; }

/* ---------- CTA banner ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--black);
  text-align: center;
  padding: 90px 0;
}
.cta-band h2 { font-size: clamp(2rem, 5vw, 3.4rem); color: var(--black); }
.cta-band p { max-width: 560px; margin: 18px auto 34px; font-size: 1.05rem; color: rgba(11,10,8,0.75); }
.cta-band .btn-primary { background: var(--black); color: var(--white); box-shadow: none; }
.cta-band .btn-primary:hover { background: var(--near-black); }
.cta-band .btn-ghost { border-color: rgba(11,10,8,0.4); color: var(--black); }
.cta-band .btn-ghost:hover { border-color: var(--black); }

/* ---------- footer ---------- */
.site-footer { padding: 70px 0 30px; }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--line);
}
.footer-top .logo { margin-bottom: 14px; }
.footer-top p { color: var(--steel); font-size: 0.92rem; max-width: 280px; }
.footer-col h5 {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--steel); font-size: 0.92rem; }
.footer-col a:hover { color: var(--white); }
.social-row { display: flex; gap: 12px; margin-top: 18px; }
.social-row a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--cream);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.social-row a:hover { border-color: var(--accent); color: var(--accent); }
.social-row svg { width: 17px; height: 17px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 26px;
  font-size: 0.8rem;
  color: var(--steel);
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .device-stage { order: -1; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .colorway-grid { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-links, .header-cta { display: none; }
  .nav-toggle { display: block; }
  .features-grid { grid-template-columns: 1fr; }
  .colorway-grid { grid-template-columns: 1fr 1fr; }
  .trust-bar .wrap { justify-content: center; gap: 16px 36px; }
  .footer-top { grid-template-columns: 1fr; }
  section { padding: 80px 0; }
}
