/* Main CSS for new design - Dark Theme */

/* Body gets the base background so particles can float above it */
body {
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  min-height: 100vh;
}

#particleCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.6;
  background: transparent;
}


/* Page Wrapper - transparent so particles show through */
.page-wrapper {
  min-height: 100vh;
  background: transparent;
  position: relative;
  z-index: 2;
}

/* Ripple Click Effect */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: scale(0);
  animation: ripple-effect 0.6s ease-out;
  pointer-events: none;
  z-index: 9999;
}

@keyframes ripple-effect {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Shimmer Loading Effect */
.shimmer-container {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    width: 100%;
}

.shimmer-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 20px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.shimmer-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(139, 92, 246, 0.08) 50%,
        transparent 100%
    );
    animation: shimmer-slide 2s infinite ease-in-out;
}

@keyframes shimmer-slide {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.shimmer-line {
    height: 12px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 6px;
    margin-bottom: 15px;
    position: relative;
}

.shimmer-line.header { height: 24px; width: 40%; margin-bottom: 24px; }
.shimmer-line.id { height: 16px; width: 25%; margin-bottom: 20px; }
.shimmer-line.block { height: 60px; width: 100%; margin-bottom: 12px; border-radius: 12px; }
.shimmer-line.button { height: 48px; width: 100%; margin-bottom: 12px; border-radius: 12px; }
.shimmer-line.short { width: 60%; }

/* Ensure ripples are contained in all buttons and button-like links */
button, 
.btn-primary, .btn-secondary, 
.nav-btn-primary, .nav-btn-secondary,
.btn-hero-primary, .btn-hero-secondary,
.btn-cta-primary, .btn-cta-secondary,
.visual-btn, .cta-button, .btn-chip {
  position: relative !important;
  overflow: hidden !important;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(26, 23, 41, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
}

.logo-icon {
  font-size: 28px;
}

.logo-text {
  background: linear-gradient(
    90deg,
    #ff0080,
    #ff8c00,
    #40ff00,
    #00ffff,
    #0080ff,
    #8000ff
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  animation: gradient-shift 4s linear infinite;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-purple);
  transition: width 0.3s;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.admin-link {
  color: var(--accent-cyan);
  font-weight: 600;
}

.nav-link.admin-link:hover {
  color: #60a5fa;
}

.nav-link.admin-link::after {
  background: var(--accent-cyan);
}

.nav-actions {
  display: flex;
  gap: 12px;
  margin-left: 16px;
}

.nav-btn-secondary,
.nav-btn-primary {
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s;
}

.nav-btn-secondary {
  color: var(--text-primary);
  background: transparent;
  border: 1px solid var(--border-subtle);
}

.nav-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
}

.nav-btn-primary {
  color: var(--text-primary);
  background: linear-gradient(135deg, var(--accent-purple) 0%, #7C3AED 100%);
  border: none;
  box-shadow: 0 4px 20px var(--glow-purple);
}

.nav-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px var(--glow-purple);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s;
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  bottom: -8px;
}

/* Hero Section */
.hero-section {
  padding: 140px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -25%;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-label {
  display: inline-block;
  color: var(--accent-purple-light);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 24px;
  text-shadow: 0 0 20px var(--glow-purple);
}

.hero-title {
  font-size: 56px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 24px 0;
  line-height: 1.1;
  letter-spacing: -1px;
}

.gradient-text {
  background: linear-gradient(
    90deg,
    #ff0080,
    #ff8c00,
    #40ff00,
    #00ffff,
    #0080ff,
    #8000ff
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  animation: gradient-shift 4s linear infinite;
}

/* GPU-composited: filter runs on the compositor thread, unlike background-position */
@keyframes gradient-shift {
  from { filter: hue-rotate(0deg); }
  to   { filter: hue-rotate(360deg); }
}


.hero-description {
  font-size: 18px;
  color: var(--text-secondary);
  margin: 0 0 32px 0;
  line-height: 1.6;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.btn-hero-primary,
.btn-hero-secondary {
  padding: 16px 32px;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-hero-primary {
  background: linear-gradient(135deg, var(--accent-purple) 0%, #7C3AED 100%);
  color: var(--text-primary);
  box-shadow: 0 4px 20px var(--glow-purple);
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--glow-purple);
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-icon {
  width: 20px;
  height: 20px;
}

.hero-stats {
  display: flex;
  gap: 48px;
}

.stat-item {
  text-align: left;
}

.stat-value {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-purple-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 14px;
  color: var(--text-muted);
}

/* Hero Visual Card */
.hero-visual {
  position: relative;
}

.visual-card {
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-elevated);
}

.visual-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.visual-status {
  font-size: 14px;
  font-weight: 600;
}

.visual-status.online {
  color: var(--accent-green);
}

.visual-network {
  font-size: 13px;
  color: var(--text-muted);
  background: var(--card-elevated);
  padding: 4px 12px;
  border-radius: 12px;
}

.visual-body {
  margin-bottom: 24px;
}

.visual-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.visual-label {
  font-size: 14px;
  color: var(--text-muted);
}

.visual-value {
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 600;
  font-family: 'Courier New', monospace;
}

.visual-value.success {
  color: var(--accent-green);
}

.visual-btn {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, var(--accent-purple) 0%, #7C3AED 100%);
  border: none;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.visual-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px var(--glow-purple);
}

/* Features Section */
.features-section {
  padding: 80px 24px;
  position: relative;
}

.section-container {
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  display: inline-block;
  color: var(--accent-purple-light);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: 42px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 16px 0;
}

.section-description {
  font-size: 18px;
  color: var(--text-secondary);
  margin: 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-purple);
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.2);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-icon.purple {
  background: rgba(139, 92, 246, 0.2);
  color: var(--accent-purple-light);
}

.feature-icon.cyan {
  background: rgba(59, 130, 246, 0.2);
  color: var(--accent-cyan);
}

.feature-icon.pink {
  background: rgba(236, 72, 153, 0.2);
  color: var(--accent-pink);
}

.feature-icon.green {
  background: rgba(16, 185, 129, 0.2);
  color: var(--accent-green);
}

.feature-icon.orange {
  background: rgba(251, 146, 60, 0.2);
  color: #FB923C;
}

.feature-icon.blue {
  background: rgba(59, 130, 246, 0.2);
  color: #60A5FA;
}

.feature-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 12px 0;
}

.feature-description {
  font-size: 15px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

/* Networks Section */
.networks-section {
  padding: 80px 24px;
  background: rgba(0, 0, 0, 0.2);
}

.networks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.network-card {
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  transition: all 0.3s;
}

.network-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.2);
}

.network-badge {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.network-badge.telekom {
  background: rgba(226, 0, 116, 0.2);
  color: #E20074;
}

.network-badge.vodafone {
  background: rgba(230, 0, 0, 0.2);
  color: #E60000;
}

.network-badge.o2 {
  background: rgba(0, 159, 227, 0.2);
  color: #009FE3;
}

.network-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 12px 0;
}

.network-description {
  font-size: 15px;
  color: var(--text-secondary);
  margin: 0 0 20px 0;
}

.network-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.network-features li {
  background: var(--card-elevated);
  padding: 6px 16px;
  border-radius: 12px;
  font-size: 13px;
  color: var(--text-secondary);
}

/* CTA Section */
.cta-section {
  padding: 80px 24px;
}

.cta-container {
  max-width: 900px;
  margin: 0 auto;
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  box-shadow: var(--shadow-elevated);
}

.cta-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 16px 0;
}

.cta-description {
  font-size: 18px;
  color: var(--text-secondary);
  margin: 0 0 32px 0;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.btn-cta-primary,
.btn-cta-secondary {
  padding: 16px 32px;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-cta-primary {
  background: linear-gradient(135deg, var(--accent-purple) 0%, #7C3AED 100%);
  color: var(--text-primary);
  box-shadow: 0 4px 20px var(--glow-purple);
}

.btn-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--glow-purple);
}

.btn-cta-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* Footer */
.footer {
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid var(--border-subtle);
  padding: 60px 24px 24px;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column {}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-description {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 24px 0;
  max-width: 320px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--card-elevated);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.3s;
}

.social-link:hover {
  background: var(--accent-purple);
  color: var(--text-primary);
  border-color: var(--accent-purple);
  transform: translateY(-2px);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

.payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.payment-badge {
  background: var(--card-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}

.payment-badge:hover {
  background: var(--card-hover);
  border-color: var(--accent-purple);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.footer-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 20px 0;
}

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

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--accent-purple-light);
}

.payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.payment-badge {
  background: var(--card-elevated);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright,
.footer-note {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

/* Page Title & Description */
.page-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 16px 0;
  text-align: center;
}

.page-description {
  font-size: 18px;
  color: var(--text-secondary);
  margin: 0;
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 73px;
    left: 0;
    right: 0;
    background: rgba(26, 23, 41, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--border-subtle);
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s;
    pointer-events: none;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-actions {
    margin-left: 0;
    width: 100%;
    flex-direction: column;
  }

  .nav-btn-secondary,
  .nav-btn-primary {
    width: 100%;
    text-align: center;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero-section {
    padding: 100px 16px 60px;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 24px;
  }

  .features-grid,
  .networks-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .btn-cta-primary,
  .btn-cta-secondary {
    width: 100%;
  }
}

/* FAQ Section */
.faq-section {
  padding: 140px 24px 80px;
}

.faq-container {
  max-width: 1200px;
  margin: 0 auto;
}

.faq-header {
  text-align: center;
  margin-bottom: 60px;
}

.faq-grid {
  display: grid;
  gap: 40px;
}

.faq-category {
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.category-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 24px 0;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 20px 0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  padding: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  transition: color 0.3s;
}

.faq-question:hover {
  color: var(--accent-purple-light);
}

.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--accent-purple-light);
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  transition: max-height 0.5s ease-in;
}

.faq-answer p {
  margin: 16px 0 0 0;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.faq-cta {
  margin-top: 60px;
  text-align: center;
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
}

.faq-cta-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 12px 0;
}

.faq-cta-description {
  font-size: 16px;
  color: var(--text-secondary);
  margin: 0 0 24px 0;
}

.btn-faq-cta {
  display: inline-block;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--accent-purple) 0%, #7C3AED 100%);
  color: var(--text-primary);
  text-decoration: none;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  transition: all 0.3s;
  box-shadow: 0 4px 20px var(--glow-purple);
}

.btn-faq-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--glow-purple);
}

/* Contact Section */
.contact-section {
  padding: 140px 24px 80px;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-header {
  text-align: center;
  margin-bottom: 60px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.info-card {
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  transition: all 0.3s;
}

.info-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-purple);
}

.info-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.info-icon svg {
  width: 24px;
  height: 24px;
}

.info-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 8px 0;
}

.info-description {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 12px 0;
}

.info-link {
  font-size: 14px;
  color: var(--accent-purple-light);
  text-decoration: none;
  font-weight: 500;
}

.info-link:hover {
  text-decoration: underline;
}


@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    padding: 0 16px;
  }
}

/* Dashboard Section */
.dashboard-section {
  padding: 140px 24px 80px;
  min-height: 100vh;
}

.dashboard-container {
  max-width: 1400px;
  margin: 0 auto;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
}

.dashboard-title {
  font-size: 42px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 12px 0;
}

.dashboard-description {
  font-size: 16px;
  color: var(--text-secondary);
  margin: 0;
}

.btn-refresh {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-refresh:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent-purple);
}

.btn-refresh:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-refresh .btn-icon {
  width: 18px;
  height: 18px;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.stat-card {
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.3s;
}

.stat-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-purple);
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.2);
}

.stat-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-icon svg {
  width: 28px;
  height: 28px;
}

.stat-content {
  flex: 1;
}

.stat-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Filter Tabs */
.filter-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 10px 24px;
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.filter-tab:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

.filter-tab.active {
  background: linear-gradient(135deg, var(--accent-purple) 0%, #7C3AED 100%);
  border-color: transparent;
  color: var(--text-primary);
  box-shadow: 0 4px 20px var(--glow-purple);
}

/* Proxies Section */
.proxies-section {
  min-height: 400px;
}

.proxies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 24px;
}

.proxy-card {
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  transition: all 0.3s;
  box-shadow: var(--shadow-elevated);
}

.proxy-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.2);
}

.proxy-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.proxy-accent.telekom {
  background: linear-gradient(135deg, #E20074 0%, #FF1493 100%);
  box-shadow: 0 0 20px rgba(226, 0, 116, 0.5);
}

.proxy-accent.vodafone {
  background: linear-gradient(135deg, #E60000 0%, #FF4444 100%);
  box-shadow: 0 0 20px rgba(230, 0, 0, 0.5);
}

.proxy-accent.o2 {
  background: linear-gradient(135deg, #009FE3 0%, #00C8FF 100%);
  box-shadow: 0 0 20px rgba(0, 159, 227, 0.5);
}

.proxy-accent.default {
  background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-cyan) 100%);
  box-shadow: 0 0 20px var(--glow-purple);
}

.proxy-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.proxy-status {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  animation: pulse-dot 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.status-dot.online {
  background: var(--accent-green);
  box-shadow: 0 0 10px var(--accent-green);
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

.status-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-green);
}

.proxy-badge {
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.proxy-badge.telekom {
  background: rgba(226, 0, 116, 0.2);
  color: #E20074;
}

.proxy-badge.vodafone {
  background: rgba(230, 0, 0, 0.2);
  color: #E60000;
}

.proxy-badge.o2 {
  background: rgba(0, 159, 227, 0.2);
  color: #009FE3;
}

.proxy-badge.default {
  background: rgba(139, 92, 246, 0.2);
  color: var(--accent-purple-light);
}

.proxy-body {
  margin-bottom: 20px;
}

.proxy-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.info-label {
  font-size: 13px;
  color: var(--text-muted);
}

.info-value {
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 600;
}

.info-value.mono {
  font-family: 'Courier New', monospace;
  font-size: 13px;
}

.proxy-footer {
  display: flex;
  gap: 12px;
}

.btn-rotate-ip {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  background: linear-gradient(135deg, var(--accent-purple) 0%, #7C3AED 100%);
  border: none;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 20px var(--glow-purple);
}

.btn-rotate-ip:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px var(--glow-purple);
}

.btn-rotate-ip:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-rotate-ip .btn-icon {
  width: 16px;
  height: 16px;
}

.btn-copy {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s;
}

.btn-copy:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent-purple-light);
  border-color: var(--accent-purple);
}

.btn-copy .btn-icon {
  width: 18px;
  height: 18px;
}

/* Loading State */
.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  text-align: center;
}

.loading-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--border-subtle);
  border-top-color: var(--accent-purple);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

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

.loading-state p {
  color: var(--text-secondary);
  font-size: 15px;
  margin: 0;
}

/* Error State */
.error-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  text-align: center;
}

.error-icon {
  width: 64px;
  height: 64px;
  color: #F87171;
  margin-bottom: 20px;
}

.error-state p {
  color: var(--text-secondary);
  font-size: 15px;
  margin: 0;
}

/* Empty State */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  text-align: center;
}

.empty-icon {
  width: 64px;
  height: 64px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.empty-state p {
  color: var(--text-secondary);
  font-size: 16px;
  margin: 0 0 24px 0;
}

.btn-empty-cta {
  display: inline-block;
  padding: 12px 32px;
  background: linear-gradient(135deg, var(--accent-purple) 0%, #7C3AED 100%);
  color: var(--text-primary);
  text-decoration: none;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s;
  box-shadow: 0 4px 20px var(--glow-purple);
}

.btn-empty-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--glow-purple);
}

/* Dashboard Responsive */
@media (max-width: 768px) {
  .dashboard-section {
    padding: 100px 16px 60px;
  }

  .dashboard-header {
    flex-direction: column;
    gap: 20px;
  }

  .btn-refresh {
    width: 100%;
    justify-content: center;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .proxies-grid {
    grid-template-columns: 1fr;
  }

  .filter-tabs {
    flex-direction: column;
  }

  .filter-tab {
    width: 100%;
  }
}

/* Auth Section */
.auth-section {
  padding: 140px 24px 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-section .auth-form {
  max-width: 450px;
  width: 100%;
  margin: 0 auto;
}

.auth-section .error {
  color: #F87171;
  font-size: 14px;
  margin: 12px 0;
  padding: 12px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-sm);
}

.auth-section .success {
  color: var(--accent-green);
  font-size: 14px;
  margin: 12px 0;
  padding: 12px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid var(--accent-green);
  border-radius: var(--radius-sm);
}

.auth-section .success-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.auth-section .error a,
.auth-section .success a {
  color: inherit;
  text-decoration: underline;
  opacity: 0.85;
}

.auth-section .error a:hover,
.auth-section .success a:hover {
  opacity: 1;
}

/* Pricing Section Adjustment */
.pricing-section {
  padding-top: 140px;
}

/* Auth Responsive */
@media (max-width: 768px) {
  .auth-section {
    padding: 100px 16px 60px;
  }
}

/* Admin Dashboard */
.admin-section {
  padding: 120px 24px 60px;
  min-height: 100vh;
}

.admin-container {
  max-width: 1200px;
  margin: 0 auto;
}

.admin-container h1 {
  font-size: 32px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.admin-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.tab-btn {
  padding: 12px 24px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s;
  font-size: 14px;
}

.tab-btn:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
  border-color: transparent;
  color: white;
}

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

.stat-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
}

.stat-card h3 {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.stat-value {
  font-size: 32px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.users-table-container {
  overflow-x: auto;
}

.users-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.users-table th,
.users-table td {
  padding: 12px 10px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
  font-size: 13px;
}

.users-table th {
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 14px;
}

.users-table td {
  color: var(--text-primary);
}

.users-table tr:hover {
  background: var(--bg-tertiary);
}

@media (max-width: 768px) {
  .admin-section {
    padding: 100px 16px 40px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-value {
    font-size: 24px;
  }
}

/* Admin Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.modal {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-elevated);
  animation: modal-in 0.3s ease-out;
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal h2 {
  margin: 0 0 24px 0;
  font-size: 24px;
  color: var(--text-primary);
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 32px;
}

/* Admin Actions */
.row-actions {
  display: flex;
  gap: 8px;
  white-space: nowrap;
}

.btn-small {
  padding: 6px 12px;
  font-size: 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid var(--border-subtle);
  background: var(--bg-tertiary);
  color: var(--text-primary);
  transition: all 0.2s;
}

.btn-small:hover {
  background: var(--accent-purple);
  border-color: var(--accent-purple);
}

.btn-danger {
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
  background: rgba(239, 68, 68, 0.1);
  border-color: #ef4444;
}

.status-badge {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.status-badge.active,
.status-badge.completed,
.status-badge.success {
  background: rgba(16, 185, 129, 0.2);
  color: var(--accent-green);
}

.status-badge.inactive,
.status-badge.expired,
.status-badge.failed,
.status-badge.cancelled {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.status-badge.pending {
  background: rgba(245, 158, 11, 0.2);
  color: #f59e0b;
}

.table-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.search-box {
  position: relative;
  min-width: 280px;
}

.search-box input {
  width: 100%;
  padding: 10px 16px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 14px;
  outline: none;
  transition: all 0.3s;
}

.search-box input:focus {
  border-color: var(--accent-purple);
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.2);
  background: var(--card-elevated);
}

.search-box input::placeholder {
  color: var(--text-muted);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--accent-purple);
}

.form-group.checkbox label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.form-group.checkbox input {
  width: auto;
}

.product-target {
  display: flex;
  flex-direction: column;
}

.sub-text {
  font-size: 12px;
  color: var(--text-muted);
}

.btn-primary,
.btn-secondary {
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
  border: none;
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}
/* Toggle Switch Styling */
.toggle-switch {
  display: flex;
  align-items: center;
  width: fit-content;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.toggle-switch .toggle-label {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 22px; /* exact match to slider height */
  margin-top: 1px; /* Optical alignment tweak */
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.slider {
  position: relative;
  width: 44px;
  height: 22px;
  background-color: var(--card-elevated);
  border: 1px solid var(--border-subtle);
  transition: .3s;
  border-radius: 34px;
  flex-shrink: 0;
}

.slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: var(--text-muted);
  transition: .3s;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.toggle-switch input:checked + .slider {
  background: linear-gradient(135deg, var(--accent-purple) 0%, #7C3AED 100%);
  border-color: var(--accent-purple-light);
  box-shadow: 0 0 15px var(--glow-purple);
}

.toggle-switch input:checked + .slider:before {
  transform: translateX(22px);
  background-color: white;
}

.toggle-switch:hover .slider {
  border-color: var(--accent-purple);
}

.toggle-switch input:focus + .slider {
  box-shadow: 0 0 1px var(--accent-purple);
}

/* Referral Program Styles */
.nav-link.special-link {
  color: var(--accent-green) !important;
  font-weight: 700 !important;
  text-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

.nav-link.special-link:hover {
  color: #34d399 !important;
}

.nav-link.special-link::after {
  background: var(--accent-green) !important;
}

.referral-page-container {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.referral-main {
  padding-top: 100px;
}

.referral-hero {
  padding: 80px 24px;
  text-align: center;
  background: radial-gradient(circle at center, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
}

.referral-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(139, 92, 246, 0.2);
  color: var(--accent-purple-light);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.referral-hero h1 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 0%, var(--accent-purple-light) 100%);
  -webkit-background-clip: text;
  -webkit-background-fill-color: transparent;
}

.referral-hero .hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.referral-how-it-works {
  padding: 80px 24px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 48px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.step-card {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 40px;
  position: relative;
  transition: transform 0.3s;
}

.step-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-purple);
}

.step-num {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 40px;
  font-weight: 900;
  color: rgba(255,255,255,0.05);
}

.step-icon {
  font-size: 48px;
  margin-bottom: 24px;
}

.referral-example {
  padding: 60px 24px;
}

.example-box {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(0,0,0,0.2);
  border-radius: 20px;
  padding: 40px;
  border: 1px solid var(--border-subtle);
}

.example-math {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.math-node {
  background: var(--card-elevated);
  padding: 16px 24px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.math-node.highlighted {
  border: 1px solid var(--accent-purple);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
}

.math-node.success {
  border: 1px solid var(--accent-green);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.math-operator {
  font-size: 24px;
  color: var(--text-muted);
}

.referral-cta {
  padding: 100px 24px;
}

.cta-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
  padding: 60px;
  border-radius: 32px;
  border: 1px solid var(--accent-purple);
}

.cta-btns {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 32px;
}

.big-btn {
  padding: 16px 40px;
  font-size: 16px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
}

.referral-info-box {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid var(--accent-green);
  color: var(--accent-green);
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}
/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    pointer-events: none;
}

.toast-item {
    pointer-events: auto;
    min-width: 320px;
    max-width: 450px;
    padding: 1.25rem 1.5rem;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: toast-slide-in 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    position: relative;
    overflow: hidden;
}

.toast-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
}

.toast-item.success::before { background: var(--accent-green); }
.toast-item.error::before { background: #ef4444; }
.toast-item.info::before { background: var(--accent-cyan); }
.toast-item.warning::before { background: #f59e0b; }

.toast-item.success { border-color: rgba(16, 185, 129, 0.3); }
.toast-item.error { border-color: rgba(239, 68, 68, 0.3); }
.toast-item.info { border-color: rgba(59, 130, 246, 0.3); }
.toast-item.warning { border-color: rgba(245, 158, 11, 0.3); }

.toast-icon {
    font-size: 1.25rem;
}

.toast-message {
    flex: 1;
    font-size: 0.9375rem;
    font-weight: 500;
}

.toast-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 0 0.25rem;
    transition: color 0.2s;
}

.toast-close:hover {
    color: white;
}

@keyframes toast-slide-in {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ══════════════════════════════════════════════════════
   PROXY TESTER TAB
══════════════════════════════════════════════════════ */

.proxy-tester-tab {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tester-top-bar {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    flex-wrap: wrap;
}

.tester-user-selector {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tester-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tester-select {
    background: var(--card-bg);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 14px;
    min-width: 320px;
    padding: 10px 14px;
}

.tester-select:focus {
    border-color: var(--accent-color);
    outline: none;
}

.tester-spinner {
    color: var(--text-muted);
    font-size: 13px;
    padding: 4px 0;
}

/* ── Summary bar ── */
.tester-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 14px 18px;
    background: var(--card-bg);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
}

.tester-stat {
    font-size: 13px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

.tester-stat-live    { background: rgba(34, 197, 94, 0.15); color: #22c55e; }
.tester-stat-dead    { background: rgba(239, 68, 68, 0.15); color: #ef4444; }
.tester-stat-ip-ok   { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.tester-stat-ip-fail { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.tester-stat-untested { background: rgba(156, 163, 175, 0.15); color: #9ca3af; }

/* ── Actions bar ── */
.tester-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.tester-filters {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--card-bg);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 13px;
    padding: 6px 12px;
    transition: all 0.15s ease;
}

.filter-btn:hover { border-color: var(--accent-color); color: var(--text-primary); }
.filter-btn.active { background: var(--accent-color); border-color: var(--accent-color); color: #fff; font-weight: 600; }

/* ── Table ── */
.tester-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.tester-table thead th {
    background: var(--card-bg);
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    padding: 10px 12px;
    text-align: left;
    text-transform: uppercase;
    white-space: nowrap;
}

.tester-table tbody tr { border-bottom: 1px solid var(--border-subtle); }
.tester-table tbody tr:hover { background: rgba(255,255,255,0.02); }
.tester-table tbody td { padding: 10px 12px; vertical-align: middle; }

.tester-row-testing { opacity: 0.75; }

.tester-port    { font-family: monospace; font-weight: 700; color: var(--text-primary); }
.tester-user    { font-family: monospace; font-size: 12px; color: var(--text-muted); }
.tester-ip      { font-family: monospace; font-size: 12px; }
.tester-country { font-size: 14px; white-space: nowrap; }

.tester-action-btn {
    font-size: 12px !important;
    padding: 5px 10px !important;
    white-space: nowrap;
}

/* ── Status badges ── */
.status-badge {
    border-radius: 5px;
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 3px 8px;
    text-transform: uppercase;
    white-space: nowrap;
}

.status-badge-live      { background: rgba(34, 197, 94, 0.15); color: #22c55e; }
.status-badge-dead      { background: rgba(239, 68, 68, 0.15); color: #ef4444; }
.status-badge-testing   { background: rgba(245, 158, 11, 0.15); color: #f59e0b; animation: tester-pulse 1.2s ease-in-out infinite; }
.status-badge-untested  { background: rgba(156, 163, 175, 0.1); color: #9ca3af; }
.status-badge-changed   { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.status-badge-no-change { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.status-badge-failed    { background: rgba(239, 68, 68, 0.15); color: #ef4444; }

.tester-loading,
.tester-empty {
    color: var(--text-muted);
    font-size: 14px;
    padding: 32px 0;
    text-align: center;
}

@keyframes tester-pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.5; }
}
