/* ===========================================================
   Trust Card — professional white & blue theme
   Brand tokens up top so rebranding is a one-stop edit.
   =========================================================== */
:root {
  --blue:        #2563eb;   /* primary */
  --blue-700:    #1d4ed8;
  --blue-800:    #1e40af;
  --navy:        #0f2557;
  --sky:         #0ea5e9;
  --blue-50:     #eff5ff;
  --blue-100:    #dbe7ff;

  --bg:          #ffffff;
  --bg-alt:      #eaf1ff;   /* soft blue-tinted section */
  --surface:     #ffffff;
  --border:      #e3e9f4;
  --border-2:    #d4ddee;

  --text:        #0f1b34;   /* near-navy ink */
  --text-soft:   #3a4a66;
  --text-muted:  #6b7894;
  --danger:      #e11d48;
  --success:     #0a9e6e;

  --radius:      18px;
  --radius-sm:   12px;
  --shadow-sm:   0 2px 10px rgba(15, 27, 52, 0.06);
  --shadow:      0 18px 50px -20px rgba(37, 99, 235, 0.28);
  --shadow-card: 0 30px 60px -24px rgba(15, 37, 87, 0.45);
  --maxw:        1140px;
  --gradient:    linear-gradient(120deg, var(--blue) 0%, var(--sky) 100%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background:
    linear-gradient(rgba(37, 99, 235, 0.04) 1px, transparent 1px) 0 0 / 46px 46px,
    linear-gradient(90deg, rgba(37, 99, 235, 0.04) 1px, transparent 1px) 0 0 / 46px 46px,
    radial-gradient(1100px 620px at 88% -8%, rgba(14, 165, 233, 0.12), transparent 70%),
    radial-gradient(950px 600px at -8% 3%, rgba(37, 99, 235, 0.12), transparent 70%),
    linear-gradient(180deg, #eaf2ff 0%, #ffffff 36%, #eef4ff 100%);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
a { color: inherit; text-decoration: none; }
svg { display: block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 0.95rem;
  padding: 12px 22px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--gradient); color: #fff; box-shadow: 0 10px 26px -10px rgba(37, 99, 235, 0.65); }
.btn-primary:hover { box-shadow: 0 16px 36px -12px rgba(37, 99, 235, 0.8); }
.btn-ghost { background: #fff; color: var(--text); border-color: var(--border-2); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-outline { background: #fff; color: var(--blue); border-color: var(--blue-100); }
.btn-outline:hover { background: var(--blue-50); border-color: var(--blue); }
.btn-white { background: #fff; color: var(--blue); box-shadow: 0 14px 36px -14px rgba(0,0,0,0.3); }
.btn-lg { padding: 15px 30px; font-size: 1rem; }
.btn-block { width: 100%; }

.eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue);
  margin-bottom: 14px;
}
.grad-text {
  background: var(--gradient);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Promo bar ---------- */
.promo-bar { background: linear-gradient(90deg, #1d4ed8, #2563eb 45%, #0ea5e9); color: #fff; }
.promo-inner { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 9px 24px; flex-wrap: wrap; text-align: center; font-size: 0.9rem; }
.promo-icon { display: inline-flex; color: #ffe1a0; }
.promo-icon svg { width: 18px; height: 18px; }
.promo-text strong { color: #ffe1a0; font-weight: 800; }
.promo-cta { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.promo-cta:hover { color: #ffe1a0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.brand-logo { width: 34px; height: 34px; }
.brand-name { font-size: 1.12rem; letter-spacing: -0.02em; color: var(--text); display: inline-flex; align-items: center; gap: 6px; }
.brand-name .bn-wallet { color: var(--blue); }
.brand-name .bn-card { color: #fff; background: var(--gradient); padding: 2px 8px; border-radius: 7px; }

.nav { display: flex; gap: 30px; }
.nav a { color: var(--text-soft); font-weight: 500; font-size: 0.95rem; transition: color 0.2s; }
.nav a:hover { color: var(--blue); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.25s; }

.mobile-nav { display: none; flex-direction: column; gap: 4px; padding: 12px 24px 22px; border-bottom: 1px solid var(--border); background: #fff; }
.mobile-nav a { padding: 13px 4px; color: var(--text-soft); border-bottom: 1px solid var(--border); }
.mobile-nav a.btn { margin-top: 12px; color: #fff; border-bottom: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 90px 0 96px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(700px 400px at 88% -8%, rgba(14, 165, 233, 0.24), transparent 70%),
    radial-gradient(660px 420px at 4% 6%, rgba(37, 99, 235, 0.20), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 54px; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue-50); color: var(--blue-700);
  border: 1px solid var(--blue-100);
  font-size: 0.82rem; font-weight: 600; padding: 7px 14px; border-radius: 999px;
  margin-bottom: 22px;
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(10,158,110,0.18); }
.hero h1 { font-size: clamp(2.5rem, 5vw, 3.7rem); line-height: 1.04; letter-spacing: -0.03em; font-weight: 800; color: var(--text); }
.lead { color: var(--text-soft); font-size: 1.13rem; margin: 22px 0 30px; max-width: 530px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 38px; list-style: none; margin-top: 40px; flex-wrap: wrap; }
.hero-trust li { display: flex; flex-direction: column; }
.hero-trust strong { font-size: 1.7rem; color: var(--text); font-weight: 800; line-height: 1.1; }
.hero-trust span { color: var(--text-muted); font-size: 0.92rem; }

/* Card visual — gold titanium, animated 3D */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; perspective: 1400px; }
.card-stage { position: relative; transform-style: preserve-3d; }
.card-3d { position: relative; }
.card-face {
  width: 380px; max-width: 82vw; aspect-ratio: 1.586 / 1; border-radius: 20px; padding: 26px;
  --mx: 32%; --my: 22%;
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.28), transparent 22%),
    linear-gradient(135deg,
      #f5e2a3 0%, #e5c56c 18%, #c99f46 42%, #d3a759 60%, #f0d589 84%, #f7e1a7 100%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    inset 0 0 34px rgba(137, 83, 16, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -2px 12px rgba(137, 83, 16, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    0 20px 70px -30px rgba(35, 25, 10, 0.45);
  display: flex; flex-direction: column; justify-content: space-between; gap: 12px;
  position: relative; overflow: hidden; color: #231900;
  transform-style: preserve-3d;
}
.card-face::before {
  content: "";
  position: absolute; top: 8%; right: -20%; width: 210px; height: 110px;
  background: radial-gradient(circle at 15% 50%, rgba(255, 255, 255, 0.72), transparent 60%);
  transform: rotate(16deg);
  opacity: 0.52;
  pointer-events: none;
}
/* Brushed-metal lines + soft polish */
/* Fine brushed-metal grain (subtle — the etched pattern leads) */
.card-texture {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.20; mix-blend-mode: soft-light;
  background: repeating-linear-gradient(118deg, rgba(255, 255, 255, 0.12) 0 1px, rgba(140, 102, 46, 0.08) 1px 2px, transparent 2px 5px);
}
/* Etched geometric guilloché — engraved dark grooves + highlight edges */
.card-pattern {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.32; mix-blend-mode: overlay;
  background-image:
    repeating-linear-gradient(28deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 18px),
    repeating-linear-gradient(148deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 20px),
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.14), transparent 25%);
  -webkit-mask-image: radial-gradient(155% 135% at 16% 10%, #000 32%, rgba(0, 0, 0, 0.45) 68%, rgba(0, 0, 0, 0.18) 100%);
  mask-image: radial-gradient(155% 135% at 16% 10%, #000 32%, rgba(0, 0, 0, 0.45) 68%, rgba(0, 0, 0, 0.18) 100%);
}
.card-edge {
  position: absolute; inset: 0; border-radius: 20px; padding: 1px; pointer-events: none; opacity: 0.96;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.55), rgba(180, 138, 55, 0.28) 42%, rgba(255, 255, 255, 0.14));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.card-top { display: flex; justify-content: space-between; align-items: center; position: relative; }
.card-brand {
  font-family: 'Orbitron', 'Inter', sans-serif;
  font-weight: 800; letter-spacing: 0.04em; font-size: 1.02rem;
  background: linear-gradient(135deg, #fff9d1, #d4aa5f 48%, #8d6b2d);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 1px 2px rgba(30, 20, 6, 0.32));
}
.card-tier {
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: #231900; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 999px; padding: 4px 10px;
  background: rgba(255, 255, 255, 0.12);
}
.card-mid { display: flex; align-items: center; gap: 14px; position: relative; }
/* Realistic EMV chip: brushed silver pad with contact divisions */
.card-chip {
  width: 46px; height: 36px; border-radius: 6px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #fbfbfc 0%, #d2d6dd 36%, #9aa0aa 64%, #c6cbd3 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6), inset 0 -2px 5px rgba(0, 0, 0, 0.3), 0 1px 1px rgba(70, 48, 6, 0.35);
}
.card-chip::before {
  content: ""; position: absolute; inset: 0; opacity: 0.55;
  background:
    linear-gradient(#6e747e, #6e747e) 0 34% / 100% 1.4px no-repeat,
    linear-gradient(#6e747e, #6e747e) 0 66% / 100% 1.4px no-repeat,
    linear-gradient(#6e747e, #6e747e) 30% 0 / 1.4px 100% no-repeat,
    linear-gradient(#6e747e, #6e747e) 70% 0 / 1.4px 100% no-repeat;
}
.card-chip::after {
  content: ""; position: absolute; left: 30%; right: 30%; top: 34%; bottom: 34%;
  border: 1.4px solid #6e747e; border-radius: 3px; opacity: 0.55;
}
.card-wave { width: 22px; height: 22px; color: #f0f1f4; opacity: 0.9; filter: drop-shadow(0 1px 1px rgba(70, 50, 10, 0.4)); }
.card-number {
  font-size: 1.32rem; letter-spacing: 0.08em; font-weight: 700; position: relative;
  color: rgba(34, 20, 7, 0.92);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}
.card-bottom { display: flex; justify-content: space-between; align-items: flex-end; position: relative; }
.card-label { display: block; font-size: 0.58rem; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(34, 20, 7, 0.72); opacity: 0.95; text-shadow: 0 0 0 rgba(255, 255, 255, 0); }
.card-value { font-size: 0.85rem; font-weight: 600; color: rgba(18, 11, 3, 0.92); text-shadow: 0 0 0 rgba(255, 255, 255, 0); }
.card-visa { width: 52px; height: auto; color: rgba(34, 20, 7, 0.92); filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.18)); }

/* Pricing-section card reuses the exact hero card design, sized to its container */
.card-face-sm { width: 100%; max-width: 100%; margin: 0 0 24px; }

@keyframes cardShine {
  0%   { transform: translateX(-160%) rotate(18deg); opacity: 0; }
  16%  { opacity: 1; }
  55%  { opacity: 0.25; }
  100% { transform: translateX(360%) rotate(18deg); opacity: 0; }
}

/* ---------- Payment strip ---------- */
.strip { padding: 34px 0 40px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-alt); }
.strip-label { text-align: center; color: var(--text-muted); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.03em; margin-bottom: 22px; }
.logo-row { display: flex; align-items: center; justify-content: center; gap: 46px; flex-wrap: wrap; }
.pay-logo { height: 30px; width: auto; opacity: 0.92; transition: opacity 0.2s, transform 0.2s; }
.pay-logo:hover { opacity: 1; transform: translateY(-2px); }
.pay-logo.contactless { height: 26px; }

/* ---------- Sections ---------- */
.section { padding: 92px 0; }
.section-alt { background: var(--bg-alt); }

/* Futuristic glow behind the featured card */
#cards { position: relative; overflow: hidden; }
#cards::before {
  content: ""; position: absolute; top: 130px; left: 50%; transform: translateX(-50%);
  width: 560px; height: 440px; z-index: 0; pointer-events: none; filter: blur(22px);
  background: radial-gradient(50% 50% at 50% 50%, rgba(37, 99, 235, 0.18), transparent 70%);
}
#cards .container { position: relative; z-index: 1; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(1.9rem, 3.5vw, 2.7rem); letter-spacing: -0.025em; font-weight: 800; color: var(--text); }
.section-head p { color: var(--text-soft); margin-top: 14px; font-size: 1.06rem; }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--blue-50); color: var(--blue); margin-bottom: 18px; border: 1px solid var(--blue-100);
}
.feature-icon svg { width: 26px; height: 26px; }
.feature-card h3 { font-size: 1.16rem; margin-bottom: 8px; color: var(--text); }
.feature-card p { color: var(--text-soft); font-size: 0.96rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(228px, 1fr)); gap: 20px; }
.step { padding: 32px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.step-num {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px;
  background: var(--gradient); color: #fff; font-weight: 800; font-size: 1.1rem; margin-bottom: 18px;
  box-shadow: 0 8px 20px -8px rgba(37,99,235,0.7);
}
.step h3 { margin-bottom: 8px; color: var(--text); }
.step p { color: var(--text-soft); }

/* Tiers */
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.tier-grid.single { grid-template-columns: minmax(0, 420px); justify-content: center; }
.tier { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 34px 30px; box-shadow: var(--shadow-sm); }
.tier-featured {
  border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-10px);
  background: linear-gradient(180deg, #fbfdff, #fff);
}
.tier-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gradient); color: #fff; font-size: 0.72rem; font-weight: 700;
  padding: 6px 16px; border-radius: 999px; letter-spacing: 0.04em;
  box-shadow: 0 8px 18px -8px rgba(37,99,235,0.8);
}
.tier h3 { font-size: 1.3rem; color: var(--text); }
.tier-price { font-size: 1rem; color: var(--text-muted); margin: 10px 0 22px; }
.tier-price span { font-size: 2.5rem; font-weight: 800; color: var(--text); }
.tier-list { list-style: none; display: grid; gap: 13px; margin-bottom: 28px; }
.tier-list li { color: var(--text-soft); padding-left: 28px; position: relative; }
.tier-list li::before {
  content: "✓"; position: absolute; left: 0; top: -1px;
  width: 19px; height: 19px; border-radius: 50%; background: var(--blue-50); color: var(--blue);
  font-size: 0.72rem; font-weight: 800; display: grid; place-items: center;
}

/* Order */
.order-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.order-copy h2 { font-size: clamp(1.9rem, 3.5vw, 2.5rem); letter-spacing: -0.02em; color: var(--text); }
.order-copy p { color: var(--text-soft); margin: 16px 0 24px; font-size: 1.06rem; }
.order-points { list-style: none; display: grid; gap: 13px; }
.order-points li { color: var(--text); display: flex; align-items: center; gap: 12px; font-weight: 500; }
.chk { width: 22px; height: 22px; flex: 0 0 22px; padding: 4px; border-radius: 50%; background: var(--blue-50); fill: none; stroke: var(--blue); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.order-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.field { margin-bottom: 16px; }
.field label, .checkbox span { font-size: 0.9rem; font-weight: 500; }
.field label { display: block; margin-bottom: 7px; color: var(--text); }
.field input, .field select {
  width: 100%; padding: 13px 14px; background: #fbfcfe; border: 1px solid var(--border-2);
  border-radius: var(--radius-sm); color: var(--text); font-size: 0.95rem; font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.field input::placeholder { color: #9aa6bd; }
.field input:focus, .field select:focus { outline: none; background: #fff; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14); }
.field input.invalid, .field select.invalid { border-color: var(--danger); }
.error { display: block; color: var(--danger); font-size: 0.8rem; margin-top: 6px; min-height: 1em; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; margin: 6px 0 4px; cursor: pointer; }
.checkbox input { margin-top: 4px; width: 17px; height: 17px; accent-color: var(--blue); }
.checkbox span { color: var(--text-soft); }
.form-note { text-align: center; color: var(--text-muted); font-size: 0.82rem; margin-top: 14px; }
.form-success { margin-top: 18px; padding: 16px; border-radius: var(--radius-sm); background: #e9faf3; border: 1px solid #b6ecd6; color: var(--text); }
.form-success p { color: var(--text-soft); margin-top: 4px; font-size: 0.9rem; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 4px 22px; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; list-style: none; padding: 17px 0; font-weight: 600; color: var(--text); display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--blue); transition: transform 0.2s; line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--text-soft); padding: 0 0 18px; }

/* CTA band */
.cta-band { padding: 76px 0; background: var(--gradient); position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 200px at 80% 120%, rgba(255,255,255,0.25), transparent 70%); }
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.3rem); letter-spacing: -0.02em; }

/* Footer */
.site-footer { background: #fff; border-top: 1px solid var(--border); padding-top: 58px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; padding-bottom: 42px; }
.footer-brand .brand { margin-bottom: 12px; }
.footer-brand p { color: var(--text-muted); max-width: 260px; }
.footer-col h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text); margin-bottom: 14px; }
.footer-col a { display: block; color: var(--text-muted); padding: 5px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--blue); }
.footer-bottom { border-top: 1px solid var(--border); padding: 24px; }
.footer-bottom p { color: var(--text-muted); font-size: 0.84rem; text-align: center; }

/* ---------- Crypto payment modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center; padding: 20px;
  background: rgba(9, 19, 41, 0.55); backdrop-filter: blur(4px);
}
.modal-overlay[hidden] { display: none; }
.modal {
  position: relative; width: 100%; max-width: 440px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; box-shadow: 0 40px 90px -30px rgba(15, 37, 87, 0.5);
  animation: pop 0.2s ease;
}
@keyframes pop { from { transform: translateY(8px) scale(0.98); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-close {
  position: absolute; top: 14px; right: 16px; width: 34px; height: 34px;
  border: 0; background: var(--bg-alt); border-radius: 50%; cursor: pointer;
  font-size: 1.3rem; line-height: 1; color: var(--text-muted); transition: background 0.2s, color 0.2s;
}
.modal-close:hover { background: var(--blue-50); color: var(--blue); }
.modal h3 { font-size: 1.4rem; letter-spacing: -0.02em; margin-bottom: 18px; }

.pay-summary {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--blue-50); border: 1px solid var(--blue-100); border-radius: var(--radius-sm);
  padding: 14px 16px; margin-bottom: 18px;
}
.pay-summary span { color: var(--text-soft); font-weight: 500; }
.pay-summary strong { font-size: 1.4rem; color: var(--text); }

.pay-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 16px; }
.pay-controls .field { margin-bottom: 0; }

.pay-recipient {
  display: flex; flex-direction: column; gap: 4px;
  background: #fbfcfe; border: 1px solid var(--border-2); border-radius: var(--radius-sm);
  padding: 12px 14px; margin-bottom: 16px;
}
.pay-recipient span { font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.pay-recipient code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.86rem; color: var(--text); word-break: break-all; }

.pay-status {
  border-radius: var(--radius-sm); padding: 12px 14px; margin-bottom: 16px;
  font-size: 0.88rem; line-height: 1.5; word-break: break-word;
}
.pay-status[hidden] { display: none; }
.pay-status.info { background: var(--blue-50); border: 1px solid var(--blue-100); color: var(--blue-800); }
.pay-status.pending { background: #fff7e6; border: 1px solid #ffe0a3; color: #8a5a00; }
.pay-status.success { background: #e9faf3; border: 1px solid #b6ecd6; color: #0a7a55; }
.pay-status.error { background: #fdecef; border: 1px solid #f7c2cd; color: #b3173a; }
.pay-status a { color: inherit; text-decoration: underline; font-weight: 600; }

#payBtn[disabled], #connectBtn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; }
.pay-safe { font-size: 0.8rem; color: var(--text-muted); margin-top: 14px; line-height: 1.5; text-align: center; }
.wallet-pill {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px;
  background: #e9faf3; border: 1px solid #b6ecd6; color: #0a7a55;
  font-size: 0.82rem; font-weight: 600; padding: 7px 12px; border-radius: 999px;
}
.wallet-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--success); }

/* ---------- Tier mini-cards ---------- */
.mini-card {
  position: relative; aspect-ratio: 1.586 / 1; border-radius: 14px; padding: 16px;
  margin-bottom: 24px; overflow: hidden;
  box-shadow: 0 16px 34px -18px rgba(15, 37, 87, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.mini-card .mc-chip { position: absolute; top: 44px; left: 16px; width: 34px; height: 26px; border-radius: 5px; background: linear-gradient(135deg, #f4dd9a, #c79a3d); box-shadow: inset 0 0 5px rgba(0,0,0,0.25); }
.mini-card .mc-network { position: absolute; top: 14px; right: 16px; font-style: italic; font-weight: 800; font-size: 1.1rem; letter-spacing: 0.02em; }
.mini-card .mc-brand { position: absolute; left: 16px; bottom: 14px; font-weight: 800; font-size: 0.92rem; letter-spacing: -0.01em; }
.mini-card .mc-tier { position: absolute; right: 16px; bottom: 15px; font-size: 0.64rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; opacity: 0.85; }
.mini-card::after { content: ""; position: absolute; top: -50%; left: -30%; width: 55%; height: 200%; transform: rotate(22deg); background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent); pointer-events: none; }

.mini-card.plastic { background: linear-gradient(135deg, #eef2f8 0%, #cdd8e8 100%); color: #20304d; }
.mini-card.plastic .mc-chip { background: linear-gradient(135deg, #d3dae4, #9aa6b8); }
.mini-card.silver { background: linear-gradient(135deg, #c4cad3 0%, #f5f7fa 42%, #969da6 100%); color: #2a2f37; }
.mini-card.goldblack { background: linear-gradient(135deg, #2b2b2b 0%, #050505 100%); color: #e8c879; border-color: #6b5523; }
.mini-card.goldblack .mc-chip { background: linear-gradient(135deg, #f6e3a1, #b8902f); }
.mini-card.goldblack::after { background: linear-gradient(90deg, transparent, rgba(232,200,121,0.22), transparent); }

.mini-card.gold {
  background:
    repeating-linear-gradient(116deg, rgba(255, 255, 255, 0.14) 0 1px, rgba(120, 85, 15, 0.09) 1px 2px, transparent 2px 3.5px),
    linear-gradient(125deg, #b07d27 0%, #f4d886 11%, #c4942f 24%, #fff1c2 38%, #cc9c35 50%, #a5741c 62%, #f1d27e 76%, #bd8c2b 88%, #ecca73 100%);
  color: #eceff3; border-color: rgba(255, 240, 190, 0.6);
  box-shadow: 0 16px 34px -16px rgba(110, 75, 10, 0.55), inset 0 0 26px rgba(90, 60, 8, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.6), inset 0 0 0 1px rgba(255, 244, 198, 0.5);
}
.mini-card.gold .mc-chip { background: linear-gradient(135deg, #f6f7f9, #888e98); }
.mini-card.gold .mc-network { color: #f4f6f9; text-shadow: 0 1px 1px rgba(90, 62, 10, 0.45); }
.mini-card.gold .mc-brand {
  font-family: 'Orbitron', 'Inter', sans-serif; letter-spacing: 0.03em;
  background: linear-gradient(135deg, #ffffff, #c3c8d2 48%, #8b9099);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 1px 1px rgba(70, 50, 10, 0.5));
}
.mini-card.gold .mc-tier { color: #f3f4f7; opacity: 1; text-shadow: 0 1px 1px rgba(90, 62, 10, 0.45); }
.mini-card.gold::after { background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent); }
.mini-card .mc-shine {
  position: absolute; top: -40%; left: -30%; width: 38%; height: 180%; z-index: 1; pointer-events: none;
  transform: rotate(20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 245, 210, 0.5), transparent);
  animation: cardShine 5.5s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .mini-card .mc-shine { animation: none !important; }
}

.tier-order { color: var(--text-muted); font-size: 0.92rem; margin: -14px 0 16px; }
.tier-order strong { color: var(--text); }
.tier-bonus { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 20px; background: #eafaf2; border: 1px solid #b6ecd6; color: #0a7a55; font-weight: 600; font-size: 0.92rem; padding: 8px 14px; border-radius: 999px; }
.tier-bonus strong { color: #0a7a55; font-weight: 800; }

/* Limited-stock counter */
.stock { margin: 0 0 18px; }
.stock-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.85rem; margin-bottom: 8px; }
.stock-label { color: var(--danger); font-weight: 700; letter-spacing: 0.02em; }
.stock-count { color: var(--text-soft); }
.stock-count strong { color: var(--text); font-weight: 800; }
.stock-track { height: 8px; border-radius: 999px; background: var(--blue-50); border: 1px solid var(--border); overflow: hidden; }
.stock-fill { display: block; height: 100%; width: 26%; background: var(--gradient); border-radius: 999px; }

/* ---------- Checkout: method tabs, amount, QR, address ---------- */
.method-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; background: var(--bg-alt); border: 1px solid var(--border); border-radius: 12px; padding: 5px; margin-bottom: 18px; }
.method-tab { border: 0; background: transparent; padding: 9px 4px; border-radius: 8px; font-weight: 600; font-size: 0.82rem; color: var(--text-soft); cursor: pointer; transition: background 0.2s, color 0.2s, box-shadow 0.2s; }
.method-tab:hover { color: var(--blue); }
.method-tab.is-active { background: #fff; color: var(--blue); box-shadow: var(--shadow-sm); }

.pay-amount-line { text-align: center; font-size: 1rem; color: var(--text-soft); margin-bottom: 16px; }
.pay-amount-line strong { font-size: 1.4rem; color: var(--text); }
.pay-rate { display: block; font-size: 0.78rem; color: var(--text-muted); margin-top: 3px; }

.pay-qr { display: flex; align-items: center; justify-content: center; width: 184px; height: 184px; margin: 0 auto 16px; padding: 8px; background: #fff; border: 1px solid var(--border-2); border-radius: 14px; }
.pay-qr img { width: 168px; height: 168px; image-rendering: pixelated; }
.qr-fallback { font-size: 0.8rem; color: var(--text-muted); text-align: center; }

.pay-address { display: flex; align-items: center; gap: 8px; background: #fbfcfe; border: 1px solid var(--border-2); border-radius: var(--radius-sm); padding: 10px 10px 10px 14px; margin-bottom: 16px; }
.pay-address code { flex: 1; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.8rem; color: var(--text); word-break: break-all; }
.copy-btn { flex: 0 0 auto; border: 1px solid var(--blue-100); background: var(--blue-50); color: var(--blue); font-weight: 600; font-size: 0.8rem; padding: 9px 13px; border-radius: 9px; cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.copy-btn:hover { background: var(--blue-100); }
.copy-btn.copied { background: #e9faf3; border-color: #b6ecd6; color: #0a7a55; }

/* ---------- Wallet connect button + picker ---------- */
.nav-connect.connected {
  background: #fff; color: var(--text); border: 1px solid var(--border-2);
  box-shadow: none; padding-left: 16px;
}
.nav-connect.connected::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--success); box-shadow: 0 0 0 3px rgba(10,158,110,0.18);
}
.nav-connect.connected:hover { border-color: var(--blue); }

.wallet-modal { max-width: 400px; }
.wallet-list { display: grid; gap: 8px; margin-bottom: 16px; }
.wallet-item {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  padding: 12px 14px; border: 1px solid var(--border-2); border-radius: 12px;
  background: #fff; cursor: pointer; font: inherit;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}
.wallet-item:hover { border-color: var(--blue); background: var(--blue-50); transform: translateY(-1px); }
.wallet-badge {
  width: 36px; height: 36px; border-radius: 10px; flex: 0 0 36px;
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1rem;
}
.wallet-item .wi-name { flex: 1; font-weight: 600; color: var(--text); }
.wallet-item .wi-tag { font-size: 0.72rem; font-weight: 600; color: var(--text-muted); }
.wallet-item .wi-tag.detected { color: var(--success); }

/* ---------- Step icons (How it works) ---------- */
.step-ico {
  width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center;
  background: linear-gradient(135deg, #e7f0ff, #f7faff); color: var(--blue);
  border: 1px solid var(--blue-100); margin-bottom: 16px;
  box-shadow: 0 8px 18px -12px rgba(37, 99, 235, 0.55);
}
.step-ico svg { width: 28px; height: 28px; }
.step-tag { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); margin-bottom: 6px; }

/* Richer feature icons */
.feature-icon { background: linear-gradient(135deg, #e7f0ff, #f7faff); box-shadow: 0 8px 18px -12px rgba(37, 99, 235, 0.55); }

/* Wallet badge now holds an SVG logo */
.wallet-badge svg { width: 22px; height: 22px; }

/* Real brand logos render on a clean white tile */
.wallet-badge.logo-badge { background: #fff; border: 1px solid var(--border-2); overflow: hidden; }
.wallet-badge.logo-badge img { width: 25px; height: 25px; object-fit: contain; display: block; }

/* ---------- Order-now picker ---------- */
.delivery-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--blue-50); border: 1px solid var(--blue-100); color: var(--blue-800); padding: 9px 15px; border-radius: 999px; font-size: 0.92rem; margin-bottom: 18px; }
.delivery-badge strong { color: var(--blue-800); }
.order-pick { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.order-pick h3 { margin-bottom: 16px; font-size: 1.2rem; }
.order-pick-row { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; border: 1px solid var(--border-2); background: #fff; border-radius: 12px; padding: 14px 16px; margin-bottom: 10px; cursor: pointer; font: inherit; transition: border-color 0.18s, background 0.18s, transform 0.15s; }
.order-pick-row:hover { border-color: var(--blue); background: var(--blue-50); transform: translateY(-1px); }
.order-pick-row.featured { border-color: var(--blue); }
.opr-name { font-weight: 700; color: var(--text); }
.opr-sub { flex: 1; color: var(--text-muted); font-size: 0.8rem; }
.opr-price { font-weight: 800; color: var(--blue); font-size: 1.05rem; }

/* ---------- Guided order modal ---------- */
.order-modal { max-width: 460px; max-height: 92vh; overflow-y: auto; }

/* "Get Your Crypto Card" stacked steps */
.gc-title { text-align: center; font-size: 1.3rem; letter-spacing: -0.01em; margin-bottom: 18px; }
.gc-steps { display: grid; gap: 12px; }
.gc-step {
  display: flex; gap: 12px; align-items: flex-start;
  border: 1px solid var(--border); border-radius: 14px; padding: 16px;
  background: #fff; opacity: 0.5;
  transition: opacity 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.gc-step.is-active { opacity: 1; border: 2px solid var(--blue); box-shadow: var(--shadow-sm); }
.gc-step.is-done { opacity: 1; }
.gc-num {
  flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; font-size: 0.85rem; font-weight: 700;
  background: var(--bg-alt); color: var(--text-muted); border: 1px solid var(--border-2);
}
.gc-step.is-active .gc-num { background: var(--gradient); color: #fff; border-color: transparent; }
.gc-step.is-done .gc-num { background: var(--success); border-color: transparent; font-size: 0; }
.gc-step.is-done .gc-num::after { content: "✓"; color: #fff; font-size: 0.9rem; }
.gc-body { flex: 1; min-width: 0; }
.gc-body h4 { font-size: 1.02rem; margin-bottom: 4px; color: var(--text); }
.gc-body p { font-size: 0.9rem; color: var(--text-soft); margin-bottom: 12px; }
.gc-action { margin-top: 4px; }
.gc-step:not(.is-active) .gc-action { display: none; }
.stepper { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin: 2px 0 18px; }
.stepper-item { display: flex; align-items: center; gap: 8px; color: var(--text-muted); font-size: 0.8rem; font-weight: 600; }
.stepper-item .si-dot { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-alt); border: 1px solid var(--border-2); color: var(--text-muted); font-size: 0.8rem; }
.stepper-item.is-active { color: var(--text); }
.stepper-item.is-active .si-dot { background: var(--gradient); color: #fff; border-color: transparent; }
.stepper-item.is-done .si-dot { background: var(--success); color: #fff; border-color: transparent; }

.order-chip { display: flex; justify-content: space-between; align-items: center; background: var(--blue-50); border: 1px solid var(--blue-100); border-radius: 12px; padding: 12px 16px; margin-bottom: 18px; }
.order-chip span { color: var(--text-soft); font-weight: 600; }
.order-chip strong { font-size: 1.3rem; color: var(--text); }

.om-step h3 { font-size: 1.35rem; letter-spacing: -0.01em; margin-bottom: 6px; }
.om-sub { color: var(--text-soft); font-size: 0.95rem; margin-bottom: 18px; }
.om-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 10px; }
.om-grid .field { margin-bottom: 0; }
.om-col-2 { grid-column: 1 / -1; }
.om-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 12px; }
.om-paywith { margin-bottom: 14px; }
.om-wallet-row { display: flex; align-items: center; gap: 12px; background: #fbfcfe; border: 1px solid var(--border-2); border-radius: 12px; padding: 12px 14px; }
.om-wallet-row strong { display: block; font-size: 0.95rem; color: var(--text); }
.om-wallet-row span { font-size: 0.8rem; color: var(--text-muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.om-paynote { color: var(--text-soft); font-size: 0.9rem; margin-top: 10px; }

.om-alt { margin: 14px 0; border: 1px solid var(--border); border-radius: 12px; padding: 2px 14px; background: #fbfcfe; }
.om-alt summary { cursor: pointer; padding: 12px 0; font-weight: 600; font-size: 0.9rem; color: var(--text); }
.alt-addr { display: flex; align-items: center; gap: 8px; padding: 9px 0; border-top: 1px solid var(--border); }
.alt-addr .alt-coin { flex: 0 0 96px; font-size: 0.76rem; font-weight: 700; color: var(--text-soft); }
.alt-addr code { flex: 1; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.7rem; word-break: break-all; color: var(--text); }

.om-done { text-align: center; padding: 8px 0; }
.om-check { width: 64px; height: 64px; border-radius: 50%; background: var(--success); color: #fff; font-size: 2rem; display: grid; place-items: center; margin: 6px auto 14px; box-shadow: 0 14px 30px -12px rgba(10, 158, 110, 0.7); }
.om-receipt { text-align: left; background: #fbfcfe; border: 1px solid var(--border); border-radius: 12px; padding: 6px 16px; margin: 16px 0; }
.om-receipt-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.om-receipt-row:last-child { border-bottom: 0; }
.om-receipt-row span { color: var(--text-muted); }

@media (max-width: 560px) {
  .om-grid { grid-template-columns: 1fr; }
  .stepper-item .si-label { display: none; }
  .order-pick-row { flex-wrap: wrap; }
  .opr-sub { flex-basis: 100%; order: 3; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav { display: none; }
  .brand-name { font-size: 0.98rem; gap: 5px; }
  .header-actions { display: flex; margin-left: auto; }
  .header-actions .nav-connect { padding: 9px 14px; font-size: 0.85rem; }
  .nav-toggle { display: flex; margin-left: 10px; }
  .mobile-nav:not([hidden]) { display: flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { order: -1; }
  .feature-grid, .steps, .tier-grid { grid-template-columns: 1fr; }
  .order-grid { grid-template-columns: 1fr; gap: 32px; }
  .tier-featured { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .logo-row { gap: 30px; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-trust { gap: 24px; }
  .section { padding: 66px 0; }
  .cta-inner { flex-direction: column; text-align: center; }
}
