/* ==========================================================
   RaPay — brand tokens
   Orange #F5AD27 · Black #000000 · White #FFFFFF · Light yellow #FFD400
   ========================================================== */
:root {
  --black: #000000;
  --ink: #0d0c0a;
  --surface: #151411;
  --surface-2: #1d1b17;
  --line: rgba(255, 255, 255, 0.09);
  --white: #ffffff;
  --muted: #a8a49c;
  --gold: #f5ad27;
  --yellow: #ffd400;
  --gold-soft: rgba(245, 173, 39, 0.14);
  --green: #3ddc84;

  --radius: 20px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  --max: 1180px;

  --font: "Google Sans", "Noto Sans Georgian", system-ui, sans-serif;
  --font-display: "Montserrat", "Google Sans", "Noto Sans Georgian", system-ui, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--black); color: var(--white);
  font-family: var(--font); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; font-weight: 800; font-family: var(--font-display); text-wrap: balance; }
p { margin: 0; }
button { font: inherit; cursor: pointer; }

.container { width: min(100% - 40px, var(--max)); margin-inline: auto; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--gold); color: var(--black); padding: 8px 14px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: 15px; white-space: nowrap;
  transition: transform .25s ease, background .2s ease, border-color .2s ease, box-shadow .25s ease;
}
.btn:hover { transform: translateY(-3px); }
.btn--gold { background: linear-gradient(120deg, var(--gold), var(--yellow)); color: var(--black); box-shadow: 0 8px 24px rgba(245, 173, 39, .3); }
.btn--gold:hover { box-shadow: 0 14px 34px rgba(245, 173, 39, .45); }
.btn--ghost { border-color: rgba(255,255,255,.22); color: var(--white); background: rgba(255,255,255,.03); }
.btn--ghost:hover { border-color: var(--gold); }
.btn--dark { background: var(--black); color: var(--white); }
.btn--sm { padding: 9px 18px; font-size: 14px; }

.eyebrow { display: inline-block; color: var(--gold); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }

/* ---------- Header ---------- */
.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(0,0,0,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__word { font-family: "Montserrat", sans-serif; font-style: italic; font-weight: 900; font-size: 22px; letter-spacing: .02em; }
.nav__links { display: flex; gap: 30px; font-size: 15px; color: #d4d4d4; }
.nav__actions { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; padding: 3px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.lang button { border: 0; background: none; color: var(--muted); font-size: 12px; font-weight: 700; padding: 6px 11px; border-radius: 999px; }
.lang button[aria-pressed="true"] { background: var(--gold); color: var(--black); }
.nav__burger { display: none; width: 40px; height: 40px; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav__burger span { width: 18px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .25s; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Hero (centered + stage) ---------- */
.hero { position: relative; overflow: hidden; padding: 80px 0 0; }
.hero__glow { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(700px 420px at 50% 75%, rgba(245,173,39,.22), transparent 70%), radial-gradient(500px 300px at 50% 0%, rgba(255,212,0,.08), transparent 70%); }
.hero__glow::after { content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1.5px); background-size: 28px 28px; opacity: .5;
  mask-image: radial-gradient(ellipse at 50% 50%, #000 15%, transparent 65%); -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 15%, transparent 65%); }
.hero__center { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(245,173,39,.35); background: var(--gold-soft); color: var(--yellow); font-weight: 600; font-size: 14px; margin-bottom: 26px; }
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px rgba(255,212,0,.2); }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(255,212,0,0); } }
.hero__title { font-size: clamp(38px, 6vw, 76px); letter-spacing: -.015em; max-width: 15ch; }
html[lang="ka"] .hero__title { font-size: clamp(32px, 5vw, 60px); line-height: 1.25; max-width: 18ch; }
.hero__title em { font-style: normal; background: linear-gradient(90deg, var(--gold), var(--yellow)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero__sub { color: var(--muted); font-size: 18px; margin-top: 22px; max-width: 580px; }
.hero__cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; justify-content: center; }

.stage { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 40px; padding: 70px 0 60px; }
.card-pay {
  position: relative; width: 340px; max-width: 100%; aspect-ratio: 1.586;
  border-radius: 22px; padding: 26px;
  background: linear-gradient(135deg, #2a2723 0%, #0b0a09 55%, #2a1f08 100%);
  border: 1px solid rgba(255,255,255,.12); box-shadow: var(--shadow), 0 0 80px rgba(245,173,39,.18), inset 0 1px 0 rgba(255,255,255,.08);
  display: flex; flex-direction: column; justify-content: space-between; overflow: hidden;
}
.card-pay::before { content: ""; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(245,173,39,.4), transparent 65%); }
.card-pay__top { display: flex; justify-content: space-between; align-items: center; }
.chip { width: 42px; height: 32px; border-radius: 7px; background: linear-gradient(135deg, var(--yellow), var(--gold)); }
.card-pay__num { font-family: "Montserrat", sans-serif; font-weight: 600; font-size: 20px; letter-spacing: .12em; }
.card-pay__foot { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); font-weight: 600; letter-spacing: .1em; }
.stage__goal { justify-self: end; width: 100%; max-width: 300px; }
.stage__feed { display: grid; gap: 16px; justify-self: start; }

.float { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px; background: rgba(29,27,23,.85); border: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: var(--shadow); }
.float strong { display: block; font-size: 14px; }
.float small { color: var(--gold); font-weight: 700; font-size: 14px; }
.float__dot { width: 34px; height: 34px; border-radius: 10px; background: rgba(61,220,132,.15); position: relative; flex: none; }
.float__dot::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--green); font-weight: 800; }
.float__avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--black); font-weight: 800; flex: none; }

.goal { padding: 18px 20px; border-radius: 18px; background: rgba(21,20,17,.92); border: 1px solid var(--line); box-shadow: var(--shadow); }
.goal__head { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.goal__amt { color: var(--gold); white-space: nowrap; }
.bar { height: 10px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; }
.bar span { display: block; height: 100%; width: var(--p); border-radius: inherit; background: linear-gradient(90deg, var(--gold), var(--yellow)); transform-origin: left; animation: grow 1.6s cubic-bezier(.2,.8,.2,1) both .4s; }
.goal__meta { display: flex; justify-content: space-between; margin-top: 12px; color: var(--muted); font-size: 14px; }
.goal__meta span:first-child { color: var(--white); font-weight: 700; font-size: 22px; }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- Stats strip ---------- */
.stats-strip { padding: 60px 0 0; }
.stats { margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stats div { text-align: center; padding: 26px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.stats dt { font-family: "Montserrat", sans-serif; font-weight: 900; font-style: italic; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; font-variant-numeric: tabular-nums;
  background: linear-gradient(90deg, var(--gold), var(--yellow)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stats dd { margin: 6px 0 0; color: var(--muted); font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section--alt { background: var(--ink); border-block: 1px solid var(--line); }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section__head--left { text-align: left; margin-left: 0; }
.section__head h2, .products h2, .biz h2, .contact h2, .faq-wrap h2 { font-size: clamp(28px, 3.4vw, 44px); }

/* Bento features */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.feature--big { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-end;
  background: radial-gradient(400px 260px at 80% 10%, rgba(245,173,39,.22), transparent 70%), var(--surface); min-height: 360px; }
.feature--big h3 { font-size: 30px; }
.feature--big p { font-size: 17px; max-width: 420px; }
.feature--wide { grid-column: span 4; display: flex; gap: 22px; align-items: center; }
.feature--wide .feature__icon { margin: 0; flex: none; }
.feature__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--gold-soft); margin-bottom: 22px; }
.feature__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 19px; margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: 15px; }
.badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.badges span { font-size: 12px; font-weight: 700; letter-spacing: .06em; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(245,173,39,.4); color: var(--yellow); }

/* Products: vertical tabs */
.products { display: grid; grid-template-columns: 360px 1fr; gap: 56px; align-items: start; }
.products__side h2 { margin-bottom: 30px; }
.products__panels { min-width: 0; }
.tabs { display: grid; gap: 8px; }
.tabs button { display: flex; align-items: center; gap: 14px; text-align: left; border: 1px solid var(--line); background: var(--surface); color: var(--muted); padding: 14px 18px; border-radius: 16px; font-weight: 600; font-size: 16px; transition: background .2s, color .2s, border-color .2s, transform .25s; }
.tabs button:hover { color: var(--white); transform: translateX(6px); }
.tabs__n { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 13px; background: rgba(255,255,255,.06); flex: none; }
.tabs button[aria-selected="true"] { background: linear-gradient(120deg, var(--gold), var(--yellow)); color: var(--black); border-color: transparent; }
.tabs button[aria-selected="true"] .tabs__n { background: rgba(0,0,0,.15); }
.panel { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; padding: 44px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); animation: fade .45s ease; min-height: 420px; }
.panel[hidden] { display: none; }
.panel__copy h3 { font-size: clamp(22px, 2.4vw, 30px); margin-bottom: 16px; }
.panel__copy p { color: var(--muted); font-size: 16px; margin-bottom: 28px; }
.panel__demo { display: flex; justify-content: center; }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.mock { width: 100%; max-width: 320px; padding: 22px; border-radius: 20px; background: var(--black); border: 1px solid var(--line); display: grid; gap: 12px; }
.mock__row { display: flex; justify-content: space-between; font-size: 15px; margin-bottom: 4px; }
.mock__field { padding: 12px 14px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); color: #cfcfcf; font-family: "Montserrat", sans-serif; font-size: 14px; letter-spacing: .06em; }
.mock__split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mock__pay { text-align: center; padding: 13px; border-radius: 10px; background: linear-gradient(120deg, var(--gold), var(--yellow)); color: var(--black); font-weight: 800; }
.mock__wallets { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mock__wallets span { text-align: center; padding: 10px; border-radius: 10px; background: var(--white); color: var(--black); font-weight: 700; font-size: 14px; }

.donations { width: 100%; max-width: 360px; display: grid; gap: 14px; }
.don { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: 16px; background: var(--black); border: 1px solid var(--line); }
.don strong { font-size: 15px; }
.don p { color: var(--muted); font-size: 14px; }
.don__amt { flex: none; min-width: 66px; text-align: center; padding: 8px 10px; border-radius: 10px; font-weight: 800; font-size: 14px; background: rgba(255,255,255,.06); }
.don--mid .don__amt { background: var(--gold-soft); color: var(--gold); }
.don--top { border-color: rgba(245,173,39,.5); box-shadow: 0 0 0 4px rgba(245,173,39,.06); }
.don--top .don__amt { background: var(--gold); color: var(--black); }
.goal--big { width: 100%; max-width: 380px; padding: 26px; }
.goal--big .bar { height: 14px; }

.qr { text-align: center; }
.qr__code { width: 190px; height: 190px; margin: 0 auto 18px; border-radius: 18px; background: var(--white); position: relative; }
.qr__code::before { content: ""; position: absolute; inset: 16px;
  background: linear-gradient(var(--black), var(--black)) 0 0 / 30% 30% no-repeat, linear-gradient(var(--black), var(--black)) 100% 0 / 30% 30% no-repeat, linear-gradient(var(--black), var(--black)) 0 100% / 30% 30% no-repeat, repeating-conic-gradient(var(--black) 0 25%, transparent 0 50%) 50% 50% / 16px 16px; }
.qr__code::after { content: ""; position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; transform: translate(-50%, -50%); border-radius: 10px; background: var(--black) url("../assets/logo-mark.svg") center / 70% no-repeat; border: 4px solid var(--white); }
.qr__link { font-family: "Montserrat", sans-serif; color: var(--muted); display: inline-block; }
.qr__link b { color: var(--gold); }

/* Timeline */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 16%; right: 16%; top: 28px; height: 2px; background: linear-gradient(90deg, var(--gold), var(--yellow), var(--gold)); opacity: .6; }
.tl { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; position: relative; }
.tl__num { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-family: "Montserrat", sans-serif; font-weight: 900; font-size: 22px; background: var(--black); color: var(--gold); border: 2px solid var(--gold); box-shadow: 0 0 0 8px var(--black), 0 0 30px rgba(245,173,39,.35); position: relative; z-index: 1; flex: none; }
.tl__card { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); width: 100%; }
.tl__card h3 { font-size: 20px; margin-bottom: 10px; }
.tl__card p { color: var(--muted); }

/* Business */
.biz { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.biz__copy > p:not(.eyebrow) { color: var(--muted); font-size: 17px; margin: 18px 0 24px; }
.checks { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 12px; justify-items: start; }
.checks li { padding-left: 32px; position: relative; font-weight: 500; background-position: 32px 100%; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; background: var(--gold-soft); color: var(--gold); }
.code { margin: 0; padding: 30px; border-radius: 24px; overflow-x: auto; background: var(--black); border: 1px solid var(--line); box-shadow: var(--shadow); font: 500 14px/1.75 "Cascadia Code", "Consolas", ui-monospace, monospace; color: #e5e5e5; min-width: 0; }
.code .c { color: #6b6b6b; } .code .k { color: var(--gold); } .code .f { color: #7cc7ff; } .code .s { color: #9be29b; } .code .n { color: var(--yellow); }

/* FAQ two-column */
.faq-wrap { display: grid; grid-template-columns: 380px 1fr; gap: 60px; align-items: start; }
.faq-wrap__side { position: sticky; top: 110px; }
.faq-wrap__side > p:not(.eyebrow) { color: var(--muted); margin: 16px 0 26px; }
.faq { display: grid; gap: 12px; min-width: 0; }
.faq details { border-radius: 16px; background: var(--surface); border: 1px solid var(--line); transition: border-color .2s; }
.faq details[open] { border-color: rgba(245,173,39,.45); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; font-weight: 700; font-size: 17px; position: relative; }
.faq summary:hover { color: var(--yellow); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 6px; text-decoration-thickness: 2px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold); font-size: 20px; transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--muted); }

/* CTA banner */
.cta { padding: 20px 0 100px; }
.cta__inner { text-align: center; padding: 70px 30px; border-radius: 34px; background: linear-gradient(120deg, var(--gold) 0%, var(--yellow) 100%); color: var(--black); position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; }
.cta__inner::before, .cta__inner::after { content: ""; position: absolute; width: 260px; height: 260px; background: url("../assets/logo-mark.svg") center / contain no-repeat; filter: brightness(0); opacity: .07; }
.cta__inner::before { left: -40px; top: -60px; transform: rotate(12deg); }
.cta__inner::after { right: -40px; bottom: -80px; transform: rotate(-12deg); }
.cta h2 { font-size: clamp(26px, 3.4vw, 42px); max-width: 20ch; }
.cta p { margin: 14px 0 28px; font-size: 17px; opacity: .8; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact__copy > p:not(.eyebrow) { color: var(--muted); font-size: 17px; margin: 18px 0 30px; }
.contact__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.contact__list li { display: flex; flex-direction: column; align-items: flex-start; padding: 16px 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.contact__list li > span:first-child { font-size: 13px; color: var(--muted); }
.contact__list a, .contact__list li > span:last-child { font-weight: 700; }
.form { display: grid; gap: 8px; padding: 34px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
.form label { font-size: 14px; font-weight: 600; color: #d4d4d4; margin-top: 8px; }
.form input, .form textarea { width: 100%; padding: 13px 15px; border-radius: 12px; border: 1px solid var(--line); background: var(--black); color: var(--white); font: inherit; resize: vertical; transition: border-color .2s; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--gold); }
.form .invalid { border-color: #ff6b6b; }
.form .btn { margin-top: 14px; }
.form__note { font-size: 14px; min-height: 1.4em; color: var(--green); }
.form__note.err { color: #ff6b6b; }

/* Footer */
.footer { padding: 70px 0 30px; border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer__tag { color: var(--muted); margin-top: 16px; max-width: 280px; font-size: 15px; }
.footer h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); margin-bottom: 16px; }
.footer__grid > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: 15px; color: #cfcfcf; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.socials { display: flex; gap: 20px; }

/* ---------- Support button ---------- */
.support { position: fixed; z-index: 60; right: calc(22px + env(safe-area-inset-right, 0px)); bottom: calc(22px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.support__btn { display: inline-flex; align-items: center; gap: 10px; border: 0; padding: 14px 22px 14px 16px; border-radius: 999px; font-weight: 800; color: var(--black);
  background: linear-gradient(120deg, var(--gold), var(--yellow)); box-shadow: 0 12px 30px rgba(245,173,39,.45), 0 0 0 6px rgba(245,173,39,.12);
  animation: float 6s ease-in-out infinite; transition: box-shadow .25s ease, transform .25s ease; }
.support__btn:hover { box-shadow: 0 16px 40px rgba(245,173,39,.6), 0 0 0 10px rgba(245,173,39,.14); transform: scale(1.04); }
.support__btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.support__btn .i-close { display: none; }
.support__btn[aria-expanded="true"] .i-chat { display: none; }
.support__btn[aria-expanded="true"] .i-close { display: block; }
.support__panel { width: min(340px, calc(100vw - 44px)); padding: 20px; border-radius: 22px; background: rgba(21,20,17,.96); border: 1px solid rgba(245,173,39,.3); box-shadow: var(--shadow); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transform-origin: bottom right; animation: pop .3s cubic-bezier(.2,.9,.3,1.2); }
@keyframes pop { from { opacity: 0; transform: scale(.85) translateY(10px); } to { opacity: 1; transform: none; } }
.support__head { display: flex; gap: 12px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.support__head strong { display: block; }
.support__head small { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; }
.support__live { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(61,220,132,.2); flex: none; }
.support__hi { margin: 14px 0; font-weight: 600; }
.support__opts { display: grid; gap: 8px; }
.support__opt { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--black); border: 1px solid var(--line); font-weight: 600; font-size: 14px; transition: border-color .2s, transform .2s; }
.support__opt:hover { border-color: var(--gold); transform: translateX(-4px); }
.support__opt:hover span:last-child { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.support__ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold); font-weight: 800; flex: none; }

/* ==========================================================
   Motion: levitation, tilt, magnetic letters, brand cursor
   ========================================================== */
@media (pointer: fine) {
  html, body {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23FFD400'/%3E%3Cstop offset='1' stop-color='%23F5AD27'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M3 2l20 9.5-8.6 2.3L10.2 22z' fill='url(%23g)' stroke='%23000' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") 3 2, auto;
  }
  a, button, summary, [role="tab"], label {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Cpath d='M3 2l20 9.5-8.6 2.3L10.2 22z' fill='%23FFD400' stroke='%23000' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") 3 2, pointer;
  }
  input, textarea { cursor: text; }
}
/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .stage { grid-template-columns: 1fr; justify-items: center; gap: 26px; }
  .stage__goal, .stage__feed { justify-self: center; }
  .stage__feed { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .feature--wide { grid-column: span 2; }
  .products, .faq-wrap, .biz, .contact { grid-template-columns: 1fr; }
  .faq-wrap__side { position: static; }
  .panel { grid-template-columns: 1fr; padding: 30px; min-height: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav__links { position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0; padding: 12px 20px 24px; background: rgba(0,0,0,.97); border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform .3s ease; z-index: -1; }
  .nav__links.open { transform: none; }
  .nav__links a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav__burger { display: flex; }
  .nav__actions .btn--ghost { display: none; }
  .timeline { grid-template-columns: 1fr; }
  .timeline::before { left: 28px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .tl { flex-direction: row; text-align: left; align-items: flex-start; }
}
@media (max-width: 600px) {
  .section { padding: 80px 0; }
  .hero { padding-top: 50px; }
  .stats { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .feature--big, .feature--wide { grid-column: auto; grid-row: auto; min-height: 0; }
  .feature--wide { flex-direction: column; align-items: flex-start; }
  .stage__feed { grid-template-columns: 1fr; }
  .card-pay { width: 280px; padding: 20px; }
  .card-pay__num { font-size: 16px; }
  .panel { padding: 22px; }
  .cta__inner { padding: 46px 22px; }
  .footer__grid { grid-template-columns: 1fr; }
  .support__btn span { display: none; }
  .support__btn { padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ==========================================================
   Brand icons (payment methods, apps)
   ========================================================== */
.accepts { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 30px; }
.accepts__label { color: var(--muted); font-size: 14px; margin-right: 4px; }
.chipico { width: 58px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--white); color: var(--black); box-shadow: 0 6px 18px rgba(0,0,0,.35); transition: transform .25s ease, box-shadow .25s ease; }
.chipico .ico { font-size: 34px; }
.chipico:hover { transform: translateY(-4px) rotate(-3deg); box-shadow: 0 10px 24px rgba(245,173,39,.35); }
.chipico:has(.ico--visa) { color: #1a1f71; }
.chipico:has(.ico--mastercard) { color: #eb001b; }


.mock__field--card { display: flex; justify-content: space-between; align-items: center; }
.mock__field--card .ico { font-size: 34px; color: var(--white); }
.wallet { display: grid; place-items: center; height: 42px; padding: 0 !important; }
.wallet .ico { font-size: 44px; }
.wallet--apple { background: var(--white) !important; color: var(--black) !important; }
.wallet--google { background: var(--black) !important; color: var(--white) !important; border: 1px solid rgba(255,255,255,.3); }

.logo-row { display: flex; gap: 22px; align-items: center; margin-top: 22px; color: rgba(255,255,255,.75); }
.logo-row .ico { font-size: 44px; transition: color .2s ease, transform .25s ease; }
.logo-row .ico:hover { color: var(--yellow); transform: translateY(-3px); }

.support__ic .ico { font-size: 17px; }
.support__ic--wa { background: rgba(37,211,102,.15); color: #25d366; }
.support__ic--ms { background: rgba(0,132,255,.15); color: #3b9bff; }
.support__ic--tg { background: rgba(38,165,228,.15); color: #2aabee; }

.socials a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background-image: none !important; padding: 0 !important; transition: color .2s, border-color .2s, transform .25s, background-color .2s; }
.socials a .ico { font-size: 18px; }
.socials a:hover { color: var(--black); background-color: var(--gold); border-color: var(--gold); transform: translateY(-3px); }

/* ==========================================================
   Clean pass: underline hover, floating objects, card fade
   ========================================================== */

/* Shiny orange-to-yellow underline on hover. Nothing moves. */
.ul {
  background-image: linear-gradient(90deg, var(--gold), var(--yellow) 50%, var(--gold));
  background-size: 0% 2px; background-repeat: no-repeat; background-position: 0 100%;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  padding-bottom: 3px;
  transition: background-size .45s cubic-bezier(.2,.8,.2,1);
}
:is(h1, h2, h3, p, dd, li, summary, span, strong):hover > .ul,
.nav__links a:hover .ul { background-size: 100% 2px; }
.hero__title .ul, .section__head h2 .ul { padding-bottom: 6px; }
:is(.hero__title, h2):hover > .ul { background-size: 100% 3px; }
.ul:hover { filter: drop-shadow(0 2px 6px rgba(255, 212, 0, .35)); }
.cta .ul { background-image: linear-gradient(90deg, #000, #3a2a00); }

.nav__links a, .footer__grid a, .contact__list a, .qr__link {
  background-image: linear-gradient(90deg, var(--gold), var(--yellow) 50%, var(--gold));
  background-size: 0% 2px; background-repeat: no-repeat; background-position: 0 100%;
  padding-bottom: 3px; transition: background-size .45s cubic-bezier(.2,.8,.2,1), color .2s ease;
}
.nav__links a:hover, .footer__grid a:hover, .contact__list a:hover, .qr__link:hover { background-size: 100% 2px; color: var(--white); }

/* Floating objects: one calm motion */
.lev { animation: float var(--dur, 6.5s) ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* Four cards that fade into each other */
.cards { position: relative; width: 340px; max-width: 100%; aspect-ratio: 1.586; }
.cards .card-pay { position: absolute; inset: 0; width: 100%; transform: rotate(-6deg); opacity: 0; animation: cardfade 12s ease-in-out infinite; }
.cards .card-pay:nth-child(1) { animation-delay: 0s; }
.cards .card-pay:nth-child(2) { animation-delay: 3s; }
.cards .card-pay:nth-child(3) { animation-delay: 6s; }
.cards .card-pay:nth-child(4) { animation-delay: 9s; }
@keyframes cardfade { 0% { opacity: 0; } 6% { opacity: 1; } 25% { opacity: 1; } 31% { opacity: 0; } 100% { opacity: 0; } }
.card-pay__foot .ico { font-size: 44px; color: var(--white); }
.card-pay__bank { font-family: "Montserrat", sans-serif; font-weight: 900; font-style: italic; font-size: 20px; letter-spacing: .02em; }
.card-pay--tbc { background: linear-gradient(135deg, #00aeef 0%, #0066b3 55%, #003a70 100%); }
.card-pay--tbc::before { background: radial-gradient(circle, rgba(255,255,255,.35), transparent 65%); }
.card-pay--bog { background: linear-gradient(135deg, #ff6a13 0%, #e04e00 45%, #1a1f3a 100%); }
.card-pay--bog::before { background: radial-gradient(circle, rgba(255,212,0,.4), transparent 65%); }
.card-pay--amex { background: linear-gradient(135deg, #8fd3f4 0%, #2e77bc 50%, #1d4f8a 100%); }
.card-pay--amex::before { background: radial-gradient(circle, rgba(255,255,255,.4), transparent 65%); }
.card-pay--tbc .card-pay__foot, .card-pay--bog .card-pay__foot, .card-pay--amex .card-pay__foot { color: rgba(255,255,255,.85); }
.card-pay--amex .card-pay__bank { font-size: 15px; letter-spacing: .08em; }

/* Sign-up card with the RA logo */
.cta__logo { width: 84px; height: 84px; border-radius: 24px; display: grid; place-items: center; background: var(--black); box-shadow: 0 14px 30px rgba(0,0,0,.3); margin-bottom: 22px; }
.cta__logo img { width: 52px; height: auto; }

@media (max-width: 600px) {
  .cards { width: 280px; }
}
@media (prefers-reduced-motion: reduce) {
  .cards .card-pay { animation: none !important; opacity: 0; }
  .cards .card-pay:first-child { opacity: 1; }
}
.feature--big { position: relative; overflow: hidden; }
.feature--big::before { content: ""; position: absolute; right: -30px; top: 20px; width: 300px; height: 190px; background: url("../assets/logo-mark.svg") center / contain no-repeat; opacity: .08; transform: rotate(-8deg); pointer-events: none; }

[hidden] { display: none !important; }
#user-button { display: flex; align-items: center; }

/* Cards: JS switches to the next one every 3 seconds with a soft cross-fade */
.cards .card-pay { animation: none; opacity: 0; transition: opacity .8s ease; }
.cards .card-pay.is-on { opacity: 1; }
.support__ic--dc { background: rgba(88,101,242,.18); color: #7b86ff; }
.shuffle > * { will-change: transform; }

/* ==========================================================
   RaPay sign-in window (Google / YouTube / TikTok / email)
   ========================================================== */
.rp-auth { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px max(16px, env(safe-area-inset-left, 0px)); }
.rp-auth__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.rp-auth__card { position: relative; width: min(420px, 100%); padding: 34px 28px 24px; border-radius: 24px; text-align: center;
  background: radial-gradient(360px 200px at 50% -10%, rgba(245,173,39,.18), transparent 70%), #151411;
  border: 1px solid rgba(245,173,39,.3); box-shadow: 0 30px 70px rgba(0,0,0,.6); animation: pop .3s cubic-bezier(.2,.9,.3,1.2); }
.rp-auth__close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line); background: #000; color: var(--white); display: grid; place-items: center; }
.rp-auth__close svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.rp-auth__logo { margin: 0 auto 14px; }
.rp-auth__card h2 { font-size: 24px; }
.rp-auth__sub { color: var(--muted); margin: 8px 0 22px; font-size: 15px; }
.rp-auth__btns { display: grid; gap: 10px; }
.rp-auth__btn { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; padding: 13px 16px; border-radius: 14px;
  border: 1px solid rgba(255,255,255,.18); background: #000; color: var(--white); font-weight: 700; font-size: 15px; transition: border-color .2s, transform .2s, background .2s; }
.rp-auth__btn:hover:not(:disabled) { border-color: var(--gold); transform: translateY(-2px); }
.rp-auth__btn:disabled { opacity: .55; cursor: progress; }
.rp-auth__btn .ico { font-size: 20px; }
.rp-auth__btn[data-oauth="oauth_google"]:not(.rp-auth__btn--yt) .ico { color: #4285f4; }
.rp-auth__btn--yt .ico { color: #ff0000; }
.rp-auth__btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.rp-auth__btn--email { background: linear-gradient(120deg, var(--gold), var(--yellow)); color: var(--black); border-color: transparent; }
.rp-auth__or { display: flex; align-items: center; gap: 12px; margin: 16px 0; color: var(--muted); font-size: 13px; }
.rp-auth__or::before, .rp-auth__or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.rp-auth__captcha { margin-top: 12px; display: flex; justify-content: center; }
.rp-auth__captcha:empty { display: none; }
.rp-auth__msg { min-height: 1.3em; margin-top: 10px; font-size: 14px; color: var(--yellow); }
.rp-auth__msg.err { color: #ff6b6b; }
.rp-auth__note { color: var(--muted); font-size: 12.5px; margin-top: 6px; }
.rp-auth__legal { color: var(--muted); font-size: 12.5px; margin-top: 10px; }
.rp-auth__legal a { color: var(--gold); }
body.rp-auth-open { overflow: hidden; }
.nav__dash { display: inline-flex; }
