/* ============================================
   IPTV France - Premium Dark Theme CSS
   Modern, responsive, conversion-focused
   ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #e50914;
  --secondary-color: #221f1f;
  --dark-bg: #0f0f0f;
  --light-text: #ffffff;
  --accent-gold: #ffd700;
  --border-color: #333333;
  --hover-red: #f40812;
  --success-green: #22c55e;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
  background-color: var(--dark-bg);
  color: var(--light-text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ============ HEADER & NAVIGATION ============ */

header {
  background: linear-gradient(180deg, rgba(15, 15, 15, 0.95) 0%, rgba(15, 15, 15, 0.8) 100%);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  padding: 1rem 0;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

.logo {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--primary-color);
  text-decoration: none;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo:hover {
  color: var(--hover-red);
  transition: color 0.3s ease;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  color: var(--light-text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

nav a:hover {
  color: var(--primary-color);
}

nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

/* ============ MAIN LAYOUT ============ */

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 4rem 0;
}

h1, h2, h3 {
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3rem;
  color: var(--light-text);
}

h2 {
  font-size: 2.2rem;
  color: var(--light-text);
  margin-bottom: 2rem;
}

h3 {
  font-size: 1.5rem;
  color: var(--light-text);
  margin-bottom: 1rem;
}

p {
  color: #cccccc;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

/* ============ HERO SECTION ============ */

.hero {
  background:  linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.8) 50%, rgba(0, 0, 0, 0.7) 100%),
    linear-gradient(to right, rgba(229, 9, 20, 0.15), rgba(20, 212, 244, 0.15)), url('/images/movies-journal.jpg') center/cover no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  border-bottom: 2px solid var(--primary-color);
  padding: 6rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 50%, rgba(229, 9, 20, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--light-text) 0%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: #dddddd;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ============ BUTTONS ============ */

.btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  text-align: center;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--hover-red) 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(229, 9, 20, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(229, 9, 20, 0.6);
  background: linear-gradient(135deg, var(--hover-red) 0%, #cc0000 100%);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--light-text);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
}

.btn-small {
  padding: 0.7rem 1.8rem;
  font-size: 0.9rem;
}

.btn-block {
  width: 100%;
  display: block;
}

.btn-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* ============ BENEFITS SECTION ============ */

.benefits {
  background: rgba(34, 31, 31, 0.3);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.benefit-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  transition: all 0.3s ease;
  text-align: center;
}

.benefit-card:hover {
  background: rgba(229, 9, 20, 0.1);
  border-color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(229, 9, 20, 0.2);
}

.benefit-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.benefit-card h3 {
  margin-bottom: 0.8rem;
}

.benefit-card p {
  margin: 0;
}

/* ============ FEATURES SECTION ============ */

.features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--primary-color);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: rgba(229, 9, 20, 0.1);
  transform: translateX(5px);
}

.feature-icon {
  color: var(--primary-color);
  font-weight: 900;
  flex-shrink: 0;
  font-size: 1.5rem;
}

.feature-item h4 {
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: var(--light-text);
}

.feature-item p {
  margin: 0;
  font-size: 0.95rem;
}

/* ============ PRICING PAGE ============ */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.pricing-card {
  background: linear-gradient(135deg, rgba(34, 31, 31, 0.6) 0%, rgba(50, 50, 50, 0.3) 100%);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.1) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.pricing-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(229, 9, 20, 0.3);
}

.pricing-card:hover::before {
  opacity: 1;
}

.pricing-card.featured {
  border: 2px solid var(--primary-color);
  transform: scale(1.05);
}

.pricing-card.featured::after {
  content: 'POPULAIRE';
  position: absolute;
  top: 0px;
  right: 20px;
  background: var(--primary-color);
  color: white;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 1px;
}

.pricing-duration {
  font-size: 1.2rem;
  color: #aaaaaa;
  margin-bottom: 1rem;
}

.pricing-price {
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.pricing-price span {
  font-size: 1rem;
  color: #777777;
}

.pricing-features {
  list-style: none;
  margin: 2rem 0;
  text-align: left;
}

.pricing-features li {
  padding: 0.8rem 0;
  color: #cccccc;
  border-bottom: 1px solid var(--border-color);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li::before {
  content: '✓ ';
  color: var(--success-green);
  font-weight: 900;
  margin-right: 0.5rem;
}

/* ============ FAQ SECTION ============ */

.faq-container {
  max-width: 700px;
  margin: 2rem auto;
}

.faq-item {
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  transition: all 0.3s ease;
  user-select: none;
  background: rgba(255, 255, 255, 0.03);
}

.faq-question:hover {
  background: rgba(229, 9, 20, 0.1);
  color: var(--primary-color);
}

.faq-icon {
  color: var(--primary-color);
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 1.5rem;
  color: #cccccc;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem 1.5rem;
}

/* ============ CTA BANNER ============ */

.cta-banner {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--hover-red) 100%);
  padding: 3rem 2rem;
  border-radius: 8px;
  text-align: center;
  margin: 3rem 0;
  box-shadow: 0 10px 40px rgba(229, 9, 20, 0.4);
}

.cta-banner h2 {
  margin-bottom: 1rem;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1.5rem;
}

/* ============ GUARANTEE SECTION ============ */

.guarantee {
  background: rgba(34, 34, 34, 0.5);
  border: 2px solid var(--success-green);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  margin: 2rem 0;
}

.guarantee h3 {
  color: var(--success-green);
}

/* ============ COMPATIBLE DEVICES ============ */

.devices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.device-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease;
}

.device-card:hover {
  background: rgba(229, 9, 20, 0.15);
  border-color: var(--primary-color);
  transform: scale(1.05);
}

.device-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.device-card p {
  margin: 0;
}

/* ============ BLOG ARTICLE ============ */

.article-header {
  margin-bottom: 3rem;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 2rem;
}

.article-meta {
  color: #888888;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.article-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #dddddd;
}

.article-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--primary-color);
  padding-left: 1rem;
}

.article-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.article-content ul,
.article-content ol {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.article-content li {
  margin-bottom: 0.8rem;
  color: #dddddd;
}

.article-content strong {
  color: var(--accent-gold);
}

.article-content em {
  color: #aaaaaa;
}

.internal-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid var(--primary-color);
  transition: all 0.3s ease;
}

.internal-link:hover {
  color: var(--accent-gold);
  border-bottom-color: var(--accent-gold);
}

.warning-box {
  background: rgba(255, 193, 7, 0.1);
  border-left: 4px solid #ffc107;
  padding: 1.5rem;
  border-radius: 4px;
  margin: 1.5rem 0;
}

.warning-box strong {
  color: #ffc107;
}

.highlight-box {
  background: rgba(34, 197, 94, 0.1);
  border-left: 4px solid var(--success-green);
  padding: 1.5rem;
  border-radius: 4px;
  margin: 1.5rem 0;
}

/* ============ ARTICLE SIDEBAR ============ */

.article-sidebar {
  background: rgba(34, 31, 31, 0.5);
  border: 1px solid var(--border-color);
  padding: 2rem;
  border-radius: 8px;
  margin-top: 2rem;
}

.article-sidebar h3 {
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

/* ============ FOOTER ============ */

footer {
  background: var(--secondary-color);
  border-top: 2px solid var(--border-color);
  padding: 3rem 2rem 1.5rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.8rem;
}

.footer-section a {
  color: #cccccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
  color: #666666;
  font-size: 0.9rem;
}

/* ============ RESPONSIVE DESIGN ============ */

@media (max-width: 768px) {
  .header-container {
    padding: 0 1rem;
  }

  nav ul {
    gap: 1rem;
    font-size: 0.9rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.7rem;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  main {
    padding: 0 1rem;
  }

  section {
    padding: 2.5rem 0;
  }

  .btn-group {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .benefits-grid,
  .features-list,
  .pricing-grid,
  .devices-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card.featured {
    transform: scale(1);
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .article-content {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 14px;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }

  header {
    padding: 0.8rem 0;
  }

  .header-container {
    padding: 0 0.8rem;
  }

  nav ul {
    gap: 0.8rem;
    font-size: 0.8rem;
  }

  .pricing-price {
    font-size: 2.2rem;
  }

  main {
    padding: 0 1rem;
  }
}

/* ============ ANIMATIONS ============ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

.slide-in-left {
  animation: slideInLeft 0.6s ease-out forwards;
}

/* ============ CAROUSEL STYLING ============ */

.carousel-section {
  padding: 3rem 0;
  background-color: var(--bg-primary);
  overflow: hidden;
}

.carousel-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.carousel-section .section-title {
  margin-bottom: 2rem;
  text-align: center;
}

.carousel-section h2 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: var(--light-text);
}

.carousel-section p {
  color: #aaaaaa;
  font-size: 1rem;
}

.carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(15, 15, 15, 0.3) 0%, rgba(15, 15, 15, 0) 20%, rgba(15, 15, 15, 0) 80%, rgba(15, 15, 15, 0.3) 100%);
  padding: 2rem 0;
  border-radius: 8px;
}

.carousel-track {
  display: flex;
  gap: 1.5rem;
  animation: scroll-left 30s linear infinite;
  width: max-content;
}

.carousel-track.reverse {
  animation: scroll-right 30s linear infinite;
}

.carousel-item {
  flex-shrink: 0;
  height: 120px;
  width: 180px;
  min-width: 100px;
  border-radius: 6px;
  overflow: hidden;
  background: linear-gradient(135deg, #222222 0%, #1a1a1a 100%);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Small carousel items - Channels */
.carousel-item-small {
  height: 80px;
  width: 120px;
  min-width: 80px;
}

/* Large carousel items - Movies & Sports */
.carousel-item-large {
  height: 180px;
  width: 300px;
  min-width: 160px;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
  padding: 8px;
}

.carousel-item:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(229, 9, 20, 0.3);
}

.carousel-item:hover img {
  transform: scale(1.1);
}

.carousel-gradient-left,
.carousel-gradient-right {
  position: absolute;
  top: 0;
  width: 15%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
}

.carousel-gradient-left {
  left: 0;
  background: linear-gradient(90deg, var(--dark-bg) 0%, transparent 100%);
}

.carousel-gradient-right {
  right: 0;
  background: linear-gradient(90deg, transparent 0%, var(--dark-bg) 100%);
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 0.75rem));
  }
}

@keyframes scroll-right {
  0% {
    transform: translateX(calc(-50% - 0.75rem));
  }
  100% {
    transform: translateX(0);
  }
}

.carousel-track {
  will-change: transform;
}

@media (max-width: 1200px) {
  .carousel-item {
    min-width: 140px;
    height: 100px;
  }

  .carousel-item-small {
    height: 70px;
    width: 100px;
  }

  .carousel-item-large {
    height: 140px;
    width: 210px;
  }
}

@media (max-width: 768px) {
  .carousel-section {
    padding: 2rem 0;
  }

  .carousel-section .container {
    padding: 0 1rem;
  }

  .carousel-section h2 {
    font-size: 1.4rem;
  }

  .carousel-item {
    min-width: 120px;
    height: 90px;
  }

  .carousel-item-small {
    height: 65px;
    width: 95px;
  }

  .carousel-item-large {
    height: 130px;
    width: 195px;
  }

  .carousel-track {
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .carousel-section h2 {
    font-size: 1.2rem;
  }

  .carousel-item {
    min-width: 100px;
    height: 75px;
  }

  .carousel-item-small {
    height: 55px;
    width: 80px;
  }

  .carousel-item-large {
    height: 110px;
    width: 165px;
  }

  .carousel-container {
    padding: 1rem 0;
  }
}


.floating-whatsapp {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 3.8rem;
  height: 3.8rem;
  color: var(--white);
  font-weight: 800;
  border-radius: 50%;
 
}
.floating-whatsapp img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}