/* Lucklink homepage clone — primary #2F6BEA */
:root {
  --blue: #2f6bea;
  --blue-dark: #1d4ed8;
  --blue-soft: #eef4ff;
  --blue-mist: #f3f7ff;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --card: #ffffff;
  --footer: #020617;
  --radius: 1.25rem;
  --shadow: 0 10px 30px rgba(47, 107, 234, 0.08);
  --shadow-sm: 0 4px 14px rgba(15, 23, 42, 0.06);
  --max: 1120px;
  --font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: #fff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  position: relative;
  padding-top: 64px;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { max-width: 100%; display: block; }
.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: 1rem;
  box-sizing: border-box;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1200;
  width: 100%;
  max-width: 100%;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226,232,240,.8);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; height: 64px;
}
.logo { display: flex; align-items: center; gap: .55rem; flex-shrink: 0; }
.logo img, .logo svg { height: 28px; width: auto; }
.logo-mark { width: 30px; height: 30px; }
.logo-img { height: 26px; width: auto; max-width: 140px; object-fit: contain; display: block; }
.logo-img-sm { height: 22px; }
.site-footer .logo { display: flex; align-items: center; gap: .5rem; }
.site-footer .logo-text { color: #fff; }
.logo-text { font-weight: 700; font-size: 1.15rem; color: var(--blue); letter-spacing: -0.02em; }
.nav-main { display: flex; gap: 1.35rem; align-items: center; }
.nav-main a {
  font-size: .9rem; font-weight: 500; color: #334155;
  transition: color .15s;
}
.nav-main a:hover { color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: .65rem; }
.icon-btn {
  width: 38px; height: 38px; border-radius: 999px; border: 0;
  background: transparent; color: #475569; cursor: pointer;
  display: grid; place-items: center;
}
.icon-btn:hover { background: var(--blue-soft); color: var(--blue); }
.lang-switcher { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: .35rem;
  border: 0; background: transparent; cursor: pointer; padding: .35rem .55rem;
  border-radius: 999px; color: #475569; font-size: .8rem; font-weight: 600;
  white-space: nowrap;
}
.lang-btn:hover { background: var(--blue-soft); }
.lang-menu {
  display: none; position: fixed;
  min-width: 160px; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; box-shadow: 0 12px 40px rgba(15,23,42,.18); padding: .35rem;
  z-index: 3000;
}
.lang-menu.open { display: block; }
.lang-menu button {
  display: flex; width: 100%; align-items: center; gap: .5rem;
  border: 0; background: transparent; padding: .55rem .65rem;
  border-radius: 8px; cursor: pointer; font-size: .85rem; font-weight: 600; color: #334155; text-align: left;
}
.lang-menu button:hover, .lang-menu button.active { background: var(--blue-soft); color: var(--blue); }
.lang-flag-img {
  width: 20px; height: 14px; border-radius: 2px; object-fit: cover;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); flex-shrink: 0; display: block;
}
.flag-us, .flag-tw, .flag-cn {
  width: 20px; height: 14px; border-radius: 2px; overflow: hidden;
  position: relative; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); flex-shrink: 0;
}
.flag-us {
  background: linear-gradient(180deg, #b22234 0 14%, #fff 14% 28%, #b22234 28% 42%, #fff 42% 56%, #b22234 56% 70%, #fff 70% 84%, #b22234 84% 100%);
}
.flag-us::before {
  content: ""; position: absolute; left: 0; top: 0; width: 8px; height: 7.5px; background: #3c3b6e;
}
.flag-tw { background: #de2910; } /* legacy alias unused */
.flag-cn {
  background: #de2910;
}
.flag-cn::before {
  content: "★"; position: absolute; left: 10%; top: 18%; font-size: 9px; color: #ffde00; line-height: 1;
}
.flag-cn::after {
  content: "★★★★"; position: absolute; left: 38%; top: 8%; font-size: 4px; color: #ffde00; line-height: 1.15;
  letter-spacing: 0; width: 8px; white-space: pre-wrap;
}
.menu-toggle { display: none; }
#mobileNav {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  z-index: 1300;
  flex-direction: column;
  gap: 0;
  padding: .75rem 1rem 1rem;
  background: rgba(255,255,255,.98);
  border-bottom: 1px solid rgba(226,232,240,.95);
  box-shadow: 0 16px 32px rgba(15,23,42,.12);
  max-height: calc(100vh - 64px);
  overflow-y: auto;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
#mobileNav.open { display: flex; }
#mobileNav a {
  font-weight: 600; color: #334155;
  padding: .85rem .25rem;
  border-bottom: 1px solid #f1f5f9;
}
#mobileNav a:last-child { border-bottom: 0; }
#mobileNav a:hover, #mobileNav a.active { color: var(--blue); }
.mobile-nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  top: 64px;
  z-index: 1100;
  background: rgba(15,23,42,.35);
}
.mobile-nav-backdrop.open { display: block; }
@media (max-width: 900px) {
  #mobileNav, .mobile-nav-backdrop { top: 56px; }
  #mobileNav { max-height: calc(100vh - 56px); }
}

/* Hero */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse 70% 60% at 85% 20%, rgba(47,107,234,.14), transparent 55%),
    radial-gradient(ellipse 50% 45% at 10% 80%, rgba(34,211,238,.12), transparent 50%),
    linear-gradient(180deg, #f5f9ff 0%, #ffffff 100%);
  overflow: hidden;
  padding: 2.5rem 0 1.5rem;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(#93c5fd 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: .35;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 2rem;
  align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .35rem .75rem; border-radius: 999px;
  background: rgba(47,107,234,.08); color: var(--blue);
  font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  margin-bottom: 1rem;
}
.hero h1 {
  margin: 0 0 .75rem;
  font-size: clamp(2rem, 3.6vw, 2.85rem);
  line-height: 1.15; letter-spacing: -0.03em; font-weight: 800;
  color: #0b1b3a;
}
.hero-sub { margin: 0 0 1.5rem; color: var(--muted); font-size: 1.05rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.25rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  padding: .85rem 1.35rem; border-radius: 999px; font-weight: 600; font-size: .95rem;
  border: 1px solid transparent; cursor: pointer; transition: .15s ease;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(47,107,234,.28); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-secondary { background: #fff; border-color: #dbe3f0; color: #334155; }
.btn-secondary:hover { border-color: var(--blue); color: var(--blue); }
.stat-row { display: flex; flex-wrap: wrap; gap: .65rem; }
.stat-chip {
  background: #fff; border: 1px solid #e8eef8; border-radius: 14px;
  padding: .7rem .95rem; box-shadow: var(--shadow-sm); min-width: 7.5rem;
}
.stat-chip strong { display: block; font-size: 1.05rem; color: var(--ink); }
.stat-chip span { font-size: .78rem; color: var(--muted); font-weight: 500; }

/* Hero visual cards */
.hero-visual { position: relative; min-height: 360px; }
.hv-card {
  position: absolute; background: #fff; border-radius: 20px;
  border: 1px solid rgba(226,232,240,.9); box-shadow: var(--shadow);
  padding: 1rem 1.1rem;
}
.hv-main {
  right: 8%; top: 8%; width: min(280px, 88%);
  background: linear-gradient(160deg, #1e3a8a 0%, #0e7490 55%, #22b3c9 100%);
  color: #fff; border: 0; padding: 1.25rem;
}
.hv-main .brand { font-size: .75rem; font-weight: 700; opacity: .9; margin-bottom: .35rem; }
.hv-main .live {
  display: inline-flex; align-items: center; gap: .35rem;
  background: rgba(255,255,255,.18); border-radius: 999px;
  padding: .2rem .55rem; font-size: .7rem; font-weight: 700;
}
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 3px rgba(74,222,128,.25); }
.route { display: flex; justify-content: space-between; align-items: center; margin: 1.1rem 0 .9rem; gap: .5rem; }
.route .code { font-size: 1.55rem; font-weight: 800; letter-spacing: .02em; }
.route .meta { font-size: .7rem; opacity: .8; text-transform: uppercase; letter-spacing: .06em; }
.route-line { flex: 1; height: 2px; background: rgba(255,255,255,.35); position: relative; margin: 0 .4rem; }
.route-line::after {
  content: ""; position: absolute; right: -2px; top: 50%; transform: translateY(-50%);
  border: 5px solid transparent; border-left-color: #fff;
}
.hv-activate { left: 0; top: 18%; width: 168px; z-index: 2; }
.hv-activate .t { font-size: .78rem; color: var(--muted); }
.hv-activate .v { font-size: 1.15rem; font-weight: 800; color: var(--ink); }
.hv-signal {
  right: 0; top: 42%; z-index: 3;
  background: var(--blue); color: #fff; border: 0;
  display: flex; align-items: center; gap: .5rem; padding: .7rem 1rem;
}
.hv-qr { left: 6%; bottom: 18%; width: 150px; z-index: 2; }
.hv-qr .t { font-size: .85rem; font-weight: 700; }
.hv-qr .s { font-size: .72rem; color: var(--muted); }
.hv-instant {
  right: 12%; bottom: 6%; z-index: 2;
  display: flex; align-items: center; gap: .55rem; padding: .65rem .9rem;
}
.bolt {
  width: 28px; height: 28px; border-radius: 10px; background: #ecfdf5; color: #059669;
  display: grid; place-items: center; font-size: .9rem;
}
.hv-instant .t { font-size: .82rem; font-weight: 700; }
.hv-instant .s { font-size: .7rem; color: var(--muted); }

/* Search */
.search-wrap { margin: -0.25rem auto 1.75rem; position: relative; z-index: 5; }
.search-bar {
  display: flex; align-items: center; gap: .75rem;
  background: #fff; border: 1px solid #e2e8f0; border-radius: 999px;
  padding: .85rem 1.15rem; box-shadow: 0 12px 30px rgba(15,23,42,.06);
}
.search-bar input {
  flex: 1; border: 0; outline: none; background: transparent;
  font-size: 1rem; color: var(--ink);
}
.search-bar input::placeholder { color: #94a3b8; }
.search-icon { color: #94a3b8; display: grid; place-items: center; }

/* Destinations */
.destinations { padding: 0 0 2.5rem; width: 100%; max-width: 100%; overflow: hidden; }
.section, .download, .site-footer, .hero, main { width: 100%; max-width: 100%; }
.dest-panel {
  background: #fff; border: 1px solid #e8eef8; border-radius: 28px;
  box-shadow: var(--shadow); padding: 1.5rem;
  display: flex; flex-direction: column; gap: 0;
}
.dest-panel .country-grid { margin-top: .15rem; }
.dest-top {
  display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between;
  gap: 1rem; margin-bottom: 1rem;
}
.badge-local {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .68rem; font-weight: 700; letter-spacing: .06em; color: var(--blue);
  background: var(--blue-soft); padding: .3rem .65rem; border-radius: 999px; margin-bottom: .55rem;
}
.dest-title { display: flex; align-items: center; gap: .5rem; margin: 0; font-size: 1.75rem; font-weight: 800; }
.count-pill {
  font-size: .75rem; font-weight: 700; color: #fff; background: var(--blue);
  min-width: 1.6rem; height: 1.6rem; border-radius: 999px; display: grid; place-items: center; padding: 0 .4rem;
}
.toggle {
  display: inline-flex; padding: .25rem; background: #f1f5f9; border-radius: 999px; gap: .15rem;
}
.toggle button {
  border: 0; background: transparent; border-radius: 999px; padding: .55rem 1rem;
  font-size: .85rem; font-weight: 600; color: #64748b; cursor: pointer;
}
.toggle button.active { background: var(--blue); color: #fff; box-shadow: 0 4px 12px rgba(47,107,234,.25); }
.continents { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.15rem; }
.continents button {
  border: 1px solid #e2e8f0; background: #fff; border-radius: 999px;
  padding: .5rem 1rem; font-size: .85rem; font-weight: 600; color: #475569; cursor: pointer;
}
.continents button.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.country-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: .75rem;
  align-items: stretch;
}
.country-card {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  padding: .95rem 1rem; min-height: 5.75rem; height: 100%; max-width: 100%;
  border: 1px solid rgba(226,232,240,.9); border-radius: 1rem;
  background: rgba(255,255,255,.9); box-shadow: 0 2px 8px rgba(47,107,234,.04);
  transition: border-color .15s ease, box-shadow .15s ease;
  cursor: pointer; text-align: left; width: 100%;
  box-sizing: border-box;
}
.country-card:hover { border-color: #bfdbfe; box-shadow: 0 8px 20px rgba(47,107,234,.1); transform: none; }
.country-left { display: flex; align-items: center; gap: .75rem; min-width: 0; flex: 1; }
.country-left .min-w-0 { min-width: 0; flex: 1; }
.flag {
  width: 40px; height: 40px; border-radius: 999px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(15,23,42,.08); flex-shrink: 0;
  display: grid; place-items: center; background: #f1f5f9;
}
.flag img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.flag-rect {
  width: 42px; height: 30px; border-radius: 8px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(15,23,42,.08); flex-shrink: 0; background: #f1f5f9;
}
.flag-rect img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cname {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  font-weight: 700; font-size: .92rem; color: var(--ink);
  line-height: 1.3; overflow: hidden; word-break: break-word;
  min-height: 2.6em;
}
.cprice { display: block; margin-top: .25rem; font-size: .75rem; font-weight: 600; color: var(--blue); }
.arrow {
  width: 36px; height: 36px; border-radius: 999px; background: #f8fafc; color: #94a3b8;
  display: grid; place-items: center; flex-shrink: 0; transition: .15s;
}
.country-card:hover .arrow { background: var(--blue); color: #fff; }
.empty-msg { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 2rem; }

/* Offer banner */
.offer {
  margin: 0 0 3rem;
  background: linear-gradient(105deg, #1d4ed8 0%, #2563eb 40%, #06b6d4 100%);
  border-radius: 24px; padding: 1.35rem 1.5rem; color: #fff;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  box-shadow: 0 16px 40px rgba(37,99,235,.28);
}
.offer-left { display: flex; gap: .85rem; align-items: flex-start; }
.offer-icon {
  width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.18);
  display: grid; place-items: center; flex-shrink: 0;
}
.offer h3 { margin: 0 0 .25rem; font-size: 1.1rem; }
.offer p { margin: 0; opacity: .9; font-size: .88rem; }
.offer-right { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.code-box {
  border: 1.5px dashed rgba(255,255,255,.65); border-radius: 12px;
  padding: .55rem .9rem; font-weight: 800; letter-spacing: .06em; background: rgba(255,255,255,.1);
}
.offer .btn { background: #fff; color: var(--blue); }
.offer .btn:hover { background: #f0f7ff; }

/* Sections common */
.section { padding: 3.25rem 0; }
.section.alt {
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(47,107,234,.06), transparent 60%),
    #f8fbff;
}
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2rem; }
.pill-tag {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .35rem .75rem; border-radius: 999px; background: var(--blue-soft);
  color: var(--blue); font-size: .72rem; font-weight: 700; letter-spacing: .05em; margin-bottom: .75rem;
}
.section-head h2 { margin: 0 0 .5rem; font-size: clamp(1.6rem, 2.5vw, 2.1rem); font-weight: 800; letter-spacing: -.02em; }
.section-head p { margin: 0; color: var(--muted); }

/* What is eSIM */
.what-grid {
  display: grid; grid-template-columns: .95fr 1.05fr; gap: 2.5rem; align-items: center;
}
.esim-card {
  background: linear-gradient(160deg, #0f172a 0%, #0e3b97 50%, #0d9488 100%);
  border-radius: 28px; padding: 1.5rem; color: #fff; position: relative; overflow: hidden;
  min-height: 340px; box-shadow: 0 20px 50px rgba(15,23,42,.25);
}
.esim-card::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.25) 1px, transparent 1px);
  background-size: 18px 18px; opacity: .25;
}
.esim-card > * { position: relative; }
.esim-card .tiny { font-size: .75rem; font-weight: 700; opacity: .85; }
.esim-card h3 { margin: .35rem 0 1.25rem; font-size: 1.35rem; }
.qr-box {
  width: 140px; height: 140px; margin: 0 auto 1.25rem; border-radius: 18px;
  background: rgba(255,255,255,.95); display: grid; place-items: center;
  box-shadow: 0 0 0 8px rgba(255,255,255,.12);
}
.qr-fake {
  width: 96px; height: 96px;
  background:
    linear-gradient(#0f172a 0 0) 0 0 / 30% 30%,
    linear-gradient(#0f172a 0 0) 100% 0 / 30% 30%,
    linear-gradient(#0f172a 0 0) 0 100% 30% 30%,
    repeating-linear-gradient(90deg, #0f172a 0 4px, transparent 4px 8px),
    repeating-linear-gradient(#0f172a 0 4px, transparent 4px 8px);
  background-repeat: no-repeat;
  border: 6px solid #0f172a; border-radius: 6px; opacity: .9;
}
.esim-meta { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; }
.esim-meta div {
  background: rgba(255,255,255,.12); border-radius: 12px; padding: .65rem .75rem; font-size: .78rem;
}
.esim-meta strong { display: block; font-size: .9rem; margin-top: .15rem; }
.esim-caption { margin-top: 1rem; font-size: .85rem; color: #64748b; }
.basics h2 { margin: .5rem 0 .75rem; font-size: 2rem; font-weight: 800; }
.basics > p { color: var(--muted); margin: 0 0 1.25rem; }
.feature-list { display: flex; flex-direction: column; gap: .75rem; }
.feature-item {
  display: grid; grid-template-columns: auto 1fr auto; gap: .9rem; align-items: center;
  background: #fff; border: 1px solid #e8eef8; border-radius: 18px; padding: 1rem 1.1rem;
  box-shadow: var(--shadow-sm);
}
.fi-icon {
  width: 42px; height: 42px; border-radius: 12px; background: var(--blue-soft); color: var(--blue);
  display: grid; place-items: center;
}
.feature-item h4 { margin: 0 0 .2rem; font-size: .98rem; }
.feature-item p { margin: 0; font-size: .82rem; color: var(--muted); }
.fi-num { font-size: 1.1rem; font-weight: 800; color: #cbd5e1; }

/* Steps / Why */
.steps-grid, .why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.why-grid { grid-template-columns: repeat(4, 1fr); }
.step-card, .why-card {
  background: #fff; border: 1px solid #e8eef8; border-radius: 22px;
  padding: 1.35rem 1.25rem; box-shadow: var(--shadow-sm);
}
.step-num {
  width: 40px; height: 40px; border-radius: 999px; background: var(--blue); color: #fff;
  display: grid; place-items: center; font-weight: 800; margin-bottom: 1rem;
}
.step-card h3, .why-card h3 { margin: 0 0 .5rem; font-size: 1.05rem; }
.step-card p, .why-card p { margin: 0; color: var(--muted); font-size: .9rem; }
.why-icon {
  width: 48px; height: 48px; border-radius: 14px; background: var(--blue-soft); color: var(--blue);
  display: grid; place-items: center; margin-bottom: 1rem;
}

/* Testimonials */
.reviews-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
.review-card {
  background: #fff; border: 1px solid #e8eef8; border-radius: 22px;
  padding: 1.25rem; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: .9rem;
}
.review-card .quote { margin: 0; color: #334155; font-size: .9rem; line-height: 1.55; flex: 1; }
.review-user { display: flex; align-items: center; gap: .65rem; }
.avatar {
  width: 40px; height: 40px; border-radius: 999px; background: linear-gradient(135deg, #93c5fd, #2f6bea);
  color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .85rem;
}
.review-user strong { display: block; font-size: .9rem; }
.review-user span { font-size: .72rem; color: #94a3b8; }

/* Eco */
.eco-grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: center;
}
.eco-points { display: grid; gap: .85rem; margin-top: 1.25rem; }
.eco-point {
  display: flex; gap: .85rem; align-items: flex-start;
  background: #fff; border-radius: 16px; padding: 1rem; border: 1px solid #e8eef8;
}
.eco-point h4 { margin: 0 0 .2rem; }
.eco-point p { margin: 0; font-size: .85rem; color: var(--muted); }
.eco-visual {
  background: linear-gradient(160deg, #0f172a, #1e3a8a);
  border-radius: 28px; padding: 1.5rem; color: #fff; min-height: 280px;
  display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: 0 20px 40px rgba(15,23,42,.2);
}
.eco-stats { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin: 1.25rem 0; }
.eco-stats div { background: rgba(255,255,255,.1); border-radius: 14px; padding: .85rem; }
.eco-stats strong { display: block; font-size: 1.5rem; }
.eco-stats span { font-size: .75rem; opacity: .8; }

/* FAQ */
.faq-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: .75rem;
}
.faq-item {
  border: 1px solid #e2e8f0; border-radius: 16px; background: #fff; overflow: hidden;
}
.faq-q {
  width: 100%; text-align: left; background: transparent; border: 0; cursor: pointer;
  padding: 1.05rem 1.15rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-weight: 700; font-size: .95rem; color: var(--ink);
}
.faq-q svg { flex-shrink: 0; transition: transform .2s; color: #94a3b8; }
.faq-item.open .faq-q svg { transform: rotate(180deg); color: var(--blue); }
.faq-a {
  display: none; padding: 0 1.15rem 1.1rem; color: var(--muted); font-size: .9rem; line-height: 1.55;
}
.faq-item.open .faq-a { display: block; }
.faq-more { text-align: center; margin-top: 1.5rem; }
.faq-more a {
  display: inline-flex; align-items: center; gap: .35rem;
  background: #f1f5f9; color: var(--blue); font-weight: 700; padding: .7rem 1.15rem; border-radius: 999px;
}

/* Download */
.download {
  background: linear-gradient(180deg, #eef4ff, #fff);
  text-align: center; padding: 3.5rem 0;
}
.download h2 { margin: 0 0 .5rem; font-size: 2rem; font-weight: 800; }
.download p { margin: 0 0 1.5rem; color: var(--muted); }
.store-badges { display: flex; justify-content: center; flex-wrap: wrap; gap: .75rem; }
.store-badge {
  display: inline-flex; align-items: center; gap: .65rem;
  background: #0f172a; color: #fff; border-radius: 12px; padding: .7rem 1.1rem; min-width: 170px;
}
.store-badge small { display: block; font-size: .65rem; opacity: .75; }
.store-badge strong { font-size: .95rem; }

/* Footer */
.site-footer {
  background: var(--footer); color: #cbd5e1;
  padding: 3rem 0 2rem; position: relative; overflow: hidden;
}
.site-footer::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(148,163,184,.2) 1px, transparent 1px);
  background-size: 20px 20px; opacity: .35; pointer-events: none;
}
.footer-grid {
  position: relative;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem;
}
.footer-brand .logo-text { color: #fff; }
.footer-brand p { margin: .85rem 0 1.25rem; font-size: .9rem; line-height: 1.6; max-width: 280px; }
.pay-label { font-size: .7rem; font-weight: 700; letter-spacing: .08em; color: #94a3b8; margin-bottom: .55rem; }
.pay-row { display: flex; flex-wrap: wrap; gap: .4rem; }
.pay-chip {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  border-radius: 6px; padding: .3rem .5rem; font-size: .68rem; font-weight: 700; color: #e2e8f0;
}
.footer-col h4 {
  margin: 0 0 1rem; font-size: .78rem; letter-spacing: .06em; color: #fff;
  display: flex; align-items: center; gap: .45rem;
}
.footer-col h4::before { content: ""; width: 3px; height: 14px; background: var(--blue); border-radius: 2px; }
.footer-col a {
  display: block; color: #94a3b8; font-size: .9rem; margin-bottom: .55rem;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  position: relative; margin-top: 2.5rem; padding-top: 1.25rem;
  border-top: 1px solid rgba(148,163,184,.15);
  font-size: .8rem; color: #64748b; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem;
}

/* Chat bubble */
.chat-fab {
  display: none !important;
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 200;
  width: 56px; height: 56px; border-radius: 999px; border: 0;
  background: var(--blue); color: #fff; cursor: pointer;
  box-shadow: 0 12px 28px rgba(47,107,234,.4);
  display: grid; place-items: center;
}
.chat-fab:hover { background: var(--blue-dark); }

/* Responsive */
@media (max-width: 1024px) {
  .country-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .logo-img { height: 24px; max-width: 128px; }
  .nav-main { display: none; }
  .menu-toggle { display: grid; }
  .header-inner {
    height: 56px;
    width: 100%;
    padding-inline: 0;
    gap: .5rem;
  }
  .header-actions { margin-left: auto; gap: .25rem; flex-shrink: 0; }
  .logo { flex-shrink: 0; }
  .lang-btn #langCurrentLabel { display: none; }
  .hero-grid, .what-grid, .eco-grid { grid-template-columns: 1fr; }
  .hero { padding: 1.5rem 0 1rem; }
  .hero-visual {
    position: relative;
    min-height: 0;
    margin-top: 1.25rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .65rem;
    width: 100%;
    max-width: 100%;
  }
  .hv-card {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100%;
  }
  .hv-main { grid-column: 1 / -1; }
  .steps-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .dest-panel { padding: 1rem; border-radius: 20px; overflow: hidden; }
  .offer { flex-direction: column; align-items: stretch; }
  .offer-right { width: 100%; }
}
@media (max-width: 640px) {
  .container { padding-inline: 1rem; }
  .country-grid { grid-template-columns: 1fr; }
  .reviews-grid, .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .stat-row { width: 100%; }
  .stat-chip { flex: 1 1 calc(50% - .35rem); min-width: 0; }
  .dest-panel { padding: .85rem; border-radius: 18px; }
  .offer { border-radius: 16px; padding: 1.1rem; }
  .continents { gap: .4rem; }
  .continents button { padding: .45rem .75rem; font-size: .8rem; }
  .toggle { width: 100%; }
  .toggle button { flex: 1; text-align: center; padding: .55rem .5rem; font-size: .8rem; }
  .dest-top { flex-direction: column; align-items: stretch; }
  .hero h1 { font-size: 1.65rem; }
  .hero-ctas { width: 100%; }
  .hero-ctas .btn { flex: 1 1 auto; justify-content: center; }
  .step-card, .why-card, .review-card { width: 100%; max-width: 100%; }
  .feature-item { grid-template-columns: auto 1fr; }
  .fi-num { display: none; }
  .search-bar { padding: .75rem 1rem; }
  .chat-fab { right: 1rem; bottom: 1rem; width: 52px; height: 52px; }
  .section { padding: 2.25rem 0; }
}
@media (max-width: 400px) {
  .country-grid { grid-template-columns: 1fr; }
  .hero-visual { grid-template-columns: 1fr; }
}


/* ===== Inner pages + detail ===== */
.page-hero {
  padding: 2.5rem 0 1.5rem;
  background: linear-gradient(180deg, #f5f9ff 0%, #fff 100%);
}
.page-hero h1 { margin: 0 0 .6rem; font-size: clamp(1.75rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -.02em; }
.page-hero p { margin: 0; color: var(--muted); max-width: 560px; }
.breadcrumb {
  display: flex; flex-wrap: wrap; gap: .4rem; align-items: center;
  font-size: .85rem; color: var(--muted); margin-bottom: 1.25rem;
}
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb .sep { opacity: .5; }
.detail-layout {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 2rem; align-items: start;
  padding: 1.5rem 0 3rem;
}
.detail-visual {
  border-radius: 24px; overflow: hidden; background: linear-gradient(160deg, #dbeafe, #e0f2fe 40%, #fef3c7);
  min-height: 240px; position: relative; display: grid; place-items: center;
  border: 1px solid #e2e8f0;
}
.detail-visual .place-label {
  font-size: 2rem; font-weight: 800; letter-spacing: .12em; color: rgba(15,23,42,.35); text-transform: uppercase;
}
.detail-visual .esim-badge {
  position: absolute; top: 1rem; left: 1rem;
  background: var(--blue); color: #fff; font-size: .72rem; font-weight: 700;
  padding: .3rem .6rem; border-radius: 8px;
}
.detail-visual .big-flag {
  position: absolute; bottom: 1rem; right: 1rem;
  width: 56px; height: 40px; border-radius: 8px; overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
}
.detail-visual .big-flag img { width: 100%; height: 100%; object-fit: cover; }
.info-card {
  margin-top: 1rem; background: #f0f7ff; border-radius: 18px; padding: 1.15rem 1.25rem;
  border: 1px solid #dbeafe;
}
.info-card h3 { margin: 0 0 .75rem; font-size: 1rem; }
.info-card ul { margin: 0; padding-left: 1.1rem; color: #334155; font-size: .9rem; }
.info-card li { margin-bottom: .45rem; }
.network-row {
  display: flex; align-items: center; gap: .75rem; flex-wrap: wrap;
  margin-top: .75rem;
}
.network-pills { display: flex; flex-wrap: wrap; gap: .4rem; }
.network-pills span {
  background: #fff; border: 1px solid #bfdbfe; border-radius: 999px;
  padding: .3rem .65rem; font-size: .78rem; font-weight: 600; color: #1e40af;
}
.detail-buy h1 { margin: 0 0 .5rem; font-size: 1.75rem; font-weight: 800; }
.rating-row { display: flex; align-items: center; gap: .5rem; margin-bottom: 1.1rem; color: #16a34a; font-weight: 700; font-size: .9rem; }
.plan-toggle {
  display: inline-flex; padding: .25rem; background: #f1f5f9; border-radius: 999px; gap: .15rem; margin-bottom: 1rem;
}
.plan-toggle button {
  border: 0; background: transparent; border-radius: 999px; padding: .55rem 1rem;
  font-size: .85rem; font-weight: 600; color: #64748b; cursor: pointer;
}
.plan-toggle button.active { background: var(--blue); color: #fff; }
.plan-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; margin-bottom: 1rem;
}
.plan-opt {
  border: 1px solid #e2e8f0; background: #fff; border-radius: 12px;
  padding: .75rem .65rem; text-align: center; cursor: pointer; font-size: .82rem; font-weight: 600; color: #334155;
}
.plan-opt.active, .plan-opt:hover { border-color: var(--blue); color: var(--blue); background: #eff6ff; }
.qty-row { display: flex; align-items: center; gap: .75rem; margin: 1rem 0; }
.qty-ctrl {
  display: inline-flex; align-items: center; border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden;
}
.qty-ctrl button {
  width: 36px; height: 36px; border: 0; background: #f8fafc; cursor: pointer; font-size: 1.1rem; font-weight: 700; color: #475569;
}
.qty-ctrl span { min-width: 36px; text-align: center; font-weight: 700; }
.price-line { font-size: 1.35rem; font-weight: 800; margin: .5rem 0 1rem; }
.btn-block { width: 100%; justify-content: center; margin-bottom: .65rem; }
.btn-ghost {
  background: #eff6ff; color: var(--blue); border: 1px solid #bfdbfe;
}
.btn-ghost:hover { background: #dbeafe; }
.btn:disabled, .btn.disabled { opacity: .45; pointer-events: none; }

.inner-section { padding: 2.5rem 0; }
.card-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.offer-list { display: grid; gap: 1rem; }
.offer-item {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: center;
  background: linear-gradient(105deg, #1d4ed8 0%, #2563eb 40%, #06b6d4 100%);
  color: #fff; border-radius: 20px; padding: 1.25rem 1.4rem;
}
.auth-card, .bag-card {
  max-width: 440px; margin: 0 auto; background: #fff; border: 1px solid #e8eef8;
  border-radius: 20px; padding: 1.75rem; box-shadow: var(--shadow-sm);
}
.auth-card h1, .bag-card h1 { margin: 0 0 1rem; font-size: 1.5rem; }
.form-field { margin-bottom: .9rem; }
.form-field label { display: block; font-size: .8rem; font-weight: 600; color: #475569; margin-bottom: .35rem; }
.form-field input {
  width: 100%; border: 1px solid #e2e8f0; border-radius: 12px; padding: .75rem .9rem; outline: none;
}
.form-field input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47,107,234,.15); }
.auth-tabs { display: flex; gap: .5rem; margin-bottom: 1.25rem; }
.auth-tabs button {
  flex: 1; border: 1px solid #e2e8f0; background: #fff; border-radius: 999px; padding: .55rem; font-weight: 600; cursor: pointer;
}
.auth-tabs button.active { background: var(--blue); color: #fff; border-color: var(--blue); }
.nav-main a.active { color: var(--blue); font-weight: 700; }
.empty-bag { text-align: center; color: var(--muted); padding: 1.5rem 0; }

@media (max-width: 900px) {
  body { padding-top: 56px; }
  .site-header .header-inner { height: 56px; }
  .detail-layout { grid-template-columns: 1fr; }
  .card-3 { grid-template-columns: 1fr; }
  .plan-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .plan-grid { grid-template-columns: 1fr; }
}

.page-hero .hero-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: center; }
@media (max-width: 900px) {
  .page-hero .hero-split { grid-template-columns: 1fr; }
}

/* ===== Detail page polish ===== */
.detail-page { padding: 1.25rem 0 3rem; }
.detail-left { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.detail-visual {
  min-height: 280px;
  background:
    radial-gradient(ellipse 80% 60% at 70% 80%, rgba(255,255,255,.35), transparent 55%),
    linear-gradient(160deg, #7dd3fc 0%, #38bdf8 35%, #0ea5e9 70%, #0369a1 100%);
  border-radius: 24px;
  border: 0;
  box-shadow: 0 16px 40px rgba(14,165,233,.25);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 1.5rem 1rem 4rem;
}
.detail-visual .place-label {
  position: relative;
  z-index: 2;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: .14em;
  color: rgba(15, 23, 42, .55);
  text-transform: uppercase;
}
.detail-visual .esim-badge {
  position: absolute; top: 1rem; left: 1rem; z-index: 3;
  display: inline-flex; align-items: center; gap: .35rem;
  background: #fff; color: #0f172a;
  font-size: .72rem; font-weight: 700;
  padding: .35rem .65rem; border-radius: 999px;
  box-shadow: 0 4px 12px rgba(15,23,42,.12);
}
.esim-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #ef4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,.2);
}
.detail-visual-art {
  position: absolute; inset: auto 0 0 0; height: 55%;
  background:
    radial-gradient(circle at 30% 100%, rgba(255,255,255,.5) 0 12%, transparent 13%),
    radial-gradient(circle at 70% 90%, rgba(254,243,199,.7) 0 18%, transparent 19%),
    linear-gradient(180deg, transparent, rgba(15,23,42,.08));
  pointer-events: none;
}
.detail-visual .big-flag {
  position: absolute; bottom: 1rem; right: 1rem; z-index: 3;
  width: 64px; height: 44px; border-radius: 10px; overflow: hidden;
  box-shadow: 0 8px 20px rgba(15,23,42,.2); background: #fff;
}
.info-card {
  background: #fff;
  border: 1px solid #e8eef8;
  border-radius: 18px;
  padding: 1.15rem 1.25rem;
  box-shadow: 0 4px 16px rgba(15,23,42,.04);
}
.info-card h3 {
  display: flex; align-items: center; gap: .45rem;
  margin: 0 0 .85rem; font-size: 1rem; font-weight: 750;
}
.info-ico { font-size: .95rem; }
.plan-detail-list {
  margin: 0; padding-left: 1.15rem; color: #334155; font-size: .9rem; line-height: 1.55;
}
.plan-detail-list li { margin-bottom: .55rem; }
.plan-detail-list strong { color: #0f172a; }
.network-row {
  display: flex; align-items: center; gap: .75rem; flex-wrap: wrap;
}
.network-row .network-pills { margin-left: auto; }
.network-pills { display: flex; flex-wrap: wrap; gap: .4rem; }
.network-pills span {
  background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 999px;
  padding: .35rem .7rem; font-size: .78rem; font-weight: 600; color: #1d4ed8;
}
.detail-buy {
  background: #fff;
  border: 1px solid #e8eef8;
  border-radius: 22px;
  padding: 1.35rem 1.35rem 1.5rem;
  box-shadow: 0 8px 28px rgba(15,23,42,.06);
  position: sticky;
  top: 80px;
}
.detail-buy h1 { margin: 0 0 .4rem; font-size: 1.75rem; font-weight: 800; letter-spacing: -.02em; }
.rating-row { color: #16a34a; margin-bottom: .55rem; }
.rating-row .stars { letter-spacing: .05em; }
.detail-country-chip {
  display: inline-flex; align-items: center; gap: .45rem;
  margin-bottom: 1rem; font-weight: 600; color: #334155; font-size: .9rem;
}
.flag-rect-sm { width: 28px; height: 20px; border-radius: 5px; }
.select-plan-label { font-weight: 700; margin: 0 0 .65rem; }
.plan-grid { grid-template-columns: 1fr 1fr; gap: .6rem; margin-bottom: 1.15rem; }
.plan-opt {
  min-height: 3rem; border-radius: 14px; border: 1.5px solid #e2e8f0;
  background: #fff; font-size: .82rem; font-weight: 650; color: #334155;
  transition: .15s ease;
}
.plan-opt.active {
  border-color: var(--blue); color: var(--blue); background: #eff6ff;
  box-shadow: 0 0 0 3px rgba(47,107,234,.12);
}
.qty-block { margin-bottom: 1rem; }
.qty-label { font-weight: 700; margin-bottom: .45rem; font-size: .9rem; }
.price-range { color: var(--muted); font-size: .9rem; margin-bottom: .2rem; }
.price-line {
  font-size: 1.6rem; font-weight: 800; color: var(--blue);
  margin: .15rem 0 1.1rem;
}
.btn-ghost {
  background: #fff; color: var(--blue); border: 1.5px solid #93c5fd;
}
.btn-ghost:hover { background: #eff6ff; }

@media (max-width: 900px) {
  .detail-buy { position: static; }
  .network-row .network-pills { margin-left: 0; width: 100%; }
  .plan-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .plan-grid { grid-template-columns: 1fr; }
}

/* ===== Content pages (offers/invite/about/help) ===== */
.page-hero .lead { max-width: 720px; font-size: 1.05rem; line-height: 1.65; color: var(--muted); }
.page-stats { margin-top: 1.25rem; }
.page-stack { display: flex; flex-direction: column; gap: 1.25rem; }
.content-card {
  background: #fff; border: 1px solid #e8eef8; border-radius: 22px;
  padding: 1.35rem 1.35rem 1.5rem; box-shadow: 0 8px 24px rgba(15,23,42,.05);
  width: 100%; max-width: 100%; box-sizing: border-box;
}
.offer-feature { border: 1px solid #bfdbfe; background: linear-gradient(180deg,#f8fbff,#fff); }
.card-badge {
  display: inline-flex; align-items: center;
  font-size: .7rem; font-weight: 800; letter-spacing: .06em; color: var(--blue);
  background: var(--blue-soft); padding: .3rem .65rem; border-radius: 999px; margin-bottom: .75rem;
}
.reward-pill {
  display: inline-flex; gap: .65rem; align-items: center; flex-wrap: wrap;
  background: #ecfdf5; color: #047857; border-radius: 12px; padding: .65rem .9rem; margin: .85rem 0 1rem;
  font-size: .9rem;
}
.step-ol { margin: .5rem 0 1rem; padding-left: 1.2rem; color: #334155; }
.step-ol li { margin-bottom: .45rem; line-height: 1.5; }
.muted-note { color: var(--muted); font-size: .85rem; margin: .5rem 0 1rem; }
.voucher-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-top: 1rem; }
.code-box.dark { background: #0f172a; color: #fff; border: 0; }
.alt-bg { background: #f8fbff; }
.affiliate-card { box-shadow: var(--shadow); }
.aff-label { font-weight: 700; margin-bottom: .5rem; }
.aff-link-row {
  display: flex; gap: .5rem; align-items: center; flex-wrap: wrap;
  background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: .55rem .65rem;
}
.aff-link-row code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .85rem; color: #475569; }
.btn-sm { padding: .45rem .8rem; font-size: .8rem; }
.mini-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .9rem; }
.mini-tags span {
  background: #eff6ff; color: #1d4ed8; border-radius: 999px; padding: .35rem .7rem; font-size: .78rem; font-weight: 600;
}
.page-two-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: 1.5rem; align-items: start; }
.check-list { margin: 1rem 0 0; padding-left: 1.1rem; color: #334155; }
.check-list li { margin-bottom: .55rem; line-height: 1.5; }
.earn-table { display: flex; flex-direction: column; gap: .65rem; margin: 1rem 0; }
.earn-row {
  display: flex; justify-content: space-between; gap: .75rem; flex-wrap: wrap;
  background: #f8fafc; border-radius: 12px; padding: .75rem .9rem; font-size: .92rem;
}
.cta-band {
  text-align: center; background: linear-gradient(180deg,#eef4ff,#fff);
  border: 1px solid #e8eef8; border-radius: 24px; padding: 2rem 1.25rem;
}
.cta-band h2 { margin: 0 0 .5rem; }
.cta-band p { margin: 0 0 1.1rem; color: var(--muted); }
.badge-row, .region-chips, .stats-grid-2 {
  display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.25rem;
}
.feat-badge {
  flex: 1 1 140px; min-width: 120px; max-width: 100%;
  background: #fff; border: 1px solid #e8eef8; border-radius: 16px;
  padding: .85rem 1rem; box-shadow: var(--shadow-sm);
}
.feat-badge strong { display: block; font-size: 1.15rem; color: var(--blue); }
.feat-badge span { font-size: .8rem; color: var(--muted); }
.stats-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; }
.region-chips span {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 999px;
  padding: .5rem .9rem; font-size: .85rem; font-weight: 600; color: #334155;
}
.faq-tabs {
  display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem;
}
.faq-tabs button {
  border: 1px solid #e2e8f0; background: #fff; border-radius: 999px;
  padding: .5rem .9rem; font-size: .82rem; font-weight: 600; color: #475569; cursor: pointer;
}
.faq-tabs button.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.faq-cat { margin-bottom: 1.5rem; }
.faq-cat-title { margin: 0 0 .75rem; font-size: 1.15rem; font-weight: 800; }

@media (max-width: 900px) {
  .page-two-col, .hero-split { grid-template-columns: 1fr; }
  .stats-grid-2 { grid-template-columns: 1fr 1fr; }
  .detail-buy { position: static; }
}
@media (max-width: 640px) {
  .page-hero { padding: 1.5rem 0 1rem; }
  .page-hero h1 { font-size: 1.65rem; }
  .content-card { padding: 1.1rem; border-radius: 18px; }
  .voucher-row .btn, .voucher-row .code-box { width: 100%; justify-content: center; text-align: center; }
  .aff-link-row { flex-direction: column; align-items: stretch; }
  .aff-link-row .btn { width: 100%; }
  .faq-tabs { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: .25rem; }
  .faq-tabs button { flex: 0 0 auto; }
  .feat-badge { flex: 1 1 calc(50% - .35rem); }
  .card-3 { grid-template-columns: 1fr; }
  .earn-row { flex-direction: column; }
}


/* Legal pages */
.legal-page { padding: 1.5rem 0 3rem; }
.legal-wrap { max-width: 800px; }
.legal-wrap h1 { font-size: 1.75rem; margin: .75rem 0 .35rem; }
.legal-updated { color: var(--muted); font-size: .9rem; margin-bottom: 1.5rem; }
.legal-body h2 { font-size: 1.1rem; margin: 1.5rem 0 .5rem; }
.legal-body p { color: #334155; margin: 0 0 .75rem; line-height: 1.65; }
.legal-nav { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.legal-nav a { color: var(--blue); font-weight: 600; font-size: .9rem; }
@media (max-width: 640px) {
  .legal-wrap h1 { font-size: 1.4rem; }
}

/* FAQ: PC default expanded (class set by JS); mobile stays collapsed */
@media (min-width: 901px) {
  .faq-item.faq-desktop-open .faq-a,
  .faq-item.open .faq-a { display: block; }
}
