/* Variables */
:root {
  --primary: #1976d2;
  --primary-dark: #1565c0;
  --primary-light: #e3f2fd;
  --accent: #ff9800;
  --accent-dark: #f57c00;
  --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%, #7c4dff 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;
}

/* Language Switcher */
.lang-switcher {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 100;
  display: flex;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 6px;
  border-radius: 30px;
}

.lang-btn {
  padding: 8px 16px;
  background: transparent;
  color: var(--gray);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.lang-btn:hover {
  color: var(--white);
}

.lang-btn.active {
  background: var(--gradient);
  color: var(--white);
}

/* 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(25, 118, 210, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(124, 77, 255, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 50% 100%, rgba(255, 152, 0, 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(25, 118, 210, 0.4);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 50px rgba(25, 118, 210, 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(25, 118, 210, 0.3);
}

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

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

/* 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-title {
  text-align: center;
  margin-bottom: 8px;
}

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

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

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(25, 118, 210, 0.2);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

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

/* Banner Showcase */
.banner-showcase {
  text-align: center;
}

.banner-example {
  display: inline-block;
}

.banner-img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.banner-label {
  display: block;
  margin-top: 16px;
  color: var(--gray);
  font-size: 0.875rem;
}

/* Banner Pricing */
.banner-pricing {
  margin-top: 48px;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.banner-pricing h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: var(--white);
}

.banner-pricing .premium-hint {
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 24px;
}

.banner-pricing .pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
}

.banner-pricing .pricing-table th,
.banner-pricing .pricing-table td {
  padding: 12px 16px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.banner-pricing .pricing-table th {
  color: var(--gray);
  font-weight: 500;
  font-size: 0.875rem;
}

.banner-pricing .pricing-table .regular {
  color: var(--gray);
  text-decoration: line-through;
}

.banner-pricing .pricing-table .premium {
  color: var(--gold);
  font-weight: 600;
}

.banner-pricing .pricing-note {
  color: var(--gray);
  font-size: 0.875rem;
  margin-bottom: 24px;
}

/* 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(25, 118, 210, 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;
}

/* Live Banners Section */
.live-banners-section {
  padding: 60px 24px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), transparent);
}

.live-banners-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--white);
}

.live-banners-subtitle {
  text-align: center;
  color: var(--gray);
  font-size: 1rem;
  margin-bottom: 32px;
}

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

.live-banner-item {
  flex: 1 1 calc(33.33% - 24px);
  max-width: 300px;
}

.live-banner-item a {
  display: block;
}

.live-banner-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.live-banner-item img:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 30px rgba(25, 118, 210, 0.3);
}

.live-banner-badge {
  display: block;
  text-align: center;
  margin-top: 10px;
}

.live-banner-badge 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;
}

.live-banner-badge a:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(25, 118, 210, 0.4);
}

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

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

@media (max-width: 1024px) {
  .live-banner-item {
    flex: 1 1 calc(50% - 24px);
  }
}

@media (max-width: 768px) {
  .live-banner-item {
    flex: 1 1 100%;
    max-width: 280px;
  }
}

/* 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;
}

/* Responsive */
@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;
  }
}

@media (max-width: 480px) {
  .lang-switcher {
    top: 16px;
    right: 16px;
    padding: 4px;
  }

  .lang-btn {
    padding: 6px 12px;
    font-size: 0.75rem;
  }

  .hero {
    padding: 60px 16px;
  }

  .section {
    padding: 60px 16px;
  }

  .feature-card {
    padding: 24px;
  }

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

/* 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 h3 {
  color: var(--gray);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

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

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

.network-section ul li a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  font-size: 0.75rem;
}

.network-section 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);
  }
}
