/* ==========================================================================
   US IPTV Hub - Master Stylesheet
   Modern Dark Theme with Orange Accents & High-Converting CRO
   ========================================================================== */

:root {
  --bg-dark: #0f1115;
  --bg-darker: #090a0c;
  --bg-card: #161a22;
  --bg-card-hover: #1d222d;
  
  --primary: #f97316;
  --primary-hover: #ea580c;
  --primary-glow: rgba(249, 115, 22, 0.35);
  
  --text-white: #f8fafc;
  --text-light: #94a3b8;
  --text-dim: #64748b;
  
  --border-color: #232836;
  --border-focus: rgba(249, 115, 22, 0.5);
  
  --success: #22c55e;
  --whatsapp: #25D366;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --container-width: 1200px;
  --header-height: 80px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  background-color: var(--bg-dark);
  color: var(--text-white);
  -webkit-font-smoothing: antialiased;
}

body {
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(249, 115, 22, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(249, 115, 22, 0.03) 0%, transparent 45%);
  background-attachment: fixed;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 5rem 0;
}

/* Typography & Badges */
h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.text-primary {
  color: var(--primary);
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 0.8rem;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.15rem;
  max-width: 720px;
  margin: 0 auto;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-primary {
  background: rgba(249, 115, 22, 0.15);
  color: var(--primary);
  border: 1px solid rgba(249, 115, 22, 0.3);
}

.badge-success {
  background: rgba(34, 197, 94, 0.15);
  color: var(--success);
  border: 1px solid rgba(34, 197, 94, 0.3);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.btn-primary {
  background-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 18px var(--primary-glow);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.5);
  color: #fff;
}

.btn-whatsapp {
  background-color: var(--whatsapp);
  color: #fff;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background-color: #20ba59;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--text-white);
  border: 1px solid var(--border-color);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
}

/* Fixed Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(15, 17, 21, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 2px 10px var(--primary-glow);
}

.logo-icon svg {
  width: 20px;
  height: 20px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  color: var(--text-light);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-link:hover {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--border-color);
  color: #fff;
  padding: 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding: 11rem 0 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  background-image: 
    linear-gradient(180deg, rgba(15, 17, 21, 0.65) 0%, rgba(15, 17, 21, 0.96) 100%),
    url('../images/hero-background.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-content {
  max-width: 840px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.hero h1 strong {
  color: var(--primary);
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

/* Device Marquee / Grid */
.device-marquee-section {
  padding: 2.5rem 0 3.5rem;
  border-bottom: 1px solid var(--border-color);
  background: rgba(22, 26, 34, 0.4);
}

.device-badge-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.device-badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-light);
  transition: var(--transition);
}

.device-badge-item:hover {
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.device-badge-item svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
}

/* Trust Badges Bar */
.trust-badges-bar {
  display: flex;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-white);
}

.trust-badge-item svg {
  width: 20px;
  height: 20px;
  color: var(--success);
}

/* How It Works (3 Steps) */
.steps-section {
  padding: 5rem 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  transition: var(--transition);
  position: relative;
}

.step-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-focus);
  transform: translateY(-5px);
}

.step-card-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 14px;
}

.step-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-card-desc {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Pricing Section */
.pricing-section {
  padding: 5rem 0;
  background: rgba(15, 17, 21, 0.6);
}

/* Device Tabs Switcher (Matches user pill mockup) */
.device-tabs-container {
  display: flex;
  justify-content: center;
  margin: 0 auto 3rem auto;
}

.device-tabs-wrapper {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  padding: 8px 10px;
  border-radius: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border: 1px solid #e2e8f0;
  gap: 8px;
}

.device-tab-btn {
  border: none;
  outline: none;
  background: transparent;
  padding: 10px 22px;
  border-radius: 14px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #334155;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  user-select: none;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.device-tab-btn.active {
  background: #0d121f;
  color: #00e599;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.device-tab-btn:not(.active):hover {
  color: #0f172a;
  background: rgba(15, 23, 42, 0.05);
}

@media (max-width: 640px) {
  .device-tabs-wrapper {
    padding: 4px;
    gap: 2px;
  }
  .device-tab-btn {
    padding: 8px 14px;
    font-size: 0.9rem;
  }
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 5rem;
  align-items: stretch;
}

.pricing-grid.grid-4 {
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.pricing-card:hover {
  border-color: rgba(249, 115, 22, 0.4);
  transform: translateY(-6px);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.5);
}

.pricing-card.featured {
  background: linear-gradient(180deg, #1b202c 0%, #161a22 100%);
  border: 2px solid var(--primary);
  box-shadow: 0 10px 30px rgba(249, 115, 22, 0.2);
  transform: scale(1.03);
}

.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-6px);
}

.pricing-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 5px 16px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.price-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 14px 0 6px;
}

.currency-symbol {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.price-value {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
}

.old-price {
  font-size: 1.1rem;
  color: var(--text-dim);
  text-decoration: line-through;
  margin-left: 6px;
}

.price-monthly {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 22px;
}

.feature-list {
  margin: 0 0 28px;
  flex-grow: 1;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-white);
  margin-bottom: 12px;
}

.feature-list li svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
  flex-shrink: 0;
}

.urgency-note {
  font-size: 0.78rem;
  color: #f87171;
  text-align: center;
  margin-top: 10px;
  font-weight: 600;
}

/* Free Trial Banner Section */
.free-trial-section {
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 4.5rem 0;
  text-align: center;
}

.free-trial-box {
  max-width: 720px;
  margin: 0 auto;
}

.free-trial-box h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.free-trial-box p {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* Features Grid */
.features-section {
  padding: 5rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-item-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: var(--transition);
}

.feature-item-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(249, 115, 22, 0.3);
  transform: translateY(-3px);
}

.feature-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(249, 115, 22, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.feature-icon-box svg {
  width: 22px;
  height: 22px;
}

.feature-content h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.feature-content p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* FAQ Accordion */
.faq-section {
  padding: 5rem 0;
  background: rgba(15, 17, 21, 0.5);
}

.faq-accordion {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--border-focus);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
}

.faq-chevron {
  width: 18px;
  height: 18px;
  color: var(--text-light);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 24px;
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 20px;
}

/* Footer */
.site-footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 3rem;
}

@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-light);
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.88rem;
  color: var(--text-dim);
}

/* Floating WhatsApp Button */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 99999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 26px rgba(37, 211, 102, 0.6);
}

.wa-float svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}

.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--whatsapp);
  opacity: 0.6;
  z-index: -1;
  animation: wa-pulse 2.2s infinite;
}

@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.6; }
  70% { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
  .pricing-grid.grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-card.featured {
    transform: none;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Blog Section - Exact US IPTV Hub Style
   ========================================================================== */
.blog-section {
  padding: 6rem 0;
  border-top: 1px solid var(--border-color);
  background-color: var(--bg-dark);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 992px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

.card {
  background-color: var(--bg-card);
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.card h3, .card-title {
  font-weight: bold;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.card-title a {
  color: var(--text-white);
  text-decoration: none;
  transition: var(--transition);
}

.card-title a:hover {
  color: var(--primary);
}

.card p {
  color: var(--text-light);
  line-height: 1.6;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: 9999px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  text-decoration: none;
}

.btn-outline:hover {
  background-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px var(--primary-glow);
}

/* ==========================================================================
   Blog Section & Single Post - US IPTV HubIPTV Exact Match
   ========================================================================== */
.blog-section {
  padding: 5rem 0;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 992px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

.card {
  background-color: var(--bg-card);
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.card-title a {
  color: var(--text-white);
  transition: color 0.2s ease;
}

.card-title a:hover,
.card h3 a:hover {
  color: var(--primary) !important;
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: 9999px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 0.5rem 1.25rem;
}

.btn-outline:hover {
  background-color: var(--primary);
  color: #fff !important;
  box-shadow: 0 4px 14px var(--primary-glow);
}

/* BLOG POST SINGLE & HERO STYLES */
.blog-hero {
  height: 60vh;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15, 17, 21, 0.7), var(--bg-dark));
}

.blog-title-container {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1rem;
}

.blog-post-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  background: var(--bg-card);
  border-radius: 12px;
  margin-top: -5rem;
  position: relative;
  z-index: 10;
  border: 1px solid var(--border-color);
  margin-bottom: 5rem;
}

.blog-post-content h2,
.blog-post-content h3 {
  color: var(--text-white);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.blog-post-content p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
  line-height: 1.8;
}

.blog-post-content ul,
.blog-post-content ol {
  color: var(--text-light);
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.blog-post-content li {
  margin-bottom: 0.5rem;
}

.blog-post-content a {
  color: var(--primary);
  text-decoration: underline;
}

.blog-post-content a:hover {
  color: var(--primary-hover);
}

/* Blog Reading Modal */
.blog-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.blog-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 12, 16, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.blog-modal-dialog {
  position: relative;
  z-index: 10;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  max-width: 780px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  animation: modalFadeIn 0.25s ease-out;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.blog-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(15, 17, 21, 0.85);
  color: #fff;
  border: 1px solid var(--border-color);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  transition: var(--transition);
}

.blog-modal-close:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.blog-modal-hero {
  position: relative;
  height: 240px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 1.75rem;
}

.blog-modal-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(22, 26, 34, 0.98), rgba(22, 26, 34, 0.4));
}

.blog-modal-header {
  position: relative;
  z-index: 2;
}

.blog-modal-content {
  padding: 2.25rem;
  color: var(--text-light);
  line-height: 1.8;
  font-size: 1.05rem;
}

.blog-modal-content h3 {
  color: #fff;
  margin: 1.8rem 0 0.8rem;
  font-size: 1.35rem;
}

.blog-modal-content p {
  margin-bottom: 1.25rem;
}

.blog-modal-content ul {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.blog-modal-content li {
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .site-header {
    height: 70px;
  }
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(15, 17, 21, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    transform: translateY(-150%);
    transition: transform 0.3s ease;
  }
  .nav-menu.open {
    transform: translateY(0);
  }
  .mobile-menu-btn {
    display: block;
  }
  .header-actions .btn {
    padding: 0.45rem 1rem;
    font-size: 0.85rem;
  }
  .hero {
    padding: 8rem 0 4rem;
  }
  .pricing-grid.grid-4 {
    grid-template-columns: 1fr;
  }
  .footer-container {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Installation Page Interactive Device Guide & Programmatic SEO Pages
   ========================================================================== */
.device-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 992px) {
  .device-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .device-grid {
    grid-template-columns: 1fr;
  }
}

.device-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 1.5rem 1.25rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  user-select: none;
  text-decoration: none;
  display: block;
}

.device-card i, .device-card svg {
  font-size: 2.25rem;
  width: 36px;
  height: 36px;
  color: var(--text-light);
  margin-bottom: 0.85rem;
  display: inline-block;
  transition: var(--transition);
}

.device-card .h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.35rem;
}

.device-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin: 0;
}

.device-card:hover {
  border-color: var(--primary);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.device-card:hover i, .device-card:hover svg {
  color: var(--primary);
}

.device-card.active {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.12) 0%, rgba(22, 26, 34, 0.95) 100%);
  border-color: var(--primary);
  box-shadow: 0 0 25px var(--primary-glow);
  transform: translateY(-2px);
}

.device-card.active i, .device-card.active svg {
  color: var(--primary);
}

.guide-content {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .guide-content {
    padding: 1.5rem 1rem;
  }
}

.guide-step {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.25rem;
  transition: var(--transition);
}

.guide-step:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(249, 115, 22, 0.3);
}

.step-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.5rem;
}

.step-number {
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 800;
  flex-shrink: 0;
}

.step-content {
  font-size: 0.95rem;
  color: #cbd5e1;
  padding-left: 2.5rem;
  line-height: 1.6;
}

.tip-box {
  background: rgba(249, 115, 22, 0.08);
  border: 1px solid rgba(249, 115, 22, 0.25);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin-top: 1.75rem;
  color: #fed7aa;
  font-size: 0.95rem;
}

.warning-box {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin-top: 1.75rem;
  color: #fca5a5;
  font-size: 0.95rem;
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-light);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.breadcrumbs a {
  color: var(--text-light);
  transition: color 0.2s;
}

.breadcrumbs a:hover {
  color: var(--primary);
}

.breadcrumbs span.separator {
  color: var(--border-color);
}

/* Device Spec Badges */
.guide-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0 2.5rem;
}

.guide-meta-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  color: var(--text-light);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.guide-meta-item strong {
  color: var(--text-white);
}

/* Related Guides Grid */
.related-guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.related-guide-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.25rem;
  text-decoration: none;
  transition: all 0.25s ease;
  display: block;
}

.related-guide-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  background: var(--bg-card-hover);
}

.related-guide-card h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: var(--text-white);
}

.related-guide-card p {
  font-size: 0.8rem;
  color: var(--text-light);
  margin: 0;
}

/* ==========================================================================
   Homepage Global Coverage / Supported Countries Section (Ultra-Premium)
   ========================================================================== */
.geo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

@media (max-width: 1100px) {
  .geo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .geo-grid {
    grid-template-columns: 1fr;
  }
}

.geo-card {
  background: linear-gradient(145deg, rgba(22, 26, 34, 0.95) 0%, rgba(15, 17, 21, 0.95) 100%);
  border: 1px solid rgba(51, 65, 85, 0.7);
  border-radius: 14px;
  padding: 1.4rem 1.25rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.geo-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.geo-card:hover {
  border-color: rgba(249, 115, 22, 0.6);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45), 0 0 20px rgba(249, 115, 22, 0.15);
  background: linear-gradient(145deg, rgba(28, 33, 44, 0.98) 0%, rgba(18, 22, 30, 0.98) 100%);
}

.geo-card:hover::before {
  opacity: 1;
}

.geo-card-top {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.geo-flag-img {
  width: 38px;
  height: 25px;
  border-radius: 4px;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.geo-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-white);
  margin: 0 0 0.15rem 0;
  line-height: 1.2;
}

.geo-card-status {
  font-size: 0.72rem;
  color: #10b981;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.geo-pulse-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
  flex-shrink: 0;
}

.status-pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
  margin-right: 6px;
  vertical-align: middle;
}

.live-pulse-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #ef4444;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.9);
  margin-right: 6px;
  vertical-align: middle;
  animation: pulse-red 1.8s infinite;
}

@keyframes pulse-red {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.geo-tag-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.75rem 0 1.25rem 0;
}

.geo-tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.22rem 0.55rem;
  border-radius: 6px;
  line-height: 1.3;
}

.geo-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 0.85rem;
  margin-top: auto;
  transition: all 0.2s ease;
}

.geo-card-footer svg {
  transition: transform 0.2s ease;
}

.geo-card:hover .geo-card-footer {
  color: #fb923c;
}

.geo-card:hover .geo-card-footer svg {
  transform: translateX(4px);
}

/* ==========================================================================
   Channel & Sports Checker Tool
   ========================================================================== */
.channel-checker-section {
  padding: 4.5rem 0;
  background: radial-gradient(circle at 50% 20%, rgba(249, 115, 22, 0.05) 0%, transparent 60%);
}

.checker-container {
  max-width: 980px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}

.checker-search-wrapper {
  margin-bottom: 1.25rem;
}

.checker-search-box {
  display: flex;
  align-items: center;
  position: relative;
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.6rem 1.2rem;
  transition: all 0.25s ease;
}

.checker-search-box:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.checker-search-icon {
  color: var(--primary);
  margin-right: 0.75rem;
  flex-shrink: 0;
}

.checker-search-input {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text-white);
  font-size: 1rem;
  font-family: inherit;
  outline: none;
}

.checker-search-input::placeholder {
  color: var(--text-dim);
}

.checker-clear-btn {
  background: transparent;
  border: none;
  color: var(--text-light);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 0.25rem;
  transition: color 0.2s ease;
}

.checker-clear-btn:hover {
  color: #fff;
}

.checker-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.checker-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-light);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.checker-chip:hover {
  background: rgba(249, 115, 22, 0.12);
  border-color: rgba(249, 115, 22, 0.3);
  color: #fff;
}

.checker-chip.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 2px 10px rgba(249, 115, 22, 0.35);
}

.checker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.85rem;
}

.checker-card {
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.checker-card:hover {
  transform: translateY(-2px);
  border-color: rgba(249, 115, 22, 0.4);
}

.checker-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}

.checker-card-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-white);
}

.checker-card-cat {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-bottom: 0.65rem;
}

.checker-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.checker-badge-quality {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.25);
  padding: 2px 7px;
  border-radius: 4px;
}

.checker-badge-live {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--success);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.checker-badge-live::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 6px var(--success);
}

.checker-custom-card {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.08), rgba(22, 26, 34, 0.95));
  border: 1px solid rgba(34, 197, 94, 0.35);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.checker-custom-icon {
  font-size: 2rem;
  line-height: 1;
}

.checker-custom-info {
  flex: 1;
  min-width: 200px;
}

.checker-custom-info h4 {
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 0.25rem;
}

.checker-custom-info p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.4;
}

.checker-footer-note {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.25rem;
}

/* ==========================================================================
   Live Social Proof Sales Toast
   ========================================================================== */
.sales-toast-container {
  position: fixed;
  bottom: 25px;
  left: 25px;
  z-index: 998;
  pointer-events: none;
}

.sales-toast {
  pointer-events: auto;
  background: rgba(22, 26, 34, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(249, 115, 22, 0.35);
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 340px;
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.sales-toast.show {
  transform: translateY(0);
  opacity: 1;
}

.sales-toast-flag {
  font-size: 1.35rem;
  line-height: 1;
  flex-shrink: 0;
}

.sales-toast-content {
  flex: 1;
  min-width: 0;
}

.sales-toast-text {
  font-size: 0.82rem;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 2px;
}

.sales-toast-text strong {
  color: #fff;
  font-weight: 700;
}

.sales-toast-time {
  font-size: 0.72rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 5px;
}

.sales-toast-time::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 5px #22c55e;
  display: inline-block;
}

.sales-toast-close {
  background: transparent;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 1.15rem;
  line-height: 1;
  padding: 0 2px;
  transition: color 0.2s ease;
}

.sales-toast-close:hover {
  color: #fff;
}

@media (max-width: 768px) {
  .sales-toast-container {
    bottom: 85px;
    left: 12px;
    max-width: calc(100% - 100px);
  }
  .sales-toast {
    max-width: 100%;
    padding: 10px 12px;
  }
}



