*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0a0a0b;
  --bg-card: #111113;
  --bg-card-hover: #1a1a1e;
  --accent: #c8ff00;
  --accent-dim: rgba(200,255,0,0.12);
  --text: #e8e8e8;
  --text-dim: #666870;
  --text-mid: #9a9ba3;
  --border: rgba(255,255,255,0.06);
  --font-display: 'Syne', sans-serif;
  --font-body: 'Outfit', sans-serif;
}

html { scroll-behavior: smooth; }

/* ─── SCROLL-REVEAL STATE (kept early so later, equally-specific
   component :hover rules win the cascade tie over `.visible`) ─── */
.counter-animate {
  opacity: 0;
  transform: translateY(20px) scale(0.96);
}
.counter-animate.visible { opacity: 1; transform: translateY(0) scale(1); }

.features-grid .feature-card:nth-child(1) { transition-delay: 0s; }
.features-grid .feature-card:nth-child(2) { transition-delay: 0.1s; }
.features-grid .feature-card:nth-child(3) { transition-delay: 0.2s; }
.focus-grid .focus-card:nth-child(1) { transition-delay: 0s; }
.focus-grid .focus-card:nth-child(2) { transition-delay: 0.08s; }
.focus-grid .focus-card:nth-child(3) { transition-delay: 0.16s; }
.focus-grid .focus-card:nth-child(4) { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── SKIP LINK ─── */
.skip-link {
  position: absolute;
  top: -60px; left: 16px;
  z-index: 1000;
  background: var(--accent);
  color: #0a0a0b;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 12px 20px;
  border-radius: 10px;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

/* ─── FOCUS STATES ─── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ─── NOISE GRAIN OVERLAY ─── */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 999;
  opacity: 0.6;
}

/* ─── NAV ─── */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 101;
  pointer-events: none;
}
.scroll-progress-bar {
  height: 100%; width: 0%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(200,255,0,0.6);
}

nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 48px;
  background: rgba(10,10,11,0.7);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: padding 0.3s;
}
nav.scrolled { padding: 14px 48px; }
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: #fff;
  text-decoration: none;
}
.nav-logo img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  color: var(--text-mid);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.25s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--accent); }

/* ─── NAV: MOBILE MENU TOGGLE ─── */
.nav-toggle {
  display: none;
  align-items: center; justify-content: center;
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 18px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.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 ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 140px 48px 100px;
}

.hero::after {
  content: '';
  position: absolute; inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), rgba(200,255,0,0.10), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.hero.spotlight-active::after { opacity: 1; }

.hero-inner {
  position: relative; z-index: 2;
  width: 100%; max-width: 1240px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  display: flex; flex-direction: column;
  align-items: flex-start;
  text-align: left;
  min-width: 0;
}
.hero-visual { min-width: 0; }

@media (min-width: 961px) {
  .hero-inner .hero-content h1 {
    max-width: 100%;
    font-size: clamp(2.4rem, 4.2vw, 4.4rem);
  }
  .hero-inner .hero-content .hero-sub { max-width: 460px; }
}

.hero-visual { position: relative; }
.node-graph {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  aspect-ratio: 1 / 1;
  max-width: 420px;
  margin: 0 auto;
  overflow: hidden;
}
.node-graph-svg {
  width: 100%; height: 100%;
  animation: graphFloat 6s ease-in-out infinite;
}
.node-lines line { opacity: 0.22; }
.node-dots circle {
  transform-box: fill-box;
  transform-origin: center;
  animation: nodePulse 3s ease-in-out infinite;
  filter: drop-shadow(0 0 6px rgba(200,255,0,0.55));
}
@keyframes nodePulse {
  0%, 100% { opacity: 0.5; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.15); }
}
@keyframes graphFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-content { align-items: center; text-align: center; }
  .hero-visual { display: none; }
}

/* animated grid lines */
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(200,255,0,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,255,0,0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%);
}

/* floating orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.18;
  pointer-events: none;
}
.orb-1 { width: 500px; height: 500px; background: #c8ff00; top: -120px; left: -100px; opacity: 0.1; }
.orb-2 { width: 360px; height: 360px; background: #00c8ff; bottom: 40px; right: -80px; opacity: 0.12; }
.orb-3 { width: 220px; height: 220px; background: #c8ff00; bottom: 120px; left: 15%; opacity: 0.08; }

.hero-tag {
  position: relative; z-index: 2;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent-dim);
  border: 1px solid rgba(200,255,0,0.25);
  border-radius: 100px;
  padding: 7px 18px;
  font-size: 0.78rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 36px;
  animation: fadeUp 0.8s cubic-bezier(.22,1,.36,1) both;
}
.hero-tag .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.hero h1 {
  position: relative; z-index: 2;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.2rem, 8vw, 7.4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: #fff;
  max-width: 900px;
  animation: fadeUp 0.9s 0.15s cubic-bezier(.22,1,.36,1) both;
}
.hero h1 .accent { color: var(--accent); }
.hero h1 .dim { color: var(--text-dim); }

.hero-sub {
  position: relative; z-index: 2;
  max-width: 520px;
  color: var(--text-mid);
  font-size: 1.08rem;
  margin-top: 32px;
  font-weight: 300;
  line-height: 1.7;
  animation: fadeUp 0.9s 0.3s cubic-bezier(.22,1,.36,1) both;
}

.hero-cta {
  position: relative; z-index: 2;
  display: flex; gap: 16px; align-items: center;
  margin-top: 52px;
  animation: fadeUp 0.9s 0.45s cubic-bezier(.22,1,.36,1) both;
}

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent);
  color: #0a0a0b;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  padding: 14px 32px;
  border-radius: 100px;
  border: none; cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.3s;
  box-shadow: 0 0 30px rgba(200,255,0,0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 48px rgba(200,255,0,0.4);
}
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--text-mid);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.88rem;
  padding: 14px 28px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.25s, color 0.25s, transform 0.2s;
}
.btn-secondary:hover { border-color: rgba(200,255,0,0.3); color: #fff; transform: translateY(-2px); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* scroll hint */
.scroll-hint {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--text-dim);
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
}
.scroll-hint .line {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, var(--text-dim), transparent);
  animation: scrollDown 1.8s infinite;
}
@keyframes scrollDown {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ─── SECTION COMMONS ─── */
section { padding: 120px 48px; }
.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 20px;
}
.section-label::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--accent);
}
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.1;
  max-width: 680px;
}
.section-desc {
  color: var(--text-mid);
  font-size: 1.05rem;
  max-width: 560px;
  margin-top: 20px;
  line-height: 1.75;
  font-weight: 300;
}

/* ─── ABOUT ─── */
.about { max-width: 1140px; margin: 0 auto; }
.about-capabilities { margin-top: 90px; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
  margin-top: 70px;
}
.about-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
/* ─── PREMIUM CARD SURFACE (shared) ─── */
.stat-card, .feature-card, .focus-card, .contact-form-wrap {
  position: relative;
  overflow: hidden;
}
.stat-card::before, .feature-card::before, .focus-card::before, .contact-form-wrap::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.stat-card:hover::before,
.feature-card:hover::before,
.focus-card:hover::before,
.contact-form-wrap:hover::before,
.contact-form-wrap:focus-within::before {
  opacity: 1;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px 26px;
  transition: opacity 0.6s ease, border-color 0.3s ease, background 0.3s ease, transform 0.4s cubic-bezier(.22,1,.36,1), box-shadow 0.3s ease;
}
.stat-card:hover {
  border-color: rgba(200,255,0,0.2);
  background: var(--bg-card-hover);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -24px rgba(200,255,0,0.25), 0 10px 30px -12px rgba(0,0,0,0.5);
}
.stat-card .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.2rem;
  color: #fff;
  letter-spacing: -0.03em;
}
.stat-card .num span { color: var(--accent); }
.stat-card .label {
  color: var(--text-dim);
  font-size: 0.82rem;
  margin-top: 6px;
  letter-spacing: 0.04em;
}

/* ─── ARGUX / PRODUCT ─── */
.product { background: linear-gradient(180deg, var(--bg) 0%, #0e0f10 100%); }
.product-inner { max-width: 1140px; margin: 0 auto; }

.product-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.product-visual {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px;
  overflow: hidden;
}
.product-visual::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.window-chrome {
  display: flex; align-items: center; gap: 7px;
  margin-bottom: 24px; padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.chrome-dot { width: 10px; height: 10px; border-radius: 50%; }
.chrome-dot:nth-child(1) { background: #ff5c5c; opacity: 0.7; }
.chrome-dot:nth-child(2) { background: #ffbd44; opacity: 0.7; }
.chrome-dot:nth-child(3) { background: #00c851; opacity: 0.7; }
.chrome-title {
  margin-left: 10px;
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.03em;
}

/* mini chart mock */
.chart-mock { width: 100%; height: 220px; position: relative; }
.chart-svg { width: 100%; height: 100%; }

.chart-labels {
  display: flex; justify-content: space-between;
  margin-top: 12px;
}
.chart-labels span { font-size: 0.72rem; color: var(--text-dim); font-weight: 500; }

.ticker-row {
  display: flex; gap: 20px;
  margin-top: 28px; padding-top: 24px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.ticker {
  display: flex; flex-direction: column; gap: 2px;
  flex: 1; min-width: 70px;
}
.ticker .sym { font-size: 0.77rem; color: var(--text-mid); font-weight: 600; letter-spacing: 0.06em; }
.ticker .val { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: #fff; }
.ticker .chg { font-size: 0.72rem; font-weight: 600; }
.chg.up { color: var(--accent); }
.chg.down { color: #ff5c5c; }

.product-features { margin-top: 60px; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 34px 28px;
  transition: opacity 0.6s ease, border-color 0.3s ease, transform 0.4s cubic-bezier(.22,1,.36,1), box-shadow 0.3s ease;
}
.feature-card:hover {
  border-color: rgba(200,255,0,0.18);
  transform: translateY(-6px);
  box-shadow: 0 24px 44px -24px rgba(200,255,0,0.22), 0 12px 32px -12px rgba(0,0,0,0.55);
}
.feature-icon {
  width: 46px; height: 46px;
  background: var(--accent-dim);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.feature-icon svg { width: 22px; height: 22px; stroke: var(--accent); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature-card h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 10px;
}
.feature-card p { color: var(--text-mid); font-size: 0.88rem; line-height: 1.65; font-weight: 300; }

/* ─── RESEARCH / FOCUS ─── */
.focus { background: var(--bg); }
.focus-inner { max-width: 1140px; margin: 0 auto; }
.focus-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 60px;
}
.focus-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 36px;
  transition: opacity 0.6s ease, border-color 0.3s ease, transform 0.4s cubic-bezier(.22,1,.36,1), box-shadow 0.3s ease;
}
.focus-card:hover {
  border-color: rgba(200,255,0,0.22);
  transform: translateY(-5px);
  box-shadow: 0 24px 44px -24px rgba(200,255,0,0.2), 0 12px 32px -12px rgba(0,0,0,0.55);
}
.focus-card .card-num {
  position: absolute; top: 28px; right: 34px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 4.5rem;
  color: rgba(255,255,255,0.04);
  line-height: 1;
}
.focus-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: #fff;
  margin-bottom: 12px;
  position: relative; z-index: 1;
}
.focus-card p { color: var(--text-mid); font-size: 0.9rem; line-height: 1.7; font-weight: 300; position: relative; z-index: 1; }

/* ─── CONTACT / FOOTER ─── */
.contact {
  max-width: 1140px; margin: 0 auto;
  padding: 0 48px 100px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
  padding-top: 80px;
  border-top: 1px solid var(--border);
}
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}

.contact-intro .section-desc { margin-bottom: 0; }
.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 36px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.contact-form-wrap:hover { border-color: rgba(200,255,0,0.12); }
.contact-form-wrap:focus-within { border-color: rgba(200,255,0,0.25); box-shadow: 0 0 0 1px rgba(200,255,0,0.08); }

.contact-form { display: flex; flex-direction: column; gap: 20px; }
.input-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.input-wrap { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.input-wrap label { font-size: 0.78rem; color: var(--text-dim); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; }
.input-wrap input, .input-wrap textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.25s, background 0.25s;
}
.input-wrap input:-webkit-autofill,
.input-wrap input:-webkit-autofill:hover,
.input-wrap input:-webkit-autofill:focus {
  -webkit-text-fill-color: #fff;
  -webkit-box-shadow: 0 0 0 1000px var(--bg) inset;
  box-shadow: 0 0 0 1000px var(--bg) inset;
  caret-color: #fff;
  transition: background-color 5000s ease-in-out 0s;
}
.input-wrap input::placeholder, .input-wrap textarea::placeholder { color: var(--text-dim); opacity: 0.8; }
.input-wrap input:focus, .input-wrap textarea:focus {
  border-color: rgba(200,255,0,0.45);
  background: rgba(17,17,19,0.8);
}
.input-wrap textarea { resize: vertical; min-height: 140px; }
.contact-form-note { font-size: 0.82rem; color: var(--text-dim); margin-top: 12px; }
.contact-form-note a { color: var(--accent); text-decoration: none; }
.contact-form-note a:hover { text-decoration: underline; }
.contact-submit { margin-top: 8px; align-self: flex-start; transition: opacity 0.2s, transform 0.2s, box-shadow 0.3s; }
.contact-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.contact-form-status { display: block; font-size: 0.88rem; margin-top: 14px; }
.contact-form-status.success { color: var(--accent); }
.contact-form-status.error { color: #ff5c5c; }
.contact-form-status.error a { color: inherit; text-decoration: underline; }

.contact-info { display: flex; flex-direction: column; gap: 36px; }
.contact-info h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: #fff;
}
.info-item { display: flex; flex-direction: column; gap: 4px; }
.info-item .info-label { font-size: 0.75rem; color: var(--text-dim); letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; }
.info-item .info-val { color: var(--text-mid); font-size: 0.95rem; font-weight: 400; }
.info-item a { color: var(--accent); text-decoration: none; }
.info-item a:hover { text-decoration: underline; }

/* ─── FOOTER BAR ─── */
footer {
  border-top: 1px solid var(--border);
  padding: 36px 48px;
  display: flex; justify-content: space-between; align-items: center;
  max-width: 1140px; margin: 0 auto;
}
.footer-left { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.footer-right { display: flex; align-items: center; }
footer .foot-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
}
footer .foot-logo img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}
footer .foot-logo span { color: var(--accent); }
footer .foot-copy { color: var(--text-dim); font-size: 0.78rem; }
footer .foot-copy a { color: var(--text-dim); text-decoration: underline; }
footer .foot-copy a:hover { color: var(--accent); }
footer .social-links { display: flex; align-items: center; gap: 12px; }
footer .social-links a {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  color: var(--text-mid);
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}
footer .social-links a:hover { border-color: rgba(200,255,0,0.35); color: var(--accent); background: var(--accent-dim); }
footer .social-links svg { width: 18px; height: 18px; }

/* ─── RESPONSIVE ─── */
@media (max-width: 860px) {
  nav { padding: 18px 28px; }
  nav.scrolled { padding: 12px 28px; }
  section { padding: 90px 28px; }
  .about-grid, .product-hero { grid-template-columns: 1fr; gap: 48px; }
  .focus-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .input-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 100vh;
    flex-direction: column;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 88px 28px 28px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 16px 0; font-size: 0.95rem; border-bottom: 1px solid var(--border); }
}
@media (max-width: 540px) {
  .nav-links { gap: 0; }
  .nav-links a { font-size: 0.95rem; }
  .features-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr; }
  section { padding: 70px 20px; }
  .hero { padding: 100px 20px 80px; }
  .hero h1 { font-size: clamp(1.85rem, 7vw, 3rem); word-break: break-word; }
  .hero-sub { max-width: 100%; padding: 0 4px; font-size: 0.95rem; line-height: 1.65; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn-primary, .hero-cta .btn-secondary { justify-content: center; }
  footer { flex-direction: column; gap: 16px; padding: 30px 24px; align-items: stretch; }
  .footer-left { justify-content: center; text-align: center; }
  .footer-right { justify-content: center; }
}


/* ─── LEGAL / POLICY PAGES ─── */
.legal { max-width: 760px; margin: 0 auto; padding: 160px 24px 100px; }
.legal h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 8px;
}
.legal .legal-updated { color: var(--text-dim); font-size: 0.85rem; margin-bottom: 48px; }
.legal h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: #fff;
  margin-top: 44px;
  margin-bottom: 14px;
}
.legal p, .legal li { color: var(--text-mid); font-size: 0.98rem; line-height: 1.75; font-weight: 300; }
.legal p { margin-bottom: 16px; }
.legal ul { padding-left: 20px; margin-bottom: 16px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--accent); text-decoration: none; }
.legal a:hover { text-decoration: underline; }
.legal strong { color: #fff; font-weight: 600; }
.legal .legal-placeholder { color: #ffbd44; font-style: italic; }
@media (max-width: 540px) {
  .legal { padding: 120px 20px 70px; }
}
