
:root {
  --ink: #0c1424;
  --ink-2: #23344f;
  --muted: #5a6d85;
  --paper: #f6fbff;
  --panel: #ffffff;
  --line: rgba(14, 36, 62, .13);
  --aqua: #13c6d3;
  --green: #19a974;
  --blue: #2e6cf6;
  --amber: #f3b84b;
  --deep: #071622;
  --deep-2: #0b2536;
  --soft: #eaf7fb;
  --shadow: 0 16px 50px rgba(7, 22, 34, .12);
  --shadow-soft: 0 8px 26px rgba(7, 22, 34, .08);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 26px;
}
*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button,
input,
textarea,
select { font: inherit; }
button { cursor: pointer; }
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: 64px;
  padding: 0 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(246, 251, 255, .88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(19, 198, 211, .16);
}
.nav-logo,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}
.nav-logo svg,
.footer-brand svg { width: 42px; height: 28px; flex: 0 0 auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-links a,
.btn-ghost,
.btn-examples {
  color: var(--ink-2);
  font-size: .88rem;
  font-weight: 750;
}
.nav-links a:hover,
.btn-ghost:hover,
.btn-examples:hover { color: var(--blue); }
.nav-cta,
.hero-actions,
.page-cta-row,
.modal-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.btn-ghost,
.btn-examples {
  border: 1px solid rgba(12, 20, 36, .15);
  background: rgba(255,255,255,.55);
  border-radius: var(--radius-sm);
  padding: 10px 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
}
.btn-primary,
.btn-start {
  border: 0;
  border-radius: var(--radius-sm);
  padding: 10px 17px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  background: var(--deep);
  font-size: .9rem;
  font-weight: 850;
  box-shadow: 0 9px 24px rgba(7, 22, 34, .16);
  transition: transform .18s, box-shadow .18s, background .18s;
}
.btn-primary:hover,
.btn-start:hover {
  background: var(--deep-2);
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(7, 22, 34, .2);
}
.btn-bright { background: linear-gradient(135deg, var(--blue), #12b9cf); }
.workspace-cta { white-space: nowrap; }
.hero {
  min-height: 680px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 86px 36px 36px;
  display: grid;
  grid-template-columns: minmax(0, .98fr) minmax(480px, 1.02fr);
  gap: 34px;
  align-items: center;
  background:
    radial-gradient(circle at 88% 15%, rgba(19,198,211,.18), transparent 26%),
    linear-gradient(135deg, #f5fbff 0%, #eaf7fb 48%, #eef8f0 100%);
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.tag {
  display: inline-flex;
  border-radius: 999px;
  padding: 5px 11px;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.tag-primary {
  color: #056a73;
  background: rgba(19,198,211,.13);
  border: 1px solid rgba(19,198,211,.28);
}
.tag-outline {
  color: var(--ink-2);
  background: rgba(255,255,255,.45);
  border: 1px solid rgba(12,20,36,.12);
}
.hero-subline,
.section-label,
.eyebrow {
  color: #096d77;
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin: 0 0 10px;
}
.hero-headline,
h1,
h2 {
  font-family: "IBM Plex Serif", Georgia, serif;
  line-height: 1.08;
  letter-spacing: 0;
  color: var(--ink);
}
.hero-headline {
  font-size: clamp(2.7rem, 5vw, 4.65rem);
  margin: 0 0 14px;
}
.hero-desc {
  margin: 0 0 18px;
  max-width: 590px;
  color: var(--ink-2);
  font-size: 1.02rem;
}
.hero-top-actions { margin-bottom: 14px; }
.hero-input-box {
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(19,198,211,.18);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow);
}
.field-label {
  display: block;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin: 0 0 6px;
}
.hero-input {
  width: 100%;
  border: 1px solid rgba(12,20,36,.12);
  border-radius: var(--radius-md);
  background: #f8fcff;
  color: var(--ink);
  padding: 10px 12px;
  outline: none;
}
textarea.hero-input { resize: vertical; min-height: 72px; }
.compact-input { min-height: 42px; }
.hero-input:focus {
  border-color: var(--aqua);
  box-shadow: 0 0 0 3px rgba(19,198,211,.14);
}
.hero-form-grid {
  display: grid;
  grid-template-columns: 1.08fr .84fr 1fr;
  gap: 10px;
  margin: 10px 0;
}
.hero-hint {
  color: var(--muted);
  font-size: .82rem;
  margin: 8px 0 12px;
}
.preview-panel {
  background: linear-gradient(145deg, #06131f, #0b2637);
  border: 1px solid rgba(19,198,211,.24);
  border-radius: var(--radius-xl);
  padding: 22px;
  color: #fff;
  box-shadow: 0 24px 70px rgba(7,22,34,.34);
}
.preview-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.preview-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #9ff7ff;
  background: rgba(19,198,211,.12);
  border-radius: var(--radius-sm);
}
.preview-icon svg { width: 22px; height: 22px; }
.preview-title {
  color: #9ff7ff;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.preview-subtitle {
  color: rgba(222,244,248,.74);
  font-size: .82rem;
}
.swarm-canvas {
  width: 100%;
  aspect-ratio: 2 / 1;
  display: block;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius-lg);
  background: #081b2a;
}
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 12px 0;
}
.metric-card,
.trace-panel {
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.055);
  border-radius: var(--radius-md);
}
.metric-card { padding: 13px; }
.metric-card span {
  display: block;
  color: rgba(222,244,248,.62);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.metric-card strong {
  display: block;
  color: #9ff7ff;
  font-size: 1.8rem;
  line-height: 1.1;
  margin: 5px 0;
}
.metric-card p {
  margin: 0;
  color: rgba(222,244,248,.72);
  font-size: .76rem;
}
.accent-card {
  background: rgba(19,198,211,.1);
  border-color: rgba(19,198,211,.34);
}
.trace-panel {
  padding: 12px;
}
.trace-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 8px;
}
.trace-head span {
  color: rgba(222,244,248,.72);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.trace-head button {
  border: 1px solid rgba(159,247,255,.34);
  background: transparent;
  color: #9ff7ff;
  border-radius: var(--radius-sm);
  padding: 7px 10px;
  font-weight: 850;
  font-size: .76rem;
}
.trace-list {
  display: grid;
  gap: 7px;
}
.trace-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 7px;
  color: rgba(222,244,248,.78);
  font-size: .78rem;
}
.trace-row strong { color: #fff; }
.trace-row em {
  color: #9ff7ff;
  font-style: normal;
  font-family: "JetBrains Mono", monospace;
  font-weight: 800;
}
.stats-bar {
  background: var(--deep);
  display: flex;
  justify-content: center;
  gap: 34px;
  flex-wrap: wrap;
  padding: 17px 36px;
}
.stat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(222,244,248,.72);
}
.stat-value {
  color: #9ff7ff;
  font-weight: 950;
}
.stat-label { font-size: .82rem; }
.stat-divider {
  width: 1px;
  height: 24px;
  background: rgba(255,255,255,.12);
}
.section { padding: 78px 36px; }
.section-alt { background: #eef8f3; }
.container {
  max-width: 1180px;
  margin: 0 auto;
}
.narrow { max-width: 820px; }
.section h2,
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  margin: 0 0 16px;
}
.section-copy,
.page-hero p,
.content-main p,
.content-main li,
.legal-copy p,
.legal-copy li { color: var(--ink-2); }
.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 450px);
  gap: 42px;
  align-items: center;
}
.step-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}
.step-list div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 15px;
  box-shadow: var(--shadow-soft);
}
.step-list span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--aqua), var(--green));
  color: #fff;
  font-weight: 900;
  margin-right: 10px;
}
.step-list strong { font-weight: 900; }
.step-list p {
  margin: 8px 0 0 40px;
  color: var(--ink-2);
}
.section-cta { margin-top: 18px; }
.visual-asset {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  border: 1px solid rgba(19,198,211,.18);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 26px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-soft);
}
.feature-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #087983;
  background: rgba(19,198,211,.11);
  border-radius: var(--radius-sm);
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-card h3 { margin: 14px 0 8px; }
.feature-card p { margin: 0; color: var(--ink-2); }
.pricing-section { scroll-margin-top: 82px; }
.pricing-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.pricing-actions {
  display: grid;
  gap: 10px;
  justify-items: end;
}
.billing-toggle {
  display: inline-flex;
  padding: 4px;
  border: 1px solid rgba(12,20,36,.14);
  border-radius: 999px;
  background: #fff;
}
.billing-chip {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  padding: 8px 13px;
  font-weight: 850;
}
.billing-chip span { color: #087445; margin-left: 4px; }
.billing-chip.is-active {
  color: #fff;
  background: var(--deep);
}
.billing-chip.is-active span { color: #9ff7ff; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.price-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-soft);
}
.price-card.featured {
  border-color: rgba(19,198,211,.48);
  box-shadow: 0 16px 50px rgba(19,198,211,.16);
}
.popular-badge {
  position: absolute;
  top: 13px;
  right: 13px;
  border-radius: 999px;
  background: rgba(25,169,116,.12);
  color: #087445;
  padding: 5px 10px;
  font-size: .72rem;
  font-weight: 900;
}
.price-card h3 { margin: 0 0 6px; font-size: 1.22rem; }
.price-card p { color: var(--ink-2); margin: 0 0 10px; }
.price-line {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 4px 0;
}
.currency { color: var(--ink-2); font-weight: 850; }
.price-value {
  font-size: 2.15rem;
  font-weight: 950;
  color: var(--ink);
}
.price-period { color: var(--ink-2); font-weight: 850; }
.price-note,
.volume-note { font-size: .82rem; }
.plan-button { width: 100%; margin: 9px 0 10px; }
.price-card ul {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
}
.price-card li {
  color: var(--ink-2);
  font-size: .9rem;
}
.price-card li::before {
  content: "OK";
  color: #087445;
  font-size: .68rem;
  font-weight: 900;
  margin-right: 8px;
}
.faq { display: grid; gap: 12px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 15px 17px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 900;
}
.faq-item p { color: var(--ink-2); }
.page-hero {
  padding: 122px 36px 58px;
  background: linear-gradient(135deg, #f5fbff, #eaf7fb 54%, #eef8f3);
}
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 4rem); }
.page-cta-row { margin-top: 22px; }
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 34px;
  align-items: start;
}
.content-main,
.legal-copy {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-soft);
}
.content-main h2,
.legal-copy h2 { margin: 24px 0 10px; }
.content-main h2:first-child,
.legal-copy h2:first-child { margin-top: 0; }
.content-main li { margin: 8px 0; }
.side-cta {
  position: sticky;
  top: 86px;
  background: var(--deep);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 21px;
  box-shadow: var(--shadow);
}
.side-cta h2 { color: #fff; font-size: 1.55rem; }
.side-cta p { color: rgba(222,244,248,.74); }
.side-cta a {
  display: inline-flex;
  color: #9ff7ff;
  font-weight: 850;
  margin-top: 13px;
}
.checkout-page .btn-examples { margin-left: 8px; }
.footer {
  background: var(--deep);
  color: rgba(222,244,248,.75);
  padding: 52px 36px 26px;
}
.footer-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.35fr .7fr 1fr .82fr;
  gap: 32px;
}
.footer h2 {
  font-family: Inter, sans-serif;
  color: #fff;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.footer a,
.footer button {
  display: block;
  color: rgba(222,244,248,.78);
  margin: 8px 0;
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
}
.footer a:hover,
.footer button:hover { color: #9ff7ff; }
.footer-brand { color: #fff; margin-bottom: 12px; }
.muted { color: rgba(222,244,248,.72); }
.fineprint {
  max-width: 1180px;
  margin: 30px auto 0;
  color: rgba(222,244,248,.56);
  font-size: .82rem;
}
.checkout-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(7,22,34,.5);
  backdrop-filter: blur(10px);
}
.checkout-modal {
  position: relative;
  width: min(610px, 100%);
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 30px;
  box-shadow: 0 30px 80px rgba(7,22,34,.36);
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(12,20,36,.16);
  background: #fff;
}
.payment-summary-card {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 16px 0;
}
.payment-summary-card div {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 12px;
  background: #f8fcff;
}
.payment-summary-card span {
  display: block;
  color: var(--muted);
  font-size: .74rem;
  font-weight: 850;
  text-transform: uppercase;
}
.payment-summary-card strong { display: block; margin-top: 4px; }
[hidden] { display: none !important; }
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 88px;
  }
  .hero-product { max-width: 760px; }
  .feature-grid,
  .pricing-grid,
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split-section,
  .content-grid { grid-template-columns: 1fr; }
  .side-cta { position: static; }
}
@media (max-width: 680px) {
  .nav {
    height: auto;
    min-height: 64px;
    padding: 10px 15px;
  }
  .nav-logo span { font-size: .95rem; }
  .nav-cta .btn-ghost { display: none; }
  .workspace-cta { min-width: 104px; }
  .hero {
    min-height: auto;
    padding: 88px 15px 34px;
    gap: 22px;
  }
  .hero-headline { font-size: 2.48rem; }
  .hero-form-grid,
  .comparison-grid,
  .feature-grid,
  .pricing-grid,
  .footer-grid,
  .payment-summary-card { grid-template-columns: 1fr; }
  .preview-panel { padding: 16px; border-radius: var(--radius-lg); }
  .section { padding: 58px 15px; }
  .page-hero { padding: 94px 15px 46px; }
  .pricing-head { display: block; }
  .pricing-actions { justify-items: start; margin-top: 12px; }
  .stats-bar { justify-content: flex-start; padding: 17px 15px; gap: 16px; }
  .stat-divider { display: none; }
  .content-main,
  .legal-copy { padding: 22px; }
  .footer { padding: 42px 15px 24px; }
}
