/* SIMRWA — dark monochrome animated landing (Geist). One brand accent (Solana) only in the "powered by" logo. */
:root {
  --background: #0a0a0a;
  --foreground: #fafafa;
  --card: #171717;
  --muted: #171717;
  --border: #262626;
  --muted-foreground: #a3a3a3;
  --accent: #fafafa;
  --ring: #fafafa;
  --sol1: #9945ff; --sol2: #14f195;
  --font-sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(.4,0,.2,1);
}
:root[data-theme="light"] {
  --background: #ffffff;
  --foreground: #0a0a0a;
  --card: #f5f5f5;
  --muted: #f5f5f5;
  --border: rgba(0,0,0,.10);
  --muted-foreground: #525252;
  --accent: #0a0a0a;
  --ring: #0a0a0a;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--background); color: var(--foreground);
  font-family: var(--font-sans); font-size: 16px; line-height: 1.5;
  letter-spacing: -0.011em; -webkit-font-smoothing: antialiased;
  overflow-x: hidden; transition: background .5s var(--ease), color .5s var(--ease);
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img, canvas, svg { display: block; max-width: 100%; }
::selection { background: var(--foreground); color: var(--background); }
.mono { font-family: var(--font-mono); }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.kicker { font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-foreground); }

/* ---------- scroll progress + theme toggle ---------- */
#progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: var(--foreground); z-index: 100; transition: width .1s linear; }
#themeToggle {
  position: fixed; bottom: 22px; right: 22px; z-index: 90;
  width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--card); display: grid; place-items: center; transition: .2s var(--ease);
}
#themeToggle:hover { transform: scale(1.05); }
#themeToggle svg { width: 18px; height: 18px; stroke: var(--foreground); }
:root[data-theme="light"] .i-moon, :root:not([data-theme="light"]) .i-sun { display: none; }

/* ---------- NAV ---------- */
.nav { position: fixed; inset-inline: 0; top: 0; z-index: 50; pointer-events: none; padding: 18px 24px; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.nav > * { pointer-events: auto; }
.navbox { border: 1px solid rgba(0,0,0,.08); background: #fff; border-radius: 8px; backdrop-filter: blur(6px); }
.nav-logo { display: flex; align-items: center; gap: 9px; padding: 9px 14px; color: #0a0a0a; }
.nav-logo .mono-mark { height: 22px; width: auto; display: block; border-radius: 4px; }
.nav-logo b { font-size: 20px; font-weight: 500; letter-spacing: -0.03em; }
.nav-right { display: flex; align-items: center; gap: 4px; padding: 6px 6px 6px 16px; }
.nav-links { display: flex; gap: 18px; margin-right: 10px; }
.nav-links a { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #0a0a0a; opacity: .7; transition: opacity .15s; }
.nav-links a:hover { opacity: 1; }
.nav-cta { background: #171717; color: #fff; border-radius: 6px; padding: 10px 16px; font-size: 13px; font-weight: 500; transition: background .15s var(--ease); }
.nav-cta:hover { background: #404040; }
.hamburger { display: none; width: 40px; height: 40px; border-radius: 8px; border: 1px solid rgba(0,0,0,.08); background:#fff; color:#0a0a0a; align-items: center; justify-content: center; }
.hamburger svg { width: 18px; height: 18px; }

/* ---------- BUTTONS ---------- */
.btn { display: inline-flex; align-items: center; gap: 9px; justify-content: center; font-size: 13px; font-weight: 500; letter-spacing: .02em; padding: 13px 22px; border-radius: 8px; transition: .15s var(--ease); white-space: nowrap; text-transform: uppercase; }
.btn-white { background: var(--foreground); color: var(--background); }
.btn-white:hover { opacity: .88; }
.btn-dark { background: var(--card); color: var(--foreground); border: 1px solid var(--border); }
.btn-dark:hover { background: var(--border); }
.btn-icon { width: 46px; height: 46px; padding: 0; border-radius: 8px; background: var(--card); border: 1px solid var(--border); display: grid; place-items: center; }
.btn-icon:hover { background: var(--border); }
.btn-icon svg { width: 18px; height: 18px; stroke: var(--foreground); }
.btn-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* ---------- HERO ---------- */
.hero { position: relative; height: 100vh; min-height: 680px; display: flex; align-items: flex-end; padding: 0 0 8vh; overflow: hidden; }
.hero-shader { position: absolute; inset: 22vh 30vw; border-radius: 28px; z-index: 0; overflow: hidden; }
.hero-shader.go { inset: 0; border-radius: 0; transition: inset 1.05s var(--ease), border-radius 1.05s var(--ease); }
#shaderCanvas { width: 100%; height: 100%; }
.hero-veil { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(10,10,10,.35) 0%, transparent 30%, transparent 55%, rgba(10,10,10,.92) 100%); }
:root[data-theme="light"] .hero-veil { background: linear-gradient(180deg, rgba(255,255,255,.3) 0%, transparent 30%, transparent 55%, rgba(255,255,255,.92) 100%); }
.hero .wrap { position: relative; z-index: 2; width: 100%; }
.hero h1 { font-size: clamp(2.75rem, 7.75vw, 7.75rem); font-weight: 500; line-height: .95; letter-spacing: -0.04em; }
.hero h1 .dim { color: var(--muted-foreground); }
.hero-ca { display: inline-flex; align-items: center; gap: 12px; margin: 26px 0 18px; font-family: var(--font-mono); font-size: 12px; color: var(--muted-foreground); }
.hero-ca .sep { width: 26px; border-top: 1px dashed var(--muted-foreground); }
.hero-ca button { font-family: var(--font-mono); font-size: 12px; color: var(--foreground); opacity: .85; }
.hero-ca button:hover { opacity: 1; }
.hero-desc { max-width: 54ch; color: var(--muted-foreground); font-size: 16px; margin-bottom: 20px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.badge2 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: rgba(250,250,250,.8); border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.05); backdrop-filter: blur(4px); border-radius: 7px; padding: 6px 11px; }
:root[data-theme="light"] .badge2 { color: rgba(10,10,10,.75); border-color: rgba(0,0,0,.12); background: rgba(0,0,0,.04); }

/* ---------- SECTION SHELL ---------- */
.section { padding: 120px 0; }
.sec-head { max-width: 900px; }
.sec-head .kicker { display: block; margin-bottom: 18px; }
.sec-head h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 500; line-height: 1.02; letter-spacing: -0.03em; }
.sec-head p { color: var(--muted-foreground); margin-top: 18px; max-width: 60ch; font-size: 17px; }

/* ---------- PINNED SCROLL STORY ---------- */
.intro-line { border-top: 1px solid var(--border); padding: 64px 0 0; }
.intro-line h3 { font-size: clamp(1.6rem,3vw,2.4rem); font-weight: 500; letter-spacing: -0.02em; max-width: 26ch; }
.act { position: relative; height: 220vh; }
.act-sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; }
.act-waves { position: absolute; inset: 0; z-index: 0; opacity: .5; }
.act-waves path { fill: none; stroke: var(--border); stroke-width: 1; }
.act-inner { position: relative; z-index: 1; }
.act-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.act-num { font-family: var(--font-mono); font-size: 13px; color: var(--muted-foreground); }
.act-kicker { font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--foreground); border: 1px solid var(--border); border-radius: 999px; padding: 5px 12px; }
.act-words { font-size: clamp(1.6rem, 4vw, 3.1rem); font-weight: 500; line-height: 1.12; letter-spacing: -0.02em; max-width: 22ch; }
.act-words span { color: var(--border); transition: color .2s var(--ease); }
.act-words span.on { color: var(--foreground); }

/* ---------- MASKED REVEAL ---------- */
.mask-sec h2 { font-size: clamp(2rem, 5vw, 4rem); font-weight: 500; line-height: 1.02; letter-spacing: -0.03em; max-width: 20ch; position: relative; }
.mask-grid { position: absolute; inset: -6px; display: grid; grid-template-columns: repeat(8,1fr); grid-auto-rows: 1fr; gap: 3px; z-index: 2; pointer-events: none; }
.mask-grid i { background: var(--background); transition: transform .5s var(--ease), opacity .4s var(--ease); transform-origin: center; }
.mask-sec.revealed .mask-grid i { transform: scaleY(0); opacity: 0; }

/* ---------- FEATURE PANELS ---------- */
.panel { padding: 110px 0; border-top: 1px solid var(--border); }
.panel.light { background: var(--foreground); color: var(--background); }
.panel.light .muted { color: rgba(10,10,10,.55); }
.panel.light .chip { border-color: rgba(0,0,0,.15); }
:root[data-theme="light"] .panel.light { background: #0a0a0a; color: #fafafa; }
:root[data-theme="light"] .panel.light .muted { color: rgba(250,250,250,.6); }
.panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.panel .chip { width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 11px; display: grid; place-items: center; margin-bottom: 24px; }
.panel .chip svg { width: 20px; height: 20px; stroke: currentColor; }
.panel .pnum { font-family: var(--font-mono); font-size: 13px; color: var(--muted-foreground); }
.panel h3 { font-size: clamp(1.8rem,3.4vw,2.8rem); font-weight: 500; letter-spacing: -0.03em; margin: 10px 0 14px; }
.panel .muted { color: var(--muted-foreground); font-size: 17px; max-width: 44ch; }
.panel-visual { aspect-ratio: 4/3; border: 1px solid var(--border); border-radius: 16px; background: var(--card); position: relative; overflow: hidden; display:grid; place-items:center; }
.panel.light .panel-visual { border-color: rgba(0,0,0,.15); background: rgba(0,0,0,.04); }
.logos-mini { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; padding: 24px; }
.logos-mini .lt { width: 58px; height: 58px; border-radius: 12px; background:#fff; display:grid; place-items:center; }
.logos-mini .lt img { width: 66%; height: 66%; object-fit: contain; }
.big-num { font-family: var(--font-mono); font-size: clamp(48px,9vw,120px); font-weight: 500; color: var(--muted-foreground); opacity:.5; }

/* ---------- PILLARS (light band) ---------- */
.pillars { background: var(--foreground); color: var(--background); padding: 120px 0; }
:root[data-theme="light"] .pillars { background: #0a0a0a; color: #fafafa; }
.pillars .kicker, .pillars .p-sub { color: rgba(10,10,10,.55); }
:root[data-theme="light"] .pillars .kicker, :root[data-theme="light"] .pillars .p-sub { color: rgba(250,250,250,.6); }
.pillars h2 { font-size: clamp(1.8rem,3.6vw,2.9rem); font-weight: 500; letter-spacing: -0.03em; max-width: 22ch; margin: 16px 0; }
.pcards { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 44px; }
.pcard { border: 1px solid rgba(0,0,0,.12); border-radius: 18px; padding: 30px; background: rgba(0,0,0,.02); }
:root[data-theme="light"] .pcard { border-color: rgba(255,255,255,.14); background: rgba(255,255,255,.03); }
.pcard .pc-top { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 12px; letter-spacing:.14em; text-transform:uppercase; opacity:.55; margin-bottom: 40px; }
.pcard h4 { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 10px; }
.pcard p { font-size: 15px; opacity: .6; }

/* ---------- PARTNER + LOGO WALL ---------- */
.spotlight { border: 1px solid var(--border); border-radius: 22px; background: var(--card); padding: 48px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.spotlight h3 { font-size: clamp(1.8rem,3.4vw,2.6rem); font-weight: 500; letter-spacing:-0.03em; margin: 14px 0; }
.spotlight p { color: var(--muted-foreground); max-width: 46ch; margin-bottom: 22px; }
.sol-logo { display: inline-flex; align-items: center; gap: 12px; padding: 22px; border: 1px solid var(--border); border-radius: 16px; background: var(--background); }
.sol-mark { width: 42px; height: auto; flex: 0 0 auto; }
.sol-logo b { font-size: 22px; font-weight: 500; }
.logo-wall { display: grid; grid-template-columns: repeat(6,1fr); gap: 1px; margin-top: 40px; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: var(--border); }
.logo-cell { background: #fff; aspect-ratio: 3/2; display: grid; place-items: center; position: relative; }
.logo-cell img { width: 52%; height: 52%; object-fit: contain; }
.logo-cell::before, .logo-cell::after { content:""; position:absolute; width:9px; height:9px; border-color: rgba(0,0,0,.25); }
.logo-cell::before { top:8px; left:8px; border-top:1px solid; border-left:1px solid; }
.logo-cell::after { bottom:8px; right:8px; border-bottom:1px solid; border-right:1px solid; }

/* ---------- PRICING ---------- */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; margin: 48px auto 0; max-width: 720px; }
.plan { border: 1px solid var(--border); border-radius: 20px; background: var(--card); padding: 34px 30px; display: flex; flex-direction: column; position: relative; }
.plan.feat { border-color: var(--foreground); }
.plan .pop { position: absolute; top: -12px; left: 30px; font-family: var(--font-mono); font-size: 10px; letter-spacing:.14em; text-transform:uppercase; background: var(--foreground); color: var(--background); border-radius: 999px; padding: 5px 12px; }
.plan .pname { font-family: var(--font-mono); font-size: 12px; letter-spacing:.14em; text-transform:uppercase; color: var(--muted-foreground); }
.plan .pprice { font-size: 46px; font-weight: 500; letter-spacing: -0.03em; margin: 16px 0 4px; }
.plan .pprice small { font-family: var(--font-mono); font-size: 15px; color: var(--muted-foreground); margin-left: 5px; }
.plan .pdesc { color: var(--muted-foreground); font-size: 14px; min-height: 42px; margin-bottom: 22px; }
.plan ul { list-style: none; display: grid; gap: 12px; margin-bottom: 28px; }
.plan li { position: relative; padding-left: 26px; font-size: 14px; color: var(--muted-foreground); line-height: 1.4; }
.plan li b { color: var(--foreground); font-weight: 500; }
.plan li::before { content:""; position:absolute; left:2px; top:6px; width:11px; height:11px; border-radius:50%; border:1.5px solid var(--muted-foreground); }
.plan .buy { margin-top: auto; width: 100%; }
.plan-note { text-align:center; color: var(--muted-foreground); font-size: 13px; margin-top: 24px; }

/* ---------- FAQ ---------- */
.faqs { border-top: 1px solid var(--border); margin-top: 44px; }
.faq { border-bottom: 1px solid var(--border); }
.faq-q { display: flex; align-items: center; gap: 20px; width: 100%; text-align: left; padding: 26px 4px; font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
.faq-q .qn { font-family: var(--font-mono); font-size: 13px; color: var(--muted-foreground); }
.faq-q .qt { flex: 1; }
.faq-q .pm { font-family: var(--font-mono); font-size: 22px; color: var(--muted-foreground); transition: transform .5s var(--ease); }
.faq.open .pm { transform: rotate(45deg); color: var(--foreground); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.faq-a-in { padding: 0 4px 26px 42px; color: var(--muted-foreground); max-width: 70ch; }

/* ---------- CLOSING + FOOTER ---------- */
.closing { padding: 140px 0; border-top: 1px solid var(--border); text-align: center; }
.closing h2 { font-size: clamp(2rem,4.6vw,3.6rem); font-weight: 500; letter-spacing: -0.03em; }
.closing p { color: var(--muted-foreground); max-width: 46ch; margin: 20px auto 32px; font-size: 17px; }
.big-cta { padding: 100px 0 40px; }
.big-cta h2 { font-size: clamp(2.4rem,7vw,6rem); font-weight: 500; line-height: .98; letter-spacing: -0.04em; }
.big-cta h2 .dim { color: var(--muted-foreground); }
.mail-pill { display: inline-flex; align-items: center; gap: 8px; margin-top: 34px; }
.mail-pill .m { background: var(--foreground); color: var(--background); border-radius: 999px; padding: 12px 22px; font-family: var(--font-mono); font-size: 13px; }
.footer { border-top: 1px solid var(--border); padding: 60px 0 40px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand p { color: var(--muted-foreground); font-size: 14px; max-width: 40ch; margin-top: 14px; }
.footer h5 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-foreground); margin-bottom: 16px; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer li a { color: var(--muted-foreground); font-size: 14px; }
.footer li a:hover { color: var(--foreground); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--muted-foreground); font-size: 13px; }
.footer-bottom .fl { display: flex; gap: 18px; }

/* ---------- eSIM modal + toast ---------- */
.modal-overlay { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; background: rgba(0,0,0,.72); backdrop-filter: blur(6px); }
.modal-overlay[hidden] { display: none; }
.modal { position: relative; width: 100%; max-width: 420px; border: 1px solid var(--border); border-radius: 18px; background: var(--card); padding: 32px; text-align: center; }
.modal-x { position: absolute; top: 14px; right: 16px; color: var(--muted-foreground); font-size: 24px; line-height: 1; }
.modal-x:hover { color: var(--foreground); }
.modal h3 { font-size: 22px; font-weight: 500; margin: 12px 0 16px; }
.esim-preview { display:inline-block; font-family: var(--font-mono); font-size:10px; letter-spacing:.14em; text-transform:uppercase; color: var(--foreground); border:1px solid var(--border); border-radius:999px; padding:3px 10px; margin-bottom:14px; }
.esim-qr { display:inline-block; border-radius:12px; background:#fff; padding:10px; margin:4px auto 18px; line-height:0; }
.esim-qr img, .esim-qr canvas { display:block; width:180px; height:180px; }
.esim-lead { color: var(--muted-foreground); font-size:14px; line-height:1.55; margin-bottom:18px; }
.esim-lead b { color: var(--foreground); }
.esim-kv { display:flex; align-items:center; justify-content:space-between; gap:12px; text-align:left; padding:11px 0; border-top:1px solid var(--border); }
.esim-kv span { font-family: var(--font-mono); font-size:10px; letter-spacing:.12em; text-transform:uppercase; color: var(--muted-foreground); }
.esim-kv code { font-family: var(--font-mono); font-size:12px; color: var(--muted-foreground); word-break:break-all; cursor:pointer; }
.esim-note { font-size:12px; color: var(--muted-foreground); margin-top:16px; line-height:1.5; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--foreground); color: var(--background); padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 500; opacity: 0; pointer-events: none; transition: .25s; z-index: 300; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- responsive ---------- */
@media (max-width: 850px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: inline-flex; }
  .panel-grid, .spotlight, .footer-top { grid-template-columns: 1fr; }
  .pcards, .plans { grid-template-columns: 1fr; }
  .logo-wall { grid-template-columns: repeat(3,1fr); }
  .section { padding: 84px 0; }
  .footer-top { gap: 28px; }
  .spotlight { padding: 30px; }
}
@media (max-width: 520px) { .wrap { padding: 0 18px; } .hero { padding-bottom: 12vh; } }
.nav-links .nx { display: inline-flex; align-items: center; padding: 0 2px; }
.nav-links .nx svg { width: 15px; height: 15px; display: block; }
