/* Premium Page Styles - Purple/Pink Theme */

:root {
  --premium-primary: #976bf5;
  --premium-secondary: #e1a4f4;
  --premium-accent: #5b52ff;
  --premium-bg: #0f0c1c;
  --premium-card-bg: #1a1630;
  --premium-text: #ffffff;
  --premium-muted: #a0a0a0;
  --premium-gradient: linear-gradient(135deg, #976bf5 0%, #e1a4f4 100%);
  --premium-gradient-hover: linear-gradient(135deg, #8b5fe8 0%, #d594e8 100%);
}

/* Premium Background */
.premium-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

#starfield {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Spotlight Animations */
.spotlight {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(151, 107, 245, 0.15) 0%, transparent 70%);
  opacity: 0;
  animation: spotlightMove 8s ease-in-out infinite;
}

.spotlight-1 {
  animation-delay: 0s;
  animation-duration: 10s;
}

.spotlight-2 {
  animation-delay: 2s;
  animation-duration: 12s;
}

.spotlight-3 {
  animation-delay: 4s;
  animation-duration: 14s;
}

@keyframes spotlightMove {
  0%, 100% {
    transform: translate(-30%, -30%) scale(1);
    opacity: 0;
  }
  50% {
    transform: translate(30%, 30%) scale(1.2);
    opacity: 0.6;
  }
}

/* Hero Section */
.premium-hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 80px;
  position: relative;
}

.hero-content {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  background: var(--premium-gradient);
  color: white;
  padding: 8px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease-out;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease-out 0.4s backwards;
  letter-spacing: 0.01em;
}

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

/* Pricing Section */
.premium-pricing {
  padding: 80px 20px 100px;
  overflow: visible;
}

.pricing-grid {
  display: grid;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
  overflow: visible;
}

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

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.01em;
}

.pricing-category {
  margin-bottom: 60px;
}

.category-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--premium-secondary);
  margin-bottom: 32px;
  text-align: center;
  letter-spacing: 0.01em;
}

/* Server Selector */
.server-selector-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 32px;
}

.server-selector-label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 16px;
  font-weight: 500;
}

.server-selector {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.server-option {
  width: 50px;
  height: 50px;
  border: 2px solid rgba(151, 107, 245, 0.3);
  background: rgba(26, 22, 48, 0.8);
  color: white;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.server-option:hover {
  border-color: var(--premium-primary);
  background: rgba(151, 107, 245, 0.2);
  transform: translateY(-2px);
}

.server-option.active {
  background: var(--premium-gradient);
  border-color: var(--premium-primary);
  box-shadow: 0 4px 12px rgba(151, 107, 245, 0.4);
}

.pricing-grid {
  display: grid;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
  overflow: visible;
}

.pricing-grid-monthly {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.pricing-grid-unified {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  max-width: 1000px;
}

.pricing-grid-special {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  max-width: 800px;
}

.pricing-card {
  background: var(--premium-card-bg);
  border: 1px solid rgba(151, 107, 245, 0.2);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: visible;
}

.pricing-card::after {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  border-radius: 28px;
  box-shadow: 0 0 0 rgba(151, 107, 245, 0);
  transition: box-shadow 0.4s ease;
  pointer-events: none;
  z-index: -1;
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: var(--premium-primary);
}

.pricing-card:hover::after {
  box-shadow: 0 0 30px rgba(151, 107, 245, 0.15);
}

.card-header h4 {
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}

.price {
  font-size: 3rem;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.price .period {
  font-size: 1rem;
  font-weight: 400;
  color: var(--premium-muted);
}

.price-note {
  font-size: 0.9rem;
  color: var(--premium-muted);
  margin-bottom: 24px;
  letter-spacing: 0.01em;
}

.discount-badge {
  display: inline-block;
  background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
  color: white;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 8px;
  letter-spacing: 0.01em;
}

.pricing-cta {
  display: flex;
  justify-content: center;
  margin-top: 64px;
  margin-bottom: 80px;
  padding: 40px 20px 20px;
  overflow: visible;
}

.pricing-cta .premium-btn-wrapper {
  display: inline-flex;
  position: relative;
}

.pricing-cta .premium-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
  border-radius: 16px;
  border: 2px solid rgba(151, 107, 245, 0.5);
  background: linear-gradient(135deg, #976bf5 0%, #e1a4f4 50%, #976bf5 100%);
  background-size: 200% 200%;
  padding: 18px 48px;
  box-shadow: 0 8px 24px rgba(151, 107, 245, 0.4), 0 0 0 1px rgba(151, 107, 245, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
  animation: premiumPulse 3s ease-in-out infinite;
}

.pricing-cta .premium-nav-btn::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, #976bf5, #e1a4f4, #5b52ff, #976bf5);
  background-size: 300% 300%;
  border-radius: 18px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: borderGlow 3s ease-in-out infinite;
}

.pricing-cta .premium-nav-btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 32px rgba(151, 107, 245, 0.6), 0 0 0 1px rgba(151, 107, 245, 0.2);
  background-position: 100% 100%;
}

.pricing-cta .premium-nav-btn:hover::before {
  opacity: 1;
}

.pricing-cta .premium-nav-btn i {
  font-size: 1.4rem;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
}

.pricing-cta .fa-star {
  position: absolute;
  font-size: 16px;
  opacity: 0;
  animation: starFloat 2.5s ease-in-out infinite;
  text-shadow: 0 0 12px currentColor;
  z-index: 100;
}

.pricing-cta .star-1 {
  top: -18px;
  right: 12px;
  animation-delay: 0s;
  color: #e1a4f4;
}

.pricing-cta .star-2 {
  top: -14px;
  right: 28px;
  animation-delay: 0.6s;
  color: #f472b6;
}

.pricing-cta .star-3 {
  top: -16px;
  right: -2px;
  animation-delay: 1.2s;
  color: #a78bfa;
}

.pricing-cta:hover .fa-star {
  opacity: 1;
}

@keyframes premiumPulse {
  0%, 100% {
    box-shadow: 0 8px 24px rgba(151, 107, 245, 0.4), 0 0 0 1px rgba(151, 107, 245, 0.1);
  }
  50% {
    box-shadow: 0 8px 32px rgba(151, 107, 245, 0.6), 0 0 0 1px rgba(151, 107, 245, 0.2);
  }
}

@keyframes borderGlow {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes starFloat {
  0%, 100% {
    transform: translateY(0) scale(1);
    opacity: 0;
  }
  50% {
    transform: translateY(-8px) scale(1.2);
    opacity: 1;
  }
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  flex-grow: 1;
}

.features-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.features-list li i {
  color: #4ade80;
  font-size: 1.1rem;
}

.features-list li i.fa-xmark {
  color: #f43f5e;
}

.btn-premium {
  width: 100%;
  padding: 16px 32px;
  background: var(--premium-gradient);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-premium:hover {
  background: var(--premium-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(151, 107, 245, 0.2);
}

/* Popular and Lifetime Cards */
.pricing-card-popular {
  border-color: var(--premium-primary);
  background: linear-gradient(135deg, rgba(151, 107, 245, 0.1) 0%, rgba(26, 22, 48, 1) 100%);
}

.pricing-card-lifetime {
  border-color: var(--premium-secondary);
  background: linear-gradient(135deg, rgba(225, 164, 244, 0.1) 0%, rgba(26, 22, 48, 1) 100%);
}

.popular-badge,
.lifetime-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--premium-primary);
  color: white;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
}

.lifetime-badge {
  background: var(--premium-secondary);
}

.btn-popular {
  background: var(--premium-gradient);
}

.btn-lifetime {
  background: linear-gradient(135deg, #e1a4f4 0%, #976bf5 100%);
}

/* Comparison Table */
.premium-comparison {
  padding: 80px 20px;
  position: relative;
}

.pricing-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(151, 107, 245, 0.3), transparent);
  margin: 0 auto 60px;
  max-width: 1200px;
}

.comparison-wrapper {
  max-width: 1000px;
  margin: 0 auto;
}

.comparison-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.comparison-row {
  display: grid;
  grid-template-columns: 1fr 120px 120px;
  gap: 20px;
  align-items: center;
  padding: 16px 24px;
  background: rgba(26, 22, 48, 0.8);
  border: 1px solid rgba(151, 107, 245, 0.2);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.comparison-row:hover {
  background: rgba(26, 22, 48, 0.95);
  border-color: rgba(151, 107, 245, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(151, 107, 245, 0.15);
}

.comparison-row.feature-name {
  background: linear-gradient(135deg, rgba(151, 107, 245, 0.15) 0%, rgba(225, 164, 244, 0.1) 100%);
  border: 1px solid rgba(151, 107, 245, 0.3);
  padding: 14px 24px;
  font-weight: 700;
  color: var(--premium-secondary);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  margin-top: 16px;
  margin-bottom: 8px;
}

.comparison-row.feature-name:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, rgba(151, 107, 245, 0.2) 0%, rgba(225, 164, 244, 0.15) 100%);
  border-color: rgba(151, 107, 245, 0.5);
}

.comparison-row.feature-name .comparison-item-name {
  display: flex;
  align-items: center;
  gap: 12px;
}

.comparison-row.feature-name i {
  font-size: 1.4rem;
  color: var(--premium-primary);
}

.comparison-item-name {
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  font-weight: 500;
  line-height: 1.4;
}

.comparison-status {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
}

.comparison-status.available {
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.2) 0%, rgba(34, 197, 94, 0.15) 100%);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.4);
}

.comparison-status.unavailable {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.15) 0%, rgba(239, 68, 68, 0.1) 100%);
  color: #f87171;
  border: 1px solid rgba(244, 63, 94, 0.3);
}

.comparison-status.limited {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.15) 0%, rgba(245, 158, 11, 0.1) 100%);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.comparison-label {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
  padding: 8px 16px;
  background: rgba(151, 107, 245, 0.1);
  border-radius: 8px;
}

.comparison-label.free {
  color: rgba(255, 255, 255, 0.6);
}

.comparison-label.premium {
  color: var(--premium-secondary);
  background: rgba(151, 107, 245, 0.2);
}

/* FAQ Section */
.premium-faq {
  padding: 80px 20px;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 16px;
  border: 1px solid rgba(151, 107, 245, 0.2);
  border-radius: 16px;
  overflow: hidden;
  background: var(--premium-card-bg);
  transition: all 0.3s ease;
}

.faq-toggle {
  width: 100%;
  padding: 24px 28px;
  background: transparent;
  border: none;
  color: white;
  font-size: 1.15rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-toggle:hover {
  background: rgba(151, 107, 245, 0.08);
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(151, 107, 245, 0.15);
  color: var(--premium-secondary);
  transition: transform 0.3s ease, background 0.3s ease;
}

.faq-item.active .faq-icon {
  background: rgba(151, 107, 245, 0.35);
  transform: rotate(45deg);
}

.faq-item:hover {
  border-color: rgba(151, 107, 245, 0.4);
  transform: translateY(-2px);
}

.faq-item.active {
  border-color: var(--premium-primary);
  box-shadow: 0 4px 20px rgba(151, 107, 245, 0.2);
}

.faq-question {
  width: 100%;
  padding: 24px 28px;
  background: transparent;
  border: none;
  color: white;
  font-size: 1.15rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  letter-spacing: 0.01em;
  position: relative;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--premium-secondary);
  transition: transform 0.3s ease;
  font-weight: 300;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-question:hover {
  background: rgba(151, 107, 245, 0.08);
}


.faq-answer {
  max-height: 0;
  overflow: hidden;
  background: rgba(151, 107, 245, 0.05);
  opacity: 0;
  pointer-events: none;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

.faq-item.active .faq-answer {
  opacity: 1;
  pointer-events: auto;
}

.faq-answer p {
  padding: 20px 28px 28px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  letter-spacing: 0.01em;
  font-size: 1rem;
}

/* CTA Section */
.premium-cta {
  padding: 100px 20px;
  text-align: center;
  background: linear-gradient(135deg, rgba(151, 107, 245, 0.2) 0%, rgba(225, 164, 244, 0.2) 100%);
  overflow: visible;
}

.premium-cta .container {
  overflow: visible !important;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
  overflow: visible;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.cta-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
  line-height: 1.7;
  letter-spacing: 0.01em;
}

.cta-subtitle .highlight {
  color: var(--premium-secondary);
  font-weight: 600;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 40px;
  background: var(--premium-gradient);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  overflow: visible;
}

.btn-cta:hover {
  background: var(--premium-gradient-hover);
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(151, 107, 245, 0.4);
}

/* Navbar Premium Link */
.nav-premium {
  background: var(--premium-gradient);
  color: white !important;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.nav-premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(151, 107, 245, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .server-option {
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }

  .pricing-grid-monthly {
    grid-template-columns: 1fr;
  }

  .pricing-grid-unified {
    grid-template-columns: 1fr;
  }

  .pricing-grid-special {
    grid-template-columns: 1fr;
  }

  .comparison-row {
    grid-template-columns: 1fr auto auto;
    gap: 16px;
    padding: 16px;
  }

  .comparison-label {
    padding: 6px 12px;
    font-size: 0.65rem;
  }

  .comparison-status {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }

  .cta-title {
    font-size: 2rem;
  }

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

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .price {
    font-size: 2.5rem;
  }

  .faq-question {
    font-size: 1rem;
  }
}
