/* ═══════════════════════════════════════════════════════════════════════════
   Phivote — Landing (index.html)
   ═══════════════════════════════════════════════════════════════════════════ */

section { position: relative; }
.section-pad { padding: 96px 0; }
.section-head { max-width: 660px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); margin: 14px 0 0; letter-spacing: -0.03em; }
.section-head p { color: var(--txt-2); font-size: 16px; margin-top: 14px; }

/* ── Hero ──────────────────────────────────────────────────────── */
.hero { padding: 70px 0 80px; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 24px;
  padding: 7px 14px; border-radius: var(--r-pill);
  background: var(--accent-dim); border: 1px solid rgba(0,229,160,0.25);
  font-size: 12px; font-weight: 600; color: var(--accent); letter-spacing: 0.01em;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 9px var(--accent); animation: pulse 1.7s ease-in-out infinite; }
.hero h1 {
  font-size: clamp(34px, 5.4vw, 60px); line-height: 1.04; letter-spacing: -0.035em;
  margin-bottom: 22px;
}
.hero-sub { font-size: 17px; line-height: 1.65; color: var(--txt-2); max-width: 560px; margin-bottom: 32px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.trust-row { display: flex; gap: 10px; flex-wrap: wrap; }
.trust-pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; color: var(--txt-2); font-weight: 500;
}
.trust-pill svg { width: 15px; height: 15px; color: var(--accent); }

/* glow orb behind hero visual */
.hero-visual { position: relative; }
.hero-visual::before {
  content: ''; position: absolute; inset: -40px -20px;
  background: radial-gradient(60% 60% at 60% 40%, rgba(0,229,160,0.18), transparent 70%);
  filter: blur(20px); z-index: 0;
}

/* ── Mock terminal preview ─────────────────────────────────────── */
.preview { position: relative; z-index: 1; padding: 0; overflow: hidden; }
.preview-bar {
  display: flex; align-items: center; gap: 8px; padding: 13px 16px;
  border-bottom: 1px solid var(--line); background: var(--bg-panel);
}
.preview-dots { display: flex; gap: 6px; }
.preview-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.preview-dots i:first-child { background: var(--short); }
.preview-title { font-family: var(--font-mono); font-size: 11px; color: var(--txt-3); margin-inline-start: 8px; letter-spacing: 0.08em; }
.preview-live { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 10px; color: var(--accent); }
.preview-live .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 7px var(--accent); animation: pulse 1.7s ease-in-out infinite; }
.preview-rows { padding: 6px; }
.prow {
  display: grid; grid-template-columns: 76px 56px 1fr 64px; gap: 12px; align-items: center;
  padding: 13px 12px; border-radius: var(--r-sm); transition: background 0.13s;
}
.prow:hover { background: var(--bg-panel); }
.prow + .prow { border-top: 1px solid var(--line); }
.prow-sym { font-weight: 800; font-size: 15px; letter-spacing: -0.02em; }
.prow-sym small { color: var(--txt-4); font-weight: 500; font-size: 11px; }
.ptag { font-size: 10.5px; font-weight: 700; padding: 3px 8px; border-radius: var(--r-xs); width: fit-content; }
.ptag.long { background: var(--long-dim); color: var(--long); }
.ptag.short { background: var(--short-dim); color: var(--short); }
.pladder { position: relative; height: 30px; }
.pladder .rail { position: absolute; inset-inline: 0; top: 50%; height: 1px; background: var(--line-strong); }
.pladder .zone { position: absolute; top: 50%; transform: translateY(-50%); height: 14px; border-radius: 2px;
  background: linear-gradient(180deg, rgba(255,194,75,0.3), rgba(255,194,75,0.12)); border-inline: 1.5px solid var(--gold);
  box-shadow: 0 0 12px rgba(255,194,75,0.3); }
.pladder .mk { position: absolute; top: 50%; width: 9px; height: 9px; border-radius: 50%; transform: translate(-50%,-50%);
  background: var(--gold); box-shadow: 0 0 10px var(--gold); border: 2px solid var(--bg-base); }
.prow-price { text-align: end; font-family: var(--font-mono); font-size: 12.5px; font-weight: 600; }
.prow-price small { display: block; font-size: 10px; color: var(--long); font-weight: 500; }
.prow-price small.down { color: var(--short); }
.prow-price.flash { animation: priceFlash 0.7s ease-out; }
@keyframes priceFlash { 0%, 35% { color: var(--accent); } 100% { color: inherit; } }
.preview-badges { display: flex; gap: 5px; padding: 8px 14px 14px; flex-wrap: wrap; }

/* ── No-VPN band ───────────────────────────────────────────────── */
.vpn-band { padding: 26px 0; }
.vpn-card {
  position: relative; padding: 44px; border-radius: var(--r-xl); overflow: hidden;
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(0,229,160,0.12), transparent 50%),
    radial-gradient(120% 120% at 100% 100%, rgba(24,180,255,0.1), transparent 50%),
    var(--bg-panel);
  border: 1px solid var(--line-mid);
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center;
}
.vpn-card h2 { font-size: clamp(24px, 3.4vw, 36px); margin: 12px 0 16px; letter-spacing: -0.03em; }
.vpn-card p { color: var(--txt-2); font-size: 15.5px; line-height: 1.7; max-width: 540px; }
.vpn-points { display: flex; flex-direction: column; gap: 14px; }
.vpn-point {
  display: flex; align-items: center; gap: 13px; padding: 15px 18px;
  background: var(--glass); border: 1px solid var(--line); border-radius: var(--r);
}
.vpn-point .ico { width: 38px; height: 38px; border-radius: var(--r-sm); display: grid; place-items: center; flex-shrink: 0;
  background: var(--accent-dim); color: var(--accent); }
.vpn-point .ico svg { width: 19px; height: 19px; }
.vpn-point span { font-size: 14px; font-weight: 600; }

/* ── Stats strip ───────────────────────────────────────────────── */
.stats-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
}
.stat-cell { background: var(--bg-panel); padding: 32px 24px; text-align: center; }
.stat-cell .num { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.stat-cell .num.accent { color: var(--accent); }
.stat-cell .lbl { margin-top: 10px; font-size: 12.5px; color: var(--txt-3); letter-spacing: 0.04em; }

/* ── Features ──────────────────────────────────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  padding: 28px 26px; border-radius: var(--r-lg);
  background: var(--bg-panel); border: 1px solid var(--line);
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}
.feature:hover { transform: translateY(-4px); border-color: var(--line-strong); background: var(--bg-raised); }
.feature .ico {
  width: 46px; height: 46px; border-radius: var(--r-sm); display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(155deg, var(--bg-raised), var(--bg-void)); border: 1px solid var(--line-mid); color: var(--accent);
}
.feature .ico svg { width: 23px; height: 23px; }
.feature h3 { font-size: 17px; margin-bottom: 9px; letter-spacing: -0.02em; }
.feature p { color: var(--txt-2); font-size: 13.5px; line-height: 1.65; }

/* ── How it works (animated candlestick + highlighting steps) ──── */
.how-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.how-viz {
  position: relative; aspect-ratio: 16 / 11; min-height: 300px;
  background: radial-gradient(120% 120% at 72% 0%, rgba(0,229,160,0.06), transparent 58%), var(--bg-panel);
  border: 1px solid var(--line-mid); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03), 0 24px 60px -34px rgba(0,0,0,0.75);
}
.how-viz canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.how-alert {
  position: absolute; right: 14px; bottom: 14px; display: flex; align-items: center; gap: 10px;
  padding: 9px 13px 9px 10px; border-radius: 12px;
  background: rgba(14,19,27,0.86); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(0,229,160,0.35); box-shadow: 0 14px 30px -12px rgba(0,0,0,0.8);
  opacity: 0; transform: translateY(10px) scale(0.98); pointer-events: none;
  transition: opacity .5s ease, transform .5s cubic-bezier(.2,.7,.2,1);
}
.how-alert.show { opacity: 1; transform: translateY(0) scale(1); }
.how-alert-mark { display: grid; place-items: center; width: 30px; height: 30px; flex: none;
  font-size: 17px; font-weight: 700; color: var(--accent);
  background: var(--accent-dim); border: 1px solid rgba(0,229,160,0.3); border-radius: 8px; }
.how-alert-body { display: flex; flex-direction: column; line-height: 1.32; }
.how-alert-body b { font-size: 12.5px; letter-spacing: -0.01em; }
.how-alert-body .long { color: var(--accent); }
.how-alert-body span { font-size: 11px; color: var(--txt-3); font-family: var(--font-mono); }

.how-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.how-steps .step {
  display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start;
  padding: 15px 16px; border-radius: 12px; cursor: pointer; border: 1px solid transparent;
  transition: background .35s ease, border-color .35s ease;
}
.how-steps .step .step-no {
  display: grid; place-items: center; width: 30px; height: 30px; flex: none;
  font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--txt-3);
  border: 1px solid var(--line-mid); border-radius: 9px; background: var(--bg-raised);
  transition: color .35s ease, background .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.how-steps .step h3 { font-size: 16px; margin-bottom: 5px; letter-spacing: -0.02em; transition: color .3s ease; }
.how-steps .step p { color: var(--txt-2); font-size: 13px; line-height: 1.6; }
.how-steps .step.active { background: linear-gradient(90deg, var(--accent-dim), transparent 82%); border-color: rgba(0,229,160,0.22); }
.how-steps .step.active .step-no { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-dim); }
.how-steps .step.active h3 { color: var(--txt); }
@media (prefers-reduced-motion: reduce) { .how-alert { transition: none; } }

/* ── Pricing (neon tiers) ──────────────────────────────────────── */
.pricing-toggle { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 48px; }
.pricing-toggle .seg { display: inline-flex; background: var(--bg-panel); border: 1px solid var(--line-mid); border-radius: var(--r-pill); padding: 4px; }
.pricing-toggle .seg button {
  background: transparent; border: none; color: var(--txt-2); cursor: pointer;
  font-family: var(--font-ui); font-size: 13.5px; font-weight: 600; padding: 9px 20px; border-radius: var(--r-pill); transition: all 0.18s;
}
.pricing-toggle .seg button.active { background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 18px -4px rgba(0,229,160,0.6); }
.save-tag { font-size: 12px; font-weight: 700; color: var(--gold); }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price-card {
  display: flex; flex-direction: column; padding: 30px 26px; border-radius: var(--r-lg);
  background: var(--bg-panel); border: 1px solid var(--line); position: relative; overflow: hidden;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), border-color .3s, box-shadow .3s;
}
.price-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }

/* Featured (Pro) — mint neon, elevated */
.price-card.featured {
  padding-top: 54px; border-color: rgba(0,229,160,0.5); transform: translateY(-10px);
  background: radial-gradient(130% 80% at 50% 0%, rgba(0,229,160,0.13), transparent 62%), var(--bg-panel);
  box-shadow: 0 0 0 1px rgba(0,229,160,0.25), 0 0 46px -10px rgba(0,229,160,0.35), 0 30px 70px -34px rgba(0,0,0,0.85);
}
.price-card.featured:hover { transform: translateY(-14px); }
/* Lifetime — gold neon */
.price-card.life {
  padding-top: 54px; border-color: rgba(255,194,75,0.42);
  background: radial-gradient(130% 80% at 50% 0%, rgba(255,194,75,0.10), transparent 62%), var(--bg-panel);
  box-shadow: 0 0 0 1px rgba(255,194,75,0.2), 0 0 40px -12px rgba(255,194,75,0.28);
}

/* Top ribbon */
.price-badge {
  position: absolute; top: 0; inset-inline: 0; padding: 9px 8px; text-align: center;
  font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.price-card.featured .price-badge { background: linear-gradient(90deg, #00e5a0, #18b4ff); color: #00130c; }
.price-card.life .price-badge { background: linear-gradient(90deg, #ffc24b, #ff9d3c); color: #2a1d00; }

.price-name { font-size: 14px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--txt-2); }
.price-tag { color: var(--txt-3); font-size: 13px; margin-top: 4px; }
.price-amount { margin: 20px 0 4px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price-was { text-decoration: line-through; color: var(--txt-3); font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.price-amount .val { font-size: 42px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.price-amount .unit { color: var(--txt-2); font-size: 14px; }
.price-usdt { font-family: var(--font-mono); font-size: 12px; color: var(--txt-3); min-height: 16px; }
.price-save {
  display: none; align-items: center; gap: 6px; margin-top: 12px; width: max-content;
  padding: 5px 11px; border-radius: var(--r-pill); font-size: 12px; font-weight: 700;
  background: var(--accent-dim); color: var(--accent);
}
.price-save::before { content: '✦'; font-size: 10px; }
.price-save.show { display: inline-flex; }
.price-card.life .price-save { display: inline-flex; background: var(--gold-dim); color: var(--gold); }
.price-feats { list-style: none; display: flex; flex-direction: column; gap: 11px; margin: 24px 0 26px; }
.price-feats li { position: relative; padding-inline-start: 26px; font-size: 13.5px; color: var(--txt-2); line-height: 1.5; }
.price-feats li::before { content: '✓'; position: absolute; inset-inline-start: 0; top: 0; color: var(--accent); font-weight: 800; }
.price-card.life .price-feats li::before { color: var(--gold); }
.price-card .btn { margin-top: auto; }
.price-card.featured .btn { background: linear-gradient(90deg, #00e5a0, #18b4ff); color: #00130c; border: none; box-shadow: 0 10px 28px -10px rgba(0,229,160,0.6); }
.price-card.life .btn { background: linear-gradient(90deg, #ffc24b, #ff9d3c); color: #2a1d00; border: none; box-shadow: 0 10px 28px -12px rgba(255,194,75,0.55); }
.price-card.featured .btn:hover, .price-card.life .btn:hover { filter: brightness(1.06); transform: translateY(-1px); }

/* ── FAQ ───────────────────────────────────────────────────────── */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-panel); overflow: hidden; }
.faq-q {
  width: 100%; text-align: start; background: transparent; border: none; cursor: pointer;
  padding: 19px 22px; font-family: var(--font-ui); font-size: 15.5px; font-weight: 600; color: var(--txt);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-q .chev { color: var(--txt-3); transition: transform 0.22s; flex-shrink: 0; font-size: 18px; }
.faq-item.open .faq-q .chev { transform: rotate(45deg); color: var(--accent); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.28s ease; }
.faq-a p { padding: 0 22px 20px; color: var(--txt-2); font-size: 14px; line-height: 1.7; }

/* ── CTA band ──────────────────────────────────────────────────── */
.cta-band { padding: 30px 0 60px; }
.cta-card {
  text-align: center; padding: 64px 40px; border-radius: var(--r-xl); position: relative; overflow: hidden;
  background:
    radial-gradient(80% 120% at 50% 0%, rgba(0,229,160,0.16), transparent 60%),
    radial-gradient(60% 100% at 50% 120%, rgba(24,180,255,0.12), transparent 60%),
    var(--bg-panel);
  border: 1px solid var(--line-mid);
}
.cta-card h2 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.03em; margin-bottom: 16px; }
.cta-card p { color: var(--txt-2); font-size: 16px; margin-bottom: 30px; }

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; max-width: 520px; margin: 0 auto; }
  .vpn-card { grid-template-columns: 1fr; gap: 28px; padding: 32px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .how-grid { grid-template-columns: 1fr; gap: 30px; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .price-card.featured { order: -1; transform: none; }
  .price-card.featured:hover { transform: translateY(-4px); }
}
@media (max-width: 560px) {
  .section-pad { padding: 64px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .how-viz { min-height: 240px; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 34px; }
}
