:root {
  --bg: #111a2e;
  --bg-deep: #0b1223;
  --surface: #1c2a4a;
  --surface-soft: rgba(28, 42, 74, 0.72);
  --surface-strong: rgba(33, 50, 87, 0.94);
  --line: rgba(174, 198, 255, 0.16);
  --text: #f5f7fb;
  --muted: #aab4c8;
  --muted-strong: #c8d3e8;
  --blue: #2f80ed;
  --cyan: #56ccf2;
  --success: #63e6be;
  --danger: #ff7b7b;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  --radius: 22px;
  --radius-sm: 14px;
  --font-title: "Manrope", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 10%, rgba(47, 128, 237, 0.22), transparent 34rem),
    radial-gradient(circle at 86% 4%, rgba(86, 204, 242, 0.18), transparent 30rem),
    linear-gradient(180deg, var(--bg), var(--bg-deep) 58%, #0a1020);
  font-family: var(--font-body);
  letter-spacing: 0;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1180px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(12, 20, 38, 0.72);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px);
}

.site-header.compact {
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: white;
  font-family: var(--font-title);
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(47, 128, 237, 0.38);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1;
}

.brand strong {
  font-family: var(--font-title);
  font-size: 15px;
  letter-spacing: 0;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted-strong);
  font-size: 14px;
  font-weight: 600;
}

.desktop-nav a {
  transition: color 160ms ease;
}

.desktop-nav a:hover {
  color: var(--text);
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

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

.btn:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 16px 42px rgba(47, 128, 237, 0.34);
}

.btn-ghost {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.05);
}

.btn-large {
  min-height: 52px;
  padding: 0 24px;
  font-size: 15px;
}

.btn-small {
  min-height: 38px;
  padding: 0 15px;
  font-size: 13px;
}

.full-width {
  width: 100%;
}

.section {
  padding: 90px 0;
}

.section-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  padding-top: 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.86fr);
  gap: 58px;
  align-items: center;
}

.hero h1,
.section-heading h2,
.checkout-card h1,
.status-card h1,
.cta-panel h2 {
  margin: 0;
  font-family: var(--font-title);
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(58px, 9vw, 124px);
  line-height: 0.88;
}

.hero-lead {
  margin: 28px 0 0;
  max-width: 720px;
  color: var(--text);
  font-size: clamp(28px, 4vw, 54px);
  font-weight: 800;
  line-height: 1.02;
}

.hero-sublead {
  max-width: 650px;
  margin: 22px 0 0;
  color: var(--muted-strong);
  font-size: 18px;
  line-height: 1.75;
}

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

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.trust-row span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.04);
  font-size: 13px;
  font-weight: 700;
}

.product-showcase {
  position: relative;
}

.product-showcase::before {
  content: "";
  position: absolute;
  inset: 8% -7% -8% 12%;
  z-index: -1;
  border-radius: 42px;
  background: linear-gradient(135deg, rgba(47, 128, 237, 0.38), rgba(86, 204, 242, 0.16));
  filter: blur(18px);
}

.app-window {
  overflow: hidden;
  border: 1px solid rgba(174, 198, 255, 0.2);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(28, 42, 74, 0.98), rgba(11, 18, 35, 0.96));
  box-shadow: var(--shadow);
}

.window-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted-strong);
  font-size: 13px;
}

.window-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.window-top strong {
  margin-left: 8px;
}

.scan-panel {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: 18px;
  padding: 22px;
}

.receipt-card,
.classification-card,
.feature-card,
.step,
.price-card,
.checkout-card,
.order-summary,
.status-card,
.cta-panel {
  border: 1px solid var(--line);
  background: var(--surface-soft);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.18);
}

.receipt-card {
  min-height: 270px;
  padding: 22px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(245, 247, 251, 0.95), rgba(217, 230, 255, 0.92));
}

.receipt-line {
  height: 10px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: rgba(17, 26, 46, 0.18);
}

.receipt-line.wide {
  width: 92%;
}

.receipt-line.short {
  width: 52%;
}

.receipt-total {
  margin-top: 116px;
  color: #111a2e;
  font-size: 24px;
  font-weight: 900;
}

.classification-card {
  display: grid;
  gap: 14px;
  align-content: center;
  padding: 18px;
  border-radius: 22px;
}

.classification-card div {
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
}

.classification-card small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.classification-card strong {
  display: block;
  margin-top: 5px;
  font-size: 17px;
}

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

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 0 22px 22px;
}

.timeline span {
  padding: 11px 10px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  text-align: center;
  font-size: 12px;
  font-weight: 800;
}

.timeline .active {
  color: white;
  background: rgba(47, 128, 237, 0.28);
}

.section-heading {
  max-width: 740px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-heading.align-left {
  margin: 0;
  text-align: left;
}

.section-heading h2,
.assurance-copy h2 {
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.04;
}

.section-heading p,
.assurance-copy p,
.cta-panel p,
.muted {
  color: var(--muted-strong);
  line-height: 1.7;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card,
.step,
.price-card {
  border-radius: var(--radius);
  padding: 24px;
}

.feature-card h3,
.step h3,
.price-card h3,
.order-summary h2 {
  margin: 18px 0 10px;
  font-family: var(--font-title);
  font-size: 22px;
}

.feature-card p,
.step p,
.price-card p,
.price-card li {
  color: var(--muted-strong);
  line-height: 1.65;
}

.icon-shape {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(47, 128, 237, 0.26), rgba(86, 204, 242, 0.18));
  color: var(--cyan);
  font-size: 15px;
  font-weight: 900;
}

.split-section,
.assurance-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 44px;
  align-items: start;
}

.steps,
.assurance-list {
  display: grid;
  gap: 16px;
}

.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  column-gap: 18px;
}

.step span {
  grid-row: span 2;
  color: var(--cyan);
  font-weight: 900;
  font-size: 18px;
}

.step h3,
.step p {
  margin: 0;
}

.step p {
  margin-top: 6px;
}

.assurance {
  background: linear-gradient(180deg, rgba(28, 42, 74, 0.32), rgba(17, 26, 46, 0));
}

.assurance-item {
  display: grid;
  gap: 6px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
}

.assurance-item strong {
  font-family: var(--font-title);
  font-size: 18px;
}

.assurance-item span {
  color: var(--muted-strong);
  line-height: 1.55;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border-color: rgba(86, 204, 242, 0.62);
  background: linear-gradient(180deg, rgba(47, 128, 237, 0.22), rgba(28, 42, 74, 0.86));
  transform: translateY(-10px);
}

.recommended-label {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #071225;
  background: var(--cyan);
  font-size: 12px;
  font-weight: 900;
}

.price {
  margin: 22px 0 8px;
}

.price strong {
  display: block;
  font-family: var(--font-title);
  font-size: 44px;
}

.price span,
.price-desc {
  color: var(--muted);
}

.price-card ul {
  display: grid;
  gap: 10px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.price-card li::before {
  content: "+";
  margin-right: 10px;
  color: var(--success);
  font-weight: 900;
}

.price-card .btn {
  margin-top: auto;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(47, 128, 237, 0.24), rgba(86, 204, 242, 0.1)),
    rgba(28, 42, 74, 0.72);
}

.cta-panel h2 {
  font-size: clamp(28px, 4vw, 44px);
}

.site-footer {
  padding: 34px 0 96px;
  color: var(--muted);
}

.footer-inner,
.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
}

.footer-inner nav {
  justify-content: flex-end;
}

.sticky-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 45;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: rgba(12, 20, 38, 0.86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.sticky-cta span {
  padding-left: 8px;
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 700;
}

.checkout-body,
.status-body {
  background:
    radial-gradient(circle at 50% 0%, rgba(47, 128, 237, 0.24), transparent 34rem),
    linear-gradient(180deg, var(--bg), var(--bg-deep));
}

.checkout-main {
  min-height: calc(100vh - 86px);
  padding: 56px 16px 80px;
}

.checkout-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 390px;
  gap: 24px;
  width: min(1080px, 100%);
  margin: 0 auto;
  align-items: start;
}

.checkout-card,
.order-summary,
.status-card {
  border-radius: 28px;
  padding: 30px;
}

.checkout-card h1,
.status-card h1 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.02;
}

.back-link {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--cyan);
  font-weight: 800;
}

.field {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.field span {
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 800;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  outline: none;
  color: var(--text);
  background: rgba(255, 255, 255, 0.065);
  padding: 15px 16px;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.field textarea {
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(86, 204, 242, 0.78);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 0 0 4px rgba(86, 204, 242, 0.11);
}

.field-error {
  min-height: 18px;
  color: var(--danger);
}

.two-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.notice,
.secure-box,
.confirmation-details {
  margin: 22px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--muted-strong);
  background: rgba(86, 204, 242, 0.07);
  line-height: 1.55;
}

.form-status {
  min-height: 24px;
  color: var(--muted-strong);
  font-weight: 700;
}

.form-status[data-tone="error"] {
  color: var(--danger);
}

.form-status[data-tone="loading"] {
  color: var(--cyan);
}

.summary-offer {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
}

.summary-offer span {
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: 800;
}

.summary-offer small {
  color: var(--muted);
  line-height: 1.45;
}

.summary-line,
.summary-total {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  color: var(--muted-strong);
}

.summary-total {
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--text);
}

.summary-total strong {
  font-size: 24px;
}

.secure-box {
  display: grid;
  gap: 5px;
  margin-bottom: 0;
}

.secure-box span {
  color: var(--muted);
}

.status-body {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.status-card {
  width: min(680px, 100%);
  text-align: center;
}

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

.status-card .status-actions {
  justify-content: center;
}

.status-icon {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  margin: 0 auto 20px;
  border-radius: 20px;
  background: rgba(99, 230, 190, 0.12);
  color: var(--success);
  font-size: 20px;
  font-weight: 900;
}

.status-card.error .status-icon {
  color: var(--danger);
  background: rgba(255, 123, 123, 0.12);
}

.confirmation-details {
  display: grid;
  gap: 6px;
  text-align: left;
}

.loader {
  width: 54px;
  height: 54px;
  margin: 0 auto 22px;
  border: 4px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--cyan);
  border-radius: 50%;
  animation: spin 900ms linear infinite;
}

.hidden {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 920px) {
  .desktop-nav {
    display: none;
  }

  .hero-grid,
  .split-section,
  .assurance-grid,
  .checkout-shell {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .product-showcase {
    order: -1;
  }

  .feature-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .price-card.featured {
    transform: none;
  }

  .order-summary {
    order: -1;
  }
}

@media (max-width: 640px) {
  .site-header {
    width: min(100% - 20px, 1180px);
    margin-top: 10px;
    border-radius: 22px;
  }

  .site-header .btn-small {
    display: none;
  }

  .section {
    padding: 64px 0;
  }

  .section-inner {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    padding-top: 38px;
  }

  .hero-grid {
    gap: 32px;
  }

  .hero h1 {
    font-size: clamp(48px, 18vw, 72px);
  }

  .hero-actions,
  .status-actions,
  .cta-panel,
  .sticky-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn,
  .status-actions .btn,
  .cta-panel .btn {
    width: 100%;
  }

  .scan-panel {
    grid-template-columns: 1fr;
  }

  .receipt-card {
    min-height: 210px;
  }

  .receipt-total {
    margin-top: 70px;
  }

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

  .step span {
    grid-row: auto;
  }

  .two-fields {
    grid-template-columns: 1fr;
  }

  .checkout-card,
  .order-summary,
  .status-card,
  .cta-panel {
    padding: 22px;
    border-radius: 22px;
  }

  .sticky-cta {
    left: 12px;
    right: 12px;
    border-radius: 22px;
  }

  .sticky-cta span {
    padding-left: 0;
    text-align: center;
  }
}
