/*
Theme Name: IPTV Purple Amazing
Theme URI: https://example.com
Author: Your Name
Description: IPTV service landing page with purple dark theme
Version: 1.0
*/

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --purple: #7b2ff7;
  --purple-light: #a64fff;
  --purple-dark: #4a0fbf;
  --bg-dark: #0d0d1a;
  --bg-card: #14142a;
  --bg-card2: #1a1a35;
  --text: #e0e0ff;
  --muted: #9090bb;
  --white: #ffffff;
  --gold: #f5c518;
  --radius: 12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  background: rgba(13,13,26,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(123,47,247,0.3);
  padding: 16px 0;
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
.navbar .logo { font-size: 1.5rem; font-weight: 800; color: var(--white); }
.navbar .logo span { color: var(--purple-light); }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { color: var(--text); font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--purple-light); }
.nav-cta {
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 700;
  transition: opacity .2s;
}
.nav-cta:hover { opacity: .85; }

/* HERO */
.hero {
  min-height: 100vh;
  padding-top: 100px;
  background: radial-gradient(ellipse at 60% 40%, rgba(123,47,247,0.25) 0%, transparent 65%),
              radial-gradient(ellipse at 20% 80%, rgba(166,79,255,0.15) 0%, transparent 55%),
              var(--bg-dark);
  display: flex;
  align-items: center;
}
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-badge {
  display: inline-block;
  background: rgba(123,47,247,0.2);
  border: 1px solid var(--purple);
  color: var(--purple-light);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.hero h1 { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 900; line-height: 1.15; color: var(--white); margin-bottom: 20px; }
.hero h1 .highlight {
  background: linear-gradient(135deg, var(--purple-light), #ff6ef7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p { color: var(--muted); font-size: 1.1rem; margin-bottom: 32px; }
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  color: var(--white);
  padding: 14px 36px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 0 30px rgba(123,47,247,0.5);
  transition: transform .2s, box-shadow .2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 50px rgba(123,47,247,0.7); }
.hero-devices { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.device-card {
  background: var(--bg-card);
  border: 1px solid rgba(123,47,247,0.2);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  font-size: .9rem;
  color: var(--muted);
  transition: border-color .2s, transform .2s;
}
.device-card:hover { border-color: var(--purple); transform: translateY(-4px); }
.device-card .icon { font-size: 2rem; margin-bottom: 8px; }

/* FEATURES */
.features { padding: 80px 0; background: var(--bg-card); }
.features .container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.feature-card {
  background: var(--bg-dark);
  border: 1px solid rgba(123,47,247,0.15);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  transition: border-color .2s, transform .2s;
}
.feature-card:hover { border-color: var(--purple); transform: translateY(-5px); }
.feature-card .icon-wrap {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--purple-dark), var(--purple));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.6rem;
}
.feature-card h3 { font-size: 1.15rem; color: var(--white); margin-bottom: 10px; }
.feature-card p { color: var(--muted); font-size: .95rem; }

/* BRANDS TICKER */
.brands { padding: 48px 0; overflow: hidden; background: var(--bg-dark); }
.brands h4 { text-align: center; color: var(--muted); text-transform: uppercase; letter-spacing: 2px; font-size: .8rem; margin-bottom: 28px; }
.ticker-wrap { overflow: hidden; }
.ticker { display: flex; gap: 48px; width: max-content; animation: ticker 22s linear infinite; }
.ticker-item {
  background: var(--bg-card);
  border: 1px solid rgba(123,47,247,0.2);
  border-radius: 8px;
  padding: 12px 28px;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 600;
  white-space: nowrap;
}
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* CONTENT SECTION */
.content-section { padding: 80px 0; }
.section-title { font-size: clamp(1.4rem, 3vw, 2.2rem); font-weight: 800; color: var(--white); text-align: center; margin-bottom: 48px; }
.section-title span { color: var(--purple-light); }
.movies-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.movie-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 2/3;
  border: 1px solid rgba(123,47,247,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: .85rem;
  text-align: center;
  padding: 10px;
  font-size: 2rem;
}

/* PRICING */
.pricing { padding: 80px 0; background: var(--bg-card); }
.pricing-top { text-align: center; margin-bottom: 48px; }
.pricing-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  color: var(--white);
  padding: 6px 20px;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.price-card {
  background: var(--bg-dark);
  border: 1px solid rgba(123,47,247,0.2);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  transition: border-color .2s, transform .2s;
  position: relative;
}
.price-card:hover, .price-card.popular { border-color: var(--purple); transform: translateY(-6px); box-shadow: 0 0 40px rgba(123,47,247,0.25); }
.price-card.popular::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  color: var(--white);
  font-size: .72rem;
  font-weight: 800;
  padding: 4px 18px;
  border-radius: 50px;
  letter-spacing: 1px;
}
.price-period { color: var(--muted); font-size: .9rem; margin-bottom: 8px; }
.price-amount { font-size: 2.6rem; font-weight: 900; color: var(--white); margin: 4px 0 20px; }
.price-amount sup { font-size: 1.2rem; vertical-align: top; margin-top: 8px; color: var(--purple-light); }
.price-features { list-style: none; margin-bottom: 28px; text-align: left; }
.price-features li { color: var(--muted); padding: 7px 0; border-bottom: 1px solid rgba(123,47,247,0.08); font-size: .9rem; display: flex; align-items: center; gap: 8px; }
.price-features li::before { content: '✓'; color: var(--purple-light); font-weight: 700; }
.btn-buy { display: block; background: linear-gradient(135deg, var(--purple), var(--purple-light)); color: var(--white); padding: 12px; border-radius: 50px; font-weight: 700; transition: opacity .2s; }
.btn-buy:hover { opacity: .85; }
.price-note { color: var(--muted); font-size: .78rem; margin-top: 12px; }

/* STATS */
.stats { padding: 80px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-card { background: var(--bg-card); border: 1px solid rgba(123,47,247,0.2); border-radius: var(--radius); padding: 36px 20px; text-align: center; }
.stat-number { font-size: 2.8rem; font-weight: 900; color: var(--purple-light); }
.stat-label { color: var(--muted); font-size: .9rem; margin-top: 6px; }

/* TESTIMONIALS */
.testimonials { padding: 80px 0; background: var(--bg-card); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.testi-card { background: var(--bg-dark); border: 1px solid rgba(123,47,247,0.15); border-radius: var(--radius); padding: 28px; }
.stars { color: var(--gold); font-size: 1.1rem; margin-bottom: 14px; }
.testi-card p { color: var(--muted); font-size: .95rem; margin-bottom: 20px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar { width: 44px; height: 44px; background: linear-gradient(135deg, var(--purple), var(--purple-light)); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--white); }
.testi-name { font-weight: 700; color: var(--white); font-size: .95rem; }
.testi-plan { color: var(--purple-light); font-size: .8rem; text-transform: uppercase; letter-spacing: 1px; }

/* HOW IT WORKS */
.how-it-works { padding: 80px 0; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 48px; }
.step { text-align: center; }
.step-number { width: 64px; height: 64px; background: linear-gradient(135deg, var(--purple-dark), var(--purple)); color: var(--white); font-size: 1.5rem; font-weight: 900; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; box-shadow: 0 0 20px rgba(123,47,247,0.4); }
.step h3 { font-size: 1.1rem; color: var(--white); margin-bottom: 12px; }
.step p { color: var(--muted); font-size: .95rem; }

/* FAQ */
.faq { padding: 80px 0; background: var(--bg-card); }
.faq-list { max-width: 780px; margin: 48px auto 0; }
.faq-item { border-bottom: 1px solid rgba(123,47,247,0.15); }
.faq-item summary { cursor: pointer; padding: 20px 0; font-weight: 600; color: var(--white); font-size: 1rem; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::after { content: '+'; color: var(--purple-light); font-size: 1.4rem; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { color: var(--muted); font-size: .95rem; padding: 0 0 20px; }

/* CONTACT */
.contact { padding: 80px 0; }
.contact-inner { background: var(--bg-card); border: 1px solid rgba(123,47,247,0.2); border-radius: 20px; padding: 60px; text-align: center; max-width: 680px; margin: 0 auto; }
.contact h2 { font-size: 1.8rem; color: var(--white); margin-bottom: 12px; }
.contact p { color: var(--muted); margin-bottom: 32px; }
.btn-whatsapp { display: inline-flex; align-items: center; gap: 10px; background: #25d366; color: var(--white); padding: 14px 36px; border-radius: 50px; font-weight: 700; font-size: 1rem; transition: opacity .2s; }
.btn-whatsapp:hover { opacity: .85; }

/* FOOTER */
footer { background: var(--bg-card); border-top: 1px solid rgba(123,47,247,0.2); padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer-brand p { color: var(--muted); font-size: .9rem; }
.footer-contact p { color: var(--muted); font-size: .9rem; margin: 6px 0; }
footer h5 { color: var(--white); font-size: 1rem; margin-bottom: 16px; }
.newsletter-form { display: flex; gap: 8px; margin-top: 12px; }
.newsletter-form input { flex: 1; background: var(--bg-dark); border: 1px solid rgba(123,47,247,0.3); border-radius: 8px; padding: 10px 14px; color: var(--white); font-size: .9rem; outline: none; }
.newsletter-form button { background: linear-gradient(135deg, var(--purple), var(--purple-light)); color: var(--white); border: none; border-radius: 8px; padding: 10px 20px; font-weight: 700; cursor: pointer; }
.footer-bottom { border-top: 1px solid rgba(123,47,247,0.1); padding-top: 20px; text-align: center; color: var(--muted); font-size: .85rem; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .features .container, .pricing-grid, .steps-grid, .testi-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .movies-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .features .container, .pricing-grid, .steps-grid, .testi-grid, .stats-grid { grid-template-columns: 1fr; }
  .movies-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .contact-inner { padding: 32px 20px; }
}