html, body { margin: 0; padding: 0; background: #0B0E14; }
body { font-family: 'Archivo', system-ui, sans-serif; color: #EAEEF6; -webkit-font-smoothing: antialiased; }
a { color: #2AD8C9; text-decoration: none; }
a:hover { color: #7FEDE3; }
* { box-sizing: border-box; }
input, textarea, select, button { font-family: 'Archivo', system-ui, sans-serif; }

@keyframes glowPulse {
  0%, 100% { opacity: .5; }
  50% { opacity: .9; }
}

/* Hover states ported from the design's style-hover attributes.
   Elements carry inline styles, so overrides need !important. */
.nav-btn:hover { color: #FFFFFF !important; background: rgba(255,255,255,0.06) !important; }
.btn-primary:hover { background: #4BE3D6 !important; }
.btn-outline:hover { border-color: rgba(255,255,255,0.45) !important; }
.btn-ghost:hover { border-color: rgba(255,255,255,0.4) !important; }
.card-hover:hover { border-color: rgba(42,216,201,0.4) !important; }
.mkt-tile:hover { border-color: rgba(42,216,201,0.4) !important; background: rgba(42,216,201,0.04) !important; }
.mkt-card:hover { border-color: rgba(42,216,201,0.35) !important; }
.flink:hover { color: #2AD8C9 !important; }

/* ---------- Prepaid card: 3D mockup ----------
   Needs pseudo-elements (texture, specular sweep, chip pads), so it lives here
   rather than in the inline styles the rest of the app uses. */
.wa-card-stage {
  perspective: 1500px;
  perspective-origin: 55% 35%;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  position: relative;
  padding: 10px 0 34px;
}
/* Soft contact shadow on the "floor" beneath the card. */
.wa-card-stage::after {
  content: '';
  position: absolute;
  left: 10%; right: 6%; bottom: 6px;
  height: 40px;
  background: radial-gradient(ellipse at 50% 50%, rgba(0,0,0,0.8), transparent 72%);
  filter: blur(15px);
  z-index: 0;
  pointer-events: none;
}
.wa-card {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1.586;
  border-radius: 18px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transform: rotateY(-17deg) rotateX(7deg) rotateZ(-1.5deg);
  transition: transform .6s cubic-bezier(.2,.7,.2,1), box-shadow .6s ease;
  background:
    radial-gradient(125% 95% at 80% 6%, rgba(42,216,201,0.32), transparent 58%),
    linear-gradient(135deg, #17454F 0%, #102A34 44%, #0A1218 100%);
  border: 1px solid rgba(255,255,255,0.12);
  /* Stacked zero-blur shadows fake the card's physical thickness; the wide blurred
     ones plus the teal bloom seat it in the scene. */
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.24),
    inset 1px 0 0 rgba(255,255,255,0.08),
    inset 0 -1px 0 rgba(0,0,0,0.6),
    3px 4px 0 -1px #0A1C21,
    6px 8px 0 -2px #07151A,
    22px 32px 58px rgba(0,0,0,0.62),
    0 0 60px rgba(42,216,201,0.12);
}
.wa-card:hover { transform: rotateY(-7deg) rotateX(3deg) translateY(-8px); }
/* Brushed grain + fine noise, so the surface is not a flat gradient. */
.wa-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(115deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 3px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.4'/%3E%3C/svg%3E");
  opacity: .5;
  mix-blend-mode: overlay;
}
/* Specular sweep across the face. */
.wa-card::after {
  content: '';
  position: absolute;
  inset: -30% -12%;
  pointer-events: none;
  background: linear-gradient(115deg,
    transparent 33%,
    rgba(255,255,255,0.15) 45%,
    rgba(255,255,255,0.04) 51%,
    transparent 61%);
}
.wa-card__row { position: relative; z-index: 2; display: flex; }
.wa-chip {
  width: 44px; height: 34px; border-radius: 6px;
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #F7E3A9 0%, #DCB662 38%, #A8832F 70%, #EBD494 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.7),
    inset 0 -1px 0 rgba(0,0,0,0.4),
    0 1px 3px rgba(0,0,0,0.55);
}
/* EMV contact pads. */
.wa-chip::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, transparent 0 13px, rgba(88,60,12,0.55) 13px 14px, transparent 14px 30px, rgba(88,60,12,0.55) 30px 31px, transparent 31px),
    linear-gradient(to bottom, transparent 0 11px, rgba(88,60,12,0.55) 11px 12px, transparent 12px 22px, rgba(88,60,12,0.55) 22px 23px, transparent 23px);
}
/* Embossed lettering, as on a real card. */
.wa-num {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: .15em;
  font-size: clamp(15px, 3.5vw, 19px);
  color: #F3F7FF;
  text-shadow: 0 1px 0 rgba(255,255,255,0.28), 0 -1px 1px rgba(0,0,0,0.7), 0 2px 4px rgba(0,0,0,0.45);
}
.wa-emboss {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: .07em;
  color: #E7EDF8;
  text-shadow: 0 1px 0 rgba(255,255,255,0.22), 0 -1px 1px rgba(0,0,0,0.6);
}
.wa-cardlabel {
  font-size: 8.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #8FA0B6;
  margin-bottom: 3px;
}
@media (max-width: 700px) {
  .wa-card { transform: rotateY(-9deg) rotateX(4deg) rotateZ(-1deg); }
  .wa-card:hover { transform: rotateY(-4deg) rotateX(2deg) translateY(-4px); }
}
@media (prefers-reduced-motion: reduce) {
  .wa-card { transition: none; }
}

/* ---------- Product UI mockups (platform terminal + AI dashboard) ----------
   These stand in for product screenshots, drawn as real markup so they stay
   crisp, themeable and translatable. */
.mk-win {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(180deg, #0E1621 0%, #0A0F16 100%);
  box-shadow: 0 22px 55px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.05);
}
.mk-bar {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.025);
}
.mk-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.mk-title {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700; font-size: 11.5px; letter-spacing: .04em; color: #B8C2D4;
}
.mk-chip {
  font-size: 10px; font-weight: 700; letter-spacing: .06em;
  padding: 3px 8px; border-radius: 6px;
  background: rgba(42,216,201,0.12); color: #2AD8C9; border: 1px solid rgba(42,216,201,0.28);
}
.mk-body { display: grid; grid-template-columns: 148px 1fr 156px; }
.mk-col { padding: 11px 12px; min-width: 0; }
.mk-side { border-right: 1px solid rgba(255,255,255,0.07); }
.mk-ticket { border-left: 1px solid rgba(255,255,255,0.07); }
.mk-lbl {
  font-size: 9px; letter-spacing: .15em; text-transform: uppercase;
  color: #5E6B80; font-weight: 700; margin-bottom: 8px;
}
.mk-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; padding: 4.5px 0; font-size: 11px; color: #B8C2D4;
}
.mk-sym { font-family: 'Space Grotesk', system-ui, sans-serif; font-weight: 600; }
.mk-up { color: #2AD8C9; }
.mk-down { color: #E2566E; }
.mk-chart { padding: 11px 12px; display: flex; flex-direction: column; min-width: 0; }
.mk-chart__svg { flex: 1; min-height: 148px; width: 100%; display: block; }
.mk-foot {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 8px 14px; display: flex; flex-wrap: wrap; gap: 6px 18px;
  font-size: 10.5px; color: #93A0B4;
}
.mk-btn {
  flex: 1; text-align: center; border-radius: 7px; padding: 7px 4px;
  font-size: 11px; font-weight: 700; font-family: 'Space Grotesk', system-ui, sans-serif;
}
.mk-btn--buy { background: rgba(42,216,201,0.14); color: #2AD8C9; border: 1px solid rgba(42,216,201,0.35); }
.mk-btn--sell { background: rgba(226,86,110,0.12); color: #E2566E; border: 1px solid rgba(226,86,110,0.32); }
.mk-field {
  display: flex; align-items: center; justify-content: space-between;
  border: 1px solid rgba(255,255,255,0.1); border-radius: 7px;
  padding: 6px 8px; font-size: 10.5px; color: #EAEEF6;
  background: rgba(255,255,255,0.03);
}
/* Compact variant for the narrow home-page teaser. */
.mk-win--compact .mk-body { grid-template-columns: 1fr 132px; }
.mk-win--compact .mk-side { display: none; }
.mk-win--compact .mk-foot { display: none; }
.mk-win--compact .mk-chart__svg { min-height: 128px; }
/* AI dashboard */
.mk-ai { display: grid; grid-template-columns: 1.15fr 1fr; }
.mk-ai__right { border-left: 1px solid rgba(255,255,255,0.07); }
.mk-sig {
  display: flex; align-items: center; gap: 9px;
  padding: 8px 0; border-top: 1px solid rgba(255,255,255,0.06);
}
.mk-sig:first-of-type { border-top: 0; }
.mk-tag {
  font-size: 9px; font-weight: 700; letter-spacing: .08em;
  padding: 2.5px 6px; border-radius: 5px; flex: none;
}
.mk-tag--buy { background: rgba(42,216,201,0.15); color: #2AD8C9; }
.mk-tag--sell { background: rgba(226,86,110,0.15); color: #E2566E; }
.mk-meter { height: 5px; border-radius: 3px; background: rgba(255,255,255,0.08); overflow: hidden; }
.mk-meter > i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg,#1B7F87,#2AD8C9); }
@media (max-width: 820px) {
  .mk-body { grid-template-columns: 1fr; }
  .mk-side, .mk-ticket { display: none; }
  .mk-ai { grid-template-columns: 1fr; }
  .mk-ai__right { border-left: 0; border-top: 1px solid rgba(255,255,255,0.07); }
}

/* ---------- Trust wall (home): safeguards, funding methods, partner slots ---------- */
.tw-badges {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px; margin-bottom: 44px;
}
.tw-badge {
  display: flex; align-items: center; gap: 11px;
  text-align: left; padding: 16px 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  font-size: 14px; font-weight: 600; color: #EAEEF6; line-height: 1.35;
}
.tw-badge svg { flex: none; }
.tw-lbl {
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: #5E6B80; font-weight: 700; margin-bottom: 16px;
}
.tw-pays {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px;
}
.tw-pay {
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  padding: 20px 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  font-size: 13px; font-weight: 600; color: #B8C2D4; text-align: center;
  transition: border-color .2s ease, color .2s ease;
}
.tw-pay:hover { border-color: rgba(42,216,201,0.35); color: #EAEEF6; }
