/* ==========================================================================
   Cold eSIM (coldesim.com) — Fast, Clean, Mobile-First Stylesheet
   Colors: Content dark palette | Header: SOAX floating bar
   ========================================================================== */

:root {
  --black: #060a0f;
  --black-2: #080d14;
  --card: #0a0f16;
  --card-active: #0d1622;
  --header-bg: rgba(16, 20, 27, 0.88);
  --white: #ffffff;
  --gray: #e0e0e0;

  --w85: rgba(255, 255, 255, 0.85);
  --w70: rgba(255, 255, 255, 0.72);
  --w55: rgba(255, 255, 255, 0.56);
  --w15: rgba(255, 255, 255, 0.15);
  --w10: rgba(255, 255, 255, 0.10);
  --w05: rgba(255, 255, 255, 0.05);

  --green: #31dc61;
  --blue: #1268f1;
  --blue-hover: #2476f7;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.62;
  background: var(--black);
  color: var(--gray);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img, svg { max-width: 100%; display: block; }
h1, h2, h3, h4 { color: var(--white); margin: 0; font-weight: 700; letter-spacing: -0.022em; }
p { margin: 0; max-width: 66ch; line-height: 1.62; }
ul, ol { margin: 0; padding: 0; }
a { color: #5496ff; text-decoration: none; }
a:hover { color: var(--white); }
button, input { font: inherit; color: inherit; }
code {
  font-family: var(--mono);
  font-size: 0.9em;
  background: var(--w05);
  border: 1px solid var(--w10);
  padding: 2px 6px;
  border-radius: 6px;
  color: var(--white);
}
:focus-visible { outline: 2px solid #5496ff; outline-offset: 2px; }

/* Signature Lavender Milk Selection */
::selection {
  background: #DCDFFF;
  color: #27354A;
}
html[data-theme="dark"] ::selection {
  background: rgba(49, 220, 97, 0.28);
  color: #FFFFFF;
}

/* Slim Tactile Scrollbar */
::-webkit-scrollbar { width: 7px; height: 7px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(39, 53, 74, 0.16); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: rgba(39, 53, 74, 0.26); }
html[data-theme="dark"] ::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.14); }
html[data-theme="dark"] ::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.24); }

.skip-link {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 999;
  min-height: 44px;
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
  background: var(--blue);
  color: var(--white);
  font-weight: 600;
  border-radius: 8px;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.i {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.i-lg { width: 22px; height: 22px; }
.muted { color: var(--w55); }
.small { font-size: 13px; line-height: 1.6; }

/* ---------- Layout & Rhythm (8pt Grid) ---------- */
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 24px; } }

.section { padding: 64px 0; border-bottom: 1px solid var(--w10); }
.section-alt { background: var(--black-2); }
@media (min-width: 960px) { .section { padding: 96px 0; } }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 40px; }
@media (min-width: 960px) { .section-head { margin-bottom: 48px; } }
.section-head-left { text-align: left; margin-left: 0; margin-right: 0; }
.section-head h2 { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.15; }
.section-head p { margin: 12px auto 0; font-size: 17px; color: var(--w70); line-height: 1.62; }
.section-head-left p { margin-left: 0; }

/* ---------- Buttons (Tactile Micro-Response) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  min-width: 44px;
  padding: 8px 20px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  border-radius: 14px;
  transition: transform 0.16s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
  user-select: none;
}
.btn:active {
  transform: scale(0.982);
}
.btn-lg { min-height: 48px; padding: 10px 24px; font-size: 15px; }
.btn-block { width: 100%; }

.btn-primary {
  color: #040a06;
  background: var(--green, #31dc61);
  border: 1px solid var(--green, #31dc61);
  font-weight: 700;
}
.btn-outline {
  color: var(--w85, #f7f9fc);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-weight: 600;
}
@media (hover: hover) {
  .btn-primary:hover {
    color: #040a06;
    background: #29c754;
    border-color: #29c754;
  }
  .btn-outline:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.30);
  }
}

/* ---------- SOAX Floating Header ---------- */
.soax-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 300;
  pointer-events: none;
}
.soax-header-outer {
  max-width: 1768px;
  margin: 0 auto;
  padding: 12px 16px;
}
@media (min-width: 1024px) {
  .soax-header-outer { padding: 16px 32px; }
}
.soax-header-bar {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 8px 6px 16px;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.28);
}
@media (min-width: 640px) {
  .soax-header-bar { padding: 8px 8px 8px 20px; }
}
.soax-header-left {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
}
.soax-brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  flex-shrink: 0;
}
.soax-brand img { display: block; width: 142px; height: 28px; }

.soax-divider {
  display: none;
  width: 1px;
  height: 20px;
  background: var(--w15);
  flex-shrink: 0;
}
.soax-nav { display: none; }
.soax-nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
}
.soax-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--w70);
  transition: color 0.15s ease, background-color 0.15s ease;
}
.soax-nav-link.is-active,
.soax-nav-link[aria-current="page"] {
  color: var(--green);
}
@media (hover: hover) {
  .soax-nav-link:hover { color: var(--white); background: rgba(255, 255, 255, 0.06); }
}
@media (min-width: 980px) {
  .soax-divider { display: block; }
  .soax-nav { display: block; }
}

.soax-header-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.soax-btn-ghost,
.soax-btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
}
.soax-btn-ghost { background: transparent; color: var(--w85); }
.soax-btn-cta { background: var(--green); color: #040a06; font-weight: 700; }
@media (hover: hover) {
  .soax-btn-ghost:hover { color: var(--white); background: rgba(255, 255, 255, 0.07); }
  .soax-btn-cta:hover { color: #040a06; background: #46e573; }
}
@media (max-width: 520px) {
  .soax-btn-ghost { display: none; }
  .soax-btn-cta { padding: 0 14px; }
}

.soax-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid var(--w10);
  background: transparent;
  color: var(--w85);
  cursor: pointer;
}
@media (min-width: 980px) { .soax-menu-btn { display: none; } }

/* Mobile Menu Panel */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 280;
  background: rgba(6, 10, 15, 0.96);
  padding: 88px 16px 24px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mobile-menu-link {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 12px;
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  border-bottom: 1px solid var(--w10);
}
.mobile-menu-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  padding-top: 24px;
}

/* ---------- Hero ---------- */
/* ==================== HERO (Split Slate Architecture) ==================== */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
  padding: 136px 0 100px;
  border-bottom: 1px solid var(--w10);
}
.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: url("../assets/images/hero-cold-ridge.jpg") center bottom / cover no-repeat;
  opacity: 0.94;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(6, 10, 15, 0.85) 0%, rgba(6, 10, 15, 0) 112px),
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(6, 10, 15, 0.52) 0%, rgba(6, 10, 15, 0.20) 75%, rgba(6, 10, 15, 0.35) 100%),
    linear-gradient(180deg, transparent 82%, var(--black) 100%);
}
.hero-inner {
  position: relative;
  z-index: 5;
  width: 100%;
}
.hero-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero-narrative {
  text-align: left;
}
.hero-title {
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 18px;
}
.hero-sub {
  font-size: 17.5px;
  line-height: 1.58;
  color: var(--w80);
  max-width: 520px;
  margin-bottom: 28px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-actions .btn {
  padding: 13px 26px;
  font-size: 15px;
  font-weight: 600;
}

/* Hero Slate (High-End Architectural Chassis) */
.hero-slate {
  background: var(--card, #0E141E);
  border: 1px solid var(--w10, rgba(255, 255, 255, 0.08));
  border-radius: 20px;
  padding: 24px 24px 20px;
  text-align: left;
}
.hero-slate-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
  text-align: left;
}
.hero-slate-item {
  padding: 10px 14px;
  background: var(--card-active, #141C2B);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
}
.hero-slate-item:hover {
  background: #182232;
  border-color: rgba(49, 220, 97, 0.25);
  transform: translateX(2px);
}
.hero-slate-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(49, 220, 97, 0.10);
  border: 1px solid rgba(49, 220, 97, 0.20);
  color: var(--green, #31dc61);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.15s ease;
}
.hero-slate-item:hover .hero-slate-icon {
  background: rgba(49, 220, 97, 0.16);
  border-color: rgba(49, 220, 97, 0.35);
}
.hero-slate-icon .i {
  width: 17px;
  height: 17px;
}
.hero-slate-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
  text-align: left;
}
.hero-slate-val {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.25;
  text-align: left;
}
.hero-slate-sub {
  font-size: 12px;
  color: var(--w60, rgba(255, 255, 255, 0.6));
  line-height: 1.35;
  text-align: left;
}
.hero-slate-pay {
  padding-top: 14px;
  border-top: 1px solid var(--w10, rgba(255, 255, 255, 0.08));
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.hero-slate-pay-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.hero-pay-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--w70, rgba(255, 255, 255, 0.7));
}
.hero-pay-count {
  font-size: 12px;
  font-weight: 600;
  color: var(--green, #31dc61);
}
.hero-coins {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
.coin-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--card-active, #141C2B);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2px;
  flex-shrink: 0;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.coin-icon:hover {
  transform: translateY(-2px) scale(1.1);
  border-color: rgba(49, 220, 97, 0.35);
}

/* Tablet Layout (641px - 991px) */
@media (max-width: 991px) and (min-width: 641px) {
  .hero {
    min-height: 0;
    padding: 120px 0 70px;
  }
  .hero-split {
    grid-template-columns: 1fr;
    gap: 36px;
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
  }
  .hero-narrative {
    text-align: center;
  }
  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-slate-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .hero-slate-pay {
    align-items: center;
  }
}

/* Mobile Layout (<= 640px) - Stunning, compact, perfectly proportioned */
@media (max-width: 640px) {
  .hero {
    min-height: 0;
    padding: 96px 0 40px;
  }
  .hero-backdrop {
    background-position: center 60%;
  }
  .hero-split {
    grid-template-columns: 1fr;
    gap: 22px;
    text-align: center;
  }
  .hero-narrative {
    text-align: center;
  }
  .hero-title {
    font-size: clamp(28px, 7.6vw, 36px);
    line-height: 1.14;
    letter-spacing: -0.028em;
    margin-bottom: 12px;
  }
  .hero-sub {
    font-size: 15px;
    line-height: 1.5;
    color: var(--w75);
    max-width: 340px;
    margin: 0 auto 20px;
  }
  .hero-actions {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    margin-bottom: 22px;
    width: 100%;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions .btn {
    flex: 1;
    max-width: 170px;
    height: 44px;
    padding: 0 12px;
    font-size: 14px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Compact Architectural Slate on Mobile */
  .hero-slate {
    padding: 15px 14px 14px;
    border-radius: 16px;
    max-width: 390px;
    margin: 0 auto;
    width: 100%;
    text-align: left;
  }
  .hero-slate-list {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 12px;
    text-align: left;
  }
  .hero-slate-item {
    padding: 8px 10px;
    border-radius: 10px;
    gap: 10px;
    text-align: left;
  }
  .hero-slate-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    flex-shrink: 0;
  }
  .hero-slate-icon .i {
    width: 14px;
    height: 14px;
  }
  .hero-slate-content {
    text-align: left;
    flex: 1;
    min-width: 0;
  }
  .hero-slate-val {
    font-size: 13px;
    font-weight: 600;
    text-align: left;
  }
  .hero-slate-sub {
    font-size: 11.5px;
    text-align: left;
  }
  .hero-slate-pay {
    padding-top: 10px;
    gap: 7px;
  }
  .hero-slate-pay-head {
    justify-content: space-between;
  }
  .hero-pay-label {
    font-size: 11.5px;
  }
  .hero-pay-count {
    font-size: 11.5px;
  }
  .hero-coins {
    gap: 6px;
    justify-content: center;
  }
  .coin-icon {
    width: 21px;
    height: 21px;
  }
}

/* ---------- Plans (Single-Glance 5-Card Grid, Mobile Compact) ---------- */
.plan-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}
@media (min-width: 680px) and (max-width: 1079px) {
  .plan-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .plan-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }
  .plan-card:last-child:nth-child(odd) .plan-card-main {
    flex: 1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }
  .plan-card:last-child:nth-child(odd) .plan-card-price {
    text-align: right;
  }
  .plan-card:last-child:nth-child(odd) .plan-buy-btn {
    width: auto;
    min-width: 180px;
    flex-shrink: 0;
  }
}
@media (min-width: 1080px) {
  .plan-cards { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--w10);
}
@media (min-width: 680px) {
  .plan-card { padding: 24px 20px; gap: 24px; }
}
.plan-card.is-featured {
  background: var(--card-active);
  border-color: rgba(49, 220, 97, 0.5);
}
.plan-flag {
  position: absolute;
  top: -12px;
  left: 20px;
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
  background: #0b1915;
  border: 1px solid rgba(49, 220, 97, 0.45);
  padding: 2px 9px;
  line-height: 1.4;
}

/* Mobile (<680px): horizontal top row so all 5 plans scan fast without tall scrolling */
.plan-card-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.plan-card-price { text-align: right; flex-shrink: 0; }
@media (min-width: 680px) {
  .plan-card-main {
    flex-direction: column;
    justify-content: flex-start;
    gap: 20px;
  }
  .plan-card-price { text-align: left; }
}

.plan-gb {
  font-size: 24px;
  line-height: 1.1;
  color: var(--white);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
@media (min-width: 680px) {
  .plan-gb { font-size: 28px; }
}
.plan-use {
  margin-top: 4px;
  font-size: 14px;
  color: var(--w70);
  line-height: 1.4;
}
@media (min-width: 1080px) {
  .plan-use { min-height: 40px; }
}
.plan-total {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.plan-per {
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--w55);
}
.plan-per-low { color: var(--green); }

/* Shared Included Bar */
.included-bar {
  margin-top: 24px;
  padding: 20px;
  background: var(--black-2);
  border: 1px solid var(--w10);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}
@media (min-width: 640px) {
  .included-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 24px; }
}
@media (min-width: 1040px) {
  .included-bar { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
}
.included-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.included-item .i { color: var(--green); margin-top: 3px; }
.included-item strong {
  display: block;
  font-size: 14.5px;
  color: var(--white);
  line-height: 1.35;
}
.included-item span {
  display: block;
  margin-top: 2px;
  font-size: 13.5px;
  color: var(--w70);
  line-height: 1.45;
}

.pay-row {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.pay-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--w05);
  border: 1px solid var(--w10);
  transition: all 0.15s ease;
}
.pay-chip:hover {
  background: var(--w10);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}
.pay-chip .coin-icon {
  width: 22px;
  height: 22px;
  display: block;
}

/* ---------- Coverage Lookup & Region Quick-Filters ---------- */
.coverage-controls {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}
@media (min-width: 960px) {
  .coverage-controls {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
  }
}
.search-field-wrap { width: 100%; max-width: 440px; }
.search-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--w85);
  margin-bottom: 8px;
}
.search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 8px 0 14px;
  min-height: 48px;
  background: var(--card);
  border: 1px solid var(--w15);
}
.search:focus-within { border-color: #5496ff; }
.search .i { color: var(--w55); }
.search-input {
  width: 100%;
  min-height: 46px;
  border: 0;
  background: transparent;
  font-size: 16px; /* 16px prevents iOS Safari auto-zoom */
  color: var(--white);
  outline: none;
}
.search-input::placeholder { color: var(--w55); }
.search-clear {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  color: var(--w70);
  cursor: pointer;
  flex-shrink: 0;
}
.search-clear[hidden] { display: none; }

.region-bar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
@media (min-width: 640px) {
  .region-bar {
    display: flex;
    flex-wrap: wrap;
  }
}
.region-btn {
  min-height: 44px;
  min-width: 44px;
  padding: 8px 10px;
  background: var(--card);
  border: 1px solid var(--w10);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--w70);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}
@media (min-width: 640px) {
  .region-btn { padding: 8px 14px; }
}
@media (hover: hover) {
  .region-btn:hover { color: var(--white); border-color: var(--w15); }
}
.region-btn.is-active {
  color: var(--white);
  background: var(--card-active);
  border-color: rgba(49, 220, 97, 0.5);
}

.coverage-result { margin-bottom: 16px; }
.coverage-match-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  background: rgba(49, 220, 97, 0.07);
  border: 1px solid rgba(49, 220, 97, 0.35);
}
.coverage-no-match {
  padding: 16px;
  background: var(--card);
  border: 1px solid var(--w15);
  color: var(--w70);
}

.country-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}
@media (min-width: 600px) {
  .country-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}
@media (min-width: 960px) {
  .country-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
}

.country {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--card);
  border: 1px solid var(--w10);
}
.country-flag { width: 22px; height: 16px; object-fit: cover; flex-shrink: 0; }
.country-meta { flex: 1; min-width: 0; }
.country-name {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.country-carrier {
  display: block;
  font-size: 13px;
  color: var(--w55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.country-speed {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
  padding: 2px 7px;
  border: 1px solid rgba(49, 220, 97, 0.35);
  flex-shrink: 0;
}
.coverage-more { margin-top: 24px; text-align: center; }

/* ---------- How It Works 4-Step Flow & Private Account (Stunning Soft Modern) ---------- */
.how-section {
  position: relative;
  background: radial-gradient(1100px 500px at 50% 0%, rgba(18, 104, 241, 0.08) 0%, rgba(49, 220, 97, 0.03) 40%, transparent 75%);
  overflow: hidden;
}

.flow-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  margin-bottom: 72px;
}
@media (min-width: 640px) {
  .flow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}
@media (min-width: 1040px) {
  .flow-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
}

.flow-card {
  background: rgba(10, 15, 22, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.flow-card:hover {
  transform: translateY(-2px);
  border-color: rgba(49, 220, 97, 0.3);
  box-shadow: 0 20px 48px -12px rgba(0, 0, 0, 0.6), 0 0 20px -6px rgba(49, 220, 97, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.flow-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.step-num-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(49, 220, 97, 0.14);
  color: var(--green, #31dc61);
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

@media (max-width: 639px) {
  .flow-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 44px;
  }
  .flow-card {
    padding: 14px 16px;
    border-radius: 14px;
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
    box-shadow: none;
  }
  .flow-card-top {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
  }
  .step-num-circle {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }
  .flow-icon-wrap {
    width: 32px;
    height: 32px;
  }
  .flow-icon-wrap .i {
    width: 16px;
    height: 16px;
  }
  .flow-body h3 {
    font-size: 15px;
    margin-bottom: 4px;
    line-height: 1.25;
  }
  .flow-body p {
    font-size: 13px;
    line-height: 1.45;
  }
}

.flow-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #4df57e;
  background: rgba(49, 220, 97, 0.12);
  border: 1px solid rgba(49, 220, 97, 0.25);
  padding: 3px 10px;
  border-radius: 999px;
}

.flow-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #31dc61;
}

.flow-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5496ff;
  transition: all 0.2s ease;
}
.flow-card:hover .flow-icon-wrap {
  color: #4df57e;
  border-color: rgba(49, 220, 97, 0.3);
  background: rgba(49, 220, 97, 0.08);
}

.flow-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.25;
}
.flow-body p {
  font-size: 14px;
  color: var(--w70);
  line-height: 1.55;
}

.flow-foot {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.flow-pill {
  font-size: 12px;
  font-weight: 600;
  color: var(--w55);
  background: rgba(255, 255, 255, 0.03);
  padding: 3px 8px;
  border-radius: 6px;
}

/* ---------- Privacy Showcase (Clean Architectural Zero-KYC, No AI Slop) ---------- */
.privacy-showcase {
  padding-top: 56px;
  border-top: 1px solid var(--w10, rgba(255, 255, 255, 0.08));
  display: flex;
  flex-direction: column;
  gap: 32px;
}
@media (min-width: 900px) {
  .privacy-showcase { padding-top: 68px; gap: 40px; }
}

.privacy-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.privacy-head h2 {
  font-size: clamp(24px, 3.2vw, 36px);
  line-height: 1.15;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  color: var(--white);
}

.privacy-lead {
  font-size: 16px;
  color: var(--w70);
  line-height: 1.55;
  margin: 0 auto;
}

.privacy-list-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  max-width: 1040px;
  margin: 0 auto;
  width: 100%;
}
@media (min-width: 768px) {
  .privacy-list-wrap {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}

.privacy-item {
  background: var(--card, #0e141e);
  border: 1px solid var(--w10, rgba(255, 255, 255, 0.08));
  border-radius: 18px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.privacy-item:hover {
  transform: translateY(-2px);
  border-color: rgba(49, 220, 97, 0.3);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.5), 0 0 16px -6px rgba(49, 220, 97, 0.12);
}

.privacy-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(49, 220, 97, 0.10);
  border: 1px solid rgba(49, 220, 97, 0.25);
  color: var(--green, #31dc61);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.privacy-item:hover .privacy-item-icon {
  background: rgba(49, 220, 97, 0.16);
  border-color: rgba(49, 220, 97, 0.4);
}
.privacy-item-icon svg {
  width: 20px;
  height: 20px;
}

.privacy-item-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.privacy-item-content h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin: 0;
  line-height: 1.3;
}
.privacy-item-content p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--w70);
  margin: 0;
}

.privacy-key-preview {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--card-active, #141c2b);
  border: 1px solid var(--w12, rgba(255, 255, 255, 0.12));
  width: fit-content;
  margin-top: 4px;
}
.privacy-key-preview code {
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--green, #31dc61);
}

.privacy-signin-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-top: 8px;
  font-size: 14px;
  color: var(--w70);
  flex-wrap: wrap;
  text-align: center;
}
.privacy-signin-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--green, #31dc61);
  background: var(--card, #0e141e);
  border: 1px solid var(--w12, rgba(255, 255, 255, 0.12));
  border-radius: 999px;
  padding: 7px 18px;
  transition: all 0.2s ease;
  text-decoration: none;
}
.privacy-signin-link:hover {
  border-color: var(--green, #31dc61);
  background: rgba(49, 220, 97, 0.08);
  transform: translateY(-1px);
}
.privacy-signin-link svg {
  width: 14px;
  height: 14px;
}

@media (max-width: 639px) {
  .privacy-showcase {
    padding-top: 40px;
    gap: 24px;
  }
  .privacy-head h2 {
    font-size: 22px;
    margin-bottom: 8px;
  }
  .privacy-lead {
    font-size: 14px;
    line-height: 1.5;
  }
  .privacy-list-wrap {
    gap: 10px;
  }
  .privacy-item {
    padding: 14px 16px;
    border-radius: 14px;
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
    box-shadow: none;
  }
  .privacy-item-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
  }
  .privacy-item-icon svg {
    width: 17px;
    height: 17px;
  }
  .privacy-item-content h3 {
    font-size: 15px;
  }
  .privacy-item-content p {
    font-size: 13px;
    line-height: 1.45;
  }
  .privacy-key-preview {
    padding: 3px 8px;
  }
  .privacy-key-preview code {
    font-size: 11.5px;
  }
  .privacy-signin-row {
    flex-direction: column;
    gap: 8px;
  }
  .privacy-signin-link {
    width: 100%;
    justify-content: center;
    padding: 10px 18px;
  }
}

/* ---------- Devices & Setup Console (Stunning Soft Modern) ---------- */
.devices-section {
  position: relative;
  background: radial-gradient(1100px 550px at 50% 0%, rgba(18, 104, 241, 0.08) 0%, rgba(49, 220, 97, 0.03) 40%, transparent 75%);
  overflow: hidden;
}

.devices-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
@media (min-width: 960px) {
  .devices-split {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 56px;
  }
}

.devices-intro h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.15;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.devices-intro > p {
  font-size: 16.5px;
  color: var(--w70);
  line-height: 1.6;
  margin-bottom: 24px;
}

.device-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.device-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(49, 220, 97, 0.08);
  border: 1px solid rgba(49, 220, 97, 0.22);
  color: #4df57e;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 8px;
}
.device-chip .i {
  width: 14px;
  height: 14px;
  stroke-width: 2.5;
}

.quick-check-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  background: rgba(18, 104, 241, 0.06);
  border: 1px solid rgba(18, 104, 241, 0.22);
  border-radius: 14px;
  margin-bottom: 24px;
}
.quick-check-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(18, 104, 241, 0.12);
  color: #5496ff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.quick-check-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 3px;
}
.quick-check-body p {
  font-size: 13.5px;
  color: var(--w70);
  line-height: 1.5;
}
.quick-check-body code {
  color: #5496ff;
  background: rgba(18, 104, 241, 0.12);
  border: 1px solid rgba(18, 104, 241, 0.25);
  border-radius: 4px;
}

.devices-cta-wrap .btn {
  border-radius: 12px;
  font-weight: 600;
}

/* ==================== REFINED DEVICE CONSOLE (Seamless Stepper) ==================== */
.device-console {
  background: var(--card);
  border: 1px solid var(--w10);
  border-radius: 20px;
  box-shadow: none;
  padding: 24px 28px;
}
@media (max-width: 540px) {
  .device-console { padding: 18px 14px; border-radius: 16px; }
}

/* Minimal Segmented Tab Control */
.device-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  background: var(--black-2);
  border: 1px solid var(--w10);
  padding: 4px;
  border-radius: 12px;
  margin-bottom: 22px;
}

.device-tabs .tab {
  min-height: 40px;
  padding: 6px 12px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--w55);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}
.device-tabs .tab .i {
  width: 15px;
  height: 15px;
  color: currentColor;
}
.device-tabs .tab:hover {
  color: var(--white);
}
.device-tabs .tab.is-active {
  background: var(--card);
  color: var(--white);
  border-color: var(--w15);
  box-shadow: none;
}
.device-tabs .tab.is-active .i {
  color: var(--green);
}

/* Quiet Hardware Compatibility Row (Zero nested box clutter) */
.deck-compat {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 18px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--w10);
  background: transparent;
  font-size: 13px;
  line-height: 1.45;
}
@media (max-width: 480px) {
  .deck-compat { flex-direction: column; align-items: flex-start; gap: 6px; }
}

.compat-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--green);
  background: rgba(49, 220, 97, 0.08);
  border: 1px solid rgba(49, 220, 97, 0.2);
  padding: 2px 8px;
  border-radius: 6px;
  flex-shrink: 0;
}
.compat-chip .compat-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
}

.compat-text {
  font-size: 13px;
  color: var(--w70);
}

/* Tab Panels */
.tab-panel {
  display: none;
}
.tab-panel.is-active {
  display: block;
  animation: deckFadeIn 0.18s ease;
}

@keyframes deckFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Continuous Connected Stepper (Quiet & Minimal) */
.deck-stepper {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-left: 42px;
}

/* Quiet vertical guide line */
.deck-stepper::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 14px;
  bottom: 18px;
  width: 1px;
  background: var(--w15);
}

.deck-step {
  position: relative;
  padding-bottom: 22px;
}
.deck-step:last-child {
  padding-bottom: 0;
}

/* Node indicator along vertical track (No glowing shadows) */
.deck-step-node {
  position: absolute;
  left: -42px;
  top: 1px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--black-2);
  border: 1px solid var(--w15);
  box-shadow: none;
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.deck-step-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.deck-step-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.35;
}

.deck-step-desc {
  font-size: 13.5px;
  color: var(--w70);
  line-height: 1.5;
  margin: 0;
}
.deck-step-desc strong {
  color: var(--white);
  font-weight: 600;
}

/* Visual Settings Breadcrumbs (Clean, Quiet Hairline) */
.step-crumb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--w05);
  border: 1px solid var(--w10);
  border-radius: 6px;
  padding: 3px 8px;
  margin-top: 4px;
  font-size: 12px;
  color: var(--w70);
  width: fit-content;
  flex-wrap: wrap;
}

.crumb-node {
  color: var(--w85);
  font-weight: 500;
}
.crumb-node.highlight {
  color: var(--green);
  font-weight: 600;
}
.crumb-arrow {
  color: var(--w55);
  font-size: 12px;
}

.router-lpa-code {
  font-family: var(--mono);
  font-size: 11.5px;
  color: #5496ff;
  background: rgba(18, 104, 241, 0.08);
  border: 1px solid rgba(18, 104, 241, 0.2);
  padding: 2px 6px;
  border-radius: 4px;
}

/* ---------- Modern Comparison Matrix (Stunning, Soft, Elevated) ---------- */
.compare-section {
  position: relative;
  background: radial-gradient(1100px 550px at 50% 0%, rgba(18, 104, 241, 0.09) 0%, rgba(49, 220, 97, 0.04) 40%, transparent 75%);
  overflow: hidden;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  background: rgba(49, 220, 97, 0.08);
  border: 1px solid rgba(49, 220, 97, 0.25);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.kicker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}

.compare-shell {
  background: rgba(10, 15, 22, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  box-shadow: 0 24px 64px -16px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
}

/* --- Desktop Table Matrix (>= 860px) --- */
.compare-desktop-wrap {
  display: none;
  width: 100%;
  overflow-x: auto;
}

@media (min-width: 860px) {
  .compare-desktop-wrap { display: block; }
}

.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
}

.compare-table thead tr th {
  padding: 24px 20px 20px;
  vertical-align: bottom;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.th-feature {
  width: 28%;
  padding-left: 32px !important;
}

.th-feature-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--w55);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Elevated Hero Column: Cold eSIM */
.th-us {
  width: 30%;
  background: linear-gradient(180deg, rgba(49, 220, 97, 0.12) 0%, rgba(18, 104, 241, 0.04) 100%);
  border-left: 1px solid rgba(49, 220, 97, 0.28);
  border-right: 1px solid rgba(49, 220, 97, 0.28);
  padding: 22px 24px 20px !important;
  position: relative;
}

.us-badge-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(49, 220, 97, 0.14);
  border: 1px solid rgba(49, 220, 97, 0.35);
  color: #4df57e;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #31dc61;
}

.us-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 4px;
}

.us-brand-icon {
  width: 22px;
  height: 22px;
  display: block;
  flex-shrink: 0;
}

.us-brand-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}

.us-brand-sub {
  font-size: 13px;
  color: var(--w70);
  font-weight: 500;
}

/* Competitor Headers */
.th-comp {
  width: 21%;
  padding-right: 24px !important;
}

.comp-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.comp-sub {
  font-size: 13px;
  color: var(--w55);
}

/* Table Body Rows */
.compare-table tbody tr {
  transition: background-color 0.15s ease;
}

.compare-table tbody tr:hover td {
  background-color: rgba(255, 255, 255, 0.02);
}

.compare-table tbody tr:hover td.col-us {
  background-color: rgba(49, 220, 97, 0.07);
}

.compare-table tbody tr td {
  padding: 22px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: middle;
}

.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

/* Criteria cell */
.td-feature {
  padding-left: 32px !important;
}

.feat-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
}

.feat-desc {
  font-size: 13px;
  color: var(--w55);
  margin-top: 3px;
  line-height: 1.4;
}

/* Cold eSIM Hero Data Cell */
.compare-table td.col-us {
  background: rgba(49, 220, 97, 0.035);
  border-left: 1px solid rgba(49, 220, 97, 0.22);
  border-right: 1px solid rgba(49, 220, 97, 0.22);
  padding: 22px 24px !important;
}

.val-pill-win {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(49, 220, 97, 0.12);
  color: #3be96c;
  border: 1px solid rgba(49, 220, 97, 0.28);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
}

.val-pill-win .i {
  color: #31dc61;
  stroke-width: 2.5;
}

.val-sub {
  font-size: 12.5px;
  color: var(--w70);
  margin-top: 6px;
  line-height: 1.4;
}

/* Competitor Data Cells */
.val-text-neutral {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray);
}

.val-pill-warn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--w85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
}

.val-pill-fail {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 85, 85, 0.08);
  color: #ff9b9b;
  border: 1px solid rgba(255, 85, 85, 0.2);
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
}

.val-pill-fail .i {
  color: #ff6b6b;
  width: 15px;
  height: 15px;
}

/* --- Mobile Comparison Experience (< 860px) --- */
.compare-mobile {
  display: block;
  padding: 20px 16px;
}

@media (min-width: 860px) {
  .compare-mobile { display: none; }
}

.compare-mobile-header {
  margin-bottom: 20px;
}

.compare-m-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--w55);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.compare-mobile-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--black-2);
  padding: 4px;
  border: 1px solid var(--w10);
  border-radius: 12px;
  gap: 4px;
}

.comp-m-btn {
  background: transparent;
  border: 0;
  color: var(--w70);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: center;
}

.comp-m-btn.is-active {
  background: var(--card-active);
  color: var(--white);
  border: 1px solid rgba(49, 220, 97, 0.35);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.compare-mobile-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.comp-m-card {
  background: rgba(14, 20, 30, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 16px;
  transition: border-color 0.15s ease;
}

.comp-m-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.comp-m-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
}

.comp-m-card-badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--w55);
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 8px;
  border-radius: 4px;
}

.comp-m-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (max-width: 480px) {
  .comp-m-split { grid-template-columns: 1fr; gap: 8px; }
}

.comp-m-col {
  padding: 12px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.comp-m-us {
  background: rgba(49, 220, 97, 0.06);
  border: 1px solid rgba(49, 220, 97, 0.28);
}

.comp-m-rival {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.comp-m-rival.is-hidden {
  display: none !important;
}

.comp-m-col-brand {
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--w70);
  margin-bottom: 8px;
}

.comp-m-us .comp-m-col-brand {
  color: #3be96c;
}

.comp-m-val-win {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #3be96c;
  margin-bottom: 4px;
}

.comp-m-val-win .i {
  color: #31dc61;
  width: 16px;
  height: 16px;
}

.comp-m-val-lose {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #ff9b9b;
  margin-bottom: 4px;
}

.comp-m-val-lose .i {
  width: 14px;
  height: 14px;
}

.comp-m-val-neutral {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray);
  margin-bottom: 4px;
}

.comp-m-desc {
  font-size: 11.5px;
  color: var(--w55);
  line-height: 1.35;
}

/* --- Comparison Footer Bar --- */
.compare-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 20px 32px;
  background: rgba(14, 20, 30, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

@media (max-width: 680px) {
  .compare-foot { padding: 18px 20px; flex-direction: column; align-items: stretch; }
  .compare-foot .btn { width: 100%; }
}

.compare-foot-note {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  color: var(--w70);
  max-width: 64ch;
}

.compare-foot-note .i {
  color: #5496ff;
  flex-shrink: 0;
}

/* ---------- FAQ Split Layout ---------- */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
@media (min-width: 920px) {
  .faq-layout {
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 56px;
  }
}
.faq-side h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.15; margin-bottom: 12px; }
.faq-side > p { font-size: 16.5px; color: var(--w70); line-height: 1.6; }

.privacy-note {
  margin-top: 24px;
  padding: 18px;
  background: var(--card);
  border: 1px solid var(--w10);
}
.privacy-note strong {
  display: block;
  font-size: 14px;
  color: var(--white);
  margin-bottom: 6px;
}
.privacy-note p {
  font-size: 13.5px;
  color: var(--w70);
  line-height: 1.55;
}

.faq-item { border-top: 1px solid var(--w10); }
.faq-item:last-child { border-bottom: 1px solid var(--w10); }
.faq-q {
  width: 100%;
  min-height: 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  background: transparent;
  border: 0;
  color: var(--white);
  font-size: 16.5px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.faq-icon { color: #5496ff; transition: transform 0.2s ease, color 0.2s ease; }
.faq-a { display: none; padding-bottom: 20px; }
.faq-a p { font-size: 15.5px; color: var(--w70); line-height: 1.65; }
.faq-item.is-open .faq-a { display: block; }
.faq-item.is-open .faq-icon { transform: rotate(45deg); color: var(--green); }

/* ---------- Bottom CTA & Footer ---------- */
.cta { padding: 64px 0; border-bottom: 1px solid var(--w10); }
.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 24px;
  background: var(--card);
  border: 1px solid var(--w10);
}
.cta-box h2 { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 6px; }
.cta-box p { color: var(--w70); font-size: 15.5px; }
@media (min-width: 768px) { .cta-box { padding: 36px 40px; } }
@media (max-width: 820px) {
  .cta-box { flex-direction: column; align-items: flex-start; }
  .cta-actions { width: 100%; display: flex; flex-direction: column; gap: 12px; }
  .cta-actions .btn { width: 100%; }
}
.cta-actions { display: flex; gap: 12px; flex-shrink: 0; }

.site-footer { background: #04070c; padding: 64px 0 36px; }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; } }

.footer-about { margin-top: 14px; font-size: 14px; color: var(--w70); max-width: 360px; }
.footer-h { font-size: 12px; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; }
.footer-links { list-style: none; display: flex; flex-direction: column; }
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
  font-size: 14px;
  color: var(--w70);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: var(--w55);
}
.footer-coins {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.footer-coin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
  cursor: default;
  flex-shrink: 0;
}
.footer-coin:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.22);
}
.footer-coin .coin-icon {
  width: 16px;
  height: 16px;
  display: block;
}

/* ---------- Lightweight Modal ---------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(4, 7, 12, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.modal-backdrop[hidden] { display: none; }
.modal-box {
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--card);
  border: 1px solid var(--w15);
  padding: 24px;
}
.modal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.modal-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--w10);
  font-size: 14.5px;
}
.modal-notice {
  margin-top: 14px;
  padding: 14px 16px;
  background: var(--black-2);
  border: 1px solid var(--w10);
  border-radius: 12px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--w85);
}
.modal-highlight {
  color: var(--green);
}

/* ---------- Zero-KYC Auth Modal (16-Digit Account Number) ---------- */
.auth-modal-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.auth-tabs {
  display: flex;
  background: var(--black-2);
  border: 1px solid var(--w10);
  padding: 4px;
  gap: 4px;
}
.auth-tab {
  flex: 1;
  background: transparent;
  border: 0;
  padding: 9px 12px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--w60);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}
.auth-tab:hover {
  color: var(--w90);
}
.auth-tab.is-active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1px solid var(--w10);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
.auth-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.auth-panel.is-hidden {
  display: none;
}
.auth-hint {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--w70);
  margin: 0;
}
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.auth-input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.auth-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--w60);
}
.auth-input-wrap {
  position: relative;
}
.auth-input,
.auth-textarea {
  width: 100%;
  background: var(--black-2);
  border: 1px solid var(--w15);
  padding: 12px 14px;
  color: var(--white);
  font-size: 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.auth-input:focus,
.auth-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(49, 220, 97, 0.15);
}
.auth-input-mono {
  font-family: var(--mono);
  font-size: 16px;
  letter-spacing: 0.04em;
  font-weight: 600;
  white-space: nowrap;
}
.auth-textarea {
  resize: vertical;
  min-height: 72px;
  line-height: 1.45;
  font-family: var(--font);
}
.auth-footer-link {
  text-align: center;
  margin-top: 4px;
}
.btn-link {
  background: none;
  border: 0;
  padding: 0;
  font-size: 13px;
  color: var(--accent);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s ease;
}
.btn-link:hover {
  opacity: 0.8;
}
.auth-privacy-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(49, 220, 97, 0.06);
  border: 1px solid rgba(49, 220, 97, 0.2);
  font-size: 12.5px;
  color: var(--accent);
  margin-top: 6px;
}
.auth-privacy-badge .i {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ---------- Router Guide Page ---------- */
.guide-main { padding: 120px 0 64px; }
.guide-wrap { max-width: 820px; margin: 0 auto; }
.guide-card {
  background: var(--card);
  border: 1px solid var(--w10);
  padding: 24px;
  margin-top: 24px;
}
@media (min-width: 640px) { .guide-card { padding: 32px; } }
.guide-card h2 { font-size: 24px; margin-bottom: 12px; }
.guide-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
@media (max-width: 560px) {
  .guide-actions { flex-direction: column; }
  .guide-actions .btn { width: 100%; }
}

/* ---------- Theme Switcher Component ---------- */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--w70, rgba(255, 255, 255, 0.7));
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
  flex-shrink: 0;
}
.theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white, #ffffff);
  border-color: rgba(255, 255, 255, 0.12);
}
.theme-toggle-btn .i {
  width: 17px;
  height: 17px;
  transition: transform 0.25s ease;
}
.theme-toggle-btn:active .i {
  transform: rotate(30deg) scale(0.92);
}

/* Dark mode (default): show Sun (to switch to light), hide Moon */
html:not([data-theme="light"]) .theme-toggle-btn .i-moon { display: none; }
html:not([data-theme="light"]) .theme-toggle-btn .i-sun { display: block; }

/* Mobile Menu Theme Row */
.mobile-theme-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 12px;
  border-top: 1px solid var(--w10);
  border-bottom: 1px solid var(--w10);
  margin-top: 16px;
}
.mobile-theme-label {
  font-size: 15px;
  font-weight: 500;
  color: var(--w70);
}
.mobile-theme-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 12px;
  border: 1px solid var(--w10);
  background: var(--card);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
html:not([data-theme="light"]) .mobile-theme-btn .i-moon { display: none; }
html:not([data-theme="light"]) .mobile-theme-btn .i-sun { display: block; }

/* ==========================================================================
   Cold eSIM — Icy Minimal + Lavender Milk (Light Theme)
   ========================================================================== */
html[data-theme="light"] {
  --black: #FBFCFF;
  --black-2: #F4F7FB;
  --card: #FFFFFF;
  --card-active: #F0F4FA;
  --header-bg: rgba(255, 255, 255, 0.86);
  --white: #27354A;
  --gray: #334155;

  --w85: #27354A;
  --w70: #55667E;
  --w55: #7A8CA3;
  --w15: #D8E0EC;
  --w10: #E6EBF3;
  --w05: #F4F7FB;

  --green: #2CB353;
  --blue: #16A34A;
  --blue-hover: #15803D;
  --accent: #16A34A;
}

/* Base & Typography */
html[data-theme="light"] body {
  background: #FBFCFF;
  color: #334155;
}
html[data-theme="light"] h1,
html[data-theme="light"] h2,
html[data-theme="light"] h3,
html[data-theme="light"] h4 {
  color: #27354A;
}
html[data-theme="light"] p {
  color: #55667E;
}
html[data-theme="light"] a {
  color: #16A34A;
}
html[data-theme="light"] a:hover {
  color: #15803D;
}
html[data-theme="light"] code {
  background: #F0FDF4;
  border-color: #BBF7D0;
  color: #15803D;
}
html[data-theme="light"] :focus-visible {
  outline: 2px solid #16A34A;
  outline-offset: 2px;
}
html[data-theme="light"] .muted {
  color: #7A8CA3;
}
html[data-theme="light"] .section {
  border-bottom: 1px solid #E6EBF3;
}
html[data-theme="light"] .section-alt {
  background: #F4F7FB;
}
html[data-theme="light"] .section-head p {
  color: #64748B;
}

/* Buttons */
html[data-theme="light"] .btn {
  border-radius: 16px;
  transition: all 0.2s ease;
}
html[data-theme="light"] .btn-primary {
  background: #16A34A;
  border-color: #16A34A;
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.25);
}
html[data-theme="light"] .btn-primary:hover {
  background: #15803D;
  border-color: #15803D;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.35);
}
html[data-theme="light"] .btn-outline {
  background: #FFFFFF;
  color: #27354A;
  border-color: #D8E0EC;
  box-shadow: 0 1px 3px rgba(39, 53, 74, 0.04);
}
html[data-theme="light"] .btn-outline:hover {
  background: #F4F7FB;
  border-color: #C9E4FF;
  color: #27354A;
}

/* SOAX Floating Header */
html[data-theme="light"] .soax-header-bar {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid #E6EBF3;
  box-shadow: 0 8px 24px -4px rgba(39, 53, 74, 0.08), 0 2px 6px rgba(39, 53, 74, 0.03);
}
html[data-theme="light"] .soax-brand img {
  content: url("../assets/brand/logo-light.svg");
}
html[data-theme="dark"] .soax-brand img {
  content: url("../assets/brand/logo.svg");
}
html[data-theme="light"] .soax-divider {
  background: #E6EBF3;
}
html[data-theme="light"] .soax-nav-link {
  color: #55667E;
}
html[data-theme="light"] .soax-nav-link:hover {
  color: #27354A;
  background: #EAF4FF;
}
html[data-theme="light"] .soax-nav-link.is-active,
html[data-theme="light"] .soax-nav-link[aria-current="page"] {
  color: #15803D;
  font-weight: 600;
}
html[data-theme="light"] .soax-btn-ghost {
  color: #27354A;
}
html[data-theme="light"] .soax-btn-ghost:hover {
  color: #27354A;
  background: #F4F7FB;
}
html[data-theme="light"] .soax-btn-cta {
  background: #16A34A;
  color: #FFFFFF;
  border-radius: 8px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.25);
}
html[data-theme="light"] .soax-btn-cta:hover {
  background: #15803D;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.35);
}
html[data-theme="light"] .soax-menu-btn {
  border-color: #E6EBF3;
  color: #27354A;
  background: #FFFFFF;
}
html[data-theme="light"] .theme-toggle-btn {
  background: transparent;
  border: 1px solid transparent;
  color: #4A5568;
  box-shadow: none;
}
html[data-theme="light"] .theme-toggle-btn:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.08);
  color: #1A202C;
}
html[data-theme="light"] .theme-toggle-btn .i-sun { display: none; }
html[data-theme="light"] .theme-toggle-btn .i-moon { display: block; }

/* Mobile Menu Panel */
html[data-theme="light"] .mobile-menu {
  background: rgba(251, 252, 255, 0.98);
}
html[data-theme="light"] .mobile-menu-link {
  color: #27354A;
  border-bottom: 1px solid #E6EBF3;
}
html[data-theme="light"] .mobile-theme-row {
  border-color: #E6EBF3;
}
html[data-theme="light"] .mobile-theme-label {
  color: #64748B;
}
html[data-theme="light"] .mobile-theme-btn {
  background: #FFFFFF;
  border-color: #E6EBF3;
  color: #27354A;
}
html[data-theme="light"] .mobile-theme-btn .i-sun { display: none; }
html[data-theme="light"] .mobile-theme-btn .i-moon { display: block; }

/* Hero */
html[data-theme="light"] .hero {
  border-bottom: 1px solid #E6EBF3;
}
html[data-theme="light"] .hero-backdrop {
  opacity: 0.28;
  filter: brightness(1.18) saturate(0.85);
}
html[data-theme="light"] .hero::after {
  background:
    linear-gradient(180deg, rgba(251, 252, 255, 0.90) 0%, rgba(251, 252, 255, 0.25) 112px),
    radial-gradient(ellipse 70% 60% at 50% 42%, rgba(251, 252, 255, 0.94) 0%, rgba(234, 244, 255, 0.72) 60%, rgba(240, 238, 255, 0.45) 100%),
    linear-gradient(180deg, transparent 75%, #FBFCFF 100%);
}
html[data-theme="light"] .hero-title {
  color: #27354A;
}
html[data-theme="light"] .hero-sub {
  color: #55667E;
}
html[data-theme="light"] .hero-slate {
  background: #FFFFFF;
  border-color: #E6EBF3;
  box-shadow: 0 4px 20px rgba(39, 53, 74, 0.04);
}
html[data-theme="light"] .hero-slate-item {
  background: #F8FAFD;
  border-color: #E6EBF3;
}
html[data-theme="light"] .hero-slate-item:hover {
  background: #FFFFFF;
  border-color: #C9E4FF;
  box-shadow: 0 4px 12px rgba(88, 121, 201, 0.08);
}
html[data-theme="light"] .hero-slate-icon {
  background: #EAF4FF;
  border-color: #C9E4FF;
  color: #15803D;
}
html[data-theme="light"] .hero-slate-val {
  color: #0F172A;
}
html[data-theme="light"] .hero-slate-sub {
  color: #64748B;
}
html[data-theme="light"] .hero-slate-pay {
  border-top-color: #E6EBF3;
}
html[data-theme="light"] .hero-pay-label {
  color: #55667E;
}
html[data-theme="light"] .hero-pay-count {
  color: #375FA8;
}
html[data-theme="light"] .coin-icon {
  background: #F8FAFD;
  border-color: #E6EBF3;
}
html[data-theme="light"] .coin-icon:hover {
  border-color: #C9E4FF;
}

/* Plans Section */
html[data-theme="light"] .plan-card {
  background: #FFFFFF;
  border: 1px solid #E6EBF3;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(39, 53, 74, 0.03);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
}
html[data-theme="light"] .plan-card:hover {
  border-color: #C9E4FF;
  box-shadow: 0 10px 24px -4px rgba(88, 121, 201, 0.11), 0 0 0 1px #C9E4FF;
  transform: translateY(-2px);
}
html[data-theme="light"] .plan-card.is-featured {
  background: linear-gradient(180deg, #FFFFFF 0%, #F5F9FF 100%);
  border-color: #8DBBEE;
  box-shadow: 0 6px 20px -4px rgba(88, 121, 201, 0.12), 0 0 0 1px #C9E4FF;
}
html[data-theme="light"] .plan-flag {
  background: linear-gradient(135deg, #16A34A, #22C55E);
  color: #FFFFFF;
  font-weight: 600;
  border-radius: 999px;
}
html[data-theme="light"] .plan-gb {
  color: #27354A;
}
html[data-theme="light"] .plan-use {
  color: #64748B;
}
html[data-theme="light"] .plan-total {
  color: #27354A;
}
html[data-theme="light"] .plan-per {
  color: #64748B;
}
html[data-theme="light"] .plan-per-low {
  color: #2CB353;
  font-weight: 600;
}
html[data-theme="light"] .included-bar {
  background: #F4F7FB;
  border: 1px solid #E6EBF3;
  border-radius: 18px;
}
html[data-theme="light"] .included-item strong {
  color: #27354A;
}
html[data-theme="light"] .included-item span {
  color: #64748B;
}
html[data-theme="light"] .included-item .i {
  color: #15803D;
}
html[data-theme="light"] .pay-row {
  color: #64748B;
}
html[data-theme="light"] .pay-chip {
  background: #FFFFFF;
  border: 1px solid #E6EBF3;
  color: #27354A;
  border-radius: 999px;
  box-shadow: 0 1px 3px rgba(39, 53, 74, 0.04);
}

/* Search & Coverage */
html[data-theme="light"] .search {
  background: #FFFFFF;
  border: 1px solid #D8E0EC;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(39, 53, 74, 0.04);
}
html[data-theme="light"] .search:focus-within {
  border-color: #16A34A;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}
html[data-theme="light"] .search-input {
  color: #27354A;
}
html[data-theme="light"] .search-input::placeholder {
  color: #94A3B8;
}
html[data-theme="light"] .search-clear {
  color: #64748B;
}
html[data-theme="light"] .region-btn {
  background: #FFFFFF;
  border: 1px solid #E6EBF3;
  color: #55667E;
  border-radius: 12px;
}
html[data-theme="light"] .region-btn:hover {
  background: #F4F7FB;
  color: #27354A;
  border-color: #C9E4FF;
}
html[data-theme="light"] .region-btn.is-active {
  background: #F0FDF4;
  border-color: #86EFAC;
  color: #15803D;
  font-weight: 700;
}
html[data-theme="light"] .country {
  background: #FFFFFF;
  border: 1px solid #E6EBF3;
  border-radius: 14px;
  box-shadow: 0 2px 6px rgba(39, 53, 74, 0.02);
}
html[data-theme="light"] .country:hover {
  background: #F8FAFD;
  border-color: #C9E4FF;
  box-shadow: 0 6px 16px -4px rgba(88, 121, 201, 0.12);
}
html[data-theme="light"] .country-name {
  color: #27354A;
}
html[data-theme="light"] .country-carrier {
  color: #64748B;
}
html[data-theme="light"] .country-speed {
  color: #375FA8;
  background: #EAF4FF;
  border: 1px solid #C9E4FF;
  border-radius: 6px;
}
html[data-theme="light"] .coverage-match-card {
  background: linear-gradient(135deg, #EAF4FF, #F0EEFF);
  border: 1px solid #C9E4FF;
  border-radius: 14px;
}
html[data-theme="light"] .coverage-match-card strong {
  color: #27354A;
}
html[data-theme="light"] .coverage-no-match {
  color: #64748B;
}

/* How It Works */
html[data-theme="light"] .flow-card {
  background: #FFFFFF;
  border: 1px solid #E6EBF3;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(39, 53, 74, 0.03);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
}
html[data-theme="light"] .flow-card:hover {
  border-color: #C9E4FF;
  box-shadow: 0 10px 24px -4px rgba(88, 121, 201, 0.10);
  transform: translateY(-2px);
}
html[data-theme="light"] .flow-badge {
  background: #EAF4FF;
  border-color: #C9E4FF;
  color: #375FA8;
}
html[data-theme="light"] .flow-dot {
  background: #16A34A;
  box-shadow: 0 0 6px rgba(22, 163, 74, 0.4);
}
html[data-theme="light"] .flow-icon-wrap {
  background: linear-gradient(135deg, #EAF4FF 0%, #F0EEFF 100%);
  border-color: #DCDFFF;
  color: #15803D;
  box-shadow: 0 4px 12px rgba(88, 121, 201, 0.1);
}
html[data-theme="light"] .flow-body h3 {
  color: #27354A;
}
html[data-theme="light"] .flow-body p {
  color: #64748B;
}
html[data-theme="light"] .flow-pill {
  background: #F4F7FB;
  border-color: #E6EBF3;
  color: #55667E;
}

/* Privacy Showcase */
html[data-theme="light"] .step-num-circle {
  background: #F0FDF4;
  color: #15803D;
  font-weight: 700;
}
html[data-theme="light"] .privacy-showcase {
  border-top: 1px solid #E6EBF3;
}
html[data-theme="light"] .privacy-head h2 {
  color: #0F172A;
}
html[data-theme="light"] .privacy-lead {
  color: #55667E;
}
html[data-theme="light"] .privacy-item {
  background: #FFFFFF;
  border-color: #E6EBF3;
  box-shadow: 0 2px 10px rgba(39, 53, 74, 0.03);
}
html[data-theme="light"] .privacy-item:hover {
  border-color: #C9E4FF;
  box-shadow: 0 10px 24px -4px rgba(88, 121, 201, 0.10);
}
html[data-theme="light"] .privacy-item-icon {
  background: #EAF4FF;
  border-color: #C9E4FF;
  color: #15803D;
}
html[data-theme="light"] .privacy-item-content h3 {
  color: #27354A;
}
html[data-theme="light"] .privacy-item-content p {
  color: #64748B;
}
html[data-theme="light"] .privacy-key-preview {
  background: #F1F5F9;
  border-color: #E2E8F0;
}
html[data-theme="light"] .privacy-key-preview code {
  color: #375FA8;
}
html[data-theme="light"] .privacy-signin-row {
  color: #64748B;
}
html[data-theme="light"] .privacy-signin-link {
  color: #375FA8;
  background: #FFFFFF;
  border-color: #E2E8F0;
}
html[data-theme="light"] .privacy-signin-link:hover {
  border-color: #15803D;
  background: #EAF4FF;
}

/* Devices Section */
html[data-theme="light"] .device-chip {
  background: #FFFFFF;
  border: 1px solid #E6EBF3;
  color: #27354A;
  border-radius: 12px;
}
html[data-theme="light"] .quick-check-card {
  background: #FFFFFF;
  border: 1px solid #E6EBF3;
  border-radius: 18px;
}
html[data-theme="light"] .quick-check-icon {
  background: #EAF4FF;
  border: 1px solid #C9E4FF;
  color: #15803D;
}
html[data-theme="light"] .quick-check-title {
  color: #27354A;
}
html[data-theme="light"] .quick-check-desc {
  color: #64748B;
}
html[data-theme="light"] .device-console {
  background: #FFFFFF;
  border: 1px solid #E6EBF3;
  border-radius: 20px;
  box-shadow: none;
}
html[data-theme="light"] .device-tabs {
  background: #F4F7FB;
  border: 1px solid #E6EBF3;
  border-radius: 12px;
}
html[data-theme="light"] .device-tabs .tab {
  color: #64748B;
}
html[data-theme="light"] .device-tabs .tab:hover {
  color: #27354A;
}
html[data-theme="light"] .device-tabs .tab.is-active {
  background: #FFFFFF;
  color: #27354A;
  border-color: #D8E0EC;
  box-shadow: none;
}
html[data-theme="light"] .device-tabs .tab.is-active .i {
  color: #15803D;
}
html[data-theme="light"] .deck-compat {
  border-bottom: 1px solid #E6EBF3;
}
html[data-theme="light"] .compat-chip {
  background: #EAF4FF;
  border: 1px solid #C9E4FF;
  color: #375FA8;
}
html[data-theme="light"] .compat-chip .compat-dot {
  background: #16A34A;
}
html[data-theme="light"] .compat-text {
  color: #64748B;
}
html[data-theme="light"] .deck-stepper::before {
  background: #E6EBF3;
}
html[data-theme="light"] .deck-step-node {
  background: #F4F7FB;
  border: 1px solid #D8E0EC;
  color: #15803D;
  box-shadow: none;
}
html[data-theme="light"] .deck-step-title {
  color: #27354A;
}
html[data-theme="light"] .deck-step-desc {
  color: #64748B;
}
html[data-theme="light"] .deck-step-desc strong {
  color: #27354A;
}
html[data-theme="light"] .step-crumb {
  background: #F4F7FB;
  border: 1px solid #E6EBF3;
}
html[data-theme="light"] .crumb-node {
  color: #27354A;
}
html[data-theme="light"] .crumb-node.highlight {
  color: #15803D;
}
html[data-theme="light"] .crumb-arrow {
  color: #94A3B8;
}
html[data-theme="light"] .router-lpa-code {
  background: #EAF4FF;
  border: 1px solid #C9E4FF;
  color: #375FA8;
}

/* Comparison Matrix */
html[data-theme="light"] .compare-shell {
  background: #FFFFFF;
  border: 1px solid #E6EBF3;
  border-radius: 22px;
  box-shadow: 0 4px 20px -4px rgba(39, 53, 74, 0.04);
}
html[data-theme="light"] .th-feature {
  background: #FAFCFE;
  border-bottom: 1px solid #E6EBF3;
}
html[data-theme="light"] .td-feature {
  background: #FFFFFF;
  border-bottom: 1px solid #E6EBF3;
}
html[data-theme="light"] .feat-name {
  color: #27354A;
}
html[data-theme="light"] .feat-desc {
  color: #64748B;
}
html[data-theme="light"] .col-us,
html[data-theme="light"] .th-us {
  background: linear-gradient(180deg, #F0F6FF 0%, #F8FAFD 100%);
  border-left: 2px solid #8DBBEE;
  border-right: 2px solid #8DBBEE;
}
html[data-theme="light"] .us-badge-top {
  background: #16A34A;
  color: #FFFFFF;
}
html[data-theme="light"] .us-brand-name {
  color: #27354A;
}
html[data-theme="light"] .us-brand-sub {
  color: #375FA8;
}
html[data-theme="light"] .us-brand-icon img {
  content: url("../assets/brand/logo-mark-light.svg");
}
html[data-theme="light"] .th-comp,
html[data-theme="light"] .td-comp {
  background: #FAFCFE;
  border-bottom: 1px solid #E6EBF3;
  border-left: 1px solid #E6EBF3;
}
html[data-theme="light"] .comp-title {
  color: #55667E;
}
html[data-theme="light"] .comp-sub {
  color: #8C9CAE;
}
html[data-theme="light"] .val-pill-win {
  background: #EAF4FF;
  border: 1px solid #C9E4FF;
  color: #27354A;
}
html[data-theme="light"] .val-pill-win strong {
  color: #27354A;
}
html[data-theme="light"] .val-pill-win .i {
  color: #15803D;
}
html[data-theme="light"] .val-sub {
  color: #64748B;
}
html[data-theme="light"] .val-pill-fail {
  background: #FFF2F2;
  border: 1px solid #FFE0E0;
  color: #C53030;
}
html[data-theme="light"] .val-pill-warn {
  background: #FFFDF0;
  border: 1px solid #F5E8B7;
  color: #8A6D14;
}
html[data-theme="light"] .val-text-neutral {
  color: #64748B;
}
html[data-theme="light"] .compare-mobile-switch {
  background: #F4F7FB;
  border: 1px solid #E6EBF3;
}
html[data-theme="light"] .comp-m-btn {
  color: #64748B;
}
html[data-theme="light"] .comp-m-btn.is-active {
  background: #FFFFFF;
  color: #27354A;
  border: 1px solid #E6EBF3;
  box-shadow: 0 2px 8px rgba(39, 53, 74, 0.06);
}
html[data-theme="light"] .comp-m-card {
  background: #FFFFFF;
  border: 1px solid #E6EBF3;
  border-radius: 18px;
}
html[data-theme="light"] .comp-m-us {
  background: linear-gradient(180deg, #F0F6FF 0%, #FFFFFF 100%);
  border: 1px solid #C9E4FF;
}
html[data-theme="light"] .comp-m-rival {
  background: #FAFCFE;
  border: 1px solid #E6EBF3;
}
html[data-theme="light"] .comp-m-col-brand img {
  content: url("../assets/brand/logo-mark-light.svg");
}
html[data-theme="light"] .compare-foot {
  background: #F4F7FB;
  border-top: 1px solid #E6EBF3;
}
html[data-theme="light"] .compare-foot-note {
  color: #55667E;
}

/* FAQ */
html[data-theme="light"] .faq-item {
  border-top: 1px solid #E6EBF3;
}
html[data-theme="light"] .faq-q {
  color: #27354A;
}
html[data-theme="light"] .faq-q:hover {
  color: #15803D;
}
html[data-theme="light"] .faq-icon {
  color: #15803D;
}
html[data-theme="light"] .faq-a p {
  color: #55667E;
}
html[data-theme="light"] .privacy-note {
  background: #FFFFFF;
  border: 1px solid #E6EBF3;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(39, 53, 74, 0.04);
}
html[data-theme="light"] .privacy-note strong {
  color: #27354A;
}
html[data-theme="light"] .privacy-note p {
  color: #64748B;
}

/* CTA Banner & Footer */
html[data-theme="light"] .cta {
  border-bottom: 1px solid #E6EBF3;
}
html[data-theme="light"] .cta-box {
  background: linear-gradient(135deg, #EAF4FF 0%, #F0EEFF 100%);
  border: 1px solid #D8E4F8;
  border-radius: 22px;
  box-shadow: 0 6px 22px -6px rgba(88, 121, 201, 0.08);
}
html[data-theme="light"] .cta-box h2 {
  color: #27354A;
}
html[data-theme="light"] .cta-box p {
  color: #55667E;
}
html[data-theme="light"] .site-footer {
  background: #F4F7FB;
  border-top: 1px solid #E6EBF3;
}
html[data-theme="light"] .footer-about {
  color: #64748B;
}
html[data-theme="light"] .footer-h {
  color: #27354A;
}
html[data-theme="light"] .footer-links a {
  color: #64748B;
}
html[data-theme="light"] .footer-links a:hover {
  color: #27354A;
}
html[data-theme="light"] .footer-bottom {
  border-top: 1px solid #E6EBF3;
  color: #64748B;
}
html[data-theme="light"] .footer-bottom strong {
  color: #27354A;
}
html[data-theme="light"] .footer-coin {
  background: #FFFFFF;
  border: 1px solid #E6EBF3;
  box-shadow: 0 1px 2px rgba(39, 53, 74, 0.04);
}
html[data-theme="light"] .footer-coin:hover {
  background: #F4F7FB;
  border-color: #C9E4FF;
  box-shadow: 0 2px 5px rgba(39, 53, 74, 0.08);
}

/* Modals & Inputs */
html[data-theme="light"] .modal-backdrop {
  background: rgba(39, 53, 74, 0.45);
  backdrop-filter: blur(8px);
}
html[data-theme="light"] .modal-box {
  background: #FFFFFF;
  border: 1px solid #E6EBF3;
  border-radius: 20px;
  box-shadow: 0 24px 60px -12px rgba(39, 53, 74, 0.2);
  color: #27354A;
}
html[data-theme="light"] .modal-top h3 {
  color: #27354A;
}
html[data-theme="light"] .modal-row {
  border-bottom: 1px solid #E6EBF3;
  color: #27354A;
}
html[data-theme="light"] .modal-row .muted {
  color: #64748B;
}
html[data-theme="light"] .auth-tabs {
  background: #F4F7FB;
  border: 1px solid #E6EBF3;
  border-radius: 10px;
}
html[data-theme="light"] .auth-tab {
  color: #64748B;
}
html[data-theme="light"] .auth-tab:hover {
  color: #27354A;
}
html[data-theme="light"] .auth-tab.is-active {
  background: #FFFFFF;
  color: #27354A;
  border: 1px solid #E6EBF3;
  box-shadow: 0 2px 8px rgba(39, 53, 74, 0.06);
}
html[data-theme="light"] .auth-hint {
  color: #64748B;
}
html[data-theme="light"] .auth-label {
  color: #55667E;
}
html[data-theme="light"] .auth-input,
html[data-theme="light"] .auth-textarea {
  background: #FBFCFF;
  border: 1px solid #D8E0EC;
  color: #27354A;
  border-radius: 12px;
}
html[data-theme="light"] .auth-input:focus,
html[data-theme="light"] .auth-textarea:focus {
  border-color: #16A34A;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}
html[data-theme="light"] .auth-privacy-badge {
  background: #EAF4FF;
  border: 1px solid #C9E4FF;
  color: #375FA8;
  border-radius: 10px;
}
html[data-theme="light"] .btn-link {
  color: #15803D;
}
html[data-theme="light"] .modal-notice {
  background: #F4F7FB;
  border: 1px solid #E6EBF3;
  color: #55667E;
}
html[data-theme="light"] .modal-highlight {
  color: #375FA8;
}

/* Router Guide Page */
html[data-theme="light"] .guide-main {
  background: #FBFCFF;
}
html[data-theme="light"] .guide-card {
  background: #FFFFFF;
  border: 1px solid #E6EBF3;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(39, 53, 74, 0.03);
}
html[data-theme="light"] .guide-card h2 {
  color: #27354A;
}
html[data-theme="light"] .guide-card p {
  color: #64748B;
}
html[data-theme="light"] .install-steps li {
  color: #55667E;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* ---------- Refined Privacy Showcase (Architectural List, Zero AI Slop) ---------- */
.privacy-showcase {
  padding-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.privacy-list-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 960px;
  margin: 0 auto;
  width: 100%;
}

@media (min-width: 768px) {
  .privacy-list-wrap {
    grid-template-columns: 1fr 1fr;
  }
}

/* Header User Key Chip in Soax Bar */
[data-ui="user-chip"],
.soax-user-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white, #ffffff);
}
html[data-theme="light"] [data-ui="user-chip"],
html[data-theme="light"] .soax-user-chip {
  background: #F4F7FB;
  border-color: #D8E0EC;
  color: #27354A;
}
@media (max-width: 720px) {
  [data-ui="user-chip"],
  .soax-user-chip {
    display: none;
  }
}

/* Modal Enhancements matching DNA */
.modal-box {
  border-radius: 16px !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6) !important;
}

/* Universal Styled Paste Button & Input Embed */
.checkout-input-with-btn,
.auth-input-with-btn {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.checkout-input-with-btn input,
.auth-input-with-btn input {
  width: 100%;
  padding-right: 86px !important;
  box-sizing: border-box;
}

.checkout-inner-btn,
.auth-label-action,
.btn-paste {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: rgba(49, 220, 97, 0.12);
  border: 1px solid rgba(49, 220, 97, 0.28);
  color: var(--green, #31dc61);
  padding: 6px 14px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2px;
  cursor: pointer;
  line-height: 1;
  transition: all 0.15s ease;
}

.checkout-input-with-btn .checkout-inner-btn,
.auth-input-with-btn .checkout-inner-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  z-index: 2;
}

.checkout-inner-btn:hover,
.auth-label-action:hover,
.btn-paste:hover {
  background: var(--green, #31dc61);
  color: #05080c;
  border-color: var(--green, #31dc61);
}

html[data-theme="light"] .checkout-inner-btn,
html[data-theme="light"] .auth-label-action,
html[data-theme="light"] .btn-paste {
  background: #F0FDF4;
  border-color: #86EFAC;
  color: #16A34A;
}

html[data-theme="light"] .checkout-inner-btn:hover,
html[data-theme="light"] .auth-label-action:hover,
html[data-theme="light"] .btn-paste:hover {
  background: #16A34A;
  color: #FFFFFF;
}