/* TheSDP IPTV - Cyber Crimson & Obsidian Theme */
:root {
  --bg: #090b10;
  --surface: #11141d;
  --surface-hover: #171b26;
  --surface-border: #1f2536;
  --primary: #f43f5e;
  --primary-glow: rgba(244, 63, 94, 0.35);
  --accent: #f59e0b;
  --accent-glow: rgba(245, 158, 11, 0.35);
  --cyan: #06b6d4;
  --emerald: #10b981;
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --max-w: 1240px;
  --radius: 18px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.65;
}
body {
  background: 
    radial-gradient(circle at 10% 8%, rgba(244, 63, 94, 0.10), transparent 35%),
    radial-gradient(circle at 90% 12%, rgba(245, 158, 11, 0.08), transparent 35%),
    radial-gradient(circle at 50% 65%, rgba(6, 182, 212, 0.05), transparent 45%),
    var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: var(--transition); }
img { max-width: 100%; height: auto; }
.container { width: min(var(--max-w), calc(100% - 40px)); margin: 0 auto; }

header.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(9, 11, 16, 0.90);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--surface-border);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 76px; gap: 20px;
}
.logo {
  display: flex; align-items: center; gap: 12px;
  font-size: 1.45rem; font-weight: 900; letter-spacing: -0.03em;
}
.logo-badge {
  width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.1rem; box-shadow: 0 4px 15px var(--primary-glow);
}
.logo span {
  background: linear-gradient(135deg, #fb7185, #f59e0b);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.nav-links { display: flex; align-items: center; gap: 22px; list-style: none; }
.nav-links a {
  font-size: 0.93rem; font-weight: 600; color: var(--text-muted);
  position: relative; padding: 6px 2px;
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
}
.header-actions { display: flex; align-items: center; gap: 12px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 12px 22px; border-radius: 12px;
  font-weight: 700; font-size: 0.92rem; cursor: pointer;
  border: 1px solid transparent; transition: var(--transition);
  text-align: center; white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, #e11d48, #f43f5e);
  color: #fff; box-shadow: 0 4px 20px var(--primary-glow);
}
.btn-primary:hover {
  transform: translateY(-2px); box-shadow: 0 8px 25px var(--primary-glow);
  filter: brightness(1.1);
}
.btn-amber {
  background: linear-gradient(135deg, #d97706, #f59e0b);
  color: #fff; box-shadow: 0 4px 18px var(--accent-glow);
}
.btn-amber:hover {
  transform: translateY(-2px); box-shadow: 0 8px 22px var(--accent-glow);
  filter: brightness(1.1);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.05); color: #e2e8f0;
  border: 1px solid var(--surface-border);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2); transform: translateY(-2px);
}
.btn-outline-primary {
  background: transparent; color: #fb7185;
  border: 1px solid rgba(251, 113, 133, 0.4);
}
.btn-outline-primary:hover {
  background: rgba(244, 63, 94, 0.12); border-color: #f43f5e;
}
.btn-lg { padding: 15px 32px; font-size: 1.05rem; border-radius: 14px; }

.mobile-toggle {
  display: none; background: transparent; border: none;
  color: #fff; font-size: 1.5rem; cursor: pointer; padding: 6px;
}

.hero-section { padding: 85px 0 65px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 50px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(244, 63, 94, 0.12);
  border: 1px solid rgba(244, 63, 94, 0.3);
  color: #fca5a5; padding: 7px 16px; border-radius: 999px;
  font-size: 0.86rem; font-weight: 700; margin-bottom: 22px;
}
.hero-badge i { color: var(--accent); }

h1.hero-title {
  font-size: clamp(2.4rem, 5.2vw, 4.2rem); font-weight: 900;
  line-height: 1.12; letter-spacing: -0.04em; margin-bottom: 20px;
}
h1.hero-title .gradient-text {
  background: linear-gradient(135deg, #fb7185 0%, #f59e0b 50%, #38bdf8 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
p.hero-lead {
  font-size: 1.15rem; color: #cbd5e1; line-height: 1.75;
  margin-bottom: 30px; max-width: 650px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 35px; }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px;
  padding-top: 25px; border-top: 1px solid var(--surface-border);
}
.stat-item h3 { font-size: 1.7rem; font-weight: 900; color: #fff; letter-spacing: -0.02em; }
.stat-item p {
  font-size: 0.82rem; color: var(--text-muted); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em;
}

.hero-card {
  background: linear-gradient(165deg, rgba(24, 28, 42, 0.85), rgba(15, 18, 28, 0.95));
  border: 1px solid var(--surface-border); border-radius: 28px;
  padding: 34px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  position: relative; overflow: hidden;
}
.hero-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--cyan));
}
.card-tag {
  display: inline-block; font-size: 0.75rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.1em; color: #fb7185; margin-bottom: 12px;
}
.hero-card h2 { font-size: 1.65rem; font-weight: 800; margin-bottom: 14px; letter-spacing: -0.02em; }
.hero-card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 22px; }

.check-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.check-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.92rem; font-weight: 600; color: #e2e8f0;
}
.check-list li i { color: var(--emerald); font-size: 1rem; }

section { padding: 80px 0; position: relative; }
.section-head { max-width: 780px; margin: 0 auto 50px; text-align: center; }
.eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.12em; color: #fb7185; margin-bottom: 10px;
}
h2.section-title {
  font-size: clamp(2rem, 3.8vw, 3rem); font-weight: 900;
  line-height: 1.2; letter-spacing: -0.035em; margin-bottom: 14px;
}
p.section-desc { font-size: 1.05rem; color: var(--text-muted); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }

.feature-card {
  background: var(--surface); border: 1px solid var(--surface-border);
  border-radius: var(--radius); padding: 32px; transition: var(--transition);
}
.feature-card:hover {
  background: var(--surface-hover); border-color: rgba(244, 63, 94, 0.35);
  transform: translateY(-4px);
}
.feature-icon {
  width: 54px; height: 54px; border-radius: 14px; display: flex;
  align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 20px;
}
.feature-icon.crimson { background: rgba(244, 63, 94, 0.15); color: #f43f5e; }
.feature-icon.amber { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.feature-icon.cyan { background: rgba(6, 182, 212, 0.15); color: #06b6d4; }
.feature-icon.emerald { background: rgba(16, 185, 129, 0.15); color: #10b981; }

.feature-card h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 10px; letter-spacing: -0.02em; }
.feature-card p { color: var(--text-muted); font-size: 0.94rem; line-height: 1.65; }

.intext-link {
  color: #fb7185; font-weight: 700; text-decoration: underline;
  text-underline-offset: 3px; transition: var(--transition);
}
.intext-link:hover { color: #fda4af; text-decoration-color: #f43f5e; }

.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 26px; align-items: stretch;
}
.price-card {
  background: var(--surface); border: 1px solid var(--surface-border);
  border-radius: 24px; padding: 36px 30px; display: flex;
  flex-direction: column; position: relative; transition: var(--transition);
}
.price-card:hover {
  border-color: rgba(244, 63, 94, 0.4); transform: translateY(-5px);
}
.price-card.featured {
  background: linear-gradient(165deg, rgba(35, 20, 30, 0.95), rgba(18, 14, 22, 0.98));
  border: 2px solid var(--primary);
  box-shadow: 0 15px 45px rgba(244, 63, 94, 0.25); transform: scale(1.03);
}
.price-card.featured:hover { transform: scale(1.03) translateY(-4px); }

.price-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(90deg, #e11d48, #f59e0b); color: #fff;
  font-size: 0.75rem; font-weight: 900; text-transform: uppercase;
  letter-spacing: 0.1em; padding: 5px 16px; border-radius: 999px;
  box-shadow: 0 4px 12px var(--primary-glow);
}
.price-header h3 { font-size: 1.35rem; font-weight: 800; margin-bottom: 6px; }
.price-header p { color: var(--text-muted); font-size: 0.88rem; }
.price-amount { margin: 24px 0 18px; display: flex; align-items: baseline; gap: 6px; }
.price-amount .currency { font-size: 1.5rem; font-weight: 800; color: #fb7185; }
.price-amount .num { font-size: 3rem; font-weight: 900; letter-spacing: -0.04em; color: #fff; line-height: 1; }
.price-amount .period { font-size: 0.9rem; color: var(--text-dim); }

.price-features {
  list-style: none; display: flex; flex-direction: column;
  gap: 12px; margin-bottom: 28px; flex-grow: 1;
}
.price-features li {
  display: flex; align-items: center; gap: 10px; font-size: 0.92rem; color: #cbd5e1;
}
.price-features li i { color: var(--emerald); font-size: 0.95rem; }

.device-card {
  background: var(--surface); border: 1px solid var(--surface-border);
  border-radius: var(--radius); padding: 26px; transition: var(--transition);
}
.device-card:hover {
  border-color: rgba(244, 63, 94, 0.35); transform: translateY(-3px);
}
.device-card .num {
  font-size: 0.78rem; font-weight: 900; color: #fb7185;
  margin-bottom: 10px; letter-spacing: 0.08em;
}
.device-card h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 10px; }
.device-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

.faq-wrap { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--surface-border);
  border-radius: 14px; overflow: hidden; transition: var(--transition);
}
.faq-item:hover { border-color: rgba(255, 255, 255, 0.18); }
.faq-question {
  padding: 20px 24px; font-weight: 800; font-size: 1.05rem; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; user-select: none;
}
.faq-question i { font-size: 0.9rem; color: #fb7185; transition: transform 0.25s ease; }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-answer {
  padding: 0 24px 20px; color: #cbd5e1; font-size: 0.96rem; line-height: 1.7; display: none;
}
.faq-item.active .faq-answer { display: block; }

.article-container { max-width: 880px; margin: 0 auto; }
.article-body h2 {
  font-size: 1.9rem; font-weight: 800; margin: 38px 0 16px;
  letter-spacing: -0.02em; color: #fff;
}
.article-body h3 {
  font-size: 1.35rem; font-weight: 800; margin: 28px 0 12px; color: #fca5a5;
}
.article-body p {
  color: #cbd5e1; font-size: 1.02rem; line-height: 1.8; margin-bottom: 18px;
}
.article-body ul, .article-body ol {
  margin: 16px 0 24px 22px; color: #cbd5e1; line-height: 1.8;
}
.article-body li { margin-bottom: 8px; }

.callout-box {
  background: linear-gradient(145deg, rgba(244, 63, 94, 0.12), rgba(245, 158, 11, 0.10));
  border: 1px solid rgba(251, 113, 133, 0.3); border-radius: 16px;
  padding: 24px; margin: 28px 0;
}
.callout-box h4 { font-size: 1.15rem; font-weight: 800; color: #fb7185; margin-bottom: 8px; }
.callout-box p { margin-bottom: 0; color: #e2e8f0; }

.cta-banner {
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.22), rgba(245, 158, 11, 0.18));
  border: 1px solid rgba(251, 113, 133, 0.3); border-radius: 28px;
  padding: 60px 40px; text-align: center; position: relative; overflow: hidden;
}
.cta-banner h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 900;
  margin-bottom: 16px; letter-spacing: -0.03em;
}
.cta-banner p { color: #cbd5e1; font-size: 1.1rem; max-width: 650px; margin: 0 auto 28px; }

footer.site-footer {
  background: #06070a; border-top: 1px solid var(--surface-border);
  padding: 70px 0 30px; color: var(--text-muted);
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 45px;
}
.footer-col h4 { color: #fff; font-size: 1.1rem; font-weight: 800; margin-bottom: 18px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { color: var(--text-muted); font-size: 0.92rem; transition: var(--transition); }
.footer-col ul a:hover { color: #fb7185; padding-left: 4px; }
.footer-bottom {
  padding-top: 25px; border-top: 1px solid var(--surface-border);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.86rem; color: var(--text-dim);
}

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .grid-3, .pricing-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .header-actions .btn-secondary { display: none; }
  .mobile-toggle { display: block; }
  .hero-section { padding: 50px 0 40px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .price-card.featured { transform: none; }
  .price-card.featured:hover { transform: translateY(-4px); }
}

.mobile-drawer {
  position: fixed; top: 0; right: -100%; width: 82%; max-width: 360px; height: 100vh;
  background: #0d0f17; border-left: 1px solid var(--surface-border);
  z-index: 2000; padding: 30px 24px; display: flex; flex-direction: column;
  transition: right 0.3s ease; box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}
.mobile-drawer.open { right: 0; }
.drawer-overlay {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(4px);
  z-index: 1999; display: none;
}
.drawer-overlay.open { display: block; }
.drawer-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; }
.drawer-close { background: transparent; border: none; color: #fff; font-size: 1.4rem; cursor: pointer; }
.drawer-links { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.drawer-links a { font-size: 1.1rem; font-weight: 700; color: #e2e8f0; }
.drawer-links a:hover { color: #fb7185; }
