:root {
  color-scheme: light;
  --bg: radial-gradient(circle at 20% 20%, #0ea5e980, transparent 32%),
    radial-gradient(circle at 80% 0%, #a855f780, transparent 30%), #0b1220;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-strong: rgba(255, 255, 255, 0.1);
  --border: rgba(255, 255, 255, 0.14);
  --text: #e8edf5;
  --muted: #b8c2d9;
  --accent: #38bdf8;
  --accent-2: #fbbf24;
  --shadow: 0 20px 80px rgba(0, 0, 0, 0.55);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", "Satoshi", "SF Pro Display", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 18px 70px;
}

main {
  width: min(1200px, 100%);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 46px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

main::after {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  height: 260px;
  width: 260px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.17), transparent 50%);
  filter: blur(10px);
  pointer-events: none;
}

.content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 30px;
  align-items: start;
}

.eyebrow {
  display: inline-flex;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.16);
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 14px;
}

h1 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4.8vw, 46px);
  letter-spacing: -1px;
}

.lede {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
}

.chip.primary {
  background: linear-gradient(135deg, #38bdf8, #22d3ee);
  color: #041019;
  border: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 12px;
  background: rgba(251, 191, 36, 0.12);
  color: #fdd474;
  font-weight: 700;
  width: fit-content;
  border: 1px solid rgba(251, 191, 36, 0.28);
}

.badge svg {
  width: 18px;
  height: 18px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  margin: 16px 0 10px;
}

.feature-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(56, 189, 248, 0.2);
  color: #b7e7ff;
  font-size: 18px;
}

.feature-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.feature-text strong {
  font-size: 15px;
  color: var(--text);
}

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

.card {
  padding: 26px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
}

.preview {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.status {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(56, 189, 248, 0.22);
}

.device {
  position: relative;
  border-radius: 22px;
  padding: 18px;
  background: linear-gradient(160deg, rgba(56, 189, 248, 0.16), rgba(11, 18, 32, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.device-screen {
  background: rgba(7, 12, 22, 0.85);
  border-radius: 16px;
  padding: 18px 16px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.bubble {
  padding: 12px 14px;
  border-radius: 16px;
  max-width: 90%;
  font-size: 14px;
  line-height: 1.45;
  color: #eaf6ff;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(140deg, rgba(56, 189, 248, 0.16), rgba(56, 189, 248, 0.08));
}

.bubble.user {
  margin-left: auto;
  text-align: right;
  background: rgba(255, 255, 255, 0.08);
  color: #f2f5f8;
}

.input-row {
  margin-top: auto;
  display: flex;
  gap: 10px;
  align-items: center;
}

.input-row .chip {
  flex: 1;
  justify-content: center;
  text-align: center;
}

.steps-card {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03));
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.steps li:last-child {
  border-bottom: none;
}

.bullet {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.16);
  border: 1px solid rgba(56, 189, 248, 0.38);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-weight: 800;
}

.code-block {
  margin-top: 12px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px;
  font-family: "DM Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
  color: var(--accent-2);
  font-size: 15px;
  overflow-x: auto;
  word-break: break-word;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.hint {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.cta-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin-top: 16px;
  align-items: stretch;
}

.cta {
  padding: 13px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.14s ease, box-shadow 0.14s ease;
  justify-content: center;
}

.cta.primary {
  background: linear-gradient(120deg, #38bdf8, #22d3ee);
  color: #041019;
  border: none;
}

.cta.secondary {
  background: rgba(255, 255, 255, 0.06);
}

.cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  border-color: rgba(255, 255, 255, 0.22);
}

.cta-stack {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.cta-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.cta-card.primary {
  background: linear-gradient(120deg, #38bdf8, #22d3ee);
  color: #041019;
  border: none;
}

.cta-card.ghost {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.cta-card.outlined {
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.28);
  color: #fdd474;
}

.cta-card-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cta-title {
  font-weight: 800;
  font-size: 16px;
}

.cta-subtitle {
  font-size: 13px;
  color: var(--muted);
}

.cta-card.primary .cta-subtitle {
  color: #053047;
}

.cta-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.08);
  font-size: 18px;
}

.cta-card.primary .cta-icon {
  background: rgba(255, 255, 255, 0.15);
}

.cta-card.outlined .cta-icon {
  background: rgba(251, 191, 36, 0.18);
  color: #fdd474;
}

.cta-icon.check svg {
  width: 18px;
  height: 18px;
}

.badges {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 960px) {
  body {
    padding: 40px 12px;
  }

  main {
    padding: 30px 22px 32px;
  }

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

@media (max-width: 640px) {
  body {
    padding: 30px 10px;
  }

  main {
    padding: 26px 18px;
  }

  .card {
    padding: 20px;
  }

  .device-screen {
    min-height: 260px;
  }
}
