/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  color: #1a1a2e;
  background: #fafafa;
  line-height: 1.6;
}
a { color: #4361ee; text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ── Nav ──────────────────────────────────────────────────── */
nav {
  background: #fff;
  border-bottom: 1px solid #e8e8ec;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.logo {
  font-weight: 700;
  font-size: 18px;
  color: #1a1a2e;
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo:hover { text-decoration: none; }
.logo-icon {
  background: #4361ee;
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: #555; font-size: 14px; font-weight: 500; }
.nav-links a:hover, .nav-links a.active { color: #4361ee; text-decoration: none; }
.nav-status {
  background: #e8f5e9;
  color: #2e7d32 !important;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px !important;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: #fff;
  padding: 100px 0 90px;
  text-align: center;
}
.badge {
  display: inline-block;
  background: rgba(67, 97, 238, 0.2);
  color: #7b9cf7;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(67, 97, 238, 0.3);
}
.hero h1 { font-size: 52px; font-weight: 800; line-height: 1.15; margin-bottom: 20px; }
.hero-sub { font-size: 18px; color: #a0aec0; max-width: 640px; margin: 0 auto 36px; line-height: 1.7; }

.page-hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: #fff;
  padding: 70px 0 60px;
  text-align: center;
}
.page-hero h1 { font-size: 42px; font-weight: 800; margin-bottom: 12px; }
.page-hero .hero-sub { font-size: 18px; color: #a0aec0; max-width: 580px; margin: 0 auto; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: #4361ee; color: #fff; }
.btn-primary:hover { background: #3a56d4; }
.btn-secondary { background: #fff; color: #1a1a2e; border: 1px solid #ddd; }
.btn-secondary:hover { background: #f5f5f5; }
.hero-actions { display: flex; gap: 14px; justify-content: center; }

/* ── Stats Bar ────────────────────────────────────────────── */
.stats-bar { background: #fff; border-bottom: 1px solid #e8e8ec; padding: 40px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat-number { font-size: 36px; font-weight: 800; color: #4361ee; }
.stat-label { font-size: 14px; color: #777; margin-top: 4px; }

/* ── Features ─────────────────────────────────────────────── */
.features { padding: 80px 0; }
.features h2 { text-align: center; font-size: 32px; margin-bottom: 48px; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature-card {
  background: #fff;
  border: 1px solid #e8e8ec;
  border-radius: 12px;
  padding: 32px;
  transition: box-shadow 0.2s;
}
.feature-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.feature-icon { font-size: 28px; margin-bottom: 12px; }
.feature-card h3 { font-size: 18px; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: #666; line-height: 1.6; }

/* ── Integration Highlight ────────────────────────────────── */
.integration-highlight { background: #fff; padding: 80px 0; border-top: 1px solid #e8e8ec; }
.integration-content h2 { font-size: 28px; margin-bottom: 16px; }
.integration-content > p { font-size: 16px; color: #555; max-width: 700px; margin-bottom: 28px; }
pre {
  background: #1a1a2e;
  color: #e2e8f0;
  padding: 28px;
  border-radius: 10px;
  overflow-x: auto;
  font-size: 14px;
  line-height: 1.7;
}
.code-comment { color: #718096; }
.code-keyword { color: #c084fc; }
.code-string { color: #86efac; }
.code-key { color: #93c5fd; }

/* ── Customers ────────────────────────────────────────────── */
.customers { padding: 60px 0 80px; }
.customers h2 { text-align: center; font-size: 18px; color: #999; font-weight: 500; margin-bottom: 32px; }
.customer-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; text-align: center; }
.customer-logo {
  background: #fff;
  border: 1px solid #e8e8ec;
  border-radius: 8px;
  padding: 20px 16px;
  font-weight: 700;
  font-size: 15px;
  color: #aaa;
  letter-spacing: 0.5px;
}

/* ── Platform Page ────────────────────────────────────────── */
.platform-section { padding: 60px 0 80px; }
.platform-block { margin-bottom: 48px; }
.platform-block h2 { font-size: 24px; margin-bottom: 12px; color: #4361ee; }
.platform-block p { font-size: 15px; color: #555; max-width: 720px; line-height: 1.7; }
.endpoint-box {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #1a1a2e;
  color: #e2e8f0;
  padding: 10px 18px;
  border-radius: 8px;
  margin-top: 16px;
  font-size: 14px;
}
.endpoint-badge {
  background: #2e7d32;
  color: #fff;
  padding: 2px 10px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
}

/* ── Docs Page ────────────────────────────────────────────── */
.docs-content { padding: 60px 0 80px; }
.docs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 48px; }
.docs-card {
  background: #fff;
  border: 1px solid #e8e8ec;
  border-radius: 10px;
  padding: 28px;
}
.docs-card h3 { font-size: 18px; margin-bottom: 8px; }
.docs-card p { font-size: 14px; color: #666; margin-bottom: 12px; }
.docs-card a { font-size: 14px; font-weight: 600; }
.api-example h2 { font-size: 24px; margin-bottom: 16px; }

/* ── Pricing Page ─────────────────────────────────────────── */
.pricing-section { padding: 60px 0 80px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pricing-card {
  background: #fff;
  border: 1px solid #e8e8ec;
  border-radius: 12px;
  padding: 36px 28px;
  text-align: center;
  position: relative;
}
.pricing-card.featured { border: 2px solid #4361ee; box-shadow: 0 4px 24px rgba(67, 97, 238, 0.12); }
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #4361ee;
  color: #fff;
  padding: 4px 14px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}
.pricing-card h3 { font-size: 22px; margin-bottom: 8px; }
.price { font-size: 42px; font-weight: 800; color: #1a1a2e; }
.price-period { font-size: 14px; color: #999; margin-bottom: 24px; }
.pricing-card ul { list-style: none; text-align: left; margin-bottom: 28px; }
.pricing-card li { padding: 8px 0; border-bottom: 1px solid #f0f0f0; font-size: 14px; color: #555; }
.pricing-card li::before { content: "✓ "; color: #4361ee; font-weight: 700; }

/* ── About / Company Page ─────────────────────────────────── */
.about-content { padding: 60px 0 80px; }
.about-block { margin-bottom: 48px; }
.about-block h2 { font-size: 24px; margin-bottom: 16px; }
.about-block p { font-size: 15px; color: #555; line-height: 1.7; margin-bottom: 12px; max-width: 720px; }
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 20px; }
.team-card {
  background: #fff;
  border: 1px solid #e8e8ec;
  border-radius: 10px;
  padding: 24px;
}
.team-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #4361ee;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 12px;
}
.team-card h3 { font-size: 16px; margin-bottom: 2px; }
.team-role { font-size: 13px; color: #4361ee; font-weight: 600; margin-bottom: 8px; }
.team-card > p:last-child { font-size: 13px; color: #777; }

/* ── CTA ──────────────────────────────────────────────────── */
.cta { background: #1a1a2e; color: #fff; padding: 60px 0; text-align: center; }
.cta h2 { font-size: 28px; margin-bottom: 12px; }
.cta p { color: #a0aec0; margin-bottom: 24px; }

/* ── Footer ───────────────────────────────────────────────── */
footer { background: #fff; border-top: 1px solid #e8e8ec; padding: 48px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-bottom: 40px;
}
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: #999; margin-bottom: 14px; }
.footer-col a { display: block; font-size: 14px; color: #555; padding: 4px 0; }
.footer-col a:hover { color: #4361ee; text-decoration: none; }
.footer-bottom { border-top: 1px solid #e8e8ec; padding: 20px 24px; text-align: center; }
.footer-bottom p { font-size: 13px; color: #999; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero h1 { font-size: 32px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .customer-grid { grid-template-columns: repeat(3, 1fr); }
  .team-grid { grid-template-columns: 1fr; }
  .docs-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
}
