/* ==========================================================================
   testline iptv — Modern Dark Theme Stylesheet
   Design tokens: #070714 bg, #1a1a3a borders, #3b82f6/#2563eb accent, DM Sans
   ========================================================================== */

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/dm-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/dm-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg-main: #070714;
  --bg-sec-1: #0c0c1f;
  --bg-sec-2: #111128;
  --bg-sec-3: #0b0b16;
  --card-border: #1a1a3a;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;
  --blue-text: #60a5fa;
  --blue-primary: #3b82f6;
  --blue-hover: #2563eb;
  --wa-green: #25d366;
  --wa-hover: #20b558;
  --check-green: #4ade80;
  --cross-red: #f87171;
  --font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-family);
  background-color: var(--bg-main);
  color: var(--text-main);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

/* Container */
.site-container {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.site-container-narrow {
  max-width: 896px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.site-container-md {
  max-width: 1024px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Marquee Top Bar */
.top-bar-marquee {
  background: linear-gradient(90deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
  border-bottom: 1px solid rgba(59, 130, 246, 0.3);
  height: 38px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.top-bar-marquee::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #3b82f6, #60a5fa, transparent);
}

.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marquee-anim 28s linear infinite;
  will-change: transform;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-right: 48px;
  color: #e2e8f0;
}

.marquee-item .highlight {
  color: #60a5fa;
  font-weight: 700;
}

@keyframes marquee-anim {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* Site Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background-color: rgba(7, 7, 20, 0.92);
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo img {
  height: 42px;
  width: auto;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 4px;
}

.desktop-nav a {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: #cbd5e1;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.desktop-nav a:hover {
  color: #ffffff;
  background-color: rgba(59, 130, 246, 0.12);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* WhatsApp Buttons */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--wa-green);
  color: #052e16 !important;
  font-weight: 700;
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 15px;
  white-space: nowrap;
  transition: all 0.2s ease;
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.4);
  text-decoration: none;
}

.btn-whatsapp:hover {
  background-color: var(--wa-hover);
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(37, 211, 102, 0.6);
}

.pricing-card .btn-whatsapp {
  width: 100%;
  padding: 13px 14px;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  justify-content: center;
  white-space: nowrap;
  border-radius: 12px;
  box-sizing: border-box;
}

.btn-whatsapp-lg {
  padding: 14px 24px;
  font-size: 16px;
  border-radius: 14px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #052e16;
  position: relative;
  display: inline-block;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid rgba(5, 46, 22, 0.6);
  animation: pulse-ring 1.8s ease-out infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* Primary Secondary Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-hover));
  color: #ffffff !important;
  font-weight: 700;
  border-radius: 12px;
  padding: 14px 28px;
  font-size: 15px;
  transition: all 0.2s ease;
  box-shadow: 0 0 25px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(59, 130, 246, 0.6);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.4);
  color: #60a5fa !important;
  font-weight: 600;
  border-radius: 12px;
  padding: 14px 28px;
  font-size: 15px;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: rgba(59, 130, 246, 0.18);
  border-color: rgba(59, 130, 246, 0.7);
  color: #ffffff !important;
  transform: translateY(-2px);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 32px;
  height: 28px;
  padding: 4px;
  background: transparent;
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 6px;
  cursor: pointer;
}

.mobile-menu-btn span {
  width: 100%;
  height: 2px;
  background-color: #60a5fa;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 82%;
  max-width: 340px;
  height: 100vh;
  background-color: #0c0c1f;
  border-left: 1px solid #1a1a3a;
  z-index: 999;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8);
  overflow-y: auto;
}

.mobile-drawer.active {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid #1a1a3a;
}

.mobile-drawer-close {
  font-size: 24px;
  color: #94a3b8;
  padding: 4px 8px;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav-links a {
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 8px;
  color: #cbd5e1;
  background-color: rgba(26, 26, 58, 0.4);
  transition: all 0.2s ease;
}

.mobile-nav-links a:hover {
  color: #60a5fa;
  background-color: rgba(59, 130, 246, 0.15);
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #20b558);
  color: #052e16 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5), 0 0 15px rgba(37, 211, 102, 0.3);
  z-index: 90;
  transition: all 0.3s ease;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.7);
}

.floating-whatsapp svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

/* Sections */
section {
  position: relative;
  overflow: hidden;
}

.bg-dark-1 { background-color: var(--bg-main); }
.bg-dark-2 { background-color: var(--bg-sec-1); }
.bg-dark-3 { background-color: var(--bg-sec-2); }
.bg-dark-4 { background-color: var(--bg-sec-3); }

/* Badges */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.4);
  color: #93c5fd;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

.badge-gold {
  background: rgba(234, 179, 8, 0.15);
  border: 1px solid rgba(234, 179, 8, 0.4);
  color: #fde047;
}

.badge-green {
  background: rgba(74, 222, 128, 0.15);
  border: 1px solid rgba(74, 222, 128, 0.4);
  color: #86efac;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-top: 12px;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 60%, #93c5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* Cards */
.card-dark {
  background: #111128;
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
  position: relative;
}

.card-dark:hover {
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(59, 130, 246, 0.15);
}

.card-dark-highlight {
  background: linear-gradient(160deg, #1e1b4b 0%, #111128 60%, #0c0c1f 100%);
  border: 2px solid #3b82f6;
  box-shadow: 0 0 35px rgba(59, 130, 246, 0.35);
}

/* Grid Layouts */
.grid-1 { display: grid; grid-template-columns: 1fr; gap: 20px; }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 20px; }
.grid-4 { display: grid; grid-template-columns: 1fr; gap: 20px; }
.grid-5 { display: grid; grid-template-columns: 1fr; gap: 16px; }
.grid-6 { display: grid; grid-template-columns: 1fr; gap: 16px; }

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .grid-6 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .desktop-nav { display: flex; }
  .mobile-menu-btn { display: none; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-5 { grid-template-columns: repeat(5, 1fr); }
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
  .section-header h2 { font-size: 2.5rem; }
}

/* Hero Section */
.hero-section {
  padding-top: 60px;
  padding-bottom: 70px;
  background: radial-gradient(ellipse at 50% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 60%), #070714;
  border-bottom: 1px solid rgba(59, 130, 246, 0.15);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
  }
}

.hero-text h1 {
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1.15;
  margin-top: 16px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 40%, #93c5fd 80%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (min-width: 640px) {
  .hero-text h1 { font-size: 3.2rem; }
}

.hero-text p.lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #cbd5e1;
  margin-bottom: 30px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 14px;
  color: #cbd5e1;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-feature-item .check {
  color: var(--check-green);
  font-weight: 700;
}

.hero-image-wrap {
  position: relative;
  border-radius: 20px;
  overflow: visible;
}

.hero-image-main {
  width: 100%;
  height: auto;
  border-radius: 20px;
  border: 1px solid rgba(59, 130, 246, 0.4);
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.7), 0 0 40px rgba(59, 130, 246, 0.25);
  display: block;
}

.hero-stats-group {
  display: contents;
}

.floating-stat-card {
  position: absolute;
  background: rgba(17, 17, 40, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(59, 130, 246, 0.5);
  padding: 12px 18px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  z-index: 2;
  transition: all 0.3s ease;
}

.floating-stat-1 {
  bottom: 20px;
  left: -15px;
  border-color: rgba(74, 222, 128, 0.5);
}

.floating-stat-2 {
  top: 20px;
  right: -15px;
  border-color: rgba(59, 130, 246, 0.5);
}

.floating-stat-3 {
  bottom: 25px;
  right: -15px;
  border-color: rgba(244, 114, 182, 0.5);
}

.stat-num {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1;
}

.stat-lbl {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Pricing Cards */
.pricing-card {
  background: #111128;
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(59, 130, 246, 0.2);
}

.pricing-card-featured {
  background: linear-gradient(160deg, #172554 0%, #111128 50%, #0c0c1f 100%);
  border: 2px solid #3b82f6;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6), 0 0 40px rgba(59, 130, 246, 0.35);
  transform: scale(1.03);
}

.pricing-featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #3b82f6, #60a5fa);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: 9999px;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.5);
}

.pricing-header {
  margin-bottom: 20px;
}

.pricing-badge-sub {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(59, 130, 246, 0.15);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.3);
  margin-bottom: 12px;
}

.pricing-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
}

.pricing-price-wrap {
  margin-bottom: 24px;
}

.pricing-amount {
  font-size: 2.6rem;
  font-weight: 800;
  color: #60a5fa;
  line-height: 1;
}

.pricing-period {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}

.pricing-per-month {
  font-size: 14px;
  font-weight: 700;
  color: #93c5fd;
  margin-top: 6px;
}

.pricing-features-list {
  list-style: none;
  margin-bottom: 28px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #cbd5e1;
}

.pricing-features-list li .check {
  color: var(--check-green);
  font-weight: 700;
  flex-shrink: 0;
}

/* Accordion FAQ */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #111128;
  border: 1px solid var(--card-border);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-item:hover {
  border-color: rgba(59, 130, 246, 0.4);
}

.faq-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  color: #f1f5f9;
  background: transparent;
  gap: 16px;
}

.faq-button:hover {
  color: #60a5fa;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #60a5fa;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: rgba(59, 130, 246, 0.3);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
}

.faq-item.active .faq-answer {
  max-height: 600px;
}

.faq-answer-inner {
  padding: 0 22px 20px 22px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}

/* Tables */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--card-border);
  border-radius: 16px;
  background: #0c0c1f;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 620px;
}

.data-table th {
  background: #111128;
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 700;
  color: #cbd5e1;
  border-bottom: 1px solid var(--card-border);
}

.data-table td {
  padding: 14px 20px;
  font-size: 14px;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(26, 26, 58, 0.6);
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tr:hover td {
  background-color: rgba(59, 130, 246, 0.05);
}

.highlight-col {
  background-color: rgba(59, 130, 246, 0.08) !important;
  color: #93c5fd !important;
  font-weight: 600;
}

/* Breadcrumbs */
.breadcrumbs {
  background-color: #0c0c1f;
  border-bottom: 1px solid var(--card-border);
  padding: 12px 0;
  font-size: 14px;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.breadcrumbs a {
  color: var(--text-muted);
  transition: color 0.2s;
}

.breadcrumbs a:hover {
  color: #60a5fa;
}

.breadcrumbs .sep {
  color: var(--text-subtle);
  user-select: none;
}

.breadcrumbs .current {
  color: #cbd5e1;
  font-weight: 500;
}

/* Prose for Blog & Long Content */
.prose {
  color: #cbd5e1;
  font-size: 1.05rem;
  line-height: 1.8;
}

.prose h2 {
  font-size: 1.85rem;
  font-weight: 700;
  color: #ffffff;
  margin-top: 2.2rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.prose h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #93c5fd;
  margin-top: 1.8rem;
  margin-bottom: 0.8rem;
  line-height: 1.35;
}

.prose p {
  margin-bottom: 1.4rem;
}

.prose ul, .prose ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.prose li {
  margin-bottom: 0.5rem;
}

.prose strong {
  color: #ffffff;
}

.prose a {
  color: #60a5fa;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose a:hover {
  color: #93c5fd;
}

.prose blockquote {
  border-left: 4px solid #3b82f6;
  padding: 14px 20px;
  background: rgba(59, 130, 246, 0.08);
  border-radius: 0 12px 12px 0;
  margin: 1.8rem 0;
  color: #e2e8f0;
  font-style: italic;
}

/* Related Search Chips */
.search-chip {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 500;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.25);
  color: #94a3b8;
  transition: all 0.2s ease;
}

.search-chip:hover {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.5);
  color: #ffffff;
}

/* Channel Logo Grid */
.channel-pill-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 640px) {
  .channel-pill-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1024px) {
  .channel-pill-grid { grid-template-columns: repeat(6, 1fr); }
}

.channel-pill {
  background: #111128;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.channel-pill:hover {
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-2px);
}

.channel-pill img {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.channel-badge-txt {
  font-size: 14px;
  font-weight: 700;
  color: #60a5fa;
  padding: 6px 14px;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 8px;
}

/* Site Footer */
.site-footer {
  margin-top: auto;
  background: linear-gradient(180deg, #0c0c1f 0%, #070714 100%);
  border-top: 1px solid rgba(59, 130, 246, 0.25);
  padding-top: 56px;
  padding-bottom: 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--card-border);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #60a5fa;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-trust-line {
  padding: 20px 0;
  border-bottom: 1px solid rgba(26, 26, 58, 0.7);
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 14px;
  color: #cbd5e1;
}

.footer-bottom {
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-subtle);
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.footer-legal-links {
  display: flex;
  gap: 16px;
}

.footer-legal-links a {
  color: var(--text-muted);
}

.footer-legal-links a:hover {
  color: #60a5fa;
}

/* Utility classes */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-green { color: var(--check-green); }
.text-red { color: var(--cross-red); }
.text-blue { color: var(--blue-text); }
.text-muted { color: var(--text-muted); }
.text-white { color: #ffffff; }
.font-bold { font-weight: 700; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }

/* ==========================================================================
   Comprehensive Mobile & Tablet Responsiveness (max-width: 1023px, 768px, 480px)
   ========================================================================== */

@media (max-width: 1023px) {
  .site-header-inner {
    height: 64px;
  }
  .desktop-nav {
    display: none !important;
  }
  .mobile-menu-btn {
    display: flex !important;
  }
}

@media (max-width: 768px) {
  /* Prevent horizontal scrolling and edge collision */
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
  }

  .site-container,
  .site-container-narrow,
  .site-container-md {
    padding-left: 14px;
    padding-right: 14px;
  }

  /* Spacing */
  .py-16 {
    padding-top: 2.75rem !important;
    padding-bottom: 2.75rem !important;
  }
  .py-20 {
    padding-top: 3.25rem !important;
    padding-bottom: 3.25rem !important;
  }

  /* Header adjustments */
  .site-header-inner {
    height: 60px;
  }
  .site-logo img {
    height: 36px;
  }
  .header-actions {
    gap: 8px;
  }
  .header-actions .btn-whatsapp {
    padding: 8px 12px;
    font-size: 13px;
    border-radius: 8px;
  }

  /* Hero Section */
  .hero-section {
    padding-top: 32px !important;
    padding-bottom: 40px !important;
  }
  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 32px;
  }
  .hero-text h1 {
    font-size: 1.85rem !important;
    line-height: 1.25 !important;
    margin-top: 10px;
    margin-bottom: 14px;
    word-break: break-word;
  }
  .hero-text p.lead {
    font-size: 1.02rem !important;
    line-height: 1.6 !important;
    margin-bottom: 22px;
  }
  .hero-cta-group {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin-bottom: 22px;
  }
  .hero-cta-group .btn-whatsapp,
  .hero-cta-group .btn-secondary,
  .hero-cta-group .btn-primary {
    width: 100%;
    min-height: 48px;
    justify-content: center;
    font-size: 15px;
    box-sizing: border-box;
  }
  .hero-features {
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
  }
  .hero-image-main {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
  }

  /* Hero Stats on Mobile (No overlapping, perfectly aligned) */
  .hero-image-wrap {
    position: relative;
    width: 100%;
    margin-top: 10px;
  }
  .hero-stats-group {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
    margin-top: 14px !important;
    width: 100% !important;
  }

  .floating-stat-card {
    position: static !important;
    transform: none !important;
    padding: 10px 6px !important;
    border-radius: 12px !important;
    text-align: center !important;
    background: #111128 !important;
    border: 1px solid var(--card-border) !important;
    box-shadow: none !important;
  }

  .floating-stat-card .stat-num {
    font-size: 1.15rem !important;
  }

  .floating-stat-card .stat-lbl {
    font-size: 11px !important;
    margin-top: 3px !important;
    white-space: nowrap !important;
  }

  /* Headings & Section Headers */
  .section-header {
    margin-bottom: 28px;
  }
  .section-header h2 {
    font-size: 1.6rem !important;
    line-height: 1.25;
  }
  .section-header p {
    font-size: 14px;
  }
  .badge-pill {
    font-size: 12px;
    padding: 5px 12px;
  }

  /* Grids & Cards */
  .grid-2, .grid-3, .grid-4, .grid-6 {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }
  .grid-5 {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
  }
  .card-dark, .feature-card, .review-card {
    padding: 20px 16px;
    border-radius: 14px;
  }

  /* Pricing Cards on Mobile */
  .pricing-card {
    padding: 24px 18px;
    border-radius: 16px;
  }
  .pricing-card-featured {
    transform: none !important;
    margin: 8px 0;
  }
  .pricing-card-featured:hover {
    transform: translateY(-2px) !important;
  }
  .pricing-amount {
    font-size: 2.3rem;
  }
  .pricing-card .btn-whatsapp {
    width: 100% !important;
    min-height: 48px;
    font-size: 15px;
    padding: 13px 14px;
    box-sizing: border-box;
  }

  /* Comparison Tables */
  .table-responsive {
    margin: 0;
    width: 100%;
    border-radius: 12px;
    -webkit-overflow-scrolling: touch;
  }
  .data-table {
    min-width: 500px;
  }
  .data-table th, .data-table td {
    padding: 10px 12px;
    font-size: 13px;
  }

  /* FAQ Accordion */
  .faq-button {
    padding: 14px 16px;
    gap: 12px;
  }
  .faq-button span {
    font-size: 14px;
    line-height: 1.45;
  }
  .faq-body {
    padding: 0 16px 14px 16px;
    font-size: 14px;
    line-height: 1.6;
  }

  /* Marquee */
  .marquee-track {
    gap: 24px;
    font-size: 12px;
  }
  .marquee-strip {
    padding: 8px 0;
  }

  /* Channel Grid */
  .channel-pill-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 10px;
  }
  .channel-pill {
    padding: 12px 8px;
  }
  .channel-pill img {
    height: 26px;
  }
  .channel-pill span {
    font-size: 11px;
  }

  /* Search Chips */
  .search-chips {
    gap: 8px;
  }
  .search-chip {
    padding: 6px 12px;
    font-size: 12px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 24px 16px;
  }
  .footer-trust-line {
    flex-direction: column;
    gap: 10px;
    font-size: 13px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .footer-legal-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  /* Prose / Blog content */
  .prose h2, .article-body h2 {
    font-size: 1.45rem !important;
    line-height: 1.3 !important;
    margin-top: 1.75rem;
  }
  .prose h3, .article-body h3 {
    font-size: 1.22rem !important;
    line-height: 1.35 !important;
    margin-top: 1.4rem;
  }
  .prose, .article-body {
    font-size: 0.98rem;
    line-height: 1.7;
  }
}

@media (max-width: 480px) {
  .site-header-inner {
    height: 56px;
  }
  .site-logo img {
    height: 32px;
  }
  .header-actions .btn-whatsapp {
    display: none;
  }
  .hero-text h1 {
    font-size: 1.65rem !important;
  }
  .hero-stats-group {
    gap: 6px !important;
  }
  .floating-stat-card {
    padding: 8px 4px !important;
  }
  .floating-stat-card .stat-num {
    font-size: 1.05rem !important;
  }
  .floating-stat-card .stat-lbl {
    font-size: 10px !important;
  }
  .grid-5 {
    grid-template-columns: 1fr !important;
  }
  .channel-pill-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }
  .floating-whatsapp {
    bottom: 16px;
    right: 16px;
    width: 52px;
    height: 52px;
  }
  .floating-whatsapp svg {
    width: 28px;
    height: 28px;
  }
}
