:root {
  --bg: #f7fafc;
  --surface: #ffffff;
  --surface-strong: #eef7f5;
  --ink: #10202b;
  --muted: #647481;
  --line: #dbe5ea;
  --green: #12b894;
  --green-dark: #0e9478;
  --blue: #2563eb;
  --amber: #f59e0b;
  --shadow: 0 18px 60px rgba(15, 31, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(247, 250, 252, 0.9);
  border-bottom: 1px solid rgba(219, 229, 234, 0.8);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 2vw, 26px);
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}

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

.nav-login {
  color: var(--green-dark);
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 72px);
}

.hero h1 {
  margin: 0;
  font-size: clamp(48px, 9vw, 108px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 26px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: #ffffff;
  background: var(--green-dark);
}

.button.secondary {
  background: var(--surface);
  border-color: var(--line);
}

.button.full {
  width: 100%;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 760px;
  margin: 36px 0 0;
}

.hero-metrics div {
  min-width: 0;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.hero-metrics dt {
  color: var(--muted);
  font-size: 12px;
}

.hero-metrics dd {
  margin: 6px 0 0;
  overflow-wrap: anywhere;
  font-weight: 800;
}

.visual-panel {
  overflow: hidden;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.panel-top {
  display: flex;
  gap: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.06);
}

.panel-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #94a3b8;
}

.panel-top span:nth-child(1) {
  background: #fb7185;
}

.panel-top span:nth-child(2) {
  background: var(--amber);
}

.panel-top span:nth-child(3) {
  background: var(--green);
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
}

.metric-card,
.wide-card {
  padding: 18px;
  color: #d8f3ee;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.metric-card small,
.metric-card span {
  display: block;
  color: #9fb5c1;
}

.metric-card strong {
  display: block;
  margin: 8px 0;
  font-size: 28px;
}

.wide-card {
  grid-column: 1 / -1;
}

.code-line {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
  color: #9fb5c1;
  font-size: 13px;
}

.code-line code {
  overflow-wrap: anywhere;
  color: #b8fff0;
}

.usage-bars {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.usage-bars i {
  display: block;
  height: 8px;
  background: var(--green);
  border-radius: 99px;
}

.section {
  padding: clamp(54px, 8vw, 92px) clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 30px;
}

.section-heading h2,
.split-section h2 {
  margin: 0;
  font-size: clamp(28px, 4.2vw, 48px);
  letter-spacing: 0;
}

.section-heading p,
.split-section p {
  color: var(--muted);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 420px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.price-card.featured {
  border-color: rgba(18, 184, 148, 0.55);
  box-shadow: 0 18px 44px rgba(18, 184, 148, 0.12);
}

.badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 4px 10px;
  color: #ffffff;
  background: var(--blue);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.price-card h3 {
  margin: 0;
  font-size: 24px;
}

.price {
  margin: 0;
  font-size: 46px;
  font-weight: 900;
  line-height: 1;
}

.price span {
  font-size: 22px;
}

.quota {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.price-card ul {
  display: grid;
  gap: 10px;
  margin: 0 0 auto;
  padding: 0;
  list-style: none;
}

.price-card li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  background: var(--green);
  border-radius: 50%;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: start;
  background: var(--surface-strong);
}

.info-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.info-list div {
  display: grid;
  gap: 6px;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.info-list span {
  color: var(--muted);
  font-size: 13px;
}

code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.code-block {
  overflow-x: auto;
  margin: 0;
  padding: 22px;
  color: #d8f3ee;
  background: #101827;
  border-radius: 8px;
}

.process {
  background: var(--surface);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.steps div {
  min-height: 132px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.steps strong {
  display: block;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  color: #ffffff;
  background: var(--green-dark);
  border-radius: 50%;
  text-align: center;
  line-height: 34px;
}

.purchase-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding: 16px;
  background: #fff8e7;
  border: 1px solid #fde1a6;
  border-radius: 8px;
}

.purchase-note p {
  margin: 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

details {
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

summary {
  cursor: pointer;
  font-weight: 800;
}

details p {
  margin: 12px 0 0;
  color: var(--muted);
}

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 30px 20px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer span {
  color: var(--ink);
  font-weight: 900;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-metrics,
  .pricing-grid,
  .steps,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .price-card {
    min-height: auto;
  }

  .purchase-note {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .panel-grid {
    grid-template-columns: 1fr;
  }

  .code-line {
    grid-template-columns: 1fr;
  }
}
