:root {
  --bg: #07142e;
  --bg2: #0b1b3a;
  --surface: rgba(255, 255, 255, 0.06);
  --surface2: rgba(255, 255, 255, 0.09);
  --border: rgba(255, 255, 255, 0.12);
  --text: #f5f8ff;
  --muted: rgba(245, 248, 255, 0.78);
  --accent: #56b0ff;
  --accent2: #2a84ff;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.35);

  --radius: 18px;
  --radius-sm: 12px;
  --container: 1120px;

  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 20px;
  --space-5: 28px;
  --space-6: 40px;
  --space-7: 56px;
  --space-8: 80px;

  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans",
    sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  line-height: 1.55;
  color: var(--text);
  background: radial-gradient(1200px 600px at 15% 0%, rgba(86, 176, 255, 0.18), transparent 55%),
    radial-gradient(900px 500px at 80% 15%, rgba(42, 132, 255, 0.14), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg2) 60%, #06102a 100%);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

:focus-visible {
  outline: 3px solid rgba(86, 176, 255, 0.75);
  outline-offset: 3px;
  border-radius: 10px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.container {
  width: min(var(--container), calc(100% - 2 * var(--space-4)));
  margin-inline: auto;
}

.section {
  padding: clamp(56px, 7vw, 90px) 0;
}

.section-accent {
  background: linear-gradient(180deg, rgba(86, 176, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  border-block: 1px solid rgba(255, 255, 255, 0.06);
}

.section-head {
  margin-bottom: var(--space-6);
  max-width: 72ch;
}

.section-head h2 {
  margin: 0 0 var(--space-2);
}

h1,
h2,
h3 {
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(32px, 3.6vw, 54px);
  line-height: 1.08;
  margin: 0 0 var(--space-3);
}

h2 {
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.15;
}

h3 {
  font-size: 18px;
  margin: 0 0 var(--space-2);
}

p {
  margin: 0 0 var(--space-3);
  color: var(--text);
}

.muted {
  color: var(--muted);
}

.fineprint {
  margin-top: var(--space-5);
  color: rgba(245, 248, 255, 0.68);
  font-size: 14px;
}

.skip-link {
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(86, 176, 255, 0.18);
  border: 1px solid rgba(86, 176, 255, 0.3);
  transform: translateY(-140%);
  transition: transform 180ms ease;
  z-index: 9999;
}

.skip-link:focus {
  transform: translateY(0);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(10px);
  background: rgba(7, 20, 46, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: var(--space-4);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand-mark {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  box-shadow: 0 0 0 6px rgba(86, 176, 255, 0.12);
}

.brand-text {
  font-size: 16px;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 10px 12px;
  color: var(--text);
}

.nav-toggle-bars {
  display: inline-block;
  width: 20px;
  height: 12px;
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after,
.nav-toggle-bars {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.95));
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 999px;
}

.nav-toggle-bars::before {
  top: 0;
}

.nav-toggle-bars::after {
  bottom: 0;
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 12px;
  padding: 0;
  margin: 0;
  align-items: center;
}

.nav-link {
  display: inline-flex;
  padding: 10px 10px;
  border-radius: 12px;
  text-decoration: none;
  color: rgba(245, 248, 255, 0.88);
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.06);
}

.nav-link-cta {
  border: 1px solid rgba(86, 176, 255, 0.35);
  background: rgba(86, 176, 255, 0.12);
}

.nav-link.active {
  background: rgba(86, 176, 255, 0.14);
  border: 1px solid rgba(86, 176, 255, 0.22);
}

/* Layout helpers */
.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-6);
  align-items: start;
}

.grid {
  display: grid;
  gap: var(--space-4);
}

.cards-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Components */
.card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: clamp(16px, 2vw, 22px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset;
}

.glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
}

.card-title {
  margin: 0 0 var(--space-2);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 650;
  letter-spacing: -0.01em;
  cursor: pointer;
  user-select: none;
}

.btn-block {
  width: 100%;
}

.btn-small {
  padding: 8px 10px;
  border-radius: 12px;
  font-weight: 600;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  color: #06102a;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 40px rgba(86, 176, 255, 0.18);
}

.btn-primary:hover {
  filter: brightness(1.03);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(245, 248, 255, 0.92);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.09);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(245, 248, 255, 0.88);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}

.cta-row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: var(--space-4);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 var(--space-3);
  color: rgba(245, 248, 255, 0.78);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
}

.lead {
  font-size: clamp(16px, 1.3vw, 18px);
  color: rgba(245, 248, 255, 0.84);
  max-width: 62ch;
}

.trust-row {
  list-style: none;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 0;
  margin: var(--space-5) 0 0;
}

.trust-pill,
.pill {
  display: inline-flex;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(245, 248, 255, 0.88);
  font-size: 13px;
}

.pill-grid {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: var(--space-4);
}

.checklist {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.checklist li {
  position: relative;
  padding-left: 28px;
  color: rgba(245, 248, 255, 0.86);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 16px;
  height: 16px;
  border-radius: 6px;
  background: rgba(86, 176, 255, 0.18);
  border: 1px solid rgba(86, 176, 255, 0.28);
  box-shadow: 0 0 0 3px rgba(86, 176, 255, 0.08);
}

/* Hero */
.hero {
  padding-top: clamp(72px, 8vw, 110px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: var(--space-6);
  align-items: start;
}

.hero-card {
  border-radius: 22px;
  padding: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.05) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
}

.hero-card-title {
  margin: 0;
  font-weight: 750;
}

.hero-card-sub {
  margin: 6px 0 0;
  color: rgba(245, 248, 255, 0.74);
}

.hero-metrics {
  margin: var(--space-5) 0;
  display: grid;
  gap: 14px;
}

.metric {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.metric dt {
  color: rgba(245, 248, 255, 0.74);
}

.metric dd {
  margin: 0;
  font-weight: 750;
}

.link-arrow {
  text-decoration: none;
  color: rgba(86, 176, 255, 0.92);
  font-weight: 650;
}

.link-arrow:hover {
  text-decoration: underline;
}

/* FAQ */
.faq {
  display: grid;
  gap: 12px;
}

.faq-item {
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 16px 16px;
  list-style: none;
  font-weight: 700;
  color: rgba(245, 248, 255, 0.92);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: rgba(86, 176, 255, 0.9);
  font-weight: 900;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-body {
  padding: 0 16px 16px;
}

.faq-body p {
  margin: 0;
  color: rgba(245, 248, 255, 0.84);
}

/* Pricing */
.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}

.pricing-card {
  position: relative;
}

.pricing-top {
  margin-bottom: var(--space-4);
}

.price {
  font-size: 32px;
  margin: 6px 0 6px;
  font-weight: 820;
  letter-spacing: -0.03em;
}

.price-from {
  font-size: 14px;
  font-weight: 650;
  color: rgba(245, 248, 255, 0.7);
  margin-right: 6px;
}

.pricing-card-featured {
  background: linear-gradient(180deg, rgba(86, 176, 255, 0.16), rgba(255, 255, 255, 0.05));
  border-color: rgba(86, 176, 255, 0.28);
  box-shadow: 0 24px 70px rgba(86, 176, 255, 0.12);
}

.badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(86, 176, 255, 0.18);
  border: 1px solid rgba(86, 176, 255, 0.28);
  color: rgba(245, 248, 255, 0.9);
  font-size: 12px;
  font-weight: 700;
}

/* Steps */
.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.step-num {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(86, 176, 255, 0.16);
  border: 1px solid rgba(86, 176, 255, 0.28);
  font-weight: 800;
}

.step-title {
  margin: 0 0 6px;
}

/* Demos */
.demos-grid {
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-4);
}

.demo-card .fineprint {
  margin-top: var(--space-4);
}

.before-after {
  margin-top: var(--space-4);
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  height: 240px;
}

.before-after-pane {
  position: absolute;
  inset: 0;
}

.before-after-pane.after {
  width: 55%;
  overflow: hidden;
}

.before-after-label {
  position: absolute;
  bottom: 12px;
  left: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 12px;
  background: rgba(7, 20, 46, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.after .before-after-label {
  left: auto;
  right: 12px;
}

.before-after-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 55%;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  width: 44px;
  pointer-events: none;
}

.before-after-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(245, 248, 255, 0.55);
  border-radius: 999px;
}

.before-after-knob {
  pointer-events: auto;
  width: 40px;
  height: 40px;
  border-radius: 16px;
  border: 1px solid rgba(86, 176, 255, 0.35);
  background: rgba(7, 20, 46, 0.9);
  color: rgba(245, 248, 255, 0.95);
  display: grid;
  place-items: center;
  cursor: grab;
}

.before-after-knob:active {
  cursor: grabbing;
}

.demo-shot {
  height: 100%;
  padding: 18px;
  display: grid;
  gap: 12px;
}

.demo-shot-old {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.02));
}

.demo-old-bar {
  height: 20px;
  border-radius: 10px;
  background: rgba(245, 248, 255, 0.14);
}

.demo-old-block {
  height: 28px;
  border-radius: 10px;
  background: rgba(245, 248, 255, 0.09);
}

.demo-old-block.small {
  height: 18px;
  opacity: 0.8;
}

.demo-shot-new {
  background: radial-gradient(320px 220px at 30% 20%, rgba(86, 176, 255, 0.35), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
}

.demo-new-hero {
  height: 42px;
  border-radius: 14px;
  background: rgba(86, 176, 255, 0.22);
  border: 1px solid rgba(86, 176, 255, 0.28);
}

.demo-new-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.demo-new-cards span {
  height: 38px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.demo-new-line {
  height: 18px;
  border-radius: 10px;
  background: rgba(245, 248, 255, 0.1);
}

/* Calculator */
.calc {
  margin-top: var(--space-4);
}

.calc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.calc-checks {
  margin-top: 14px;
  border: none;
  padding: 0;
  display: grid;
  gap: 10px;
}

.calc-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.calc-result {
  display: block;
  margin-top: 16px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.calc-out p {
  margin: 0 0 8px;
}

.calc-tag {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(86, 176, 255, 0.16);
  border: 1px solid rgba(86, 176, 255, 0.28);
  color: rgba(245, 248, 255, 0.92);
  font-weight: 750;
  font-size: 13px;
  vertical-align: middle;
}

.field {
  display: grid;
  gap: 8px;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field-label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 248, 255, 0.7);
}

input,
textarea,
select {
  width: 100%;
  color: rgba(245, 248, 255, 0.92);
  background: rgba(7, 20, 46, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 12px 12px;
  font: inherit;
}

textarea {
  resize: vertical;
}

select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, rgba(245, 248, 255, 0.7) 50%),
    linear-gradient(135deg, rgba(245, 248, 255, 0.7) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(1em + 4px), calc(100% - 13px) calc(1em + 4px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 38px;
}

.check {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.check input {
  width: 18px;
  height: 18px;
}

/* Contact */
.contact-card {
  margin-top: var(--space-4);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px;
}

.contact-row {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
}

.contact-row + .contact-row {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-label {
  color: rgba(245, 248, 255, 0.72);
  font-weight: 650;
}

.contact-value {
  color: rgba(245, 248, 255, 0.92);
}

/* Footer */
.site-footer {
  padding: 36px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.12);
}

.footer-grid {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: var(--space-6);
}

.footer-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.linklike {
  appearance: none;
  border: none;
  background: transparent;
  color: rgba(245, 248, 255, 0.85);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 12px;
}

.linklike:hover {
  background: rgba(255, 255, 255, 0.06);
}

.footer-bottom {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(245, 248, 255, 0.7);
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 18px;
}

.modal.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.modal-dialog {
  position: relative;
  width: min(720px, 100%);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(7, 20, 46, 0.92), rgba(7, 20, 46, 0.86));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-title {
  margin: 0;
  font-size: 18px;
}

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(245, 248, 255, 0.95);
  font-size: 20px;
  cursor: pointer;
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.09);
}

.modal-body {
  padding: 16px;
  color: rgba(245, 248, 255, 0.9);
}

.modal-body p {
  color: rgba(245, 248, 255, 0.9);
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .two-col {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .demos-grid {
    grid-template-columns: 1fr;
  }
  .cards-3 {
    grid-template-columns: 1fr;
  }
  .cards-2 {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: fixed;
    inset: 70px 14px auto 14px;
    display: none;
    background: rgba(7, 20, 46, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 14px;
  }

  .site-nav.is-open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-link {
    justify-content: space-between;
  }

  .footer-grid {
    flex-direction: column;
  }

  .contact-row {
    grid-template-columns: 1fr;
    gap: 8px;
    align-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn,
  .skip-link {
    transition: none !important;
  }
}
