/* ─── Homepage design ─── */
:root {
  --bg:       #0a0a0a;
  --surface:  #141414;
  --raised:   #1a1a1a;
  --border:   #222;
  --border-l: #2a2a2a;
  --text:     #ececec;
  --text-2:   #a0a0a0;
  --text-3:   #666;
  --accent:   #7c6cf0;
  --accent-2: #6958d9;
  --green:    #3ecf8e;
  --radius:   6px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

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

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

::selection { background: rgba(124, 108, 240, 0.3); }

/* ─── Nav ─── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 52px;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.nav-container {
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-logo .logo-img { width: 22px; height: 22px; }
.nav-logo h2 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
  letter-spacing: -0.01em;
}

.nav-links { display: flex; gap: 1.75rem; align-items: center; }
.nav-links a {
  color: var(--text-2);
  font-size: 0.82rem;
  font-weight: 450;
  text-decoration: none;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-links .btn-primary {
  background: var(--accent);
  color: #fff;
  padding: 0.4rem 1rem;
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 500;
  border: none;
  transition: background 0.15s;
}
.nav-links .btn-primary:hover { background: var(--accent-2); text-decoration: none; }

/* ─── Container ─── */
.container { max-width: 1080px; margin: 0 auto; padding: 0 1.5rem; }

/* ─── Hero ─── */
.hero {
  margin-top: 52px;
  padding: 6rem 0 5rem;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(124,108,240,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-container { max-width: 1080px; margin: 0 auto; padding: 0 1.5rem; position: relative; }
.hero-content { text-align: center; max-width: 640px; margin: 0 auto; }

.hero-badges {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.badge {
  padding: 0.2rem 0.7rem;
  font-size: 0.7rem;
  font-weight: 500;
  border-radius: 50px;
  background: rgba(124,108,240,0.08);
  color: var(--accent);
  border: 1px solid rgba(124,108,240,0.15);
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--text);
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── Buttons ─── */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 1.5rem;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-2); text-decoration: none; }

.btn-secondary {
  background: transparent;
  border: 1px solid var(--border-l);
  color: var(--text-2);
}
.btn-secondary:hover { border-color: #444; color: var(--text); text-decoration: none; }

.btn-large { height: 44px; padding: 0 2rem; font-size: 0.9rem; }

.btn-pricing {
  display: block;
  width: 100%;
  text-align: center;
  height: 40px;
  line-height: 40px;
  padding: 0;
  margin-top: 1.5rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 500;
  background: var(--raised);
  color: var(--text-2);
  border: 1px solid var(--border-l);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.btn-pricing:hover { background: var(--border-l); color: var(--text); text-decoration: none; }
.btn-pricing.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-pricing.btn-primary:hover { background: var(--accent-2); }

/* ─── Section headers ─── */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.section-header p { font-size: 1rem; color: var(--text-2); }

/* ─── Agents ─── */
.agents-section { padding: 5rem 0; }

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

.agent-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  position: relative;
  transition: border-color 0.2s;
}
.agent-card:hover { border-color: var(--border-l); }

.agent-card.featured {
  border-color: rgba(124,108,240,0.3);
}

.featured-badge {
  position: absolute;
  top: -10px;
  right: 16px;
  background: var(--accent);
  color: #fff;
  padding: 0.2rem 0.75rem;
  border-radius: 50px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.agent-icon {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  display: block;
}

.agent-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.6rem;
  color: var(--text);
}

.agent-description {
  color: var(--text-2);
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.agent-features { margin-bottom: 1.25rem; }
.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
  font-size: 0.82rem;
  color: var(--text-2);
}
.feature-icon { font-size: 0.85rem; width: 1rem; text-align: center; }

.agent-price {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

/* ─── Benefits ─── */
.benefits-section { padding: 5rem 0; background: var(--surface); }

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

.benefit-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  transition: background 0.15s;
}
.benefit-card:hover { background: var(--raised); }

.benefit-icon { font-size: 1.25rem; margin-bottom: 0.75rem; display: block; }
.benefit-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.benefit-card p {
  color: var(--text-2);
  font-size: 0.85rem;
  line-height: 1.6;
}

/* ─── Pricing ─── */
.pricing-section { padding: 5rem 0; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 860px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  position: relative;
  text-align: center;
  transition: border-color 0.2s;
}
.pricing-card:hover { border-color: var(--border-l); }
.pricing-card.featured { border-color: rgba(124,108,240,0.3); }

.popular-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  padding: 0.2rem 0.75rem;
  border-radius: 50px;
  font-size: 0.68rem;
  font-weight: 600;
  white-space: nowrap;
}

.pricing-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text);
}

.price { margin-bottom: 0.25rem; }
.price-amount { font-size: 2.4rem; font-weight: 700; color: var(--text); letter-spacing: -0.03em; }
.price-period { font-size: 0.9rem; color: var(--text-3); }
.price-usage { color: var(--text-3); font-size: 0.8rem; margin-bottom: 1.5rem; }

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 0.5rem;
}
.pricing-features li {
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-2);
  font-size: 0.82rem;
}
.pricing-features li:last-child { border-bottom: none; }

.pricing-note {
  text-align: center;
  color: var(--text-3);
  margin-top: 2rem;
  font-size: 0.8rem;
}

/* ─── CTA ─── */
.cta-section { padding: 5rem 0; text-align: center; }
.cta-content h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  margin-bottom: 0.6rem;
}
.cta-content p { font-size: 1rem; color: var(--text-2); margin-bottom: 2rem; }

/* ─── Footer ─── */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 1.25rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 1.5rem;
}
.footer-section h4 { font-size: 0.8rem; font-weight: 600; margin-bottom: 0.75rem; color: var(--text); }
.footer-section p { color: var(--text-3); font-size: 0.82rem; line-height: 1.5; }
.footer-section ul { list-style: none; }
.footer-section ul li { margin-bottom: 0.35rem; }
.footer-section ul li a {
  color: var(--text-3);
  font-size: 0.82rem;
  text-decoration: none;
  transition: color 0.15s;
}
.footer-section ul li a:hover { color: var(--text); }

.footer-bottom {
  text-align: center;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  color: var(--text-3);
  font-size: 0.78rem;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .nav-links a:not(.btn-primary) { display: none; }
  .hero { padding: 4rem 0 3rem; }
  .agents-grid, .benefits-grid, .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
  .hero-cta { flex-direction: column; align-items: center; }
  .btn-large { width: 100%; }
  .footer-content { grid-template-columns: 1fr; }
}
