:root {
  --ink: #0d1b33;
  --ink-soft: #4c5a70;
  --paper: #f6f9fc;
  --card: #ffffff;
  --line: #e1e8f2;
  --brand: #2f7dff;
  --brand-dark: #0a1428;
  --brand-tint: #eaf2ff;
  --ok: #059669;
  --radius: 14px;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  color: var(--ink);
}

.brand .mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

.brand-mark {
  height: 100px;
  width: auto;
  display: block;
}

.navlinks {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navlinks a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 14.5px;
  font-weight: 500;
  transition: color .15s;
}

.navlinks a:hover, .navlinks a.active { color: var(--ink); }

.navcta {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s, box-shadow .12s, background .15s;
}

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

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 1px 2px rgba(79,70,229,.25), 0 8px 20px -8px rgba(79,70,229,.55);
}
.btn-primary:hover { background: var(--brand-dark); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: #cbd5e1; background: #fff; }

.btn-lg { padding: 14px 26px; font-size: 15.5px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ---------- Hero ---------- */
.hero {
  padding: 96px 0 72px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -180px;
  right: -160px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(47,125,255,.16), transparent 70%);
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-tint);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 22px;
}

h1 {
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  max-width: 780px;
}

.sub {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 0 34px;
}

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

.hero-shot {
  margin-top: 64px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, #eef1ff, #f8fafc);
  padding: 3px;
  box-shadow: 0 30px 60px -30px rgba(15,23,42,.25);
}

.hero-shot-inner {
  border-radius: 15px;
  background: var(--card);
  padding: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.idcard-stack {
  position: relative;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.idcard {
  position: absolute;
  width: 240px;
  aspect-ratio: 1.58/1;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 20px 40px -20px rgba(15,23,42,.35);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.idcard-back {
  transform: rotate(-9deg) translate(-64px, 6px);
  opacity: .55;
}

.idcard-mid {
  transform: rotate(6deg) translate(58px, -8px);
  opacity: .8;
}

.idcard-front {
  transform: rotate(-2deg);
  z-index: 2;
  padding: 14px 16px 16px;
}

.idcard-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.idcard-org {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--brand-dark);
}

.idcard-type {
  font-size: 9.5px;
  font-weight: 600;
  color: #fff;
  background: var(--brand);
  padding: 3px 8px;
  border-radius: 999px;
}

.idcard-photo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  flex-shrink: 0;
}

.idcard-back .idcard-photo,
.idcard-mid .idcard-photo {
  margin-bottom: auto;
}

.idcard-lines {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.idcard-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
}

.idcard-role {
  font-size: 11.5px;
  color: var(--ink-soft);
}

.idcard-barcode {
  margin-top: auto;
  height: 18px;
  border-radius: 3px;
  background: repeating-linear-gradient(
    90deg,
    var(--ink) 0px, var(--ink) 2px,
    transparent 2px, transparent 4px,
    var(--ink) 4px, var(--ink) 5px,
    transparent 5px, transparent 8px,
    var(--ink) 8px, var(--ink) 9px,
    transparent 9px, transparent 13px
  );
  opacity: .85;
}

@media (max-width: 860px) {
  .idcard-stack { height: 260px; }
  .idcard { width: 190px; }
  .idcard-back { transform: rotate(-9deg) translate(-46px, 4px); }
  .idcard-mid { transform: rotate(6deg) translate(42px, -6px); }
}

/* ---------- Sections ---------- */
section { padding: 88px 0; }
.section-tight { padding: 56px 0; }

.section-head { max-width: 620px; margin-bottom: 52px; }
.section-head h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  letter-spacing: -0.015em;
  margin: 0 0 14px;
}
.section-head p { color: var(--ink-soft); font-size: 16.5px; margin: 0; }

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

.feat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.feat .icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--brand-tint);
  color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  font-size: 19px;
  margin-bottom: 18px;
}

.feat h3 { font-size: 16.5px; margin: 0 0 8px; }
.feat p { font-size: 14.5px; color: var(--ink-soft); margin: 0; }

/* ---------- Pricing ---------- */
.price-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 44px;
  max-width: 440px;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 30px 60px -35px rgba(15,23,42,.25);
}

.price-card .amount {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 14px 0 4px;
}
.price-card .amount span { font-size: 17px; font-weight: 600; color: var(--ink-soft); }

.price-list {
  list-style: none;
  margin: 30px 0 34px;
  padding: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.price-list li {
  display: flex;
  gap: 10px;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.price-list li::before {
  content: '✓';
  color: var(--ok);
  font-weight: 700;
}

/* ---------- Product showcase ---------- */
.product-showcase {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 56px;
}
.product-showcase-copy h3 {
  font-size: 24px;
  margin: 0 0 14px;
}
.product-more-card {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.product-more-card h3 { font-size: 17px; margin: 0 0 8px; }
.product-more-card p { margin: 0; font-size: 14.5px; }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.step .num {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 10px;
}
.step h3 { font-size: 16.5px; margin: 0 0 8px; }
.step p { font-size: 14.5px; color: var(--ink-soft); margin: 0; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  max-width: 460px;
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 7px;
}
.field input, .field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 14.5px;
  font-family: inherit;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-tint);
}

.msg {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 9px;
  font-size: 13.5px;
}
.msg-error { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; }
.msg-ok { background: #ecfdf5; border: 1px solid #a7f3d0; color: #047857; }

/* ---------- FAQ ---------- */
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.faq-item h3 { font-size: 15.5px; margin: 0 0 8px; }
.faq-item p { font-size: 14.5px; color: var(--ink-soft); margin: 0; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--line);
  padding: 44px 0;
  margin-top: 40px;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0; margin: 0;
}
.footer-links a { text-decoration: none; color: var(--ink-soft); font-size: 13.5px; }
.footer-links a:hover { color: var(--ink); }
.footer-note { font-size: 13px; color: #94a3b8; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .navlinks { display: none; }
  .grid-3, .steps { grid-template-columns: 1fr; }
  .hero-shot-inner { grid-template-columns: 1fr; padding: 24px; }
  .product-showcase { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
}