:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-2: #eef3f7;
  --text: #101828;
  --muted: #667085;
  --line: #e4e7ec;
  --brand: #23ab4d;
  --brand-2: #17883c;
  --dark: #111827;
  --danger: #b42318;
  --radius: 24px;
  --shadow: 0 24px 70px rgba(16, 24, 40, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }

.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(20px);
  background: rgba(246, 248, 251, .82);
  border-bottom: 1px solid rgba(228, 231, 236, .8);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.logo { display: flex; align-items: center; gap: 12px; font-weight: 900; }
.logo-mark { width: 42px; height: 42px; border-radius: 14px; background: var(--dark); display: grid; place-items: center; color: #fff; }
.logo-mark span { width: 22px; height: 14px; border-radius: 4px; background: var(--brand); display: block; position: relative; }
.logo-mark span::after { content: ""; position: absolute; inset: 4px; background: #fff; border-radius: 2px; }
.logo-text { font-size: 20px; letter-spacing: -0.03em; }
.nav-links { display: flex; align-items: center; gap: 18px; color: var(--muted); font-size: 14px; }
.nav-links a.active, .nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.mobile-toggle { display: none; border: 0; background: var(--surface); border-radius: 14px; padding: 10px; box-shadow: 0 8px 22px rgba(16,24,40,.08); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 44px; padding: 0 18px;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 800; font-size: 14px; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 18px 34px rgba(35, 171, 77, .28); }
.btn-primary:hover { background: var(--brand-2); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-ghost { background: #fff; color: var(--text); border-color: var(--line); }
.btn-wide { width: 100%; }

.hero { padding: 78px 0 54px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 999px; background: radial-gradient(circle, rgba(35,171,77,.2), rgba(35,171,77,0)); top: -220px; right: -120px; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 38px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(35,171,77,.22); background: rgba(35,171,77,.08); color: #146c2e; padding: 8px 12px; border-radius: 999px; font-size: 13px; font-weight: 800; }
.hero h1, .page-hero h1 { font-size: clamp(42px, 7vw, 78px); line-height: .95; letter-spacing: -0.075em; margin: 20px 0; }
.hero p, .page-hero p { color: var(--muted); font-size: 19px; line-height: 1.65; max-width: 680px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 32px; }
.metric { background: rgba(255,255,255,.82); border: 1px solid var(--line); border-radius: 20px; padding: 16px; box-shadow: 0 12px 34px rgba(16,24,40,.05); }
.metric strong { display: block; font-size: 25px; letter-spacing: -0.04em; }
.metric span { color: var(--muted); font-size: 13px; }

.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.shot { margin: 0; background: #101828; border-radius: 28px; padding: 12px; box-shadow: var(--shadow); }
.shot img { width: 100%; height: auto; border-radius: 20px; border: 1px solid rgba(255,255,255,.08); background: #0b1220; }
.shot figcaption { margin-top: 10px; color: rgba(255,255,255,.78); font-size: 13px; font-weight: 800; }

.device-card { background: #101828; border-radius: 36px; padding: 18px; box-shadow: var(--shadow); transform: rotate(1.2deg); }
.device-screen { min-height: 520px; border-radius: 28px; background: linear-gradient(180deg, #ffffff, #eef4f0); padding: 24px; display: flex; flex-direction: column; justify-content: space-between; }
.status-row { display: flex; align-items: center; justify-content: space-between; color: #344054; font-size: 13px; font-weight: 800; }
.scan-box { background: var(--dark); color: #fff; border-radius: 24px; padding: 24px; margin: 28px 0 18px; }
.scan-code { height: 84px; border: 1px dashed rgba(255,255,255,.28); border-radius: 18px; display: grid; place-items: center; letter-spacing: .14em; font-weight: 900; }
.product-card { background: #fff; border-radius: 24px; padding: 22px; box-shadow: 0 16px 46px rgba(16,24,40,.08); }
.product-name { font-size: 26px; font-weight: 900; letter-spacing: -.04em; margin: 0 0 10px; }
.price { font-size: 58px; font-weight: 950; letter-spacing: -.07em; color: var(--brand-2); }
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.badge { display: inline-flex; align-items: center; border-radius: 999px; padding: 7px 10px; background: var(--surface-2); color: #344054; font-size: 12px; font-weight: 800; }
.badge.green { background: rgba(35,171,77,.1); color: #146c2e; }

.section { padding: 72px 0; }
.section-head { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 28px; }
.section-title { max-width: 760px; }
.section-title h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.02; letter-spacing: -0.06em; margin: 0 0 14px; }
.section-title p { color: var(--muted); font-size: 17px; line-height: 1.65; margin: 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 14px 38px rgba(16,24,40,.045); }
.card h3 { margin: 0 0 10px; font-size: 21px; letter-spacing: -0.035em; }
.card p { margin: 0; color: var(--muted); line-height: 1.62; }
.card-icon { width: 46px; height: 46px; border-radius: 16px; background: rgba(35,171,77,.1); color: var(--brand-2); display: grid; place-items: center; margin-bottom: 18px; font-size: 23px; }

.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: flow; }
.flow-step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 24px; min-height: 190px; }
.flow-step::before { counter-increment: flow; content: counter(flow); width: 36px; height: 36px; border-radius: 999px; background: var(--dark); color: #fff; display: grid; place-items: center; font-weight: 900; margin-bottom: 20px; }
.flow-step h3 { margin: 0 0 10px; }
.flow-step p { color: var(--muted); margin: 0; line-height: 1.55; }

.dark-band { background: #101828; color: #fff; border-radius: 36px; padding: 42px; overflow: hidden; position: relative; }
.dark-band::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 999px; background: radial-gradient(circle, rgba(35,171,77,.28), transparent 65%); right: -160px; top: -170px; }
.dark-band .section-title p, .dark-band p { color: rgba(255,255,255,.72); }
.dark-band .card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: #fff; box-shadow: none; }
.dark-band .card p { color: rgba(255,255,255,.68); }

.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 24px; }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td { text-align: left; padding: 18px; border-bottom: 1px solid var(--line); }
th { font-size: 13px; color: #475467; background: #f9fafb; }
td { color: #344054; }
tr:last-child td { border-bottom: 0; }

.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pricing-2 { grid-template-columns: repeat(2, 1fr); }
.pricing-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.price-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 28px; box-shadow: 0 14px 40px rgba(16,24,40,.05); }
.price-card.featured { border-color: rgba(35,171,77,.5); box-shadow: 0 30px 80px rgba(35,171,77,.16); }
.price-head { display: flex; justify-content: space-between; gap: 22px; align-items: flex-start; }
.currency { display: grid; gap: 6px; min-width: 160px; }
.currency label { font-size: 13px; font-weight: 850; color: #344054; }
.currency select { width: 100%; border: 1px solid var(--line); border-radius: 16px; padding: 11px 12px; background: #fff; outline: none; color: var(--text); }
.currency select:focus { border-color: rgba(35,171,77,.65); box-shadow: 0 0 0 4px rgba(35,171,77,.1); }
.hidden { display: none !important; }
.price-label { color: var(--brand-2); font-weight: 900; margin-bottom: 14px; }
.price-card h3 { margin: 0 0 8px; font-size: 26px; letter-spacing: -.04em; }
.price-value { font-size: 42px; font-weight: 950; letter-spacing: -.06em; margin: 22px 0; }
.price-value small { color: var(--muted); font-size: 14px; font-weight: 700; letter-spacing: 0; }
.rate-note { color: var(--muted); font-size: 13px; line-height: 1.5; margin-top: -10px; }
.check-list { display: grid; gap: 12px; padding: 0; margin: 20px 0 0; list-style: none; }
.check-list li { color: #344054; line-height: 1.45; display: flex; gap: 10px; }
.check-list li::before { content: "✓"; color: var(--brand-2); font-weight: 950; }

.page-hero { padding: 64px 0 38px; }
.page-hero h1 { max-width: 840px; }
.breadcrumbs { color: var(--muted); font-size: 14px; display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.docs-list { display: grid; gap: 14px; }
.doc-item { display: flex; justify-content: space-between; gap: 22px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 20px; }
.doc-item h3 { margin: 0 0 8px; }
.doc-item p { margin: 0; color: var(--muted); line-height: 1.55; }
.doc-tag { white-space: nowrap; color: var(--brand-2); font-weight: 900; font-size: 13px; }

.form { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 28px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 850; color: #344054; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line); border-radius: 16px; padding: 13px 14px; background: #fff; outline: none; color: var(--text); }
.field textarea { min-height: 118px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: rgba(35,171,77,.65); box-shadow: 0 0 0 4px rgba(35,171,77,.1); }
.form-note { color: var(--muted); font-size: 13px; line-height: 1.5; margin-top: 12px; }
.alert { display: none; margin-top: 14px; padding: 14px; border-radius: 16px; background: rgba(35,171,77,.1); color: #146c2e; font-weight: 800; }
.alert.show { display: block; }

.footer { padding: 42px 0; border-top: 1px solid var(--line); background: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 30px; }
.footer h4 { margin: 0 0 12px; }
.footer a, .footer p { color: var(--muted); margin: 0 0 10px; line-height: 1.55; display: block; }
.footer-muted { color: var(--muted); display: block; line-height: 1.55; margin: 0 0 10px; }
.footer-muted a { display: inline; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; color: var(--muted); margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; }

@media (max-width: 960px) {
  .hero-grid, .grid-2, .footer-grid { grid-template-columns: 1fr; }
  .shots { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .pricing { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; position: absolute; left: 16px; right: 16px; top: 76px; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 18px; box-shadow: var(--shadow); flex-direction: column; align-items: flex-start; }
  .nav-links.open { display: flex; }
  .mobile-toggle { display: inline-flex; }
  .device-card { transform: none; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 24px, 1180px); }
  .hero { padding: 46px 0 34px; }
  .section { padding: 46px 0; }
  .hero-metrics, .grid-3, .pricing, .flow, .form-grid { grid-template-columns: 1fr; }
  .shots { grid-template-columns: 1fr; }
  .hero h1, .page-hero h1 { font-size: 42px; }
  .section-head { display: block; }
  .dark-band { padding: 26px; border-radius: 26px; }
  .nav-actions .btn { display: none; }
  .device-screen { min-height: 430px; }
  .price { font-size: 46px; }
  .price-head { flex-direction: column; }
  .currency { width: 100%; }
  .pricing-head { flex-direction: column; align-items: stretch; }
  .doc-item { display: block; }
  .doc-tag { display: inline-flex; margin-top: 12px; }
}
