:root {
  --bg: #07111f;
  --surface: #0d1728;
  --surface-2: #12203a;
  --surface-soft: #eef5ff;
  --card: #ffffff;
  --text: #0f172a;
  --heading: #07111f;
  --muted: #55657d;
  --line: #d9e4f2;
  --line-strong: #c7d7ec;
  --brand: #1677ff;
  --brand-2: #10b2ff;
  --accent: #ff9800;
  --ok: #129a62;
  --danger: #c2410c;
  --shadow: 0 20px 60px rgba(7, 17, 31, 0.10);
  --shadow-soft: 0 14px 36px rgba(7, 17, 31, 0.08);
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(22,119,255,0.14), transparent 24%),
    radial-gradient(circle at top right, rgba(255,152,0,0.10), transparent 18%),
    linear-gradient(180deg, #eef5ff 0%, #f7fbff 230px, #ffffff 231px, #ffffff 100%);
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }
.container { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(16px);
  background: rgba(255,255,255,0.82);
  border-bottom: 1px solid rgba(217,228,242,0.9);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 78px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--heading);
  font-weight: 800;
  flex-shrink: 0;
}
.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(7,17,31,0.15);
}
.nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}
.nav a {
  color: #334155;
  font-weight: 700;
  padding: 10px 12px;
  border-radius: 12px;
}
.nav a:hover,
.nav a[aria-current="page"] {
  text-decoration: none;
  background: rgba(22,119,255,0.08);
  color: var(--brand);
}
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 16px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  box-shadow: 0 16px 34px rgba(22,119,255,0.28);
}
.btn-primary:hover { box-shadow: 0 20px 38px rgba(22,119,255,0.34); }
.btn-secondary {
  background: #fff;
  color: var(--heading);
  border-color: var(--line);
  box-shadow: var(--shadow-soft);
}
.btn-ghost {
  color: var(--heading);
  border-color: transparent;
  background: rgba(255,255,255,0.75);
}
.hero { padding: 42px 0 18px; }
.hero-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  background:
    radial-gradient(circle at 92% 12%, rgba(255,152,0,0.18), transparent 18%),
    radial-gradient(circle at 10% 5%, rgba(22,119,255,0.13), transparent 24%),
    #fff;
  border: 1px solid rgba(217,228,242,0.98);
  border-radius: var(--radius-xl);
  padding: 38px;
  box-shadow: var(--shadow);
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #eef5ff;
  color: var(--brand);
  border: 1px solid #d6e7ff;
  border-radius: 999px;
  padding: 9px 13px;
  font-weight: 800;
  font-size: 14px;
}
.hero h1 {
  font-size: clamp(34px, 6vw, 60px);
  line-height: 0.98;
  margin: 16px 0 14px;
  letter-spacing: -0.04em;
  color: var(--heading);
}
.hero p {
  font-size: 18px;
  line-height: 1.78;
  color: var(--muted);
  margin: 0 0 18px;
}
.badges,
.metric-row,
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.badges { margin: 18px 0 22px; }
.badge,
.metric,
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
}
.badge {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--heading);
}
.metric {
  background: rgba(22,119,255,0.08);
  color: var(--brand);
  border: 1px solid rgba(22,119,255,0.12);
}
.tag {
  background: #fff8ef;
  color: #b45309;
  border: 1px solid #fed7aa;
}
.panel,
.product-preview {
  background: linear-gradient(180deg, #0d1728 0%, #11203a 100%);
  color: #fff;
  border-radius: 28px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 28px 50px rgba(7,17,31,0.26);
}
.panel::after,
.product-preview::after {
  content: "";
  position: absolute;
  inset: auto -16% -32% auto;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(22,119,255,0.32), transparent 70%);
}
.panel h2,
.panel h3,
.product-preview h2,
.product-preview h3 { margin-top: 0; color: #fff; }
.panel p,
.panel li,
.product-preview p,
.product-preview li { color: rgba(255,255,255,0.84); }
.prompt-box,
.result-box {
  position: relative;
  z-index: 1;
  border-radius: 20px;
  padding: 16px 18px;
  margin-top: 14px;
  border: 1px solid rgba(255,255,255,0.12);
}
.prompt-box { background: rgba(255,255,255,0.08); }
.result-box { background: rgba(22,119,255,0.16); }
.preview-label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
  color: rgba(255,255,255,0.62);
}
.preview-list {
  margin: 12px 0 0;
  padding-left: 18px;
}
.logo-strip {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(217,228,242,0.9);
}
.logo-chip {
  background: rgba(255,255,255,0.88);
  color: #334155;
  border: 1px solid var(--line);
  padding: 12px 14px;
  border-radius: 16px;
  font-weight: 800;
}
.grid-4,
.grid-3,
.grid-2 {
  display: grid;
  gap: 18px;
  margin: 28px 0;
}
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card,
.highlight-card,
.soft-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}
.highlight-card {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  border-color: #cfe0f5;
}
.soft-card {
  background: #f8fbff;
  border-color: #d7e6f8;
}
.card h2, .card h3,
.highlight-card h2, .highlight-card h3,
.soft-card h2, .soft-card h3 { margin-top: 0; }
.card p, .card li,
.highlight-card p, .highlight-card li,
.soft-card p, .soft-card li { color: var(--muted); line-height: 1.72; }
.section { padding: 28px 0; }
.section-band {
  margin: 22px 0;
  padding: 6px 0;
}
.section-title {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin: 10px 0 10px;
  color: var(--heading);
}
.section-intro {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.78;
  max-width: 840px;
}
.overline {
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.list-clean { list-style: none; padding: 0; margin: 0; }
.list-clean li { padding-left: 0; margin: 0 0 12px; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(18,154,98,0.1);
  color: var(--ok);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 13px;
}
.steps {
  counter-reset: step;
  display: grid;
  gap: 18px;
  margin: 28px 0 0;
}
.steps li {
  list-style: none;
  position: relative;
  padding: 18px 18px 18px 72px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 22px;
  top: 18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td {
  border-bottom: 1px solid var(--line);
  text-align: left;
  padding: 14px 10px;
  vertical-align: top;
}
th {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #53657d;
}
.callout,
.notice,
.quote-box {
  border-radius: 18px;
  padding: 16px 18px;
}
.callout {
  border-left: 4px solid var(--brand);
  background: #f7fbff;
  color: #334155;
  border: 1px solid #d7e6f8;
}
.notice {
  background: #fff8ef;
  border: 1px solid #fed7aa;
  color: var(--danger);
}
.quote-box {
  background: linear-gradient(180deg, #0d1728 0%, #11203a 100%);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.08);
}
.quote-box p { color: rgba(255,255,255,0.9); margin: 0; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow-soft);
}
.faq details + details { margin-top: 12px; }
.faq summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--heading);
}
.faq p { color: var(--muted); line-height: 1.75; }
.pricing-card {
  position: relative;
  overflow: hidden;
}
.pricing-card.featured {
  border-color: rgba(22,119,255,0.35);
  box-shadow: 0 26px 60px rgba(22,119,255,0.14);
}
.pricing-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(22,119,255,0.10);
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.price {
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--heading);
  margin: 12px 0 16px;
}
.prompt-sample {
  background: #0d1728;
  color: #e2edf9;
  border-radius: 20px;
  padding: 18px;
  line-height: 1.7;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 14px;
  box-shadow: 0 18px 34px rgba(7,17,31,0.18);
}
.footer {
  margin-top: 46px;
  padding: 34px 0 44px;
  border-top: 1px solid var(--line);
  color: #64748b;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 22px;
  align-items: start;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}
.small { font-size: 14px; color: #64748b; line-height: 1.65; }
.muted { color: var(--muted); }
.center { text-align: center; }
code, pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}
pre {
  background: #0d1728;
  color: #dbe7f5;
  border-radius: 18px;
  padding: 18px;
  overflow: auto;
}
.app-loading {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: linear-gradient(180deg, #0b1220 0%, #0d1728 100%);
}
.app-loading-card {
  max-width: 520px;
  width: 100%;
  background: rgba(255,255,255,0.06);
  color: #fff;
  border-radius: 24px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 24px 50px rgba(0,0,0,0.24);
}
.spinner {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 4px solid rgba(255,255,255,0.18);
  border-top-color: #fff;
  animation: spin 1s linear infinite;
  margin-bottom: 16px;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .hero-card, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .topbar-inner { align-items: flex-start; padding: 14px 0; }
  .hero-card { padding: 28px; }
}
@media (max-width: 720px) {
  .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container { width: min(var(--max), calc(100% - 22px)); }
  .hero-card, .card, .highlight-card, .soft-card { padding: 20px; }
  .hero { padding-top: 20px; }
  .nav { gap: 6px; }
  .nav a { padding: 8px 10px; font-size: 14px; }
  .brand span { font-size: 15px; }
  .btn { width: 100%; }
  .cta-row { align-items: stretch; }
}
