/* Variables */
:root {
  --primary: #9c27b0;
  --primary-dark: #7b1fa2;
  --primary-light: #e1bee7;
  --accent: #ffc107;
  --accent-dark: #ffa000;
  --gold: #ffc107;
  --platinum: #e91e63;
  --dark: #1a1a2e;
  --darker: #0f0f1a;
  --white: #ffffff;
  --gray: rgba(255, 255, 255, 0.7);
  --gray-dark: rgba(255, 255, 255, 0.5);
  --gradient: linear-gradient(135deg, var(--primary) 0%, #e91e63 100%);
  --gradient-accent: linear-gradient(135deg, var(--accent) 0%, #ff5722 100%);
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--darker);
  color: var(--white);
  line-height: 1.6;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 80px 24px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(156, 39, 176, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(233, 30, 99, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 50% 100%, rgba(255, 193, 7, 0.2) 0%, transparent 50%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
}

/* Logo */
.logo {
  margin-bottom: 40px;
}

.logo-text {
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
}

.highlight {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Typography */
h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.subtitle {
  font-size: 1.25rem;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 40px;
}

/* Stats Row */
.stats-row {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--gray);
}

/* CTA Button */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 48px;
  background: var(--gradient);
  color: var(--white);
  font-family: inherit;
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 40px rgba(156, 39, 176, 0.4);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 50px rgba(156, 39, 176, 0.5);
}

.cta-button.secondary {
  background: transparent;
  border: 2px solid var(--primary);
  box-shadow: none;
}

.cta-button.secondary:hover {
  background: var(--primary);
  box-shadow: 0 10px 40px rgba(156, 39, 176, 0.3);
}

.cta-button .arrow {
  transition: transform 0.3s ease;
}

.cta-button:hover .arrow {
  transform: translateX(5px);
}

/* Content Sections */
.content-section {
  position: relative;
  z-index: 1;
  padding: 60px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 32px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  justify-items: center;
}

.content-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 280px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.content-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(156, 39, 176, 0.2);
  border-color: var(--primary);
}

.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.card-image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.content-card:hover .card-image {
  transform: scale(1.05);
}

.card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-featured {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 1.5rem;
}

.card-content {
  padding: 16px;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--gray);
  margin-bottom: 8px;
}

.card-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 12px 0;
  color: var(--white);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.card-tag {
  background: rgba(156, 39, 176, 0.2);
  color: var(--primary-light);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
}

.section-cta {
  text-align: center;
  margin-top: 32px;
}

.cta-button-small {
  display: inline-block;
  padding: 12px 28px;
  background: transparent;
  color: var(--primary);
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--primary);
  border-radius: 30px;
  transition: all 0.3s ease;
}

.cta-button-small:hover {
  background: var(--gradient);
  color: var(--white);
  border-color: transparent;
  transform: translateY(-2px);
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(156, 39, 176, 0.2);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 40px auto;
}

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

.error-message {
  text-align: center;
  color: var(--gray);
  padding: 40px;
}

/* SixAds Banner */
.sixads-section {
  position: relative;
  z-index: 1;
  padding: 40px 24px;
  background: linear-gradient(to bottom, transparent, var(--darker));
}

.sixads-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--gray);
}

.sixads-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.banner-section {
  flex: 1 1 calc(33.33% - 20px);
  max-width: 300px;
}

.banner-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.banner-img:hover {
  transform: scale(1.02);
}

.sixads-link {
  display: block;
  text-align: center;
  margin-top: 8px;
}

.sixads-link a {
  display: inline-block;
  background: var(--gradient);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.sixads-link a:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(156, 39, 176, 0.4);
}

/* Sections */
.section {
  padding: 100px 24px;
}

.section-dark {
  background: rgba(0, 0, 0, 0.3);
}

.section-cta {
  background: var(--gradient);
  text-align: center;
  padding: 80px 24px;
}

.section-cta h2 {
  margin-bottom: 16px;
}

.section-cta p {
  font-size: 1.125rem;
  opacity: 0.9;
  margin-bottom: 32px;
}

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

.cta-buttons .cta-button {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.cta-buttons .cta-button.secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.section-subtitle {
  text-align: center;
  color: var(--gray);
  font-size: 1.125rem;
  margin-bottom: 48px;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 32px;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
}

.pricing-card.featured {
  border-color: var(--gold);
  background: rgba(255, 193, 7, 0.1);
}

.pricing-card.premium {
  border-color: var(--platinum);
  background: rgba(233, 30, 99, 0.1);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #000;
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.pricing-header {
  text-align: center;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-header h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.price {
  font-size: 2.5rem;
  font-weight: 800;
}

.price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--gray);
}

.pricing-features {
  list-style: none;
  margin-bottom: 24px;
}

.pricing-features li {
  padding: 8px 0;
  color: var(--gray);
}

.pricing-features li.disabled {
  opacity: 0.5;
}

.pricing-btn {
  display: block;
  width: 100%;
  padding: 14px;
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.pricing-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.pricing-btn.primary {
  background: var(--gradient);
}

.pricing-btn.primary:hover {
  box-shadow: 0 10px 30px rgba(156, 39, 176, 0.4);
}

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.benefit-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.benefit-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.benefit-content h3 {
  margin-bottom: 8px;
}

.benefit-content p {
  color: var(--gray);
  font-size: 0.9375rem;
}

/* Footer */
footer {
  padding: 40px 24px;
  text-align: center;
  background: var(--darker);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--gray);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-links .divider {
  color: rgba(255, 255, 255, 0.2);
}

.copyright {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}

.copyright a {
  color: var(--primary);
  text-decoration: none;
}

/* Network Section */
.network-section {
  padding: 40px 24px;
  background: rgba(0, 0, 0, 0.3);
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.network-section > div h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--primary);
}

.network-section > div ul {
  list-style: none;
}

.network-section > div ul li {
  margin-bottom: 6px;
}

.network-section > div ul li a {
  color: var(--gray);
  text-decoration: none;
  font-size: 0.8125rem;
  transition: color 0.3s;
}

.network-section > div ul li a:hover {
  color: var(--primary);
}

@media (max-width: 900px) {
  .network-section {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .network-section {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .banner-section {
    flex: 1 1 calc(50% - 20px);
  }
}

@media (max-width: 768px) {
  .stats-row {
    gap: 32px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

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

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-button {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .banner-section {
    flex: 1 1 100%;
    max-width: 280px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 60px 16px;
  }

  .section {
    padding: 60px 16px;
  }

  .pricing-card {
    padding: 24px;
  }
}
