/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0A0A0F;
  --bg-2: #0F0F1A;
  --bg-card: #111118;
  --fg: #F4F4F5;
  --fg-muted: #71717A;
  --accent: #06B6D4;
  --accent-dim: rgba(6, 182, 212, 0.12);
  --accent-glow: rgba(6, 182, 212, 0.25);
  --border: rgba(255,255,255,0.06);
  --radius: 10px;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

html { font-size: 16px; scroll-behavior: smooth; }

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

/* === NAV === */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 32px;
  background: rgba(10,10,15,0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--fg);
  letter-spacing: -0.02em;
}

.nav-tag {
  font-size: 0.75rem;
  color: var(--fg-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(6,182,212,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6,182,212,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 0%, transparent 100%);
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}

.glow-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(6,182,212,0.08) 0%, transparent 70%);
  top: -100px; left: -200px;
}

.glow-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(6,182,212,0.05) 0%, transparent 70%);
  bottom: 0; right: 0;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--fg);
}

.highlight {
  color: var(--accent);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 480px;
}

/* Neural net visual */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.neural-wrap {
  position: relative;
  width: 380px;
  height: 380px;
}

.neural-net {
  width: 100%;
  height: 100%;
  animation: pulse-net 4s ease-in-out infinite;
}

@keyframes pulse-net {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.75; }
}

.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(17,17,24,0.9);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  backdrop-filter: blur(8px);
  white-space: nowrap;
  animation: float-badge 5s ease-in-out infinite;
}

.badge-1 { top: 20px; left: -20px; animation-delay: 0s; }
.badge-2 { bottom: 60px; right: -20px; animation-delay: 1.5s; }
.badge-3 { bottom: 20px; left: 0; animation-delay: 3s; }

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

/* === STATS === */
.stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}

.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 32px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: center;
}

.stat-item {
  text-align: center;
  padding: 0 40px;
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.04em;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

.stat-divider {
  width: 1px;
  height: 80px;
  background: var(--border);
}

/* === SECTIONS (shared) === */n.section-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
}

.section-headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 56px;
  color: var(--fg);
}

/* === PROBLEM === */
.problem { padding: 100px 32px; }

.problem-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  transition: border-color 0.3s;
}

.problem-card:hover { border-color: rgba(6,182,212,0.3); }

.problem-icon {
  color: var(--accent);
  margin-bottom: 20px;
}

.problem-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--fg);
}

.problem-card p {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* === SERVICES === */
.services {
  background: var(--bg-2);
  padding: 100px 32px;
}

.services-inner { max-width: 1200px; margin: 0 auto; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  transition: border-color 0.3s, transform 0.3s;
}

.service-card:hover {
  border-color: rgba(6,182,212,0.35);
  transform: translateY(-2px);
}

.service-icon-wrap {
  color: var(--accent);
  margin-bottom: 20px;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--fg);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.service-tag {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 4px 10px;
  border-radius: 100px;
  font-weight: 600;
}

.services-note {
  margin-top: 32px;
  font-size: 0.875rem;
  color: var(--fg-muted);
  text-align: center;
  font-style: italic;
}

/* === INDUSTRIES === */
.industries { padding: 100px 32px; }

.industries-inner { max-width: 1200px; margin: 0 auto; }

.industries-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 700px;
  margin-bottom: 48px;
}

.industry-item {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.05rem;
  color: var(--fg-muted);
  padding: 16px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: border-color 0.3s, color 0.3s;
}

.industry-item:hover {
  border-color: rgba(6,182,212,0.3);
  color: var(--fg);
}

.industry-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--accent-glow);
}

.industries-cta {
  max-width: 600px;
  padding: 24px 28px;
  border-left: 3px solid var(--accent);
  background: var(--accent-dim);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.industries-cta p {
  font-size: 0.95rem;
  color: var(--fg-muted);
  font-style: italic;
}

/* === PROCESS === */
.process { background: var(--bg-2); padding: 100px 32px; }

.process-inner { max-width: 1200px; margin: 0 auto; }

.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.step {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 0.3s;
}

.step:hover { border-color: rgba(6,182,212,0.3); }

.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.4;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
}

.step p {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

.step-connector {
  display: flex;
  align-items: center;
  padding-top: 32px;
  flex-shrink: 0;
}

/* === CLOSING === */
.closing { padding: 100px 32px; }

.closing-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.closing-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(6,182,212,0.06) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(40px);
}

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.25;
  color: var(--fg);
  margin-bottom: 24px;
  position: relative;
}

.closing-body {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  position: relative;
}

/* === FOOTER === */
.footer {
  border-top: 1px solid var(--border);
  padding: 56px 32px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.footer-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--fg);
  letter-spacing: -0.02em;
}

.footer-tagline {
  font-size: 0.75rem;
  color: var(--fg-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-note {
  font-size: 0.875rem;
  color: var(--fg-muted);
  max-width: 440px;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--fg-muted);
  opacity: 0.5;
  margin-top: 8px;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  .hero-visual { order: -1; }
  .hero-sub { margin: 0 auto; }
  .problem-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .stat-divider { display: none; }
  .process-steps { flex-direction: column; }
  .step-connector { transform: rotate(90deg); padding: 0; justify-content: center; }
}

@media (max-width: 600px) {
  .hero { padding: 100px 20px 60px; }
  .stats-inner, .problem, .services, .industries, .process, .closing { padding-left: 20px; padding-right: 20px; }
  .stats { padding: 40px 20px; }
  .stat-item { padding: 0 16px; }
  .neural-wrap { width: 280px; height: 280px; }
}