:root {
  color-scheme: light;
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-soft: #f1f5f9;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --indigo: #4f46e5;
  --violet: #7c3aed;
  --emerald: #10b981;
  --shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
  --radius: 8px;
  --max: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 48%, #f8fafc 100%);
  color: var(--text);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
}

.nav-shell {
  width: min(var(--max), calc(100% - 32px));
  height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 170px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: white;
  font-weight: 800;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  box-shadow: 0 10px 24px rgba(79, 70, 229, 0.28);
}

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

.brand strong {
  font-size: 17px;
  background: linear-gradient(90deg, var(--indigo), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand small {
  margin-top: 4px;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #475569;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:hover { color: var(--indigo); }
.nav-cta {
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 24px;
  color: var(--text);
}

.section-pad {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 88px 0;
}

.hero {
  min-height: calc(100vh - 68px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
  align-items: center;
  gap: 40px;
  padding-top: 58px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--indigo);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--emerald);
  box-shadow: 0 0 0 5px rgba(16, 185, 129, 0.12);
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  margin: 18px 0 14px;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 0.98;
  letter-spacing: 0;
}

h1 span { display: block; }
h2 {
  margin: 12px 0 12px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-gradient {
  margin-bottom: 18px;
  font-size: clamp(24px, 3.2vw, 42px);
  font-weight: 850;
  line-height: 1.15;
  background: linear-gradient(90deg, var(--indigo), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-text,
.section-head p,
.order-card p,
.final-cta p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 850;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn-primary {
  color: white;
  background: linear-gradient(90deg, var(--indigo), var(--violet));
  box-shadow: 0 18px 34px rgba(79, 70, 229, 0.28);
}

.btn-ghost,
.btn-light {
  color: var(--text);
  background: white;
  border: 1px solid var(--line);
}

.btn-xl { min-height: 52px; padding: 0 28px; }

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-proof span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #475569;
  font-size: 13px;
  font-weight: 800;
}

.hero-art {
  margin: 0;
  padding: 10px;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(241, 245, 249, 0.86));
  box-shadow: var(--shadow);
}

.hero-art img {
  border-radius: 8px;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.trust-strip {
  width: min(var(--max), calc(100% - 32px));
  margin: -24px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.07);
}

.trust-strip div {
  padding: 24px;
  border-right: 1px solid var(--line);
}

.trust-strip div:last-child { border-right: 0; }
.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  margin-bottom: 6px;
  font-size: 16px;
}

.trust-strip span {
  color: var(--muted);
  font-size: 14px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.plan-grid,
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.plan-card,
.benefit-grid article,
.flow-grid article,
.order-card,
.final-cta {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 12px 38px rgba(15, 23, 42, 0.06);
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 310px;
  padding: 24px;
  overflow: hidden;
}

.plan-card.is-featured {
  border-color: rgba(79, 70, 229, 0.5);
  box-shadow: 0 22px 60px rgba(79, 70, 229, 0.16);
}

.plan-badge {
  align-self: flex-start;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--indigo);
  background: #eef2ff;
  font-size: 12px;
  font-weight: 900;
}

.plan-card h3 {
  margin: 18px 0 8px;
  font-size: 21px;
}

.plan-card p {
  color: var(--muted);
  line-height: 1.65;
}

.plan-price {
  margin: auto 0 18px;
  font-size: 34px;
  font-weight: 900;
}

.plan-meta {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  color: #475569;
  font-size: 13px;
  font-weight: 750;
}

.order-card {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 38px;
  padding: 34px;
}

.order-form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: #334155;
  font-size: 14px;
  font-weight: 850;
}

input, select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  background: white;
  color: var(--text);
}

input:focus,
select:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(79, 70, 229, 0.25);
  outline-offset: 2px;
}

.qty-row {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  gap: 8px;
}

.pay-chip {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 8px;
  color: #065f46;
  background: #ecfdf5;
  font-weight: 900;
}

.pay-chip span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: white;
  background: var(--emerald);
}

.order-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-radius: 8px;
  background: var(--surface-soft);
}

.order-total strong {
  font-size: 28px;
  color: var(--indigo);
}

.form-error {
  min-height: 20px;
  margin: 0;
  color: #dc2626;
  font-size: 14px;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.flow-grid article,
.benefit-grid article {
  padding: 22px;
}

.flow-grid b {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
}

.flow-grid h3,
.benefit-grid h3 {
  margin: 18px 0 8px;
}

.flow-grid p,
.benefit-grid p,
.faq p {
  color: var(--muted);
  line-height: 1.65;
}

.benefit-grid span {
  color: var(--emerald);
  font-weight: 900;
}

.faq-list {
  display: grid;
  gap: 10px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

summary {
  cursor: pointer;
  padding: 20px;
  font-weight: 850;
}

details p {
  margin: 0;
  padding: 0 20px 20px;
}

.final-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 42px;
}

.support-box {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #475569;
  font-size: 14px;
}

.support-box span,
.support-box a {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f8fafc;
}

.site-footer {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 42px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.7;
}

.pay-dialog {
  width: min(560px, calc(100% - 32px));
  border: 0;
  border-radius: 8px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.pay-dialog::backdrop {
  background: rgba(15, 23, 42, 0.42);
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  cursor: pointer;
}

.dialog-title {
  margin: 0 0 12px;
  font-size: 24px;
}

.query-result,
.delivery-box {
  margin-top: 16px;
  padding: 16px;
  border-radius: 8px;
  background: var(--surface-soft);
  color: #334155;
  line-height: 1.7;
}

.payment-qrcode {
  width: 220px;
  height: 220px;
  object-fit: contain;
  margin: 18px auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.code-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.code-list code {
  display: block;
  padding: 10px;
  border-radius: 8px;
  background: white;
  color: var(--text);
  word-break: break-all;
}

@media (max-width: 980px) {
  .hero,
  .order-card,
  .final-cta {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 720px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    box-shadow: var(--shadow);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 13px 12px; }
  .section-pad { padding: 62px 0; }
  .hero { min-height: auto; padding-top: 42px; }
  .hero-actions,
  .final-actions {
    flex-direction: column;
  }
  .btn-xl { width: 100%; }
  .trust-strip,
  .plan-grid,
  .benefit-grid,
  .flow-grid {
    grid-template-columns: 1fr;
  }
  .trust-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .trust-strip div:last-child { border-bottom: 0; }
  .order-card,
  .final-cta { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
