/* ---------- Base ---------- */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
:root {
  --bg: #ffffff;
  --bg-alt: #f6f8fc;
  --text: #0d1224;
  --muted: #5a6079;
  --line: #e7eaf2;
  --primary: #0b5cff;
  --primary-2: #6e8bff;
  --accent: #00d4b5;
  --warn: #ff8a3d;
  --dark: #0a1030;
  --shadow: 0 10px 30px rgba(11, 92, 255, 0.08);
  --shadow-lg: 0 30px 60px rgba(11, 92, 255, 0.18);
  --radius: 14px;
  --radius-lg: 20px;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
.container { width: min(1180px, 92%); margin: 0 auto; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--dark);
  color: #cdd3ff;
  font-size: 13px;
  padding: 8px 0;
}
.topbar-inner {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  flex-wrap: wrap;
}
.topbar-links a { margin-left: 16px; color: #cdd3ff; opacity: .9; }
.topbar-links a:hover { color: #fff; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.logo-mark {
  display: inline-grid; place-items: center;
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff; font-weight: 800; font-size: 14px;
  box-shadow: var(--shadow);
}
.logo-text { letter-spacing: -0.01em; font-size: 18px; }
.logo-text em { font-style: normal; color: var(--primary); }
.nav-links { display: flex; gap: 26px; }
.nav-links a { color: var(--text); font-weight: 500; }
.nav-links a:hover { color: var(--primary); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.menu-toggle {
  display: none;
  background: transparent; border: 1px solid var(--line);
  width: 40px; height: 40px; border-radius: 10px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 18px; border-radius: 10px;
  font-weight: 600; font-size: 14px;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px rgba(11,92,255,.25); }
.btn-primary:hover { background: #0a4fe0; }
.btn-outline { background: #fff; color: var(--text); border-color: var(--line); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-ghost { background: transparent; color: var(--text); }
.btn-ghost:hover { color: var(--primary); }
.btn-lg { padding: 14px 22px; font-size: 15px; border-radius: 12px; }
.btn-block { width: 100%; }
.icon-btn { background: transparent; border: none; font-size: 18px; color: var(--muted); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 500px at 80% -10%, rgba(0,212,181,.18), transparent 60%),
    radial-gradient(900px 600px at 0% 10%, rgba(11,92,255,.18), transparent 60%),
    linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
  padding: 72px 0 90px;
}
.hero-inner {
  display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 40px;
}
.badge {
  display: inline-block; padding: 6px 12px; border-radius: 999px;
  background: #e8f0ff; color: var(--primary); font-size: 12px; font-weight: 600;
  margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.05; letter-spacing: -0.02em;
  margin: 0 0 18px;
}
.grad {
  background: linear-gradient(120deg, var(--primary), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { color: var(--muted); font-size: 17px; max-width: 540px; }
.hero-actions { display: flex; gap: 12px; margin: 26px 0 22px; flex-wrap: wrap; }
.hero-trust {
  list-style: none; padding: 0; margin: 0;
  display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: 14px;
}

/* Phone visual */
.hero-visual { position: relative; height: 460px; }
.phone {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 260px; height: 430px; border-radius: 38px;
  background: linear-gradient(160deg, #1a2350, #0a1030);
  padding: 14px;
  box-shadow: var(--shadow-lg);
}
.phone-screen {
  width: 100%; height: 100%; border-radius: 28px;
  background: linear-gradient(180deg, #ffffff, #eef2ff);
  padding: 14px; position: relative; overflow: hidden;
}
.phone-bar { display: flex; gap: 6px; margin-bottom: 12px; }
.phone-bar span { width: 8px; height: 8px; border-radius: 50%; background: #c8d0ee; }
.phone-bar span:first-child { background: #ff6b6b; }
.phone-bar span:nth-child(2) { background: #ffd166; }
.phone-bar span:nth-child(3) { background: #06d6a0; }
.phone-card {
  background: #fff; border-radius: 16px; padding: 14px;
  box-shadow: var(--shadow);
  margin-bottom: 14px;
}
.phone-card-title { font-weight: 800; font-size: 16px; }
.phone-card-sub { color: var(--muted); font-size: 12px; margin-bottom: 10px; }
.phone-bar-wrap { height: 8px; background: #e7eaf2; border-radius: 999px; overflow: hidden; margin-bottom: 12px; }
.phone-bar-fill {
  width: 62%; height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 999px;
}
.phone-stats { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.phone-stats strong { display: block; color: var(--text); font-size: 14px; }
.phone-qr {
  margin: 0 auto; width: 130px; height: 130px;
  background:
    linear-gradient(45deg, #0d1224 25%, transparent 25%) 0 0/16px 16px,
    linear-gradient(-45deg, #0d1224 25%, transparent 25%) 0 0/16px 16px,
    linear-gradient(45deg, transparent 75%, #0d1224 75%) 0 0/16px 16px,
    linear-gradient(-45deg, transparent 75%, #0d1224 75%) 0 0/16px 16px,
    #fff;
  border-radius: 8px;
  border: 4px solid #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,.12);
}
.qr { width: 100%; height: 100%; }
.orbit {
  position: absolute; border-radius: 50%;
  border: 1px dashed rgba(11,92,255,.25);
}
.orbit-1 { width: 380px; height: 380px; left: 50%; top: 50%; transform: translate(-50%,-50%); }
.orbit-2 { width: 520px; height: 520px; left: 50%; top: 50%; transform: translate(-50%,-50%); opacity: .6; }

/* ---------- Partners ---------- */
.partners { padding: 32px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.partners-label { text-align: center; color: var(--muted); font-size: 13px; margin: 0 0 14px; letter-spacing: .04em; text-transform: uppercase; }
.partners-logos {
  display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap; gap: 18px;
  color: #8a90a8; font-weight: 700; letter-spacing: .04em;
  filter: grayscale(1);
}

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  letter-spacing: -0.02em; margin: 0 0 12px;
}
.section-head p { color: var(--muted); margin: 0; }

/* ---------- Filters ---------- */
.filters {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  margin-bottom: 36px;
}
.chip {
  border: 1px solid var(--line);
  background: #fff;
  padding: 8px 16px; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--text);
  transition: all .15s ease;
}
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip-active {
  background: var(--text); color: #fff; border-color: var(--text);
}

/* ---------- Product grid ---------- */
.product-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}
.product {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px; display: flex; flex-direction: column; gap: 14px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
}
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d6deef; }
.product .flag { font-size: 28px; }
.product .region { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.product h3 { margin: 0; font-size: 18px; letter-spacing: -0.01em; }
.product .specs {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.product .spec {
  background: #eef3ff; color: var(--primary);
  font-size: 12px; font-weight: 600;
  padding: 4px 10px; border-radius: 999px;
}
.product .price-row { display: flex; align-items: baseline; gap: 6px; }
.product .price { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; }
.product .price-old { color: var(--muted); text-decoration: line-through; font-size: 14px; }
.product ul.features {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 6px; color: var(--muted); font-size: 13px;
}
.product ul.features li::before { content: "✓ "; color: var(--accent); font-weight: 800; margin-right: 4px; }
.product .add-row { margin-top: auto; display: flex; gap: 8px; }
.product .tag {
  position: absolute; top: 14px; right: 14px;
  background: var(--warn); color: #fff;
  font-size: 11px; font-weight: 800; padding: 4px 8px; border-radius: 6px;
  letter-spacing: .04em; text-transform: uppercase;
}
.product .tag-popular { background: var(--primary); }
.product .tag-best { background: var(--accent); color: #003a30; }

/* ---------- Destinations ---------- */
.dest-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}
.dest {
  background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 14px;
  display: flex; align-items: center; gap: 10px;
  transition: transform .15s ease, border-color .15s ease;
}
.dest:hover { transform: translateY(-2px); border-color: var(--primary); }
.dest .flag { font-size: 22px; }
.dest .name { font-weight: 600; font-size: 14px; }

/* ---------- Steps ---------- */
.steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px; counter-reset: step;
}
.steps li {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 26px;
  position: relative;
}
.step-num {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff; font-weight: 800; margin-bottom: 14px;
}
.steps h3 { margin: 0 0 8px; font-size: 18px; }
.steps p { color: var(--muted); margin: 0; }

/* ---------- Features ---------- */
.features {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.feature {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 26px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature-icon {
  font-size: 28px; width: 56px; height: 56px;
  display: grid; place-items: center;
  background: #eef3ff; border-radius: 14px; margin-bottom: 14px;
}
.feature h3 { margin: 0 0 6px; font-size: 17px; }
.feature p { color: var(--muted); margin: 0; font-size: 14px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq-item {
  background: #fff; border: 1px solid var(--line);
  border-radius: 12px; overflow: hidden;
}
.faq-q {
  width: 100%; text-align: left; background: transparent; border: none;
  padding: 18px 20px; font-weight: 700; font-size: 15px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  color: var(--text);
}
.faq-q::after { content: "+"; font-size: 22px; color: var(--primary); transition: transform .2s ease; }
.faq-item.open .faq-q::after { content: "−"; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-item.open .faq-a { max-height: 320px; }
.faq-a p { margin: 0; padding: 0 20px 18px; color: var(--muted); }

/* ---------- CTA ---------- */
.cta {
  background:
    radial-gradient(800px 300px at 80% 0%, rgba(0,212,181,.25), transparent 60%),
    linear-gradient(135deg, #0a1030, #15206a);
  color: #fff;
  padding: 70px 0;
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta h2 { margin: 0 0 8px; font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.02em; }
.cta p { margin: 0; color: #c9d0ff; }

/* ---------- Footer ---------- */
.footer { background: #0a1030; color: #c8cfe6; padding: 60px 0 24px; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px;
  margin-bottom: 30px;
}
.footer h4 { color: #fff; margin: 0 0 14px; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a:hover { color: #fff; }
.footer .logo-text { color: #fff; }
.footer-tag { color: #8b91b2; margin-top: 10px; font-size: 14px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid #1c2350; padding-top: 18px;
  font-size: 13px; color: #8b91b2; flex-wrap: wrap; gap: 10px;
}

/* ---------- Cart drawer ---------- */
.cart-drawer {
  position: fixed; top: 0; right: 0; height: 100vh; width: min(380px, 100%);
  background: #fff; box-shadow: -20px 0 60px rgba(10,16,48,.18);
  transform: translateX(100%); transition: transform .3s ease;
  z-index: 100; display: flex; flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }
.cart-head, .cart-foot { padding: 18px 20px; border-bottom: 1px solid var(--line); }
.cart-head { display: flex; justify-content: space-between; align-items: center; }
.cart-head h3 { margin: 0; font-size: 16px; }
.cart-body { flex: 1; overflow-y: auto; padding: 14px 20px; }
.cart-foot { border-top: 1px solid var(--line); border-bottom: none; }
.cart-empty { color: var(--muted); text-align: center; padding: 40px 0; }
.cart-item {
  display: grid; grid-template-columns: 40px 1fr auto; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--line); align-items: center;
}
.cart-item:last-child { border-bottom: none; }
.cart-item .flag { font-size: 24px; }
.cart-item .meta { font-size: 13px; color: var(--muted); }
.cart-item .name { font-weight: 700; font-size: 14px; }
.cart-item .price { font-weight: 800; }
.cart-item .remove { background: none; border: none; color: var(--muted); font-size: 12px; margin-top: 4px; padding: 0; }
.cart-item .remove:hover { color: #ff4d4f; }
.cart-total { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.cart-total strong { font-size: 20px; }
.cart-note { font-size: 12px; color: var(--muted); margin: 10px 0 0; text-align: center; }
.overlay {
  position: fixed; inset: 0; background: rgba(10,16,48,.4);
  opacity: 0; pointer-events: none; transition: opacity .3s ease;
  z-index: 90;
}
.overlay.show { opacity: 1; pointer-events: auto; }
.cart-count {
  display: inline-grid; place-items: center;
  min-width: 18px; height: 18px; border-radius: 999px;
  background: var(--primary); color: #fff; font-size: 11px; font-weight: 800;
  padding: 0 5px; margin-left: 2px;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 30px; transform: translateX(-50%) translateY(40px);
  background: var(--text); color: #fff;
  padding: 12px 18px; border-radius: 10px;
  font-size: 14px; font-weight: 600;
  opacity: 0; transition: all .25s ease; z-index: 200;
  box-shadow: var(--shadow-lg);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Legal / Policy pages ---------- */
.legal {
  padding: 60px 0 90px;
  background: var(--bg);
}
.legal-inner { max-width: 820px; margin: 0 auto; }
.legal h1 {
  font-size: clamp(28px, 3.4vw, 40px);
  letter-spacing: -0.02em; margin: 0 0 8px;
}
.legal .updated { color: var(--muted); font-size: 13px; margin: 0 0 24px; }
.legal .lead {
  background: #eef3ff; border-left: 4px solid var(--primary);
  padding: 14px 16px; border-radius: 8px;
  color: var(--text); font-weight: 600;
  margin: 0 0 28px;
}
.legal h2 {
  font-size: 20px; letter-spacing: -0.01em;
  margin: 32px 0 10px;
}
.legal h3 { font-size: 16px; margin: 18px 0 6px; }
.legal p, .legal li { color: var(--text); font-size: 15px; line-height: 1.7; }
.legal ul, .legal ol { padding-left: 22px; }
.legal a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.legal .meta-row {
  display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px;
}
.legal .pill {
  background: #fff; border: 1px solid var(--line);
  padding: 6px 12px; border-radius: 999px; font-size: 12px; color: var(--muted);
  font-weight: 600;
}
.legal .pill-warn { background: #fff4ec; border-color: #ffd9b8; color: #b85700; }
.legal .divider { height: 1px; background: var(--line); margin: 28px 0; }

/* Compliance notice (homepage bottom strip) */
.compliance-strip {
  background: #f0f4ff;
  border-top: 1px solid #d8e2ff;
  border-bottom: 1px solid #d8e2ff;
  padding: 22px 0 24px;
  color: var(--text);
}
.compliance-strip-inner {
  display: flex; flex-direction: column; gap: 14px;
}
.compliance-strip-text {
  font-size: 14px; line-height: 1.6; color: var(--text);
}
.compliance-strip-text strong { color: var(--primary); font-weight: 700; }
.compliance-strip-links {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.compliance-strip-links a {
  display: inline-block;
  background: #ffffff;
  border: 1px solid #c9d5ff;
  color: var(--primary);
  font-size: 13px; font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  text-decoration: none;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.compliance-strip-links a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { height: 380px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 16px; gap: 12px;
    border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .menu-toggle { display: grid; place-items: center; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 64px; }
  .section { padding: 64px 0; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .topbar-inner { font-size: 12px; }
}
