:root {
  --ink: #111827;
  --navy: #172033;
  --slate: #42526b;
  --muted: #667085;
  --line: #d9e2ef;
  --soft: #f4f7fb;
  --white: #ffffff;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --cyan: #06b6d4;
  --green: #16a34a;
  --gold: #f59e0b;
  --shadow: 0 22px 60px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, Montserrat, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(1180px, calc(100% - 40px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-size: 22px;
  font-weight: 800;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.32);
}

.brand-mark span {
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  transition: color 0.18s ease;
}

.nav-links a:hover {
  color: var(--white);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--white);
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 88% 20%, rgba(6, 182, 212, 0.3), transparent 30%),
    radial-gradient(circle at 12% 10%, rgba(37, 99, 235, 0.34), transparent 28%),
    linear-gradient(135deg, #0f172a 0%, #172033 55%, #1e3a8a 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -12% -34% 42%;
  height: 520px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  transform: rotate(-8deg);
}

.hero-inner {
  width: min(1180px, calc(100% - 40px));
  min-height: 690px;
  position: relative;
  z-index: 1;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 64px;
  align-items: center;
  padding: 70px 0;
}

.hero-copy {
  max-width: 690px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: 22px;
  font-size: clamp(44px, 5vw, 74px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero p {
  max-width: 620px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 680px;
}

.hero-proof span {
  display: block;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.45;
}

.hero-proof strong {
  display: block;
  margin-bottom: 4px;
  color: var(--white);
  font-size: 20px;
}

.hero-panel {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.browser-card {
  overflow: hidden;
  border-radius: 18px;
  background: var(--white);
  color: var(--ink);
}

.browser-top {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
  background: #f8fafc;
}

.browser-top i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
}

.browser-body {
  padding: 22px;
}

.browser-body h3 {
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 1.1;
}

.browser-lines {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.browser-lines span {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: #e2e8f0;
}

.browser-lines span:nth-child(1) {
  width: 92%;
}

.browser-lines span:nth-child(2) {
  width: 72%;
}

.browser-lines span:nth-child(3) {
  width: 84%;
}

.browser-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.browser-metrics div {
  padding: 14px;
  border-radius: 14px;
  background: var(--soft);
}

.browser-metrics strong {
  display: block;
  margin-bottom: 4px;
  color: var(--blue);
  font-size: 22px;
}

.browser-metrics span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 24px;
  color: var(--white);
  background: var(--blue);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn.primary {
  box-shadow: 0 16px 32px rgba(37, 99, 235, 0.28);
}

.btn.primary:hover {
  background: var(--blue-dark);
}

.btn.secondary {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.btn.full {
  width: 100%;
}

.section {
  padding: 88px 0;
}

.section-header {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto 46px;
  text-align: center;
}

.section-header h2,
.operate-title h2 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.04;
}

.section-header p {
  color: var(--muted);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.65;
}

.features-section {
  background: var(--white);
}

.feature-grid {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  min-height: 280px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.05);
}

.feature-card img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  margin: 0 0 28px;
}

.feature-card h3,
.plan h3,
.step h3 {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.18;
}

.feature-card p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.65;
}

.operate-title {
  padding: 78px 20px 0;
  background: var(--soft);
  text-align: center;
}

.operate-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 44px 0 88px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.step {
  position: relative;
  min-height: 270px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.06);
}

.step::after {
  content: "";
  position: absolute;
  top: 48px;
  right: -27px;
  z-index: 1;
  width: 34px;
  height: 2px;
  background: var(--line);
}

.step:last-child::after {
  display: none;
}

.step-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 14px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  font-size: 20px;
  font-weight: 900;
}

.step p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
}

.plans-section {
  background:
    radial-gradient(circle at 15% 15%, rgba(37, 99, 235, 0.18), transparent 28%),
    linear-gradient(135deg, #0f172a, #172033);
}

.section-header.invert h2,
.section-header.invert p {
  color: var(--white);
}

.section-header.invert p {
  color: rgba(255, 255, 255, 0.72);
}

.plan-grid {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.plan {
  min-height: 500px;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.plan.featured {
  border-color: rgba(6, 182, 212, 0.54);
  background: rgba(37, 99, 235, 0.2);
  box-shadow: 0 20px 60px rgba(37, 99, 235, 0.2);
}

.plan img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 22px;
  filter: saturate(1.1);
}

.plan h3 {
  min-height: 48px;
  margin-bottom: 10px;
  color: var(--white);
  font-size: 18px;
}

.plan strong {
  display: block;
  margin: 0 0 18px;
  color: var(--white);
  font-size: 30px;
  font-weight: 900;
}

.plan ul {
  flex: 1;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.plan li {
  position: relative;
  margin: 0 0 10px;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}

.plan .btn {
  width: 100%;
  margin-top: auto;
}

.faq-section {
  background: var(--white);
}

.faq-heading a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-card-grid {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.faq-card button {
  width: 100%;
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  align-items: center;
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.faq-card button span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--blue);
  background: #e8f0ff;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
}

.faq-card strong {
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
}

.faq-card p {
  display: none;
  margin: 12px 0 0 42px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.65;
}

.faq-card.open p {
  display: block;
}

.footer {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px max(20px, calc((100vw - 1180px) / 2));
  color: rgba(255, 255, 255, 0.72);
  background: #0f172a;
  font-size: 14px;
}

.footer p {
  margin: 0;
}

.footer nav {
  display: flex;
  gap: 24px;
  color: var(--white);
  font-weight: 700;
}

.standalone-page {
  min-height: calc(100vh - 78px);
  position: relative;
  overflow: hidden;
  padding: 86px 20px 110px;
  background:
    radial-gradient(circle at 82% 20%, rgba(6, 182, 212, 0.22), transparent 26%),
    linear-gradient(135deg, #0f172a, #172033);
}

.page-heading {
  position: relative;
  z-index: 1;
  width: min(820px, 100%);
  margin: 0 auto 42px;
  text-align: center;
}

.page-heading h1 {
  margin-bottom: 16px;
  color: var(--white);
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1;
}

.page-heading p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
}

.contact-card {
  width: min(680px, 100%);
  position: relative;
  z-index: 1;
  margin: 0 auto;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.2);
}

.contact-card label {
  display: block;
  margin-bottom: 18px;
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
}

.contact-card input,
.contact-card textarea {
  width: 100%;
  margin-top: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.contact-card input {
  height: 52px;
  padding: 0 14px;
}

.contact-card textarea {
  min-height: 150px;
  resize: vertical;
  padding: 12px 14px;
}

.shape {
  display: none;
}

.checkout-notice {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 100;
  width: min(520px, calc(100% - 32px));
  padding: 16px 20px;
  border-radius: 8px;
  color: var(--white);
  background: var(--navy);
  font-size: 15px;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.24);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 18px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.checkout-notice.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.checkout-notice[data-type="error"] {
  background: #b42318;
}

.checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(6px);
}

.checkout-modal[hidden] {
  display: none;
}

.checkout-modal__panel {
  position: relative;
  width: min(620px, 100%);
  padding: 28px;
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.checkout-modal__panel h2 {
  margin: 0 0 22px;
  font-size: 28px;
  line-height: 1.1;
}

.checkout-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  color: var(--muted);
  background: var(--soft);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.checkout-summary {
  display: grid;
  gap: 12px;
  margin: 0 0 24px;
  padding: 16px;
  border-radius: 8px;
  background: var(--soft);
}

.checkout-summary div {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
  align-items: baseline;
}

.checkout-summary dt {
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.checkout-summary dd {
  margin: 0;
  font-size: 16px;
  font-weight: 900;
}

.checkout-form {
  display: grid;
  gap: 10px;
}

.checkout-form label {
  font-size: 14px;
  font-weight: 900;
}

.checkout-form input {
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 16px;
  color: var(--ink);
  background: var(--white);
}

.checkout-form input::placeholder {
  color: #98a2b3;
}

.checkout-form p {
  margin: -2px 0 16px;
  color: var(--muted);
  font-size: 14px;
}

.checkout-submit {
  width: 100%;
  min-height: 58px;
}

.checkout-submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

.status-page,
.policy-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 80% 14%, rgba(6, 182, 212, 0.22), transparent 26%),
    linear-gradient(135deg, #0f172a, #172033);
}

.status-card,
.policy {
  width: min(680px, 100%);
  padding: 34px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.status-card {
  text-align: center;
}

.status-card .brand-mark {
  margin-bottom: 16px;
}

.status-card h1 {
  color: var(--ink);
}

.status-card p,
.policy p,
.policy li {
  color: var(--muted);
  line-height: 1.7;
}

.policy .brand {
  margin-bottom: 28px;
  color: var(--ink);
}

.policy h1,
.policy h2 {
  color: var(--ink);
}

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

  .hero-panel {
    max-width: 560px;
  }

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

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

@media (max-width: 820px) {
  .nav-shell {
    width: min(100% - 32px, 720px);
    min-height: 72px;
    flex-wrap: wrap;
  }

  .brand {
    font-size: 20px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding-bottom: 16px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    padding: 12px 0;
  }

  .hero-inner {
    width: min(100% - 32px, 680px);
    min-height: auto;
    padding: 64px 0;
  }

  .hero h1 {
    font-size: 43px;
  }

  .hero p {
    font-size: 17px;
  }

  .hero-proof,
  .feature-grid,
  .operate-section,
  .plan-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    padding: 16px;
  }

  .section {
    padding: 64px 0;
  }

  .operate-title {
    padding-top: 64px;
  }

  .operate-section {
    width: min(100% - 32px, 680px);
    padding-bottom: 64px;
  }

  .step::after {
    display: none;
  }

  .plan {
    min-height: auto;
  }

  .checkout-modal {
    align-items: end;
    padding: 16px;
  }

  .checkout-modal__panel {
    max-height: calc(100vh - 32px);
    overflow: auto;
    padding: 24px;
  }

  .checkout-summary div {
    grid-template-columns: 70px 1fr;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-card,
  .status-card,
  .policy {
    padding: 24px;
  }
}
