/* ============================================================
   FluxNova IPTV — Global Stylesheet
   Color scheme derived from loopsiptv.so (dark theme)
   Primary: #E8B500 (golden yellow accent)
   Background: #0E0E0E / #1A1A1A
   Font: Raleway 400-700
   ============================================================ */

/* --- Reset & Base --- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;overflow-x:hidden}
body{font-family:'Raleway',sans-serif;font-weight:400;color:#e0e0e0;background:#0E0E0E;line-height:1.7;overflow-x:hidden}
img{max-width:100%;height:auto;display:block}
a{color:#E8B500;text-decoration:none;transition:color .3s}
a:hover{color:#FFD54F}
ul,ol{list-style:none}
h1,h2,h3,h4,h5,h6{font-weight:700;line-height:1.25;color:#fff}
h1{font-size:clamp(2rem,5vw,3.5rem)}
h2{font-size:clamp(1.6rem,4vw,2.5rem)}
h3{font-size:clamp(1.15rem,2.5vw,1.5rem)}
p{margin-bottom:1rem}
.container{width:100%;max-width:1200px;margin:0 auto;padding:0 1.25rem}

/* --- Buttons --- */
.btn{display:inline-flex;align-items:center;justify-content:center;padding:.85rem 2rem;border-radius:50px;font-weight:700;font-size:1rem;border:none;cursor:pointer;transition:all .3s}
.btn-primary{background:#E8B500;color:#0E0E0E}
.btn-primary:hover{background:#FFD54F;color:#0E0E0E}
.btn-secondary{background:transparent;color:#E8B500;border:2px solid #E8B500}
.btn-secondary:hover{background:#E8B500;color:#0E0E0E}
.btn-white{background:#fff;color:#0E0E0E}
.btn-white:hover{background:#e0e0e0}

/* --- Header / Navbar --- */
.navbar{position:fixed;top:0;left:0;width:100%;z-index:1000;padding:1rem 0;transition:background .3s,box-shadow .3s}
.navbar.scrolled{background:rgba(14,14,14,.97);box-shadow:0 2px 20px rgba(0,0,0,.5)}
.navbar .container{display:flex;align-items:center;justify-content:space-between}
.logo{font-size:1.6rem;font-weight:700;color:#fff;letter-spacing:1px}
.logo span{color:#E8B500}
.nav-links{display:flex;gap:1.8rem;align-items:center}
.nav-links a{color:#e0e0e0;font-weight:500;font-size:.95rem;transition:color .3s}
.nav-links a:hover,.nav-links a.active{color:#E8B500}
.nav-toggle{display:none;background:none;border:none;color:#fff;font-size:1.5rem;cursor:pointer}
.nav-cta{padding:.6rem 1.5rem;border-radius:50px;background:#E8B500;color:#0E0E0E;font-weight:700;font-size:.9rem}
.nav-cta:hover{background:#FFD54F;color:#0E0E0E}

/* --- Hero Section --- */
.hero{min-height:100vh;display:flex;align-items:center;padding-top:5rem;background:linear-gradient(135deg,#0E0E0E 0%,#1A1A1A 100%);position:relative;overflow:hidden}
.hero::after{content:'';position:absolute;top:0;right:0;width:50%;height:100%;background:radial-gradient(ellipse at 80% 50%,rgba(232,181,0,.08) 0%,transparent 70%);pointer-events:none}
.hero .container{position:relative;z-index:2}
.hero-content{max-width:600px}
.hero-badge{display:inline-block;background:rgba(232,181,0,.15);color:#E8B500;padding:.4rem 1rem;border-radius:50px;font-size:.85rem;font-weight:600;margin-bottom:1.5rem}
.hero h1{margin-bottom:1.25rem}
.hero h1 .accent{color:#E8B500}
.hero p{font-size:1.15rem;margin-bottom:2rem;color:#b0b0b0}
.hero-btns{display:flex;gap:1rem;flex-wrap:wrap}

/* --- Channel Logos Marquee --- */
.marquee-section{padding:2rem 0;background:#0E0E0E;border-top:1px solid #1f1f1f;border-bottom:1px solid #1f1f1f;overflow:hidden}
.marquee-track{display:flex;gap:3rem;animation:marquee 30s linear infinite;width:max-content}
.marquee-track img{width:60px;height:60px;object-fit:contain;filter:brightness(0) invert(1);opacity:.7}
@keyframes marquee{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}

/* --- Shows Grid --- */
.shows-section{padding:5rem 0;background:#0E0E0E}
.shows-section .section-label{text-align:center;color:#E8B500;font-weight:600;text-transform:uppercase;font-size:.85rem;letter-spacing:2px;margin-bottom:.5rem}
.shows-section h2{text-align:center;margin-bottom:3rem}
.shows-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:1rem}
.shows-grid img{border-radius:12px;aspect-ratio:2/3;object-fit:cover;transition:transform .3s}
.shows-grid img:hover{transform:scale(1.05)}

/* --- Pricing Section --- */
.pricing-section{padding:5rem 0;background:linear-gradient(180deg,#1A1A1A 0%,#0E0E0E 100%)}
.pricing-section .section-label{text-align:center;color:#E8B500;font-weight:600;text-transform:uppercase;font-size:.85rem;letter-spacing:2px;margin-bottom:.5rem}
.pricing-section h2{text-align:center;margin-bottom:.75rem}
.pricing-subtitle{text-align:center;color:#999;margin-bottom:3rem;font-size:1.05rem}
.pricing-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1.5rem;max-width:1100px;margin:0 auto}
.pricing-card{background:#1A1A1A;border:1px solid #2a2a2a;border-radius:16px;padding:2rem;text-align:center;transition:transform .3s,border-color .3s;position:relative}
.pricing-card:hover{transform:translateY(-5px);border-color:#E8B500}
.pricing-card.featured{border-color:#E8B500;box-shadow:0 0 30px rgba(232,181,0,.15)}
.pricing-card.featured .card-badge{position:absolute;top:-12px;left:50%;transform:translateX(-50%);background:#E8B500;color:#0E0E0E;padding:.3rem 1.2rem;border-radius:50px;font-size:.8rem;font-weight:700}
.pricing-card h3{font-size:1.25rem;margin-bottom:1rem;color:#E8B500}
.pricing-card .price{font-size:2.75rem;font-weight:700;color:#fff;margin-bottom:.5rem}
.pricing-card .price .currency{font-size:1.2rem;vertical-align:super}
.pricing-card .period{color:#888;font-size:.9rem;margin-bottom:1.5rem}
.pricing-card .features{margin-bottom:2rem}
.pricing-card .features li{padding:.5rem 0;color:#ccc;font-size:.9rem;border-bottom:1px solid #2a2a2a;display:flex;align-items:center;gap:.5rem}
.pricing-card .features li::before{content:'\2713';color:#E8B500;font-weight:700}
.pricing-card .btn{width:100%}

/* --- Features / Services Section --- */
.features-section{padding:5rem 0;background:#0E0E0E}
.features-section .section-label{text-align:center;color:#E8B500;font-weight:600;text-transform:uppercase;font-size:.85rem;letter-spacing:2px;margin-bottom:.5rem}
.features-section h2{text-align:center;margin-bottom:3rem}
.features-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:2rem}
.feature-card{background:#1A1A1A;border:1px solid #2a2a2a;border-radius:16px;padding:2rem;text-align:center;transition:border-color .3s}
.feature-card:hover{border-color:#E8B500}
.feature-card .icon{width:60px;height:60px;margin:0 auto 1.25rem;display:flex;align-items:center;justify-content:center;background:rgba(232,181,0,.1);border-radius:50%;font-size:1.5rem;color:#E8B500}
.feature-card .icon img{width:30px;height:30px;filter:brightness(0) saturate(100%) invert(73%) sepia(68%) saturate(1000%) hue-rotate(9deg) brightness(100%) contrast(101%)}
.feature-card h3{margin-bottom:.75rem}
.feature-card p{color:#999;font-size:.9rem}

/* --- Testimonials --- */
.testimonials-section{padding:5rem 0;background:linear-gradient(180deg,#0E0E0E 0%,#1A1A1A 100%)}
.testimonials-section .section-label{text-align:center;color:#E8B500;font-weight:600;text-transform:uppercase;font-size:.85rem;letter-spacing:2px;margin-bottom:.5rem}
.testimonials-section h2{text-align:center;margin-bottom:3rem}
.testimonials-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:2rem}
.testimonial-card{background:#1A1A1A;border:1px solid #2a2a2a;border-radius:16px;padding:2rem}
.testimonial-card .stars{color:#E8B500;font-size:1.2rem;margin-bottom:1rem}
.testimonial-card h4{margin-bottom:.75rem;color:#E8B500}
.testimonial-card p{color:#ccc;font-size:.95rem;font-style:italic;margin-bottom:1rem}
.testimonial-card .author{color:#888;font-size:.85rem;font-weight:600}

/* --- FAQ Section --- */
.faq-section{padding:5rem 0;background:#0E0E0E}
.faq-section .section-label{text-align:center;color:#E8B500;font-weight:600;text-transform:uppercase;font-size:.85rem;letter-spacing:2px;margin-bottom:.5rem}
.faq-section h2{text-align:center;margin-bottom:3rem}
.faq-list{max-width:800px;margin:0 auto}
.faq-item{border:1px solid #2a2a2a;border-radius:12px;margin-bottom:1rem;overflow:hidden;background:#1A1A1A}
.faq-item summary{padding:1.25rem 1.5rem;font-weight:600;color:#fff;cursor:pointer;display:flex;justify-content:space-between;align-items:center;font-size:1rem;list-style:none}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{content:'+';font-size:1.5rem;color:#E8B500;transition:transform .3s}
.faq-item[open] summary::after{content:'\2212'}
.faq-item .faq-answer{padding:0 1.5rem 1.25rem;color:#bbb;font-size:.95rem;line-height:1.7}

/* --- Devices/Compatibility Section --- */
.devices-section{padding:5rem 0;background:#1A1A1A}
.devices-section .section-label{text-align:center;color:#E8B500;font-weight:600;text-transform:uppercase;font-size:.85rem;letter-spacing:2px;margin-bottom:.5rem}
.devices-section h2{text-align:center;margin-bottom:1rem}
.devices-section p{text-align:center;max-width:700px;margin:0 auto 3rem;color:#999}
.devices-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:1.5rem;max-width:800px;margin:0 auto}
.device-item{text-align:center;padding:1.5rem;background:#0E0E0E;border-radius:12px;border:1px solid #2a2a2a}
.device-item .device-icon{font-size:2.5rem;margin-bottom:.75rem}
.device-item span{display:block;color:#ccc;font-size:.9rem;font-weight:600}

/* --- Global Reach / Stats --- */
.stats-section{padding:5rem 0;background:#0E0E0E}
.stats-section .section-label{text-align:center;color:#E8B500;font-weight:600;text-transform:uppercase;font-size:.85rem;letter-spacing:2px;margin-bottom:.5rem}
.stats-section h2{text-align:center;margin-bottom:1rem}
.stats-section>p,.stats-section .desc{text-align:center;max-width:600px;margin:0 auto 3rem;color:#999}
.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:2rem;max-width:900px;margin:0 auto}
.stat-card{text-align:center;padding:2rem;background:#1A1A1A;border-radius:16px;border:1px solid #2a2a2a}
.stat-card .number{font-size:2.5rem;font-weight:700;color:#E8B500;display:block}
.stat-card .label{color:#ccc;font-size:.9rem;margin-top:.5rem;display:block}

/* --- Footer --- */
.footer{background:#0a0a0a;padding:4rem 0 2rem;border-top:1px solid #1f1f1f}
.footer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:2rem;margin-bottom:3rem}
.footer-col .logo{margin-bottom:1rem}
.footer-col p{color:#888;font-size:.9rem}
.footer-col h4{color:#fff;font-size:1rem;margin-bottom:1rem}
.footer-col a{display:block;color:#888;padding:.3rem 0;font-size:.9rem}
.footer-col a:hover{color:#E8B500}
.footer-bottom{text-align:center;padding-top:2rem;border-top:1px solid #1f1f1f;color:#666;font-size:.85rem}

/* --- Page Headers (Inner Pages) --- */
.page-header{padding:8rem 0 3rem;background:linear-gradient(135deg,#0E0E0E 0%,#1A1A1A 100%);text-align:center}
.page-header h1{margin-bottom:.75rem}
.page-header p{color:#999;max-width:600px;margin:0 auto}
.breadcrumb{display:flex;justify-content:center;gap:.5rem;margin-top:1rem;font-size:.9rem;color:#888}
.breadcrumb a{color:#E8B500}

/* --- Content Sections (Legal/About/etc) --- */
.content-section{padding:4rem 0;background:#0E0E0E}
.content-section .content-wrap{max-width:800px;margin:0 auto}
.content-section h2{margin:2rem 0 1rem;color:#E8B500;font-size:1.4rem}
.content-section h3{margin:1.5rem 0 .75rem;color:#E8B500;font-size:1.15rem}
.content-section p{color:#ccc;margin-bottom:1rem}
.content-section ul,.content-section ol{padding-left:1.5rem;margin-bottom:1.5rem}
.content-section li{color:#ccc;margin-bottom:.5rem;padding-left:.5rem}
.content-section ul li{list-style:disc}
.content-section ol li{list-style:decimal}

/* --- Forms --- */
.form-section{padding:4rem 0;background:#0E0E0E}
.form-wrap{max-width:600px;margin:0 auto;background:#1A1A1A;border-radius:16px;padding:2.5rem;border:1px solid #2a2a2a}
.form-wrap h2{text-align:center;margin-bottom:2rem}
.form-group{margin-bottom:1.25rem}
.form-group label{display:block;margin-bottom:.4rem;font-weight:600;font-size:.9rem;color:#ccc}
.form-group input,.form-group select,.form-group textarea{width:100%;padding:.85rem 1rem;border-radius:10px;border:1px solid #2a2a2a;background:#0E0E0E;color:#fff;font-family:inherit;font-size:.95rem}
.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:#E8B500}
.form-group textarea{resize:vertical;min-height:120px}
.hp-field{position:absolute;left:-9999px;opacity:0;height:0}
.form-message{padding:.75rem 1rem;border-radius:8px;margin-top:1rem;font-size:.9rem;text-align:center}
.form-message--success{background:rgba(76,175,80,.15);color:#4CAF50;border:1px solid rgba(76,175,80,.3)}
.form-message--error{background:rgba(244,67,54,.15);color:#F44336;border:1px solid rgba(244,67,54,.3)}

/* --- Checkout Page --- */
.checkout-section{padding:4rem 0;background:#0E0E0E}
.checkout-grid{display:grid;grid-template-columns:1fr 1fr;gap:3rem;max-width:1000px;margin:0 auto}
.order-summary{background:#1A1A1A;border-radius:16px;padding:2rem;border:1px solid #2a2a2a}
.order-summary h3{margin-bottom:1.5rem;color:#E8B500}
.order-summary .plan-card{background:#0E0E0E;border-radius:12px;padding:1.5rem;margin-bottom:1rem;border:1px solid #2a2a2a;cursor:pointer;transition:border-color .3s}
.order-summary .plan-card.selected{border-color:#E8B500}
.order-summary .plan-card h4{color:#fff}
.order-summary .plan-card .plan-price{color:#E8B500;font-size:1.5rem;font-weight:700}

/* --- Channels Page --- */
.channels-section{padding:4rem 0;background:#0E0E0E}
.channels-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:1rem}
.channel-card{background:#1A1A1A;border-radius:12px;padding:1rem;text-align:center;border:1px solid #2a2a2a;transition:border-color .3s}
.channel-card:hover{border-color:#E8B500}
.channel-card img{width:50px;height:50px;margin:0 auto .5rem;object-fit:contain}
.channel-card span{display:block;font-size:.75rem;color:#ccc}

/* --- Setup Guide --- */
.setup-section{padding:4rem 0;background:#0E0E0E}
.setup-section .article-content{max-width:800px;margin:0 auto}
.setup-section .article-content h2{color:#E8B500;margin:2.5rem 0 1rem;font-size:1.5rem}
.setup-section .article-content h3{color:#E8B500;margin:1.5rem 0 .75rem}
.setup-section .article-content p{color:#ccc}
.setup-section .article-content img{border-radius:8px;margin:1.5rem 0}
.setup-section .article-content a{color:#E8B500}

/* --- Reseller Page --- */
.reseller-hero{padding:8rem 0 4rem;background:linear-gradient(135deg,#0E0E0E 0%,#1A1A1A 100%);text-align:center}
.reseller-hero h1{margin-bottom:1rem}
.reseller-hero p{color:#999;max-width:600px;margin:0 auto 2rem}
.reseller-benefits{padding:4rem 0;background:#0E0E0E}
.reseller-benefits .benefits-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:2rem}
.benefit-card{background:#1A1A1A;border-radius:16px;padding:2rem;border:1px solid #2a2a2a;text-align:center}
.benefit-card .icon{font-size:2.5rem;margin-bottom:1rem}
.benefit-card h3{margin-bottom:.75rem}
.benefit-card p{color:#999;font-size:.9rem}

/* --- About Page --- */
.about-hero{padding:8rem 0 4rem;background:linear-gradient(135deg,#0E0E0E 0%,#1A1A1A 100%)}
.about-content{padding:4rem 0;background:#0E0E0E}
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:center}
.about-text h2{margin-bottom:1rem;color:#E8B500}
.about-text p{color:#ccc}
.about-img{border-radius:16px;overflow:hidden}
.about-img img{width:100%;border-radius:16px}
.values-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:2rem;margin-top:3rem}
.value-card{background:#1A1A1A;padding:2rem;border-radius:16px;border:1px solid #2a2a2a;text-align:center}
.value-card .icon{font-size:2rem;margin-bottom:1rem;color:#E8B500}
.value-card h3{margin-bottom:.5rem}
.value-card p{color:#999;font-size:.9rem}

/* --- CTA Section --- */
.cta-section{padding:5rem 0;background:linear-gradient(135deg,#1A1A1A 0%,#0E0E0E 100%);text-align:center}
.cta-section h2{margin-bottom:1rem}
.cta-section p{color:#999;max-width:600px;margin:0 auto 2rem}

/* --- Language Flags Grid (Channels) --- */
.languages-section{padding:4rem 0;background:#1A1A1A}
.languages-section h2{text-align:center;margin-bottom:2rem}
.languages-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:1rem;max-width:900px;margin:0 auto}
.lang-card{background:#0E0E0E;border-radius:10px;padding:1rem;text-align:center;border:1px solid #2a2a2a;transition:border-color .3s}
.lang-card:hover{border-color:#E8B500}
.lang-card img{width:40px;height:40px;margin:0 auto .5rem;object-fit:contain}
.lang-card span{font-size:.8rem;color:#ccc;display:block}

/* --- Mobile Responsive --- */
@media(max-width:768px){
  .nav-links{display:none;flex-direction:column;position:absolute;top:100%;left:0;width:100%;background:#0E0E0E;padding:1.5rem;gap:1rem;border-top:1px solid #1f1f1f}
  .nav-links.open{display:flex}
  .nav-toggle{display:block}
  .hero{min-height:auto;padding:7rem 0 3rem}
  .hero-content{max-width:100%}
  .pricing-grid{grid-template-columns:1fr}
  .checkout-grid{grid-template-columns:1fr}
  .about-grid{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr 1fr}
  .shows-grid{grid-template-columns:repeat(auto-fill,minmax(100px,1fr))}
  .stats-grid{grid-template-columns:1fr 1fr}
  .devices-grid{grid-template-columns:repeat(2,1fr)}

  .hero { padding: 60px 0 40px; }
}
@media(max-width:480px){
  .footer-grid{grid-template-columns:1fr}
  .hero-btns{flex-direction:column}
  .stats-grid{grid-template-columns:1fr}
  .devices-grid{grid-template-columns:1fr 1fr}
}

/* Skip Link */
.skip-link { position: absolute; top: -100%; left: 16px; z-index: 9999; background: var(--accent, #00E5B9); color: var(--primary, #000); padding: 8px 16px; border-radius: 4px; font-weight: 600; font-size: .9rem; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 8px; }

@media (max-width: 1024px) {
  .container { padding: 0 24px; }
@media (max-width: 640px) {
  .container { padding: 0 16px; }
@media (max-width: 360px) {
  .hero h1 { font-size: 1.25rem; }

/* ─── TOUCH & INTERACTION ─── */
@media (hover: none) and (pointer: coarse) {
  .btn, .nav-cta, a, button { min-height: 44px; min-width: 44px; }
  .nav-links a { padding: 12px 8px; }
  .faq-question { padding: 16px; }
}

/* ─── REDUCED MOTION ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ─── PRINT ─── */
@media print {
  .site-header, .site-footer, .nav-toggle, .whatsapp-btn, .skip-link, footer, header, nav { display: none !important; }
  body { color: #000; background: #fff; }
  a { color: #000; text-decoration: underline; }
  .hero { background: none; padding: 20px 0; }
}
