/* ================================================================
   G Universe — shared stylesheet
   Used across: index.html, g-wallet.html, g-connect.html, gmyr.html
   ================================================================ */

:root {
  --red: #d7172a;
  --red-dark: #b3101f;
  --red-soft: #fff1f2;
  --ink: #0b0b0f;
  --ink-2: #1a1a22;
  --muted: #6b7280;
  --line: #ececef;
  --bg: #ffffff;
  --bg-alt: #fafafa;
  --radius: 18px;
  --shadow-sm: 0 1px 2px rgba(15,15,20,0.04), 0 1px 1px rgba(15,15,20,0.03);
  --shadow-md: 0 10px 30px rgba(15,15,20,0.06), 0 4px 12px rgba(15,15,20,0.04);
  --shadow-lg: 0 30px 80px rgba(215,23,42,0.18), 0 10px 30px rgba(15,15,20,0.08);
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 16px;
}
h1 { font-size: clamp(32px, 4.4vw, 54px); font-weight: 900; letter-spacing: -0.03em; }
h2 { font-size: clamp(26px, 3.2vw, 40px); }
h3 { font-size: clamp(19px, 2vw, 24px); font-weight: 700; }
p  { color: #3b3b46; margin: 0 0 16px; font-size: 17px; }

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

/* ============ TRUST SECTION ============ */
.trust {
  background: linear-gradient(180deg, #fff, var(--bg-alt));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.trust-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 24px;
  display: flex; flex-direction: column; gap: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.trust-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(215,23,42,0.20); }
.trust-card .ic {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--red-soft); color: var(--red);
  display: grid; place-items: center;
}
.trust-card .lbl {
  font-size: 11px; font-weight: 700; letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--muted);
}
.trust-card .name { font-size: 16px; font-weight: 800; color: var(--ink); margin: 0; line-height: 1.25; }
.trust-card p { font-size: 13.5px; color: #4a4a55; margin: 0; line-height: 1.55; }
.trust-card .meta {
  font-size: 12px; color: var(--muted);
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 4px;
}
.trust-card .meta a { color: var(--red); font-weight: 600; }
.trust-card .meta a:hover { text-decoration: underline; }
.trust-card .badge-pill {
  align-self: flex-start;
  background: var(--ink); color: #fff;
  padding: 3px 9px; border-radius: 100px;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.04em;
}
@media (max-width: 1000px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .trust-grid { grid-template-columns: 1fr; } }

/* "In development" pill — used to mark features that aren't live yet */
.in-dev {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff7ed; color: #9a3412;
  border: 1px solid #fed7aa;
  padding: 2px 9px; border-radius: 100px;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle; margin-left: 8px;
}
.in-dev::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: #f97316;
}

/* ============ CARROTS REWARDS SECTION (G Wallet) ============ */
.carrots {
  background:
    radial-gradient(900px 500px at 100% 0%, rgba(255,140,0,0.08), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(215,23,42,0.08), transparent 60%),
    linear-gradient(180deg, #fff, var(--bg-alt));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.carrots-hero {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center;
  margin-bottom: 56px;
}
.carrots-hero h2 strong { color: var(--red); }

/* The "RM 1 → 100 Carrots" conversion visual */
.conversion {
  position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: 24px;
  padding: 40px 32px;
  box-shadow: var(--shadow-md);
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center;
}
.conversion::before {
  content: ""; position: absolute; inset: -1px;
  border-radius: 24px; padding: 1px;
  background: linear-gradient(135deg, rgba(215,23,42,0.30), transparent 50%, rgba(255,140,0,0.30));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.conversion-side { text-align: center; }
.conversion-side .lbl {
  font-size: 11px; font-weight: 700; letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 8px;
}
.conversion-side .val {
  font-size: clamp(34px, 5vw, 52px); font-weight: 900;
  letter-spacing: -0.02em; line-height: 1;
  color: var(--ink);
}
.conversion-side .val .unit {
  font-size: 0.5em; color: var(--muted); font-weight: 700; margin-left: 4px;
  letter-spacing: 0;
}
.conversion-side .val .num-red { color: var(--red); }
.conversion-arrow {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--red); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 14px 28px rgba(215,23,42,0.30);
  animation: pulse 2.4s ease-in-out infinite;
}
.conversion-side .carrot-row {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 4px;
  font-size: 13px; font-weight: 600; color: var(--muted);
}
.conversion-side .carrot-row .carrot-svg { color: #ff8c00; flex-shrink: 0; }

/* Carrot logo treatments */
.carrot-logo-hero {
  display: block;
  width: 100%; max-width: 560px; height: auto;
  margin: 0 auto 22px;
  filter: drop-shadow(0 16px 32px rgba(255,140,0,0.18));
}
.carrot-logo-inline {
  display: inline-block;
  height: 1.2em; width: auto;
  vertical-align: -0.18em;
  margin-left: 8px;
}
.conversion-carrot-logo {
  display: block;
  height: 36px; width: auto; max-width: 100%; margin: 10px auto 0;
  filter: drop-shadow(0 6px 14px rgba(255,140,0,0.20));
}

/* Dynamic Carrots converter */
.rm-input {
  font: inherit; font-weight: 900;
  background: transparent; border: 0;
  border-bottom: 2px dashed rgba(215,23,42,0.45);
  color: var(--red);
  padding: 0 6px; margin-left: 6px;
  width: 4ch; min-width: 4ch; max-width: 8ch;
  text-align: center;
  -moz-appearance: textfield;
  transition: border-color 0.15s, background 0.15s;
}
.rm-input::-webkit-outer-spin-button,
.rm-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.rm-input:focus {
  outline: none;
  border-bottom-color: var(--red);
  background: rgba(215,23,42,0.04);
  border-radius: 4px;
}
.rm-input:hover { border-bottom-color: var(--red); }
.conversion-presets {
  display: flex; flex-wrap: wrap; gap: 6px;
  justify-content: center; margin-top: 14px;
}
.conversion-presets button {
  background: var(--red-soft); color: var(--red);
  border: 1px solid rgba(215,23,42,0.18); border-radius: 100px;
  font: inherit; font-size: 11px; font-weight: 700;
  padding: 5px 11px; cursor: pointer;
  transition: all 0.15s ease;
}
.conversion-presets button:hover {
  background: var(--red); color: #fff;
  border-color: var(--red);
  transform: translateY(-1px);
}
.conversion-presets button:active { transform: translateY(0); }
#carrotsOut {
  display: inline-block;
  transition: transform 0.18s ease;
}
#carrotsOut.bump { transform: scale(1.08); }

/* FMOS membership badge in footer */
.footer-memberships {
  display: flex; align-items: center; justify-content: flex-start;
  gap: 14px; flex-wrap: wrap;
  padding: 18px 0 10px; margin-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-memberships .label {
  color: #8a8a96; font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.fmos-badge {
  display: inline-flex; align-items: center;
  padding: 10px 16px; border-radius: 10px;
  background: #fff;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.10);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.fmos-badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}
.fmos-badge img {
  display: block; height: 26px; width: auto;
}

/* ============ MOBILE POLISH ============ */
@media (max-width: 720px) {
  /* Trust strip — stack each item on its own row, hide vertical dividers */
  .trust-strip-inner {
    flex-direction: column; align-items: flex-start;
    gap: 10px; font-size: 12.5px;
    text-align: left;
  }
  .trust-strip-inner span { width: 100%; }
  .trust-strip-inner .divider { display: none; }

  /* Photo caption — readable, less aggressive on mobile */
  .about-photo .photo-caption {
    padding: 28px 16px 14px;
    font-size: 11.5px;
  }
  .about-photo { aspect-ratio: 16/10; }

  /* Footer memberships — label on its own line, badges side-by-side */
  .footer-memberships {
    flex-wrap: wrap;
    gap: 8px 12px; padding: 20px 0 12px;
  }
  .footer-memberships .label {
    flex-basis: 100%;
    font-size: 10.5px;
  }
  .footer-memberships .fmos-badge { padding: 8px 14px; }
  .footer-memberships .fmos-badge img { height: 22px; }

  /* Footer grid — make Corporate column full width on small screens */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .conversion { grid-template-columns: 1fr; gap: 16px; padding: 28px 22px; }
  .conversion-arrow { transform: rotate(90deg); justify-self: center; }
}

/* The 3 redemption use-case cards */
.carrots-uses {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.carrots-use {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 26px;
  display: flex; flex-direction: column; gap: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.carrots-use:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(215,23,42,0.20); }
.carrots-use .ic {
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, var(--red), #ff8c00);
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 22px rgba(215,23,42,0.22);
}
.carrots-use .lbl {
  font-size: 11px; font-weight: 700; letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--red);
}
.carrots-use h3 { font-size: 18px; margin: 0; }
.carrots-use p { font-size: 14.5px; color: #4a4a55; margin: 0; line-height: 1.55; }
@media (max-width: 900px) { .carrots-uses { grid-template-columns: 1fr; } }

.carrots-source {
  margin-top: 32px; text-align: center;
  font-size: 13px; color: var(--muted);
}
.carrots-source a { color: var(--red); font-weight: 600; }
.carrots-source a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .carrots-hero { grid-template-columns: 1fr; gap: 30px; }
}

/* Compact trust strip used on product pages (under hero) */
.trust-strip {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.trust-strip-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 28px; flex-wrap: wrap;
  font-size: 13px; color: var(--muted);
}
.trust-strip-inner span {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600;
}
.trust-strip-inner span strong { color: var(--ink); font-weight: 700; }
.trust-strip-inner svg { color: var(--red); }
.trust-strip-inner a { color: var(--red); font-weight: 600; }
.trust-strip-inner a:hover { text-decoration: underline; }
.trust-strip-inner .divider {
  width: 1px; height: 18px; background: var(--line); display: inline-block;
}

/* ============ NAV ============ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -0.01em;
}
.brand-mark {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--red);
  display: grid; place-items: center;
  box-shadow: 0 8px 20px rgba(215,23,42,0.25);
}
.brand-mark img { width: 36px; height: 36px; object-fit: contain; }
.brand-name { font-size: 18px; }
.brand-name .uni { color: var(--red); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: #2b2b35; font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--red); }
.nav-links a.active { color: var(--red); }
.nav-cta {
  background: var(--red); color: #fff !important;
  padding: 10px 18px; border-radius: 100px; font-weight: 600; font-size: 14px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 6px 18px rgba(215,23,42,0.28);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(215,23,42,0.34); color: #fff !important; }
.nav-toggle { display: none; background: none; border: 0; padding: 6px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: 0.2s; }

/* Language toggle */
.lang-toggle {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 6px; border: 1px solid rgba(0,0,0,0.10); border-radius: 999px;
  font-size: 0.78rem; font-weight: 600;
}
.lang-toggle a {
  display: inline-block; padding: 3px 9px; border-radius: 999px; text-decoration: none;
}
.lang-toggle a.is-active { background: var(--red); color: #fff; }
.lang-toggle .sep { color: #9b95a5; opacity: 0.4; }

/* Mobile-only language toggle — sits in the nav header next to the hamburger */
.lang-toggle-mobile { display: none; }

@media (max-width: 940px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  /* Show the mobile lang toggle in the header, hide the one inside the nav-links */
  .lang-toggle-mobile { display: inline-flex; margin-right: 6px; }
  .nav-links .lang-toggle { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; padding: 16px 28px 22px;
    border-bottom: 1px solid var(--line);
    gap: 16px;
  }
}

/* ============ HERO (home page) ============ */
.hero {
  position: relative; overflow: hidden;
  padding: 60px 0 60px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(1100px 600px at 110% -10%, rgba(215,23,42,0.10), transparent 60%),
    radial-gradient(800px 500px at -10% 110%, rgba(215,23,42,0.06), transparent 60%);
  pointer-events: none;
}

/* ---- Full-bleed background hero (home page) ---- */
.hero.hero-bg {
  padding: 70px 0 100px;
  min-height: 0;
  display: block;
  color: #fff;
  isolation: isolate;
  background: #0a0a10;
}
.hero.hero-bg::before { display: none; }
.hero-bg-image {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  transform: scale(1.04);
  filter: saturate(1.05) contrast(1.05);
  animation: heroSlowPan 24s ease-in-out infinite alternate;
}
@keyframes heroSlowPan {
  from { transform: scale(1.04) translateX(-1.2%); }
  to   { transform: scale(1.08) translateX(1.2%); }
}
.hero-bg-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8,8,14,0.55) 0%, rgba(8,8,14,0.50) 40%, rgba(8,8,14,0.85) 100%),
    radial-gradient(900px 600px at 12% 30%, rgba(0,0,0,0.55), transparent 65%),
    radial-gradient(900px 600px at 95% 80%, rgba(215,23,42,0.32), transparent 60%);
  z-index: 1;
}
.hero-bg-inner {
  position: relative; z-index: 2;
  max-width: 920px;
}
.hero-bg .eyebrow {
  background: rgba(255,255,255,0.10);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.hero-bg .eyebrow .dot { background: var(--red); }
.hero-bg h1 {
  color: #fff;
  font-size: clamp(40px, 6.4vw, 84px);
  letter-spacing: -0.035em;
  line-height: 1.04;
  margin-bottom: 24px;
  text-shadow: 0 6px 30px rgba(0,0,0,0.45);
}
.hero-bg h1 strong {
  color: #fff;
  background: linear-gradient(180deg, #ff6072 0%, #d7172a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}
.hero-bg .hero-sub {
  color: rgba(255,255,255,0.88);
  font-size: 20px;
  max-width: 640px;
  margin-top: 4px;
  text-shadow: 0 2px 14px rgba(0,0,0,0.4);
}
.hero-bg .btn-primary {
  box-shadow: 0 18px 40px rgba(215,23,42,0.45);
}
.hero-bg .btn-ghost {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.28);
  color: #fff;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.hero-bg .btn-ghost:hover { background: rgba(255,255,255,0.18); }
.hero-bg .hero-trust {
  color: rgba(255,255,255,0.85);
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 22px;
  margin-top: 44px;
  font-size: 14px;
}
.hero-bg .hero-trust svg { color: #ff8893; }
@media (max-width: 900px) {
  .hero.hero-bg {
    padding: 32px 0 56px;
    min-height: 0;
    display: block;
  }
  .hero-bg-inner { max-width: 100%; }
  .hero-bg h1 { font-size: clamp(34px, 8vw, 52px); margin-bottom: 18px; }
  .hero-bg .hero-sub { font-size: 16px; max-width: 100%; }
  .hero-bg .hero-trust { margin-top: 28px; padding-top: 18px; gap: 18px; }
  .hero-bg-overlay {
    background:
      linear-gradient(180deg, rgba(8,8,14,0.55) 0%, rgba(8,8,14,0.50) 40%, rgba(8,8,14,0.85) 100%),
      radial-gradient(700px 500px at 90% 90%, rgba(215,23,42,0.30), transparent 60%);
  }
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center;
  position: relative; z-index: 1;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--red-soft); color: var(--red);
  padding: 7px 14px; border-radius: 100px; font-weight: 600; font-size: 13px;
  margin-bottom: 24px;
  border: 1px solid rgba(215,23,42,0.12);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.hero h1 strong { color: var(--red); }
.hero-sub {
  font-size: 19px; color: #4a4a55; max-width: 560px; margin-top: 8px;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px; border-radius: 100px; font-weight: 600; font-size: 15px;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer; border: 0;
  text-decoration: none;
}
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 10px 28px rgba(215,23,42,0.32); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(215,23,42,0.42); background: var(--red-dark); color: #fff; }

/* GenieX-themed button — used for the merchant portal CTA on the GMYR page */
.btn-geniex { background: #002978; color: #fff; box-shadow: 0 10px 28px rgba(0,41,120,0.32); }
.btn-geniex:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(0,41,120,0.42); background: #001f5c; color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid #d8d8de; }
.btn-ghost:hover { border-color: var(--ink); }
.btn .arrow { transition: transform 0.2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.hero-trust {
  margin-top: 40px; display: flex; gap: 28px; flex-wrap: wrap;
  color: var(--muted); font-size: 14px;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { color: var(--red); }

/* ---- Animated shield ---- */
.shield-stage {
  position: relative; aspect-ratio: 1/1; max-width: 520px; margin-left: auto;
  display: grid; place-items: center;
}
.shield-rings, .shield-rings::before, .shield-rings::after {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(215,23,42,0.18);
}
.shield-rings { animation: spin 24s linear infinite; }
.shield-rings::before { content: ""; inset: 8%; border-color: rgba(215,23,42,0.14); animation: spin 18s linear infinite reverse; }
.shield-rings::after  { content: ""; inset: 18%; border-color: rgba(215,23,42,0.10); animation: spin 30s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.shield-glow {
  position: absolute; inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(215,23,42,0.35), rgba(215,23,42,0) 60%);
  filter: blur(20px);
  animation: pulse 3.5s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { transform: scale(1); opacity: 0.85; }
  50%     { transform: scale(1.08); opacity: 1; }
}

.shield-card {
  position: relative; z-index: 2;
  width: 58%; aspect-ratio: 1/1;
  background: var(--red);
  border-radius: 28%;
  display: grid; place-items: center;
  box-shadow:
    0 30px 80px rgba(215,23,42,0.35),
    0 14px 30px rgba(215,23,42,0.25),
    inset 0 1px 0 rgba(255,255,255,0.18);
  animation: float 5s ease-in-out infinite;
}
.shield-card img { width: 64%; height: 64%; object-fit: contain; }
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-10px); }
}

.floaty {
  position: absolute; z-index: 3;
  background: #fff; padding: 12px 16px; border-radius: 14px;
  box-shadow: var(--shadow-md);
  font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--line);
}
.floaty .ico {
  width: 28px; height: 28px; border-radius: 8px; background: var(--red-soft); color: var(--red);
  display: grid; place-items: center;
}
.f1 { top: 8%; left: -10px; animation: float 6s ease-in-out infinite; }
.f2 { bottom: 18%; right: -18px; animation: float 7s ease-in-out infinite reverse; }
.f3 { bottom: 4%; left: 8%; animation: float 5.5s ease-in-out infinite; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .shield-stage { margin: 0 auto; max-width: 380px; }
}

/* ============ PILLARS ============ */
.pillars {
  padding: 44px 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pillars-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.pillar {
  background: #fff; padding: 32px;
  border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pillar .ico {
  width: 48px; height: 48px; border-radius: 12px; background: var(--red-soft); color: var(--red);
  display: grid; place-items: center; margin-bottom: 16px;
}
.pillar h3 { margin-bottom: 8px; }
.pillar p { font-size: 15px; margin: 0; color: #4a4a55; }
@media (max-width: 820px) { .pillars-grid { grid-template-columns: 1fr; } }

/* ============ SECTION + PRODUCTS ============ */
.section { padding: 50px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 28px; }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head p { font-size: 18px; color: #4a4a55; }

.products {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.product {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: 22px;
  padding: 36px 32px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex; flex-direction: column;
}
.product:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(15,15,20,0.08), 0 8px 24px rgba(215,23,42,0.10);
  border-color: rgba(215,23,42,0.25);
}
.product .badge {
  display: inline-block; font-size: 12px; font-weight: 700;
  color: var(--red); background: var(--red-soft);
  padding: 4px 10px; border-radius: 100px; margin-bottom: 16px;
  text-transform: uppercase; letter-spacing: 0.04em;
  align-self: flex-start;
}
.product-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--red); display: grid; place-items: center;
  margin-bottom: 18px; box-shadow: 0 12px 30px rgba(215,23,42,0.28);
}
.product-icon img { width: 32px; height: 32px; }
.product-icon svg { color: #fff; }

/* Bare variant — for icons that already have their own brand background (e.g. GMYR token) */
.product-icon--bare {
  background: transparent;
  box-shadow: none;
  width: 64px; height: 64px;
}
.product-icon--bare img { width: 64px; height: 64px; }
.product h3 { font-size: 24px; }
.product .lede { color: #4a4a55; font-size: 15px; margin-bottom: 18px; }
.product ul { padding-left: 0; margin: 0 0 22px; list-style: none; }
.product li {
  padding: 8px 0; padding-left: 26px; position: relative;
  color: #2b2b35; font-size: 14px;
}
.product li::before {
  content: ""; position: absolute; left: 0; top: 14px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--red-soft);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d7172a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 10px 10px; background-position: center; background-repeat: no-repeat;
}
.product .more { color: var(--red); font-weight: 600; font-size: 14px; display: inline-flex; gap: 6px; align-items: center; margin-top: auto; }
.product .more:hover .arrow { transform: translateX(3px); }

@media (max-width: 900px) { .products { grid-template-columns: 1fr; } }

/* ============ ABOUT ============ */
.about {
  background: linear-gradient(180deg, var(--bg-alt), #fff);
  border-top: 1px solid var(--line);
}
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 900px) {
  .about-grid,
  .about-grid[style*="grid-template-columns"] { grid-template-columns: 1fr !important; gap: 24px !important; }
}

.corp-card {
  margin-top: 36px; background: #fff; border: 1px solid var(--line);
  border-radius: 18px; padding: 22px; display: flex; gap: 14px; align-items: flex-start;
}
.corp-card .ic { color: var(--red); flex-shrink: 0; }
.corp-card p { font-size: 14px; color: #4a4a55; margin: 0; }
.corp-card strong { color: var(--ink); }

/* ---- Ecosystem orbit visualisation (used on home About section) ---- */
.ecosystem {
  position: relative; aspect-ratio: 1/1; width: 100%; max-width: 520px;
  margin-left: auto;
  display: grid; place-items: center;
}
.ecosystem::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(215,23,42,0.10), rgba(215,23,42,0) 65%);
  z-index: 0;
}
.eco-orbit {
  position: absolute; border-radius: 50%;
  border: 1px dashed rgba(215,23,42,0.25);
  animation: eco-spin 28s linear infinite;
}
.eco-orbit.outer { inset: 0; }
.eco-orbit.inner { inset: 18%; border-style: dotted; border-color: rgba(215,23,42,0.18); animation-duration: 22s; animation-direction: reverse; }
@keyframes eco-spin { to { transform: rotate(360deg); } }

.eco-hub {
  position: relative; z-index: 3;
  width: 36%; aspect-ratio: 1/1;
  background: var(--red); border-radius: 28%;
  display: grid; place-items: center;
  box-shadow:
    0 25px 60px rgba(215,23,42,0.35),
    0 8px 24px rgba(215,23,42,0.25),
    inset 0 1px 0 rgba(255,255,255,0.18);
  animation: eco-pulse 4s ease-in-out infinite;
}
.eco-hub img { width: 60%; height: 60%; object-fit: contain; }
.eco-hub-label {
  position: absolute; bottom: -28px; left: 50%; transform: translateX(-50%);
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--red); white-space: nowrap;
}
@keyframes eco-pulse {
  0%,100% { transform: scale(1); box-shadow: 0 25px 60px rgba(215,23,42,0.35), 0 8px 24px rgba(215,23,42,0.25), inset 0 1px 0 rgba(255,255,255,0.18); }
  50%     { transform: scale(1.04); box-shadow: 0 30px 80px rgba(215,23,42,0.45), 0 12px 30px rgba(215,23,42,0.32), inset 0 1px 0 rgba(255,255,255,0.18); }
}

.eco-satellite {
  position: absolute; z-index: 4;
  background: #fff; border: 1px solid var(--line);
  border-radius: 16px; padding: 12px 14px;
  box-shadow: 0 14px 30px rgba(15,15,20,0.08), 0 4px 12px rgba(15,15,20,0.05);
  display: flex; align-items: center; gap: 10px;
  min-width: 132px;
  animation: eco-float 6s ease-in-out infinite;
}
.eco-satellite .ico {
  width: 32px; height: 32px; border-radius: 9px; background: var(--red);
  display: grid; place-items: center; flex-shrink: 0;
  box-shadow: 0 6px 14px rgba(215,23,42,0.3);
}
.eco-satellite .ico svg, .eco-satellite .ico img { color: #fff; }
.eco-satellite .ico img { width: 18px; height: 18px; }
.eco-satellite .name { font-size: 13px; font-weight: 700; color: var(--ink); line-height: 1.2; }
.eco-satellite .role { font-size: 10.5px; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; margin-top: 2px; }

.eco-s1 { top: 4%; left: 50%; transform: translateX(-50%); animation-delay: -1s; }
.eco-s2 { bottom: 18%; right: -6%; animation-delay: -3s; }
.eco-s3 { bottom: 18%; left: -6%; animation-delay: -5s; }

@keyframes eco-float {
  0%,100% { transform: translate(var(--tx, 0), 0); }
  50%     { transform: translate(var(--tx, 0), -8px); }
}
.eco-s1 { animation-name: eco-float-c; }
@keyframes eco-float-c {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%     { transform: translateX(-50%) translateY(-8px); }
}

.eco-lines {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 2; pointer-events: none;
}
.eco-lines line {
  stroke: rgba(215,23,42,0.35); stroke-width: 1.2; stroke-dasharray: 4 6;
  animation: eco-dash 14s linear infinite;
}
@keyframes eco-dash { to { stroke-dashoffset: -200; } }

.eco-pulse-dot {
  position: absolute; width: 6px; height: 6px; border-radius: 50%;
  background: var(--red); box-shadow: 0 0 12px rgba(215,23,42,0.65);
  z-index: 3;
}
.eco-pulse-dot.d1 { top: 30%; left: 50%; transform: translateX(-50%); animation: eco-travel-1 5s ease-in-out infinite; }
.eco-pulse-dot.d2 { top: 55%; right: 18%; animation: eco-travel-2 6s ease-in-out infinite; }
.eco-pulse-dot.d3 { top: 55%; left: 18%; animation: eco-travel-3 7s ease-in-out infinite; }
@keyframes eco-travel-1 { 0%,100% { opacity: 0; top: 18%; } 50% { opacity: 1; top: 38%; } }
@keyframes eco-travel-2 { 0%,100% { opacity: 0; right: 14%; top: 55%; } 50% { opacity: 1; right: 30%; top: 50%; } }
@keyframes eco-travel-3 { 0%,100% { opacity: 0; left: 14%; top: 55%; } 50% { opacity: 1; left: 30%; top: 50%; } }

.eco-caption {
  margin-top: 28px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  text-align: center;
}
.eco-caption .item {
  padding: 14px 10px; border-radius: 12px;
  background: rgba(255,255,255,0.7); border: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.eco-caption .num { font-size: 22px; font-weight: 800; color: var(--red); letter-spacing: -0.02em; line-height: 1; }
.eco-caption .lbl { font-size: 11.5px; color: var(--muted); margin-top: 4px; }
@media (max-width: 480px) { .eco-caption { grid-template-columns: 1fr; } }

/* ============ CTA STRIP ============ */
.cta-strip {
  background: var(--red);
  color: #fff;
  padding: 44px 0;
  position: relative; overflow: hidden;
}
.cta-strip::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(600px 300px at 0% 0%, rgba(255,255,255,0.16), transparent 60%),
    radial-gradient(600px 300px at 100% 100%, rgba(255,255,255,0.12), transparent 60%);
  pointer-events: none;
}
.cta-strip-inner {
  display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap;
  position: relative; z-index: 1;
}
.cta-strip h2 { color: #fff; margin: 0; max-width: 720px; }
.cta-strip p  { color: rgba(255,255,255,0.85); margin: 8px 0 0; }
.cta-strip .btn-primary { background: #fff; color: var(--red); box-shadow: 0 14px 30px rgba(0,0,0,0.18); }
.cta-strip .btn-primary:hover { background: #fff; color: var(--red-dark); }

/* ============ CONTACT ============ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 36px; box-shadow: var(--shadow-sm); }
.contact-info ul { list-style: none; padding: 0; margin: 24px 0 0; }
.contact-info li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.contact-info li:last-child { border-bottom: 0; }
.contact-info .ic {
  width: 36px; height: 36px; border-radius: 10px; background: var(--red-soft); color: var(--red);
  display: grid; place-items: center; flex-shrink: 0;
}
.contact-info .lbl { font-size: 13px; color: var(--muted); }
.contact-info .val { font-weight: 600; color: var(--ink); }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ============ FOOTER ============ */
.footer {
  background: var(--ink);
  color: #c8c8d2;
  padding: 56px 0 28px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; font-weight: 700; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 10px; }
.footer a { color: #c8c8d2; font-size: 14px; }
.footer a:hover { color: #fff; }
.footer .brand { color: #fff; }
.footer .brand-name { color: #fff; }
.footer-about { font-size: 14px; line-height: 1.6; max-width: 360px; margin-top: 14px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 22px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: #8a8a96;
}
.footer-bottom .legal { display: flex; gap: 22px; flex-wrap: wrap; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

/* ============ Product card add-ons ============ */
.compliance {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 14px; border-radius: 12px;
  background: var(--red-soft); border: 1px solid rgba(215,23,42,0.14);
  margin: -4px 0 18px;
}
.compliance .ic { color: var(--red); flex-shrink: 0; margin-top: 2px; }
.compliance .txt { font-size: 12.5px; color: #2b2b35; line-height: 1.45; }
.compliance .txt a { color: var(--red); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.compliance .txt a:hover { color: var(--red-dark); }

.store-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; margin-bottom: 8px; }
.store-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: #fff !important;
  padding: 10px 14px; border-radius: 12px;
  font-size: 12px; line-height: 1.1; font-weight: 600;
  transition: transform 0.15s ease, background 0.2s ease;
}
.store-btn:hover { transform: translateY(-1px); background: #000; }
.store-btn .lbl-sm { font-size: 9.5px; font-weight: 500; opacity: 0.75; letter-spacing: 0.04em; text-transform: uppercase; display: block; }
.store-btn .lbl-lg { font-size: 13px; font-weight: 700; }

/* Payment-method chips used on G Connect card */
.pm-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); margin: -4px 0 10px;
}
.pm-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.pm {
  display: inline-flex; align-items: center; justify-content: center;
  height: 28px; padding: 0 10px; border-radius: 8px;
  background: #fff; border: 1px solid var(--line);
  font-weight: 700; font-size: 11px; letter-spacing: 0.02em;
  color: var(--ink-2); white-space: nowrap;
}
.pm-visa   { color: #1a1f71; }
.pm-mc     { color: #b3101f; }
.pm-duit   { color: #ed1c24; }
.pm-fpx    { color: #00a651; }
.pm-tng    { color: #1976d2; }
.pm-boost  { color: #ee2737; }
.pm-grab   { color: #00b14f; }
.pm-shopee { color: #ee4d2d; }
.pm-gwallet {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  box-shadow: 0 4px 12px rgba(215,23,42,0.25);
}

.product-hint { display: block; font-size: 11.5px; color: var(--muted); margin-top: 8px; }

/* ============ PRODUCT-PAGE HERO ============ */
.product-hero {
  position: relative; overflow: hidden;
  padding: 40px 0 60px;
}
.product-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 110% -10%, rgba(215,23,42,0.10), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(215,23,42,0.06), transparent 60%);
  pointer-events: none;
}
.product-hero .container { position: relative; z-index: 1; }
.product-hero-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: start;
}
.product-hero h1 {
  font-size: clamp(30px, 4vw, 46px); margin-bottom: 18px;
}
.product-hero h1 strong { color: var(--red); }
.product-hero-sub {
  font-size: 18px; color: #4a4a55; margin: 0; max-width: 540px;
}
.crumb {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--muted); margin-bottom: 18px;
}
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--red); }
.crumb .sep { opacity: 0.4; }

/* Generic "device frame" used to anchor the hero visual on each product page */
.device-stage {
  position: relative; aspect-ratio: 1/1; max-width: 480px; margin-left: auto;
  display: grid; place-items: center;
}
.device-stage::before {
  content: ""; position: absolute; inset: 6%; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(215,23,42,0.18), rgba(215,23,42,0) 60%);
  filter: blur(28px);
}

/* Phone mockup (used on G Wallet) */
.phone {
  position: relative; z-index: 2;
  width: 240px; aspect-ratio: 9/19;
  background: #0b0b0f;
  border-radius: 36px;
  padding: 8px;
  box-shadow: 0 40px 80px rgba(15,15,20,0.30), 0 14px 30px rgba(215,23,42,0.18);
}
.phone-screen {
  width: 100%; height: 100%; border-radius: 28px;
  background: linear-gradient(180deg, var(--red), var(--red-dark));
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center;
  padding: 32px 18px 18px; color: #fff;
}
.phone-screen::before {
  content: ""; position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 80px; height: 18px; background: #0b0b0f; border-radius: 0 0 12px 12px;
}
.phone-shield {
  width: 90px; height: 90px; margin: 24px 0 14px;
}
.phone-balance-lbl {
  font-size: 11px; opacity: 0.8; letter-spacing: 0.08em; text-transform: uppercase;
}
.phone-balance {
  font-size: 30px; font-weight: 900; letter-spacing: -0.02em; margin-top: 4px;
}
.phone-actions {
  display: flex; gap: 8px; margin-top: 18px;
}
.phone-action {
  flex: 1; background: rgba(255,255,255,0.16); padding: 10px 6px; border-radius: 10px;
  font-size: 10px; font-weight: 600; text-align: center;
}
.phone-tx-list { width: 100%; margin-top: auto; }
.phone-tx {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; padding: 8px 4px; border-top: 1px solid rgba(255,255,255,0.18);
}

/* Browser-window mockup (used on G Connect) */
.browser {
  position: relative; z-index: 2;
  width: 100%; max-width: 460px;
  background: #fff; border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px rgba(15,15,20,0.18), 0 14px 30px rgba(215,23,42,0.10);
  overflow: hidden;
}
.browser-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 12px; background: #f5f5f7; border-bottom: 1px solid var(--line);
}
.browser-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: #d8d8de; }
.browser-bar .url {
  flex: 1; background: #fff; border: 1px solid var(--line); border-radius: 6px;
  padding: 4px 10px; font-size: 11px; color: var(--muted); margin-left: 6px;
}
.browser-body { padding: 22px; }
.browser-body .checkout-amount {
  background: var(--red-soft); padding: 14px; border-radius: 10px;
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 14px;
}
.browser-body .checkout-amount .lbl { font-size: 11px; color: var(--muted); }
.browser-body .checkout-amount .val { font-size: 22px; font-weight: 800; color: var(--ink); }
.browser-body .pay-method-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 12px;
}
.browser-body .pay-method-grid .pm { height: 36px; }
.browser-body .pay-cta {
  display: block; background: var(--red); color: #fff; text-align: center;
  padding: 12px; border-radius: 8px; font-weight: 700; font-size: 13px;
}

/* Network diagram mockup (used on GMYR) */
.network-stage {
  position: relative; z-index: 2;
  width: 100%; max-width: 460px;
  display: grid; place-items: center;
}
.network-svg { width: 100%; height: auto; display: block; }
.network-pill {
  position: absolute; background: #fff;
  border: 1px solid var(--line); border-radius: 12px;
  padding: 8px 12px; font-size: 12px; font-weight: 700;
  box-shadow: var(--shadow-md);
  display: inline-flex; align-items: center; gap: 8px;
}
.network-pill .num { font-size: 18px; color: var(--red); }
.np-1 { top: -6%; left: 8%; }
.np-2 { top: 12%; right: 4%; }
.np-3 { bottom: 6%; left: 18%; }

/* ============ Feature grid (used on product pages) ============ */
.feature-grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(3, 1fr);
}
.feature {
  background: #fff; padding: 28px;
  border-radius: var(--radius); border: 1px solid var(--line);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature .ico {
  width: 44px; height: 44px; border-radius: 11px;
  background: var(--red-soft); color: var(--red);
  display: grid; place-items: center; margin-bottom: 14px;
}
.feature h3 { font-size: 18px; margin-bottom: 6px; }
.feature p { font-size: 14.5px; color: #4a4a55; margin: 0; line-height: 1.55; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr; } }

/* ============ Steps / How it works ============ */
.steps {
  display: grid; gap: 22px;
  grid-template-columns: repeat(3, 1fr);
  counter-reset: step;
}
.step {
  position: relative; padding: 28px 24px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  counter-increment: step;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; top: -14px; left: 24px;
  background: var(--red); color: #fff;
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center;
  font-weight: 800; font-size: 13px; letter-spacing: 0.04em;
  box-shadow: 0 8px 18px rgba(215,23,42,0.32);
}
.step h3 { font-size: 17px; margin: 14px 0 6px; }
.step p { font-size: 14px; margin: 0; color: #4a4a55; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* ============ Use cases / Persona cards ============ */
.usecase-grid {
  display: grid; gap: 22px; grid-template-columns: repeat(2, 1fr);
}
.usecase {
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: 18px;
  padding: 28px;
  display: flex; gap: 18px; align-items: flex-start;
}
.usecase .ic {
  width: 44px; height: 44px; border-radius: 11px;
  background: var(--red); color: #fff;
  display: grid; place-items: center; flex-shrink: 0;
}
.usecase h3 { font-size: 17px; margin: 0 0 6px; }
.usecase p { font-size: 14.5px; color: #4a4a55; margin: 0; }
@media (max-width: 700px) { .usecase-grid { grid-template-columns: 1fr; } }

/* ============ FAQ accordion ============ */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  margin-bottom: 12px; overflow: hidden;
}
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 18px 22px; font-weight: 700; font-size: 16px;
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; color: var(--red); font-size: 22px; font-weight: 400;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  padding: 0 22px 20px; margin: 0; font-size: 15px; color: #4a4a55;
}

/* ============ Side-by-side stat strip (product pages) ============ */
.metric-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  background: #fff; box-shadow: var(--shadow-sm);
}
.metric-strip .metric {
  padding: 28px 22px; text-align: center;
  border-right: 1px solid var(--line);
}
.metric-strip .metric:last-child { border-right: 0; }
.metric .num {
  font-size: clamp(22px, 3vw, 32px); font-weight: 800; color: var(--red);
  letter-spacing: -0.02em; line-height: 1;
}
.metric .lbl { font-size: 12px; color: var(--muted); margin-top: 6px; letter-spacing: 0.04em; text-transform: uppercase; }
@media (max-width: 760px) {
  .metric-strip { grid-template-columns: repeat(2, 1fr); }
  .metric-strip .metric:nth-child(2) { border-right: 0; }
  .metric-strip .metric:nth-child(3) { border-top: 1px solid var(--line); }
  .metric-strip .metric:nth-child(4) { border-top: 1px solid var(--line); border-right: 0; }
}

/* ============ PHOTO TREATMENTS ============ */

/* Hero photo (replaces .shield-stage / .device-stage on pages with real photos) */
.hero-photo {
  position: relative;
  width: 100%;
  max-width: 540px;
  margin-left: auto;
  aspect-ratio: 4/3;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(15,15,20,0.20), 0 14px 30px rgba(215,23,42,0.10);
}
.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(15,15,20,0.08));
  pointer-events: none;
}
@media (max-width: 900px) {
  .hero-photo { margin: 0 auto; }
}

/* Pillar photo banner — at top of each pillar card */
.pillar-photo {
  width: calc(100% + 64px);
  margin: -32px -32px 20px;
  height: 140px;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
}
.pillar-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.pillar:hover .pillar-photo img { transform: scale(1.04); }

/* Use case photo thumbnail — fits inside .usecase card */
.usecase-photo {
  width: 88px; height: 88px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-alt);
}
.usecase-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
/* Override the default .usecase .ic when photo is present */
.usecase.with-photo .ic { display: none; }

/* Trust section banner — full-width photo above the section heading */
.trust-banner {
  width: 100%;
  height: 320px;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 56px;
  position: relative;
  box-shadow: var(--shadow-md);
}
.trust-banner img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.trust-banner::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15,15,20,0.35));
  pointer-events: none;
}
.trust-banner .caption {
  position: absolute; left: 32px; bottom: 24px;
  color: #fff;
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
  z-index: 2;
}
@media (max-width: 700px) { .trust-banner { height: 220px; } .trust-banner .caption { left: 20px; bottom: 16px; font-size: 12px; } }

/* CTA strip with KL skyline backdrop */
.cta-strip.with-skyline {
  background:
    linear-gradient(180deg, rgba(215,23,42,0.94), rgba(179,16,31,0.96)),
    url('photos/kl-skyline-silhouette.jpg');
  background-size: cover;
  background-position: center bottom;
}

/* About section photo — sits in the second column where ecosystem diagram was */
.about-photo {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}
.about-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.about-photo .photo-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(180deg, transparent, rgba(15,15,20,0.55));
  color: #fff;
  padding: 36px 22px 18px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.04em;
}

/* Contact section banner — wide office interior photo above contact card */
.contact-banner {
  width: 100%;
  height: 280px;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 48px;
  position: relative;
  box-shadow: var(--shadow-md);
}
.contact-banner img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.contact-banner::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(15,15,20,0.30));
  pointer-events: none;
}
.contact-banner .caption {
  position: absolute; left: 28px; bottom: 22px;
  color: #fff;
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
  z-index: 2;
}
@media (max-width: 700px) {
  .contact-banner { height: 200px; }
  .contact-banner .caption { left: 18px; bottom: 14px; font-size: 12px; }
}

/* Small inline detail photo — used inside contact card next to address */
.contact-detail-photo {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 14px;
  box-shadow: var(--shadow-sm);
}
.contact-detail-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* Subtle architectural texture background — applied to contact section */
.section#contact {
  position: relative;
  background-image: url('photos/trust-bg-texture.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
}
.section#contact::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(255,255,255,0.97));
  pointer-events: none;
  z-index: 0;
}
.section#contact > .container {
  position: relative; z-index: 1;
}

/* GMYR compliance photo banner — sits in "What is GMYR" section */
.gmyr-compliance-photo {
  width: 100%; max-width: 880px;
  margin: 0 auto 32px;
  aspect-ratio: 16/7;
  border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow-md);
}
.gmyr-compliance-photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

/* ============ GMYR PAGE — DARK "DEEP TECH" THEME ============ */
/* GMYR is a blockchain settlement layer — gets a dark, premium "deep tech" treatment.
   GenieX Lab navy is used as the brand accent. The G Universe brand-mark in the nav
   stays red — it represents the parent brand consistently across every page.
   Dark mode is scoped via body.gmyr-themed so other pages stay light. */

body.gmyr-themed {
  /* Dark color tokens — override the brand vars across this page only */
  --red: #6d8eff;          /* bright accent (was brand red) — readable on dark */
  --red-dark: #5478e6;
  --red-soft: rgba(110,140,255,0.12);
  --ink: #eef1f7;          /* light text on dark */
  --ink-2: #cbd2dc;
  --muted: #8b95a8;
  --line: #1f2540;          /* subtle dark border */
  --bg: #0a1224;            /* page bg — deep navy black */
  --bg-alt: #0f1830;        /* slightly lighter, for alternating sections */

  background: var(--bg);
  color: var(--ink);
}

/* Text colors */
body.gmyr-themed p { color: #b8c0d0; }
body.gmyr-themed h1, body.gmyr-themed h2, body.gmyr-themed h3, body.gmyr-themed h4 { color: var(--ink); }
body.gmyr-themed .section-head p { color: var(--muted); }
body.gmyr-themed .product-hero-sub { color: #b8c0d0; }
body.gmyr-themed .product-hint { color: var(--muted); }

/* Nav */
body.gmyr-themed .nav { background: rgba(10,18,36,0.85); border-bottom-color: rgba(255,255,255,0.08); }
body.gmyr-themed .nav-links a { color: #b8c0d0; }
body.gmyr-themed .nav-links a:hover,
body.gmyr-themed .nav-links a.active { color: #fff; }
body.gmyr-themed .nav-toggle span { background: #fff; }
body.gmyr-themed .lang-toggle { border-color: rgba(255,255,255,0.20); }
body.gmyr-themed .lang-toggle a { color: #b8c0d0; }
body.gmyr-themed .lang-toggle a.is-active { background: var(--red); color: #fff; }

/* Brand mark stays red on every page (represents parent brand) */
body.gmyr-themed .brand-mark { background: #d7172a; box-shadow: 0 8px 20px rgba(215,23,42,0.25); }

/* Sections */
body.gmyr-themed .section { background: var(--bg); }
body.gmyr-themed .pillars { background: var(--bg-alt); border-color: var(--line); }
body.gmyr-themed .section.about { background: linear-gradient(180deg, var(--bg-alt), var(--bg)); }
body.gmyr-themed .section[style*="background: var(--bg-alt)"] { background: var(--bg-alt) !important; }

/* Cards & elevated surfaces */
body.gmyr-themed .corp-card,
body.gmyr-themed .feature,
body.gmyr-themed .pillar,
body.gmyr-themed .trust-card,
body.gmyr-themed .step,
body.gmyr-themed .faq-item,
body.gmyr-themed .metric-strip,
body.gmyr-themed .contact-card,
body.gmyr-themed .network-pill {
  background: #131c36;
  border-color: var(--line);
  color: var(--ink);
}
body.gmyr-themed .corp-card p,
body.gmyr-themed .feature p,
body.gmyr-themed .pillar p,
body.gmyr-themed .trust-card p,
body.gmyr-themed .step p,
body.gmyr-themed .faq-item p { color: #b8c0d0; }
body.gmyr-themed .corp-card strong { color: var(--ink); }
body.gmyr-themed .corp-card .ic { color: var(--red); }
body.gmyr-themed .trust-card .lbl { color: var(--muted); }
body.gmyr-themed .trust-card .meta { color: var(--muted); }
body.gmyr-themed .trust-card .name { color: var(--ink); }
body.gmyr-themed .trust-card .ic { background: var(--red-soft); color: var(--red); }
body.gmyr-themed .trust-card:hover { border-color: rgba(110,140,255,0.4); }

/* Trust strip */
body.gmyr-themed .trust-strip { background: var(--bg-alt); border-color: var(--line); }
body.gmyr-themed .trust-strip-inner { color: var(--muted); }
body.gmyr-themed .trust-strip-inner strong { color: var(--ink); }
body.gmyr-themed .trust-strip-inner .divider { background: var(--line); }
body.gmyr-themed .trust-strip-inner svg { color: var(--red); }

/* Eyebrow chip */
body.gmyr-themed .eyebrow {
  background: var(--red-soft);
  color: var(--red);
  border-color: rgba(110,140,255,0.20);
}
body.gmyr-themed .eyebrow .dot { background: var(--red); }

/* Crumb */
body.gmyr-themed .crumb { color: var(--muted); }
body.gmyr-themed .crumb a { color: var(--muted); }
body.gmyr-themed .crumb a:hover { color: #fff; }

/* Buttons */
body.gmyr-themed .btn-ghost { color: var(--ink); border-color: rgba(255,255,255,0.20); }
body.gmyr-themed .btn-ghost:hover { border-color: #fff; color: #fff; }
body.gmyr-themed .btn-primary { background: #002978; color: #fff; box-shadow: 0 10px 28px rgba(0,41,120,0.6); }
body.gmyr-themed .btn-primary:hover { background: #001f5c; box-shadow: 0 16px 36px rgba(0,41,120,0.75); }
body.gmyr-themed .btn-geniex { background: #002978; box-shadow: 0 10px 28px rgba(0,41,120,0.6); }
body.gmyr-themed .btn-geniex:hover { background: #001f5c; box-shadow: 0 16px 36px rgba(0,41,120,0.75); }
body.gmyr-themed .nav-cta { box-shadow: 0 6px 18px rgba(0,41,120,0.4); }
body.gmyr-themed .nav-cta:hover { box-shadow: 0 10px 24px rgba(0,41,120,0.55); }

/* Hero gradient backdrop */
body.gmyr-themed .product-hero::before {
  background:
    radial-gradient(900px 500px at 110% -10%, rgba(110,140,255,0.10), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(0,41,120,0.18), transparent 60%);
}
body.gmyr-themed .hero-photo { box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 14px 30px rgba(0,41,120,0.20); }

/* Compliance strip (if used) */
body.gmyr-themed .compliance { background: rgba(110,140,255,0.10); border-color: rgba(110,140,255,0.20); }
body.gmyr-themed .compliance .txt { color: #b8c0d0; }
body.gmyr-themed .compliance .ic { color: var(--red); }

/* Feature/pillar icons */
body.gmyr-themed .feature .ico,
body.gmyr-themed .pillar .ico { background: var(--red-soft); color: var(--red); }

/* Network pills */
body.gmyr-themed .network-pill .num { color: var(--red); }

/* FAQ */
body.gmyr-themed .faq-item summary { color: var(--ink); }
body.gmyr-themed .faq-item summary::after { color: var(--red); }

/* CTA strip — navy gradient with optional skyline */
body.gmyr-themed .cta-strip {
  background: linear-gradient(180deg, rgba(0,41,120,0.96), rgba(0,15,55,0.98));
}
body.gmyr-themed .cta-strip.with-skyline {
  background:
    linear-gradient(180deg, rgba(0,41,120,0.94), rgba(0,15,55,0.97)),
    url('photos/kl-skyline-silhouette.jpg');
  background-size: cover;
  background-position: center bottom;
}
body.gmyr-themed .cta-strip h2 { color: #fff; }
body.gmyr-themed .cta-strip p { color: rgba(255,255,255,0.85); }
body.gmyr-themed .cta-strip .btn-primary { background: #fff; color: #002978; box-shadow: 0 14px 30px rgba(0,0,0,0.3); }
body.gmyr-themed .cta-strip .btn-primary:hover { background: #fff; color: #001f5c; }

/* Photo treatments */
body.gmyr-themed .gmyr-compliance-photo { box-shadow: 0 30px 60px rgba(0,0,0,0.4); }
body.gmyr-themed .product-icon { box-shadow: 0 12px 30px rgba(0,41,120,0.4); }

/* Trust banner caption (when used) */
body.gmyr-themed .trust-banner .caption { color: #fff; }

/* Footer (already dark — slight adjustment) */
body.gmyr-themed .footer { background: #050911; }
body.gmyr-themed address { color: #6b7993; }

/* ============ Scroll reveal ============ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .product-hero { padding: 24px 0 40px; }
  .product-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .product-hero h1 { margin-bottom: 14px; }
  .product-hero-sub { font-size: 16px; }
  .crumb { margin-bottom: 12px; }
  .device-stage { margin: 0 auto; }
}
