/* portal/_base.css */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

/* ── Neon Purple Scrollbar ── */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #050505; border-left: 1px solid rgba(255, 255, 255, 0.03); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #6a0dad, #ff00ff); border-radius: 100px; border: 1px solid rgba(255, 0, 255, 0.15); box-shadow: 0 0 8px rgba(255, 0, 255, 0.25); }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #8b2fc9, #ff33ff); box-shadow: 0 0 12px rgba(255, 0, 255, 0.4); }
::-webkit-scrollbar-corner { background: #050505; }
/* Firefox */
* { scrollbar-width: thin; scrollbar-color: #ff00ff #050505; }

:root {
  --bg-dark: #000000;
  --text: #ffffff;
  --text-muted: #94a3b8;
  --orange: #f5a623;
  --cyan: #00d4ff;
  --pink: #ff00ff;
  --blue: #2d5bff;
  --purple: #6a0dad;
  --radius: 12px;
  --font: 'Montserrat', sans-serif;
  --display: 'Bebas Neue', sans-serif;
}

body.portal-body {
  min-height: 100dvh;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg-dark);
  background-image:
    radial-gradient(circle at 80% 10%, rgba(255, 0, 255, 0.12), transparent 40%),
    radial-gradient(circle at 20% 90%, rgba(0, 212, 255, 0.08), transparent 40%);
  padding: 2rem 1.25rem;
  line-height: 1.5;
}

@media (min-width: 769px) {
  body.portal-body {
    padding-top: 0.5rem;
  }
}

.portal-shell {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.hidden {
  display: none !important;
}

/* ── Loading Overlay ── */
.body-loading {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  background: #060c1f;
  z-index: 9999;
}

.loading-spinner {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: conic-gradient(from 0deg, #3b8dff, #9b2cff, #ff5fa4, #3b8dff);
  animation: spin 1.8s linear infinite;
  box-shadow: 0 0 50px rgba(155, 44, 255, 0.5), 0 0 100px rgba(155, 44, 255, 0.25);
}

.loading-spinner-inner {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: #060c1f;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
}

.loading-spinner-inner img {
  width: 64px;
  height: 64px;
  display: block;
}

.loading-text {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  background: linear-gradient(90deg, #3b8dff, #9b2cff, #ff5fa4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: pulse-text 1.5s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes pulse-text {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}
/* portal/_header.css */
.portal-header {
  text-align: center;
  margin-bottom: 4rem;
}

@media (min-width: 769px) {
  .portal-header {
    margin-bottom: 2rem;
  }
}

.brand-banner {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  overflow: hidden;
}

.brand-logo-img {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 10px rgba(255,255,255,0.1));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.brand-logo-img:hover {
  transform: scale(1.02);
  filter: drop-shadow(0 0 20px rgba(255,255,255,0.4)) brightness(1.1);
}

.brand-eyebrow {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border: 1px solid var(--pink);
  border-radius: 50px;
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 15px rgba(255, 0, 255, 0.2);
}

.brand-eyebrow span {
  font-family: var(--display);
  font-size: 1.2rem;
  color: var(--cyan);
  letter-spacing: 1px;
}

.brand-eyebrow .brand-signature {
  font-family: 'Satisfy', cursive;
}
/* portal/_hero.css */
.hero-section {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 2rem;
  margin-bottom: 1rem;
  align-items: center;
}

.hero-section > .hero-copy {
  grid-column: 1;
  grid-row: 1;
}

.hero-section > .hero-btn-group {
  grid-column: 1 / -1;
  grid-row: 2;
  justify-self: center;
}

.hero-section > .hero-card {
  grid-column: 2;
  grid-row: 1;
}

.hero-eyebrow {
  color: var(--pink);
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero-title {
  font-family: var(--display);
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1;
  margin: 0.5rem 0 1.5rem;
}

.hero-title span {
  color: var(--cyan);
  display: block;
}

.hero-text {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  max-width: 600px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: 8px;
  border-bottom: 3px solid var(--text-muted);
}

.stat-card span {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.stat-card strong {
  font-size: 0.9rem;
  color: #fff;
  line-height: 1.2;
  display: block;
}

.stat-card--pink { border-color: var(--pink); }
.stat-card--cyan { border-color: var(--cyan); }
.stat-card--purple { border-color: var(--purple); }
/* portal/_forms.css */
.glass-card--hero {
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 20px;
}

.glass-card--hero h2 {
  font-family: var(--display);
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.field {
  margin-bottom: 1rem;
  text-align: left;
}

.field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--text-muted);
}

.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field input[type="password"] {
  width: 100%;
  background: #111;
  border: 1px solid #333;
  padding: 0.8rem;
  border-radius: 8px;
  color: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input[type="text"]:hover,
.field input[type="tel"]:hover,
.field input[type="email"]:hover,
.field input[type="password"]:hover { border-color: rgba(106, 13, 173, 0.4); }
.field input[type="text"]:focus,
.field input[type="tel"]:focus,
.field input[type="email"]:focus,
.field input[type="password"]:focus { outline: none; border-color: var(--pink); background: rgba(255, 0, 255, 0.03); box-shadow: 0 0 0 2px rgba(255, 0, 255, 0.12), 0 0 20px rgba(255, 0, 255, 0.08); }

.optional { font-weight: 400; opacity: 0.6; font-size: 0.7rem; }

.field input.invalid {
  border-color: #ff4444 !important;
  box-shadow: 0 0 10px rgba(255, 68, 68, 0.3) !important;
}

.checkbox-label {
  font-size: 0.8rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  cursor: pointer;
}

.checkbox-label a {
  color: var(--cyan);
}

#form-error,
#signup-form-error {
  background: rgba(255, 0, 0, 0.1);
  border: 1px solid #ff4444;
  color: #ff4444;
  padding: 1rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  font-weight: bold;
  text-align: center;
  box-shadow: 0 0 15px rgba(255, 68, 68, 0.2);
}

/* ── Sign Up Section ── */
.signup-section {
  margin-bottom: 4rem;
  margin-top: 2rem;
}

.signup-card {
  max-width: 520px;
  margin: 2rem auto 0;
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 20px;
}

#quick-submit-btn {
  width: 100%;
  padding: 0.8rem;
  font-family: var(--display);
  font-size: 1.3rem;
  background: linear-gradient(90deg, #ff00cc, #3333ff);
  border: none;
  border-radius: 50px;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
}

#quick-submit-btn:hover {
  transform: scale(1.05);
  filter: brightness(1.2);
  box-shadow: 0 0 20px rgba(255, 0, 204, 0.4);
}

#quick-submit-btn:active,
#signup-submit-btn:active {
  transform: scale(0.95);
}

#signup-submit-btn {
  width: 100%;
  padding: 0.8rem;
  font-family: var(--display);
  font-size: 1.3rem;
  background: linear-gradient(90deg, #ff00cc, #3333ff);
  border: none;
  border-radius: 50px;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
}

#signup-submit-btn:hover {
  transform: scale(1.05);
  filter: brightness(1.2);
  box-shadow: 0 0 20px rgba(255, 0, 204, 0.4);
}

.spinner {
  display: inline-block;
  width: 1em;
  height: 1em;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: sp 0.6s linear infinite;
  vertical-align: middle;
  margin-left: 0.4rem;
}

@keyframes sp {
  to { transform: rotate(360deg); }
}

/* ── Sign Up Reveal Animation ── */
.signup-section--reveal {
  animation: signupReveal 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes signupReveal {
  0%   { opacity: 0; transform: translateY(-24px) scale(0.97); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
/* portal/_features.css */
.features-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin: 4rem 0;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.feature-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-size: 130%;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
  border: 1px solid rgba(0, 212, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-fast { background-image: url('/images/icon-fast.png'); }
.icon-reliable { background-image: url('/images/icon-reliable.png'); }
.icon-multi { background-image: url('/images/icon-multi.png'); }
.icon-support { background-image: url('/images/icon-support.png'); }

.feature-label strong {
  display: block;
  font-family: var(--display);
  font-size: 1.1rem;
  color: var(--cyan);
  letter-spacing: 1px;
}

.feature-label span {
  font-size: 0.75rem;
  color: var(--text-muted);
}
/* portal/_packages.css */
.packages-section {
  margin-top: 4rem;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2rem;
  border-bottom: 1px solid #222;
  padding-bottom: 1.5rem;
}

.section-eyebrow {
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.section-heading h2 {
  font-family: var(--display);
  font-size: 2.5rem;
}

.section-note {
  max-width: 300px;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: right;
}

.brand-eybrow--main {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.package-card {
  background: #000;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.package-card:hover {
  transform: translateY(-15px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.6);
  z-index: 10;
}

.package-card--orange:hover {
  box-shadow: 0 20px 40px rgba(245, 166, 35, 0.3), 0 0 20px rgba(245, 166, 35, 0.2);
}

.package-card--cyan:hover {
  box-shadow: 0 20px 40px rgba(0, 212, 255, 0.3), 0 0 20px rgba(0, 212, 255, 0.2);
}

.package-card--blue:hover {
  box-shadow: 0 20px 40px rgba(45, 91, 255, 0.3), 0 0 20px rgba(45, 91, 255, 0.2);
}

.package-card--purple:hover {
  box-shadow: 0 20px 40px rgba(106, 13, 173, 0.4), 0 0 20px rgba(170, 0, 255, 0.3);
}

.pkg-priceband {
  padding: 1.5rem 1rem;
  text-align: center;
  color: #000;
}

.pkg-priceband .amt {
  font-family: var(--display);
  font-size: 2.8rem;
  line-height: 1;
  display: block;
}

.pkg-priceband .per {
  font-size: 0.7rem;
  font-weight: 800;
}

.pkg-body {
  padding: 1.5rem;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.pkg-name {
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.pkg-data {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
}

.pkg-speed {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pkg-tier {
  font-family: 'Satisfy', cursive;
  font-size: 1.2rem;
  color: var(--text);
  letter-spacing: 2px;
  opacity: 0.9;
  text-transform: none;
  margin-bottom: 1.5rem;
  display: block;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.package-card--orange { border-color: var(--orange); }
.package-card--orange .pkg-priceband { background: var(--orange); }
.package-card--orange .pkg-speed { color: var(--orange); }

.package-card--cyan { border-color: var(--cyan); }
.package-card--cyan .pkg-priceband { background: var(--cyan); }
.package-card--cyan .pkg-speed { color: var(--cyan); }

.package-card--blue { border-color: var(--blue); }
.package-card--blue .pkg-priceband { background: var(--blue); color: #fff; }
.package-card--blue .pkg-speed { color: var(--blue); }

.package-card--purple { border-color: var(--purple); }
.package-card--purple .pkg-priceband { background: var(--purple); color: #fff; }
.package-card--purple .pkg-speed { color: var(--purple); }

.pkg-footer {
  margin-top: auto;
  padding-top: 1rem;
  font-size: 0.7rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.ecocash-badge {
  color: var(--cyan);
  font-size: 1rem;
  font-weight: 800;
  border: 1px solid var(--cyan);
  padding: 2px 6px;
  border-radius: 4px;
}

.ecocash-red {
  color: #ff4444;
  border-color: #ff4444;
}
/* portal/_buttons.css */
.pkg-action,
#submit-btn {
  width: 100%;
  padding: 0.8rem;
  font-family: var(--display);
  font-size: 1.3rem;
  background: linear-gradient(90deg, #ff00cc, #3333ff);
  border: none;
  border-radius: 50px;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pkg-action:hover,
#submit-btn:hover {
  transform: scale(1.05);
  filter: brightness(1.2);
  box-shadow: 0 0 20px rgba(255, 0, 204, 0.4);
}

.pkg-action:active,
#submit-btn:active {
  transform: scale(0.95);
}

.package-card:hover .pkg-action {
  background: linear-gradient(90deg, #00d4ff, #ff00ff);
  box-shadow: 0 0 20px rgba(255, 0, 255, 0.5);
  animation: pulse-glow 1.5s infinite;
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 10px rgba(255, 0, 255, 0.4); }
  50% { box-shadow: 0 0 25px rgba(0, 212, 255, 0.6); }
  100% { box-shadow: 0 0 10px rgba(255, 0, 255, 0.4); }
}

.btn-primary {
  background: var(--cyan);
  color: black;
  font-family: var(--display);
  padding: 1rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.2rem;
  transition: 0.3s;
}

.btn-primary:hover {
  background: #fff;
  transform: translateY(-3px);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.8rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1rem;
  transition: 0.3s;
}

.btn-secondary:hover {
  border-color: var(--pink);
  color: var(--pink);
}

.btn-link {
  display: inline-block;
  margin-top: 3rem;
  padding: 1rem 2.5rem;
  font-family: var(--display);
  font-size: 1.2rem;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(90deg, #333, #111);
  border: 1px solid #444;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-link:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
  transform: translateY(-2px);
  color: var(--cyan);
}

.hero-btn-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

@media (max-width: 768px) {
  .hero-btn-group {
    justify-content: center;
  }
}

.hero-connect-btn {
  flex: 1;
  max-width: 260px;
  padding: 0.9rem 1.5rem;
  font-family: var(--display);
  font-size: 1.4rem;
  background: linear-gradient(90deg, #ff00cc, #3333ff);
  border: none;
  border-radius: 50px;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.hero-connect-btn:hover {
  transform: scale(1.05);
  filter: brightness(1.2);
  box-shadow: 0 0 20px rgba(255, 0, 204, 0.4);
}

.hero-connect-btn:active {
  transform: scale(0.95);
}

.action-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Voucher code highlight animation */
@keyframes voucher-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 0, 204, 0.6); }
  50% { box-shadow: 0 0 0 8px rgba(255, 0, 204, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 0, 204, 0); }
}

.voucher-highlight {
  animation: voucher-pulse 0.8s ease 3;
  border-color: #ff00cc !important;
}
/* portal/_modal.css */
.payment-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.payment-modal {
  background: linear-gradient(145deg, #1a1a2e 0%, #16213e 100%);
  border-radius: 20px;
  padding: 2rem;
  max-width: 440px;
  width: 100%;
  position: relative;
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.06);
  animation: modalSlideUp 0.35s ease 0.1s both;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.18);
}

.payment-modal h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 1.5rem;
  padding-right: 2rem;
  line-height: 1.3;
}

.modal-details {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.modal-details p {
  margin: 0.4rem 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-details p strong {
  color: #fff;
  font-weight: 600;
}

.modal-form .field {
  margin-bottom: 1.25rem;
}

.modal-form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}

.modal-form input[type="tel"] {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.modal-form input[type="tel"]:hover { border-color: rgba(106, 13, 173, 0.4); }
.modal-form input[type="tel"]:focus {
  outline: none;
  border-color: var(--pink);
  background: rgba(255, 0, 255, 0.04);
  box-shadow: 0 0 0 2px rgba(255, 0, 255, 0.12), 0 0 20px rgba(255, 0, 255, 0.08);
}

.modal-form input[type="tel"]::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

#confirm-payment-btn {
  width: 100%;
  padding: 0.9rem;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #e94560 0%, #c23152 100%);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

#confirm-payment-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(233, 69, 96, 0.35);
}

#confirm-payment-btn:active {
  transform: translateY(0);
}

.modal-notice {
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 1rem;
}

.field-error {
  font-size: 0.75rem;
  color: #e94560;
  margin-top: 0.3rem;
}

.field-success {
  font-size: 0.85rem;
  color: #25D366;
  background: rgba(37, 211, 102, 0.08);
  border: 1px solid rgba(37, 211, 102, 0.2);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  text-align: center;
  line-height: 1.5;
}

.pkg-action.pkg-action--selected {
  transform: scale(1.05);
  box-shadow:
    0 0 0 3px #e94560,
    0 0 30px rgba(233, 69, 96, 0.3);
  position: relative;
  z-index: 2;
}

.payment-modal-overlay--closing {
  animation: modalFadeOut 0.25s ease forwards;
}

@keyframes modalFadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

.payment-modal-overlay--closing .payment-modal {
  animation: modalSlideDown 0.25s ease forwards;
}

@keyframes modalSlideDown {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(20px) scale(0.96);
  }
}

body.modal-open {
  overflow: hidden;
}
/* portal/_success.css */
.card--success {
  max-width: 550px;
  margin: 4rem auto;
  background: rgba(10, 10, 10, 0.9);
  border: 2px solid var(--cyan);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.2);
  text-align: center;
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
  border-radius: 30px;
}

.success-icon-wrapper {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 0 25px rgba(0, 212, 255, 0.5);
  animation: pulseIcon 2s infinite;
}

@keyframes pulseIcon {
  0% { box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.7); }
  70% { box-shadow: 0 0 0 20px rgba(0, 212, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 212, 255, 0); }
}

.status-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  margin: 2rem 0;
  background: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.status-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.status-item .label {
  font-size: 0.65rem;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.status-item .value {
  font-weight: 700;
  font-size: 0.9rem;
}

.value--active {
  color: #25D366;
  text-shadow: 0 0 10px rgba(37, 211, 102, 0.4);
}

.value--timer {
  font-family: 'Courier New', monospace;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--cyan);
  text-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
  letter-spacing: 2px;
}

.session-details {
  margin: 1rem 0 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.detail-value {
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
}

.success-message {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.voucher-section {
  max-width: 820px;
  margin: 0 auto 2rem;
  text-align: center;
}

.voucher-card-wrapper {
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
  background: transparent;
}

.voucher-card-wrapper canvas {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 0 40px rgba(113, 255, 47, 0.15);
}

.voucher-code-block {
  margin: 0 auto 1.5rem;
  max-width: 800px;
  text-align: center;
}

.voucher-code-hero {
  background: linear-gradient(135deg, rgba(10,10,10,0.95), rgba(15,23,42,0.95));
  border: 2px solid #71ff2f;
  border-radius: 16px;
  padding: 1.5rem 1rem;
  box-shadow: 0 0 40px rgba(113, 255, 47, 0.3), inset 0 0 60px rgba(113, 255, 47, 0.05);
}

.voucher-code-hero-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: #13d8ff;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.voucher-code-hero-box {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(113, 255, 47, 0.3);
  border-radius: 12px;
  padding: 0.8rem 1.5rem;
}

.voucher-code-hero-text {
  font-family: 'Courier New', monospace;
  font-size: 2.2rem;
  font-weight: 900;
  color: #71ff2f;
  letter-spacing: 5px;
  text-shadow: 0 0 20px rgba(113, 255, 47, 0.5);
  user-select: all;
}

.voucher-copy-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, rgba(113,255,47,0.2), rgba(19,216,255,0.2));
  border: 1px solid #71ff2f;
  border-radius: 10px;
  color: #71ff2f;
  padding: 0.6rem 1.2rem;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 700;
  transition: all 0.2s;
}

.voucher-copy-hero-btn:hover {
  background: linear-gradient(135deg, #71ff2f, #13d8ff);
  color: #0a0a0a;
  box-shadow: 0 0 20px rgba(113, 255, 47, 0.4);
}

.voucher-code-hint {
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.voucher-actions {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.success-glow {
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle at center, rgba(0, 212, 255, 0.08), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.wifi-icon--success {
  color: var(--cyan);
}

/* ── Ring Timer ── */
.ring-timer-wrapper {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 0 auto 1.5rem;
}

.ring-timer-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ring-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 8;
}

.ring-fg {
  fill: none;
  stroke: url(#ring-grad);
  stroke-width: 8;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.5s ease;
}

.ring-timer-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0 8px;
}

.ring-label {
  font-size: 0.5rem;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ring-value {
  font-family: 'Courier New', monospace;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--cyan);
  text-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
  letter-spacing: 1px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── Data Usage Bar ── */
.data-usage-section {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  text-align: left;
}

.data-usage-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
}

.data-usage-label {
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  font-weight: 700;
}

.data-usage-numbers {
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  font-family: 'Courier New', monospace;
}

.data-bar-track {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
}

.data-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #71ff2f, #13d8ff);
  border-radius: 4px;
  transition: width 1s ease;
  min-width: 0;
}

.data-usage-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 0.4rem;
  font-size: 0.7rem;
  color: var(--text-muted);
}
/* portal/_terms.css */
.card--wide {
  max-width: 850px;
  margin: 2rem auto;
  background: rgba(10, 10, 10, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 212, 255, 0.1);
  backdrop-filter: blur(15px);
}

.card--wide h1 {
  font-family: var(--display);
  font-size: 3rem;
  color: var(--text);
  margin: 1rem 0;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.card--wide h2 {
  font-family: var(--display);
  font-size: 1.8rem;
  color: var(--cyan);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  border-left: 4px solid var(--pink);
  padding-left: 15px;
  letter-spacing: 1px;
}

.card--wide p,
.card--wide li {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.card--wide strong {
  color: var(--text);
  font-weight: 700;
}

.card--wide ul {
  list-style: none;
  padding-left: 0;
}

.card--wide ul li {
  position: relative;
  padding-left: 25px;
}

.card--wide ul li::before {
  content: '\2192';
  position: absolute;
  left: 0;
  color: var(--pink);
  font-weight: bold;
}

.card--wide ul ul {
  margin-top: 0.5rem;
  padding-left: 20px;
  border-left: 1px solid #333;
}

.card-brand-logo--terms {
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.2));
  margin-bottom: 1.5rem;
}
/* portal/_footer.css */
.main-footer {
  margin-top: 5rem;
  padding: 4rem 2rem 2rem;
  background: rgba(5, 5, 5, 0.8);
  border-top: 1px solid rgba(0, 212, 255, 0.2);
  backdrop-filter: blur(10px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto 3rem;
}

.footer-col h3 {
  font-family: var(--display);
  font-size: 1.1rem;
  letter-spacing: 2px;
  color: var(--cyan);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.footer-brand-mark {
  max-width: 180px;
  height: auto;
  margin-bottom: 1rem;
  filter: brightness(1.1);
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 300px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-links a:hover {
  color: var(--pink);
  padding-left: 5px;
}

.footer-links li svg.icon {
  vertical-align: middle;
  margin-right: 6px;
  flex-shrink: 0;
}

.footer-links li {
  display: flex;
  align-items: center;
  gap: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.legal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.75rem;
  color: #666;
}

.payment-badges {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.badge {
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-icon svg {
  transition: transform 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-5px);
  color: #fff;
}

.social-icon.whatsapp:hover {
  background: #25D366;
  box-shadow: 0 0 15px rgba(37, 211, 102, 0.5);
  border-color: #25D366;
}

.social-icon.facebook:hover {
  background: #1877F2;
  box-shadow: 0 0 15px rgba(24, 119, 242, 0.5);
  border-color: #1877F2;
}

.social-icon.instagram:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  box-shadow: 0 0 15px rgba(220, 39, 67, 0.5);
  border-color: transparent;
}

.social-icon.x:hover {
  background: #000;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
  border-color: #fff;
}

.social-icon.youtube:hover {
  background: #FF0000;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
  border-color: #FF0000;
}

.social-icon:hover svg {
  transform: scale(1.1);
}
/* portal/_responsive.css */
@media (max-width: 992px) {
  .hero-section {
    grid-template-columns: 1fr;
  }

  .hero-section > .hero-copy {
    grid-column: 1;
    grid-row: auto;
  }

  .hero-section > .hero-btn-group {
    grid-column: 1;
    grid-row: auto;
  }

  .hero-section > .hero-card {
    grid-column: 1;
    grid-row: auto;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-stats {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-col h3 {
    margin-top: 1rem;
  }

  .footer-tagline {
    margin: 0 auto;
  }

  .legal-row {
    justify-content: center;
    text-align: center;
  }

  .card--wide {
    padding: 1.5rem;
    margin: 1rem;
  }
}

@media (max-width: 600px) {
  .status-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .payment-modal {
    padding: 1.5rem;
    border-radius: 16px;
  }

  .payment-modal h2 {
    font-size: 1.1rem;
  }

  .modal-details {
    padding: 1rem;
  }
}
