/* ==========================================================================
   blacksim.pro - eSIM frontpage
   Built on the DediServers design system (same tokens, type, buttons, cards)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
  /* Base */
  --black: #060a0f;
  --black-2: #080d14;
  --card: #0a0f16;
  --card-hover: #0e141e;
  --white: #ffffff;
  --gray: #e0e0e0;

  /* White opacity ladder (DediServers) */
  --w70: rgba(255, 255, 255, 0.70);
  --w50: rgba(255, 255, 255, 0.50);
  --w35: rgba(255, 255, 255, 0.35);
  --w15: rgba(255, 255, 255, 0.15);
  --w10: rgba(255, 255, 255, 0.10);
  --w05: rgba(255, 255, 255, 0.05);

  /* Accents (DediServers) */
  --green: #31dc61;
  --green-light: #3cf470;
  --green-dark: #15c947;
  --blue: #1268f1;
  --blue-light: #297cff;
  --blue-dark: #0f5dd9;

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

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--black);
  color: var(--gray);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--white); }
h1, h2, h3 { color: var(--white); margin: 0; font-weight: 700; letter-spacing: -0.02em; }
p { margin: 0; }
code {
  font-family: var(--mono);
  font-size: 0.92em;
  background: var(--w05);
  border: 1px solid var(--w10);
  padding: 1px 6px;
  color: var(--white);
}

::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--w35); }

/* ---------- Icons ---------- */
.i {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.i-lg { width: 24px; height: 24px; }
.text-green { color: var(--green); }
.muted { color: var(--w50); }
.small { font-size: 13px; line-height: 1.6; }

/* ---------- Layout ---------- */
.container { width: 100%; margin: 0 auto; padding: 0 20px; }
@media (min-width: 772px) { .container { width: 740px; } }
@media (min-width: 1120px) { .container { width: 1080px; } }
@media (min-width: 1280px) { .container { width: 1180px; } }

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

.section-head { text-align: center; max-width: 860px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 46px); line-height: 1.08; }
.section-head p { max-width: 680px; margin: 14px auto 0; font-size: 17px; color: var(--w70); line-height: 1.6; }
.hl-line {
  color: var(--white);
  padding-bottom: 3px;
  background-image: linear-gradient(90deg, rgba(49, 220, 97, 0.85) 0%, rgba(49, 220, 97, 0.35) 68%, transparent 100%);
  background-repeat: no-repeat;
  background-size: 100% 1px;
  background-position: 0 100%;
}

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--font);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 600;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn:focus-visible {
  outline: 2px solid var(--blue-light);
  outline-offset: 2px;
}
.btn-lg { height: 50px; padding: 0 28px; font-size: 13.5px; letter-spacing: 0.08em; }
.btn-md { height: 44px; padding: 0 22px; font-size: 13px; letter-spacing: 0.07em; }
.btn-sm { height: 36px; padding: 0 16px; font-size: 12px; letter-spacing: 0.06em; }
.btn-block { width: 100%; }

.btn-primary {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}
.btn-primary:hover {
  color: var(--white);
  background: #1d72f5;
  border-color: #1d72f5;
}
.btn-primary:active {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}

.btn-secondary {
  color: var(--black);
  background: var(--green);
  border-color: var(--green);
}
.btn-secondary:hover { color: var(--black); }

.btn-outline {
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.22);
}
.btn-outline:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.44);
}

.arrow-icon {
  width: 15px;
  height: 15px;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.btn:hover .arrow-icon { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 72px;
  z-index: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background-color 0.25s ease, height 0.25s ease;
}
.site-header.scrolled {
  position: fixed;
  height: 64px;
  background: #080d14;
}
.header-row { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-icon { width: 30px; height: 30px; display: block; }
.brand-name { display: inline-flex; align-items: center; gap: 5px; font-size: 19px; line-height: 1; letter-spacing: -0.01em; }
.brand-core { color: var(--white); font-weight: 700; }
.brand-div { color: var(--green); font-weight: 500; }
.brand-suffix { color: var(--gray); font-weight: 600; }

.nav-menu { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-link { color: var(--w70); font-size: 14.5px; font-weight: 500; padding: 8px 0; position: relative; transition: color 0.2s ease; }
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: transparent;
  transition: background-color 0.2s;
}
.nav-link:hover { color: var(--white); }
.nav-link:hover::after { background: var(--blue); }

.header-actions { display: flex; align-items: center; gap: 10px; }

.hamburger-btn {
  display: none;
  background: transparent;
  border: 0;
  color: var(--w70);
  padding: 6px;
  cursor: pointer;
}
.hamburger-btn:hover { color: var(--white); }

@media (max-width: 1000px) {
  .nav-menu { display: none; }
  .hamburger-btn { display: inline-flex; }
}
@media (max-width: 560px) {
  .hide-sm { display: none; }
  .brand-name { font-size: 18px; }
  .header-actions .btn-primary { padding: 0 12px; }
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 450;
  background: var(--black);
  padding: 100px 24px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateY(-100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-drawer.open { transform: translateY(0); }
.mobile-nav-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.mobile-nav-list a { color: var(--white); font-size: 22px; font-weight: 700; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  height: min(86vh, 740px);
  display: flex;
  align-items: center;
  padding: 112px 0 76px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: url("../assets/images/hero-cellular.jpg");
  background-size: cover;
  background-position: center 20%;
  background-repeat: no-repeat;
  opacity: 0.92;
  pointer-events: none;
  user-select: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(6, 10, 15, 0.92) 0%, rgba(6, 10, 15, 0) 104px),
    linear-gradient(90deg, rgba(6, 10, 15, 0.98) 0%, rgba(6, 10, 15, 0.90) 42%, rgba(6, 10, 15, 0.26) 76%, rgba(6, 10, 15, 0.56) 100%);
}
.hero::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 180px;
  z-index: 6;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 10, 15, 0) 0%, var(--black) 100%);
}
.hero-inner {
  position: relative;
  z-index: 10;
}
.hero-content {
  max-width: 560px;
  text-align: left;
}

.hero-title {
  font-size: clamp(34px, 4.1vw, 54px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--white);
  margin: 0 0 18px;
}
.hero-sub {
  font-size: 16.5px;
  line-height: 1.62;
  letter-spacing: -0.005em;
  color: rgba(255, 255, 255, 0.72);
  max-width: 465px;
  margin: 0 0 26px;
}

.hero-points {
  list-style: none;
  margin: 0 0 34px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  gap: 11px 30px;
}
.hero-points li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: rgba(255, 255, 255, 0.86);
  white-space: nowrap;
}
.hero-points .i {
  width: 15px;
  height: 15px;
  color: var(--green);
  stroke-width: 2.2;
}
.hero-points .coin-icon {
  width: 16px;
  height: 16px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0;
}

@media (max-width: 960px) {
  .hero {
    height: auto;
    min-height: 560px;
    padding: 112px 0 68px;
  }
  .hero-backdrop {
    background-position: 68% 20%;
  }
  .hero::after {
    background:
      linear-gradient(180deg, rgba(6, 10, 15, 0.92) 0%, rgba(6, 10, 15, 0) 96px),
      linear-gradient(90deg, rgba(6, 10, 15, 0.96) 0%, rgba(6, 10, 15, 0.84) 54%, rgba(6, 10, 15, 0.34) 100%);
  }
  .hero-content { max-width: 520px; }
  .hero-title { font-size: clamp(32px, 4.4vw, 44px); }
  .hero-sub { font-size: 16px; max-width: 440px; }
  .hero-points { gap: 10px 22px; }
}

@media (max-width: 640px) {
  .hero {
    min-height: 0;
    padding: 104px 0 60px;
  }
  .hero-backdrop {
    background-position: 72% center;
    opacity: 0.88;
  }
  .hero::after {
    background: linear-gradient(90deg, rgba(6, 10, 15, 0.94) 0%, rgba(6, 10, 15, 0.80) 60%, rgba(6, 10, 15, 0.42) 100%);
  }
  .hero-title { font-size: 34px; line-height: 1.08; margin-bottom: 14px; }
  .hero-sub { font-size: 15.5px; line-height: 1.58; margin-bottom: 22px; }
  .hero-points { grid-template-columns: 1fr; gap: 10px; margin-bottom: 28px; }
  .hero-points li { white-space: normal; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-actions .btn { width: 100%; height: 48px; }
}

/* ---------- Plans (Narrative Split: 1 Hero Card + 1 Tier Table Card) ---------- */
.tier-switcher {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: stretch;
  gap: 8px;
  margin-bottom: 24px;
  background-color: var(--card);
  border: 1px solid var(--w10);
  padding: 6px;
  width: 100%;
}
.tier-pill {
  font-family: var(--font);
  background: transparent;
  border: 1px solid transparent;
  padding: 12px 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--w70);
  cursor: pointer;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
@media (max-width: 820px) {
  .tier-switcher {
    grid-template-columns: repeat(2, 1fr);
  }
}
.tier-pill:hover {
  color: var(--white);
  background-color: rgba(255, 255, 255, 0.04);
}
.tier-pill.is-active {
  background-color: #0e1724;
  color: var(--white);
  border-color: var(--green);
}
.pill-badge {
  font-size: 12px;
  background: rgba(49, 220, 97, 0.15);
  color: var(--green);
  padding: 2px 8px;
  font-weight: 700;
}

.plans-narrative-split {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px;
  align-items: stretch;
  width: 100%;
}
@media (max-width: 900px) {
  .plans-narrative-split {
    grid-template-columns: 1fr;
  }
}

.plan-hero-card {
  background-color: var(--card);
  border: 1px solid var(--w10);
  padding: 40px;
  display: flex;
  flex-direction: column;
}
.plan-hero-header {
  margin-bottom: 18px;
}
.plan-hero-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.plan-hero-headline {
  font-size: clamp(44px, 5vw, 64px);
  line-height: 1;
  color: var(--white);
  margin: 0;
  letter-spacing: -0.03em;
}
.lifetime-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--green);
  background: rgba(49, 220, 97, 0.1);
  border: 1px solid rgba(49, 220, 97, 0.35);
}
.plan-hero-tag {
  font-size: 16px;
  color: var(--w70);
  font-weight: 500;
}
.plan-hero-price {
  font-size: 36px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 28px;
}
.plan-hero-per {
  font-size: 16px;
  color: var(--w50);
  font-weight: 400;
  margin-left: 10px;
}
.plan-features-list {
  list-style: none;
  margin: 0 0 32px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex: 1;
}
.plan-features-list li {
  font-size: 15px;
  line-height: 1.5;
  color: var(--gray);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.plan-features-list li .i {
  color: var(--green);
  width: 17px;
  height: 17px;
  margin-top: 3px;
  flex-shrink: 0;
}
.feat-lead {
  color: #ffffff;
  font-weight: 700;
  margin-right: 4px;
}
.feat-carriers {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}

.plan-table-card {
  background-color: var(--card);
  border: 1px solid var(--w10);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}
.tier-entry {
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.tier-entry:hover {
  background-color: rgba(255, 255, 255, 0.03);
}
.tier-entry.is-selected {
  background-color: #0e1724;
  border-color: rgba(49, 220, 97, 0.4);
}
.tier-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.tier-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.tier-lifetime {
  font-weight: 500;
  color: var(--w70);
}
.tier-desc {
  font-size: 14px;
  color: var(--w50);
  line-height: 1.4;
}
.tier-right {
  display: flex;
  align-items: center;
  gap: 20px;
  text-align: right;
  flex-shrink: 0;
}
.tier-pricing {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.tier-amount {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.tier-rate {
  font-size: 13px;
  color: var(--w50);
}
@media (max-width: 560px) {
  .plan-hero-card, .plan-table-card { padding: 24px 18px; }
  .tier-entry { padding: 16px 14px; gap: 12px; }
  .tier-right { gap: 12px; }
}

.plans-foot { margin-top: 32px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.pay-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }
.pay-label { font-size: 13px; color: var(--w50); margin-right: 4px; }
.pay-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray);
  padding: 6px 12px;
  border: 1px solid var(--w10);
  background: var(--w05);
}
.coin-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
}
.hero-coins {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 4px;
}
.plans-note { display: inline-flex; align-items: flex-start; gap: 8px; font-size: 14px; color: var(--w70); max-width: 640px; text-align: left; }
.plans-note .i { width: 16px; height: 16px; margin-top: 2px; color: var(--w50); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step {
  position: relative;
  padding: 28px 24px;
  background: var(--card);
  border: 1px solid var(--w10);
  overflow: hidden;
}
.step-num {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  color: var(--green);
  border: 1px solid rgba(49, 220, 97, 0.4);
  background: rgba(49, 220, 97, 0.08);
  margin-bottom: 18px;
}
.step h3 { font-size: 19px; margin-bottom: 8px; letter-spacing: -0.01em; }
.step p { font-size: 15px; color: var(--w70); line-height: 1.6; }

/* ---------- Account ---------- */
.check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.check-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .check-list-grid { grid-template-columns: 1fr; } }
.check-list li { display: flex; gap: 14px; font-size: 15px; color: var(--w70); line-height: 1.6; }
.check-list-grid li {
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--w10);
}
.check-list .i { color: var(--green); margin-top: 3px; flex-shrink: 0; }
.check-list strong { color: var(--white); }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--w10); margin-bottom: 24px; }
.tab {
  font-family: var(--font);
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--w50);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s, border-color 0.2s;
}
.tab:hover { color: var(--white); }
.tab.is-active { color: var(--white); border-bottom-color: var(--green); }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; }

.field-label { display: block; font-size: 13px; font-weight: 600; color: var(--w70); margin-bottom: 10px; }
.acct-number {
  font-family: var(--mono);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--green);
  background: #04070a;
  border: 1px solid rgba(49, 220, 97, 0.3);
  padding: 18px 20px;
  text-align: center;
  margin-bottom: 14px;
  white-space: nowrap;
  overflow-x: auto;
}
.acct-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }

.input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  font-family: var(--mono);
  font-size: 18px;
  letter-spacing: 1.5px;
  color: var(--white);
  background: #04070a;
  border: 1px solid var(--w15);
  border-radius: 0;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(18, 104, 241, 0.25); }
.form-msg { min-height: 22px; font-size: 13px; margin: 8px 0; color: #ffaf36; }
.form-msg.ok { color: var(--green); }
.tab-panel .small { margin-top: 16px; }

@media (max-width: 480px) {
  .account-card { padding: 22px 16px; }
  .acct-number { font-size: 20px; letter-spacing: 1px; padding: 16px 10px; }
}

/* ---------- Coverage ---------- */
.coverage-box { max-width: 900px; margin: 0 auto; }
.search {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 60px;
  padding: 0 20px;
  background: var(--card);
  border: 1px solid var(--w15);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(18, 104, 241, 0.2); }
.search .i { color: var(--w50); width: 20px; height: 20px; }
.search-input {
  flex: 1;
  min-width: 0;
  height: 100%;
  background: transparent;
  border: 0;
  outline: none;
  color: var(--white);
  font-family: var(--font);
  font-size: 17px;
}
.search-input::placeholder { color: var(--w35); }

.coverage-result {
  min-height: 24px;
  margin: 12px 0 16px;
}
.coverage-result:empty {
  min-height: 0;
  margin: 0;
}
.coverage-match-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 18px;
  background: #080d14;
  border: 1px solid rgba(49, 220, 97, 0.35);
  border-radius: 8px;
  box-sizing: border-box;
}
.match-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.match-check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(49, 220, 97, 0.12);
  border: 1px solid rgba(49, 220, 97, 0.35);
  color: #31dc61;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.match-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.match-headline {
  font-size: 14.5px;
  color: #ffffff;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.match-status {
  font-weight: 700;
  color: #31dc61;
}
.match-dot {
  color: rgba(255, 255, 255, 0.3);
}
.match-country {
  font-weight: 700;
  color: #ffffff;
}
.match-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}
.match-carrier {
  color: #ffffff;
  font-weight: 600;
}
.match-right {
  flex-shrink: 0;
}
.match-speed-badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(49, 220, 97, 0.15);
  color: #31dc61;
  border: 1px solid rgba(49, 220, 97, 0.35);
}
.coverage-no-match-card {
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.75);
}
.coverage-count-card {
  padding: 6px 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.country-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
@media (max-width: 1024px) {
  .country-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
}
@media (max-width: 768px) {
  .country-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}
@media (max-width: 480px) {
  .country-grid { grid-template-columns: 1fr; gap: 8px; }
  .coverage-match-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
  }
  .match-right {
    margin-left: 40px;
  }
}
.country {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: var(--card);
  border: 1px solid var(--w10);
  border-radius: 6px;
  min-width: 0;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.country:hover {
  border-color: rgba(49, 220, 97, 0.35);
  background: rgba(255, 255, 255, 0.03);
}
.country-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}
.country-name {
  font-weight: 600;
  color: #ffffff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
}
.country-carrier {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.48);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 1px;
}
.country-speed {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(49, 220, 97, 0.1);
  color: #31dc61;
  border: 1px solid rgba(49, 220, 97, 0.25);
  flex-shrink: 0;
}
.country-flag {
  width: 20px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14);
  flex-shrink: 0;
  display: block;
}
.coverage-more { margin-top: 18px; text-align: center; }
.coverage-note { margin-top: 14px; text-align: center; }

/* ---------- Devices & Setup ---------- */
.device-compat {
  font-size: 15px;
  color: var(--gray);
  padding: 14px 18px;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--w10);
  line-height: 1.5;
}
.device-compat strong {
  color: var(--green);
}

.tip {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 28px;
  padding: 18px 20px;
  font-size: 15px;
  color: var(--w70);
  line-height: 1.6;
  background: rgba(18, 104, 241, 0.06);
  border: 1px solid rgba(18, 104, 241, 0.25);
}
.tip .i { color: var(--blue-light); margin-top: 3px; }
.tip strong { color: var(--white); }

/* ---------- Install ---------- */
.install-box { max-width: 820px; margin: 0 auto; background: var(--card); border: 1px solid var(--w10); padding: 8px 32px 32px; }
.tabs-wide .tab { flex: 1; justify-content: center; padding: 16px 10px; font-size: 15px; }
.install-steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: flex; flex-direction: column; gap: 14px; }
.install-steps li {
  counter-increment: s;
  position: relative;
  padding-left: 44px;
  font-size: 16px;
  color: var(--w70);
  line-height: 1.6;
  min-height: 28px;
}
.install-steps li::before {
  content: counter(s);
  position: absolute;
  left: 0; top: 0;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
  border: 1px solid rgba(49, 220, 97, 0.4);
}
.install-steps strong { color: var(--white); }
@media (max-width: 600px) {
  .install-box { padding: 4px 16px 24px; }
  .tabs-wide .tab { font-size: 13px; padding: 14px 6px; gap: 6px; }
  .install-steps li { font-size: 15px; }
}

/* ---------- Compare ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--w10); background: var(--card); -webkit-overflow-scrolling: touch; }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; text-align: left; }
.compare th, .compare td { padding: 18px 22px; border-bottom: 1px solid var(--w10); font-size: 15px; color: var(--w70); }
.compare tr:last-child td { border-bottom: 0; }
.compare th { background: var(--black); color: var(--white); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.compare td:first-child { color: var(--white); font-weight: 600; }
.compare .col-us { background: rgba(49, 220, 97, 0.05); border-left: 1px solid rgba(49, 220, 97, 0.25); border-right: 1px solid rgba(49, 220, 97, 0.25); }
.compare th.col-us { color: var(--green); }
.yes { display: inline-flex; align-items: center; gap: 8px; color: var(--green); font-weight: 600; }
.yes .i { width: 16px; height: 16px; }

/* ---------- FAQ (DediServers accordion) ---------- */
.faq-wrap { max-width: 860px; }
.faq-item { border-top: 1px solid var(--w10); }
.faq-item:last-child { border-bottom: 1px solid var(--w10); }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  background: transparent;
  border: 0;
  color: var(--white);
  font-family: var(--font);
  font-size: 18px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--blue-light); }
.faq-icon { width: 20px; height: 20px; color: var(--blue); transition: transform 0.3s ease, color 0.3s ease; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease-out; }
.faq-a p { padding-bottom: 22px; font-size: 16px; color: var(--w70); line-height: 1.65; }
.faq-item.is-open .faq-a { max-height: 320px; }
.faq-item.is-open .faq-icon { transform: rotate(45deg); color: var(--green); }

/* ---------- CTA ---------- */
.cta {
  padding: 72px 0;
  background: var(--black);
  border-bottom: 1px solid var(--w10);
}
.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 36px 40px;
  background: var(--card);
  border: 1px solid var(--w10);
}
.cta-copy h2 {
  font-size: clamp(22px, 2.3vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}
.cta-copy p {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--w70);
  margin: 0;
}
.cta-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
@media (max-width: 860px) {
  .cta-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 28px;
    gap: 24px;
  }
}
@media (max-width: 560px) {
  .cta { padding: 56px 0; }
  .cta-box { padding: 26px 20px; }
  .cta-actions { flex-direction: column; width: 100%; }
  .cta-actions .btn { width: 100%; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: #04070c;
  padding: 68px 0 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
.footer-about {
  margin-top: 16px;
  font-size: 14px;
  color: var(--w70);
  max-width: 340px;
  line-height: 1.6;
}
.footer-entity-badge {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 20px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}
.footer-entity-badge .footer-entity-title {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: #e5edf8;
}
.footer-entity-badge .footer-entity-sub {
  font-size: 11.5px;
  color: var(--w50);
}
.footer-h {
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1.4px;
  margin-bottom: 16px;
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-links a {
  font-size: 14px;
  color: var(--w70);
  transition: color 0.15s ease;
}
.footer-links a:hover {
  color: var(--white);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 13px;
  color: var(--w50);
}
.footer-bottom-legal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.footer-bottom-legal strong {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}
.footer-coins {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.footer-coin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--w70);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 4px 10px;
  border-radius: 6px;
}
@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 1000;
  transform: translate(-50%, 120px);
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  background: #0e1520;
  border: 1px solid var(--green);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.toast.show { transform: translate(-50%, 0); }

