/* ================================================
   IPTV Pandora — Main Stylesheet
   Theme: Dark Navy + Purple (Pandora)
   ================================================ */
:root {
  --bg:       #060d1a;
  --surface:  #0d1b2e;
  --surface2: #152238;
  --accent:   #a855f7;
  --accent2:  #7c3aed;
  --green:    #00d48a;
  --red:      #ff4e6a;
  --text:     #e2e8f0;
  --muted:    #94a3b8;
  --border:   #1e3a5f;
  --radius:   12px;
  --shadow:   0 4px 24px rgba(168,85,247,.18);
  --max:      1140px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: #c084fc; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
h1,h2,h3,h4 { line-height: 1.25; font-weight: 700; }

/* ─── NAV ─────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(6,13,26,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 0 24px;
  display: flex; align-items: center; gap: 32px;
  height: 64px;
}
.logo {
  font-size: 1.35rem; font-weight: 800;
  color: var(--text); white-space: nowrap;
}
.logo span { color: var(--accent); }
.nav-links {
  display: flex; align-items: center; gap: 6px;
  margin-left: auto; flex-wrap: wrap;
}
.nav-links a {
  color: var(--muted); font-size: .9rem;
  padding: 6px 12px; border-radius: 8px;
  transition: all .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--surface2); }
.nav-toggle {
  display: none; background: none; border: none;
  color: var(--text); font-size: 1.4rem; cursor: pointer;
  margin-left: auto;
}

/* ─── BUTTONS ─────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 10px;
  font-weight: 700; font-size: .95rem;
  transition: all .22s; cursor: pointer;
  border: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  box-shadow: 0 0 24px rgba(168,85,247,.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 36px rgba(168,85,247,.6);
  color: #fff;
}
.btn-green {
  background: linear-gradient(135deg, var(--green), #00b374);
  color: #060d1a; font-weight: 800;
  box-shadow: 0 0 24px rgba(0,212,138,.35);
}
.btn-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 36px rgba(0,212,138,.55);
  color: #060d1a;
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
}
.btn-outline:hover { background: var(--accent); color: #fff; }
.btn-nav {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff !important; padding: 7px 18px !important;
  border-radius: 8px; font-weight: 700;
}
.btn-nav:hover { background: var(--accent2) !important; }

/* ─── HERO ─────────────────────────────────── */
.hero {
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(168,85,247,.18) 0%, transparent 70%);
  padding: 100px 24px 80px;
  text-align: center;
}
.hero-badge {
  display: inline-block;
  background: rgba(168,85,247,.15);
  border: 1px solid rgba(168,85,247,.4);
  color: #c084fc; font-size: .82rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  padding: 6px 16px; border-radius: 50px;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.8rem);
  background: linear-gradient(135deg, #fff 40%, var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
}
.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted); max-width: 640px; margin: 0 auto 36px;
}
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.stats-row {
  display: flex; gap: 40px; justify-content: center;
  flex-wrap: wrap; margin-top: 60px;
}
.stat { text-align: center; }
.stat-num { font-size: 2rem; font-weight: 800; color: var(--accent); }
.stat-lbl { font-size: .82rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }

/* ─── PAGE HERO ─────────────────────────────── */
.page-hero {
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(168,85,247,.14) 0%, transparent 70%);
  padding: 70px 24px 50px; text-align: center;
}
.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  background: linear-gradient(135deg, #fff 40%, var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; margin-bottom: 14px;
}
.page-hero p { color: var(--muted); max-width: 620px; margin: 0 auto; }
.breadcrumb {
  font-size: .82rem; color: var(--muted);
  margin-bottom: 16px; display: flex; gap: 8px; justify-content: center;
}
.breadcrumb a { color: var(--accent); }
.breadcrumb span { color: var(--muted); }

/* ─── SECTIONS ─────────────────────────────── */
.section { padding: 80px 24px; }
.section-alt { background: var(--surface); }
.container { max-width: var(--max); margin: 0 auto; }
.section-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  text-align: center; margin-bottom: 12px;
}
.section-sub {
  text-align: center; color: var(--muted);
  max-width: 560px; margin: 0 auto 48px;
}
.tag {
  display: inline-block; font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--accent); margin-bottom: 10px;
}

/* ─── CARDS ─────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px; transition: all .25s;
}
.card:hover {
  border-color: rgba(168,85,247,.5);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.card-icon { font-size: 2.2rem; margin-bottom: 16px; }
.card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.card p { color: var(--muted); font-size: .92rem; }

/* Feature list */
.feature-list { display: flex; flex-direction: column; gap: 12px; }
.feature-item {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px; padding: 16px 20px;
}
.fi-icon { font-size: 1.5rem; flex-shrink: 0; }
.fi-body h4 { font-size: .95rem; margin-bottom: 4px; }
.fi-body p { font-size: .88rem; color: var(--muted); }

/* ─── PRICING ─────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px; padding: 32px 28px; text-align: center;
  transition: all .25s; position: relative; overflow: hidden;
}
.pricing-card.featured {
  border-color: var(--accent);
  background: linear-gradient(160deg, var(--surface) 0%, rgba(168,85,247,.08) 100%);
  box-shadow: 0 0 40px rgba(168,85,247,.2);
}
.pricing-card.featured::before {
  content: '⭐ POPULAIRSTE KEUZE';
  display: block;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  color: #fff; font-size: .72rem; font-weight: 800;
  letter-spacing: .08em; padding: 6px;
  position: absolute; top: 0; left: 0; right: 0;
}
.pricing-card.featured .pricing-inner { margin-top: 20px; }
.plan-name { font-size: 1rem; color: var(--muted); font-weight: 600; margin-bottom: 16px; }
.plan-price { font-size: 3rem; font-weight: 900; color: #fff; line-height: 1; }
.plan-price sup { font-size: 1.2rem; vertical-align: top; margin-top: 10px; color: var(--muted); }
.plan-per { font-size: .85rem; color: var(--muted); margin-bottom: 24px; }
.plan-features { text-align: left; margin: 0 0 28px; display: flex; flex-direction: column; gap: 10px; }
.plan-features li { display: flex; align-items: center; gap: 10px; font-size: .9rem; }
.plan-features li::before { content: '✓'; color: var(--green); font-weight: 900; }

/* ─── STEPS ─────────────────────────────── */
.steps { display: flex; flex-direction: column; gap: 20px; }
.step {
  display: flex; gap: 20px; align-items: flex-start;
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: 12px; padding: 22px;
}
.step-num {
  min-width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-weight: 900; font-size: 1rem; color: #fff;
}
.step-body h3 { margin-bottom: 6px; }
.step-body p { color: var(--muted); font-size: .92rem; }

/* ─── TABLE ─────────────────────────────── */
.table-wrap { overflow-x: auto; border-radius: 12px; border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; }
th {
  background: var(--surface2); color: var(--text);
  padding: 14px 18px; text-align: left; font-size: .85rem;
  text-transform: uppercase; letter-spacing: .06em;
}
td {
  padding: 14px 18px; border-top: 1px solid var(--border);
  font-size: .92rem; color: var(--text);
}
tr:hover td { background: var(--surface2); }
.check { color: var(--green); font-weight: 900; }
.cross { color: var(--red); }
.hl { color: var(--accent); font-weight: 700; }

/* ─── BLOG ─────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: all .25s;
  display: flex; flex-direction: column;
}
.blog-card:hover {
  border-color: rgba(168,85,247,.4);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.blog-thumb {
  width: 100%; height: 180px;
  background: linear-gradient(135deg, var(--surface2), rgba(168,85,247,.15));
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
}
.blog-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.blog-meta { font-size: .78rem; color: var(--muted); margin-bottom: 10px; display: flex; gap: 12px; }
.blog-cat {
  background: rgba(168,85,247,.15); color: var(--accent);
  padding: 2px 10px; border-radius: 50px; font-size: .75rem; font-weight: 700;
}
.blog-body h3 { font-size: 1.05rem; margin-bottom: 10px; color: var(--text); }
.blog-body p { color: var(--muted); font-size: .9rem; flex: 1; margin-bottom: 16px; }
.blog-read { color: var(--accent); font-size: .88rem; font-weight: 700; }

/* ─── ARTICLE (blog post) ─────────────────── */
.article-layout {
  max-width: var(--max); margin: 0 auto; padding: 60px 24px;
  display: grid; grid-template-columns: 1fr 300px; gap: 48px;
}
.article-content h2 { font-size: 1.6rem; margin: 36px 0 14px; color: var(--text); }
.article-content h3 { font-size: 1.2rem; margin: 28px 0 10px; color: var(--accent); }
.article-content p { margin-bottom: 18px; color: var(--muted); line-height: 1.8; }
.article-content ul, .article-content ol {
  margin: 0 0 18px 20px; color: var(--muted);
}
.article-content li { margin-bottom: 8px; line-height: 1.7; }
.article-content strong { color: var(--text); }
.article-meta { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-bottom: 32px; }
.article-meta .blog-cat { font-size: .8rem; }
.article-date { font-size: .82rem; color: var(--muted); }
.article-read { font-size: .82rem; color: var(--muted); }
.article-intro {
  font-size: 1.1rem; color: var(--text);
  border-left: 3px solid var(--accent);
  padding-left: 20px; margin-bottom: 36px; line-height: 1.75;
}
.article-box {
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: 12px; padding: 24px; margin: 28px 0;
}
.article-box h4 { margin-bottom: 12px; color: var(--accent); }

/* Aside */
.aside-sticky { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 20px; }
.aside-box {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 22px;
}
.aside-box h4 { font-size: .95rem; margin-bottom: 14px; color: var(--accent); }
.aside-box ul { display: flex; flex-direction: column; gap: 8px; }
.aside-box li a { font-size: .88rem; color: var(--muted); transition: color .2s; }
.aside-box li a:hover { color: var(--accent); }
.cta-aside {
  background: linear-gradient(135deg, rgba(168,85,247,.15), rgba(124,58,237,.1));
  border: 1px solid rgba(168,85,247,.35); border-radius: 12px;
  padding: 24px; text-align: center;
}
.cta-aside h4 { margin-bottom: 10px; }
.cta-aside p { font-size: .88rem; color: var(--muted); margin-bottom: 16px; }

/* ─── CTA BANNER ─────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, rgba(168,85,247,.14), rgba(124,58,237,.1));
  border: 1px solid rgba(168,85,247,.3);
  border-radius: 20px; padding: 56px 40px;
  text-align: center; margin: 60px auto 0;
  max-width: 800px;
}
.cta-banner h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 14px; }
.cta-banner p { color: var(--muted); margin-bottom: 28px; }

/* ─── FAQ ─────────────────────────────────── */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; overflow: hidden;
}
.faq-q {
  width: 100%; background: none; border: none;
  color: var(--text); text-align: left; font-size: .95rem;
  font-weight: 600; padding: 18px 20px;
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; gap: 12px;
}
.faq-q:hover { background: var(--surface2); }
.faq-icon { font-size: 1.1rem; transition: transform .25s; color: var(--accent); flex-shrink: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a-inner { padding: 0 20px 18px; color: var(--muted); font-size: .92rem; line-height: 1.75; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* ─── REVIEW / RATING ─────────────────────── */
.review-score {
  text-align: center; padding: 40px;
  background: var(--surface2); border-radius: 16px;
  border: 1px solid var(--border);
}
.big-score { font-size: 5rem; font-weight: 900; color: var(--accent); line-height: 1; }
.stars { font-size: 1.6rem; margin: 8px 0; }
.score-lbl { color: var(--muted); font-size: .88rem; }
.criteria-list { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.crit-item { display: flex; flex-direction: column; gap: 6px; }
.crit-label { font-size: .9rem; display: flex; justify-content: space-between; }
.crit-bar { height: 8px; background: var(--border); border-radius: 50px; overflow: hidden; }
.crit-fill { height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent2)); border-radius: 50px; }

/* ─── FOOTER ─────────────────────────────── */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 60px 24px 32px;
}
.footer-grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 2fr repeat(3,1fr); gap: 40px;
  margin-bottom: 48px;
}
.footer-brand p { color: var(--muted); font-size: .9rem; margin: 12px 0 20px; max-width: 280px; }
.footer-col h4 { font-size: .9rem; color: var(--text); margin-bottom: 16px; text-transform: uppercase; letter-spacing: .06em; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col li a { color: var(--muted); font-size: .88rem; transition: color .2s; }
.footer-col li a:hover { color: var(--accent); }
.footer-bottom {
  max-width: var(--max); margin: 0 auto;
  border-top: 1px solid var(--border); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  font-size: .82rem; color: var(--muted);
}
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--accent); }

/* ─── RESPONSIVE ─────────────────────────── */
@media (max-width: 900px) {
  .grid-3, .pricing-grid, .blog-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .aside-sticky { position: static; }
}
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; flex-direction: column; gap: 4px;
    position: absolute; top: 64px; left: 0; right: 0;
    background: rgba(6,13,26,.97);
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 16px; font-size: 1rem; }
  .hero { padding: 70px 20px 50px; }
  .stats-row { gap: 24px; }
  .section { padding: 56px 20px; }
  .cta-banner { padding: 40px 24px; }
}
@media (max-width: 600px) {
  .grid-3, .grid-2, .pricing-grid, .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.9rem; }
  .stats-row { flex-direction: column; gap: 16px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
