:root {
  --bg: #081120;
  --bg-soft: #101d31;
  --panel: rgba(16, 29, 49, 0.8);
  --panel-solid: #0d1a2a;
  --card: #11213a;
  --border: rgba(148, 163, 184, 0.2);
  --text: #ecf3ff;
  --muted: #a6b5cf;
  --primary: #62d0ff;
  --primary-strong: #39aaf6;
  --accent: #96f5b2;
  --danger: #ff7d7d;
  --shadow: 0 20px 40px rgba(5, 12, 24, 0.3);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: radial-gradient(circle at top left, rgba(98, 208, 255, 0.14), transparent 28%),
    radial-gradient(circle at top right, rgba(150, 245, 178, 0.12), transparent 24%),
    var(--bg);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(8, 17, 32, 0.72);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 20px;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #03121f;
  font-weight: 800;
}

.brand-name {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-sub {
  font-size: 12px;
  color: var(--muted);
}

.main-nav {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

.main-nav a:hover,
.link-ghost:hover {
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.link-ghost {
  color: var(--muted);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 12px;
  padding: 0 20px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  box-shadow: 0 12px 30px rgba(57, 170, 246, 0.35);
  color: #041522;
}

.button.secondary {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.full {
  width: 100%;
}

.hero {
  padding: 96px 0 50px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
}

.hero-copy h1 {
  margin: 18px 0 18px;
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  line-height: 1.03;
  letter-spacing: -0.06em;
}

.hero-copy p {
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 630px;
}

.cta-row {
  display: flex;
  gap: 16px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin-top: 30px;
  color: var(--muted);
  font-size: 0.95rem;
}

.trust-line li {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,0.02);
}

.status-card {
  background: linear-gradient(180deg, rgba(17, 33, 58, 0.96), rgba(9, 18, 31, 0.95));
  border: 1px solid var(--border);
  border-radius: 26px;
  box-shadow: var(--shadow);
  padding: 22px;
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
}

.pill {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.pill.positive {
  background: rgba(150, 245, 178, 0.12);
  color: var(--accent);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.metrics-grid small {
  display: block;
  color: var(--muted);
  margin-bottom: 8px;
}

.metrics-grid strong {
  font-size: 1.3rem;
}

.mini-chart {
  margin-top: 22px;
  height: 130px;
  display: flex;
  align-items: end;
  gap: 12px;
  padding: 18px 8px 0;
  border-top: 1px solid var(--border);
}

.mini-chart span {
  width: 100%;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, var(--primary), rgba(98, 208, 255, 0.3));
}

.logos-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(8, 15, 24, 0.58);
}

.logos-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 18px;
  color: rgba(236, 243, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 700;
  min-height: 80px;
  place-items: center;
}

.section {
  padding: 90px 0;
}

.alt-bg {
  background: rgba(12, 20, 31, 0.7);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-heading {
  text-align: center;
  margin-bottom: 38px;
}

.section-heading.left-aligned {
  text-align: left;
}

.section-heading h2 {
  margin: 12px 0 0;
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: -0.05em;
}

.cards-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 24px;
}

.card,
.price-card,
.provider-row,
.faq-list details {
  background: rgba(17, 33, 58, 0.72);
  border: 1px solid var(--border);
  border-radius: 18px;
}

.card,
.price-card {
  padding: 24px;
}

.card h3,
.price-card h3 {
  margin-top: 18px;
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.card p,
.price-card p {
  color: var(--muted);
  line-height: 1.7;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(98, 208, 255, 0.12);
  color: var(--primary);
  font-size: 1.5rem;
}

.provider-table {
  display: grid;
  gap: 16px;
}

.provider-row {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.7fr 0.8fr;
  align-items: center;
  padding: 18px 20px;
  gap: 16px;
}

.provider-row .status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.provider-row .status.connected,
.provider-row .status.ready,
.provider-row .status.synced {
  background: rgba(150, 245, 178, 0.12);
  color: var(--accent);
}

.provider-row .status.provisioning {
  background: rgba(255, 125, 125, 0.12);
  color: var(--danger);
}

.price-card {
  position: relative;
}

.price-card.popular {
  border-color: rgba(98, 208, 255, 0.6);
  box-shadow: 0 18px 40px rgba(58, 165, 245, 0.12);
}

.price-card .tag {
  display: inline-flex;
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(98, 208, 255, 0.12);
  color: var(--primary);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-header {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 18px 0 10px;
}

.price-header strong {
  font-size: 2.3rem;
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 22px 0 18px;
  color: var(--muted);
  display: grid;
  gap: 10px;
}

.price-card li::before {
  content: '✓';
  color: var(--accent);
  margin-right: 10px;
}

.highlight-band {
  padding-top: 20px;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: linear-gradient(135deg, rgba(98, 208, 255, 0.08), rgba(150, 245, 178, 0.08));
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 28px 24px;
}

.cta-panel h3 {
  margin: 12px 0 0;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  letter-spacing: -0.04em;
}

.faq-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 26px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
}

.faq-list p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.contact-wrap {
  padding-top: 40px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.contact-grid h2 {
  margin: 12px 0 16px;
  font-size: clamp(2.1rem, 3vw, 3.2rem);
  letter-spacing: -0.05em;
}

.contact-grid p {
  color: var(--muted);
  line-height: 1.7;
}

.lead-form {
  background: rgba(17, 33, 58, 0.72);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.input-row {
  margin-bottom: 18px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

input,
select {
  width: 100%;
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(5, 15, 27, 0.8);
  color: var(--text);
  padding: 0 14px;
  font: inherit;
}

.form-message {
  min-height: 22px;
  margin-top: 14px;
  color: var(--accent);
  font-weight: 600;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(8, 15, 24, 0.8);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 70px;
  color: var(--muted);
  gap: 20px;
}

.dashboard-shell {
  padding: 60px 0 90px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.metric-card {
  background: rgba(17, 33, 58, 0.72);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
}

.metric-card small {
  color: var(--muted);
}

.metric-card strong {
  display: block;
  margin-top: 12px;
  font-size: clamp(1.4rem, 2vw, 2rem);
}

.dashboard-panels {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
}

.chart-panel,
.task-panel {
  background: rgba(17, 33, 58, 0.72);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
}

.chart-bars {
  min-height: 220px;
  display: flex;
  align-items: end;
  gap: 12px;
  padding-top: 16px;
}

.chart-bars span {
  flex: 1;
  border-radius: 12px 12px 0 0;
  background: linear-gradient(180deg, var(--primary), rgba(98, 208, 255, 0.2));
}

.task-list {
  display: grid;
  gap: 14px;
  margin-top: 12px;
}

.task-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255,255,255,0.02);
}

.task-item .status-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(150, 245, 178, 0.12);
  color: var(--accent);
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.usage-panel-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  margin-bottom: 22px;
}

.panel-card {
  background: rgba(17, 33, 58, 0.72);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
}

.simple-bars {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  min-height: 200px;
  margin-top: 18px;
}

.simple-bars span {
  display: flex;
  align-items: end;
  justify-content: center;
  flex: 1;
  min-height: 20px;
  border-radius: 12px 12px 0 0;
  background: linear-gradient(180deg, var(--primary), rgba(98, 208, 255, 0.24));
  position: relative;
}

.simple-bars span i {
  position: absolute;
  bottom: -22px;
  font-style: normal;
  color: var(--muted);
  font-size: 11px;
}

.provider-list,
.alert-stack,
.key-list {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.provider-item,
.key-item,
.alert-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255,255,255,0.02);
}

.provider-item {
  padding: 12px 14px;
}

.provider-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}

.mini-meter {
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  overflow: hidden;
}

.mini-meter i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.alert-item {
  padding: 14px 16px;
  color: var(--text);
}

.alert-item.warning {
  border-color: rgba(255, 125, 125, 0.35);
  color: #ffd7d7;
}

.alert-item.info {
  border-color: rgba(98, 208, 255, 0.35);
  color: var(--primary);
}

.key-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
}

.key-value {
  margin-top: 8px;
  color: var(--muted);
  word-break: break-all;
  font-family: 'SFMono-Regular', Consolas, monospace;
  font-size: 0.88rem;
}

.key-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 920px) {
  .hero-grid,
  .faq-wrap,
  .contact-grid,
  .dashboard-panels {
    grid-template-columns: 1fr;
  }

  .cards-grid,
  .pricing-grid,
  .dashboard-grid,
  .panel-grid,
  .usage-panel-grid {
    grid-template-columns: 1fr;
  }

  .main-nav {
    display: none;
  }

  .logos-row {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    padding: 18px 0;
  }
}

@media (max-width: 640px) {
  .nav {
    flex-wrap: wrap;
    justify-content: center;
    padding: 18px 0;
  }

  .nav-actions {
    width: 100%;
    justify-content: center;
  }

  .cta-row,
  .cta-panel,
  .footer-row,
  .two-col {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .provider-row {
    grid-template-columns: 1fr;
  }
}
