*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #0b1f3a;
  --navy2:      #112952;
  --navy3:      #1a3a6b;
  --gold:       #c9a84c;
  --gold-light: #e8c97a;
  --gold-faint: rgba(201,168,76,.10);
  --blue:       #2563eb;
  --blue-l:     rgba(37,99,235,.08);
  --green:      #16a34a;
  --green-l:    rgba(22,163,74,.07);
  --green-b:    rgba(22,163,74,.22);
  --orange:     #ea580c;
  --orange-l:   rgba(234,88,12,.07);
  --orange-b:   rgba(234,88,12,.22);
  --red:        #dc2626;
  --red-l:      rgba(220,38,38,.07);
  --red-b:      rgba(220,38,38,.22);
  --bg:         #f3f5f9;
  --surface:    #ffffff;
  --surface2:   #eef1f7;
  --border:     rgba(11,31,58,.09);
  --border2:    rgba(11,31,58,.14);
  --text:       #0b1f3a;
  --text-sub:   #3d5275;
  --text-muted: #6b7fa3;
  --radius:     12px;
  --radius-lg:  20px;
  --font:       'Outfit', sans-serif;
  --display:    'Cormorant Garamond', serif;
  --mono:       'DM Mono', monospace;
  --ease:       cubic-bezier(0.16,1,0.3,1);
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--text); }

/* ── Shared ─────────────────────────────────────────── */
.section-inner { max-width: 960px; margin: 0 auto; padding: 0 40px; }
.grid-2        { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.eyebrow       { font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.section-title { font-family: var(--display); font-size: clamp(24px,3.5vw,34px); font-weight: 700; color: var(--navy); line-height: 1.2; margin-bottom: 14px; }
.section-body  { font-size: 14.5px; line-height: 1.75; color: var(--text-sub); }
code           { font-family: var(--mono); font-size: 11.5px; background: var(--surface2); border: 1px solid var(--border); border-radius: 4px; padding: 1px 5px; color: var(--navy3); }

/* ── Navbar ─────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(11,31,58,.97); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,76,.18);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 40px; height: 66px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-brand  { display: flex; align-items: center; gap: 12px; }
.nav-seal   { width: 40px; height: 40px; flex-shrink: 0; }
.nav-uni    { display: block; font-family: var(--display); font-size: 15px; font-weight: 600; color: #fff; }
.nav-sub    { display: block; font-size: 10.5px; color: rgba(255,255,255,.4); letter-spacing: .07em; text-transform: uppercase; margin-top: 1px; }

/* Language switcher */
.lang-switcher { display: flex; align-items: center; gap: 6px; }
.lang-btn {
  background: none; border: none; cursor: pointer;
  font-family: var(--font); font-size: 12px; font-weight: 700;
  color: rgba(255,255,255,.4); padding: 4px 6px; border-radius: 6px;
  transition: color .2s, background .2s; letter-spacing: .06em;
}
.lang-btn:hover  { color: rgba(255,255,255,.8); }
.lang-btn.active { color: var(--gold-light); background: rgba(201,168,76,.1); }
.lang-sep        { color: rgba(255,255,255,.2); font-size: 12px; user-select: none; }

/* ── About ──────────────────────────────────────────── */
.about-section { background: var(--surface); padding: 130px 0 96px; border-bottom: 1px solid var(--border); }

.feat-list { margin-top: 24px; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.feat-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: var(--text-sub); line-height: 1.55; }
.feat-list li strong { color: var(--navy); }

.feat-icon { width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.feat-icon svg   { width: 15px; height: 15px; }
.feat-icon.gold  { background: var(--gold-faint); color: var(--gold);  border: 1px solid rgba(201,168,76,.2); }
.feat-icon.blue  { background: var(--blue-l);     color: var(--blue);  border: 1px solid rgba(37,99,235,.15); }
.feat-icon.green { background: var(--green-l);    color: var(--green); border: 1px solid rgba(22,163,74,.2); }

.about-cards { display: flex; flex-direction: column; gap: 16px; }
.acard { border-radius: var(--radius-lg); padding: 26px; }
.acard.navy  { background: var(--navy); }
.acard.light { background: var(--bg); border: 1px solid var(--border); }

.acard-icon { width: 40px; height: 40px; border-radius: 11px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.acard-icon svg { width: 19px; height: 19px; }
.acard.navy  .acard-icon { background: rgba(201,168,76,.12); color: var(--gold); }
.acard.light .acard-icon { background: var(--blue-l); color: var(--blue); border: 1px solid rgba(37,99,235,.15); }

.acard-title { font-size: 14px; font-weight: 700; margin-bottom: 7px; }
.acard.navy  .acard-title { color: #fff; }
.acard.light .acard-title { color: var(--navy); }
.acard-desc  { font-size: 13px; line-height: 1.6; }
.acard.navy  .acard-desc  { color: rgba(255,255,255,.55); }
.acard.light .acard-desc  { color: var(--text-sub); }

/* ── Verify section ─────────────────────────────────── */
.verify-section { background: var(--bg); padding: 96px 0; position: relative; }
.vs-bg {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(37,99,235,.05) 0%, transparent 70%);
}
.vs-header { text-align: center; margin-bottom: 48px; }
.vs-header .section-body { max-width: 520px; margin: 0 auto; }

.vcard {
  background: var(--surface); border: 1px solid var(--border2);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 8px 48px rgba(11,31,58,.08);
  max-width: 680px; margin: 0 auto;
}
.vcard-top { background: var(--navy); padding: 22px 28px; display: flex; align-items: center; justify-content: space-between; }
.vcard-top-left { display: flex; align-items: center; gap: 14px; }
.verif-logo-mark { width: 38px; height: 38px; flex-shrink: 0; }
.vcard-name { font-size: 14px; font-weight: 700; color: #fff; }
.vcard-sub  { font-size: 11px; color: rgba(255,255,255,.4); margin-top: 2px; }
.vcard-secured {
  display: flex; align-items: center; gap: 5px;
  background: rgba(22,163,74,.15); border: 1px solid rgba(22,163,74,.25);
  border-radius: 999px; padding: 4px 10px;
  font-size: 11px; font-weight: 600; color: #4ade80;
}

.vcard-body { padding: 28px; }
.input-label { display: block; font-size: 11px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 10px; }
.input-row   { display: flex; gap: 10px; align-items: stretch; }

.url-input {
  flex: 1; background: var(--surface2); border: 1.5px solid var(--border2);
  border-radius: var(--radius); padding: 13px 16px;
  font-family: var(--mono); font-size: 12.5px; color: var(--text);
  outline: none; min-width: 0; transition: border-color .2s, box-shadow .2s;
}
.url-input::placeholder { color: var(--text-muted); }
.url-input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,.10); }

.verify-btn {
  background: var(--navy); color: #fff; border: none;
  border-radius: var(--radius); padding: 13px 22px;
  font-family: var(--font); font-size: 14px; font-weight: 700;
  cursor: pointer; display: flex; align-items: center; gap: 8px; white-space: nowrap;
  transition: background .2s, transform .15s, box-shadow .2s;
}
.verify-btn:hover:not(:disabled)  { background: var(--navy2); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(11,31,58,.2); }
.verify-btn:active:not(:disabled) { transform: translateY(0); }
.verify-btn:disabled { opacity: .5; cursor: not-allowed; }

.input-hint { display: flex; align-items: flex-start; gap: 7px; margin-top: 11px; font-size: 12.5px; color: var(--text-muted); line-height: 1.55; }
.input-hint svg { flex-shrink: 0; margin-top: 1px; }
.input-hint strong { color: var(--navy3); }

.vcard-footer {
  padding: 13px 28px; border-top: 1px solid var(--border); background: var(--surface2);
  display: flex; align-items: center; justify-content: space-between;
}
.vcard-powered { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-muted); }
.vcard-powered svg { color: var(--blue); }
.vcard-powered a { color: var(--blue); text-decoration: none; font-weight: 600; }
.vcard-powered a:hover { text-decoration: underline; }
.vcard-onchain { display: flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; color: var(--green); }

.checks-bar  { max-width: 680px; margin: 20px auto 0; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.checks-label { font-size: 11.5px; font-weight: 600; color: var(--text-muted); white-space: nowrap; }
.checks      { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.check-item  { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--text-muted); }
.ci-dot      { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

/* ── How it works ───────────────────────────────────── */
.how-section  { background: var(--surface); padding: 96px 0; border-top: 1px solid var(--border); }
.how-header   { text-align: center; margin-bottom: 60px; }
.how-header .section-body { max-width: 500px; margin: 0 auto; }

.how-steps { display: flex; align-items: flex-start; justify-content: center; flex-wrap: wrap; gap: 4px; }
.how-step  {
  flex: 1; min-width: 140px; max-width: 160px; text-align: center; padding: 28px 16px;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg);
  transition: transform .2s, box-shadow .2s;
}
.how-step:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(11,31,58,.08); }

.hs-num  { font-family: var(--display); font-size: 36px; font-weight: 700; color: rgba(11,31,58,.07); line-height: 1; margin-bottom: 12px; }
.hs-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.hs-icon svg { width: 20px; height: 20px; }
.hs-icon.gold  { background: var(--gold-faint); color: var(--gold);  border: 1px solid rgba(201,168,76,.2); }
.hs-icon.navy  { background: rgba(11,31,58,.07); color: var(--navy); border: 1px solid rgba(11,31,58,.12); }
.hs-icon.blue  { background: var(--blue-l);      color: var(--blue); border: 1px solid rgba(37,99,235,.15); }
.hs-icon.green { background: var(--green-l);     color: var(--green); border: 1px solid rgba(22,163,74,.18); }
.hs-title { font-size: 13.5px; font-weight: 700; color: var(--navy); margin-bottom: 7px; }
.hs-desc  { font-size: 12px; color: var(--text-muted); line-height: 1.55; }
.how-arrow { font-size: 20px; color: var(--border2); align-self: center; padding: 0 4px; margin-top: -20px; }

/* ── Footer ─────────────────────────────────────────── */
.footer { background: var(--navy); padding: 44px 0; }
.footer-inner { max-width: 960px; margin: 0 auto; padding: 0 40px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-left  { display: flex; align-items: flex-start; gap: 16px; }
.footer-uni   { font-family: var(--display); font-size: 16px; font-weight: 600; color: rgba(255,255,255,.85); }
.footer-copy  { font-size: 12px; color: rgba(255,255,255,.3); margin-top: 3px; }
.footer-legal { font-size: 11.5px; color: rgba(255,255,255,.25); margin-top: 6px; max-width: 400px; line-height: 1.5; }
.footer-verif { display: flex; align-items: center; gap: 12px; background: rgba(37,99,235,.12); border: 1px solid rgba(37,99,235,.22); border-radius: var(--radius); padding: 14px 18px; }
.footer-verif-icon { width: 36px; height: 36px; border-radius: 10px; background: rgba(37,99,235,.2); display: flex; align-items: center; justify-content: center; }
.footer-verif-icon svg { width: 17px; height: 17px; color: #93c5fd; }
.footer-verif-label { font-size: 10px; color: rgba(255,255,255,.35); letter-spacing: .07em; text-transform: uppercase; }
.footer-verif-name  { font-size: 14px; font-weight: 700; color: #93c5fd; text-decoration: none; display: block; margin-top: 2px; }
.footer-verif-name:hover { text-decoration: underline; }

/* ── Modal ──────────────────────────────────────────── */
.verif-overlay {
  position: fixed; inset: 0; background: rgba(11,31,58,.78); backdrop-filter: blur(8px);
  z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 16px;
  opacity: 0; pointer-events: none; transition: opacity .25s;
}
.verif-overlay.open { opacity: 1; pointer-events: all; }

.verif-modal {
  background: var(--surface); border: 1px solid var(--border2); border-radius: var(--radius-lg);
  width: 100%; max-width: 440px; overflow: hidden;
  box-shadow: 0 32px 80px rgba(11,31,58,.3);
  transform: translateY(20px) scale(.97); transition: transform .35s var(--ease);
}
.verif-overlay.open .verif-modal { transform: translateY(0) scale(1); }

.modal-hdr { background: var(--navy); display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid rgba(255,255,255,.07); }
.modal-hdr-icon { width: 36px; height: 36px; border-radius: 10px; background: rgba(201,168,76,.13); border: 1px solid rgba(201,168,76,.22); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.modal-hdr-icon svg { width: 17px; height: 17px; color: var(--gold-light); }
.modal-title { font-size: 14px; font-weight: 700; color: #fff; }
.modal-sub   { font-size: 11.5px; color: rgba(255,255,255,.4); margin-top: 1px; }
.modal-x { margin-left: auto; width: 28px; height: 28px; border-radius: 7px; background: transparent; border: none; color: rgba(255,255,255,.4); cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 16px; transition: background .15s, color .15s; }
.modal-x:hover { background: rgba(255,255,255,.1); color: #fff; }

.prog-track { height: 3px; background: var(--border); overflow: hidden; }
.prog-fill  { height: 100%; background: var(--blue); transition: width .6s var(--ease); position: relative; }
.prog-fill::after { content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 60px; background: linear-gradient(90deg,transparent,rgba(255,255,255,.35)); }
.prog-fill.fail    { background: var(--red); }
.prog-fill.network { background: var(--orange); }

.steps-body { padding: 14px 16px; }

.step-row { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border-radius: var(--radius); border: 1px solid transparent; transition: background .3s, border-color .3s; }
.step-row.running { background: rgba(37,99,235,.05); border-color: rgba(37,99,235,.14); }
.step-row.done    { background: var(--green-l); border-color: var(--green-b); }
.step-row.failed  { background: var(--red-l);   border-color: var(--red-b); }
.step-row.network-err { background: var(--orange-l); border-color: var(--orange-b); }

.step-connector { margin-left: 22px; width: 2px; height: 10px; background: var(--border2); transition: background .4s; }
.step-connector.done { background: rgba(22,163,74,.3); }

.step-icon-wrap { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--border2); background: var(--bg); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: border-color .3s, background .3s; }
.step-row.running .step-icon-wrap { border-color: var(--blue);   background: var(--blue-l); }
.step-row.done    .step-icon-wrap { border-color: var(--green);  background: var(--green-l); }
.step-row.failed  .step-icon-wrap { border-color: var(--red);    background: var(--red-l); }
.step-row.network-err .step-icon-wrap { border-color: var(--orange); background: var(--orange-l); }
.step-icon-wrap svg { width: 14px; height: 14px; }
.step-row.running .step-icon-wrap svg { color: var(--blue); }
.step-row.done    .step-icon-wrap svg { color: var(--green); }
.step-row.failed  .step-icon-wrap svg { color: var(--red); }
.step-row.network-err .step-icon-wrap svg { color: var(--orange); }
.step-row.pending .step-icon-wrap svg { color: var(--text-muted); }

.step-info   { flex: 1; min-width: 0; padding-top: 2px; }
.step-label  { font-size: 12.5px; font-weight: 600; color: var(--text-muted); transition: color .3s; }
.step-row.running .step-label { color: var(--blue); }
.step-row.done    .step-label { color: var(--green); }
.step-row.failed  .step-label { color: var(--red); }
.step-row.network-err .step-label  { color: var(--orange); }
.step-detail { font-size: 11px; color: var(--text-muted); margin-top: 2px; line-height: 1.4; }
.step-row.failed      .step-detail { color: rgba(220,38,38,.75); }
.step-row.network-err .step-detail { color: rgba(234,88,12,.75); }

.step-status { flex-shrink: 0; padding-top: 2px; }
.step-num { font-size: 10px; font-weight: 700; padding: 2px 5px; border-radius: 999px; background: var(--surface2); color: var(--text-muted); }

.modal-ftr { padding: 14px 20px; border-top: 1px solid var(--border); display: flex; align-items: center; gap: 10px; }
.modal-ftr.valid   { background: var(--green-l); }
.modal-ftr.invalid { background: var(--red-l); }
.modal-ftr.network { background: var(--orange-l); border-top-color: var(--orange-b); }
.ftr-icon svg { width: 18px; height: 18px; flex-shrink: 0; }
.ftr-icon.valid   svg { color: var(--green); }
.ftr-icon.invalid svg { color: var(--red); }
.ftr-icon.network svg { color: var(--orange); }
.ftr-msg { flex: 1; font-size: 13px; font-weight: 700; }
.ftr-msg.valid   { color: var(--green); }
.ftr-msg.invalid { color: var(--red); }
.ftr-msg.network { color: var(--orange); }
.ftr-btn { background: var(--navy); color: #fff; border: none; border-radius: var(--radius); padding: 9px 18px; font-family: var(--font); font-size: 12.5px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background .2s; }
.ftr-btn:hover { background: var(--navy2); }
.ftr-retry {
  display: none; align-items: center; gap: 6px;
  background: var(--orange); color: #fff; border: none;
  border-radius: var(--radius); padding: 9px 16px;
  font-family: var(--font); font-size: 12.5px; font-weight: 600;
  cursor: pointer; white-space: nowrap; transition: background .2s;
}
.ftr-retry:hover { background: #c2410c; }

/* ── Spinner ─────────────────────────────────────────── */
@keyframes spin { to { transform: rotate(360deg); } }
.loader { display: inline-block; width: 14px; height: 14px; border: 2px solid currentColor; border-top-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; flex-shrink: 0; }

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 820px) {
  .nav-inner    { padding: 0 20px; }
  .section-inner{ padding: 0 20px; }
  .about-section{ padding: 110px 0 64px; }
  .grid-2       { grid-template-columns: 1fr; gap: 40px; }
  .verify-section, .how-section { padding: 64px 0; }
  .vcard-top    { padding: 18px 20px; }
  .vcard-body   { padding: 20px; }
  .vcard-footer { padding: 12px 20px; flex-direction: column; align-items: flex-start; gap: 6px; }
  .input-row    { flex-direction: column; }
  .how-steps    { gap: 8px; }
  .how-step     { min-width: 130px; }
  .how-arrow    { display: none; }
  .footer       { padding: 40px 0; }
  .footer-inner { padding: 0 20px; flex-direction: column; }
}