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

:root {
  --bg: #0b0f1a;
  --bg-alt: #111827;
  --surface: #1e2536;
  --border: #2d3548;
  --text: #eaf0ff;
  --text-dim: #8896b3;
  --accent: #f59e0b;
  --accent-glow: rgba(245, 158, 11, 0.25);
  --accent2: #3b82f6;
  --green: #10b981;
  --red: #ef4444;
  --radius: 12px;
  --radius-sm: 8px;
}

html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
a { color: var(--accent); text-decoration: none; }
a:hover { opacity: 0.85; }

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 28px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 600;
  cursor: pointer; transition: all 0.2s;
  border: none; text-decoration: none;
}
.btn-sm { padding: 8px 20px; font-size: 14px; }
.btn-primary {
  background: var(--accent); color: #000;
  box-shadow: 0 0 24px var(--accent-glow);
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-full { width: 100%; }

/* === Nav === */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(11, 15, 26, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo { color: var(--text); font-weight: 700; font-size: 18px; display: flex; align-items: center; gap: 8px; }
.logo-icon { color: var(--accent); font-size: 20px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--text-dim); font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: var(--text); }

/* === Hero === */
.hero {
  padding: 160px 0 80px;
  text-align: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(245, 158, 11, 0.06) 0%, transparent 60%);
}
.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  background: rgba(245, 158, 11, 0.1);
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
  border: 1px solid rgba(245, 158, 11, 0.2);
}
.hero h1 {
  font-size: clamp(34px, 5.5vw, 60px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.8;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; margin-bottom: 60px; }

/* Stats */
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  max-width: 700px; margin: 0 auto;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.stat-num { font-size: 32px; font-weight: 800; color: var(--accent); }
.stat-label { font-size: 13px; color: var(--text-dim); margin-top: 4px; }

/* === Sections === */
.section { padding: 100px 0; }
.section-dark { background: var(--bg-alt); }
.section-header { text-align: center; max-width: 600px; margin: 0 auto 60px; }
.section-header h2 {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.section-header p { color: var(--text-dim); font-size: 17px; }

/* === Pain Points === */
.pain-grid { display: flex; flex-direction: column; gap: 20px; }
.pain-card {
  display: flex; align-items: center; gap: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
}
.pain-before, .pain-after { flex: 1; }
.pain-arrow { font-size: 24px; color: var(--accent); font-weight: 700; flex-shrink: 0; }
.pain-tag {
  display: inline-block; padding: 3px 10px; border-radius: 4px;
  font-size: 12px; font-weight: 700; margin-bottom: 8px;
}
.tag-red { background: rgba(239,68,68,0.15); color: var(--red); }
.tag-green { background: rgba(16,185,129,0.15); color: var(--green); }
.pain-card p { font-size: 14px; color: var(--text-dim); line-height: 1.6; }

/* === Agent Matrix === */
.agents-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.agent-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 0.2s;
}
.agent-card:hover { border-color: var(--accent); }
.agent-icon { font-size: 32px; margin-bottom: 12px; }
.agent-name { font-size: 13px; color: var(--accent); font-weight: 700; }
.agent-title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.agent-card p { color: var(--text-dim); font-size: 14px; line-height: 1.6; margin-bottom: 16px; }
.agent-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.agent-tags span {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 3px 10px;
  font-size: 12px;
  color: var(--text-dim);
}

/* === Workflow === */
.workflow { max-width: 600px; margin: 0 auto; }
.workflow-step {
  display: flex; align-items: center; gap: 20px;
}
.step-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); color: #000;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 16px; flex-shrink: 0;
}
.step-content h3 { font-size: 16px; margin-bottom: 2px; }
.step-content p { font-size: 14px; color: var(--text-dim); }
.workflow-connector {
  width: 2px; height: 28px;
  background: var(--border);
  margin-left: 21px;
}

/* === Testimonials === */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.quote {
  font-size: 14px; line-height: 1.8; color: var(--text);
  margin-bottom: 16px;
  font-style: italic;
}
.author { font-size: 13px; color: var(--text-dim); }
.author strong { color: var(--text); font-style: normal; }

/* === Pricing === */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 900px; margin: 0 auto; }
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  position: relative;
}
.pricing-featured {
  border-color: var(--accent);
  box-shadow: 0 0 30px var(--accent-glow);
}
.pricing-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #000;
  padding: 4px 14px; border-radius: 20px;
  font-size: 12px; font-weight: 700;
}
.pricing-tier { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.pricing-price { font-size: 40px; font-weight: 800; margin-bottom: 4px; }
.pricing-price span { font-size: 16px; font-weight: 500; color: var(--text-dim); }
.pricing-desc { color: var(--text-dim); font-size: 14px; margin-bottom: 24px; }
.pricing-card ul { list-style: none; margin-bottom: 28px; }
.pricing-card li { padding: 6px 0; font-size: 14px; color: var(--text-dim); }
.pricing-card li::before { content: '✓ '; color: var(--green); font-weight: 700; }

/* === CTA === */
.cta-section {
  text-align: center;
  background: radial-gradient(ellipse at 50% 100%, rgba(245, 158, 11, 0.06) 0%, transparent 60%);
}
.cta-section h2 { font-size: clamp(28px, 3.5vw, 40px); font-weight: 800; margin-bottom: 12px; }
.cta-section > .container > p { color: var(--text-dim); font-size: 17px; margin-bottom: 32px; }
.cta-form {
  display: flex; gap: 12px; max-width: 440px; margin: 0 auto 16px;
}
.cta-form input {
  flex: 1; padding: 12px 16px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text);
  font-size: 15px; outline: none;
}
.cta-form input:focus { border-color: var(--accent); }
.cta-note { color: var(--text-dim); font-size: 13px; }
.success-msg { color: var(--green); font-size: 16px; }

/* === Footer === */
.footer { padding: 60px 0 40px; border-top: 1px solid var(--border); }
.footer-inner { display: flex; justify-content: space-between; gap: 60px; }
.footer-brand p { color: var(--text-dim); font-size: 14px; margin-top: 12px; }
.footer-copy { margin-top: 20px; font-size: 13px; }
.footer-links { display: flex; gap: 60px; }
.footer-links h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; color: var(--text-dim); }
.footer-links a { display: block; color: var(--text-dim); font-size: 14px; padding: 4px 0; }
.footer-links a:hover { color: var(--text); }

/* === Responsive === */
@media (max-width: 768px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .pain-card { flex-direction: column; text-align: center; }
  .pain-arrow { transform: rotate(90deg); }
  .agents-grid, .testimonials, .pricing-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .footer-inner { flex-direction: column; gap: 40px; }
  .footer-links { gap: 40px; }
  .cta-form { flex-direction: column; }
  .nav-links a:not(.btn) { display: none; }
}
