/* NexusFlow — Dark Tech Landing */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap');

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

:root {
  --bg:       #0d0d0f;
  --surface:  #151518;
  --surface2: #1c1c21;
  --border:   #26262e;
  --cyan:     #00e5c8;
  --cyan-dim: #00b3a0;
  --coral:    #ff6b6b;
  --text:     #e8e8f0;
  --muted:    #7a7a96;
  --subtle:   #3a3a50;
  --font-head: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

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

/* ── UTILITY ── */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid rgba(0,229,200,0.25);
  padding: 4px 12px;
  border-radius: 3px;
  margin-bottom: 24px;
}

.section-label {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 16px;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(13,13,15,0.85);
  border-bottom: 1px solid var(--border);
}
nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 18px;
  color: var(--text);
  letter-spacing: -0.02em;
  text-decoration: none;
}
.nav-logo span { color: var(--cyan); }
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://pub-629428d185ca4960a0a73c850d32294b.r2.dev/generated-images/company_178993/bd698640-8359-40f4-bf94-ce29a2bb550e.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.12;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 70% 50%, rgba(0,229,200,0.06) 0%, transparent 70%);
}
.hero-grid-lines {
  position: absolute;
  inset: 0;
  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: 60px 60px;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}
.hero-eyebrow {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--cyan);
}
.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 24px;
}
.hero h1 .accent { color: var(--cyan); }
.hero-sub {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 520px;
  margin-bottom: 48px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  max-width: 560px;
}
.stat {
  background: var(--surface);
  padding: 20px 24px;
}
.stat-number {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 800;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-desc {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}
.live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--coral);
  border-radius: 50%;
  margin-right: 6px;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

/* ── SCAN LINE (live data feel) ── */
@keyframes scanMove {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(100vh); }
}
.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0,229,200,0.5), transparent);
  animation: scanMove 4s linear infinite;
  pointer-events: none;
  z-index: 3;
}

/* ── SECTION BASE ── */
section { padding: 120px 0; }
.section-header { margin-bottom: 64px; }
.section-header h2 {
  font-family: var(--font-head);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--text);
}
.section-header h2 .accent { color: var(--cyan); }
.section-header p {
  margin-top: 16px;
  font-size: 17px;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.7;
}

/* ── PROBLEM ── */
#problem { background: var(--bg); }
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.problem-left {}
.problem-item {
  border-left: 2px solid var(--coral);
  padding-left: 24px;
  margin-bottom: 40px;
}
.problem-item h3 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.problem-item p { font-size: 15px; color: var(--muted); line-height: 1.65; }
.problem-right {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
}
.problem-code {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}
.problem-code .k { color: var(--coral); }
.problem-code .s { color: var(--cyan); }
.problem-code .c { color: var(--subtle); font-size: 11px; }

/* ── SERVICES ── */
#services { background: var(--surface); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.service-card {
  background: var(--surface2);
  padding: 32px 28px;
  transition: background 0.2s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  opacity: 0;
  transition: opacity 0.2s;
}
.service-card:hover { background: #1e1e28; }
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(0,229,200,0.3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--cyan);
}
.service-card h3 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.service-card p { font-size: 14px; color: var(--muted); line-height: 1.65; }
.service-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 10px;
}

/* ── OUTCOMES ── */
#outcomes { background: var(--bg); }
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.outcome-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  position: relative;
}
.outcome-card::after {
  content: '';
  position: absolute;
  top: 16px; right: 16px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan);
}
.outcome-metric {
  font-family: var(--font-head);
  font-size: 42px;
  font-weight: 800;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 12px;
}
.outcome-card h3 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.outcome-card p { font-size: 14px; color: var(--muted); line-height: 1.65; }
.outcome-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid rgba(0,229,200,0.3);
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 16px;
}

/* ── DIFFERENTIATOR ── */
#diff { background: var(--surface); }
.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.diff-col {
  background: var(--surface2);
  padding: 40px 36px;
}
.diff-col.agent-col { background: #0f1e1a; }
.diff-col h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.diff-col.agent-col h3 { color: var(--cyan); }
.diff-col.legacy-col h3 { color: var(--muted); }
.diff-item {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  align-items: flex-start;
}
.diff-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  margin-top: 1px;
}
.diff-col.agent-col .diff-icon { background: rgba(0,229,200,0.15); color: var(--cyan); }
.diff-col.legacy-col .diff-icon { background: rgba(255,107,107,0.15); color: var(--coral); }
.diff-item p { font-size: 14px; color: var(--muted); line-height: 1.55; }
.diff-item strong { color: var(--text); font-weight: 600; }
.diff-divider {
  text-align: center;
  background: var(--surface2);
  padding: 20px;
  border-top: 2px solid var(--border);
}
.diff-vs {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--border);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 13px;
  color: var(--muted);
  background: var(--surface);
  position: relative;
  z-index: 1;
}

/* ── VISION ── */
#vision {
  background: var(--bg);
  text-align: left;
  position: relative;
  overflow: hidden;
}
.vision-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 50% 100%, rgba(0,229,200,0.07) 0%, transparent 60%);
}
.vision-inner { position: relative; z-index: 1; }
#vision .section-header { max-width: 700px; }
.vision-statement {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}
.vision-statement .accent { color: var(--cyan); }
.vision-cta {
  font-size: 16px;
  color: var(--muted);
  max-width: 500px;
  line-height: 1.7;
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 48px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 16px;
  color: var(--muted);
  letter-spacing: -0.02em;
}
.footer-logo span { color: var(--cyan); }
.footer-copy { font-size: 13px; color: var(--subtle); }
.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}
.footer-links a { font-size: 13px; color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); }

/* ── SECTION SEPARATOR ── */
.sep {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

/* ── MOBILE ── */
@media (max-width: 768px) {
  nav .nav-links { display: none; }
  .hero h1 { font-size: 36px; }
  .hero-stats { grid-template-columns: 1fr; }
  .problem-grid, .diff-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .outcomes-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 20px; text-align: center; }
  section { padding: 80px 0; }
}