:root {
  --bg: #060b18;
  --bg-soft: #0b1226;
  --card: rgba(255, 255, 255, 0.04);
  --card-border: rgba(255, 255, 255, 0.09);
  --text: #eaf0ff;
  --text-dim: #93a0bd;
  --accent: #00d4ff;
  --accent-2: #2979ff;
  --grad: linear-gradient(90deg, #00d4ff, #2979ff);
  --success: #22c55e;
  --danger: #ef4444;
  --radius: 18px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.container { width: min(1120px, 92%); margin-inline: auto; }

.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}
.bg-glow-1 { width: 480px; height: 480px; background: #1450f0; top: -160px; left: -120px; }
.bg-glow-2 { width: 420px; height: 420px; background: #00b8d9; bottom: -140px; right: -100px; opacity: 0.22; }

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(6, 11, 24, 0.72);
  border-bottom: 1px solid var(--card-border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 700; font-size: 1.05rem; }
.brand-icon {
  width: 38px; height: 38px; border-radius: 12px;
  background: var(--grad);
  display: grid; place-items: center;
  color: #04101f;
  box-shadow: 0 6px 20px rgba(41, 121, 255, 0.45);
}
.brand-icon svg { width: 22px; height: 22px; }
.brand-text span { color: var(--accent); }

.nav { display: flex; gap: 26px; }
.nav a { color: var(--text-dim); text-decoration: none; font-size: 0.92rem; font-weight: 500; transition: color 0.2s; }
.nav a:hover { color: var(--text); }

.hero { position: relative; z-index: 1; text-align: center; padding: 84px 0 56px; }
.badge-pill {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--card-border);
  background: var(--card);
  padding: 7px 16px; border-radius: 999px;
  font-size: 0.82rem; color: var(--text-dim);
  margin-bottom: 22px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 10px var(--success); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: 0.4; } }

.hero h1 { font-size: clamp(2.1rem, 5.5vw, 3.6rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { max-width: 640px; margin: 18px auto 30px; color: var(--text-dim); font-size: 1.05rem; }
.hero-sub strong { color: var(--text); }

.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border-radius: 14px; font-family: inherit; font-weight: 600;
  cursor: pointer; text-decoration: none; border: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s;
  font-size: 0.95rem;
}
.btn:active { transform: scale(0.97); }
.btn-lg { padding: 15px 30px; font-size: 1rem; }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }
.btn-block { width: 100%; padding: 14px; }
.btn-primary { background: var(--grad); color: #04101f; box-shadow: 0 8px 26px rgba(41, 121, 255, 0.4); }
.btn-primary:hover { box-shadow: 0 10px 32px rgba(0, 212, 255, 0.5); transform: translateY(-1px); }
.btn-primary:disabled { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-outline { background: transparent; border: 1px solid var(--card-border); color: var(--text); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost { background: var(--card); border: 1px solid var(--card-border); color: var(--text); }
.btn-whatsapp { background: #25d366; color: #06281a; }

.hero-stats { display: flex; justify-content: center; gap: 46px; margin-top: 52px; flex-wrap: wrap; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 1.5rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stats span { color: var(--text-dim); font-size: 0.85rem; }

.section { position: relative; z-index: 1; padding: 76px 0; }
.section-alt { background: var(--bg-soft); border-block: 1px solid var(--card-border); }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); font-weight: 800; letter-spacing: -0.01em; }
.section-head p { color: var(--text-dim); margin-top: 10px; }

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px;
}

.plan-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px 22px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  transition: transform 0.25s ease, border-color 0.25s, box-shadow 0.25s;
}
.plan-card:hover { transform: translateY(-6px); border-color: rgba(0, 212, 255, 0.45); box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45); }
.plan-card.popular { border-color: var(--accent); background: linear-gradient(180deg, rgba(0, 212, 255, 0.09), rgba(41, 121, 255, 0.03)); }
.plan-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #04101f;
  font-size: 0.72rem; font-weight: 700;
  padding: 4px 14px; border-radius: 999px; white-space: nowrap;
}
.plan-icon { font-size: 1.9rem; margin-bottom: 10px; }
.plan-name { font-weight: 700; font-size: 1.05rem; }
.plan-validity { color: var(--text-dim); font-size: 0.83rem; margin-top: 4px; }
.plan-price { font-size: 1.85rem; font-weight: 800; margin: 16px 0 4px; }
.plan-price small { font-size: 0.85rem; font-weight: 600; color: var(--text-dim); }
.plan-card .btn { margin-top: auto; width: 100%; }
.plan-card.custom { justify-content: center; border-style: dashed; }
.plan-card.custom p { color: var(--text-dim); font-size: 0.88rem; margin: 8px 0 18px; }

.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.step-card {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 26px 22px;
}
.step-num {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--grad); color: #04101f; font-weight: 800;
  margin-bottom: 14px;
}
.step-card h3 { font-size: 1rem; margin-bottom: 6px; }
.step-card p { color: var(--text-dim); font-size: 0.88rem; }

.cta-section { padding-top: 20px; }
.cta-box {
  text-align: center;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.12), rgba(41, 121, 255, 0.12));
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 24px;
  padding: 54px 8%;
}
.cta-box h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); font-weight: 800; }
.cta-box p { color: var(--text-dim); max-width: 520px; margin: 12px auto 26px; }

.footer { position: relative; z-index: 1; border-top: 1px solid var(--card-border); padding: 34px 0; background: var(--bg-soft); }
.footer-inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.footer-brand .brand-icon { width: 30px; height: 30px; border-radius: 9px; }
.footer-brand .brand-icon svg { width: 17px; height: 17px; }
.footer p { color: var(--text-dim); font-size: 0.88rem; }
.footer-wa { color: var(--accent); text-decoration: none; font-size: 0.88rem; }

.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.08); }

.modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(3, 6, 14, 0.78);
  backdrop-filter: blur(6px);
  display: grid; place-items: center;
  padding: 18px;
}
.modal-overlay[hidden] { display: none; }
.modal {
  position: relative;
  width: min(430px, 100%);
  background: #0d1530;
  border: 1px solid var(--card-border);
  border-radius: 22px;
  padding: 30px 26px;
  animation: pop 0.25s ease;
  max-height: 92vh;
  overflow-y: auto;
}
@keyframes pop { from { transform: translateY(14px) scale(0.97); opacity: 0; } }
.modal-close {
  position: absolute; top: 12px; right: 14px;
  background: none; border: none; color: var(--text-dim);
  font-size: 1.7rem; cursor: pointer; line-height: 1;
}
.modal-close:hover { color: var(--text); }
.modal-step h3 { font-size: 1.2rem; margin-bottom: 4px; }
.modal-price { color: var(--accent); font-weight: 800; font-size: 1.35rem; margin-bottom: 20px; }

.field-label { display: block; font-size: 0.85rem; color: var(--text-dim); margin: 16px 0 8px; font-weight: 500; }
.phone-row { display: flex; gap: 8px; }
.phone-prefix {
  display: grid; place-items: center;
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: 12px; padding: 0 14px; font-weight: 600; color: var(--text-dim);
}
#phone {
  flex: 1;
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: 12px; padding: 13px 14px;
  color: var(--text); font-family: inherit; font-size: 1rem; letter-spacing: 1px;
  outline: none; transition: border-color 0.2s;
}
#phone:focus { border-color: var(--accent); }
.field-error { color: var(--danger); font-size: 0.8rem; margin-top: 7px; }

.operators { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 22px; }
.operator-btn {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: 14px; padding: 16px 10px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  cursor: pointer; color: var(--text); font-family: inherit;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}
.operator-btn:hover { transform: translateY(-2px); }
.operator-btn.selected { border-color: var(--accent); background: rgba(0, 212, 255, 0.09); box-shadow: 0 0 0 1px var(--accent); }
.op-logo { font-weight: 800; font-size: 1.05rem; }
.op-mtn { color: #ffcc00; }
.op-orange { color: #ff7900; }
.op-name { font-size: 0.78rem; color: var(--text-dim); }

.secure-note { text-align: center; color: var(--text-dim); font-size: 0.78rem; margin-top: 14px; }

.link-btn {
  display: block;
  margin: 12px auto 0;
  background: none;
  border: none;
  color: var(--accent);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: underline;
}
.link-btn:hover { color: var(--text); }

#step-recover { text-align: center; }
.recover-hint { color: var(--text-dim); font-size: 0.88rem; margin: 6px 0 16px; }
#recover-phone {
  flex: 1;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 13px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  letter-spacing: 1px;
  outline: none;
  transition: border-color 0.2s;
}
#recover-phone:focus { border-color: var(--accent); }

.spinner {
  width: 52px; height: 52px; margin: 8px auto 22px;
  border: 4px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
#step-processing { text-align: center; }
.processing-hint { color: var(--text-dim); font-size: 0.85rem; margin-top: 12px; }

.success-icon, .error-icon {
  width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1.8rem; font-weight: 800;
  margin: 4px auto 18px;
}
.success-icon { background: rgba(34, 197, 94, 0.15); color: var(--success); border: 2px solid rgba(34, 197, 94, 0.5); }
.error-icon { background: rgba(239, 68, 68, 0.15); color: var(--danger); border: 2px solid rgba(239, 68, 68, 0.5); }
#step-success, #step-error { text-align: center; }
#step-success > p, #step-error > p { color: var(--text-dim); font-size: 0.92rem; }

.voucher-box {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: rgba(0, 212, 255, 0.07);
  border: 1px dashed rgba(0, 212, 255, 0.5);
  border-radius: 14px;
  padding: 14px 16px;
  margin: 18px 0;
}
.voucher-box code { font-size: 1.25rem; font-weight: 700; letter-spacing: 2px; color: var(--accent); word-break: break-all; }
.btn-copy {
  background: var(--grad); border: none; color: #04101f;
  font-family: inherit; font-weight: 700; font-size: 0.8rem;
  padding: 8px 14px; border-radius: 10px; cursor: pointer; white-space: nowrap;
}
.voucher-steps { text-align: left; color: var(--text-dim); font-size: 0.86rem; padding-left: 20px; margin-bottom: 20px; }
.voucher-steps li { margin-bottom: 5px; }
.voucher-steps strong { color: var(--text); }

@media (max-width: 720px) {
  .nav { display: none; }
  .hero { padding: 58px 0 44px; }
  .hero-stats { gap: 28px; }
  .section { padding: 56px 0; }
  .plans-grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
  .plan-card { padding: 22px 14px; }
  .operators { grid-template-columns: 1fr; }
}

.ad-slot { margin: 24px auto; max-width: 800px; text-align: center; padding: 16px; background: var(--card); border: 1px solid var(--card-border); border-radius: 16px; }
.ad-slot:empty { display: none; }
.ad-slot[hidden] { display: none !important; }
.ad-slot img { max-width: 100%; border-radius: 10px; max-height: 140px; object-fit: cover; }
#lang-toggle { min-width: 42px; font-size: 0.8rem; }

.nav-futur { color: var(--accent) !important; font-weight: 700; text-shadow: 0 0 8px rgba(0,212,255,0.5); border: 1px solid rgba(0,212,255,0.4); padding: 6px 14px; border-radius: 999px; background: rgba(0,212,255,0.08); }
.nav-futur:hover { background: rgba(0,212,255,0.15); box-shadow: 0 0 12px rgba(0,212,255,0.3); }

.nav-neon { color: #00ffcc !important; font-weight: 800; text-shadow: 0 0 8px rgba(0,255,204,0.6), 0 0 16px rgba(168,85,247,0.4); border: 1px solid rgba(0,255,204,0.5); padding: 6px 14px; border-radius: 999px; background: linear-gradient(90deg, rgba(0,255,204,0.15), rgba(168,85,247,0.15)); backdrop-filter: blur(4px); cursor: pointer; font-family: inherit; font-size: 0.85rem; }
.nav-neon:hover { background: linear-gradient(90deg, rgba(0,255,204,0.25), rgba(168,85,247,0.25)); box-shadow: 0 0 16px rgba(0,255,204,0.4), 0 0 24px rgba(168,85,247,0.2); transform: translateY(-1px); }
.nav-neon.active { background: linear-gradient(90deg, rgba(0,255,204,0.3), rgba(168,85,247,0.3)); box-shadow: 0 0 20px rgba(0,255,204,0.5); }

.nav-sacred { color: #ffd700 !important; font-weight: 800; text-shadow: 0 0 8px rgba(255,215,0,0.5), 0 0 16px rgba(255,165,0,0.3); border: 1px solid rgba(255,215,0,0.45); padding: 6px 14px; border-radius: 999px; background: radial-gradient(120% 120% at 30% 20%, rgba(255,215,0,0.18), transparent 50%), linear-gradient(135deg, rgba(255,215,0,0.12), rgba(255,165,0,0.10), rgba(255,255,255,0.06)); backdrop-filter: blur(4px); position: relative; overflow: hidden; cursor: pointer; font-family: inherit; font-size: 0.85rem; }
.nav-sacred::before { content: ""; position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='none' stroke='rgba(255,215,0,0.08)' stroke-width='0.7'%3E%3Ccircle cx='30' cy='30' r='14'/%3E%3Ccircle cx='30' cy='16' r='14'/%3E%3Ccircle cx='30' cy='44' r='14'/%3E%3Ccircle cx='16' cy='22' r='14'/%3E%3Ccircle cx='44' cy='22' r='14'/%3E%3Ccircle cx='16' cy='38' r='14'/%3E%3Ccircle cx='44' cy='38' r='14'/%3E%3C/g%3E%3C/svg%3E"); opacity: 0.7; pointer-events: none; }
.nav-sacred:hover { background: radial-gradient(120% 120% at 30% 20%, rgba(255,215,0,0.28), transparent 50%), linear-gradient(135deg, rgba(255,215,0,0.20), rgba(255,165,0,0.18), rgba(255,255,255,0.08)); box-shadow: 0 0 16px rgba(255,215,0,0.35), 0 0 24px rgba(255,165,0,0.2); transform: translateY(-1px); }
.nav-sacred.active { background: radial-gradient(120% 120% at 30% 20%, rgba(255,215,0,0.32), transparent 50%), linear-gradient(135deg, rgba(255,215,0,0.24), rgba(255,165,0,0.20)); box-shadow: 0 0 20px rgba(255,215,0,0.45); }

body.theme-neon { --accent: #00ffcc; --accent-2: #a855f7; --grad: linear-gradient(90deg, #00ffcc, #a855f7); }
body.theme-neon .bg-glow-1 { background: #00ffcc; opacity: 0.18; }
body.theme-neon .bg-glow-2 { background: #a855f7; opacity: 0.14; }
body.theme-sacred { --accent: #ffd700; --accent-2: #ff8c00; --grad: linear-gradient(90deg, #ffd700, #ff8c00); }
body.theme-sacred .bg-glow-1 { background: #ffd700; opacity: 0.12; }
body.theme-sacred .bg-glow-2 { background: #ff8c00; opacity: 0.10; }
body.theme-sacred { background-image: radial-gradient(800px 400px at 50% 0%, rgba(255,215,0,0.04), transparent 70%); }

.redeem-banner { position: relative; z-index: 1; padding: 18px 0 0; }

.redeem-banner { position: relative; z-index: 1; padding: 18px 0 0; }
.redeem-card { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--card); border: 1px solid var(--card-border); border-radius: 16px; padding: 16px 20px; }
.redeem-text { display: flex; flex-direction: column; gap: 2px; }
.redeem-text strong { font-size: 1rem; }
.redeem-form { display: flex; gap: 10px; flex: 1; max-width: 380px; min-width: 220px; }
.redeem-form input { flex: 1; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--card-border); background: rgba(255,255,255,0.04); color: var(--text); font-family: inherit; text-transform: uppercase; letter-spacing: 1px; outline: none; }
.redeem-form input:focus { border-color: var(--accent); }
@media (max-width: 600px) { .redeem-card { flex-direction: column; align-items: stretch; } .redeem-form { max-width: none; } }
