/* ═══ NAVBAR ═══ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-height); display: flex; align-items: center;
  justify-content: space-between; padding: 0 32px; z-index: var(--z-nav);
  transition: background var(--transition-base), box-shadow var(--transition-base);
}
.navbar.scrolled {
  background: rgba(5, 5, 16, 0.9); backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border-subtle), var(--shadow-md);
}
.navbar__logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 800; font-size: 1.4rem;
  color: var(--text-primary); text-decoration: none;
}
.navbar__logo-img {
  width: 38px; height: 38px; border-radius: 50%;
  object-fit: cover; border: 1px solid var(--border-accent);
  box-shadow: 0 0 12px rgba(0, 120, 255, 0.3);
}
.navbar__links { display: flex; align-items: center; gap: 32px; list-style: none; }
.navbar__links a {
  color: var(--text-secondary); font-size: 0.9rem; font-weight: 500;
  transition: color var(--transition-fast); position: relative;
}
.navbar__links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
  background: var(--gradient-button); border-radius: var(--radius-full);
  transition: width var(--transition-base);
}
.navbar__links a:hover { color: var(--text-primary); }
.navbar__links a:hover::after { width: 100%; }
.navbar__actions { display: flex; align-items: center; gap: 12px; }
.navbar__hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  padding: 4px; background: none; border: none;
}
.navbar__hamburger span {
  width: 24px; height: 2px; background: var(--text-primary);
  border-radius: 2px; transition: var(--transition-base);
}
.navbar__hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.navbar__hamburger.active span:nth-child(2) { opacity: 0; }
.navbar__hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu - HIDDEN by default */
.navbar__mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: rgba(5, 5, 16, 0.98);
  backdrop-filter: blur(20px);
  padding: 24px;
  z-index: var(--z-nav);
  flex-direction: column;
  gap: 4px;
  border-bottom: 1px solid var(--border-subtle);
  animation: fadeInDown 0.3s ease-out;
}
.navbar__mobile-menu.open {
  display: flex;
}
.navbar__mobile-menu a {
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
  transition: color var(--transition-fast);
}
.navbar__mobile-menu a:hover { color: var(--cyan); }

/* ═══ BUTTONS ═══ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius-full); font-family: var(--font-sans);
  font-weight: 600; font-size: 0.95rem; border: none; cursor: pointer;
  transition: all var(--transition-base); position: relative; overflow: hidden;
  white-space: nowrap; text-decoration: none;
}
.btn--primary {
  background: var(--gradient-button); color: var(--bg-primary);
  box-shadow: var(--shadow-glow-button);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0,240,255,0.4), 0 8px 24px rgba(0,0,0,0.4);
  color: var(--bg-primary);
}
.btn--outline {
  background: transparent; color: var(--cyan); border: 1px solid var(--border-accent);
}
.btn--outline:hover {
  background: var(--cyan-dim); border-color: var(--cyan);
  color: var(--cyan); transform: translateY(-2px);
}
.btn--ghost {
  background: var(--bg-glass); color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}
.btn--ghost:hover {
  background: var(--bg-glass-hover); color: var(--text-primary);
}
.btn--sm { padding: 8px 18px; font-size: 0.85rem; }
.btn--lg { padding: 16px 36px; font-size: 1.05rem; }
.btn--danger { background: var(--red); color: white; box-shadow: none; }
.btn--danger:hover { background: #dc2626; color: white; }
.btn--full { width: 100%; }

/* ═══ GLASS CARD ═══ */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}
.glass-card:hover {
  border-color: var(--border-accent); transform: translateY(-4px);
  box-shadow: var(--shadow-glow-cyan);
}
.glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(
    600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(0, 168, 255, 0.1),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 0;
}
.glass-card:hover::before {
  opacity: 1;
}
.glass-card > * {
  position: relative;
  z-index: 1;
}

/* ═══ FEATURE CARD ═══ */
.feature-card { padding: 32px; }
.feature-card__icon {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 20px;
  background: var(--gradient-card); border: 1px solid var(--border-subtle);
}
.feature-card__title { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.feature-card__desc { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; }

/* ═══ PRICING CARD ═══ */
.pricing-card { padding: 36px; text-align: center; position: relative; }
.pricing-card.featured { border-color: var(--cyan); box-shadow: var(--shadow-glow-cyan); }
.pricing-card__badge {
  display: inline-block; padding: 4px 14px; background: var(--gradient-button);
  color: var(--bg-primary); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.1em; border-radius: var(--radius-full); margin-bottom: 16px;
  text-transform: uppercase;
}
.pricing-card__name { font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; }
.pricing-card__price {
  font-family: var(--font-display); font-size: 3rem; font-weight: 900; margin-bottom: 4px;
  background: var(--gradient-hero); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.pricing-card__price span { font-size: 1rem; font-weight: 500; -webkit-text-fill-color: var(--text-muted); }
.pricing-card__credits { font-size: 1rem; color: var(--cyan); font-weight: 600; margin-bottom: 20px; }
.pricing-card__desc { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 24px; }

/* ═══ BADGE ═══ */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: var(--radius-full); font-size: 0.78rem; font-weight: 600;
}
.badge--cyan { background: var(--cyan-dim); color: var(--cyan); }
.badge--green { background: var(--green-dim); color: var(--green); }
.badge--amber { background: var(--amber-dim); color: var(--amber); }
.badge--red { background: var(--red-dim); color: var(--red); }

/* ═══ FORMS ═══ */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 6px; }
.form-input {
  width: 100%; padding: 12px 16px; background: var(--bg-glass);
  border: 1px solid var(--border-card); border-radius: var(--radius-md);
  color: var(--text-primary); font-family: var(--font-sans); font-size: 0.95rem;
  transition: all var(--transition-fast); outline: none;
}
.form-input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px var(--cyan-dim); }
.form-input::placeholder { color: var(--text-muted); }
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2300f0ff' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px;
}

/* ═══ SECTION HEADER ═══ */
.section-header { text-align: center; margin-bottom: 60px; }
.section-header__label {
  display: inline-block; padding: 6px 16px; background: var(--cyan-dim);
  color: var(--cyan); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  border-radius: var(--radius-full); margin-bottom: 16px;
}
.section-header__title { margin-bottom: 12px; }
.section-header__subtitle { font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* ═══ FAQ ═══ */
.faq-item { border-bottom: 1px solid var(--border-subtle); }
.faq-question {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; background: none; border: none; color: var(--text-primary);
  font-family: var(--font-sans); font-size: 1rem; font-weight: 600;
  text-align: left; cursor: pointer;
}
.faq-question:hover { color: var(--cyan); }
.faq-question__icon { font-size: 1.2rem; color: var(--cyan); transition: transform var(--transition-base); }
.faq-item.open .faq-question__icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height var(--transition-slow); }
.faq-item.open .faq-answer { max-height: 300px; padding-bottom: 20px; }
.faq-answer p { font-size: 0.95rem; line-height: 1.7; }

/* ═══ STATS ═══ */
.stat-item { text-align: center; }
.stat-item__number {
  font-family: var(--font-display); font-size: clamp(2.5rem, 4vw, 3.5rem); font-weight: 900;
  background: var(--gradient-hero); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-item__label { font-size: 0.9rem; color: var(--text-muted); margin-top: 4px; }

/* ═══ BRAND PILL ═══ */
.brand-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px;
  background: var(--bg-glass); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full); font-size: 0.9rem; font-weight: 500;
  color: var(--text-secondary); transition: all var(--transition-base);
}
.brand-pill:hover { border-color: var(--border-accent); color: var(--cyan); background: var(--cyan-dim); transform: translateY(-2px); }

/* ═══ TABLE ═══ */
.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
  text-align: left; padding: 12px 16px; font-size: 0.8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted);
  border-bottom: 1px solid var(--border-subtle);
}
.data-table td { padding: 14px 16px; font-size: 0.9rem; color: var(--text-secondary); border-bottom: 1px solid var(--border-subtle); }
.data-table tr:hover td { background: var(--bg-glass); color: var(--text-primary); }

/* ═══ TOAST ═══ */
.toast {
  position: fixed; bottom: 24px; right: 24px; padding: 14px 24px;
  background: var(--bg-card); border: 1px solid var(--border-card);
  border-radius: var(--radius-md); backdrop-filter: blur(12px);
  color: var(--text-primary); font-size: 0.9rem; z-index: var(--z-toast);
  animation: fadeInUp 0.3s ease-out; display: flex; align-items: center; gap: 10px;
}
.toast--success { border-color: var(--green); }
.toast--error { border-color: var(--red); }

/* ═══ MODAL ═══ */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.7); backdrop-filter: blur(4px);
  z-index: var(--z-modal); display: flex; align-items: center; justify-content: center;
  animation: fadeIn 0.2s ease-out;
}
.modal {
  background: var(--bg-secondary); border: 1px solid var(--border-card);
  border-radius: var(--radius-lg); padding: 32px; max-width: 500px; width: 90%;
  animation: scaleIn 0.3s ease-out;
}
.modal__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.modal__title { font-size: 1.2rem; font-weight: 700; }
.modal__close {
  width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
  background: var(--bg-glass); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm); color: var(--text-secondary); cursor: pointer;
}
.modal__close:hover { background: var(--red-dim); color: var(--red); }

/* ═══ SPINNER ═══ */
.spinner {
  width: 24px; height: 24px; border: 3px solid var(--border-subtle);
  border-top-color: var(--cyan); border-radius: 50%; animation: spin 0.8s linear infinite;
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 768px) {
  .navbar__links { display: none; }
  .navbar__actions { display: none; }
  .navbar__hamburger { display: flex; }
}

/* ═══ ICON UTILITIES (Lucide) ═══ */
.icon {
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0; vertical-align: middle;
}
.icon svg { width: 1em; height: 1em; stroke-width: 2; }
.icon--xs svg { width: 14px; height: 14px; }
.icon--sm svg { width: 16px; height: 16px; }
.icon--nav svg { width: 16px; height: 16px; }
.icon--lg svg { width: 24px; height: 24px; }

/* ═══ PAYMENT BOX ═══ */
.payment-box {
  background: var(--bg-glass);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 28px;
}
.payment-box__info { display: flex; flex-direction: column; gap: 12px; }
.payment-box__row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.payment-box__label { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }
.payment-box__value { font-weight: 600; color: var(--text-primary); }
.payment-box__value--highlight {
  font-size: 1.2rem; font-weight: 800;
  background: var(--gradient-hero); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.payment-box__wallet {
  font-family: var(--font-mono); font-size: 0.82rem;
  background: var(--bg-primary); color: var(--cyan);
  padding: 6px 12px; border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle); word-break: break-all;
}
.payment-box__divider { height: 1px; background: var(--border-subtle); margin: 4px 0; }
.payment-box__form { border-top: 1px solid var(--border-subtle); padding-top: 20px; }

/* ═══ PRICING CARD (Dashboard version) ═══ */
.pricing-cards {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px;
}
.pricing-card {
  background: var(--bg-card);
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 28px 24px; text-align: center;
  cursor: pointer; transition: all var(--transition-base);
  position: relative;
}
.pricing-card:hover {
  border-color: var(--border-accent); transform: translateY(-3px);
  box-shadow: var(--shadow-glow-cyan);
}
.pricing-card--featured { border-color: var(--cyan); box-shadow: 0 0 20px rgba(0,240,255,0.15); }
.pricing-card--selected { border-color: var(--purple) !important; box-shadow: 0 0 20px rgba(120,80,255,0.25) !important; }

/* ═══ DASHBOARD SERVER GRID ═══ */
.dash__server-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px;
}
.dash__server-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; background: var(--bg-glass);
  border: 1px solid var(--border-subtle); border-radius: var(--radius-md);
  font-size: 0.9rem; font-weight: 500;
}

/* ═══ STATUS INDICATOR ═══ */
.status-indicator {
  width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0;
}
.status-indicator--online {
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse-dot 2s ease-in-out infinite;
}
.status-indicator--offline { background: var(--red); }
.status-indicator--maintenance { background: var(--amber); }
.status-indicator--loading { background: var(--text-muted); }
@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--green); }
  50% { opacity: 0.7; box-shadow: 0 0 14px var(--green); }
}

/* ═══ GATEWAY TABS ═══ */
.gateway-tabs {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px;
}
.gateway-tab {
  padding: 8px 20px; border-radius: var(--radius-full);
  background: var(--bg-glass); border: 1px solid var(--border-subtle);
  color: var(--text-secondary); font-size: 0.9rem; font-weight: 600;
  cursor: pointer; transition: all var(--transition-fast);
}
.gateway-tab:hover { border-color: var(--border-accent); color: var(--text-primary); }
.gateway-tab.active { background: var(--cyan-dim); border-color: var(--cyan); color: var(--cyan); }


