:root{
  --ink:#F8FAFC;
  --muted:rgba(248,250,252,.74);
  --muted2:rgba(248,250,252,.58);
  --line:rgba(255,255,255,.12);
  --card:rgba(2,6,23,.55);
  --card2:rgba(2,6,23,.70);
  --shadow: 0 18px 60px rgba(0,0,0,.45);
  --shadow2: 0 10px 32px rgba(0,0,0,.35);
  --radius:20px;

  --p1:#7C3AED;
  --p2:#06B6D4;
  --p3:#F59E0B;
  --p4:#22C55E;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background: #05060b;
  overflow-x:hidden;
}
a{color:inherit; text-decoration:none}
.container{max-width:1180px; margin:0 auto; padding:0 22px}

/* Background */
.bg{
  position:fixed; inset:0;
  background: url("../assets/bg.svg") center/cover no-repeat;
  z-index:-6; /* fallback behind video */
  opacity:.22;
  filter:saturate(0.9) contrast(0.95);
}
.overlay{
  position:fixed; inset:0;
  /* darker overlay so the video pops more */
  background: linear-gradient(180deg, rgba(2,6,23,.35), rgba(2,6,23,.46) 35%, rgba(2,6,23,.58));
  z-index:-4;
}
.noise{
  position:fixed; inset:-30%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='.25'/%3E%3C/svg%3E");
  opacity:.10;
  pointer-events:none;
  z-index:-3;
}

/* Header */
header{
  position:sticky; top:0; z-index:60;
  backdrop-filter: blur(14px);
  background: rgba(2,6,23,.55);
  border-bottom:1px solid var(--line);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 0;
  gap:14px;
}
.brand{
  display:flex; align-items:center; gap:12px;
  min-width: 220px;
}
.brand img{
  width:38px; height:38px; border-radius:14px; object-fit:cover;
  background: rgba(255,255,255,.8);
  border:1px solid var(--line);
  box-shadow: var(--shadow2);
}
.brand .name{font-weight:900; letter-spacing:.2px}
.brand .tag{font-size:12px; color:var(--muted2); margin-top:2px}

.links{
  display:flex; gap:18px; align-items:center;
}
.links a{font-size:13px; color:var(--muted)}
.links a:hover{color:var(--ink)}

.right{
  display:flex; align-items:center; gap:10px;
}
/* Language selector: custom pill that matches the "Get Started" button (esp. on mobile)
   We keep the native <select> (for accessibility + iOS picker) but make it invisible and
   render a styled pill with an icon + label behind it. */
.lang-wrap{
  position: relative;
  min-width: 128px; /* stays button-sized even for short labels like “中文” */
}

.lang-wrap .lang-visual{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  pointer-events: none; /* click passes through to the native select */
  white-space: nowrap;
}

.lang-wrap .lang-icon{ width: 16px; height: 16px; opacity: .9; }
.lang-wrap .lang-chevron{ width: 14px; height: 14px; opacity: .85; margin-left: 2px; }

/* Invisible native select overlay */
.lang-wrap > select.lang{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  border: none;
  background: transparent;
  padding: 0;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid var(--line);
  background: rgba(2,6,23,.50);
  color:var(--ink);
  font-weight:800;
  font-size:13px;
  cursor:pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease;
}
.btn:hover{transform: translateY(-1px); box-shadow: var(--shadow2); border-color: rgba(15,23,42,.18)}
.btn.primary{
  border-color: rgba(124,58,237,.22);
  background: linear-gradient(135deg, rgba(124,58,237,.14), rgba(6,182,212,.12), rgba(245,158,11,.12));
}
.btn.primary:hover{border-color: rgba(124,58,237,.35)}
.pill{
  display:inline-flex; gap:10px; align-items:center;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid var(--line);
  background: rgba(2,6,23,.45);
  color:var(--muted);
  font-size:12px;
}
.dot{width:10px; height:10px; border-radius:999px; background: var(--p1)}
.dot.c2{background: var(--p2)}
.dot.c3{background: var(--p3)}
.dot.c4{background: var(--p4)}

/* Hero */
.hero{padding:76px 0 34px position:relative; overflow:hidden;}
.hero-grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:18px;
  align-items:stretch;
}
.h1{
  font-size:56px;
  line-height:1.02;
  letter-spacing:-1.2px;
  margin:14px 0 12px;
}
.grad{
  background: linear-gradient(90deg, var(--p1), var(--p2), var(--p3));
  -webkit-background-clip:text; background-clip:text;
  color:transparent;
}
.lead{
  margin:0;
  color:var(--muted);
  font-size:16px;
  line-height:1.9;
  max-width:72ch;
}
.hero-cta{display:flex; gap:12px; margin-top:20px; flex-wrap:wrap}

/* Make the hero primary CTA match the "Start Now" style (wide gradient pill). */
.hero .hero-cta .btn.primary{
  width: min(420px, 100%);
  padding: 16px 22px;
  font-size: 15px;
  letter-spacing: .2px;
  border: 0;
  background: linear-gradient(90deg, #3b82f6, #7c3aed);
  box-shadow: 0 14px 40px rgba(59,130,246,.18);
}
.hero .hero-cta .btn.primary:hover{
  transform: translateY(-1px);
  box-shadow: 0 18px 56px rgba(124,58,237,.22);
}
.note{
  margin-top:16px;
  padding:12px 14px;
  border-radius:14px;
  border:1px dashed rgba(255,255,255,.22);
  background: rgba(2,6,23,.40);
  color:var(--muted2);
  font-size:12px;
  line-height:1.75;
}

.panel{
  border:1px solid var(--line);
  background: var(--card2);
  border-radius: 26px;
  box-shadow: var(--shadow);
  overflow:hidden;
}
.panel-top{
  padding:16px 18px;
  display:flex; justify-content:space-between; align-items:center; gap:10px;
  border-bottom:1px solid var(--line);
}
.panel-top .title{font-weight:900}
.panel-top .sub{font-size:12px; color:var(--muted2); margin-top:4px}
.panel-body{padding:16px 18px 18px}
.kpis{display:grid; grid-template-columns: repeat(3,1fr); gap:10px}
.kpi{
  padding:12px;
  border-radius:16px;
  background: rgba(255,255,255,.85);
  border:1px solid rgba(15,23,42,.10);
}
.kpi b{display:block; font-size:14px}
.kpi span{display:block; margin-top:6px; font-size:12px; color:var(--muted2); line-height:1.6}
.hero-illus{width:100%; display:block}

.logo-strip{
  margin-top:16px;
  padding:12px 14px;
  border:1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.75);
  border-radius:16px;
}
.logo-strip img{width:100%; display:block; opacity:.8}

/* Sections */
.section{padding:72px 0}
.section h2{
  margin:0 0 10px;
  font-size:34px;
  letter-spacing:-.6px;
}
.section p.sub{
  margin:0 0 24px;
  color:var(--muted);
  line-height:1.9;
  max-width:92ch;
}
.grid4{display:grid; grid-template-columns: repeat(4, 1fr); gap:14px}
.grid3{display:grid; grid-template-columns: repeat(3, 1fr); gap:14px}
.grid2{display:grid; grid-template-columns: repeat(2, 1fr); gap:14px}

/* Utilities */
.center{ text-align:center; margin-left:auto; margin-right:auto; }

/* Referral (replaces Use cases section) */
.ref-grid{ margin-top:18px; gap:16px; }
.ref-card{ padding:24px; border-radius:26px; position:relative; overflow:hidden; }
.ref-head{ display:flex; align-items:flex-start; justify-content:space-between; margin-bottom:10px; }
.ref-code{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:42px; height:42px;
  border-radius:16px;
  font-weight:900;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
}
.ref-pct{
  font-size:56px;
  font-weight:900;
  line-height:1;
  letter-spacing:-1px;
  opacity:.92;
}
.ref-card h3{ margin:2px 0 10px; font-size:20px; }
.ref-card p{ margin:0; font-size:15px; line-height:1.85; }
.ref-example{
  margin-top:12px;
  padding-top:12px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: rgba(226,232,240,.78);
  font-size:13px;
  line-height:1.7;
}

@media (max-width:560px){
  .ref-pct{ font-size:44px; }
}

.card{
  border:1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.72);
  border-radius: var(--radius);
  padding:18px;
  box-shadow: var(--shadow2);
  transition: transform .12s ease, box-shadow .12s ease;
}
.card:hover{transform: translateY(-2px); box-shadow: var(--shadow)}
.card .icon{
  width:46px; height:46px;
  border-radius:16px;
  border:1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.85);
  display:grid; place-items:center;
  margin-bottom:12px;
}
.card h3{margin:0 0 8px; font-size:16px}
.card p{margin:0; color:var(--muted); line-height:1.85; font-size:14px}

.banner{
  border:1px solid rgba(15,23,42,.10);
  background: linear-gradient(135deg, rgba(124,58,237,.10), rgba(6,182,212,.10), rgba(245,158,11,.10), rgba(34,197,94,.10));
  border-radius: 26px;
  padding:18px;
  box-shadow: var(--shadow);
}
.banner-grid{
  display:grid; grid-template-columns: 1.1fr .9fr; gap:14px; align-items:center;
}
@media (max-width: 1020px){
  .hero-grid{grid-template-columns:1fr}
  .h1{font-size:46px}
  .links{display:none}
  .grid4{grid-template-columns:1fr 1fr}
  .grid3{grid-template-columns:1fr}
  .grid2{grid-template-columns:1fr}
  .banner-grid{grid-template-columns:1fr}
}
@media (max-width:560px){
  .grid4{grid-template-columns:1fr}
  .h1{font-size:40px}
  .brand{min-width:auto}
}

.split{
  display:grid; grid-template-columns: 1fr 1fr; gap:14px; align-items:center;
}
.figure{
  border:1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.72);
  border-radius: 26px;
  padding:14px;
  box-shadow: var(--shadow);
}
.figure img{width:100%; display:block; border-radius:18px}

.timeline{display:grid; gap:10px}
.step{
  display:flex; gap:14px; align-items:flex-start;
  padding:16px;
  border-radius: 18px;
  border:1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.72);
  box-shadow: var(--shadow2);
}
.step .n{
  width:38px; height:38px; border-radius:14px;
  display:grid; place-items:center;
  font-weight:900;
  border:1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.88);
}
.step h4{margin:0 0 6px}
.step p{margin:0; color:var(--muted); line-height:1.85; font-size:14px}

.stats{display:grid; grid-template-columns: repeat(4,1fr); gap:14px}
.stat{
  padding:16px;
  border-radius: 20px;
  border:1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.74);
  box-shadow: var(--shadow2);
}
.stat b{display:block; font-size:26px; letter-spacing:-.6px}
.stat span{display:block; margin-top:6px; color:var(--muted2); font-size:12px; line-height:1.6}
@media (max-width:1020px){
  .stats{grid-template-columns: 1fr 1fr}
}
@media (max-width:560px){
  .stats{grid-template-columns: 1fr}
}

/* FAQ */
.faq{display:grid; gap:10px}
.faq-item{
  border:1px solid rgba(15,23,42,.10);
  border-radius: 18px;
  overflow:hidden;
  background: rgba(255,255,255,.74);
  box-shadow: var(--shadow2);
}
.faq-q{
  width:100%;
  border:none;
  background: rgba(255,255,255,.06);
  color:var(--ink);
  padding:14px 16px;
  display:flex; justify-content:space-between; align-items:center;
  font-weight:900; cursor:pointer;
}
.faq-a{
  display:none;
  padding:0 16px 14px;
  color:var(--muted);
  line-height:1.9;
  font-size:14px;
}
.faq-item.open .faq-a{display:block}
.chev{transition: transform .15s ease}
.faq-item.open .chev{transform: rotate(180deg)}

/* Contact */
.contact{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:14px;
  align-items:stretch;
}
@media (max-width:1020px){ .contact{grid-template-columns:1fr} }
.contact-card{
  border:1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.76);
  border-radius: 26px;
  padding:18px;
  box-shadow: var(--shadow);
}
.contact-row{
  display:flex; gap:12px; flex-wrap:wrap; margin-top:12px;
}
.linkbtn{
  display:inline-flex; align-items:center; gap:10px;
  padding:12px 14px;
  border-radius:16px;
  border:1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.88);
  font-weight:900;
}
.linkbtn:hover{box-shadow: var(--shadow2)}
.small{font-size:12px; color:var(--muted2); line-height:1.75}

/* Footer */
footer{
  padding:44px 0;
  border-top:1px solid rgba(15,23,42,.10);
  color:var(--muted);
}
.foot{
  display:grid; grid-template-columns: 1.1fr .9fr; gap:16px;
}
@media (max-width:1020px){ .foot{grid-template-columns:1fr} }
.reveal{opacity:0; transform: translateY(12px); transition: opacity .55s ease, transform .55s ease}
.reveal.on{opacity:1; transform: translateY(0)}
.toast{
  position:fixed; left:50%; bottom:24px;
  transform: translateX(-50%);
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(2,6,23,.72);
  color:var(--ink);
  font-size:12px;
  opacity:0;
  pointer-events:none;
  transition: opacity .2s ease, transform .2s ease;
}
.toast.show{opacity:1; transform: translateX(-50%) translateY(-6px);}




/* Background video (site-wide) */

/* Respect accessibility settings */
@media (prefers-reduced-motion: reduce){
}

/* Background video (site-wide) — mobile friendly */
.bg-video{
  position:fixed;
  top:50%;
  left:50%;
  transform: translate(-50%,-50%);
  width:100vw;
  height:100vh;
  min-width:100vw;
  min-height:100vh;
  object-fit:cover;
  object-position:center;
  z-index:-5;
  opacity:.68;                 /* visible on dark theme */
  filter:saturate(1.35) contrast(1.15) brightness(1.08);
  background:#000;
  will-change: transform;
}

/* Respect accessibility settings */
@media (prefers-reduced-motion: reduce){
}

/* =========================================
   Dark polish layer — cohesive enterprise look
   ========================================= */
:root{
  --surface0: rgba(2,6,23,.42);
  --surface1: rgba(2,6,23,.54);
  --surface2: rgba(2,6,23,.68);
  --glass: rgba(255,255,255,.06);
  --glass2: rgba(255,255,255,.09);
  --ring: rgba(255,255,255,.12);
  --ring2: rgba(255,255,255,.18);
}

/* Improve readability on video */
.h1, .section h2{
  text-shadow: 0 12px 44px rgba(0,0,0,.55);
}
.lead{
  text-shadow: 0 10px 34px rgba(0,0,0,.45);
}

/* Header + controls */
header{
  background: rgba(2,6,23,.62);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
select.lang, .btn, .pill{
  backdrop-filter: blur(14px) saturate(140%);
}
.links a{ color: rgba(248,250,252,.72); }
.links a:hover{ color: rgba(248,250,252,.92); }

/* Main surfaces */
.panel,
.card,
.figure,
.stat,
.step,
.faq-item,
.contact-card{
  backdrop-filter: blur(18px) saturate(135%);
}

.panel{
  background: linear-gradient(180deg, rgba(2,6,23,.70), rgba(2,6,23,.52));
  border: 1px solid var(--ring);
}
.panel-top{
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.kpi{
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.10);
}
.logo-strip{
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
}
.logo-strip img{ opacity:.78; }

.card{
  background: linear-gradient(180deg, rgba(2,6,23,.62), rgba(2,6,23,.46));
  border: 1px solid rgba(255,255,255,.12);
}
.card:hover{
  border-color: rgba(255,255,255,.18);
  box-shadow: 0 22px 70px rgba(0,0,0,.55);
}
.card .icon{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
}

.figure{
  background: linear-gradient(180deg, rgba(2,6,23,.58), rgba(2,6,23,.40));
  border: 1px solid rgba(255,255,255,.10);
}
.figure img{
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 18px 60px rgba(0,0,0,.55);
}

/* Banner */
.banner{
  border: 1px solid rgba(255,255,255,.14);
  background: linear-gradient(135deg,
    rgba(124,58,237,.22),
    rgba(6,182,212,.18),
    rgba(245,158,11,.18),
    rgba(34,197,94,.18)
  );
}
.banner .card{
  background: rgba(2,6,23,.52);
  border-color: rgba(255,255,255,.12);
}

/* Stats / timeline / FAQ */
.stat{
  background: linear-gradient(180deg, rgba(2,6,23,.60), rgba(2,6,23,.46));
  border: 1px solid rgba(255,255,255,.12);
}
.step{
  background: linear-gradient(180deg, rgba(2,6,23,.64), rgba(2,6,23,.48));
  border: 1px solid rgba(255,255,255,.12);
}
.step .n{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
}

.faq-q{
  background: rgba(255,255,255,.05);
}
.faq-q:hover{
  background: rgba(255,255,255,.07);
}
.faq-a{
  color: rgba(248,250,252,.72);
}

/* Contact buttons */
.linkbtn{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(16px) saturate(140%);
}
.linkbtn:hover{
  border-color: rgba(255,255,255,.22);
}

/* Pills and notes */
.note{
  background: rgba(2,6,23,.46);
  border-color: rgba(255,255,255,.22);
}

/* Footer */
footer{
  border-top: 1px solid rgba(255,255,255,.10);
}
.small{ color: rgba(248,250,252,.62); }

/* Background layers: allow video to pop */
.overlay{
  background: linear-gradient(180deg,
    rgba(2,6,23,.18),
    rgba(2,6,23,.28) 35%,
    rgba(2,6,23,.40)
  );
}

/* Keep section spacing crisp */
.section p.sub{ color: rgba(248,250,252,.68); }

/* Background video (site-wide) — mobile friendly */
.bg-video{
  position:fixed;
  top:50%;
  left:50%;
  transform: translate(-50%,-50%);
  width:100vw;
  height:100vh;
  min-width:100vw;
  min-height:100vh;
  object-fit:cover;
  object-position:center;
  z-index:-5;
  opacity:.74;                 /* visible on dark theme */
  filter:saturate(1.42) contrast(1.18) brightness(1.10);
  background:#000;
  will-change: transform;
}

/* iOS Safari rendering stability */
@supports (-webkit-touch-callout: none){
  .bg-video{ transform: translate(-50%,-50%) translateZ(0); }
}

/* Respect accessibility settings */
@media (prefers-reduced-motion: reduce){
  .bg-video{display:none;}
}



/* Floating contact icons (Telegram / WhatsApp) */
.contact-fab{
  position:fixed;
  right:16px;
  bottom:16px;
  display:flex;
  flex-direction:column;
  gap:10px;
  z-index:9998;
}
.fab{
  width:46px;
  height:46px;
  border:none;
  border-radius:9999px;
  display:grid;
  place-items:center;
  cursor:pointer;
  box-shadow:0 14px 30px rgba(15,23,42,.35);
  transition:transform .15s ease, filter .15s ease;
}
.fab:hover{ transform:translateY(-2px); filter:brightness(1.05); }
.fab:active{ transform:translateY(0); }
.fab__txt{
  font-weight:800;
  letter-spacing:.5px;
  font-size:13px;
  color:#fff;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.fab__icon{
  width:22px;
  height:22px;
  color:#fff;
  display:block;
}
.fab--tg{ background:#24a1de; }
.fab--wa{ background:#22c55e; }

/* Contact modal */
.contact-modal{position:fixed;inset:0;background:rgba(15,23,42,.55);display:flex;align-items:center;justify-content:center;z-index:9999;}
.contact-modal--hidden{display:none;}
.contact-modal__box{
  background:rgba(255,255,255,.96);
  border:1px solid rgba(148,163,184,.35);
  border-radius:18px;
  padding:20px 22px 16px;
  width:90%;
  max-width:340px;
  box-shadow:0 18px 46px rgba(15,23,42,.35);
  position:relative;
  text-align:center;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.contact-modal__close{position:absolute;right:10px;top:8px;border:none;background:transparent;font-size:22px;line-height:1;cursor:pointer;color:#0f172a;}
.contact-modal__title{margin:6px 0 8px;font-size:18px;font-weight:700;color:#0f172a;}
.contact-modal__text{margin:0 0 16px;font-size:14px;color:#475569;}
.contact-modal__buttons{display:flex;gap:10px;justify-content:center;}
.contact-modal__btn{flex:1 1 0;border-radius:9999px;border:none;padding:10px 0;font-size:14px;font-weight:700;cursor:pointer;color:#fff;}
.contact-modal__btn--tg{background:#24a1de;}
.contact-modal__btn--wa{background:#22c55e;}

/* RTL support (Arabic) */
html[dir="rtl"] body{direction:rtl;}
html[dir="rtl"] .nav, html[dir="rtl"] .right{direction:rtl;}
html[dir="rtl"] .contact-row{flex-direction:row-reverse;}


/* VIP levels */
.vip-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}
.vip-card .vip-tier{
  font-weight: 950;
  letter-spacing: .2px;
  font-size: 18px;
  margin: 0 0 8px;
}
.vip-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 0;
  border-top: 1px solid rgba(255,255,255,.10);
}
.vip-row:first-of-type{ border-top: 0; padding-top: 6px; }
.vip-label{
  color: var(--muted2);
  font-size: 12px;
}
.vip-value{
  font-weight: 900;
  font-size: 13px;
}
@media (max-width:1020px){
  .vip-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width:560px){
  .vip-grid{ grid-template-columns: 1fr; }
}

/* =========================================================
   Requested tweaks
   1) Mobile: make the language selector taller (same width)
   2) FAQ + Contact/Community: match the darker module colors above
   ========================================================= */

/* 1) Mobile: taller language selector (keep width unchanged) */
@media (max-width:560px){
  .nav .right .lang-wrap,
  .nav .right .btn.primary{
    min-width: 132px; /* language 和 header 的 Get Started 同宽 */
  }
}

/* 2) FAQ + Contact/Community: match the dark glass cards used above */
.faq-item,
.contact-card{
  background: linear-gradient(180deg, rgba(2,6,23,.62), rgba(2,6,23,.46));
  border: 1px solid rgba(255,255,255,.12);
}


/* =========================================================
   Contact module redesign (buttons + testimonial side panel)
   ========================================================= */

/* Keep Contact + Testimonials within a fixed module height on desktop,
   matching the earlier two-column layout (pre-launch checklist). */
.contact{
  --contactModuleH: clamp(280px, 30vw, 360px);
}
@media (min-width:1021px){
  .contact > .contact-card,
  .contact > .testimonials-card{
    height: var(--contactModuleH);
    max-height: var(--contactModuleH);
  }
}
/* On smaller screens the layout stacks — keep testimonials constrained
   while letting the left card size naturally. */
@media (max-width:1020px){
  .contact > .contact-card{ height:auto; max-height:none; }
  .contact > .testimonials-card{
    height: var(--contactModuleH);
    max-height: var(--contactModuleH);
  }
}

/* Replace old inline buttons with stacked pill buttons */
.contact-actions{
  display:flex;
  flex-direction:column;
  gap:12px;
  margin-top:14px;
}
.contact-btn{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:12px 14px;
  border-radius:9999px;
  font-weight:950;
  letter-spacing:.1px;
  text-align:center;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.contact-btn:hover{
  box-shadow: var(--shadow2);
  transform: translateY(-1px);
}
.contact-btn:active{ transform: translateY(0); }

.contact-btn--tg{
  background: rgba(255,255,255,.92);
  color: rgba(2,6,23,.92);
  border: 1px solid rgba(255,255,255,.22);
}
.contact-btn--wa{
  background: rgba(255,255,255,.02);
  color: rgba(248,250,252,.92);
  border: 1px solid rgba(255,255,255,.26);
}

/* Testimonial panel (auto-flowing list) */
.testimonials-card{
  padding: 10px 18px;
  overflow: hidden; /* keep content inside the fixed card shape */
}
.testimonials{
  position:relative;
  /* IMPORTANT: the list must not expand the section height.
     We bind it to the card height and clip overflow. */
  height: 100%;
  max-height: 100%;
  overflow:hidden;
}
.testimonials::before,
.testimonials::after{
  content:"";
  position:absolute;
  left:0; right:0;
  height:34px;
  z-index:2;
  pointer-events:none;
}
.testimonials::before{
  top:0;
  background: linear-gradient(180deg, rgba(2,6,23,.72), rgba(2,6,23,0));
}
.testimonials::after{
  bottom:0;
  background: linear-gradient(180deg, rgba(2,6,23,0), rgba(2,6,23,.72));
}
.testimonials-track{
  display:flex;
  flex-direction:column;
  transform: translateY(0);
  animation: hadronTestimonialScroll 26s linear infinite;
}
.testimonials:hover .testimonials-track{
  animation-play-state: paused;
}
@keyframes hadronTestimonialScroll{
  from{ transform: translateY(0); }
  to{ transform: translateY(-50%); }
}
@media (prefers-reduced-motion: reduce){
  .testimonials{ overflow:auto; }
  .testimonials::before,.testimonials::after{ display:none; }
  .testimonials-track{ animation:none; }
}

.t-item{
  display:flex;
  align-items:flex-start;
  gap:12px;
  padding:14px 0;
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.t-avatar{
  width:38px;
  height:38px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
  font-weight:950;
  color: rgba(248,250,252,.92);
  background: linear-gradient(135deg, rgba(59,130,246,.52), rgba(168,85,247,.42));
  border: 1px solid rgba(255,255,255,.18);
  flex: 0 0 auto;
}
.t-body{
  flex:1 1 auto;
  min-width:0;
}
.t-top{
  display:flex;
  align-items:center;
  gap:10px;
}
.t-name{
  font-weight:950;
  font-size:15px;
  color: rgba(248,250,252,.92);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.t-stars{
  font-size:12px;
  letter-spacing:1px;
  opacity:.95;
}
.t-text{
  margin-top:6px;
  font-size:13px;
  line-height:1.6;
  color: rgba(226,232,240,.76);
}
.t-verified{
  display:flex;
  align-items:center;
  gap:6px;
  font-size:12px;
  color: rgba(148,163,184,.75);
  white-space:nowrap;
  margin-left:10px;
  flex: 0 0 auto;
}
.t-check{
  width:18px;
  height:18px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background: rgba(34,197,94,.16);
  border: 1px solid rgba(34,197,94,.30);
  color: rgba(134,239,172,.95);
  font-weight:950;
  line-height:1;
}

/* RTL: keep verified column to the left visually */
html[dir="rtl"] .t-item{flex-direction:row-reverse;}
html[dir="rtl"] .t-verified{margin-left:0;margin-right:10px;}
