:root {
  --bg: #0a0f1e;
  --bg-soft: #111827;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-hover: rgba(255, 255, 255, 0.08);
  --text: #f8fafc;
  --muted: #94a3b8;
  --primary: #3b82f6;
  --primary-2: #8b5cf6;
  --primary-3: #06b6d4;
  --success: #10b981;
  --border: rgba(255, 255, 255, 0.1);
  --border-hover: rgba(59, 130, 246, 0.4);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
  --radius: 16px;
  --radius-sm: 8px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 20% 20%, #1e293b, var(--bg) 60%);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

.container {
  width: min(1200px, 94%);
  margin: 0 auto;
}

/* Background blurs */
.bg-blur {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 999px;
  filter: blur(100px);
  z-index: -1;
  animation: float 18s ease-in-out infinite;
  opacity: 0.4;
}

.bg-blur-1 {
  background: rgba(59, 130, 246, 0.3);
  top: -100px;
  left: -100px;
}

.bg-blur-2 {
  background: rgba(139, 92, 246, 0.25);
  bottom: -150px;
  right: -100px;
  animation-delay: -6s;
}

.bg-blur-3 {
  background: rgba(6, 182, 212, 0.2);
  top: 50%;
  left: 70%;
  width: 300px;
  height: 300px;
  animation-delay: -12s;
}

@keyframes float {
  0%,
  100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -15px) scale(1.05); }
  66% { transform: translate(-15px, 10px) scale(0.95); }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(12px);
  background: rgba(10, 15, 30, 0.7);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  padding: 0.5rem 0;
}

.nav {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  color: var(--text);
  text-decoration: none;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  font-size: 1.8rem;
}

.logo span {
  color: var(--primary);
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  gap: 2rem;
  margin-left: auto;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
  transition: all 0.3s ease;
  gap: 0.5rem;
  font-size: 0.95rem;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-2), var(--primary));
  box-shadow: 0 12px 30px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--surface-hover);
  border-color: var(--border-hover);
}

.btn-ghost {
  color: var(--text);
  background: transparent;
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: var(--surface);
  border-color: var(--border-hover);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* Hero Section */
.hero {
  padding: 8rem 0 6rem;
  text-align: center;
}

.eyebrow {
  color: var(--primary-3);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  margin-bottom: 1rem;
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(6, 182, 212, 0.1);
  border-radius: 100px;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.8rem;
  line-height: 1.15;
  font-family: 'Space Grotesk', sans-serif;
}

h1 {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  max-width: 900px;
  margin: 0 auto 1.5rem;
}

h1 span {
  background: linear-gradient(90deg, var(--primary), var(--primary-2), var(--primary-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% auto;
  animation: gradient 3s ease infinite;
}

@keyframes gradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-copy {
  max-width: 700px;
  color: var(--muted);
  margin: 0 auto 2.5rem;
  font-size: 1.2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 4rem;
}

.hero-metrics article {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: left;
  transition: all 0.3s ease;
}

.hero-metrics article:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  background: rgba(59, 130, 246, 0.05);
}

.metric-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.hero-metrics h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.hero-metrics p {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
}

/* Sections */
.section {
  padding: 6rem 0;
}

.section-head {
  text-align: center;
  margin-bottom: 4rem;
}

.section-head h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  max-width: 800px;
  margin: 0 auto 1rem;
}

.section-subtitle {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  background: rgba(59, 130, 246, 0.03);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  background: rgba(59, 130, 246, 0.1);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-features li {
  color: var(--text);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.service-features i {
  color: var(--success);
}

/* Demo Section */
.demo-section {
  background: rgba(10, 15, 30, 0.7);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.demo-container {
  max-width: 1000px;
  margin: 0 auto;
}

.demo-frame {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 2rem;
}

.demo-header {
  background: rgba(0, 0, 0, 0.3);
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.demo-tabs {
  display: flex;
  gap: 1rem;
}

.demo-tab {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.demo-tab.active {
  background: rgba(59, 130, 246, 0.2);
  color: var(--primary);
}

.demo-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
}

.status-indicator.active {
  background: var(--success);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

.demo-content {
  padding: 2rem;
}

.agent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.agent-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.2s ease;
}

.agent-card:hover {
  background: rgba(59, 130, 246, 0.05);
  border-color: var(--primary);
}

.agent-avatar {
  font-size: 1.8rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.agent-info {
  flex-grow: 1;
}

.agent-info h4 {
  margin: 0 0 0.2rem;
  font-size: 1rem;
}

.agent-info p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.agent-status {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--success);
}

.demo-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius);
}

.stat {
  text-align: center;
}

.stat h3 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat p {
  color: var(--muted);
  margin: 0;
  font-size: 0.9rem;
}

.demo-cta {
  text-align: center;
  padding: 2rem;
}

.demo-cta p {
  color: var(--muted);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

/* Use Cases */
.use-cases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.use-case {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.3s ease;
}

.use-case:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.use-case-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  background: rgba(59, 130, 246, 0.1);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.use-case h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.use-case p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.use-case-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.metric-tag {
  background: rgba(59, 130, 246, 0.1);
  color: var(--primary);
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 1.5rem;
}

.cta-content p {
  color: var(--muted);
  font-size: 1.2rem;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.cta-features {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
}

.feature i {
  color: var(--primary);
}

/* Footer */
.site-footer {
  background: rgba(10, 15, 30, 0.9);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--muted);
  margin: 1rem 0 1.5rem;
  max-width: 300px;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  color: var(--muted);
  font-size: 1.2rem;
  transition: color 0.2s ease;
}

.social-links a:hover {
  color: var(--primary);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.link-group h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.link-group a {
  display: block;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: color 0.2s ease;
  font-size: 0.95rem;
}

.link-group a:hover {
  color: var(--primary);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-bottom a {
  color: var(--primary);
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
  }
  
  .nav-links {
    margin-left: 0;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .hero {
    padding: 6rem 0 4rem;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 300px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-features {
    flex-direction: column;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .services-grid,
  .use-cases {
    grid-template-columns: 1fr;
  }
  
  .agent-grid {
    grid-template-columns: 1fr;
  }
  
  .demo-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}