:root{
  --bg:#0b0f14;
  --bg2:#09121b;
  --card:#111a24;
  --card2:#0f1720;
  --text:#f5f7fa;
  --muted:#b0b6bc;
  --line:rgba(255,255,255,.10);
  --blue:#0a74b8;
  --blue2:#1da1f2;
  --shadow:0 10px 30px rgba(0,0,0,.35);
  --radius:14px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 600px at 55% 15%, rgba(10,116,184,.35), transparent 60%),
              radial-gradient(900px 500px at 25% 35%, rgba(29,161,242,.18), transparent 65%),
              linear-gradient(180deg, var(--bg), var(--bg2));
  color:var(--text);
}

a{color:inherit; text-decoration:none}
a:hover{color:var(--blue2)}
.container{max-width:1100px; margin:0 auto; padding:0 18px}

.hr{height:1px; background:var(--line); margin:14px 0}

.site-header{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(11,15,20,.72);
  border-bottom:1px solid var(--line);
}
.navbar{
  display:flex; align-items:center; justify-content:space-between;
  gap:16px; padding:12px 0;
}
.brand{
  display:flex; align-items:center; gap:10px;
}
/* === Brand Logo Fix (GLOBAL) === */
.brand-logo{
  height:36px;
  width:auto;
  max-width:140px;
  object-fit:contain;
}
.brand-title{
  display:flex; flex-direction:column; line-height:1.1;
}
.brand-title strong{font-size:15px; letter-spacing:.2px}
.brand-title span{font-size:12px; color:var(--muted)}

.menu{
  display:flex; align-items:center; gap:14px;
  font-size:13px; color:var(--muted);
}
.menu a{
  padding:8px 10px;
  border-radius:10px;
}
.menu a:hover{
  background: rgba(255,255,255,.06);
  color:var(--text);
}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  border:1px solid var(--line);
  padding:10px 14px;
  border-radius:12px;
  background: rgba(255,255,255,.04);
  color:var(--text);
  cursor:pointer;
  transition:.2s ease;
}
.btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.06);
}
.btn-primary{
  border-color: rgba(10,116,184,.55);
  background: linear-gradient(180deg, rgba(10,116,184,.95), rgba(10,116,184,.75));
}
.btn-primary:hover{
  box-shadow: 0 0 0 3px rgba(29,161,242,.20);
}

.hero{
  padding:54px 0 26px;
}
.hero h1{
  margin:0;
  font-size:34px;
  letter-spacing:.2px;
}
.hero p{
  margin:10px 0 0;
  color:var(--muted);
}

.hero-actions{
  margin-top:18px;
  display:flex; gap:10px; flex-wrap:wrap;
  align-items:center;
}
.input{
  width:260px;
  max-width:100%;
  padding:12px 12px;
  border-radius:12px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  color:var(--text);
  outline:none;
}
.input:focus{
  border-color: rgba(29,161,242,.55);
  box-shadow: 0 0 0 3px rgba(29,161,242,.18);
}
.badge{
  display:inline-flex;
  gap:8px;
  align-items:center;
  font-size:12px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  color:var(--muted);
}

.grid{
  display:grid;
  grid-template-columns: 1fr;
  gap:14px;
  padding:12px 0 28px;
}
@media(min-width:860px){
  .grid{grid-template-columns: 1.1fr .9fr}
}

.card{
  border:1px solid var(--line);
  background: linear-gradient(180deg, rgba(17,26,36,.92), rgba(15,23,32,.86));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.card-body{padding:18px}
.card h2,.card h3{margin:0 0 8px}
.small{font-size:12px; color:var(--muted)}
.muted{color:var(--muted)}

.listings{
  display:grid;
  gap:12px;
}
.listing{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
  padding:16px;
  border-radius:14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
}
.listing h3{margin:0; font-size:16px}
.listing p{margin:6px 0 0; color:var(--muted); font-size:13px}

.pills{display:flex; gap:8px; flex-wrap:wrap; margin-top:10px}
.pill{
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  color:var(--muted);
}

.footer{
  margin-top:26px;
  padding:18px 0 30px;
  border-top:1px solid var(--line);
  color:var(--muted);
  font-size:12px;
}
.footer a{color:var(--text)}
.footer a:hover{color:var(--blue2)}

.table{
  width:100%;
  border-collapse:collapse;
  font-size:13px;
}
.table th,.table td{
  text-align:left;
  padding:10px 10px;
  border-bottom:1px solid var(--line);
  color:var(--muted);
}
.table th{color:var(--text)}
.notice{
  padding:12px 14px;
  border:1px dashed rgba(29,161,242,.45);
  border-radius:12px;
  background: rgba(29,161,242,.08);
  color:var(--text);
}
.trust-strip{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin:14px 0 22px;
  padding:10px 14px;
  border-radius:12px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  color:var(--muted);
  font-size:13px;
}
.trust-strip span{
  display:flex;
  align-items:center;
  gap:6px;
}
.trust-strip{
  margin: 16px 0 24px;
  padding: 12px 14px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  border: 1px dashed rgba(29,161,242,.45);
  border-radius: 12px;
  background: rgba(29,161,242,.08);
  color: var(--text);
  font-size: 13px;
}

.trust-strip span{
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.price{
  font-size: 28px;
  font-weight: 700;
  margin: 10px 0;
  color: #fff;
}

.card{
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}

.card:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,.45);
}

.card::after{
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue2), transparent);
  opacity: .6;
}
.card.featured{
  border: 1px solid rgba(29,161,242,.55);
  background: linear-gradient(180deg, rgba(29,161,242,.12), rgba(15,23,32,.86));
}
/* Most Popular tag */
.tag{
  display:inline-block;
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(29,161,242,.45);
  background: rgba(29,161,242,.12);
  color: var(--text);
  margin-bottom:10px;
}
/* ===== Most Popular Tag ===== */
.card.featured{
  position: relative;
  border: 1px solid rgba(29,161,242,.6);
  box-shadow: 0 0 0 1px rgba(29,161,242,.15), 0 15px 35px rgba(0,0,0,.4);
}

.tag{
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 11px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, #1da1f2, #0a74b8);
  color: #fff;
  letter-spacing: .3px;
}
/* ===== Selected Plan Highlight ===== */
.card.selected{
  border-color: rgba(29,161,242,.9);
  box-shadow:
    0 0 0 3px rgba(29,161,242,.25),
    0 20px 50px rgba(0,0,0,.45);
  position: relative;
}

.card.selected::after{
  content: "Selected Plan";
  position: absolute;
  top: -10px;
  right: 14px;
  background: linear-gradient(180deg, #1da1f2, #0a74b8);
  color: #fff;
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 999px;
  letter-spacing: .3px;
}
.card.selected::after{
  top: 12px;
  right: 12px;
}
.card.selected .tag{
  display:none;
}
.card.selected{
  border: 2px solid #2ea8ff;
  box-shadow: 0 0 0 2px rgba(46,168,255,.25);
}
/* Fix Most Popular overlap */
.card.featured{ position: relative; }
.card.featured .tag{
  position: absolute;
  top: 14px;
  right: 14px;
  margin: 0;
  z-index: 2;
  white-space: nowrap;
}
/* ===== Selected Plan Highlight (STRONG) ===== */
.card.selected{
  border-color: rgba(29,161,242,.95) !important;
  box-shadow: 0 0 0 3px rgba(29,161,242,.25), 0 18px 50px rgba(0,0,0,.45) !important;
  transform: translateY(-2px);
}

.card.selected::before{
  content:"SELECTED";
  position:absolute;
  top:12px; right:12px;
  padding:6px 10px;
  border-radius:999px;
  font-size:11px;
  letter-spacing:.8px;
  background: rgba(29,161,242,.22);
  border: 1px solid rgba(29,161,242,.55);
  color: #eaf7ff;
}

/* ensure card can hold ::before */
.card{ position: relative; }
/* ===== Selected Plan Highlight ===== */
.card.selected {
  border: 2px solid #1da1f2;
  box-shadow:
    0 0 0 3px rgba(29,161,242,0.25),
    0 20px 50px rgba(0,0,0,0.6);
  transform: scale(1.02);
  background: linear-gradient(
    180deg,
    rgba(29,161,242,0.12),
    rgba(15,23,32,0.9)
  );
}
/* ===== Selected Plan Highlight ===== */
.card.selected {
  border: 2px solid #1da1f2;
  box-shadow:
    0 0 0 3px rgba(29,161,242,0.25),
    0 20px 50px rgba(0,0,0,0.6);
  transform: scale(1.02);
  background: linear-gradient(
    180deg,
    rgba(29,161,242,0.12),
    rgba(15,23,32,0.9)
  );
}

/* Button inside selected card */
.card.selected .btn {
  background: linear-gradient(180deg,#1da1f2,#0a74b8);
  border-color: transparent;
  color: #fff;
  font-weight: 600;
}
/* ===== Fix: "Most Popular" overlap + Make selected plan SUPER visible ===== */

.card{ position:relative; }

/* If your CSS is also adding a 2nd badge via ::after, kill it */
.card.featured::after{ content:none !important; display:none !important; }

/* Keep only the <span class="tag"> badge and place it properly */
.tag{
  position:absolute;
  top:14px;
  right:14px;
  padding:6px 10px;
  border-radius:999px;
  font-size:11px;
  letter-spacing:.4px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(10,116,184,.25);
  color: #eaf1ff;
}

/* Selection highlight (this is what your JS adds: .selected) */
.card.selected{
  border-color: rgba(29,161,242,.90) !important;
  box-shadow: 0 0 0 3px rgba(29,161,242,.22), 0 18px 45px rgba(0,0,0,.45) !important;
  transform: translateY(-2px);
}

/* Make selected badge stronger */
.card.selected .tag{
  background: rgba(29,161,242,.35);
  border-color: rgba(29,161,242,.85);
}

/* Button inside selected card */
.card.selected .btn {
  background: linear-gradient(180deg,#1da1f2,#0a74b8);
  border-color: transparent;
  color: #fff;
  font-weight: 600;
}
/* ===== FIX: Most Popular overlap + Selected Plan highlight ===== */

/* 1) Ensure tag positioning is stable */
.card { position: relative; }

/* If you accidentally have a pseudo "MOST POPULAR" too, disable it */
.card.featured::after { content: none !important; }

/* Single clean tag */
.tag{
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: .6px;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(5,15,25,.55);
  color: rgba(255,255,255,.92);
  white-space: nowrap;
}

/* 2) Strong visible selection */
.card.selected{
  border-color: rgba(29,161,242,.95) !important;
  box-shadow:
    0 0 0 3px rgba(29,161,242,.25),
    0 18px 40px rgba(0,0,0,.45) !important;
  transform: translateY(-2px);
}

/* Make the tag also pop when selected */
.card.selected .tag{
  background: rgba(29,161,242,.18);
  border-color: rgba(29,161,242,.55);
}
/* =========================
   FINAL CLEAN: TAG + SELECTED
   (keep only this active at end)
========================= */

/* kill any pseudo MOST POPULAR badges if present */
.card.featured::before,
.card.featured::after{
  content: none !important;
  display: none !important;
}

/* use only the HTML <span class="tag"> */
.card{ position: relative; }

.tag{
  position:absolute !important;
  top:12px !important;
  right:12px !important;
  z-index:10 !important;
  margin:0 !important;

  padding:6px 10px;
  border-radius:999px;
  font-size:11px;
  letter-spacing:.6px;
  text-transform:uppercase;
  white-space:nowrap;

  border:1px solid rgba(255,255,255,.14);
  background: rgba(5,15,25,.55);
  color: rgba(255,255,255,.92);
}

/* super visible selected state (JS adds .selected) */
.card.selected{
  border:2px solid rgba(29,161,242,.95) !important;
  box-shadow:
    0 0 0 4px rgba(29,161,242,.28),
    0 22px 55px rgba(0,0,0,.55) !important;
  transform: translateY(-3px) scale(1.01) !important;
  background: linear-gradient(
    180deg,
    rgba(29,161,242,.14),
    rgba(15,23,32,.90)
  ) !important;
}

/* selected badge on top-left so it never overlaps tag */
.card.selected::before{
  content:"SELECTED";
  position:absolute;
  top:12px;
  left:12px;
  z-index:11;

  padding:6px 10px;
  border-radius:999px;
  font-size:11px;
  letter-spacing:.7px;

  background: rgba(29,161,242,.22);
  border:1px solid rgba(29,161,242,.55);
  color:#eaf7ff;
}

/* button inside selected looks premium */
.card.selected .btn{
  background: linear-gradient(180deg,#1da1f2,#0a74b8) !important;
  border-color: transparent !important;
  color:#fff !important;
  font-weight:600;
}
/* ===== FINAL FIX (paste at END of styles.css) ===== */

/* Make cards able to hold badges */
.card{ position: relative; }

/* ---------------- MOST POPULAR (only ONE) ---------------- */
/* Disable any extra pseudo badges if they exist somewhere */
.card.featured::after{ content:none !important; }
.card.featured::before{
  content:"MOST POPULAR";
  position:absolute;
  top:12px; right:12px;
  z-index:6;
  padding:6px 10px;
  border-radius:999px;
  font-size:11px;
  letter-spacing:.6px;
  text-transform:uppercase;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(5,15,25,.55);
  color: rgba(255,255,255,.92);
  white-space:nowrap;
}

/* If you still have <span class="tag"> in HTML, hide it to avoid overlap */
.card.featured .tag{ display:none !important; }

/* ---------------- SELECTED PLAN (SUPER VISIBLE) ---------------- */
.card.selected{
  border: 2px solid rgba(29,161,242,.95) !important;
  box-shadow:
    0 0 0 4px rgba(29,161,242,.25),
    0 22px 55px rgba(0,0,0,.55) !important;
  transform: scale(1.02);
  background: linear-gradient(180deg, rgba(29,161,242,.16), rgba(15,23,32,.92)) !important;
}

/* Selected badge (top-left so it never clashes with MOST POPULAR on right) */
.card.selected::after{
  content:"SELECTED";
  position:absolute;
  top:12px; left:12px;
  z-index:7;
  padding:6px 10px;
  border-radius:999px;
  font-size:11px;
  letter-spacing:.8px;
  text-transform:uppercase;
  border:1px solid rgba(29,161,242,.55);
  background: rgba(29,161,242,.22);
  color:#eaf7ff;
}

/* Button inside selected card */
.card.selected .btn{
  background: linear-gradient(180deg,#1da1f2,#0a74b8) !important;
  border-color: transparent !important;
  color:#fff !important;
  font-weight:700;
}
/* ===== FINAL OVERRIDES: Pricing badges + selected plan ===== */

/* keep cards as positioning context */
.card{ position:relative; }

/* remove any accidental extra pseudo badges that cause overlap */
.card.featured::after{ content:""; } /* keep your bottom glow line if any */
.card.featured .tag{ display:none !important; } /* in case old <span class="tag"> exists somewhere */

/* single MOST POPULAR badge (top-right) */
.card.featured::before{
  content:"MOST POPULAR";
  position:absolute;
  top:12px; right:12px;
  z-index:6;
  padding:6px 10px;
  border-radius:999px;
  font-size:11px;
  letter-spacing:.6px;
  text-transform:uppercase;
  border:1px solid rgba(29,161,242,.45);
  background: rgba(29,161,242,.18);
  color:#eaf7ff;
  white-space:nowrap;
}

/* STRONG selected highlight (very visible) */
.card.selected{
  border:3px solid rgba(29,161,242,.95) !important;
  box-shadow:
    0 0 0 4px rgba(29,161,242,.22),
    0 22px 60px rgba(0,0,0,.55) !important;
  transform: translateY(-2px);
  background: linear-gradient(180deg, rgba(29,161,242,.16), rgba(15,23,32,.90)) !important;
}

/* Selected badge (top-left) — so it never overlaps MOST POPULAR */
.card.selected::after{
  content:"SELECTED";
  position:absolute;
  top:12px; left:12px;
  z-index:7;
  padding:6px 10px;
  border-radius:999px;
  font-size:11px;
  letter-spacing:.8px;
  text-transform:uppercase;
  border:1px solid rgba(29,161,242,.55);
  background: rgba(29,161,242,.30);
  color:#ffffff;
}

/* make button pop inside selected */
.card.selected .btn{
  background: linear-gradient(180deg,#1da1f2,#0a74b8) !important;
  border-color: transparent !important;
  color:#fff !important;
  font-weight:700;
}
