/* AgenticBoost — Dark luxury, cinematic, premium tech
   Fonts: Fraunces (serif headlines), Geist (body), JetBrains Mono (data)
   Palette (strict):
     --obsidian #0A0A0B
     --onyx    #111113
     --graphite #1C1C1F
     --signal  #00E5A0
     --glow    #7BFFD0
     --bone    #F4F4F5
     --ash     #A1A1AA
*/

:root {
  --obsidian: #0A0A0B;
  --onyx: #111113;
  --graphite: #1C1C1F;
  --graphite-2: #242428;
  --signal: #00E5A0;
  --glow: #7BFFD0;
  --bone: #F4F4F5;
  --ash: #A1A1AA;
  --ash-dim: #6B6B74;
  --hairline: rgba(255,255,255,0.06);
  --hairline-strong: rgba(255,255,255,0.12);

  /* Typography — Inter everywhere, JetBrains Mono only for data */
  --display: 'Inter', system-ui, sans-serif;
  --serif: 'Inter', system-ui, sans-serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  --section-pad-y: 40px;
  --container: 1560px;
  --radius: 14px;
}

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

html, body {
  background: var(--obsidian);
  color: var(--bone);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  font-feature-settings: 'ss01', 'ss02';
}

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

a { color: inherit; text-decoration: none; }
button { font: inherit; border: none; background: none; color: inherit; cursor: pointer; }

::selection { background: var(--signal); color: var(--obsidian); }

/* Ambient film grain + vignette — adds texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.55;
  mix-blend-mode: overlay;
}

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

/* Typography helpers */
.serif { font-family: var(--display); font-weight: 500; letter-spacing: -0.03em; }
.display { font-family: var(--display); font-weight: 500; letter-spacing: -0.035em; }
.mono { font-family: var(--mono); font-weight: 400; letter-spacing: 0; }
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--signal);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--signal);
  opacity: 0.6;
}

.h-display {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(44px, 6.2vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}
.h-section {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(36px, 4.2vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.h-card {
  font-family: var(--display);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.body-lg {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ash);
  font-weight: 400;
}
.body-md {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ash);
}

.highlight {
  color: var(--signal);
  font-style: normal;
  font-weight: 500;
  font-family: var(--display);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: all 0.25s ease;
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary {
  background: var(--signal);
  color: var(--obsidian);
}
.btn-primary:hover {
  background: var(--glow);
  box-shadow: 0 0 0 6px rgba(0,229,160,0.12), 0 0 40px rgba(123,255,208,0.25);
  transform: translateY(-1px);
}
.btn-secondary {
  border: 1px solid var(--hairline-strong);
  color: var(--bone);
  background: transparent;
}
.btn-secondary:hover {
  border-color: var(--signal);
  color: var(--signal);
}
.btn-ghost {
  color: var(--ash);
  padding: 8px 0;
}
.btn-ghost:hover { color: var(--bone); }
.btn-sm { padding: 10px 18px; font-size: 13px; }

.btn .arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}
.btn:hover .arrow { transform: translateX(3px); }

/* Sections */
section {
  position: relative;
  padding: var(--section-pad-y) 0;
}

/* Cards */
.card {
  background: var(--onyx);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}
.card:hover {
  border-color: rgba(0,229,160,0.35);
  background: #131317;
}

/* Utility */
.dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--signal);
  display: inline-block;
  box-shadow: 0 0 12px var(--signal);
}

/* Responsive */
@media (max-width: 1100px) {
  :root { --section-pad-y: 64px; }
  .container { padding: 0 28px; }
}
@media (max-width: 900px) {
  :root { --section-pad-y: 56px; }
  .container { padding: 0 24px; }
  h1, h2 { font-size: clamp(28px, 6vw, 40px) !important; }
}
@media (max-width: 600px) {
  :root { --section-pad-y: 40px; }
  .container { padding: 0 20px; }
  h1, h2 { font-size: clamp(24px, 7.5vw, 34px) !important; }
  .led-marquee-track { animation-duration: 14s !important; }
}
