@font-face { font-family: "Montserrat"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(/assets/fonts/montserrat-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(/assets/fonts/montserrat-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Montserrat"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(/assets/fonts/montserrat-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

:root {
  color-scheme: light;
  --brand: #830072;
  --brand-600: #9b1a87;
  --brand-800: #4d0647;
  --brand-900: #2a0526;
  --pink: #ff5fb8;
  --peach: #ffc48a;
  --ink: #1d1220;
  --muted: #6c5f70;
  --line: #efe4ee;
  --soft: #fbf6fb;
  --white: #fff;
  --radius: 18px;
  --shadow: 0 18px 50px -20px rgba(74, 6, 66, .45);
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Arabic", "Geeza Pro",
          "Hiragino Sans", "Apple SD Gothic Neo", "Malgun Gothic", "PingFang SC", "Microsoft YaHei", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.i18n-pending body { visibility: hidden; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.5;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 20px; }

/* ---------- Topbar ---------- */
.topbar { position: absolute; inset-inline: 0; top: 0; z-index: 5; padding-top: env(safe-area-inset-top); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand img { height: 29px; width: auto; }
:lang(ja) h1, :lang(ja) h2, :lang(ja) h3, :lang(ja) p,
:lang(zh) h1, :lang(zh) h2, :lang(ko) h1, :lang(ko) h2 { word-break: auto-phrase; }
:lang(ko) p, :lang(ko) h3 { word-break: keep-all; }
.lang { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px;
  border-radius: 999px; color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  font-size: 14px; font-weight: 600; cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.lang:hover { background: rgba(255,255,255,.2); }
.lang:focus-within { outline: 2px solid #fff; outline-offset: 2px; }
.lang__globe { width: 17px; height: 17px; }
.lang__chev { width: 15px; height: 15px; opacity: .8; }
.lang__name { max-width: 130px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lang select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 16px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; padding: calc(96px + env(safe-area-inset-top)) 0 56px;
  background: radial-gradient(120% 80% at 10% 0%, #6e0a63 0%, var(--brand-900) 60%, #18031a 100%); }
.hero__bg .blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.b1 { width: 420px; height: 420px; background: var(--brand); top: -140px; inset-inline-end: -120px; }
.b2 { width: 320px; height: 320px; background: #c2187e; bottom: -160px; inset-inline-start: -120px; opacity: .45; }
.b3 { width: 220px; height: 220px; background: #ff8a5c; top: 38%; inset-inline-end: 10%; opacity: .22; }
.hero__grid { position: relative; display: grid; gap: 44px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .02em;
  padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #5cf2a5; box-shadow: 0 0 0 4px rgba(92,242,165,.18); }
.hero h1 { margin-top: 18px; font-size: clamp(34px, 9vw, 60px); line-height: 1.08; font-weight: 800; letter-spacing: -.025em; text-wrap: balance; }
.hero h1 em { font-style: normal; background: linear-gradient(92deg, var(--pink), var(--peach)); -webkit-background-clip: text;
  background-clip: text; color: transparent; }
:lang(ja) .hero h1, :lang(zh) .hero h1, :lang(ko) .hero h1, :lang(ar) .hero h1 { letter-spacing: 0; line-height: 1.2; }
.sub { margin-top: 16px; font-size: 17px; color: rgba(255,255,255,.78); max-width: 34em; text-wrap: pretty; }

/* Buttons */
.btn { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 60px; padding: 14px 22px;
  border-radius: 16px; font-size: 17px; font-weight: 700; text-decoration: none; text-align: center;
  transition: transform .15s ease, box-shadow .2s ease; -webkit-tap-highlight-color: transparent; }
.btn:active { transform: scale(.98); }
.btn--primary { color: var(--brand-800); background: #fff; box-shadow: 0 14px 34px -12px rgba(255, 95, 184, .65), 0 0 0 1px rgba(255,255,255,.6) inset; }
.btn--primary:hover { box-shadow: 0 18px 40px -12px rgba(255, 95, 184, .85); }
.btn__icon { width: 22px; height: 22px; flex: none; }
.btn:focus-visible, .store:focus-visible, .alt-link:focus-visible { outline: 3px solid var(--peach); outline-offset: 3px; }

.cta-mobile { margin-top: 28px; display: grid; gap: 12px; justify-items: center; }
.alt-link { font-size: 14px; color: rgba(255,255,255,.72); text-underline-offset: 3px; }
.alt-link:hover { color: #fff; }

.store-pair { display: flex; gap: 12px; flex-wrap: wrap; }
.store { display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 22px 0 18px; border-radius: 14px;
  background: #fff; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 16px;
  transition: transform .15s ease, box-shadow .2s ease; box-shadow: 0 10px 28px -14px rgba(0,0,0,.5); }
.store:hover { transform: translateY(-2px); }
.store svg { width: 22px; height: 22px; }
.store--light { background: var(--white); }

.cta-desktop { display: none; margin-top: 32px; gap: 20px; align-items: center; flex-wrap: wrap; }
.qr-card { display: flex; align-items: center; gap: 14px; padding: 12px 18px 12px 12px; border-radius: 16px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); }
.qr-card[hidden] { display: none; }
.qr { position: relative; flex: none; width: 84px; height: 84px; padding: 2px; background: #fff; border: 0; border-radius: 10px;
  cursor: zoom-in; transition: transform .15s ease, box-shadow .2s ease; }
.qr:hover { transform: scale(1.05); box-shadow: 0 10px 26px -10px rgba(0,0,0,.6); }
.qr:focus-visible { outline: 3px solid var(--peach); outline-offset: 3px; }
.qr > img { width: 100%; height: 100%; image-rendering: pixelated; }
.qr__zoom { position: absolute; inset-inline-end: -8px; bottom: -8px; display: grid; place-items: center; width: 26px; height: 26px;
  border-radius: 50%; color: #fff; background: var(--brand); box-shadow: 0 0 0 2px #fff; }
.qr__zoom svg { width: 15px; height: 15px; }
.qr:not(.is-ready) .qr__zoom { display: none; }

.qr-modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 24px;
  background: rgba(24, 3, 26, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .2s ease; }
.qr-modal[hidden] { display: none; }
.qr-modal.is-open { opacity: 1; }
.qr-modal__box { position: relative; display: grid; justify-items: center; gap: 18px; padding: 36px 36px 28px; border-radius: 28px;
  background: #fff; color: var(--ink); box-shadow: 0 40px 90px -30px rgba(0,0,0,.7);
  transform: scale(.94); transition: transform .2s ease; }
.qr-modal.is-open .qr-modal__box { transform: none; }
.qr-modal__code { width: min(340px, 70vw, 60vh); aspect-ratio: 1; }
.qr-modal__code img { width: 100%; height: 100%; image-rendering: pixelated; }
.qr-modal__t { font-size: 18px; font-weight: 700; text-align: center; }
.qr-modal__stores { display: flex; gap: 18px; font-size: 14px; font-weight: 600; color: var(--muted); }
.qr-modal__stores span { display: inline-flex; align-items: center; gap: 6px; }
.qr-modal__stores svg { width: 16px; height: 16px; }
.qr-modal__close { position: absolute; top: 12px; inset-inline-end: 12px; display: grid; place-items: center; width: 40px; height: 40px;
  border: 0; border-radius: 50%; background: var(--soft); color: var(--ink); cursor: pointer; }
.qr-modal__close:hover { background: var(--line); }
.qr-modal__close:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.qr-modal__close svg { width: 20px; height: 20px; }
.qr-card__t { font-weight: 700; font-size: 14px; }
.qr-card__d { font-size: 13px; color: rgba(255,255,255,.7); }

.proof { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 10px;
  font-size: 13px; color: rgba(255,255,255,.78); }
.proof__rating { display: inline-flex; align-items: center; gap: 8px; }
.stars { display: inline-flex; gap: 2px; color: #ffcf5c; }
.stars svg { width: 15px; height: 15px; }
.dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.4); }

/* Visual */
.hero__visual { position: relative; display: grid; place-items: center; min-height: 300px; }
.orbit { position: absolute; border-radius: 50%; border: 1px dashed rgba(255,255,255,.16); }
.o1 { width: 280px; height: 280px; }
.o2 { width: 400px; height: 400px; border-style: solid; border-color: rgba(255,255,255,.07); }
.o3 { width: 200px; height: 200px; border-color: rgba(255,95,184,.3); animation: spin 26s linear infinite; }
.o3::after { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--pink);
  box-shadow: 0 0 16px 4px rgba(255,95,184,.7); }
@keyframes spin { to { transform: rotate(360deg); } }

.esim-card { position: relative; width: min(100%, 340px); padding: 20px; border-radius: 24px; color: #fff;
  background: linear-gradient(150deg, rgba(255,255,255,.2), rgba(255,255,255,.06));
  border: 1px solid rgba(255,255,255,.28); box-shadow: 0 30px 70px -30px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.3);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }
.esim-card__top { display: flex; align-items: center; gap: 10px; }
.esim-card__name { font-weight: 700; font-size: 15px; }
.pill { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 700; background: rgba(92,242,165,.16); color: #9cffcc; }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: #5cf2a5; animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 5px rgba(92,242,165,.15); } }
.esim-card__mid { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 26px; gap: 12px; }
.esim-card__inf { width: 46px; height: 46px; color: var(--peach); }
.esim-card__plan { font-size: 22px; font-weight: 800; letter-spacing: -.01em; line-height: 1.15; }
.signal { display: flex; align-items: flex-end; gap: 3px; }
.signal b { font-size: 13px; margin-inline-end: 4px; }
.signal span { width: 5px; border-radius: 2px; background: #fff; }
.signal span:nth-child(2) { height: 7px; } .signal span:nth-child(3) { height: 11px; }
.signal span:nth-child(4) { height: 15px; } .signal span:nth-child(5) { height: 19px; }
.esim-card__chip { position: absolute; top: 72px; inset-inline-end: 22px; width: 38px; height: 30px; border-radius: 7px;
  background: linear-gradient(135deg, #ffe2b0, #d9a15a); opacity: .9;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.esim-card__chip::before, .esim-card__chip::after { content: ""; position: absolute; inset: 9px 6px; border-top: 1px solid rgba(0,0,0,.2); border-bottom: 1px solid rgba(0,0,0,.2); }
.esim-card__chip::after { inset: 4px 15px; border: 0; border-inline: 1px solid rgba(0,0,0,.2); }
.flags { display: flex; align-items: center; margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.16); }
.flags span { display: grid; place-items: center; width: 32px; height: 32px; margin-inline-end: -8px; border-radius: 50%;
  background: rgba(255,255,255,.95); font-size: 18px; box-shadow: 0 0 0 2px rgba(42,5,38,.8); }
.flags em { font-style: normal; margin-inline-start: 18px; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.85); }

/* ---------- Features ---------- */
.features { padding-block: 64px 56px; }
.features h2, .steps-band h2 { font-size: clamp(24px, 6vw, 34px); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; text-align: center; text-wrap: balance; }
.features__grid { margin-top: 32px; display: grid; gap: 14px; }
.feature { display: flex; gap: 16px; padding: 20px; border-radius: var(--radius); background: var(--soft); border: 1px solid var(--line); }
.feature__ico { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: #fff;
  background: linear-gradient(140deg, var(--brand-600), var(--brand-800)); box-shadow: 0 10px 20px -10px rgba(131,0,114,.7); }
.feature__ico svg { width: 24px; height: 24px; }
.feature h3 { font-size: 17px; font-weight: 700; line-height: 1.3; }
.feature p { margin-top: 4px; font-size: 15px; color: var(--muted); }

/* ---------- Steps ---------- */
.steps-band { padding-block: 60px 64px; background: linear-gradient(180deg, var(--soft), #f4e8f2); }
.steps { list-style: none; margin: 32px auto 0; padding: 0; display: grid; gap: 14px; max-width: 520px; }
.steps li { position: relative; display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: var(--radius);
  background: #fff; box-shadow: 0 10px 30px -22px rgba(74,6,66,.5); }
.steps__n { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font-weight: 800;
  color: var(--brand); background: #f6e3f2; }
.steps p { font-weight: 600; font-size: 16px; }
.final-cta { margin: 32px auto 0; max-width: 520px; display: flex; justify-content: center; }
.final-cta .btn--primary { color: #fff; background: linear-gradient(120deg, var(--brand-600), var(--brand-800));
  box-shadow: 0 16px 34px -14px rgba(131,0,114,.8); }
.final-cta .store { background: var(--ink); color: #fff; }

/* ---------- Footer ---------- */
.footer { padding: 32px 0 calc(110px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.footer__inner { display: grid; justify-items: center; gap: 16px; text-align: center; }
.footer__inner img { height: 23px; width: auto; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; }
.footer__links a { text-decoration: none; }
.footer__links a:hover { color: var(--brand); text-decoration: underline; }

/* ---------- Sticky ---------- */
.sticky { position: fixed; inset-inline: 0; bottom: 0; z-index: 20; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .3s ease; }
.sticky.is-on { transform: none; }
.sticky .btn--primary { color: #fff; background: linear-gradient(120deg, var(--brand-600), var(--brand-800)); box-shadow: none; min-height: 54px; }

/* ---------- Mobile auto-redirect screen ---------- */
.redirect { display: none; }
html.redirecting { background: var(--brand-900); }
html.redirecting body { background: transparent; }
html.redirecting body > :not(.redirect):not(svg) { display: none !important; }
html.redirecting .redirect { position: fixed; inset: 0; display: grid; place-content: center; justify-items: center; gap: 22px;
  padding: 24px; text-align: center; color: #fff;
  background: radial-gradient(120% 80% at 10% 0%, #6e0a63 0%, var(--brand-900) 60%, #18031a 100%); }
.redirect p { font-size: 16px; font-weight: 600; color: rgba(255,255,255,.85); }
.redirect .btn { width: min(320px, 80vw); opacity: 0; animation: fadein .3s ease 1.6s forwards; }
.spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid rgba(255,255,255,.2); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes fadein { to { opacity: 1; } }

/* ---------- Device switches ---------- */
.is-desktop .cta-mobile, .is-desktop .cta-mobile-only, .is-desktop .sticky { display: none; }
.is-desktop .cta-desktop { display: flex; }
.is-mobile .cta-desktop-only { display: none; }
html:not(.js) .cta-mobile { display: none; }
html:not(.js) .cta-desktop { display: flex; }
html:not(.js) .cta-mobile-only { display: none; }

/* ---------- RTL ---------- */
[dir="rtl"] .hero h1 em { background: linear-gradient(268deg, var(--pink), var(--peach)); -webkit-background-clip: text; background-clip: text; }

/* ---------- Larger screens ---------- */
@media (min-width: 640px) {
  .features__grid { grid-template-columns: 1fr 1fr; }
  .cta-mobile .btn { max-width: 420px; }
  .final-cta .btn { max-width: 420px; }
}
@media (min-width: 960px) {
  .hero { padding: 140px 0 100px; }
  .hero__grid { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; }
  .proof { justify-content: flex-start; }
  .hero__visual { min-height: 440px; }
  .o1 { width: 360px; height: 360px; } .o2 { width: 520px; height: 520px; } .o3 { width: 250px; height: 250px; }
  .esim-card { width: 370px; padding: 24px; }
  .features { padding-block: 96px 88px; }
  .features__grid { grid-template-columns: repeat(4, 1fr); }
  .feature { flex-direction: column; }
  .steps-band { padding-block: 88px; }
  .steps { grid-template-columns: repeat(3, 1fr); max-width: none; }
  .steps li { flex-direction: column; align-items: flex-start; padding: 24px; }
  .footer { padding-bottom: 40px; }
  .footer__inner { grid-template-columns: auto 1fr auto; justify-items: start; text-align: start; }
  .footer__links { justify-content: center; justify-self: center; }
}
@media (max-width: 959px) {
  .hero__copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .proof { flex-direction: column; gap: 4px; }
  .proof .dot { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .redirect .btn { opacity: 1; }
}
