/* ============================================================
   AGÊNCIA V8 — Organic Intelligence System
   Paleta: #000000 / #D8ED0C / #FFFFFF / #0A1627
   Tipografia: Conthrax Sb (display) + Inter (body) + JetBrains Mono (label)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* Conthrax substitute — using a geometric futurist as fallback. 
   In production, the real Conthrax Sb font file should be loaded. */
@font-face {
  font-family: 'Conthrax';
  src: url('https://fonts.cdnfonts.com/s/19795/conthrax-sb.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #000000;
  --black-2: #050608;
  --navy: #0A1627;
  --navy-2: #101820;
  --surface: #151F2E;
  --lime: #D8ED0C;
  --lime-soft: rgba(216, 237, 12, 0.12);
  --lime-mid: rgba(216, 237, 12, 0.35);
  --white: #FFFFFF;
  --gray-1: #B8C0CC;
  --gray-2: #6F7A89;
  --border: rgba(255, 255, 255, 0.08);
  --border-active: rgba(216, 237, 12, 0.35);

  --font-display: 'Conthrax', 'Conthrax Sb', 'Orbitron', 'Space Grotesk', sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'IBM Plex Mono', monospace;

  --r-card: 24px;
  --r-card-lg: 32px;
  --r-pill: 999px;

  --container: 1280px;
  --pad-x: clamp(20px, 4vw, 48px);
}

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

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  cursor: none;
}

@media (max-width: 900px) {
  body { cursor: auto; }
}

::selection { background: var(--lime); color: var(--black); }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
img { max-width: 100%; display: block; }

/* ==================== Custom cursor ==================== */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity .2s ease, transform .12s ease, width .25s ease, height .25s ease;
}
.cursor-dot { width: 6px; height: 6px; background: var(--lime); border-radius: 50%; }
.cursor-ring { width: 36px; height: 36px; border: 1px solid var(--lime-mid); border-radius: 50%; }
.cursor-ring.hover { width: 64px; height: 64px; border-color: var(--lime); background: rgba(216,237,12,0.06); }
@media (max-width: 900px) { .cursor-dot, .cursor-ring { display: none; } }

/* ==================== Container ==================== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* ==================== Section labels ==================== */
.label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--lime);
  padding: 4px 12px;
  border: 1px solid rgba(216, 237, 12, 0.2);
  border-radius: var(--r-pill);
  background: rgba(216, 237, 12, 0.1);
}
.label::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px rgba(216, 237, 12, 0.5);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.7); }
}

.label-mono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-2);
}

/* ==================== Headings ==================== */
.h-display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 0.96;
  text-transform: none;
}

h2.h-display { font-size: clamp(40px, 5.4vw, 76px); }
h3.h-display { font-size: clamp(28px, 3vw, 44px); }

.lead {
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--gray-1);
  line-height: 1.55;
  max-width: 720px;
}

.text-lime { color: var(--lime); }
.text-gray { color: var(--gray-1); }

/* ==================== Buttons ==================== */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 26px;
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  transition: all .3s easeOutCubic;
  cursor: none;
  border: 1px solid transparent;
  white-space: nowrap;
}
@media (max-width: 900px) { .btn { cursor: pointer; } }

.btn-primary {
  background: var(--lime);
  color: var(--black);
  padding: 20px 40px;
  box-shadow: 0 0 60px rgba(216,237,12,0.4);
}
.btn-primary:hover {
  box-shadow: 0 0 80px rgba(216,237,12,0.6);
  transform: scale(1.05);
}
.btn-primary svg { transition: transform .25s ease; }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-ghost {
  background: rgba(255,255,255,0.05);
  color: var(--white);
  border-color: rgba(255,255,255,0.1);
  padding: 20px 40px;
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
}

.btn-nav {
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 12px;
  letter-spacing: 1.2px;
  box-shadow: none;
}
.btn-nav:hover {
  box-shadow: 0 0 30px rgba(216,237,12,0.5);
}

.btn-arrow {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--black); display: inline-flex; align-items: center; justify-content: center;
}
.btn-primary .btn-arrow { background: var(--black); }
.btn-primary .btn-arrow svg { stroke: var(--lime); }

/* ==================== Header ==================== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: padding .25s ease, background .25s ease;
}
.header.scrolled { padding: 12px 0; background: rgba(0, 0, 0, 0.78); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
}
.brand img { height: 36px; width: auto; }
.brand-text {
  display: flex; flex-direction: column; line-height: 1;
}
.brand-text .b1 {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 600; letter-spacing: 0.02em;
  color: var(--white);
}
.brand-text .b2 {
  font-family: var(--font-mono);
  font-size: 9px; letter-spacing: 0.3em; color: var(--gray-2); margin-top: 4px;
  text-transform: uppercase;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--gray-1);
  transition: color .2s ease;
}
.nav a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 1px;
  background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav a:hover { color: var(--white); }
.nav a:hover::after { transform: scaleX(1); }

.menu-toggle { display: none; }

@media (max-width: 980px) {
  .nav, .header .btn { display: none; }
  .menu-toggle {
    display: inline-flex; flex-direction: column; gap: 5px; padding: 10px;
    background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  }
  .menu-toggle span { display: block; width: 22px; height: 1.5px; background: var(--white); }
}

/* ==================== HERO ==================== */
.hero {
  position: relative;
  padding: 180px 0 120px;
  overflow: hidden;
  min-height: 100vh;
  display: flex; align-items: center;
}

.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 70% 30%, rgba(216,237,12,0.08), transparent 60%),
    radial-gradient(ellipse 50% 60% at 20% 80%, rgba(10,22,39,0.8), transparent 70%),
    var(--black);
}
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 80%);
}
.hero-glow {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(216,237,12,0.18) 0%, transparent 60%);
  filter: blur(40px);
  pointer-events: none;
  animation: drift 12s ease-in-out infinite;
}
@keyframes drift {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-48%, -52%) scale(1.08); }
}

.hero-watermark {
  position: absolute;
  right: -8%; top: 50%;
  transform: translateY(-50%);
  width: 70%; max-width: 900px;
  opacity: 0.04;
  pointer-events: none;
  filter: grayscale(1) brightness(2);
  z-index: 0;
}

.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 80px;
  align-items: center;
  width: 100%;
}
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(56px, 7.4vw, 116px);
  line-height: 0.92;
  letter-spacing: -0.025em;
  margin: 28px 0 28px;
}
.hero-headline .line-2 {
  display: block;
  color: var(--lime);
  font-style: italic;
  font-family: var(--font-display);
}

.hero-sub {
  font-size: 18px; color: var(--gray-1); max-width: 560px; line-height: 1.6;
  margin-bottom: 40px;
}

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }

.hero-proofs {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 18px 28px;
  max-width: 560px;
}
.hero-proof {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 13px; color: var(--gray-1);
  font-family: var(--font-mono); letter-spacing: 0.02em;
}
.hero-proof::before {
  content: ""; flex-shrink: 0; margin-top: 6px;
  width: 8px; height: 8px;
  background: var(--lime);
  transform: rotate(45deg);
  box-shadow: 0 0 8px var(--lime-mid);
}

/* ==================== Intelligence Core ==================== */
.core {
  position: relative;
  aspect-ratio: 1;
  max-width: 540px;
  margin-left: auto;
  width: 100%;
}
.core-rings {
  position: absolute; inset: 0;
  border: 1px dashed rgba(255,255,255,0.08);
  border-radius: 50%;
  animation: rotate 60s linear infinite;
}
.core-rings::before, .core-rings::after {
  content: ""; position: absolute; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.06);
}
.core-rings::before { inset: 12%; border-color: rgba(216,237,12,0.18); border-style: dashed; }
.core-rings::after { inset: 28%; border-color: rgba(255,255,255,0.05); }
@keyframes rotate { to { transform: rotate(360deg); } }

.core-rings-2 {
  position: absolute; inset: 8%;
  border-radius: 50%;
  border: 1px dashed rgba(216,237,12,0.15);
  animation: rotate 90s linear infinite reverse;
}

.core-center {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 40%; height: 40%;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle, rgba(216,237,12,0.18), rgba(0,0,0,0.6) 70%);
  border-radius: 50%;
  border: 1px solid var(--border-active);
  box-shadow: 0 0 80px rgba(216,237,12,0.18), inset 0 0 40px rgba(216,237,12,0.12);
}
.core-center img {
  width: 60%; height: auto;
  filter: drop-shadow(0 0 12px rgba(216,237,12,0.4));
  animation: pulse-glow 3s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% { filter: drop-shadow(0 0 12px rgba(216,237,12,0.4)); }
  50% { filter: drop-shadow(0 0 24px rgba(216,237,12,0.7)); }
}

.core-orbit {
  position: absolute;
  background: rgba(10, 22, 39, 0.85);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--white);
  letter-spacing: 0.04em;
  display: flex; align-items: center; gap: 10px;
  backdrop-filter: blur(8px);
  white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}
.core-orbit::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px var(--lime);
  animation: pulse 1.4s infinite;
}
.core-orbit .meta {
  font-size: 10px; color: var(--gray-2);
}

.orbit-1 { top: 8%; left: -10%; animation-delay: 0s; }
.orbit-2 { top: 20%; right: -12%; animation-delay: 1.2s; }
.orbit-3 { bottom: 28%; left: -14%; animation-delay: 2.4s; }
.orbit-4 { bottom: 8%; right: -8%; animation-delay: 0.6s; }
.orbit-5 { top: 50%; right: -16%; animation-delay: 1.8s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (max-width: 700px) {
  .core { max-width: 360px; margin: 0 auto; }
  .core-orbit { font-size: 10px; padding: 8px 10px; }
  .orbit-1 { left: -4%; } .orbit-2 { right: -4%; }
  .orbit-3 { left: -4%; } .orbit-4 { right: -4%; }
}

/* ==================== Marquee ==================== */
.marquee {
  position: relative;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--black-2);
  overflow: hidden;
  padding: 22px 0;
}
.marquee-track {
  display: flex; gap: 60px;
  animation: scroll 35s linear infinite;
  width: max-content;
}
.marquee-item {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-mono);
  font-size: 14px; color: var(--gray-1);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.marquee-item .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); }
.marquee-item .v8-mark {
  font-family: var(--font-display); font-weight: 600;
  color: var(--lime); font-size: 16px;
}
@keyframes scroll {
  to { transform: translateX(-50%); }
}

/* ==================== Section base ==================== */
section { position: relative; }
.section {
  padding: 140px 0;
  position: relative;
}
@media (max-width: 800px) { .section { padding: 90px 0; } }

.scroll-stage {
  isolation: isolate;
  opacity: 0.72;
  transform: translate3d(0, clamp(32px, 4vw, 56px), 0);
  filter: saturate(0.86) brightness(0.92);
  transition:
    transform 1s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.9s ease,
    filter 0.9s ease;
  will-change: transform, opacity, filter;
}

.scroll-stage::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: min(200px, 24vh);
  background: radial-gradient(90% 140% at 50% 0%, rgba(216, 237, 12, 0.16), rgba(10, 22, 39, 0.08) 42%, transparent 76%);
  opacity: 0;
  transform: translateY(42px) scaleY(0.72);
  transform-origin: top center;
  transition:
    opacity 0.95s ease,
    transform 1s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  z-index: -1;
}

main > section.scroll-stage:not(:first-child)::after {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(20px, 6vw, 72px);
  right: clamp(20px, 6vw, 72px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(216, 237, 12, 0.68), transparent);
  opacity: 0;
  transform: scaleX(0.35);
  transition:
    opacity 0.85s ease,
    transform 0.95s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.scroll-stage.is-active {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: none;
}

.scroll-stage.is-active::before {
  opacity: 1;
  transform: translateY(0) scaleY(1);
}

main > section.scroll-stage.is-active:not(:first-child)::after {
  opacity: 0.9;
  transform: scaleX(1);
}

@media (max-width: 800px) {
  .scroll-stage {
    opacity: 0.82;
    transform: translate3d(0, 28px, 0);
  }
}

.section-head { margin-bottom: 80px; max-width: 880px; }
.section-head .label { margin-bottom: 28px; }
.section-head h2 { margin-bottom: 28px; }

.section-divider {
  position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(216,237,12,0.4), transparent);
}

/* Background V8 mark watermark */
.v8-watermark {
  position: absolute;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 40vw;
  line-height: 0.8;
  color: rgba(255,255,255,0.018);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* ==================== Pain section ==================== */
.pain {
  background: var(--black);
}
.pain-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  position: relative; z-index: 2;
}
@media (max-width: 1000px) { .pain-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .pain-grid { grid-template-columns: 1fr; } }

.pain-card {
  background: var(--navy-2);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: all .3s ease;
}
.pain-card::before {
  content: ""; position: absolute; left: 0; top: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--lime), transparent);
  opacity: 0; transition: opacity .3s ease;
}
.pain-card:hover {
  border-color: var(--border-active);
  transform: translateY(-4px);
}
.pain-card:hover::before { opacity: 1; }

.pain-num {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--gray-2); letter-spacing: 0.2em;
  margin-bottom: 24px;
}
.pain-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(216,237,12,0.08);
  border: 1px solid var(--border-active);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.pain-icon svg { stroke: var(--lime); width: 22px; height: 22px; }
.pain-card h3 {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 12px;
}
.pain-card p {
  font-size: 14px; color: var(--gray-1);
  line-height: 1.6;
}

/* ==================== Positioning / Compare ==================== */
.compare-grid {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px;
  align-items: stretch;
  position: relative; z-index: 2;
}
@media (max-width: 900px) { .compare-grid { grid-template-columns: 1fr; } .compare-vs { display: none; } }

.compare-card {
  border-radius: var(--r-card-lg);
  padding: 40px;
  border: 1px solid var(--border);
  position: relative;
}
.compare-card.bad {
  background: var(--navy-2);
}
.compare-card.good {
  background: linear-gradient(180deg, rgba(216,237,12,0.08), transparent 50%), var(--navy-2);
  border-color: var(--border-active);
  box-shadow: 0 0 60px rgba(216,237,12,0.1);
}
.compare-card h4 {
  font-family: var(--font-display);
  font-size: 24px;
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}
.compare-card.good h4 { color: var(--lime); }
.compare-card ul { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.compare-card li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 15px; color: var(--gray-1); line-height: 1.5;
}
.compare-card li::before {
  content: ""; flex-shrink: 0; margin-top: 8px;
  width: 8px; height: 1px; background: var(--gray-2);
}
.compare-card.good li::before { background: var(--lime); width: 12px; }

.compare-vs {
  display: flex; align-items: center; justify-content: center;
}
.compare-vs span {
  font-family: var(--font-display); font-size: 14px;
  color: var(--lime); letter-spacing: 0.2em;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--black); border: 1px solid var(--border-active);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 24px rgba(216,237,12,0.18);
}

/* ==================== Services grid ==================== */
.services {
  background: linear-gradient(180deg, var(--black) 0%, #04060a 100%);
}
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-card-lg);
  overflow: hidden;
  position: relative; z-index: 2;
}
@media (max-width: 1000px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  background: var(--black-2);
  padding: 40px 32px;
  display: flex; flex-direction: column;
  min-height: 360px;
  position: relative;
  overflow: hidden;
  transition: background .3s ease;
}
.service-card::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 100%, rgba(216,237,12,0.10), transparent 60%);
  opacity: 0; transition: opacity .35s ease;
  pointer-events: none;
}
.service-card:hover { background: var(--navy-2); }
.service-card:hover::after { opacity: 1; }

.service-num {
  font-family: var(--font-display);
  font-size: 56px; font-weight: 600;
  color: transparent;
  -webkit-text-stroke: 1px rgba(216,237,12,0.5);
  line-height: 1;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}
.service-card:hover .service-num {
  color: var(--lime);
  -webkit-text-stroke: 1px var(--lime);
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 600; letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 14px;
}
.service-card p {
  font-size: 14px; color: var(--gray-1); line-height: 1.6;
  margin-bottom: 24px; flex: 1;
}
.service-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.service-tag {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 10px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.04);
  color: var(--gray-1);
  border: 1px solid var(--border);
}
.service-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--lime);
  margin-top: auto;
}
.service-link svg { width: 14px; height: 14px; transition: transform .25s ease; }
.service-card:hover .service-link svg { transform: translateX(4px); }

/* ==================== Intelligence System (V8 IS) ==================== */
.is-section {
  background: var(--black);
}
.is-section .section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; }
@media (max-width: 900px) { .is-section .section-head { grid-template-columns: 1fr; } }

.is-quote {
  font-family: var(--font-display);
  font-size: 22px; line-height: 1.3;
  color: var(--white);
  border-left: 2px solid var(--lime);
  padding-left: 24px;
  letter-spacing: -0.005em;
  font-style: italic;
}

.is-diagram {
  position: relative;
  display: flex; flex-direction: column;
  gap: 18px;
  z-index: 2;
}

.is-layer {
  display: grid; grid-template-columns: 100px 240px 1fr; gap: 32px;
  align-items: center;
  padding: 28px 32px;
  background: var(--navy-2);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  position: relative;
  overflow: hidden;
  transition: all .3s ease;
  cursor: none;
}
.is-layer::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--lime);
  transform: scaleY(0); transform-origin: top;
  transition: transform .35s ease;
}
.is-layer:hover {
  border-color: var(--border-active);
  background: var(--surface);
}
.is-layer:hover::before { transform: scaleY(1); }

.is-layer-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 36px;
  color: rgba(255,255,255,0.12);
  letter-spacing: -0.02em;
  transition: color .3s ease;
}
.is-layer:hover .is-layer-num { color: var(--lime); }

.is-layer h4 {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 600;
  letter-spacing: -0.01em;
}
.is-layer-meta {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--gray-2); letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.is-layer-modules {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.is-mod {
  font-family: var(--font-mono); font-size: 11px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  color: var(--gray-1);
  letter-spacing: 0.04em;
  background: rgba(0,0,0,0.4);
}
.is-layer:hover .is-mod {
  border-color: var(--border-active); color: var(--white);
}

@media (max-width: 800px) {
  .is-layer { grid-template-columns: 1fr; gap: 14px; padding: 24px; }
  .is-layer-num { font-size: 28px; }
}

/* ==================== Method timeline ==================== */
.method {
  background: linear-gradient(180deg, #04060a 0%, var(--black) 100%);
}
.method-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: flex-start;
  position: relative; z-index: 2;
}
@media (max-width: 900px) { .method-grid { grid-template-columns: 1fr; gap: 40px; } }

.method-steps { display: flex; flex-direction: column; position: relative; }
.method-steps::before {
  content: ""; position: absolute;
  left: 28px; top: 30px; bottom: 30px; width: 1px;
  background: linear-gradient(180deg, var(--lime), rgba(216,237,12,0.15));
}

.method-step {
  display: grid; grid-template-columns: 56px 1fr; gap: 24px;
  padding: 28px 0;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.method-step:last-child { border-bottom: none; }

.method-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--black);
  border: 1px solid var(--border-active);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 16px;
  color: var(--lime);
  position: relative; z-index: 1;
  box-shadow: 0 0 0 4px var(--black);
}
.method-step h4 {
  font-family: var(--font-display);
  font-size: 24px; letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.method-step p {
  font-size: 15px; color: var(--gray-1); line-height: 1.6;
}

.method-visual {
  position: sticky; top: 120px;
  border-radius: var(--r-card-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4/5;
  background: var(--navy-2);
}
.method-visual .img-frame { height: 100%; }

/* ==================== Image frame (treatment) ==================== */
.img-frame {
  position: relative;
  border-radius: var(--r-card-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.img-frame img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  filter: brightness(0.7) contrast(1.05) saturate(0.8);
  transition: transform .8s ease;
}
.img-frame:hover img { transform: scale(1.04); }
.img-frame::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(216,237,12,0.18), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(10,22,39,0.65) 100%);
  pointer-events: none;
  z-index: 1;
}
.img-frame::after {
  content: ""; position: absolute; inset: 12px;
  border: 1px solid rgba(216,237,12,0.18);
  border-radius: calc(var(--r-card-lg) - 8px);
  pointer-events: none;
  z-index: 2;
}
.img-frame .frame-label {
  position: absolute;
  bottom: 24px; left: 24px;
  z-index: 3;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  padding: 6px 12px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
}
.img-frame .frame-label::before {
  content: "● "; color: var(--lime);
}

/* ==================== Tools / stack ==================== */
.tools {
  background: var(--black);
}
.tools-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  position: relative; z-index: 2;
}
@media (max-width: 900px) { .tools-grid { grid-template-columns: repeat(2, 1fr); } }

.tool-cat {
  background: var(--navy-2);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 28px 24px;
  transition: all .3s ease;
}
.tool-cat:hover { border-color: var(--border-active); transform: translateY(-4px); }
.tool-cat-label {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gray-2); margin-bottom: 4px;
}
.tool-cat h4 {
  font-family: var(--font-display);
  font-size: 18px; letter-spacing: -0.01em;
  margin-bottom: 24px; line-height: 1.3;
}
.tool-list { display: flex; flex-direction: column; gap: 10px; }
.tool-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--white);
  letter-spacing: 0.02em;
  transition: all .2s ease;
}
.tool-item:hover {
  border-color: var(--border-active);
  background: rgba(216,237,12,0.05);
}
.tool-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 6px var(--lime);
  flex-shrink: 0;
}

/* tools marquee */
.tools-marquee {
  margin-top: 60px;
}

/* ==================== Cases ==================== */
.cases {
  background: linear-gradient(180deg, var(--black) 0%, var(--navy) 100%);
}
.case-main {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center;
  margin-bottom: 60px;
  position: relative; z-index: 2;
}
@media (max-width: 900px) { .case-main { grid-template-columns: 1fr; } }

.case-main .img-frame { aspect-ratio: 4/3; }

.case-info .case-tag-row {
  display: flex; gap: 8px; margin-bottom: 24px;
}
.case-info h3 {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.6vw, 48px);
  letter-spacing: -0.02em; line-height: 1.05;
  margin-bottom: 24px;
}
.case-info p {
  font-size: 16px; color: var(--gray-1); line-height: 1.6;
  margin-bottom: 28px;
}
.case-results {
  display: flex; flex-direction: column; gap: 14px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
}
.case-result {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14px; color: var(--gray-1);
}
.case-result svg { flex-shrink: 0; margin-top: 4px; }

.case-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
  position: relative; z-index: 2;
}
@media (max-width: 800px) { .case-grid { grid-template-columns: 1fr; } }

.case-card {
  background: var(--navy-2);
  border: 1px solid var(--border);
  border-radius: var(--r-card-lg);
  padding: 32px;
  transition: all .3s ease;
}
.case-card:hover { border-color: var(--border-active); transform: translateY(-4px); }
.case-status {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.2em; text-transform: uppercase;
  padding: 6px 12px; border-radius: var(--r-pill);
  background: rgba(216,237,12,0.08);
  color: var(--lime);
  border: 1px solid var(--border-active);
  margin-bottom: 24px;
}
.case-status::before {
  content: ""; width: 6px; height: 6px; background: var(--lime); border-radius: 50%;
  animation: pulse 1.5s infinite;
}
.case-card h4 {
  font-family: var(--font-display);
  font-size: 26px; letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.case-card .case-segment {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gray-2); margin-bottom: 18px;
}
.case-card p {
  font-size: 14px; color: var(--gray-1); line-height: 1.6;
}

/* ==================== Human Premium ==================== */
.human {
  position: relative;
  overflow: hidden;
  padding: 200px 0 180px;
}
.human-bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.human-bg img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.35) contrast(1.1) saturate(0.7);
}
.human-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, transparent 30%, rgba(0,0,0,0.85) 80%),
    linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.95) 100%);
}
.human-content { position: relative; z-index: 2; max-width: 720px; }
.human-content h2 {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 88px);
  line-height: 0.96; letter-spacing: -0.02em;
  margin-bottom: 32px;
}
.human-content h2 em { color: var(--lime); font-style: italic; }
.human-content > p {
  font-size: 18px; color: var(--gray-1); line-height: 1.6;
  margin-bottom: 60px;
}
.human-pillars {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
@media (max-width: 800px) { .human-pillars { grid-template-columns: 1fr; } }
.pillar {
  padding: 28px 24px;
  background: rgba(10,22,39,0.55);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
}
.pillar-num {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--lime); letter-spacing: 0.2em;
  margin-bottom: 16px;
}
.pillar h4 {
  font-family: var(--font-display);
  font-size: 20px; letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.pillar p {
  font-size: 13px; color: var(--gray-1); line-height: 1.55;
}

/* ==================== Before / After ==================== */
.ba {
  background: var(--black);
}
.ba-toggle {
  display: inline-flex; gap: 4px; padding: 4px;
  background: var(--navy-2); border: 1px solid var(--border);
  border-radius: var(--r-pill);
  margin-bottom: 60px;
}
.ba-toggle button {
  padding: 10px 22px; border-radius: var(--r-pill);
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gray-1);
  transition: all .25s ease;
}
.ba-toggle button.active {
  background: var(--lime); color: var(--black);
}

.ba-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  position: relative; z-index: 2;
}
@media (max-width: 900px) { .ba-grid { grid-template-columns: 1fr; } }

.ba-col h3 {
  font-family: var(--font-display); font-size: 28px;
  letter-spacing: -0.01em; margin-bottom: 32px;
  display: flex; align-items: center; gap: 14px;
}
.ba-col h3::before {
  content: ""; width: 12px; height: 12px;
}
.ba-col.before h3::before { background: var(--gray-2); }
.ba-col.after h3 { color: var(--lime); }
.ba-col.after h3::before { background: var(--lime); box-shadow: 0 0 12px var(--lime); }

.ba-col ul { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.ba-col li {
  padding: 18px 22px;
  background: var(--navy-2); border: 1px solid var(--border);
  border-radius: 14px;
  font-size: 15px; color: var(--gray-1);
  display: flex; align-items: flex-start; gap: 12px;
  line-height: 1.5;
}
.ba-col.after li {
  border-color: var(--border-active);
  background: linear-gradient(90deg, rgba(216,237,12,0.05), transparent);
  color: var(--white);
}
.ba-col li::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gray-2); flex-shrink: 0; margin-top: 8px;
}
.ba-col.after li::before {
  background: var(--lime); box-shadow: 0 0 8px var(--lime-mid);
}

/* ==================== FAQ ==================== */
.faq {
  background: linear-gradient(180deg, var(--black) 0%, #04060a 100%);
}
.faq-grid {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px;
  position: relative; z-index: 2;
}
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; gap: 40px; } }

.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--navy-2);
  overflow: hidden;
  transition: all .25s ease;
}
.faq-item[open] {
  border-color: var(--border-active);
  background: var(--surface);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: -0.005em;
  line-height: 1.3;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 24px; color: var(--lime);
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-active);
  border-radius: 50%;
  flex-shrink: 0;
  transition: transform .3s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body {
  padding: 0 26px 24px;
  color: var(--gray-1); line-height: 1.6;
  font-size: 15px;
}

/* ==================== Final CTA ==================== */
.final-cta {
  position: relative;
  padding: 160px 0;
  overflow: hidden;
}
.final-cta-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 60% 60% at 50% 50%, rgba(216,237,12,0.15), transparent 60%),
    var(--black);
}
.final-cta-watermark {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 90%; max-width: 1100px;
  opacity: 0.05;
  z-index: 0;
  pointer-events: none;
  filter: grayscale(1) brightness(2);
}
.final-cta-content {
  position: relative; z-index: 2;
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
}
.final-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 96px);
  letter-spacing: -0.025em;
  line-height: 0.95;
  margin: 32px 0 28px;
}
.final-cta h2 em { color: var(--lime); font-style: italic; }
.final-cta p {
  font-size: 19px; color: var(--gray-1);
  max-width: 640px; margin: 0 auto 48px;
  line-height: 1.55;
}
.final-cta-actions {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 60px;
}
.final-contact {
  display: inline-flex; gap: 28px; flex-wrap: wrap; justify-content: center;
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gray-2);
}
.final-contact a:hover { color: var(--lime); }

/* ==================== Footer ==================== */
.footer {
  position: relative;
  background: var(--black);
  padding: 80px 0 40px;
  border-top: 1px solid var(--border);
}
.footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--lime), transparent);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  margin-bottom: 60px;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }

.footer .brand { margin-bottom: 24px; }
.footer-tag {
  font-family: var(--font-display);
  font-size: 22px; letter-spacing: -0.01em;
  line-height: 1.3;
  max-width: 320px;
  margin-bottom: 20px;
}
.footer-tag em { color: var(--lime); font-style: italic; }
.footer-meta {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gray-2);
}
.footer-col h5 {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--lime); margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 14px; color: var(--gray-1); transition: color .2s ease;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 32px;
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.12em; color: var(--gray-2);
}

/* ==================== Reveal animation ==================== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal-stagger.in > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: .08s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: .16s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: .24s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: .32s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: .40s; }
.reveal-stagger.in > *:nth-child(7) { transition-delay: .48s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .reveal, .reveal-stagger > *, .scroll-stage { opacity: 1; transform: none; filter: none; }
  .scroll-stage::before, .scroll-stage::after { opacity: 1; transform: none; }
}

/* Scrollline / scanline effect */
.scanline {
  position: absolute; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(216,237,12,0.4), transparent);
  pointer-events: none;
}
