/*
Theme Name: IPTV FR Clone (Starter)
Theme URI: https://example.com/
Author: ChatGPT
Description: Starter WordPress theme inspired by the layout/sections of iptvabonnementfr.fr (hero + reasons + pricing plans + features + FAQ + footer). Replace texts, colors, and images freely.
Version: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: iptvfr-clone
Tags: one-column, custom-logo, custom-menu, responsive-layout
*/

:root{
  --bg:#070a12;
  --bg2:#0b1022;
  --card:#0f1733;
  --card2:#121c3d;
  --text:#eaf0ff;
  --muted:#b6c1e5;
  --border:rgba(255,255,255,.10);
  --accent:#7c5cff;   /* violet */
  --accent2:#26d0ce;  /* teal */
  --warn:#ffcc66;
  --shadow: 0 18px 60px rgba(0,0,0,.45);
  --radius:20px;
  --container:1180px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  background:
    radial-gradient(1100px 600px at 15% 10%, rgba(124,92,255,.25), transparent 55%),
    radial-gradient(900px 520px at 85% 0%, rgba(38,208,206,.18), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  color:var(--text);
  line-height:1.55;
}

a{color:inherit; text-decoration:none}
img{max-width:100%; height:auto; display:block}

.container{max-width:var(--container); margin:0 auto; padding:0 18px}
.section{padding:76px 0}
.section.soft{background: rgba(255,255,255,.03)}
h1,h2,h3{letter-spacing:-.3px}
.h1{font-size: clamp(34px, 3.2vw, 54px); line-height:1.05; margin:0 0 14px}
.h2{font-size: clamp(24px, 2.3vw, 36px); line-height:1.12; margin:0 0 12px}
.lead{font-size:18px; color:var(--muted); margin:0 0 18px}
.small{font-size:14px; color:var(--muted)}
.kicker{display:inline-flex; align-items:center; gap:10px; padding:8px 12px; border:1px solid var(--border); border-radius:999px; background: rgba(255,255,255,.04); color:var(--muted); font-size:13px}

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:12px 16px; border-radius:999px; border:1px solid transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color:#06101f; font-weight:800;
  box-shadow: 0 14px 34px rgba(124,92,255,.18);
}
.btn:hover{transform: translateY(-1px)}
.btn:active{transform: translateY(0)}
.btn.outline{
  background:transparent; color:var(--text);
  border-color: rgba(255,255,255,.18);
  box-shadow:none;
}
.btn.block{width:100%}

.grid{display:grid; gap:16px}
.cols-2{grid-template-columns: repeat(2, minmax(0, 1fr))}
.cols-3{grid-template-columns: repeat(3, minmax(0, 1fr))}
.cols-4{grid-template-columns: repeat(4, minmax(0, 1fr))}

.card{
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow: var(--shadow);
  padding:18px;
}
.card:hover{transform: translateY(-2px)}
.icon{
  width:44px; height:44px; border-radius:16px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(124,92,255,.14);
  display:flex; align-items:center; justify-content:center;
  font-weight:900;
}
.sep{height:1px; background: rgba(255,255,255,.10); margin:18px 0}

/* Topbar + Header */
.topbar{
  font-size:13px;
  background: rgba(255,255,255,.04);
  border-bottom:1px solid rgba(255,255,255,.10);
}
.topbar .inner{display:flex; gap:12px; justify-content:space-between; padding:10px 0; flex-wrap:wrap}
.topbar a{color:var(--muted)}
.header{
  position:sticky; top:0; z-index:60;
  backdrop-filter: blur(12px);
  background: rgba(7,10,18,.62);
  border-bottom:1px solid rgba(255,255,255,.10);
}
.header .inner{display:flex; align-items:center; justify-content:space-between; gap:14px; padding:12px 0; flex-wrap:wrap}
.brand{display:flex; align-items:center; gap:12px}
.brand .site-title{font-weight:950}
.brand .tagline{font-size:12px; color:var(--muted); margin-top:-2px}
.nav ul{list-style:none; display:flex; gap:16px; padding:0; margin:0; flex-wrap:wrap}
.nav a{padding:8px 10px; border-radius:14px; font-weight:750}
.nav a:hover{background: rgba(255,255,255,.06)}

/* Hero */
.hero{padding:62px 0 18px}
.hero-grid{display:grid; grid-template-columns: 1.1fr .9fr; gap:18px; align-items:center}
.hero-media{
  border-radius: 28px;
  border:1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(520px 320px at 30% 20%, rgba(38,208,206,.25), transparent 60%),
    radial-gradient(520px 320px at 80% 10%, rgba(124,92,255,.28), transparent 60%),
    rgba(255,255,255,.03);
  padding:18px;
  min-height: 360px;
}
.hero-media .mock{
  border-radius: 22px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.18);
  padding:16px;
}
.mock .bar{height:10px; border-radius:999px; background: rgba(255,255,255,.10); margin:10px 0}
.mock .bar.w1{width:85%}
.mock .bar.w2{width:66%}
.mock .bar.w3{width:52%}
.hero-badges{display:flex; flex-wrap:wrap; gap:10px; margin-top:14px}
.pill{
  padding:8px 12px; border-radius:999px;
  border:1px dashed rgba(255,255,255,.18);
  background: rgba(255,255,255,.04);
  color:var(--muted); font-size:13px;
}

/* Pricing */
.tabs{display:flex; gap:10px; flex-wrap:wrap; margin:18px 0 12px}
.tab{
  padding:10px 14px; border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.04);
  color:var(--text);
  font-weight:800;
  cursor:pointer;
}
.tab.active{background: rgba(124,92,255,.18); border-color: rgba(124,92,255,.35)}
.plan{
  position:relative;
  overflow:hidden;
}
.plan .name{font-weight:950; letter-spacing:.4px}
.plan .price{font-size:40px; font-weight:950; margin:8px 0 6px}
.plan .per{font-size:13px; color:var(--muted)}
.plan ul{padding-left:18px; margin:14px 0 0}
.plan li{color:var(--muted); margin:8px 0}
.plan.highlight{
  border-color: rgba(38,208,206,.35);
  background: linear-gradient(180deg, rgba(38,208,206,.16), rgba(255,255,255,.03));
}
.ribbon{
  position:absolute; top:14px; right:-46px;
  transform: rotate(35deg);
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  color:#06101f; font-weight:950;
  padding:8px 60px;
}

/* FAQ */
.faq details{
  border:1px solid rgba(255,255,255,.12);
  border-radius:18px;
  background: rgba(255,255,255,.03);
  padding:14px 14px;
}
.faq details + details{margin-top:12px}
.faq summary{cursor:pointer; font-weight:850}
.faq p{margin:10px 0 0; color:var(--muted)}

/* Footer */
.footer{border-top:1px solid rgba(255,255,255,.10); background: rgba(0,0,0,.22)}
.footer .inner{padding:28px 0}
.footer-grid{display:grid; grid-template-columns: 1.2fr .8fr; gap:16px}
.footer-bottom{border-top:1px solid rgba(255,255,255,.10); padding:14px 0; color: rgba(255,255,255,.70); font-size:13px}

@media (max-width: 980px){
  .hero-grid{grid-template-columns: 1fr}
  .cols-4{grid-template-columns: repeat(2, minmax(0, 1fr))}
  .cols-3{grid-template-columns: repeat(2, minmax(0, 1fr))}
  .footer-grid{grid-template-columns:1fr}
}
@media (max-width: 560px){
  .cols-4,.cols-3,.cols-2{grid-template-columns:1fr}
}
