@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Sora:wght@500;600;700;800&display=swap");

:root {
  color-scheme: light;
  --bg: #f6f8fc;
  --surface: #ffffff;
  --surface-soft: #f9fbff;
  --ink: #101828;
  --muted: #667085;
  --line: #d7deea;
  --brand: #2f65f5;
  --brand-strong: #2455de;
  --ok: #099250;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1280px 520px at 72% -180px, #dbe6ff 0, transparent 72%),
    linear-gradient(#f5f7fc, #f6f8fc);
}

.container {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(215, 222, 234, 0.9);
  background: rgba(246, 248, 252, 0.9);
  backdrop-filter: blur(10px);
}

.nav {
  min-height: 74px;
  display: grid;
  align-items: center;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
}

.brand {
  text-decoration: none;
  color: #0b1631;
  font-family: "Sora", "Manrope", sans-serif;
  font-weight: 700;
  font-size: 1.9rem;
  letter-spacing: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-logo-image {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(36, 85, 222, 0.16);
}

.links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.links a {
  text-decoration: none;
  color: #344054;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.4rem 0.5rem;
}

.auth-links {
  justify-content: flex-end;
}

.compact {
  min-width: 88px;
}

.btn-primary,
.btn-ghost,
.btn-checkout {
  border-radius: 8px;
  border: 1px solid transparent;
  text-decoration: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.btn-primary,
.btn-checkout {
  background: linear-gradient(130deg, var(--brand), var(--brand-strong));
  color: #fff;
}

.btn-primary:hover,
.btn-checkout:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(47, 101, 245, 0.25);
}

.btn-primary,
.btn-ghost {
  height: 42px;
  padding: 0 1rem;
}

.btn-ghost {
  background: #fff;
  color: #1d2b55;
  border-color: #bbcaea;
}

.hero {
  padding: 2.4rem 0 1rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--brand);
  font-weight: 700;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #e9efff;
  padding: 0.38rem 0.72rem;
  border-radius: 999px;
}

h1 {
  margin: 0;
  font-size: clamp(2.1rem, 4.9vw, 4rem);
  line-height: 1.04;
  letter-spacing: 0;
  color: #101828;
}

#heroHeadingAccent {
  color: var(--brand);
  display: inline;
}

.lead {
  margin-top: 1rem;
  color: var(--muted);
  max-width: 55ch;
  font-size: 1.15rem;
  line-height: 1.45;
}

.hero-cta {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.trust-line {
  margin-top: 0.95rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.hero-media-wrap {
  position: relative;
}

.hero-media {
  width: 100%;
  border-radius: 8px;
  display: block;
  box-shadow: 0 16px 45px rgba(60, 89, 166, 0.16);
}

.hidden {
  display: none;
}

.metric-strip {
  margin-top: 0.8rem;
}

.metrics-grid {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
}

.metric-item {
  min-height: 96px;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem;
  border-right: 1px solid var(--line);
}

.metric-item:last-child {
  border-right: none;
}

.metric-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--brand);
  background: #edf2ff;
  font-size: 1rem;
  font-weight: 800;
}

.metric-item strong {
  font-size: 2rem;
  color: var(--brand);
  line-height: 1;
}

.metric-item span {
  color: var(--muted);
  font-size: 0.92rem;
  display: block;
}

.section-block {
  padding: 1.7rem 0;
}

.pricing-copy {
  max-width: 630px;
}

.section-badge {
  margin: 0;
  color: var(--brand);
  font-weight: 700;
  font-size: 0.84rem;
  background: #edf2ff;
  display: inline-block;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}

.pricing-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
}

.pricing-head h2 {
  margin: 0.45rem 0 0.3rem;
  font-size: clamp(1.8rem, 3vw, 2.75rem);
}

.section-subtitle {
  margin: 0;
  color: var(--muted);
}

.controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.segmented {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  display: inline-flex;
  padding: 3px;
}

.seg {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #475467;
  font-weight: 700;
  padding: 0.45rem 1.05rem;
  cursor: pointer;
}

.seg.active {
  background: linear-gradient(130deg, var(--brand), var(--brand-strong));
  color: #fff;
}

.save-pill {
  border-radius: 999px;
  background: #ecfdf3;
  color: #067647;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.34rem 0.66rem;
}

select,
input {
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #101828;
  padding: 0 0.66rem;
}

select {
  min-width: 156px;
}

input {
  min-width: 190px;
}

.status {
  min-height: 1.5rem;
  margin: 0.8rem 0 0.7rem;
  color: #667085;
}

.status.error {
  color: #b42318;
}

.status.ok {
  color: var(--ok);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.plan {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 1.05rem;
  display: flex;
  flex-direction: column;
  min-height: 312px;
  position: relative;
}

.plan.featured {
  border-color: #7ba0ff;
  box-shadow: 0 14px 28px rgba(47, 101, 245, 0.13);
}

.plan-badge {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  padding: 0.26rem 0.55rem;
  border-radius: 999px;
  background: #e8efff;
  color: #2f65f5;
  font-size: 0.72rem;
  font-weight: 700;
}

.plan h3 {
  margin: 0;
  font-size: 1.45rem;
}

.spec {
  margin-top: 0.3rem;
  color: #667085;
  font-size: 0.95rem;
}

.price {
  margin: 0.45rem 0 0.58rem;
  font-size: 2.15rem;
  font-weight: 800;
  line-height: 1;
}

.price small {
  color: #667085;
  font-size: 0.95rem;
  font-weight: 600;
}

.features {
  flex: 1;
  margin: 0 0 0.9rem;
  padding-left: 1.1rem;
  color: #344054;
  line-height: 1.44;
}

.btn-checkout {
  width: 100%;
  height: 40px;
}

.btn-checkout[disabled] {
  opacity: 0.65;
  cursor: not-allowed;
}

.faq-block .section-title {
  margin: 0 0 0.8rem;
  font-size: 1.8rem;
}

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

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem;
}

.faq-item h3 {
  margin: 0;
  font-size: 1.06rem;
}

.faq-item p {
  margin: 0.5rem 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.logo-cloud {
  padding-top: 0.5rem;
}

.logo-cloud-title {
  margin: 0 0 0.8rem;
  color: var(--muted);
  text-align: center;
}

.logo-cloud-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  align-items: center;
}

.logo-cloud-grid img {
  width: 100%;
  max-width: 130px;
  justify-self: center;
  opacity: 0.7;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 0.95rem 0;
  margin-top: 1rem;
}

.site-footer .container {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.site-footer span {
  font-weight: 700;
}

.site-footer a {
  text-decoration: none;
  color: #475467;
  font-weight: 600;
}

@media (max-width: 1050px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric-item:nth-child(2n) {
    border-right: none;
  }

  .plans-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .logo-cloud-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .nav {
    grid-template-columns: 1fr auto;
  }

  #navLinks {
    display: none;
  }

  .hero {
    padding-top: 1.6rem;
  }

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

  .metric-item {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .metric-item:last-child {
    border-bottom: none;
  }

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

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

  .logo-cloud-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
