:root {
  --bg: #f7f7f5;
  --bg-alt: #ffffff;
  --text: #101010;
  --muted: #5b5f63;
  --border: #e4e6e8;
  --primary: #0a66ff;
  --primary-dark: #0246b5;
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

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

body {
  font-family: "Space Grotesk", "Sora", "Manrope", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 247, 245, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.4px;
}

.nav-links {
  display: flex;
  gap: 18px;
  font-weight: 500;
  color: var(--muted);
}

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

.nav-cta {
  display: flex;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(10, 102, 255, 0.25);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-ghost {
  border-color: var(--border);
  color: var(--text);
  background: #ffffff;
}

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

.btn-danger {
  border-color: #ef4444;
  color: #ef4444;
  background: #ffffff;
}

.btn-danger:hover {
  border-color: #b91c1c;
  color: #b91c1c;
}

main {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.hero {
  max-width: 1100px;
  margin: 40px auto 0;
  padding: 0 24px 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--muted);
  margin-bottom: 12px;
}

.hero h1 {
  font-size: clamp(2.4rem, 3.4vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: 18px;
}

.subtitle {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.hero-bullets {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.hero-bullets li {
  padding-left: 24px;
  position: relative;
}

.hero-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-panel {
  display: flex;
  justify-content: center;
}

.panel-card {
  background: var(--bg-alt);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
  width: min(100%, 380px);
}

.panel-header,
.panel-footer {
  font-weight: 600;
  color: var(--muted);
}

.panel-item {
  display: flex;
  gap: 12px;
  align-items: center;
}

.panel-item span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
}

.dot.warning {
  background: #f59e0b;
}

.dot.success {
  background: #10b981;
}

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

.section.muted {
  background: #f0f2f4;
}

.section-header {
  margin-bottom: 32px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 2.4vw, 2.4rem);
  margin-bottom: 10px;
}

.section-header p {
  color: var(--muted);
  max-width: 680px;
}

.grid {
  display: grid;
  gap: 24px;
}

.grid.three {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  display: grid;
  gap: 12px;
  min-height: 180px;
}

.card h3 {
  font-size: 1.2rem;
}

.card p {
  color: var(--muted);
}

.steps {
  list-style: none;
  display: grid;
  gap: 16px;
  counter-reset: step;
}

.steps li {
  background: var(--bg-alt);
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 20px 24px;
  display: grid;
  gap: 6px;
}

.steps li::before {
  counter-increment: step;
  content: "0" counter(step);
  font-weight: 700;
  color: var(--primary);
}

.integration-card {
  background: var(--bg-alt);
  border-radius: 20px;
  border: 1px solid var(--border);
  padding: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}

.price-card {
  align-items: flex-start;
  gap: 16px;
}

.price-card .btn {
  width: fit-content;
}

.price-card.featured {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow);
}

.faq {
  display: grid;
  gap: 18px;
}

.faq-item {
  background: var(--bg-alt);
  border-radius: 16px;
  padding: 20px 24px;
  border: 1px solid var(--border);
}

.faq-item p {
  color: var(--muted);
  margin-top: 8px;
}

.cta-band {
  margin: 0 auto 60px;
  max-width: 1100px;
  background: #0b111f;
  color: #ffffff;
  padding: 40px 24px;
  border-radius: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.75);
}

.dashboard {
  max-width: 960px;
  margin: 40px auto 0;
  padding: 0 24px 60px;
  display: grid;
  gap: 24px;
}

.status-card {
  gap: 16px;
}

.status-pill {
  width: fit-content;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  background: #e2e8f0;
  color: #0f172a;
}

.status-pill.connected {
  background: #dcfce7;
  color: #166534;
}

.status-pill.disconnected {
  background: #fee2e2;
  color: #991b1b;
}

.status-list {
  display: grid;
  gap: 8px;
}

.status-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 12px;
  font-size: 0.95rem;
}

.status-row span {
  color: var(--muted);
}

.dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.error-msg {
  color: #b91c1c;
  font-weight: 600;
}

pre.card {
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 0.9rem;
  color: var(--muted);
}

@media (max-width: 900px) {
  .nav {
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }
}

@media (max-width: 720px) {
  .nav {
    gap: 16px;
  }

  .nav-cta {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .section {
    padding: 48px 20px;
  }

  .cta-band {
    margin: 0 20px 48px;
  }

  .status-row {
    grid-template-columns: 1fr;
  }
}
