* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: #030308;
  color: #fff;
  font-family: 'Inter', system-ui, sans-serif;
  overflow-x: hidden;
}

/* Subtle star background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle,
      rgba(255,255,255,0.8) 1px,
      transparent 1px),
    radial-gradient(circle,
      rgba(255,255,255,0.4) 1px,
      transparent 1px),
    radial-gradient(circle,
      rgba(255,255,255,0.6) 1px,
      transparent 1px);
  background-size:
    200px 200px,
    350px 350px,
    500px 500px;
  background-position:
    0 0,
    80px 120px,
    160px 40px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* Nav */
.agent-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-wordmark {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0,0,0,0.8);
}
.nav-wordmark span {
  background: linear-gradient(135deg,
    #a78bfa, #4f46e5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-cta {
  background: rgba(124,58,237,0.15);
  border: 0.5px solid rgba(124,58,237,0.4);
  color: #a78bfa;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.2s;
}
.nav-cta:hover {
  background: rgba(124,58,237,0.25);
}

/* Hero */
.agent-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 40px 80px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 80px;
  position: relative;
  z-index: 1;
}
.agent-hero-inner {
  flex: 1;
  max-width: 600px;
}
.agent-back {
  margin-bottom: 32px;
}
.agent-back a {
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}
.agent-back a:hover {
  color: #a78bfa;
}
.agent-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(124,58,237,0.08);
  border: 0.5px solid rgba(124,58,237,0.3);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 11px;
  color: rgba(167,139,250,0.8);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.agent-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.1;
  margin-bottom: 20px;
}
.agent-tagline {
  font-size: 18px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 480px;
}
.agent-hero-visual {
  flex: 0 0 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg,
    #7c3aed, #4f46e5);
  color: #fff;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px
    rgba(124,58,237,0.3);
}

/* Sections */
.agent-section {
  padding: 80px 40px;
  position: relative;
  z-index: 1;
}
.agent-section.alt {
  background: rgba(255,255,255,0.01);
  border-top: 0.5px solid
    rgba(255,255,255,0.04);
  border-bottom: 0.5px solid
    rgba(255,255,255,0.04);
}
.agent-section-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.section-tag {
  font-size: 11px;
  color: rgba(124,58,237,0.8);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
  font-weight: 500;
}
.agent-section h2 {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 48px;
}

/* Capability grid */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.04);
  border-radius: 16px;
  overflow: hidden;
}
.capability-card {
  background: rgba(8,8,20,0.95);
  padding: 28px;
  transition: background 0.2s;
}
.capability-card:hover {
  background: rgba(124,58,237,0.05);
}
.capability-icon {
  font-size: 24px;
  margin-bottom: 14px;
}
.capability-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}
.capability-card p {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
}

/* Steps list */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 700px;
}
.step-item {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 0.5px solid
    rgba(255,255,255,0.06);
  align-items: flex-start;
}
.step-item:last-child {
  border-bottom: none;
}
.step-num {
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(135deg,
    #a78bfa, #4f46e5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  min-width: 48px;
  line-height: 1;
}
.step-content h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}
.step-content p {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
}

/* Industry list */
.industry-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.industry-card {
  background: rgba(255,255,255,0.02);
  border: 0.5px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 20px 24px;
  transition: all 0.2s;
}
.industry-card:hover {
  border-color: rgba(124,58,237,0.3);
  background: rgba(124,58,237,0.04);
}
.industry-card h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}
.industry-card p {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  line-height: 1.6;
}

/* CTA section */
.agent-cta {
  padding: 100px 40px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.agent-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse
    at center,
    rgba(124,58,237,0.08) 0%,
    transparent 70%);
  pointer-events: none;
}
.agent-cta-inner {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}
.agent-cta h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.agent-cta p {
  font-size: 16px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 36px;
  line-height: 1.7;
}
.cta-sub {
  margin-top: 20px;
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  margin-bottom: 0;
}
.cta-sub a {
  color: #a78bfa;
  text-decoration: none;
}

/* Footer */
.agent-footer {
  padding: 24px 40px;
  border-top: 0.5px solid
    rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.2);
  position: relative;
  z-index: 1;
}

/* Mobile */
@media (max-width: 768px) {
  .agent-hero {
    flex-direction: column;
    padding: 100px 20px 60px;
    gap: 40px;
  }
  .agent-hero-visual {
    display: none;
  }
  .agent-nav { padding: 16px 20px; }
  .agent-section { padding: 60px 20px; }
  .capability-grid {
    grid-template-columns: 1fr;
  }
  .industry-list {
    grid-template-columns: 1fr 1fr;
  }
  .agent-footer {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}
