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

:root {
  --bg: #0a0a10;
  --surface: #14131e;
  --border: #1e1b2e;
  --border-light: #2e2a45;
  --text: #f1f0f5;
  --muted: #7a7494;
  --accent: #dc2626;
  --accent-hover: #b91c1c;
  --accent-glow: rgba(220, 38, 38, 0.12);
  --accent-light: #fca5a5;
  --green: #22c55e;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", "Fira Code", "Courier New", monospace;
}

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.18s;
  border: 1px solid transparent;
  letter-spacing: -0.1px;
}
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-primary {
  background: var(--accent);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 0 20px rgba(220, 38, 38, 0.3);
}
.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 0 28px rgba(220, 38, 38, 0.45);
  transform: translateY(-1px);
}
.btn-outline {
  border-color: var(--border-light);
  color: var(--text);
  background: rgba(255,255,255,0.03);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-glow);
}

/* Header */
header {
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  position: sticky;
  top: 0;
  background: rgba(10, 10, 16, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 10;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.3px;
  text-decoration: none;
}
.logo img {
  width: 72px;
  height: 72px;
  border-radius: 7px;
}
nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s;
}
nav a:hover { color: var(--text); }
nav .btn { margin-left: 4px; }

/* Hero */
.hero {
  padding: 100px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(220, 38, 38, 0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.25);
  color: var(--accent-light);
  font-size: 13px;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 32px;
  letter-spacing: 0.2px;
}
.hero-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero h1 {
  font-size: clamp(32px, 5.5vw, 58px);
  font-weight: 800;
  letter-spacing: -2.5px;
  line-height: 1.08;
  margin-bottom: 24px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  background: linear-gradient(135deg, #ffffff 0%, #fecaca 50%, #dc2626 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero .subtitle {
  font-size: 18px;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 72px;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 40px;
  max-width: 640px;
  margin: 0 auto;
}
.stat {
  flex: 1;
  min-width: 100px;
  padding: 0 24px;
  position: relative;
}
.stat + .stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background: var(--border);
}
.stat span {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
}
.stat label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
  display: block;
}

/* Trust bar */
.trust-bar {
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.015);
}
.trust-items {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}
.trust-item svg { color: var(--accent); flex-shrink: 0; }

/* Sections */
section { padding: 80px 0; }
section + section { border-top: 1px solid var(--border); }
h2 {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.8px;
  margin-bottom: 10px;
}
.section-sub {
  color: var(--muted);
  margin-bottom: 44px;
  font-size: 16px;
  max-width: 560px;
}

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}
.feature {
  background: linear-gradient(145deg, rgba(30,27,46,0.8), rgba(20,19,30,0.6));
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}
.feature:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  border-color: var(--border-light);
}
.feature-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  background: rgba(220, 38, 38, 0.1);
  border-radius: 10px;
  margin-bottom: 16px;
  font-family: var(--mono);
}
.feature:nth-child(2) .feature-icon { color: #818cf8; background: rgba(129, 140, 248, 0.1); }
.feature:nth-child(3) .feature-icon { color: var(--green); background: rgba(34, 197, 94, 0.1); }
.feature:nth-child(4) .feature-icon { color: #f472b6; background: rgba(244, 114, 182, 0.1); }
.feature h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
}
.feature p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}
.feature code {
  font-family: var(--mono);
  font-size: 12px;
  background: rgba(255,255,255,0.06);
  padding: 1px 6px;
  border-radius: 4px;
  color: var(--accent-light);
}

/* Data section */
.data-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 16px;
}
.data-card {
  background: linear-gradient(145deg, rgba(30,27,46,0.8), rgba(20,19,30,0.6));
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  transition: transform 0.18s, box-shadow 0.18s;
}
.data-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.data-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.data-card-entity {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--accent);
  background: rgba(220, 38, 38, 0.1);
  padding: 3px 10px;
  border-radius: 4px;
}
.data-card-count {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}
.data-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}
.data-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 16px;
}
.data-card-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.data-field {
  font-family: var(--mono);
  font-size: 11px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  padding: 3px 8px;
  border-radius: 4px;
  color: var(--accent-light);
}

/* Use cases */
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.usecase {
  padding: 24px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}
.usecase h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}
.usecase p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

/* Examples */
.example-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 4px;
  width: fit-content;
  max-width: 100%;
  overflow-x: auto;
}
.tab {
  padding: 7px 18px;
  border-radius: 7px;
  border: none;
  background: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 14px;
  font-family: var(--font);
  font-weight: 500;
  transition: all 0.15s;
}
.tab:hover { color: var(--text); }
.tab.active {
  background: var(--accent);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.35);
}

.code-block {
  background: #0b0a14;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.code-label {
  padding: 12px 20px;
  font-size: 13px;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}
.code-panes {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 700px) { .code-panes { grid-template-columns: 1fr; } }
.code-pane + .code-pane { border-left: 1px solid var(--border); }
@media (max-width: 700px) { .code-pane + .code-pane { border-left: none; border-top: 1px solid var(--border); } }
.code-pane-label {
  padding: 8px 16px;
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  font-weight: 600;
}
.code-pane pre { padding: 20px; overflow-x: auto; }
.code-pane code {
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.7;
  color: var(--accent-light);
  white-space: pre;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.pricing-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.18s, box-shadow 0.18s;
}
.pricing-card:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(0,0,0,0.3); }
.pricing-card.highlight {
  background: linear-gradient(145deg, rgba(220,38,38,0.1), rgba(220,38,38,0.03));
  border-color: rgba(220,38,38,0.45);
  position: relative;
}
.pricing-card.highlight::before {
  content: "Most Popular";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 100px;
  letter-spacing: 0.4px;
  white-space: nowrap;
}
.plan-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.plan-price {
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -1px;
}
.plan-period {
  font-size: 17px;
  font-weight: 400;
  color: var(--muted);
}
.plan-requests {
  font-size: 13px;
  color: var(--muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 6px;
  width: fit-content;
}
.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}
.plan-features li {
  font-size: 14px;
  color: var(--text);
  padding-left: 20px;
  position: relative;
}
.plan-features li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}
.pricing-card .btn { text-align: center; margin-top: 8px; }

/* CTA */
.cta-section {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}
.cta-box {
  text-align: center;
  padding: 64px 40px;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(220,38,38,0.06), rgba(220,38,38,0.02));
  border: 1px solid rgba(220,38,38,0.18);
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: "";
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(220, 38, 38, 0.06) 0%, transparent 70%);
  pointer-events: none;
}
.cta-box h2 {
  font-size: 28px;
  margin-bottom: 12px;
  position: relative;
}
.cta-box p {
  color: var(--muted);
  margin-bottom: 28px;
  font-size: 16px;
  position: relative;
}
.cta-box .btn { position: relative; }

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
}
footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--muted);
}
.footer-links {
  display: flex;
  gap: 24px;
}
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }

/* Mobile */
@media (max-width: 600px) {
  nav { gap: 16px; }
  nav a:not(.btn) { display: none; }
  .logo img { width: 48px; height: 48px; }
  .hero { padding: 64px 0 48px; }
  .hero h1 { letter-spacing: -1.5px; }
  .hero .subtitle { font-size: 16px; }
  .hero-actions { margin-bottom: 48px; }
  .hero-stats { flex-direction: column; gap: 16px; padding: 20px; }
  .stat + .stat::before { display: none; }
  .stat { padding: 8px 0; min-width: 0; text-align: center; }
  .trust-items { gap: 16px; justify-content: flex-start; }
  .feature-grid { grid-template-columns: 1fr; }
  .data-grid { grid-template-columns: 1fr; }
  .usecase-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .example-tabs { width: auto; flex-wrap: wrap; }
  .tab { flex: 1 1 auto; text-align: center; padding: 7px 12px; font-size: 13px; }
  .code-pane pre { padding: 12px; }
  .code-pane code { font-size: 11px; }
  .cta-box { padding: 40px 20px; }
  .cta-box h2 { font-size: 22px; }
  footer .container { flex-direction: column; gap: 12px; }
}
