/* VPN Portal — Stylesheet */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg:      #06080f;
  --surface: #0e1120;
  --border:  rgba(16,185,129,.2);
  --accent:  #10b981;
  --accent2: #059669;
  --purple:  #7c3aed;
  --text:    #e2e8f0;
  --muted:   #94a3b8;
  --dim:     #4b5563;
}
body { background: var(--bg); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; min-height: 100vh; }
.bg-glow { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(16,185,129,.12), transparent); }
.top-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: .75rem 2rem; background: rgba(6,8,15,.8); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav-brand { font-weight: 800; font-size: 1rem; color: var(--accent); text-decoration: none; }
.nav-center { display: flex; gap: 1.5rem; }
.nav-link { text-decoration: none; color: var(--muted); font-size: .88rem; font-weight: 500; transition: color .15s; }
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-user { display: flex; align-items: center; gap: .75rem; }
.user-chip { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg,var(--accent),var(--accent2)); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .85rem; }
.user-name-sm { font-size: .82rem; color: var(--muted); }
.btn-logout-sm { background: transparent; border: 1px solid rgba(239,68,68,.3); color: #fca5a5; padding: .3rem .75rem; border-radius: 6px; font-size: .8rem; cursor: pointer; }
main { min-height: 100vh; padding: 2rem; position: relative; z-index: 1; }
main.with-nav { padding-top: 5rem; max-width: 960px; margin: 0 auto; }
/* Hero */
.hero { min-height: 85vh; display: flex; align-items: center; justify-content: center; text-align: center; }
.hero-inner { max-width: 640px; padding: 2rem; }
.hero-badge { background: rgba(16,185,129,.15); border: 1px solid rgba(16,185,129,.3); border-radius: 99px; padding: .3rem .9rem; font-size: .8rem; color: var(--accent); display: inline-block; margin-bottom: 1.5rem; }
.hero h1 { font-size: clamp(2.2rem,5vw,3.5rem); font-weight: 900; line-height: 1.1; margin-bottom: 1rem; }
.hero p  { color: var(--muted); font-size: 1.05rem; line-height: 1.7; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
/* Sections */
.section-inner { max-width: 960px; margin: 0 auto; padding: 4rem 2rem; }
.section-title { font-size: 1.8rem; font-weight: 800; text-align: center; margin-bottom: 2.5rem; }
/* Features */
.features-section { background: rgba(255,255,255,.02); border-top: 1px solid rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.06); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 1.25rem; }
.feature-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 1.5rem; }
.feat-icon { font-size: 2rem; margin-bottom: .75rem; }
.feature-card h3 { font-size: .95rem; font-weight: 700; margin-bottom: .4rem; }
.feature-card p  { font-size: .85rem; color: var(--muted); line-height: 1.6; }
/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(210px,1fr)); gap: 1.25rem; align-items: start; }
.pricing-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 1.5rem; position: relative; }
.pricing-card.featured { border-color: var(--accent); box-shadow: 0 0 30px rgba(16,185,129,.12); }
.popular-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #000; font-size: .72rem; font-weight: 800; padding: .2rem .75rem; border-radius: 99px; white-space: nowrap; }
.plan-name { font-weight: 700; font-size: .95rem; margin-bottom: .5rem; color: var(--muted); }
.plan-price { margin-bottom: 1rem; }
.price-amount { font-size: 2.2rem; font-weight: 900; }
.price-period { font-size: .88rem; color: var(--muted); }
.plan-features { list-style: none; margin-bottom: 1.25rem; }
.plan-features li { font-size: .84rem; color: var(--muted); padding: .3rem 0; }
.plan-btn { display: block; text-align: center; padding: .6rem; border-radius: 8px; text-decoration: none; font-weight: 700; font-size: .88rem; transition: opacity .15s; }
/* Steps */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); gap: 1.5rem; }
.step { text-align: center; }
.step-num { width: 44px; height: 44px; border-radius: 50%; background: rgba(16,185,129,.15); border: 2px solid rgba(16,185,129,.3); color: var(--accent); font-weight: 800; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; margin: 0 auto .75rem; }
.step h3 { font-size: .95rem; font-weight: 700; margin-bottom: .4rem; }
.step p  { font-size: .85rem; color: var(--muted); line-height: 1.6; }
.step code { background: rgba(255,255,255,.08); padding: .1rem .4rem; border-radius: 4px; font-size: .82rem; }
.step a  { color: var(--accent); text-decoration: none; }
/* Dashboard */
.page-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 1.75rem; flex-wrap: wrap; gap: 1rem; }
.page-title { font-size: 1.5rem; font-weight: 800; }
.page-sub   { color: var(--muted); font-size: .88rem; margin-top: .2rem; }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; margin-bottom: 1rem; }
.panel-header { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; border-bottom: 1px solid var(--border); }
.panel-header h2 { font-size: .95rem; font-weight: 700; }
.panel-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
@media (max-width:700px) { .panel-row { grid-template-columns: 1fr; } }
.status-card { display: flex; align-items: center; gap: 1.25rem; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 1.25rem 1.5rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.status-card.active { border-color: rgba(16,185,129,.4); background: rgba(16,185,129,.06); }
.status-card.inactive { border-color: rgba(239,68,68,.3); }
.status-icon { font-size: 2rem; }
.status-body { flex: 1; }
.status-title { font-size: 1.05rem; font-weight: 700; }
.status-desc  { font-size: .85rem; color: var(--muted); margin-top: .2rem; }
.node-row { display: flex; align-items: center; gap: .85rem; padding: .75rem 1.25rem; border-bottom: 1px solid rgba(255,255,255,.04); }
.node-row:last-child { border-bottom: none; }
.node-status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 6px var(--accent); flex-shrink: 0; }
.node-info { flex: 1; }
.node-name { font-size: .9rem; font-weight: 600; }
.node-meta { font-size: .78rem; color: var(--muted); }
.node-caps { display: flex; gap: .35rem; flex-wrap: wrap; }
.cap-badge { font-size: .7rem; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); padding: .1rem .4rem; border-radius: 4px; color: var(--muted); }
/* Plan widget */
.current-plan { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.plan-icon { font-size: 2rem; }
.plan-name-lg { font-size: 1.1rem; font-weight: 700; }
.plan-active-badge { font-size: .75rem; color: var(--accent); background: rgba(16,185,129,.12); border: 1px solid rgba(16,185,129,.25); border-radius: 99px; padding: .15rem .6rem; display: inline-block; margin-top: .25rem; }
.plan-perks { list-style: none; }
.plan-perks li { font-size: .88rem; color: var(--muted); padding: .3rem 0; }
.mini-plan { display: flex; align-items: center; justify-content: space-between; padding: .75rem 0; border-bottom: 1px solid rgba(255,255,255,.05); }
.mini-plan-name { font-size: .9rem; font-weight: 600; }
.mini-plan-price { font-size: .78rem; color: var(--muted); }
/* Purchase */
.purchase-wrap { max-width: 420px; }
.purchase-card { padding: 1.75rem; }
.plan-summary { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.plan-icon-lg { font-size: 3rem; }
.plan-name-xl { font-size: 1.3rem; font-weight: 800; }
.plan-price-xl { font-size: 2rem; font-weight: 900; }
.plan-price-xl span { font-size: .9rem; color: var(--muted); }
.plan-features-list { list-style: none; margin-bottom: 1.5rem; }
.plan-features-list li { font-size: .88rem; color: var(--muted); padding: .35rem 0; }
.payment-buttons { display: flex; gap: .75rem; flex-wrap: wrap; }
.btn-paypal  { background: #003087; color: #fff; padding: .65rem 1.5rem; border-radius: 8px; text-decoration: none; font-weight: 700; font-size: .9rem; }
.btn-cashapp { background: #00d632; color: #000; padding: .65rem 1.5rem; border-radius: 8px; text-decoration: none; font-weight: 700; font-size: .9rem; }
/* Code */
.code-block { background: #0a0c1a; border: 1px solid rgba(255,255,255,.08); border-radius: 8px; padding: 1rem 1.25rem; font-family: monospace; font-size: .85rem; color: #a3e635; line-height: 1.8; overflow-x: auto; }
/* Settings */
.settings-row { display: flex; align-items: center; justify-content: space-between; padding: .85rem 1.25rem; border-bottom: 1px solid rgba(255,255,255,.04); }
.settings-row:last-child { border-bottom: none; }
.settings-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: var(--dim); margin-bottom: .2rem; }
.settings-value { font-size: .92rem; }
.divider { border: none; border-top: 1px solid rgba(255,255,255,.07); margin: 1.25rem 0; }
.empty-state { text-align: center; color: var(--muted); font-size: .88rem; }
/* Buttons */
.btn-primary { background: linear-gradient(135deg,var(--accent),var(--accent2)); color: #000; padding: .6rem 1.5rem; border: none; border-radius: 8px; font-weight: 700; font-size: .9rem; cursor: pointer; text-decoration: none; display: inline-block; transition: opacity .15s; }
.btn-primary:hover { opacity: .9; }
.btn-primary-sm { background: linear-gradient(135deg,var(--accent),var(--accent2)); color: #000; padding: .4rem 1rem; border: none; border-radius: 7px; font-weight: 700; font-size: .82rem; cursor: pointer; text-decoration: none; }
.btn-secondary-sm { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.15); color: #e2e8f0; padding: .4rem 1rem; border-radius: 7px; font-weight: 600; font-size: .82rem; text-decoration: none; }
.btn-secondary { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: var(--text); padding: .6rem 1.5rem; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: .9rem; }
.btn-outline { border: 1px solid var(--border); color: var(--text); background: transparent; }
.btn-danger { background: rgba(239,68,68,.15); color: #fca5a5; padding: .5rem 1.25rem; border: 1px solid rgba(239,68,68,.3); border-radius: 8px; font-size: .88rem; cursor: pointer; }
.btn-sm { padding: .3rem .75rem; font-size: .8rem; border-radius: 6px; cursor: pointer; background: rgba(16,185,129,.15); border: 1px solid rgba(16,185,129,.3); color: var(--accent); text-decoration: none; }
.badge { display: inline-block; font-size: .72rem; font-weight: 600; padding: .2rem .55rem; border-radius: 99px; text-transform: uppercase; }
.badge-green { background: rgba(16,185,129,.15); color: var(--accent); }
.link-sm { font-size: .8rem; color: var(--accent); text-decoration: none; }
.link-sm:hover { text-decoration: underline; }
.link { color: var(--accent); text-decoration: none; }
.link:hover { text-decoration: underline; }
.site-footer { text-align: center; padding: 2rem; color: var(--dim); font-size: .82rem; border-top: 1px solid rgba(255,255,255,.06); }
.site-footer a { color: var(--muted); text-decoration: none; }
