/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #0a0a0b;
  color: #e4e4e7;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── Layout ── */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.section { padding: 120px 0; }
.section-dark { background: #111113; }

/* ── Typography ── */
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; color: #fafafa; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.025em; color: #fafafa; }
h3 { font-size: 1.25rem; font-weight: 600; color: #fafafa; margin-bottom: 8px; }
h4 { font-size: 1.1rem; font-weight: 600; color: #fafafa; margin-bottom: 4px; }
p { color: #a1a1aa; }

.gradient-text {
  background: linear-gradient(135deg, #818cf8, #c084fc, #f472b6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Section Header ── */
.section-header { text-align: center; margin-bottom: 72px; }
.section-header p { margin-top: 16px; font-size: 1.15rem; max-width: 520px; margin-left: auto; margin-right: auto; }
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #818cf8;
  margin-bottom: 16px;
  padding: 4px 14px;
  border-radius: 20px;
  background: rgba(129,140,248,0.1);
  border: 1px solid rgba(129,140,248,0.2);
}

/* ── Nav ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  background: rgba(10,10,11,0.8);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.3s;
}
.nav-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; color: #fafafa; }
.nav-logo {
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(135deg, #818cf8, #c084fc);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1rem; color: #fff;
}
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: 0.9rem; color: #a1a1aa; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: #fafafa; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: #e4e4e7; margin: 4px 0; border-radius: 2px; transition: 0.3s; }
.nav-mobile {
  display: none; flex-direction: column; gap: 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 8px 24px 16px;
}
.nav-mobile a { padding: 12px 0; color: #a1a1aa; font-size: 0.95rem; font-weight: 500; border-bottom: 1px solid rgba(255,255,255,0.04); }
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile.open { display: flex; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; padding: 14px 28px;
  border-radius: 12px; font-weight: 600; font-size: 0.95rem;
  transition: all 0.2s; cursor: pointer; border: none;
}
.btn-primary {
  background: linear-gradient(135deg, #818cf8, #a78bfa);
  color: #fff;
  box-shadow: 0 4px 24px rgba(129,140,248,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(129,140,248,0.4); }
.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: #e4e4e7;
  border: 1px solid rgba(255,255,255,0.1);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); }

/* ── Hero ── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 120px 24px 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(129,140,248,0.15), transparent),
    radial-gradient(ellipse 40% 40% at 70% 20%, rgba(192,132,252,0.1), transparent),
    radial-gradient(ellipse 50% 30% at 30% 60%, rgba(244,114,182,0.05), transparent);
}
.hero-content { position: relative; max-width: 720px; }
.hero-badge {
  display: inline-block; font-size: 0.8rem; font-weight: 600;
  padding: 6px 16px; border-radius: 20px; margin-bottom: 24px;
  background: rgba(129,140,248,0.1); border: 1px solid rgba(129,140,248,0.25);
  color: #818cf8; text-transform: uppercase; letter-spacing: 0.08em;
}
.hero-sub { font-size: 1.2rem; margin-top: 20px; max-width: 560px; margin-left: auto; margin-right: auto; line-height: 1.7; }
.hero-actions { display: flex; gap: 12px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.hero-platforms { display: flex; gap: 8px; justify-content: center; margin-top: 48px; flex-wrap: wrap; }
.platform-chip {
  font-size: 0.8rem; font-weight: 500; padding: 6px 14px;
  border-radius: 8px; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08); color: #71717a;
}

/* ── Feature Grid ── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s;
}
.feature-card:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(129,140,248,0.2);
  transform: translateY(-4px);
}
.feature-card-large { grid-column: span 3; text-align: center; padding: 48px 32px; }
.feature-card-large p { max-width: 600px; margin: 0 auto; }
.feature-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(129,140,248,0.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; color: #818cf8;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-card-large .feature-icon { margin: 0 auto 20px; }
.feature-card p { font-size: 0.92rem; line-height: 1.6; }

@media (max-width: 900px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card-large { grid-column: span 2; }
}
@media (max-width: 600px) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card-large { grid-column: span 1; }
}

/* ── Split Feature (IPTV) ── */
.split-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature-list { display: flex; flex-direction: column; gap: 28px; }
.feature-list-item { display: flex; gap: 16px; align-items: flex-start; }
.feature-list-icon {
  width: 40px; height: 40px; min-width: 40px; border-radius: 10px;
  background: rgba(129,140,248,0.1);
  display: flex; align-items: center; justify-content: center;
  color: #818cf8;
}
.feature-list-icon svg { width: 20px; height: 20px; }
.feature-list-item p { font-size: 0.9rem; margin-top: 2px; }

.iptv-preview {
  background: #18181b; border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
}
.iptv-header { display: flex; gap: 6px; padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.iptv-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.1); }
.iptv-dot:first-child { background: #f87171; }
.iptv-dot:nth-child(2) { background: #fbbf24; }
.iptv-dot:nth-child(3) { background: #34d399; }
.iptv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 20px; }
.iptv-channel {
  background: rgba(255,255,255,0.04); border-radius: 10px;
  padding: 16px 14px; display: flex; flex-direction: column; gap: 10px;
  border: 1px solid rgba(255,255,255,0.05);
  transition: border-color 0.2s;
}
.iptv-channel:hover { border-color: rgba(129,140,248,0.3); }
.iptv-channel-icon {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.05em;
  padding: 3px 8px; border-radius: 4px; display: inline-block; width: fit-content;
  background: rgba(129,140,248,0.15); color: #818cf8;
}
.iptv-channel span { font-size: 0.85rem; font-weight: 500; color: #d4d4d8; }

@media (max-width: 768px) {
  .split-feature { grid-template-columns: 1fr; gap: 48px; }
}

/* ── Download Features ── */
.download-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dl-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  transition: all 0.3s;
}
.dl-card:hover { background: rgba(255,255,255,0.05); transform: translateY(-4px); border-color: rgba(129,140,248,0.2); }
.dl-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(129,140,248,0.1);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; color: #818cf8;
}
.dl-icon svg { width: 24px; height: 24px; }
.dl-card p { font-size: 0.92rem; }

@media (max-width: 600px) { .download-features { grid-template-columns: 1fr; } }

/* ── CTA ── */
.section-cta { text-align: center; padding: 100px 0; background: #111113; }
.section-cta p { font-size: 1.15rem; margin-top: 16px; margin-bottom: 32px; }

/* ── Footer ── */
.footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 40px 0;
}
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: #fafafa; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 0.9rem; color: #71717a; transition: color 0.2s; }
.footer-links a:hover { color: #e4e4e7; }
.footer-copy { font-size: 0.8rem; color: #52525b; width: 100%; text-align: center; margin-top: 16px; }

/* ── Page Layout (Privacy/Support) ── */
.page-hero {
  padding: 120px 24px 60px;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(129,140,248,0.1), transparent);
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); }
.page-hero p { margin-top: 12px; font-size: 1.1rem; }

.page-content {
  max-width: 800px; margin: 0 auto;
  padding: 60px 24px 100px;
}
.page-content h2 {
  font-size: 1.5rem; margin-top: 48px; margin-bottom: 16px;
  padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.page-content h2:first-child { margin-top: 0; }
.page-content p, .page-content li { font-size: 0.95rem; line-height: 1.8; color: #a1a1aa; }
.page-content ul { list-style: none; padding-left: 0; }
.page-content ul li { padding: 4px 0; padding-left: 20px; position: relative; }
.page-content ul li::before { content: ''; position: absolute; left: 0; top: 12px; width: 6px; height: 6px; border-radius: 50%; background: #818cf8; }
.page-content a { color: #818cf8; text-decoration: underline; text-underline-offset: 2px; }
.page-content a:hover { color: #a5b4fc; }
.page-content strong { color: #e4e4e7; }

/* FAQ accordion */
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.06); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; cursor: pointer; font-weight: 600; font-size: 1rem;
  color: #e4e4e7; background: none; border: none; width: 100%;
  text-align: left; font-family: inherit;
}
.faq-q:hover { color: #fafafa; }
.faq-q::after { content: '+'; font-size: 1.4rem; color: #71717a; transition: transform 0.2s; font-weight: 300; }
.faq-q.open::after { content: '\2212'; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s; }
.faq-a.open { max-height: 500px; padding-bottom: 20px; }
.faq-a p { font-size: 0.92rem; }

/* ── Animations ── */
.fade-in {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.2); }
