/* ===== IPTV Landing Page – Dark Theme ===== */
:root {
  --iptv-bg: #050a14;
  --iptv-bg-card: #0d1525;
  --iptv-bg-card-hover: #121c30;
  --iptv-accent: #0ea5e9;
  --iptv-accent-bright: #38bdf8;
  --iptv-accent-glow: rgba(14, 165, 233, 0.25);
  --iptv-orange: #f59e0b;
  --iptv-text: #f1f5f9;
  --iptv-muted: #94a3b8;
  --iptv-border: rgba(148, 163, 184, 0.15);
  --iptv-green: #22c55e;
  --iptv-container: 1200px;
  --iptv-header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body.iptv-page {
  font-family: 'Poppins', sans-serif;
  background: var(--iptv-bg);
  color: var(--iptv-text);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.25s ease;
}

ul {
  list-style: none;
}

.iptv-container {
  max-width: var(--iptv-container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header ===== */
.iptv-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--iptv-header-h);
  background: rgba(5, 10, 20, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--iptv-border);
}

.iptv-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--iptv-header-h);
}

.iptv-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}

.iptv-logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--iptv-accent), #6366f1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.iptv-nav ul {
  display: flex;
  gap: 28px;
  align-items: center;
}

.iptv-nav a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--iptv-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.iptv-nav a:hover,
.iptv-nav a.active {
  color: var(--iptv-orange);
}

.iptv-btn {
  display: inline-block;
  padding: 11px 24px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.25s ease;
  font-family: inherit;
}

.iptv-btn-primary {
  background: var(--iptv-accent);
  color: #fff;
}

.iptv-btn-primary:hover {
  background: var(--iptv-accent-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--iptv-accent-glow);
  color: #fff;
}

.iptv-btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid var(--iptv-accent);
}

.iptv-btn-outline:hover {
  background: var(--iptv-accent);
  color: #fff;
}

.iptv-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.iptv-menu-toggle span {
  width: 26px;
  height: 2px;
  background: #fff;
  transition: 0.3s ease;
}

/* ===== Hero ===== */
.iptv-hero {
  padding: calc(var(--iptv-header-h) + 60px) 0 80px;
  background:
    radial-gradient(ellipse at 70% 20%, rgba(14, 165, 233, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
    var(--iptv-bg);
}

.iptv-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.iptv-hero-badge {
  display: inline-block;
  background: rgba(14, 165, 233, 0.15);
  color: var(--iptv-accent-bright);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
  border: 1px solid rgba(14, 165, 233, 0.3);
}

.iptv-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #fff;
}

.iptv-hero-text p {
  color: var(--iptv-muted);
  margin-bottom: 14px;
  font-size: 0.98rem;
}

.iptv-hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.iptv-hero-visual {
  position: relative;
}

.iptv-hero-collage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  border-radius: 16px;
  overflow: hidden;
}

.iptv-hero-collage img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 8px;
}

.iptv-hero-collage img:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
  height: 100%;
  min-height: 230px;
}

.iptv-hero-collage img:nth-child(5) {
  grid-column: span 2;
  height: 130px;
}

.iptv-hero-remote {
  position: absolute;
  bottom: -20px;
  right: -10px;
  width: 120px;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.5));
  z-index: 2;
}

/* ===== About ===== */
.iptv-about {
  padding: 90px 0;
  background: linear-gradient(180deg, var(--iptv-bg) 0%, #08101c 100%);
}

.iptv-about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.iptv-about-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--iptv-border);
}

.iptv-about-image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.iptv-about h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
}

.iptv-about p {
  color: var(--iptv-muted);
  margin-bottom: 16px;
  font-size: 0.95rem;
}

/* ===== Stats ===== */
.iptv-stats {
  padding: 50px 0;
  background: rgba(14, 165, 233, 0.06);
  border-top: 1px solid var(--iptv-border);
  border-bottom: 1px solid var(--iptv-border);
}

.iptv-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.iptv-stat-item {
  padding: 20px;
  border-right: 1px solid var(--iptv-border);
}

.iptv-stat-item:last-child {
  border-right: none;
}

.iptv-stat-num {
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.iptv-stat-label {
  font-size: 0.82rem;
  color: var(--iptv-accent-bright);
  margin-top: 6px;
  font-weight: 500;
}

/* ===== Features ===== */
.iptv-features {
  padding: 90px 0;
}

.iptv-section-head {
  text-align: center;
  margin-bottom: 56px;
}

.iptv-section-tag {
  display: inline-block;
  color: var(--iptv-accent-bright);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.iptv-section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.iptv-section-head p {
  color: var(--iptv-muted);
  max-width: 560px;
  margin: 0 auto;
  font-size: 0.95rem;
}

.iptv-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.iptv-feature-card {
  background: var(--iptv-bg-card);
  border: 1px solid var(--iptv-border);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.iptv-feature-card:hover {
  background: var(--iptv-bg-card-hover);
  transform: translateY(-4px);
  border-color: rgba(14, 165, 233, 0.3);
}

.iptv-feature-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 18px;
  background: rgba(14, 165, 233, 0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--iptv-accent-bright);
}

.iptv-feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--iptv-accent-bright);
  margin-bottom: 10px;
}

.iptv-feature-card p {
  font-size: 0.88rem;
  color: var(--iptv-muted);
  line-height: 1.6;
}

/* ===== Content Showcase ===== */
.iptv-showcase {
  padding: 60px 0 90px;
  background: #000;
}

.iptv-showcase-row {
  margin-bottom: 40px;
}

.iptv-showcase-row h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
  padding-left: 4px;
}

.iptv-poster-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--iptv-accent) transparent;
}

.iptv-poster-scroll img {
  height: 220px;
  width: auto;
  min-width: 280px;
  max-width: 420px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  border: 1px solid var(--iptv-border);
}

.iptv-poster-scroll img:hover {
  transform: scale(1.05);
}

/* ===== Pricing ===== */
.iptv-pricing {
  padding: 90px 0;
  background: linear-gradient(180deg, #000 0%, var(--iptv-bg) 100%);
}

.iptv-pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.iptv-price-card {
  background: var(--iptv-bg-card);
  border: 1px solid var(--iptv-border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.iptv-price-card:hover {
  transform: translateY(-6px);
  border-color: rgba(14, 165, 233, 0.4);
}

.iptv-price-card.popular {
  border-color: var(--iptv-accent);
  position: relative;
}

.iptv-price-card.popular::before {
  content: 'Best Value';
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--iptv-orange);
  color: #000;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 1;
}

.iptv-price-header {
  padding: 24px 20px 0;
  text-align: center;
}

.iptv-price-header h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
}

.iptv-price-amount {
  background: var(--iptv-accent);
  padding: 20px;
  text-align: center;
  margin: 16px 0;
}

.iptv-price-amount .price {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
}

.iptv-price-amount .period {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
}

.iptv-price-features {
  padding: 0 20px;
  flex: 1;
}

.iptv-price-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--iptv-border);
  font-size: 0.82rem;
  color: var(--iptv-muted);
}

.iptv-price-features li i {
  color: var(--iptv-green);
  margin-top: 3px;
  flex-shrink: 0;
}

.iptv-price-footer {
  padding: 20px;
}

.iptv-price-footer .iptv-btn {
  width: 100%;
  text-align: center;
}

/* ===== Testimonials ===== */
.iptv-testimonials {
  padding: 90px 0;
}

.iptv-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.iptv-review-card {
  background: var(--iptv-bg-card);
  border: 1px solid var(--iptv-border);
  border-radius: 12px;
  padding: 28px;
}

.iptv-review-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.iptv-review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--iptv-accent), #6366f1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
}

.iptv-review-name {
  font-weight: 600;
  color: #fff;
  font-size: 0.95rem;
}

.iptv-review-date {
  font-size: 0.75rem;
  color: var(--iptv-muted);
}

.iptv-stars {
  color: var(--iptv-orange);
  font-size: 0.85rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.iptv-review-card p {
  font-size: 0.88rem;
  color: var(--iptv-muted);
  line-height: 1.65;
}

/* ===== FAQ ===== */
.iptv-faq {
  padding: 90px 0;
  background: rgba(14, 165, 233, 0.04);
}

.iptv-faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.iptv-faq-item {
  border: 1px solid var(--iptv-border);
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--iptv-bg-card);
}

.iptv-faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  background: none;
  border: none;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  gap: 16px;
}

.iptv-faq-question i {
  color: var(--iptv-accent-bright);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.iptv-faq-item.active .iptv-faq-question i {
  transform: rotate(180deg);
}

.iptv-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.iptv-faq-answer p {
  padding: 0 22px 18px;
  color: var(--iptv-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.iptv-faq-item.active .iptv-faq-answer {
  max-height: 200px;
}

/* ===== CTA ===== */
.iptv-cta {
  padding: 90px 0;
  text-align: center;
  background:
    radial-gradient(ellipse at center, rgba(14, 165, 233, 0.15) 0%, transparent 70%),
    var(--iptv-bg);
}

.iptv-cta h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.iptv-cta p {
  color: var(--iptv-muted);
  max-width: 560px;
  margin: 0 auto 32px;
  font-size: 0.95rem;
}

/* ===== Footer ===== */
.iptv-footer {
  padding: 60px 0 30px;
  background: #030508;
  border-top: 1px solid var(--iptv-border);
}

.iptv-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}

.iptv-footer h5 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
}

.iptv-footer p,
.iptv-footer a,
.iptv-footer li {
  font-size: 0.85rem;
  color: var(--iptv-muted);
  line-height: 1.8;
}

.iptv-footer a:hover {
  color: var(--iptv-accent-bright);
}

.iptv-footer ul li {
  margin-bottom: 6px;
}

.iptv-disclaimer {
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  margin-bottom: 30px;
  font-size: 0.78rem;
  color: var(--iptv-muted);
  line-height: 1.7;
  text-align: center;
}

.iptv-footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--iptv-border);
  font-size: 0.82rem;
  color: var(--iptv-muted);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .iptv-hero-grid,
  .iptv-about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .iptv-hero-visual {
    order: -1;
    max-width: 500px;
    margin: 0 auto;
  }

  .iptv-features-grid,
  .iptv-pricing-grid,
  .iptv-testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .iptv-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .iptv-stat-item {
    border-right: none;
    border-bottom: 1px solid var(--iptv-border);
  }

  .iptv-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .iptv-menu-toggle {
    display: flex;
  }

  .iptv-nav {
    position: fixed;
    top: var(--iptv-header-h);
    left: 0;
    right: 0;
    background: rgba(5, 10, 20, 0.98);
    padding: 20px;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;
    border-bottom: 1px solid var(--iptv-border);
  }

  .iptv-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .iptv-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .iptv-nav li {
    width: 100%;
    border-bottom: 1px solid var(--iptv-border);
  }

  .iptv-nav a {
    display: block;
    padding: 14px 0;
  }

  .iptv-header .iptv-btn-primary {
    display: none;
  }

  .iptv-features-grid,
  .iptv-pricing-grid,
  .iptv-testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .iptv-stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .iptv-footer-grid {
    grid-template-columns: 1fr;
  }
}
