/* FLIX TV PLAY - Light Background + Dark Purple Theme */
:root {
  --flix-primary: #6B21E5;
  --flix-primary-dark: #5B21B6;
  --flix-primary-light: #8B5CF6;
  --flix-secondary: #A855F7;
  --flix-bg: #FFFFFF;
  --flix-surface: #F8F7FC;
  --flix-surface-light: #FFFFFF;
  --flix-surface-card: #FFFFFF;
  --flix-text: #1E1B2E;
  --flix-text-muted: #6B7280;
  --flix-border: #E9E6F2;
  --flix-shadow: 0 10px 30px rgba(107, 33, 229, 0.08);
  --flix-shadow-hover: 0 20px 40px rgba(107, 33, 229, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', 'Space Grotesk', sans-serif;
  background: var(--flix-bg);
  color: var(--flix-text);
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #F1F1F1;
}

::-webkit-scrollbar-thumb {
  background: var(--flix-primary);
  border-radius: 10px;
}

/* Spinner */
#spinner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--flix-bg);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease;
}

.flix-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid #E9E6F2;
  border-top: 4px solid var(--flix-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* Navbar */
.navbar-flix {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  padding: 0.8rem 2rem;
  transition: all 0.3s;
  border-bottom: 1px solid var(--flix-border);
  box-shadow: 0 2px 10px rgba(107, 33, 229, 0.05);
}

.navbar-brand-logo {
  height: 80px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s;
}

.navbar-brand-logo:hover {
  transform: scale(1.02);
}

.nav-link-flix {
  color: var(--flix-text-muted) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  transition: all 0.2s;
  font-size: 1rem;
}

.nav-link-flix:hover,
.nav-link-flix.active {
  color: var(--flix-primary) !important;
}

.btn-flix-primary {
  background: var(--flix-primary);
  color: white;
  padding: 0.7rem 1.6rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  display: inline-block;
  font-size: 0.95rem;
}

.btn-flix-primary:hover {
  background: var(--flix-primary-dark);
  transform: scale(1.02);
  color: white;
}

.btn-flix-outline {
  background: transparent;
  border: 1.5px solid var(--flix-primary);
  color: var(--flix-primary);
  padding: 0.7rem 1.6rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  font-size: 0.95rem;
}

.btn-flix-outline:hover {
  background: var(--flix-primary);
  color: white;
}

/* HERO SECTION */
.hero-flix {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #F5F0FF 0%, #FFFFFF 50%, #F8F0FF 100%);
}

.hero-flix::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 40%, rgba(107, 33, 229, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 60%, rgba(139, 92, 246, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 80px;
  pointer-events: none;
  z-index: 2;
}

.hero-wave svg {
  width: 100%;
  height: 100%;
}

.soft-circle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107, 33, 229, 0.1), transparent);
  filter: blur(50px);
  pointer-events: none;
  animation: floatCircle 8s ease-in-out infinite;
}

@keyframes floatCircle {

  0%,
  100% {
    transform: translateY(0) scale(1);
    opacity: 0.4;
  }

  50% {
    transform: translateY(-20px) scale(1.1);
    opacity: 0.6;
  }
}

.hero-badge-flix {
  display: inline-block;
  background: rgba(107, 33, 229, 0.12);
  padding: 0.6rem 1.4rem;
  border-radius: 40px;
  font-size: 0.9rem;
  color: var(--flix-primary);
  border: 1px solid rgba(107, 33, 229, 0.25);
  margin-bottom: 1rem;
  backdrop-filter: blur(4px);
  font-weight: 600;
}

.main-title-flix {
  font-size: 4.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #1E1B2E 30%, var(--flix-primary) 80%, #A855F7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
}

.hero-description {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--flix-text-muted);
  max-width: 90%;
}

.btn-hero-white {
  background: var(--flix-primary);
  color: white;
  padding: 0.9rem 2.2rem;
  border-radius: 40px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 20px rgba(107, 33, 229, 0.25);
}

.btn-hero-white:hover {
  background: var(--flix-primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(107, 33, 229, 0.35);
  color: white;
}

.btn-flix-primary-hero {
  background: transparent;
  border: 2px solid var(--flix-primary);
  color: var(--flix-primary);
  padding: 0.9rem 2.2rem;
  border-radius: 40px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-flix-primary-hero:hover {
  background: var(--flix-primary);
  color: white;
  transform: translateY(-3px);
}

/* ANIMATED HERO IMAGE */
.hero-image-wrapper {
  position: relative;
  display: inline-block;
  animation: floatImage 5s ease-in-out infinite;
}

@keyframes floatImage {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
  }
}

.hero-image-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 110%;
  height: 110%;
  background: radial-gradient(circle, rgba(107, 33, 229, 0.2), transparent 70%);
  border-radius: 50%;
  z-index: -1;
  animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {

  0%,
  100% {
    opacity: 0.4;
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1.08);
  }
}

.hero-image-frame {
  position: relative;
  border-radius: 48px;
  overflow: hidden;
  animation: morphShape 8s ease-in-out infinite;
  box-shadow: 0 30px 50px rgba(107, 33, 229, 0.2);
}

@keyframes morphShape {

  0%,
  100% {
    border-radius: 48% 52% 44% 56% / 55% 48% 52% 45%;
  }

  25% {
    border-radius: 38% 62% 36% 64% / 61% 42% 58% 39%;
  }

  50% {
    border-radius: 56% 44% 58% 42% / 48% 55% 45% 52%;
  }

  75% {
    border-radius: 42% 58% 40% 60% / 52% 48% 52% 48%;
  }
}

.hero-image-large {
  max-width: 100%;
  width: 100%;
  display: block;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
  transition: transform 0.5s ease;
}

.hero-image-frame:hover .hero-image-large {
  transform: scale(1.03);
}

.floating-particle {
  position: absolute;
  background: var(--flix-primary);
  border-radius: 50%;
  opacity: 0.5;
  pointer-events: none;
  animation: particleFloat 6s infinite ease-in-out;
}

@keyframes particleFloat {

  0%,
  100% {
    transform: translateY(0) translateX(0) scale(1);
    opacity: 0.2;
  }

  50% {
    transform: translateY(-25px) translateX(15px) scale(1.3);
    opacity: 0.5;
  }
}

/* Stats - SINGLE LINE LAYOUT */
.stats-grid-flix {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  background: var(--flix-surface-card);
  border-radius: 80px;
  padding: 1.5rem 2.5rem;
  margin-top: -2rem;
  margin-bottom: 3rem;
  border: 1px solid var(--flix-border);
  box-shadow: var(--flix-shadow);
  position: relative;
  z-index: 5;
  overflow-x: auto;
}

.stat-item-flix {
  text-align: center;
  padding: 0 1rem;
  white-space: nowrap;
}

.stat-number-flix {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--flix-primary);
  display: block;
  line-height: 1.2;
}

.stat-item-flix div:last-child {
  font-size: 0.9rem;
  color: var(--flix-text-muted);
}

/* Responsive Stats */
@media (max-width: 1100px) {
  .stats-grid-flix {
    gap: 1.5rem;
    padding: 1.2rem 1.5rem;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    border-radius: 50px;
  }

  .stat-item-flix {
    padding: 0 0.8rem;
  }

  .stat-number-flix {
    font-size: 1.4rem;
  }
}

@media (max-width: 768px) {
  .stats-grid-flix {
    gap: 1rem;
    padding: 1rem 1.2rem;
  }

  .stat-item-flix {
    padding: 0 0.5rem;
  }

  .stat-number-flix {
    font-size: 1.2rem;
  }

  .stat-item-flix div:last-child {
    font-size: 0.75rem;
  }
}

/* Glass Cards */
.glass-card-flix {
  background: var(--flix-surface-card);
  border-radius: 32px;
  padding: 2rem;
  border: 1px solid var(--flix-border);
  transition: all 0.3s;
  box-shadow: var(--flix-shadow);
}

.glass-card-flix:hover {
  transform: translateY(-5px);
  box-shadow: var(--flix-shadow-hover);
  border-color: var(--flix-primary);
}

.glass-card-flix-light {
  background: #FFFFFF;
  border-radius: 32px;
  padding: 2rem;
  border: 1px solid var(--flix-border);
  box-shadow: var(--flix-shadow);
}

/* Apps Section */
.apps-section {
  padding: 6rem 0;
  background: var(--flix-surface);
}

.app-card-flix {
  background: var(--flix-surface-card);
  border-radius: 32px;
  padding: 2rem 1.2rem;
  text-align: center;
  transition: all 0.3s;
  border: 1px solid var(--flix-border);
  box-shadow: var(--flix-shadow);
}

.app-card-flix:hover {
  border-color: var(--flix-primary);
  transform: translateY(-10px);
  box-shadow: var(--flix-shadow-hover);
}

.app-icon-circle-flix {
  width: 150px;
  height: 150px;
  background: #F3EEFF;
  border-radius: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  overflow: hidden;
}

.app-icon-circle-flix img {
  width: 100px;
  height: auto;
}

.app-card-flix h6 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--flix-text);
}

.btn-app-flix {
  background: transparent;
  border: 1.5px solid var(--flix-primary);
  padding: 0.5rem 1.2rem;
  border-radius: 30px;
  font-size: 0.9rem;
  color: var(--flix-primary);
  text-decoration: none;
  margin: 0.3rem;
  display: inline-block;
  transition: 0.2s;
  font-weight: 500;
}

.btn-app-flix:hover {
  background: var(--flix-primary);
  color: white;
}

/* Pricing */
.pricing-section {
  padding: 5rem 0;
  background: var(--flix-bg);
}

.pricing-card-flix {
  background: var(--flix-surface-card);
  border-radius: 28px;
  padding: 2rem;
  border: 1px solid var(--flix-border);
  transition: 0.3s;
  box-shadow: var(--flix-shadow);
}

.pricing-card-flix:hover {
  border-color: var(--flix-primary);
  transform: translateY(-6px);
  box-shadow: var(--flix-shadow-hover);
}

.price-amount-flix {
  font-size: 3rem;
  font-weight: 800;
  color: var(--flix-primary);
}

.price-features {
  list-style: none;
  padding: 0;
}

.price-features li {
  padding: 0.5rem 0;
  font-size: 0.95rem;
  color: var(--flix-text-muted);
}

.price-features li:before {
  content: "✓";
  color: var(--flix-primary);
  margin-right: 10px;
  font-weight: bold;
}

/* FAQ */
.faq-section-new {
  padding: 5rem 0;
  background: var(--flix-surface);
}

.faq-item-flix {
  background: white;
  border-radius: 20px;
  margin-bottom: 1rem;
  border: 1px solid var(--flix-border);
  box-shadow: var(--flix-shadow);
}

.faq-question-flix {
  padding: 1.2rem 1.5rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  color: var(--flix-text);
}

.faq-answer-flix {
  padding: 0 1.5rem 1.2rem;
  display: none;
  color: var(--flix-text-muted);
}

.faq-item-flix.active .faq-answer-flix {
  display: block;
}

.faq-item-flix.active .fa-chevron-down {
  transform: rotate(180deg);
}

/* Feature icons */
.feature-item-flix {
  background: white;
  border-radius: 80px;
  padding: 1.5rem;
  width: 140px;
  transition: 0.2s;
  border: 1px solid var(--flix-border);
  box-shadow: var(--flix-shadow);
  text-align: center;
}

.feature-item-flix:hover {
  transform: scale(1.05);
  border-color: var(--flix-primary);
}

.feature-icon {
  width: 100px;
  margin-bottom: 0.8rem;
}

.feature-item-flix p {
  margin-top: 0.8rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--flix-text);
}

/* Features Section Buttons */
.features-section .btn-flix-primary,
.features-section .btn-flix-outline {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.features-btn-wrapper {
  margin-top: 2rem;
  padding-top: 1.5rem;
}

/* FOOTER */
.footer-flix {
  background: #6B21E5;
  padding: 4rem 0 2rem;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-flix::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.footer-flix h5 {
  color: white;
  font-weight: 700;
  margin-bottom: 1.2rem;
  font-size: 1.2rem;
  position: relative;
  display: inline-block;
}

.footer-flix h5:after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 3px;
}

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

.footer-links-flix li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.95rem;
  transition: 0.2s;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.footer-links-flix li a:hover {
  color: white;
  transform: translateX(5px);
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.2);
  margin: 2rem 0;
}

.copyright-mixed {
  color: rgba(255, 255, 255, 0.7);
}

.copyright-mixed a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.copyright-mixed a:hover {
  text-decoration: underline;
}

.footer-app-box img {
  max-width: 100%;
  border-radius: 12px;
  transition: transform 0.3s;
}

.footer-app-box img:hover {
  transform: scale(1.02);
}

.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: 0.2s;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: white;
}

.back-to-top {
  position: fixed;
  bottom: 25px;
  right: 100px;
  background: var(--flix-primary);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  opacity: 0;
  transition: 0.2s;
  z-index: 1000;
  text-decoration: none;
  font-size: 1.2rem;
}

.back-to-top.visible {
  opacity: 1;
}

.back-to-top:hover {
  color: white;
  background: var(--flix-primary-dark);
}

.tv-img {
  max-width: 100%;
  border-radius: 24px;
}

.text-muted-gold {
  color: var(--flix-text-muted);
}

@media (max-width: 768px) {
  .main-title-flix {
    font-size: 2.8rem;
  }

  .navbar-flix {
    padding: 0.8rem 1rem;
  }

  .navbar-brand-logo {
    height: 55px;
  }

  .hero-description {
    max-width: 100%;
  }

  .hero-wave {
    height: 40px;
  }

  .feature-item-flix {
    width: 100px;
    padding: 1rem;
  }

  .feature-icon {
    width: 55px;
  }

  .app-icon-circle-flix {
    width: 75px;
    height: 75px;
  }

  .app-icon-circle-flix img {
    width: 50px;
  }
}


html,
body {
  overflow-x: hidden;
}

img,
iframe {
  max-width: 100%;
}