/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #c11111;
  --primary-dark: #9e0d0d;
  --primary-light: #e02525;
  --dark: #1a1a2e;
  --dark-medium: #16213e;
  --accent: #c11111;
  --accent-hover: #9e0d0d;
  --bg: #f7f8fa;
  --white: #ffffff;
  --text: #2d2d2d;
  --text-light: #5a5a5a;
  --text-dark: #2d2d2d;
  --border: #e2e2e2;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
  --radius: 10px;
  --transition: 0.3s ease;
  --card-bg: #ffffff;
  --section-alt-bg: #f0f1f5;
  --footer-bg: #1a1a2e;
  --input-bg: #ffffff;
  --light-bg: #f7f8fa;
}

/* ===== DARK MODE ===== */
[data-theme="dark"] {
  --bg: #121218;
  --white: #1e1e2a;
  --text: #e0e0e0;
  --text-light: #a0a0a0;
  --text-dark: #e0e0e0;
  --border: #333344;
  --dark: #0e0e16;
  --dark-medium: #161626;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.4);
  --card-bg: #1e1e2a;
  --section-alt-bg: #181822;
  --footer-bg: #0e0e16;
  --input-bg: #2a2a3a;
  --light-bg: #1e1e2a;
}

/* -- Header -- */
[data-theme="dark"] .header,
[data-theme="dark"] .header.header-scrolled {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  outline: none !important;
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  transition: transform 0.3s ease !important;
  filter: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Compensate for fixed header: push page content down */
[data-theme="dark"] .hero {
  padding-top: calc(5rem + 70px);
}

[data-theme="dark"] .page-header {
  padding-top: calc(3rem + 70px);
}

[data-theme="dark"] .hamburger span {
  background: var(--text);
}

[data-theme="dark"] .nav-links a {
  color: var(--text);
}

[data-theme="dark"] .nav-links {
  background: transparent;
  box-shadow: none;
  border-top: none;
}

/* -- Hero (text must stay white on the dark gradient) -- */
[data-theme="dark"] .hero {
  background: linear-gradient(180deg, #121218 0%, #1a1a2e 100%);
  color: #fff;
}

[data-theme="dark"] .hero-text h1,
[data-theme="dark"] .hero-text p,
[data-theme="dark"] .stat-box .stat-label {
  color: #e0e0e0;
}

[data-theme="dark"] .stat-box {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

/* -- Buttons (literal white text on coloured backgrounds) -- */
[data-theme="dark"] .btn-primary {
  color: #fff;
}

[data-theme="dark"] .btn-outline {
  border-color: rgba(255,255,255,0.3);
  color: #fff;
}

[data-theme="dark"] .btn-outline:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

[data-theme="dark"] .btn-outline-red {
  border-color: var(--primary-light);
  color: var(--primary-light);
}

[data-theme="dark"] .btn-outline-red:hover {
  background: var(--primary);
  color: #fff;
}

/* -- Section titles & subtitles (--dark becomes invisible; use --text) -- */
[data-theme="dark"] .section-title {
  color: var(--text);
}

[data-theme="dark"] .section-subtitle {
  color: var(--text-light);
}

[data-theme="dark"] .section-alt {
  background: var(--section-alt-bg);
}

/* -- Cards -- */
[data-theme="dark"] .card,
[data-theme="dark"] .hardware-card,
[data-theme="dark"] .iptv-card {
  background: var(--card-bg);
  border-color: var(--border);
}

[data-theme="dark"] .card h3,
[data-theme="dark"] .hw-text h4 {
  color: var(--text);
}

[data-theme="dark"] .card-icon {
  color: #fff;
}

[data-theme="dark"] .hardware-card:hover {
  border-left-color: var(--primary-light);
}

/* -- Plan tabs -- */
[data-theme="dark"] .plan-tab {
  background: var(--card-bg);
  border-color: var(--border);
  color: var(--text);
}

[data-theme="dark"] .plan-tab:hover {
  border-color: var(--primary-light);
  color: var(--primary-light);
}

[data-theme="dark"] .plan-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* -- Plan cards -- */
[data-theme="dark"] .plan-card {
  background: var(--card-bg);
  border-color: var(--border);
}

[data-theme="dark"] .plan-card h3,
[data-theme="dark"] .plan-card .price {
  color: var(--text);
}

[data-theme="dark"] .plan-card.popular::before {
  color: #fff;
}

[data-theme="dark"] .plan-tier-label {
  color: var(--text);
}

[data-theme="dark"] .plan-tier-badge.prime {
  background: var(--section-alt-bg);
  color: #fff;
}

[data-theme="dark"] .plan-tab-note {
  color: var(--text-light);
}

/* -- OTT tabs & items -- */
[data-theme="dark"] .ott-tab {
  background: var(--card-bg);
  border-color: var(--border);
  color: var(--text);
}

[data-theme="dark"] .ott-tab:hover {
  border-color: var(--primary-light);
  color: var(--primary-light);
}

[data-theme="dark"] .ott-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

[data-theme="dark"] .ott-item {
  background: var(--card-bg);
  border-color: var(--border);
  color: var(--text);
}

[data-theme="dark"] .ott-item:hover {
  border-color: var(--primary-light);
}

/* -- IPTV cards -- */
[data-theme="dark"] .iptv-card-header {
  border-bottom-color: var(--border);
}

[data-theme="dark"] .iptv-card-header h3 {
  color: var(--text);
}

[data-theme="dark"] .iptv-badge {
  color: #fff;
}

[data-theme="dark"] .iptv-highlights .iptv-tag {
  background: rgba(193, 17, 17, 0.15);
  color: var(--primary-light);
}

[data-theme="dark"] .iptv-toggle {
  background: var(--section-alt-bg);
  color: var(--text);
  border-color: var(--border);
  border-top-color: var(--border);
}

[data-theme="dark"] .iptv-toggle:hover {
  background: var(--input-bg);
}

[data-theme="dark"] .iptv-channels {
  background: var(--section-alt-bg);
  border-top-color: var(--border);
}

[data-theme="dark"] .channel-grid span {
  background: rgba(255,255,255,0.06);
  color: var(--text);
}

[data-theme="dark"] .channel-cat {
  color: var(--primary-light);
  border-bottom-color: var(--border);
}

/* -- IPTV search -- */
[data-theme="dark"] .iptv-search-box {
  background: var(--input-bg);
  border-color: var(--border);
}

[data-theme="dark"] .iptv-search-input {
  color: var(--text);
}

[data-theme="dark"] .iptv-search-input::placeholder {
  color: var(--text-light);
}

[data-theme="dark"] .iptv-search-clear {
  background: var(--border);
  color: var(--text);
}

[data-theme="dark"] .iptv-search-clear:hover {
  background: var(--primary);
  color: #fff;
}

[data-theme="dark"] .iptv-search-results {
  background: var(--card-bg);
  border-color: var(--border);
}

[data-theme="dark"] .iptv-search-table tbody tr:hover {
  background: rgba(255,255,255,0.05);
}

[data-theme="dark"] .iptv-search-table td {
  border-color: var(--border);
}

[data-theme="dark"] .iptv-search-more {
  border-top-color: var(--border);
  color: var(--text-light);
}

/* -- Page header (about, contact, policies) -- */
[data-theme="dark"] .page-header {
  background: linear-gradient(180deg, #121218 0%, #1a1a2e 100%);
  color: #fff;
}

/* -- Content section (policies, about) -- */
[data-theme="dark"] .content-section {
  background: var(--card-bg);
}

[data-theme="dark"] .content-section h2 {
  color: var(--text);
  border-bottom-color: var(--border);
}

/* -- Contact page -- */
[data-theme="dark"] .contact-info {
  background: var(--dark);
  color: #fff;
}

[data-theme="dark"] .contact-form-card {
  background: var(--card-bg);
}

[data-theme="dark"] .contact-form-card h2 {
  color: var(--text);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea,
[data-theme="dark"] .form-group select {
  background: var(--input-bg);
  border-color: var(--border);
  color: var(--text);
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group textarea:focus,
[data-theme="dark"] .form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(193, 17, 17, 0.2);
}

/* -- Checkout -- */
[data-theme="dark"] .checkout-form,
[data-theme="dark"] .checkout-summary {
  background: var(--card-bg);
}

[data-theme="dark"] .checkout-form h2,
[data-theme="dark"] .checkout-summary h2 {
  color: var(--text);
}

[data-theme="dark"] .summary-item {
  border-bottom-color: var(--border);
}

/* -- Footer (text must stay white on dark bg) -- */
[data-theme="dark"] .footer {
  background: var(--footer-bg);
  color: #fff;
}

[data-theme="dark"] .footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.08);
}

/* ===== PAGE LOADER ===== */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-spinner {
  width: 44px;
  height: 44px;
  border: 4px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== DARK MODE TOGGLE ===== */
.theme-toggle {
  background: none;
  border: 2px solid var(--border);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 0.5rem;
  transition: background 0.2s, border-color 0.2s;
  flex-shrink: 0;
}

.theme-toggle:hover {
  background: rgba(193, 17, 17, 0.08);
  border-color: var(--primary);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }

[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

[data-theme="dark"] .theme-toggle {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] .theme-toggle:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

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

ul {
  list-style: none;
}

/* ===== HEADER / NAVIGATION ===== */
.header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.header.header-hidden {
  transform: translateY(-100%);
}

.header.header-scrolled {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 2rem;
  min-height: 70px;
  gap: 0.5rem;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 100px;
  width: auto;
  margin: -20px 0;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--dark);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.4rem 0;
  position: relative;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background: var(--primary);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--dark);
  border-radius: 3px;
  transition: var(--transition);
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ===== HERO SECTION ===== */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-medium) 60%, #0f3460 100%);
  color: var(--white);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  background: rgba(193, 17, 17, 0.12);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -8%;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: rgba(193, 17, 17, 0.08);
}

.hero-content {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

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

.hero-text .tagline {
  font-size: 1.15rem;
  opacity: 0.85;
  margin-bottom: 0.5rem;
  font-style: italic;
  color: #ffa8a8;
}

.hero-text p {
  font-size: 1.1rem;
  opacity: 0.8;
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.stat-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  backdrop-filter: blur(6px);
}

.stat-box .stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-light);
  display: block;
}

.stat-box .stat-label {
  font-size: 0.85rem;
  opacity: 0.75;
  margin-top: 0.3rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(193, 17, 17, 0.35);
}

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

.btn-outline:hover {
  background: var(--white);
  color: var(--dark);
}

.btn-outline-red {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline-red:hover {
  background: var(--primary);
  color: var(--white);
}

/* ===== SECTIONS ===== */
.section {
  padding: 4.5rem 0;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.section-title span {
  color: var(--primary);
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 3rem;
  font-size: 1.05rem;
}

/* ===== CARDS ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  border-top: 3px solid transparent;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--primary);
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  font-size: 1.5rem;
  color: var(--white);
}

.card h3 {
  font-size: 1.2rem;
  color: var(--dark);
  margin-bottom: 0.6rem;
}

.card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ===== PAGE HEADER ===== */
.page-header {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-medium) 100%);
  color: var(--white);
  padding: 3rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(193, 17, 17, 0.1);
}

.page-header h1 {
  font-size: 2.4rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.page-header p {
  opacity: 0.85;
  margin-top: 0.5rem;
  font-size: 1.05rem;
  position: relative;
  z-index: 1;
}

/* ===== CONTENT SECTION (policies, etc.) ===== */
.content-section {
  background: var(--white);
  border-radius: var(--radius);
  padding: 3rem;
  margin: 3rem auto;
  max-width: 900px;
  box-shadow: var(--shadow);
}

.content-section h2 {
  color: var(--dark);
  font-size: 1.5rem;
  margin: 2rem 0 0.8rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--border);
}

.content-section h2:first-child {
  margin-top: 0;
}

.content-section p,
.content-section li {
  color: var(--text-light);
  margin-bottom: 0.8rem;
  font-size: 0.98rem;
}

.content-section ul,
.content-section ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.content-section ul li {
  list-style: disc;
}

.content-section ol li {
  list-style: decimal;
}

.content-section strong {
  color: var(--text);
}

/* ===== CONTACT FORM ===== */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  margin: 3rem auto;
  max-width: 1000px;
}

.contact-info {
  background: var(--dark);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
}

.contact-info h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info-item .icon {
  width: 40px;
  height: 40px;
  background: rgba(193, 17, 17, 0.25);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.contact-info-item h4 {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 0.2rem;
}

.contact-info-item p {
  font-size: 0.95rem;
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.contact-form-card h2 {
  color: var(--dark);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text);
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color var(--transition);
  background: var(--bg);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(193, 17, 17, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ===== CHECKOUT ===== */
.checkout-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  margin: 3rem auto;
  max-width: 1000px;
}

.checkout-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.checkout-form h2 {
  color: var(--dark);
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
}

.checkout-summary {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  align-self: start;
  position: sticky;
  top: 95px;
}

.checkout-summary h2 {
  color: var(--dark);
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.summary-item:last-child {
  border-bottom: none;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0 0;
  margin-top: 0.5rem;
  border-top: 2px solid var(--primary);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
}

/* ===== PLAN TABS ===== */
.plan-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.plan-tab {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 50px;
  padding: 0.7rem 1.5rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.plan-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.plan-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.plan-tab .tab-sub {
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.8;
}

.plan-tab-content {
  display: none;
}

.plan-tab-content.active {
  display: block;
  animation: tabFadeIn 0.3s ease;
}

@keyframes tabFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.plan-tab-note {
  text-align: center;
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.plan-tier-label {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
  padding-left: 0.3rem;
  border-left: 3px solid var(--primary);
  padding-left: 0.8rem;
}

.plan-tier-badge {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  background: var(--primary);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.plan-tier-badge.prime {
  background: var(--dark);
}

/* ===== PLAN CARDS ===== */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.plan-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 2px solid var(--border);
  transition: all var(--transition);
  text-align: center;
  position: relative;
}

.plan-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.plan-card.popular {
  border-color: var(--primary);
}

.plan-card.popular::before {
  content: 'POPULAR';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.3rem 1rem;
  border-radius: 0 0 8px 8px;
  letter-spacing: 1px;
}

.plan-card h3 {
  font-size: 1.2rem;
  color: var(--dark);
  margin-bottom: 0.3rem;
}

.plan-card .speed {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  margin: 0.8rem 0 0.3rem;
}

.plan-card .speed small {
  font-size: 1rem;
  font-weight: 500;
}

.plan-card .price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
}

.plan-card .price small {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-light);
}

.plan-card ul {
  text-align: left;
  margin-bottom: 1.5rem;
}

.plan-card ul li {
  font-size: 0.9rem;
  color: var(--text-light);
  padding: 0.3rem 0;
  list-style: none;
  padding-left: 1.4rem;
  position: relative;
}

.plan-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* ===== HARDWARE GRID ===== */

/* ===== OTT PLATFORMS ===== */
.ott-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.ott-tab {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 50px;
  padding: 0.7rem 1.5rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ott-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.ott-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.ott-tab .ott-tab-count {
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.8;
}

.ott-tab-content {
  display: none;
}

.ott-tab-content.active {
  display: block;
  animation: tabFadeIn 0.3s ease;
}

.ott-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.6rem;
}

.ott-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 0.7rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all var(--transition);
  text-align: center;
  justify-content: center;
  white-space: nowrap;
}

.ott-item:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ===== IPTV PACKAGES ===== */
.iptv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.iptv-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}

.iptv-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.iptv-popular {
  border: 2px solid var(--primary);
}

.iptv-badge {
  position: absolute;
  top: 0;
  right: 1.2rem;
  background: var(--primary);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem 0.35rem;
  border-radius: 0 0 6px 6px;
  letter-spacing: 0.5px;
}

.iptv-card-header {
  padding: 1.5rem 1.5rem 1rem;
  text-align: center;
  border-bottom: 1px solid #f0f0f0;
}

.iptv-card-header h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.4rem;
}

.iptv-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 0.3rem;
}

.iptv-price span {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-light);
}

.iptv-count {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 600;
}

.iptv-highlights {
  padding: 1rem 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
}

.iptv-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  padding: 0.2rem 0.5rem;
  border-radius: 20px;
  background: #f0f0f5;
  color: #555;
}

.iptv-toggle {
  display: block;
  width: 100%;
  padding: 0.7rem;
  border: none;
  background: #f8f8fa;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition);
  border-top: 1px solid #eee;
  font-family: inherit;
}

.iptv-toggle:hover {
  background: #f0f0f5;
}

.iptv-channels {
  max-height: 350px;
  overflow-y: auto;
  padding: 1rem;
  border-top: 1px solid #eee;
  background: #fafafa;
  scrollbar-width: none;           /* Firefox */
  -ms-overflow-style: none;        /* IE / Edge */
}

.iptv-channels::-webkit-scrollbar {
  display: none;                   /* Chrome / Safari */
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.35rem;
}

.channel-grid span {
  font-size: 0.72rem;
  color: #444;
  padding: 0.3rem 0.5rem;
  background: var(--white);
  border-radius: 4px;
  border-left: 2px solid var(--primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.channel-cat {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0.8rem 0 0.3rem;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid #e8e8e8;
}

.channel-cat:first-child {
  margin-top: 0;
}

.iptv-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 1.5rem;
  font-style: italic;
}

/* ===== IPTV SEARCH ===== */
.iptv-search-wrap {
  max-width: 600px;
  margin: 0 auto 2.5rem;
  position: relative;
}

.iptv-search-box {
  display: flex;
  align-items: center;
  background: var(--white);
  border: 2px solid #e0e0e0;
  border-radius: 50px;
  padding: 0.6rem 1.2rem;
  transition: border-color 0.2s;
}

.iptv-search-box:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(193, 17, 17, 0.1);
}

.iptv-search-icon {
  flex-shrink: 0;
  color: var(--text-light);
  margin-right: 0.6rem;
}

.iptv-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 0.95rem;
  font-family: inherit;
  background: transparent;
  color: var(--text-dark);
}

.iptv-search-input::placeholder {
  color: #aaa;
}

.iptv-search-clear {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: none;
  background: #e0e0e0;
  color: #555;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  margin-left: 0.5rem;
  transition: background 0.2s;
}

.iptv-search-clear:hover {
  background: var(--primary);
  color: #fff;
}

.iptv-search-results {
  margin-top: 0.75rem;
  background: var(--white);
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  overflow: hidden;
  animation: searchFadeIn 0.2s ease;
}

@keyframes searchFadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.iptv-search-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.iptv-search-table thead {
  background: var(--dark);
  color: #fff;
}

.iptv-search-table th {
  padding: 0.65rem 0.6rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.8rem;
  white-space: nowrap;
}

.iptv-search-table th:first-child {
  text-align: left;
  padding-left: 1rem;
}

.search-pack-price {
  display: block;
  font-weight: 400;
  font-size: 0.7rem;
  opacity: 0.7;
}

.iptv-search-table td {
  padding: 0.55rem 0.6rem;
  text-align: center;
  border-bottom: 1px solid #f0f0f0;
}

.iptv-search-table tbody tr:last-child td {
  border-bottom: none;
}

.iptv-search-table tbody tr:hover {
  background: #fafafa;
}

.search-ch-name {
  text-align: left !important;
  padding-left: 1rem !important;
  font-weight: 500;
  color: var(--text-dark);
}

.search-yes {
  color: #16a34a;
  font-weight: 700;
  font-size: 1.1rem;
}

.search-no {
  color: #dc2626;
  opacity: 0.4;
  font-size: 0.95rem;
}

.iptv-search-empty {
  padding: 1.2rem 1rem;
  text-align: center;
  color: var(--text-light);
  font-size: 0.9rem;
}

.iptv-search-more {
  padding: 0.6rem 1rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-light);
  border-top: 1px solid #f0f0f0;
}

/* ===== HARDWARE LIST ===== */
.hardware-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

.hardware-card {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.hardware-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-left-color: var(--dark);
}

.hw-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.25;
  min-width: 36px;
  text-align: center;
  line-height: 1;
  transition: opacity var(--transition);
}

.hardware-card:hover .hw-number {
  opacity: 0.5;
}

.hw-text h4 {
  font-size: 0.95rem;
  color: var(--dark);
  margin-bottom: 0.2rem;
  font-weight: 700;
}

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

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 3rem 0 1.5rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2.5px;
  background: var(--primary);
}

.footer-col p {
  font-size: 0.9rem;
  opacity: 0.8;
  line-height: 1.6;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  font-size: 0.9rem;
  opacity: 0.8;
  transition: opacity var(--transition), padding-left var(--transition);
}

.footer-col ul li a:hover {
  opacity: 1;
  padding-left: 5px;
  color: var(--primary-light);
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 40px;
  width: auto;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.3px;
}

/* ===== BLOG ===== */
.blog-listing {
  padding: 3rem 0 4rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr));
  gap: 1.5rem;
}

.blog-card {
  background: var(--white);
  border-radius: 12px;
  border: 1px solid #e8e8e8;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.blog-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.blog-card-date {
  font-size: 0.82rem;
  color: #888;
}

.blog-card-tag {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(193, 17, 17, 0.08);
  color: var(--primary);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

.blog-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.6rem;
  line-height: 1.4;
}

.blog-card-excerpt {
  font-size: 0.92rem;
  color: #555;
  line-height: 1.65;
  flex: 1;
}

.blog-card-read-more {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
}

/* Blog Post */
.blog-post {
  padding: 2rem 0 4rem;
}

.blog-post-content {
  max-width: 780px;
  margin: 0 auto;
}

.blog-post-content h2 {
  margin-top: 2rem;
}

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

.blog-post-content a:hover {
  opacity: 0.8;
}

.blog-post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}

.blog-post-nav {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e8e8e8;
}

.blog-post-nav a {
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}

.blog-post-nav a:hover {
  text-decoration: underline;
}

/* Blog Dark Mode */
[data-theme="dark"] .blog-card {
  background: var(--card-bg);
  border-color: var(--border);
}

[data-theme="dark"] .blog-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .blog-card-title {
  color: #fff;
}

[data-theme="dark"] .blog-card-excerpt {
  color: var(--text);
}

[data-theme="dark"] .blog-card-date {
  color: #999;
}

[data-theme="dark"] .blog-card-tag {
  background: rgba(193, 17, 17, 0.15);
}

[data-theme="dark"] .blog-post-content a {
  color: #e05555;
}

[data-theme="dark"] .blog-post-nav {
  border-color: var(--border);
}

[data-theme="dark"] .blog-post-nav a {
  color: #e05555;
}

[data-theme="dark"] .blog-post-content table th,
[data-theme="dark"] .blog-post-content table td {
  border-color: var(--border);
  color: var(--text);
}

/* Blog Post — Meta Bar & Author */
.post-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.post-author-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.post-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
}

.post-author-info {
  display: flex;
  flex-direction: column;
}

.post-author-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--dark);
}

.post-author-role {
  font-size: 0.8rem;
  color: var(--text-light);
}

.post-reading-time {
  font-size: 0.85rem;
  color: var(--text-light);
  white-space: nowrap;
}

/* Blog Post — Featured Image */
.post-featured-image {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 2rem;
}

/* Blog Post — Tags */
.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.post-tag {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: lowercase;
  background: rgba(193, 17, 17, 0.08);
  color: var(--primary);
  padding: 0.25rem 0.7rem;
  border-radius: 4px;
}

/* Blog Post — Share Buttons */
.share-buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.share-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin-right: 0.25rem;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem;
  border-radius: 6px;
  text-decoration: none;
  background: transparent;
  border: none;
  transition: opacity 0.2s;
}

.share-btn:hover {
  opacity: 0.65;
}

.share-whatsapp, .share-whatsapp:visited { color: #25D366; }
.share-facebook, .share-facebook:visited { color: #1877F2; }
.share-twitter, .share-twitter:visited { color: #555; }

/* Blog Post — Related Posts */
.related-posts {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.related-posts h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark);
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

/* Blog Post Dark Mode extras */
[data-theme="dark"] .post-author-name {
  color: #fff;
}

[data-theme="dark"] .post-author-avatar {
  border-color: var(--border);
}

[data-theme="dark"] .post-tag {
  background: rgba(193, 17, 17, 0.15);
}

[data-theme="dark"] .share-label {
  color: var(--text);
}

[data-theme="dark"] .share-whatsapp, [data-theme="dark"] .share-whatsapp:visited { color: #4ade80; }
[data-theme="dark"] .share-facebook, [data-theme="dark"] .share-facebook:visited { color: #60a5fa; }
[data-theme="dark"] .share-twitter, [data-theme="dark"] .share-twitter:visited { color: #d1d5db; }

[data-theme="dark"] .related-posts h3 {
  color: #fff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-wrapper,
  .checkout-wrapper {
    grid-template-columns: 1fr;
  }
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .header .container {
    padding: 0.2rem 1rem;
    min-height: 50px;
  }

  .logo img {
    height: 80px;
    margin: -18px 0;
  }

  .hamburger {
    display: flex;
  }

  .theme-toggle {
    width: 34px;
    height: 34px;
    margin-left: auto;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }

  [data-theme="dark"] .nav-links {
    background: var(--card-bg) !important;
    border-top: 1px solid var(--border);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .page-header h1 {
    font-size: 1.8rem;
  }

  .content-section {
    padding: 1.2rem;
    margin: 1rem 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-wrapper,
  .checkout-wrapper {
    margin: 1rem 0;
  }

  .plan-grid {
    grid-template-columns: 1fr;
  }

  .plan-tabs {
    gap: 0.4rem;
  }

  .plan-tab {
    font-size: 0.82rem;
    padding: 0.5rem 1rem;
  }

  .plan-tab .tab-sub {
    display: none;
  }

  .hardware-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .iptv-grid {
    grid-template-columns: 1fr;
  }

  .channel-grid {
    grid-template-columns: 1fr 1fr;
  }

  .iptv-search-table th,
  .iptv-search-table td {
    padding: 0.5rem 0.35rem;
    font-size: 0.75rem;
  }

  .iptv-search-table th:first-child,
  .search-ch-name {
    padding-left: 0.5rem !important;
    font-size: 0.78rem;
  }

  .search-pack-price {
    font-size: 0.6rem;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .post-meta-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .related-posts-grid {
    grid-template-columns: 1fr;
  }

  .share-buttons {
    flex-direction: row;
    align-items: center;
  }

  .blog-post-content {
    max-width: 100%;
    padding: 0.8rem;
  }

  .blog-post .container {
    padding: 0 0.5rem;
  }

  .blog-listing {
    padding: 2rem 0 3rem;
  }
}

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

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .channel-grid {
    grid-template-columns: 1fr;
  }
}
