/* ============================================================
   President VPN — design system v2 (Surfshark-inspired)
   Dark navy base + electric cyan primary + warm yellow accent
   ============================================================ */

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

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

:root {
  /* Surfshark-inspired palette adapted for dark theme */
  --bg-1: #0a0e1a;
  --bg-2: #11152b;
  --surface: rgba(255,255,255,0.045);
  --surface-2: rgba(255,255,255,0.075);
  --surface-3: rgba(255,255,255,0.11);
  --border: rgba(255,255,255,0.09);
  --border-2: rgba(255,255,255,0.16);
  --text: #f3f6fc;
  --text-muted: #a0acc4;
  --text-dim: #6c7793;

  /* Brand */
  --cyan: #00d4ff;
  --cyan-2: #00aef0;
  --yellow: #ffd60a;
  --yellow-2: #ffce00;
  --green: #00e08a;
  --red: #ff4d6d;

  /* Legacy aliases used by /sub page */
  --accent: var(--cyan);
  --accent-2: var(--cyan-2);
  --accent-3: var(--yellow);
  --warn: var(--yellow);
  --success: var(--green);
  --danger: var(--red);

  /* Shadows */
  --shadow-cyan: 0 8px 32px rgba(0,212,255,0.35);
  --shadow-cyan-hover: 0 12px 40px rgba(0,212,255,0.55);
  --shadow-yellow: 0 8px 32px rgba(255,214,10,0.30);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg-1);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  font-feature-settings: "ss01", "ss02";
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(900px 700px at 12% -5%, rgba(0,212,255,0.16), transparent 55%),
    radial-gradient(700px 600px at 88% 8%, rgba(255,214,10,0.10), transparent 55%),
    radial-gradient(900px 700px at 50% 105%, rgba(0,212,255,0.08), transparent 60%),
    linear-gradient(180deg, var(--bg-1), var(--bg-2));
  z-index: -1;
  pointer-events: none;
}

a { color: var(--cyan); text-decoration: none; transition: color .15s; }
a:hover { color: var(--text); }
img, svg { max-width: 100%; display: block; }
button { font-family: inherit; }

[hidden] { display: none !important; }

/* ---------- Layout ---------- */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }
section { padding: 80px 0; }
@media (max-width: 640px) {
  section { padding: 56px 0; }
  .container, .container-narrow { padding: 0 18px; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(18px) saturate(160%);
  background: rgba(10,14,26,0.78);
  border-bottom: 1px solid var(--border);
}
.site-header .row {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; padding-bottom: 14px;
}
.logo {
  font-weight: 800; font-size: 19px; letter-spacing: -0.02em;
  display: flex; align-items: center; gap: 10px;
  color: var(--text); text-decoration: none;
}
.logo .dot {
  width: 11px; height: 11px; border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--yellow));
  box-shadow: 0 0 16px rgba(0,212,255,0.7);
}
.logo:hover { color: var(--text); }

.nav { display: flex; gap: 26px; align-items: center; }
.nav a {
  color: var(--text-muted); font-size: 14px; font-weight: 500;
  padding: 6px 0; transition: color .15s;
}
.nav a:hover { color: var(--text); }
.nav .btn-cta {
  padding: 10px 18px;
  background: var(--cyan);
  color: #001a26; border-radius: 100px; font-weight: 700;
  box-shadow: 0 4px 14px rgba(0,212,255,0.35);
  transition: transform .1s, box-shadow .15s;
}
.nav .btn-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0,212,255,0.5);
  color: #001a26;
}

/* Mobile hamburger */
.nav-burger {
  display: none;
  background: var(--surface-2); border: 1px solid var(--border-2);
  width: 40px; height: 40px; border-radius: 10px;
  cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}
.nav-burger svg { width: 20px; height: 20px; stroke: var(--text); }

@media (max-width: 720px) {
  .nav .nav-link { display: none; }
  .nav .btn-cta { display: none; }
  .nav-burger { display: inline-flex; }
}

.mobile-menu-cta {
  display: block;
  background: var(--cyan);
  color: #001a26 !important;
  font-weight: 700;
  text-align: center;
  border-radius: 12px;
  padding: 16px 12px !important;
  margin-bottom: 4px;
}
.mobile-menu-cta:hover { background: var(--cyan); opacity: 0.9; }

.mobile-menu {
  position: fixed; top: 69px; left: 0; right: 0; bottom: 0; z-index: 49;
  background: #0a0e1a;
  border-top: 1px solid var(--border);
  padding: 16px 20px 40px;
  display: flex; flex-direction: column; gap: 4px;
  overflow-y: auto;
  transform: translateY(-110%); opacity: 0;
  transition: transform .28s ease, opacity .2s;
}
.mobile-menu.open { transform: translateY(0); opacity: 1; }
.mobile-menu a {
  color: var(--text); padding: 15px 14px; font-weight: 500;
  border-radius: 12px; font-size: 17px;
}
.mobile-menu a:hover { background: var(--surface); }

/* ---------- Trust strip ---------- */
.trust-strip {
  display: flex; gap: 24px; justify-content: center; flex-wrap: wrap;
  padding: 18px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-top: 40px;
}
.trust-strip .item {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-muted);
}
.trust-strip .item b { color: var(--text); font-weight: 600; }
.trust-strip .item svg { width: 18px; height: 18px; color: var(--green); flex-shrink: 0; }

/* ---------- Hero ---------- */
.hero { padding: 88px 0 56px; text-align: center; }
.hero .badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: 100px;
  background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.35);
  color: #b6f0ff; font-size: 13px; font-weight: 600;
  margin-bottom: 24px;
}
.hero .badge .pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(0,212,255,0.6);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0,212,255,0.6); }
  70% { box-shadow: 0 0 0 14px rgba(0,212,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,212,255,0); }
}
.hero h1 {
  font-size: clamp(38px, 6.5vw, 68px);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0 0 22px;
  line-height: 1.08;
}
.hero h1 .grad {
  background: linear-gradient(135deg, var(--cyan), var(--yellow));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead {
  font-size: clamp(17px, 1.7vw, 20px); color: var(--text-muted);
  max-width: 680px; margin: 0 auto 32px; font-weight: 400;
}
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .micronote {
  margin-top: 14px; font-size: 13px; color: var(--text-dim);
  display: inline-flex; align-items: center; gap: 6px;
}
.hero .micronote svg { width: 14px; height: 14px; color: var(--green); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 100px;
  font-size: 15px; font-weight: 700;
  border: none; cursor: pointer;
  transition: transform .08s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--cyan);
  color: #001a26;
  box-shadow: var(--shadow-cyan);
}
.btn-primary:hover {
  background: #1ddcff;
  color: #001a26;
  box-shadow: var(--shadow-cyan-hover);
  text-decoration: none;
}
.btn-yellow {
  background: var(--yellow);
  color: #1a1500;
  box-shadow: var(--shadow-yellow);
}
.btn-yellow:hover {
  background: #ffe233; color: #1a1500;
  text-decoration: none;
}
.btn-secondary {
  background: var(--surface-2); color: var(--text);
  border: 1px solid var(--border-2);
}
.btn-secondary:hover { background: var(--surface-3); text-decoration: none; }
.btn-block { width: 100%; }
.btn-large { padding: 18px 32px; font-size: 16px; }

/* ---------- Section heads ---------- */
.section-head { text-align: center; margin-bottom: 48px; }
.section-head .eyebrow {
  display: inline-block; padding: 5px 14px; border-radius: 100px;
  background: rgba(0,212,255,0.1); border: 1px solid rgba(0,212,255,0.3);
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 18px;
}
.section-head h2 {
  font-size: clamp(30px, 4.5vw, 44px); font-weight: 800;
  letter-spacing: -0.025em; margin: 0 0 14px; line-height: 1.1;
}
.section-head p { font-size: 17px; color: var(--text-muted); max-width: 580px; margin: 0 auto; }

/* ---------- Feature grid ---------- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.feature {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; padding: 28px;
  transition: border-color .15s, transform .15s, background .15s;
}
.feature:hover { border-color: var(--border-2); transform: translateY(-3px); background: var(--surface-2); }
.feature .icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(0,212,255,0.18), rgba(0,212,255,0.06));
  border: 1px solid rgba(0,212,255,0.28);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feature .icon svg { width: 26px; height: 26px; color: var(--cyan); stroke-width: 2; }
.feature h3 { font-size: 18px; font-weight: 700; margin: 0 0 10px; letter-spacing: -0.01em; }
.feature p { font-size: 14px; color: var(--text-muted); margin: 0; line-height: 1.55; }

/* ---------- Comparison table ---------- */
.compare {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 22px; padding: 28px; overflow: hidden;
}
.compare-head {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--border);
  font-size: 13px; font-weight: 600; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.05em;
}
.compare-row {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--border);
  align-items: center;
  font-size: 14px;
}
.compare-row:last-child { border-bottom: none; }
.compare-row .label { font-weight: 500; }
.compare-row .col { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
.compare-row .col.us { color: var(--cyan); font-weight: 700; }
.compare-row .col.us::before { content: '✓'; }
.compare-row .col.no { color: var(--red); }
.compare-row .col.no::before { content: '✗'; }
.compare-row .col.maybe { color: var(--yellow); }
.compare-row .col.maybe::before { content: '~'; }

.compare-head .us-col { color: var(--cyan); }

@media (max-width: 720px) {
  .compare-head, .compare-row {
    grid-template-columns: 1.4fr 1fr 1fr;
    font-size: 12px;
  }
  .compare-row .hide-sm, .compare-head .hide-sm { display: none; }
}

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.plan {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 22px; padding: 32px 26px; position: relative;
  display: flex; flex-direction: column;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.plan:hover { border-color: var(--border-2); transform: translateY(-4px); }
.plan.featured {
  background: linear-gradient(180deg, rgba(0,212,255,0.13), rgba(255,214,10,0.04));
  border-color: rgba(0,212,255,0.45);
  box-shadow: 0 16px 48px rgba(0,212,255,0.18);
  transform: scale(1.03);
}
.plan.featured:hover { transform: scale(1.03) translateY(-4px); }
.plan .label-pop {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  padding: 6px 14px; border-radius: 100px;
  background: var(--yellow);
  color: #1a1500; font-size: 11px; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(255,214,10,0.35);
}
.plan .plan-name { font-size: 13px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; }
.plan .plan-price-row {
  display: flex; align-items: baseline; gap: 6px;
}
.plan .plan-price { font-size: 48px; font-weight: 800; letter-spacing: -0.025em; line-height: 1; }
.plan .plan-currency { font-size: 22px; color: var(--text-muted); font-weight: 600; }
.plan .plan-per { color: var(--text-muted); font-size: 14px; margin-left: 4px; }
.plan .plan-strike {
  display: block; margin-top: 6px;
  font-size: 14px; color: var(--text-dim);
}
.plan .plan-strike s { text-decoration: line-through; }
.plan .plan-strike .save {
  display: inline-block; margin-left: 6px;
  padding: 2px 8px; border-radius: 6px;
  background: rgba(0,224,138,0.15); color: var(--green); font-weight: 700; font-size: 11px;
}
.plan .plan-period { color: var(--text-muted); font-size: 13px; margin-top: 8px; }
.plan ul { list-style: none; padding: 0; margin: 22px 0; flex: 1; }
.plan ul li { font-size: 14px; padding: 7px 0; color: var(--text-muted); display: flex; align-items: flex-start; gap: 10px; }
.plan ul li svg { width: 16px; height: 16px; color: var(--green); margin-top: 2px; flex-shrink: 0; }
.plan .moneyback {
  margin-top: 14px; font-size: 12px; color: var(--text-dim);
  display: inline-flex; align-items: center; gap: 6px;
}
.plan .moneyback svg { width: 14px; height: 14px; color: var(--green); }

/* ---------- Testimonials ---------- */
.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.testimonial {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 18px; padding: 24px;
}
.testimonial .stars { color: var(--yellow); font-size: 14px; margin-bottom: 10px; letter-spacing: 0.08em; }
.testimonial .quote { font-size: 15px; line-height: 1.6; margin: 0 0 16px; }
.testimonial .who { display: flex; align-items: center; gap: 10px; }
.testimonial .who .avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--yellow));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; color: #001a26;
}
.testimonial .who .name { font-weight: 600; font-size: 14px; }
.testimonial .who .name span { color: var(--text-muted); font-weight: 400; font-size: 12px; display: block; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 18px 22px;
  transition: border-color .15s;
}
.faq summary {
  cursor: pointer; font-weight: 600; font-size: 16px;
  list-style: none; display: flex; align-items: center; justify-content: space-between;
  user-select: none; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; font-size: 26px; font-weight: 300; color: var(--cyan);
  transition: transform .2s;
  flex-shrink: 0;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details[open] { border-color: rgba(0,212,255,0.3); }
.faq .answer { color: var(--text-muted); margin-top: 12px; font-size: 15px; line-height: 1.65; }
.faq .answer p { margin: 0 0 8px; }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  display: none;
  position: fixed; bottom: 12px; left: 12px; right: 12px;
  z-index: 40;
  padding: 14px 18px;
  background: var(--cyan); color: #001a26;
  border-radius: 100px; font-weight: 700; font-size: 15px;
  text-align: center;
  box-shadow: 0 12px 32px rgba(0,212,255,0.5);
  text-decoration: none;
}
@media (max-width: 720px) { .sticky-cta { display: block; } }
.sticky-cta:hover { color: #001a26; }

/* ---------- Footer ---------- */
.site-footer { padding: 56px 0 32px; border-top: 1px solid var(--border); margin-top: 64px; }
.site-footer .row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 32px; align-items: start; }
.site-footer .col { min-width: 140px; }
.site-footer .col h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { padding: 5px 0; }
.site-footer ul a { color: var(--text-muted); font-size: 14px; }
.site-footer ul a:hover { color: var(--text); }
.site-footer .copyright { color: var(--text-dim); font-size: 12px; margin-top: 36px; text-align: center; }
.site-footer .copyright a { color: var(--text-dim); }

/* ---------- Forms / Cards ---------- */
.card-form {
  max-width: 480px; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 22px; padding: 32px;
}
.card-form h2 { margin: 0 0 6px; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.card-form .sub { color: var(--text-muted); font-size: 15px; margin: 0 0 24px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--text-muted); margin-bottom: 8px; }
.field input, .field select {
  width: 100%; padding: 14px 16px; font-size: 16px;
  background: rgba(0,0,0,0.28); border: 1px solid var(--border-2);
  border-radius: 12px; color: var(--text); font-family: inherit;
  transition: border-color .15s, background .15s;
}
.field input:focus, .field select:focus {
  outline: none; border-color: var(--cyan);
  background: rgba(0,0,0,0.4);
}
.field .hint { color: var(--text-dim); font-size: 12px; margin-top: 6px; }

.tariff-options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.tariff-options label {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px; border-radius: 14px;
  border: 2px solid var(--border); cursor: pointer;
  background: var(--surface); transition: border-color .15s, background .15s;
  position: relative;
}
.tariff-options label:has(input:checked) {
  border-color: var(--cyan); background: rgba(0,212,255,0.08);
}
.tariff-options input[type=radio] { margin: 0; accent-color: var(--cyan); width: 18px; height: 18px; }
.tariff-options .t-info { flex: 1; }
.tariff-options .t-info .t-label { font-weight: 600; font-size: 15px; }
.tariff-options .t-info .t-sub { font-size: 13px; color: var(--text-muted); }
.tariff-options .t-price { font-weight: 700; font-size: 18px; text-align: right; }
.tariff-options .t-price .t-month { font-size: 12px; color: var(--text-muted); font-weight: 400; }
.tariff-options .save-badge {
  display: inline-block; margin-left: 8px;
  padding: 2px 7px; border-radius: 4px; font-size: 11px; font-weight: 600;
  background: rgba(0,224,138,0.15); color: var(--green);
}
.tariff-options label .pop-badge {
  position: absolute; top: -10px; right: 16px;
  padding: 3px 10px; border-radius: 100px;
  background: var(--yellow); color: #1a1500;
  font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
}

.notice {
  padding: 12px 14px; border-radius: 10px; font-size: 13px;
  margin-bottom: 16px; display: flex; align-items: flex-start; gap: 10px;
}
.notice-warn { background: rgba(255,214,10,0.1); border: 1px solid rgba(255,214,10,0.35); color: #ffe06a; }
.notice-info { background: rgba(0,212,255,0.1); border: 1px solid rgba(0,212,255,0.3); color: #b6f0ff; }
.notice-error { background: rgba(255,77,109,0.12); border: 1px solid rgba(255,77,109,0.4); color: #ff8da3; }
.notice-success { background: rgba(0,224,138,0.12); border: 1px solid rgba(0,224,138,0.4); color: #5feeb0; }

.btn[aria-busy=true] {
  position: relative; pointer-events: none; color: transparent;
}
.btn[aria-busy=true]::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  margin: -10px 0 0 -10px; width: 20px; height: 20px;
  border: 2px solid rgba(0,0,0,0.3); border-top-color: #001a26;
  border-radius: 50%; animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.fade-in { animation: fadeIn 0.45s ease both; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Hero (logged-in compact card) ---------- */
.hero-auth-card {
  max-width: 540px; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 24px; padding: 36px 32px 28px; text-align: left;
  box-shadow: 0 16px 60px rgba(0,0,0,0.25);
}
@media (max-width: 540px) {
  .hero-auth-card { padding: 28px 22px 22px; border-radius: 20px; }
}

.hero-auth-card .status-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 10px; border-radius: 100px;
  background: rgba(0,224,138,0.12); border: 1px solid rgba(0,224,138,0.35);
  font-size: 12px; font-weight: 600; color: #5feeb0;
  margin-bottom: 18px;
}
.hero-auth-card .status-pill .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 8px rgba(0,224,138,0.6);
}
.hero-auth-card .status-pill.expiring {
  background: rgba(255,214,10,0.12); border-color: rgba(255,214,10,0.4); color: #ffe06a;
}
.hero-auth-card .status-pill.expiring .dot { background: var(--yellow); box-shadow: 0 0 8px rgba(255,214,10,0.6); }
.hero-auth-card .status-pill.expired {
  background: rgba(255,77,109,0.12); border-color: rgba(255,77,109,0.4); color: #ff8da3;
}
.hero-auth-card .status-pill.expired .dot { background: var(--red); box-shadow: 0 0 8px rgba(255,77,109,0.5); }

.hero-auth-card .greeting {
  font-size: 26px; font-weight: 800; letter-spacing: -0.025em;
  margin: 0 0 6px; line-height: 1.15;
}
.hero-auth-card .meta {
  display: flex; gap: 14px; align-items: baseline; flex-wrap: wrap;
  margin: 0 0 26px;
}
.hero-auth-card .meta .meta-date {
  font-size: 15px; font-weight: 600; color: var(--text);
}
.hero-auth-card .meta .meta-days {
  font-size: 13px; color: var(--text-muted); font-weight: 500;
}
.hero-auth-card .meta .meta-days b { color: var(--text); font-weight: 700; }

.hero-auth-card .actions { display: flex; flex-direction: column; gap: 12px; }

.hero-auth-card .extras {
  display: flex; gap: 8px; justify-content: center; margin-top: 22px;
  padding-top: 18px; border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.hero-auth-card .extras a {
  font-size: 13px; color: var(--text-muted);
  padding: 7px 14px; border-radius: 100px;
  background: var(--surface-2); border: 1px solid var(--border);
  transition: background .15s, color .15s, border-color .15s;
}
.hero-auth-card .extras a:hover { color: var(--text); background: var(--surface-3); border-color: var(--border-2); }
.action-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; border-radius: 100px;
  font-size: 15px; font-weight: 700; letter-spacing: -0.01em;
  border: none; cursor: pointer;
  transition: transform .08s, box-shadow .15s, background .15s;
  text-decoration: none; font-family: inherit;
}
.action-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.action-btn:active { transform: scale(0.98); }
.action-btn.primary {
  background: var(--cyan); color: #001a26;
  box-shadow: 0 8px 24px rgba(0,212,255,0.35);
}
.action-btn.primary:hover { background: #1ddcff; box-shadow: 0 12px 32px rgba(0,212,255,0.5); color: #001a26; text-decoration: none; }
.action-btn.yellow {
  background: var(--yellow); color: #1a1500;
  box-shadow: 0 8px 24px rgba(255,214,10,0.3);
}
.action-btn.yellow:hover { background: #ffe233; color: #1a1500; text-decoration: none; }
.action-btn.ghost {
  background: var(--surface-2); color: var(--text);
  border: 1px solid var(--border-2);
}
.action-btn.ghost:hover { background: var(--surface-3); text-decoration: none; }
.action-btn.copied { background: var(--green); color: #001a0e; }

/* Renew CTA — solid yellow, eye-catching, with status sub-line */
.action-btn.renew {
  background: var(--yellow);
  border: none;
  color: #1a1500;
  box-shadow: 0 8px 24px rgba(255,214,10,0.3);
  display: flex; align-items: center; gap: 14px;
  padding: 14px 22px; text-align: left;
  text-decoration: none;
}
.action-btn.renew:hover { background: #ffe233; color: #1a1500; box-shadow: 0 12px 32px rgba(255,214,10,0.45); text-decoration: none; }
.action-btn.renew svg { color: #1a1500; width: 22px; height: 22px; flex-shrink: 0; }
.action-btn.renew .renew-text {
  display: flex; flex-direction: column; gap: 2px; flex: 1;
}
.action-btn.renew .renew-main {
  font-size: 16px; font-weight: 700; letter-spacing: -0.01em;
  color: #1a1500;
}
.action-btn.renew .renew-sub {
  font-size: 12px; font-weight: 600; color: rgba(26,21,0,0.7);
  letter-spacing: 0.02em;
}
.action-btn.renew.expired {
  background: var(--red); color: #fff;
  box-shadow: 0 8px 24px rgba(255,77,109,0.35);
}
.action-btn.renew.expired:hover { background: #ff5f7d; color: #fff; }
.action-btn.renew.expired svg, .action-btn.renew.expired .renew-main { color: #fff; }
.action-btn.renew.expired .renew-sub { color: rgba(255,255,255,0.85); }

/* When logged in, hide marketing sections on home */
body.is-auth #how,
body.is-auth #compare,
body.is-auth #pricing,
body.is-auth #testimonials,
body.is-auth #faq,
body.is-auth #cta-bottom { display: none; }
body.is-auth .sticky-cta { display: none; }

/* ---------- Setup-page steps ---------- */
.steps { counter-reset: step; display: flex; flex-direction: column; gap: 18px; max-width: 720px; margin: 0 auto; }
.step {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 18px; padding: 22px 24px;
  display: grid; grid-template-columns: 48px 1fr; gap: 20px; align-items: start;
}
.step .num {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--cyan); color: #001a26;
  font-weight: 800; font-size: 22px;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { margin: 0 0 6px; font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.step p { margin: 0; color: var(--text-muted); font-size: 14px; line-height: 1.6; }
.step .step-actions { margin-top: 12px; display: flex; gap: 10px; flex-wrap: wrap; }
.step a.btn { padding: 10px 18px; font-size: 13px; }

.devices-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px; margin-top: 24px;
}
.devices-row a {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 18px; text-align: center;
  color: var(--text); font-weight: 600; font-size: 14px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  transition: border-color .15s, background .15s;
}
.devices-row a:hover { border-color: var(--cyan); background: var(--surface-2); }
.devices-row a svg { width: 28px; height: 28px; color: var(--cyan); }

/* ---------- Top-up chips ---------- */
.topup-chip {
  padding: 14px 10px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color .15s, background .15s, transform .1s;
}
.topup-chip:hover { border-color: var(--cyan); }
.topup-chip:active { transform: scale(0.97); }
.topup-chip.selected {
  border-color: var(--cyan);
  background: rgba(0, 212, 255, 0.08);
  color: var(--cyan);
  box-shadow: 0 0 0 1px var(--cyan) inset;
}

/* ---------- Profile card with side actions ---------- */
.profile-card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.profile-card-info { flex: 1 1 240px; min-width: 200px; }
.profile-card-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 0 1 320px;
  min-width: 240px;
}
.profile-card-actions .btn { white-space: nowrap; }
@media (max-width: 640px) {
  .profile-card-actions { width: 100%; }
}

/* ---------- Compact profile bar (was a full card) ---------- */
.dash-bar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  flex-wrap: wrap;
}
.dash-bar-id { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.dash-bar-phone {
  font-size: 17px; font-weight: 700; letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums; color: var(--text);
}
.dash-bar-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.dash-bar-actions .btn {
  padding: 10px 16px; font-size: 14px; min-height: 0;
}
@media (max-width: 640px) {
  .dash-bar { padding: 12px 14px; }
  .dash-bar-actions { width: 100%; }
  .dash-bar-actions .btn { flex: 1; }
}
