/*
Theme Name: Orvixa IPTV
Theme URI: https://orvixaiptv.com
Author: Orvixa IPTV
Author URI: https://orvixaiptv.com
Description: Premium IPTV service theme for USA
Version: 2.0.0
Text Domain: orvixaiptv
*/
:root {
  /* === CINEMATIC DARK MODE PALETTE === */
  --bg-body: #020205;
  --bg-light-grey: #07071a;
  --bg-dark-footer: #010108;

  /* Brand Colors */
  --primary: #00FF94;
  --primary-hover: #00cc76;
  --secondary: #25d366;
  --secondary-hover: #128c7e;

  /* Text */
  --text-main: #b8bcc8;
  --text-headers: #ffffff;
  --text-white: #ffffff;

  /* Gradients & Accents */
  --blue-gradient: linear-gradient(135deg, #00FF94 0%, #00D9FF 100%);
  --ribbon-red: #00FF94;
  --promo-bg: rgba(0, 255, 148, 0.07);
  --promo-text: #00FF94;

  /* Spacing & Layout */
  --container-width: 1200px;
  --header-height: 80px;

  /* Effects */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.7);
  --radius-md: 8px;
  --radius-lg: 8px;

  /* Dark internals */
  --card-bg: #0d0d20;
  --card-border: rgba(0, 255, 148, 0.09);
  --input-bg: #0a0a1c;
  --input-border: rgba(255, 255, 255, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Utilities */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.text-orange {
  color: var(--primary);
}

.bg-light {
  background-color: var(--bg-light-grey);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 6px;
  /* More square buttons */
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 1rem;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
  box-shadow: 0 4px 6px rgba(79, 70, 229, 0.2);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--secondary);
  color: white;
}

.btn-secondary:hover {
  background-color: var(--secondary-hover);
  transform: translateY(-2px);
}

.btn-white {
  background-color: white;
  color: var(--primary);
}

.btn-white:hover {
  background-color: #f0f0f0;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-full {
  width: 100%;
}

/* Top Bar */
.top-bar {
  background: #1e1b4b;
  /* Premium Red as requested */
  color: white;
  padding: 8px 0;
  font-size: 0.85rem;
  z-index: 1001;
  position: relative;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  /* Allow wrapping */
  gap: 5px;
  /* Spacing */
}

.top-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  transition: color 0.2s;
  white-space: nowrap;
  /* Force one line */
}

.top-link:hover {
  color: var(--primary);
}

.offer-flash {
  color: white;
  /* Clean white */
  font-weight: 700;
  letter-spacing: 0.5px;
  /* Removed gradient and pulse for cleaner look */
}

@keyframes pulse-text {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.8;
  }

  100% {
    opacity: 1;
  }
}

/* Premium Navbar (Dark Cinema Style) */
.premium-nav {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 15px 0;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.02);
}

.logo-text {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  color: #ffffff;
  /* White Text */
  letter-spacing: -0.5px;
}

.logo-highlight {
  color: var(--primary);
}

/* Navigation Links */
.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
  margin-left: 50px;
}

.nav-link {
  text-decoration: none;
  color: #e0e0e0;
  /* Off-white for contrast */
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  padding: 5px 0;
  position: relative;
  transition: all 0.3s ease;
  text-transform: uppercase;
  /* Cinema Style */
}

/* Glow Effect instead of Underline */
.nav-link:hover {
  color: var(--primary);
  text-shadow: 0 0 12px rgba(79, 70, 229, 0.6);
}

.nav-link::after {
  display: none;
}

/* Nav Buttons */
.nav-btns {
  display: flex;
  gap: 15px;
  margin-left: 20px;
}

/* Custom ghost button for dark nav */
/* Custom ghost button for dark nav - Changed to Green per user request */
.nav-btns .btn-outline-white {
  background: var(--secondary);
  /* WhatsApp Green */
  border: 2px solid var(--secondary);
  color: white;
  box-shadow: 0 4px 6px rgba(37, 211, 102, 0.2);
}

.nav-btns .btn-outline-white:hover {
  background: var(--secondary-hover);
  color: white;
  border-color: var(--secondary-hover);
  transform: translateY(-2px);
}

.nav-btns .btn {
  padding: 10px 24px;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-weight: 700;
}

.mobile-menu-btn {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--primary);
}

/* Responsive Nav — all mobile drawer styles are consolidated
   in the "HAMBURGER VISIBILITY + DRAWER EDGE POLISH" block
   near the bottom of this file (≈ line 4516). */

@keyframes glow-pulse {
  0% {
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
  }

  50% {
    box-shadow: 0 4px 25px rgba(79, 70, 229, 0.5);
  }

  100% {
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
  }
}

.btn-glow {
  background-image: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
  border: none;
  animation: glow-pulse 3s infinite;
}

/* Hero Section */
/* Hero Section adjustment for sticky header */
.hero-section {
  /* No huge padding needed if using position: sticky, as header takes up space. 
     But we want some breathing room. */
  padding-top: 60px;
  padding-bottom: 80px;
  background: linear-gradient(180deg, #ffffff 0%, #f0f7ff 100%);
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 20px;
  font-weight: 900;
  color: var(--text-headers);
  min-height: 120px;
  /* Reserve space for 2 lines of heading */
}

.hero-text p {
  font-size: 1.25rem;
  color: var(--text-main);
  margin-bottom: 30px;
  max-width: 500px;
  min-height: 90px;
  /* Reserve space for 3 lines of text */
}

.hero-buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 40px;
  min-height: 50px;
  /* stabilize button area */
}

.flash-sale {
  background: linear-gradient(90deg, #ff9a9e 0%, #fad0c4 99%, #fad0c4 100%);
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.05);
  margin-top: 30px;
}

.flash-header {
  font-weight: 800;
  text-transform: uppercase;
  color: #d63384;
  margin-bottom: 10px;
  display: block;
}

.flash-timer {
  font-family: monospace;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-headers);
}

.hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-image img {
  width: 100%;
  max-width: 620px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 60px rgba(0, 255, 148, 0.08);
  display: block;
  position: relative;
  z-index: 1;
}

.hero-image::before {
  content: '';
  position: absolute;
  inset: 10% 5%;
  background: radial-gradient(ellipse at center, rgba(0, 255, 148, 0.12) 0%, transparent 70%);
  filter: blur(30px);
  z-index: 0;
  pointer-events: none;
}

/* Hero Offer Banner (Right Side on Desktop) */
.hero-offer-banner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-offer-banner .christmas-flash-banner {
  max-width: 400px;
  width: 100%;
}

/* Mobile: Stack the banner under hero text */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text p {
    max-width: 100%;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-offer-banner {
    order: 2;
    margin-top: 30px;
  }

  .hero-offer-banner .christmas-flash-banner {
    max-width: 100%;
  }
}

/* Device Logos Refinement */
.devices-left img {
  width: 100%;
  max-width: 500px;
  max-height: 400px;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

/* Features Section */
.section-padding {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 15px;
  color: var(--text-headers);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-main);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

@media (min-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: white;
  padding: 30px;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #eef2ff;
  color: var(--primary);
  flex-shrink: 0;
}

.feature-icon svg {
  width: 32px;
  height: 32px;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--text-headers);
}

.feature-card h3 {
  margin-bottom: 10px;
  color: var(--text-headers);
}

/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
  align-items: stretch;
  scroll-margin-top: 120px;
  /* Offset for sticky header */
}

.pricing-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 30px 20px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
  text-align: left;
  position: relative;
  border: 1px solid #eee;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.pricing-card .btn {
  margin-top: auto;
}

/* Best Value / Annual Card */
.pricing-card.annual {
  border: 2px solid var(--primary);
  transform: scale(1.02);
  z-index: 2;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Orange Centered Devices Section */
.devices-orange-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.text-white {
  color: white !important;
}

.devices-header h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.devices-header .lead-text {
  font-size: 1.25rem;
  margin-bottom: 50px;
  opacity: 0.95;
}

.device-logos-container {
  max-width: 800px;
  margin: 0 auto 50px;
  background: white;
  padding: 40px;
  border-radius: 30px;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.devices-grid-img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.devices-grid-img:hover {
  transform: scale(1.02);
}

.devices-feature-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
  margin-bottom: 40px;
}

.devices-feature-list li {
  font-size: 1.15rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Supported Devices Section */
.supported-devices-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  text-align: center;
  justify-content: center;
}

@media (min-width: 600px) {
  .supported-devices-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1000px) {
  .supported-devices-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.device-card {
  background: white;
  padding: 30px 15px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
  height: 100%;
}

.device-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.device-icon-wrapper {
  color: var(--primary);
  margin-bottom: 20px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.device-icon-wrapper svg {
  width: 40px;
  height: 40px;
  stroke-width: 1.5;
}

.device-card p {
  font-weight: 600;
  font-size: 0.9rem;
  color: #444;
  margin: 0;
  line-height: 1.4;
}



.devices-cta .btn-white {
  background: white;
  color: var(--primary);
  padding: 16px 40px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.devices-cta .btn-white:hover {
  background: #f8f8f8;
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .device-logos-container {
    padding: 15px;
    /* Reduce padding to make image larger */
    margin-bottom: 30px;
  }

  .devices-header h2 {
    font-size: 2.25rem;
  }
}

.pricing-card h3 {
  font-size: 1.4rem;
  margin-bottom: 5px;
  color: var(--text-headers);
  font-weight: 800;
}

.price {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-headers);
  margin-bottom: 10px;
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.price-amount {
  color: var(--primary);
  font-size: 2.5rem;
}

/* Pricing Card Styles */
.pricing-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 30px 20px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
  text-align: left;
  position: relative;
  border: 1px solid #eee;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Premium Highlighted Card (Annual) */
.pricing-card.annual {
  border: 4px solid #4f46e5;
  /* Thick Orange Border */
  background: #fff9f0;
  /* Light Cream Background */
  transform: scale(1.02);
  z-index: 2;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  padding-top: 50px;
  /* Space for ribbon */
}

/* Hot Sale Ribbon */
.hot-sale-ribbon {
  position: absolute;
  top: 32px;
  right: -60px;
  width: 220px;
  text-align: center;
  background: linear-gradient(135deg, #cc0000 0%, #ff0000 100%);
  color: #fff;
  font-weight: 800;
  padding: 8px 0;
  transform: rotate(45deg);
  font-size: 0.9rem;
  box-shadow: 0 5px 15px rgba(255, 0, 0, 0.4);
  z-index: 10;
  text-transform: uppercase;
  border: 1px dashed rgba(255, 255, 255, 0.5);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Typography Overrides for Premium Card */
.pricing-card.annual h3 {
  font-size: 1.8rem;
  color: #111;
  margin-bottom: 5px;
}

.pricing-card.annual .price {
  font-size: 1.8rem;
  /* Reduced to 1.8rem */
  color: #111;
  margin-bottom: 5px;
}

.pricing-card.annual .plan-description {
  color: #556;
  font-weight: 500;
}

/* Promo Box (Pink Highlight) */
.promo-box {
  background: #ffe4e4;
  /* Light Pink */
  color: #b91c1c;
  /* Dark Red text */
  padding: 15px;
  border-radius: 6px;
  margin: 15px 0 25px;
  font-size: 0.95rem;
  border-left: 4px solid #1e1b4b;
  /* Red accent line */
}

.promo-box strong {
  display: block;
  font-weight: 800;
  margin-bottom: 8px;
  font-size: 1.1rem;
  color: #991b1b;
}

.promo-timer {
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #4338ca;
  font-weight: 600;
}

/* Button Gradient for Premium Card */
.pricing-card.annual .btn-primary {
  background: linear-gradient(180deg, #4f46e5 0%, #3730a3 100%);
  border: none;
  font-size: 1.1rem;
  padding: 14px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(234, 88, 12, 0.3);
}

.pricing-card.annual .btn-primary:hover {
  background: linear-gradient(180deg, #3730a3 0%, #312e81 100%);
  transform: translateY(-2px);
}

/* Pricing Features */
.plan-features {
  list-style: none;
  margin: 0 0 25px 0;
  flex-grow: 1;
}

.plan-features li {
  margin-bottom: 12px;
  font-size: 0.85rem;
  color: var(--text-main);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.4;
}

.check-icon {
  color: var(--secondary);
  font-weight: bold;
  font-size: 1rem;
  line-height: 1;
}

/* Payment Section */
.payment-section {
  padding: 60px 0;
  text-align: center;
}

.payment-container {
  max-width: 800px;
  margin: 0 auto;
  background: #fcfcfc;
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid #eee;
}

.payment-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}

.payment-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-headers);
}

.review-header {
  display: block;
  /* No longer need flex for side-by-side since icon is gone */
  margin-bottom: 15px;
}

/* .avatar-icon removed */

.reviewer-info {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
}

.grid-payments {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.payment-method {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  background: white;
}

.icon-circle.orange {
  border-color: #4f46e5;
  color: #4f46e5;
}

.icon-circle.blue {
  border-color: #2563eb;
  color: #2563eb;
}

.icon-circle.green {
  border-color: #25d366;
  color: #25d366;
}

.payment-method span {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-headers);
}

/* CTA Banner */
.cta-section {
  padding: 0 0 80px 0;
}

.cta-banner {
  background: var(--blue-gradient);
  border-radius: var(--radius-lg);
  padding: 60px 20px;
  text-align: center;
  color: white;
}

.cta-banner h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 15px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 1.1rem;
}

/* FAQ Section */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.faq-item {
  background: white;
  padding: 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

/* Footer */
.site-footer {
  background: var(--bg-dark-footer);
  color: #cccccc;
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand h2 {
  color: white;
  margin-bottom: 20px;
}

.footer-links h4 {
  color: white;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #999;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 30px;
  text-align: center;
  font-size: 0.9rem;
}

/* Floating WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--secondary);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  font-size: 2rem;
  transition: transform 0.3s;
  color: white;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.6);
}

.notification-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: #1e1b4b;
  /* Red notification color */
  color: white;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  border: 2px solid white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Mobile Responsive */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

  .nav-links,
  .nav-btns {
    display: none;
  }

  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    /* Fill screen to prevent gaps */
    background: white;
    padding: 20px 20px 100px;
    /* Extra padding at bottom */
    border-top: 1px solid #f0f0f0;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    z-index: 998;
    overflow-y: auto;
    /* Allow scrolling if needed */
  }

  .nav-btns.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 450px;
    /* Keep position to clear Ayuda */
    left: 0;
    width: 100%;
    background: transparent;
    /* Blend with links background */
    padding: 0 20px 30px;
    align-items: center;
    gap: 15px;
    z-index: 999;
    box-shadow: none;
    /* Remove shadow to look seamless */
  }

  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-headers);
    background: transparent;
    border: none;
    padding: 5px;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    transition: background 0.2s;
  }

  .mobile-menu-btn:hover {
    background: rgba(0, 0, 0, 0.05);
  }

  .mobile-menu-btn.open {
    color: var(--primary);
  }

  /* Fix for header layout to ensure logo and btn are space-between */
  .nav-container {
    padding: 0 15px;
    /* Ensure padding on small screens */
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text p {
    margin: 0 auto 30px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 40px auto;
  }

  .grid-payments {
    gap: 20px;
  }

  /* Center Top Bar on Mobile */
  .top-bar-content {
    justify-content: center;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cta-banner h2 {
    font-size: 1.8rem;
  }
}

/* =========================================
   NEW STYLES: Reviews Page & Pricing Header
   ========================================= */

/* Reviews Page Styles */
.legal-hero {
  background: linear-gradient(180deg, #111827 0%, #1f2937 100%);
  color: white;
  padding: 80px 0 60px;
  text-align: center;
  margin-top: 0;
  /* Since nav is sticky */
}

.legal-hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 15px;
}

.breadcrumbs {
  color: #9ca3af;
  font-size: 0.95rem;
}

.breadcrumbs a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  margin-right: 5px;
}

.breadcrumbs a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
}

.review-card {
  background: white;
  padding: 25px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid #f0f0f0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.stars {
  color: #ffc107;
  /* Gold */
  margin-bottom: 15px;
  letter-spacing: 2px;
}

.review-text {
  font-style: italic;
  color: var(--text-main);
  line-height: 1.6;
}

.location-icon {
  margin-right: 4px;
}

/* Pricing Header Banner Component */
.pricing-header-container {
  text-align: center;
  margin-bottom: 40px;
  background: white;
  border-radius: 12px;
  padding: 40px 20px;
  /* Optional: subtle border if needed matching image context */
  /* border: 1px solid #eee; */
}

.pricing-title-main {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 10px;
  color: var(--text-headers);
}

.pricing-subtitle {
  color: var(--text-main);
  max-width: 600px;
  margin: 0 auto 30px;
  font-size: 1rem;
}

/* The Orange/Red Flash Banner */
.pricing-flash-banner {
  background: linear-gradient(90deg, #1e1b4b 0%, #6366f1 100%);
  border-radius: 10px;
  padding: 25px;
  color: white;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 10px 25px rgba(249, 115, 22, 0.3);
  position: relative;
  overflow: hidden;
}

.pricing-flash-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

.pricing-flash-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-flash-note {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 20px;
}

.pricing-timer-box {
  display: flex;
  gap: 15px;
}

.timer-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timer-digits {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  padding: 8px 12px;
  font-family: monospace;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  min-width: 60px;
  text-align: center;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.timer-label {
  font-size: 0.7rem;
  margin-top: 5px;
  text-transform: uppercase;
  opacity: 0.8;
  letter-spacing: 1px;
}

/* Legal Content Pages */
.legal-content {
  padding: 60px 0;
  max-width: 900px;
  /* Readability */
  margin: 0 auto;
}

.legal-content h1 {
  font-size: 2.5rem;
  margin-bottom: 25px;
  color: var(--text-headers);
}

.legal-content h2 {
  font-size: 1.8rem;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--text-headers);
  border-bottom: 2px solid #eee;
  padding-bottom: 10px;
}

.legal-content h3 {
  font-size: 1.4rem;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--text-headers);
}

.legal-content p {
  margin-bottom: 15px;
  color: var(--text-main);
  line-height: 1.7;
}

.legal-content ul {
  margin-bottom: 20px;
  padding-left: 20px;
}


/* Installation Guides Accordion */
.guides-intro {
  margin-bottom: 40px;
  color: var(--text-main);
  text-align: center;
}

.guide-accordion {
  margin-bottom: 20px;
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid #eee;
}

.accordion-header {
  width: 100%;
  padding: 20px 25px;
  background: white;
  border: none;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-headers);
  cursor: pointer;
  transition: background 0.3s;
}

.accordion-header:hover {
  background: #fcfcfc;
}

.accordion-header.active {
  background: #eef2ff;
  /* Light orange tint */
  color: var(--primary);
  border-bottom: 1px solid rgba(79, 70, 229, 0.1);
}

.icon-device {
  margin-right: 15px;
  font-size: 1.5rem;
  vertical-align: middle;
}

.accordion-icon {
  font-size: 1.5rem;
  font-weight: 400;
  color: #aaa;
}

.accordion-header.active .accordion-icon {
  color: var(--primary);
  font-weight: 700;
}

.accordion-content {
  display: none;
  /* Hidden by default */
  padding: 30px;
  background: white;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.guide-steps h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--text-headers);
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  border-left: 4px solid var(--primary);
}

.guide-steps ol {
  counter-reset: step-counter;
  list-style: none;
  padding: 0;
}

.guide-steps li {
  position: relative;
  margin-bottom: 20px;
  padding-left: 50px;
  color: var(--text-main);
}

.guide-steps li::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: -2px;
  width: 32px;
  height: 32px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  text-align: center;
  line-height: 32px;
  font-weight: 700;
  font-size: 0.9rem;
}

/* Review Form */
.review-form-container {
  background: white;
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  /* Soft wide shadow */
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid #eee;
}

.review-form-container h2 {
  text-align: center;
  margin-bottom: 30px;
  color: var(--text-headers);
  font-size: 1.8rem;
}

.review-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .review-form-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    /* Wider gap on desktop */
  }
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-headers);
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s;
  background: #fdfdfd;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  outline: none;
  background: white;
}

.rating-input {
  display: flex;
  gap: 5px;
  margin-top: 5px;
  cursor: pointer;
}

.star-input {
  font-size: 2rem;
  color: #ddd;
  /* Inactive color */
  transition: color 0.2s;
  cursor: pointer;
}

.star-input.active,
.star-input:hover {
  color: #ffc107;
  /* Gold */
}

/* Hover effect: light up previous stars too */
.rating-input:hover .star-input {
  color: #ddd;
}

.star-input:hover,
.star-input:hover~.star-input {
  color: #ddd;
}

.rating-input .star-input:hover,
.rating-input .star-input:has(~ .star-input:hover) {
  color: #ffc107;
}


.btn-submit-review {
  width: 100%;
  padding: 16px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 20px;
  cursor: pointer;
  background-color: var(--primary);
  color: white;
  border: none;
  transition: transform 0.2s, background-color 0.2s;
}

.btn-submit-review:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
}

.review-success-message {
  display: none;
  /* Hidden by default */
  text-align: center;
  padding: 40px;
  background: #f0fdf4;
  /* Light green bg */
  border-radius: var(--radius-lg);
  margin-bottom: 60px;
  border: 1px solid #10b981;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.success-icon {
  font-size: 3rem;
  color: #10b981;
  margin-bottom: 15px;
  display: block;
}

.success-title {
  font-size: 1.8rem;
  color: #065f46;
  font-weight: 800;
  margin-bottom: 10px;
}

.success-text {
  color: #047857;
  font-size: 1.1rem;

}

/* DYNAMIC DEVICES SLIDER Styles */
/* DYNAMIC DEVICES SLIDER Styles */
.devices-slider-section {
  padding: 25px 0;
  background: var(--primary);
  /* Orange background as requested */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  position: relative;
}

.slider-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.slider-track {
  display: flex;
  width: max-content;
  /* Allow track to fit all icons */
  animation: scroll 30s linear infinite;
  /* Slightly faster for many icons */
}

.slide-item {
  width: auto;
  /* Natural icon width */
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  /* Reduced gap between icons */
}

.slide-item img {
  height: 35px;
  /* Consistent height matching reference */
  width: auto;
  opacity: 1;
  filter: brightness(0) invert(1);
  /* Ensure icons are white */
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
    /* Scroll exactly half (one full set) */
  }
}

/* Mobile Adjustments for Slider */
@media (max-width: 768px) {
  .devices-slider-section {
    padding: 20px 0;
  }

  .slide-item {
    width: auto;
    padding: 0 5px;
    /* Very tight spacing for mobile to show more icons */
  }

  .slide-item img {
    height: 24px;
    /* Compact icons */
  }
}

/* Testimonial Section Styles */
.testimonial-section {
  padding: 80px 0;
  background-color: var(--bg-light);
  /* Or white depending on index context */
  text-align: center;
}

.testimonial-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-headers);
  margin-bottom: 10px;
}

.testimonial-header p {
  color: var(--text-main);
  font-size: 1.1rem;
  margin-bottom: 50px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.testimonial-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  text-align: left;
  border: 1px solid #f0f0f0;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-user {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.user-avatar {
  background-color: var(--primary);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  margin-right: 15px;
}

.user-info h4 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--text-headers);
}

.user-info span {
  font-size: 0.9rem;
  color: #888;
}

.stars {
  color: #ffc107;
  margin-bottom: 15px;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-main);
  line-height: 1.6;
}

.testimonial-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.btn-read-reviews {
  color: var(--primary);
  border: 2px solid var(--primary);
  background: transparent;
  padding: 12px 30px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-read-reviews:hover {
  background: var(--primary);
  color: white;
}

.cta-join-text {
  margin-top: 30px;
  color: var(--text-main);
  margin-bottom: 20px;
}

/* Contact Section Styles */
.contact-section-new {
  padding: 80px 0;
  background-color: white;
}

.contact-header {
  text-align: center;
  margin-bottom: 60px;
}

.contact-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-headers);
}

.contact-header p {
  color: var(--text-main);
  font-size: 1.1rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
}

@media (min-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr 1.5fr;
  }
}

.contact-info-box {
  background: #fff;
}

.info-item {
  margin-bottom: 30px;
}

.info-item h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.info-item p {
  color: var(--text-main);
  margin-bottom: 5px;
  margin-left: 34px;
  /* Align with text not icon */
}

.info-item a {
  color: var(--text-headers);
  text-decoration: none;
  font-weight: 600;
}

.hours-box {
  background: #f9fafb;
  padding: 25px;
  border-radius: 12px;
  margin-top: 40px;
}

.hours-box h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: var(--text-headers);
}

.hours-box p {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  color: var(--text-main);
  border-bottom: 1px dashed #eee;
  padding-bottom: 5px;
}

.contact-form-box {
  background: white;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid #eee;
}

.contact-form-box h3 {
  font-size: 1.5rem;
  margin-bottom: 30px;
  color: var(--text-headers);
}

.btn-whatsapp-submit {
  background-color: #4f46e5;
  /* Orange matching theme */
  color: white;
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.3s;
  display: block;
  text-align: center;
  text-decoration: none;
}

.btn-whatsapp-submit:hover {
  background-color: #e65100;
}

/* CHRISTMAS FLASH PROMO BANNER 2.0 - Refined */
.christmas-flash-banner {
  background: linear-gradient(135deg, #4a0404 0%, #8a1c1c 100%);
  border-radius: 20px;
  padding: 25px 20px;
  max-width: 800px;
  margin: 30px auto 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(138, 28, 28, 0.4), inset 0 0 0 1px rgba(255, 215, 0, 0.3);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  animation: pulse-border 3s infinite alternate;
}

@keyframes pulse-border {
  0% {
    box-shadow: 0 15px 40px rgba(138, 28, 28, 0.4), inset 0 0 0 1px rgba(255, 215, 0, 0.3);
  }

  100% {
    box-shadow: 0 15px 50px rgba(138, 28, 28, 0.6), inset 0 0 0 3px rgba(255, 215, 0, 0.6);
  }
}

/* Circuit/Tech Pattern Overlay (Squares Removed) */
.christmas-flash-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle at 50% 50%, rgba(255, 0, 0, 0.1) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

/* Snow Overlay - Improved */
.snow-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(3px 3px at 20px 30px, rgba(255, 255, 255, 0.9), rgba(0, 0, 0, 0)),
    radial-gradient(3px 3px at 40px 70px, rgba(255, 255, 255, 0.9), rgba(0, 0, 0, 0)),
    radial-gradient(4px 4px at 50px 160px, rgba(255, 255, 255, 0.8), rgba(0, 0, 0, 0)),
    radial-gradient(3px 3px at 90px 40px, rgba(255, 255, 255, 0.9), rgba(0, 0, 0, 0)),
    radial-gradient(3px 3px at 130px 80px, rgba(255, 255, 255, 0.9), rgba(0, 0, 0, 0));
  background-repeat: repeat;
  background-size: 200px 200px;
  animation: snowFall 8s linear infinite;
  opacity: 0.7;
  pointer-events: none;
  z-index: 2;
}

@keyframes snowFall {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(200px);
  }
}

.xmas-content {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.xmas-title {
  font-size: 1.4rem;
  font-weight: 900;
  background: linear-gradient(to right, #ffffff, #ffcccc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-transform: uppercase;
  letter-spacing: 2px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.xmas-subtitle {
  font-size: 1.2rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  margin: 5px 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  font-family: 'Inter', sans-serif;
}

.xmas-highlight {
  font-size: 2.8rem;
  font-weight: 900;
  margin: 5px 0 15px;
  background: linear-gradient(90deg, #00ffff, #00ffaa, #00ffff);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
  filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.6));
  animation: shine 3s linear infinite;
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}

.xmas-highlight .check {
  background: none;
  -webkit-text-fill-color: #aaff00;
  /* Lime Check */
  color: #aaff00;
  font-size: 2.2rem;
  filter: drop-shadow(0 0 5px rgba(170, 255, 0, 0.8));
}

.xmas-timer-display {
  font-family: 'Courier New', monospace;
  font-size: 3rem;
  font-weight: 700;
  color: #ccff00;
  /* Vibrant Lime */
  background: rgba(0, 0, 0, 0.2);
  padding: 8px 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  gap: 10px;
  align-items: center;
  text-shadow: 0 0 20px rgba(204, 255, 0, 0.8);
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
}

.xmas-timer-display span {
  display: inline-block;
  min-width: 50px;
  text-align: center;
}

@media (max-width: 768px) {
  .christmas-flash-banner {
    padding: 20px 15px;
  }

  .xmas-title {
    font-size: 1.1rem;
  }

  .xmas-subtitle {
    font-size: 1rem;
  }

  .xmas-highlight {
    font-size: 2rem;
  }

  .xmas-timer-display {
    font-size: 2rem;
    padding: 8px 12px;
    gap: 4px;
  }

  .xmas-timer-display span {
    min-width: 35px;
  }
}

/* FAQ Accordion Styles */
.faq-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: 8px;
  margin-bottom: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.03);
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  background: white;
  transition: background-color 0.2s;
}

.faq-question:hover {
  background-color: #f8f9fa;
}

.faq-question h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  flex: 1;
  padding-right: 15px;
}

.faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: transform 0.3s ease;
}

/* Rotate icon when active */
.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease;
  background: white;
  color: #666;
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 24px;
}


/* Unmatched Performance Section */
.unmatched-performance {
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
  /* Orange background */
  padding: 80px 0;
  color: white;
}

.unmatched-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.unmatched-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.unmatched-header p {
  font-size: 1.15rem;
  opacity: 0.95;
  line-height: 1.6;
}

.performance-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 900px) {
  .performance-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-full {
    grid-column: 1 / -1;
  }
}

.performance-card {
  background: white;
  /* White cards for contrast on orange */
  border-radius: 12px;
  padding: 40px;
  color: #333;
  /* Dark text on white card */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.3s ease;
}

.performance-card:hover {
  transform: translateY(-5px);
}

.p-card-header {
  display: flex;
  align-items: center;
  gap: 15px;
}

.p-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #eef2ff;
  /* Light orange tint */
  color: var(--primary);
  flex-shrink: 0;
}

.p-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 2;
}

.p-card-header h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0;
  color: #111;
  line-height: 1.3;
}

.performance-card p {
  margin: 0;
  color: #555;
  line-height: 1.6;
}

/* Specific Highlight Colors inside text */
.highlight-orange {
  color: #00FF94;
  font-weight: 700;
}

/* ============================================================
   CINEMATIC DARK MODE OVERRIDES
   ============================================================ */

/* Base */
body {
  background-color: var(--bg-body);
  color: var(--text-main);
}

.bg-light {
  background-color: var(--bg-light-grey) !important;
}

/* Top Bar */
.top-bar {
  background: #04040f;
  border-bottom: 1px solid rgba(0, 255, 148, 0.08);
}

.top-link:hover {
  color: #00FF94;
}

/* Navbar */
.premium-nav {
  background: rgba(2, 2, 5, 0.97);
  border-bottom: 1px solid rgba(0, 255, 148, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
}

.nav-link:hover {
  color: #00FF94;
  text-shadow: 0 0 14px rgba(0, 255, 148, 0.5);
}

.logo-highlight {
  color: #00FF94;
}

.mobile-menu-btn {
  color: #ffffff;
}

.mobile-menu-btn.open {
  color: #00FF94;
}

@media (max-width: 992px) {
  .nav-links {
    background: #07071a;
  }
  .nav-links .nav-link {
    color: #e0e0e0;
  }
  .nav-links .nav-link:hover {
    color: #00FF94;
  }
}

@media (max-width: 768px) {
  .nav-links.active {
    background: #07071a;
    border-top: 1px solid rgba(0, 255, 148, 0.1);
  }
}

/* Buttons */
.btn-primary {
  background-color: #00FF94;
  color: #020205;
  box-shadow: 0 4px 16px rgba(0, 255, 148, 0.3);
}

.btn-primary:hover {
  background-color: #00cc76;
  box-shadow: 0 6px 24px rgba(0, 255, 148, 0.45);
}

.btn-white {
  background-color: #0d0d20;
  color: #00FF94;
  border: 1px solid rgba(0, 255, 148, 0.3);
}

.btn-white:hover {
  background-color: #111128;
  color: #00FF94;
}

.btn-outline {
  border-color: #00D9FF;
  color: #00D9FF;
}

.btn-glow {
  background-image: linear-gradient(135deg, #00FF94 0%, #00D9FF 100%);
  box-shadow: 0 4px 20px rgba(0, 255, 148, 0.35);
  color: #020205;
  animation: none;
}

@keyframes glow-pulse {
  0%   { box-shadow: 0 4px 15px rgba(0, 255, 148, 0.3); }
  50%  { box-shadow: 0 4px 30px rgba(0, 255, 148, 0.55); }
  100% { box-shadow: 0 4px 15px rgba(0, 255, 148, 0.3); }
}

.btn-glow { animation: glow-pulse 3s infinite; }

/* Nav CTA buttons */
.nav-btns .btn-outline-white {
  background: rgba(0, 255, 148, 0.1);
  border: 2px solid #00FF94;
  color: #00FF94;
  box-shadow: 0 4px 12px rgba(0, 255, 148, 0.15);
}

.nav-btns .btn-outline-white:hover {
  background: #00FF94;
  border-color: #00FF94;
  color: #020205;
}

/* Hero */
.hero-section {
  background:
    linear-gradient(160deg, rgba(2, 2, 5, 0.82) 0%, rgba(6, 6, 26, 0.75) 50%, rgba(10, 10, 36, 0.88) 100%),
    url('assets/images/hero-bg.webp') center center / cover no-repeat;
}

.hero-text h1 {
  color: #ffffff;
}

.hero-text p {
  color: #b8bcc8;
}

.flash-sale {
  background: linear-gradient(135deg, #0d0d20, #111128);
  border: 1px solid rgba(0, 255, 148, 0.15);
}

.flash-header {
  color: #00FF94;
}

.flash-timer {
  color: #ffffff;
}

/* Section titles */
.section-title {
  color: #ffffff;
}

.section-subtitle {
  color: #b8bcc8;
}

/* Feature Cards */
.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.feature-card:hover {
  box-shadow: 0 10px 35px rgba(0, 255, 148, 0.1);
  border-color: rgba(0, 255, 148, 0.2);
}

.feature-icon {
  background: rgba(0, 255, 148, 0.08);
  color: #00FF94;
}

.feature-card h3 {
  color: #ffffff;
}

/* Pricing Cards */
.pricing-card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.pricing-card h3 {
  color: #ffffff;
}

.price {
  color: #ffffff;
}

.price-amount {
  color: #00FF94;
}

.pricing-card.annual {
  border: 2px solid #00FF94;
  background: #0a0f1a;
  box-shadow: 0 10px 40px rgba(0, 255, 148, 0.15);
}

.pricing-card.annual h3 {
  color: #ffffff;
}

.pricing-card.annual .price {
  color: #ffffff;
}

.pricing-card.annual .plan-description {
  color: #b8bcc8;
}

.pricing-card.annual .btn-primary {
  background: linear-gradient(135deg, #00FF94, #00cc76);
  color: #020205;
  box-shadow: 0 6px 20px rgba(0, 255, 148, 0.35);
}

.pricing-card.annual .btn-primary:hover {
  background: linear-gradient(135deg, #00cc76, #009955);
}

.hot-sale-ribbon {
  background: linear-gradient(135deg, #00FF94 0%, #00D9FF 100%);
  color: #020205;
  box-shadow: 0 5px 15px rgba(0, 255, 148, 0.4);
}

.promo-box {
  background: rgba(0, 255, 148, 0.06);
  color: #00FF94;
  border-left: 4px solid #00FF94;
}

.promo-box strong {
  color: #00FF94;
}

.promo-timer {
  color: #00D9FF;
}

.plan-features li {
  color: #b8bcc8;
}

.check-icon {
  color: #00FF94;
}

/* Pricing flash banner */
.pricing-header-container {
  background: #0d0d20;
  border: 1px solid rgba(0, 255, 148, 0.08);
}

.pricing-title-main {
  color: #ffffff;
}

.pricing-subtitle {
  color: #b8bcc8;
}

.pricing-flash-banner {
  background: linear-gradient(135deg, #020205 0%, #0a0a1a 100%);
  border: 1px solid rgba(0, 255, 148, 0.2);
  box-shadow: 0 10px 30px rgba(0, 255, 148, 0.1);
}

/* Payment section */
.payment-container {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.payment-header h3 {
  color: #ffffff;
}

.icon-circle {
  background: #0d0d20;
  border-color: rgba(255, 255, 255, 0.12);
}

.icon-circle.orange {
  border-color: #00FF94;
  color: #00FF94;
}

.icon-circle.blue {
  border-color: #00D9FF;
  color: #00D9FF;
}

.payment-method span {
  color: #b8bcc8;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, #020205 0%, #06061a 100%);
  border: 1px solid rgba(0, 255, 148, 0.15);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.8);
}

/* Devices sections */
.devices-orange-section {
  background: linear-gradient(135deg, #04040f 0%, #0a0a1a 100%);
  border-top: 1px solid rgba(0, 255, 148, 0.08);
  border-bottom: 1px solid rgba(0, 255, 148, 0.08);
}

.device-logos-container {
  background: #0d0d20;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.device-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.device-card:hover {
  box-shadow: 0 8px 28px rgba(0, 255, 148, 0.1);
  border-color: rgba(0, 255, 148, 0.2);
}

.device-icon-wrapper {
  color: #00FF94;
}

.device-card p {
  color: #b8bcc8;
}

.devices-cta .btn-white {
  background: rgba(0, 255, 148, 0.1);
  color: #00FF94;
  border: 2px solid #00FF94;
}

.devices-cta .btn-white:hover {
  background: #00FF94;
  color: #020205;
}

.devices-slider-section {
  background: #04040f;
  border-bottom: 1px solid rgba(0, 255, 148, 0.08);
}

/* FAQ */
.faq-item {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.faq-question {
  background: transparent;
}

.faq-question:hover {
  background-color: rgba(0, 255, 148, 0.04);
}

.faq-question h3 {
  color: #ffffff;
}

.faq-icon {
  color: #00FF94;
}

.faq-answer {
  background: transparent;
  color: #b8bcc8;
}

/* Testimonials */
.testimonial-section {
  background-color: var(--bg-light-grey);
}

.testimonial-header h2 {
  color: #ffffff;
}

.testimonial-header p {
  color: #b8bcc8;
}

.testimonial-card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 5px 24px rgba(0, 0, 0, 0.5);
}

.testimonial-card:hover {
  border-color: rgba(0, 255, 148, 0.15);
}

.user-avatar {
  background-color: #00FF94;
  color: #020205;
}

.user-info h4 {
  color: #ffffff;
}

.user-info span {
  color: #8f96a3;
}

.testimonial-text {
  color: #b8bcc8;
}

.btn-read-reviews {
  color: #00D9FF;
  border-color: #00D9FF;
}

.btn-read-reviews:hover {
  background: #00D9FF;
  color: #020205;
}

.cta-join-text {
  color: #b8bcc8;
}

/* Reviews page */
.review-card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.review-card:hover {
  border-color: rgba(0, 255, 148, 0.15);
}

.review-text {
  color: #b8bcc8;
}

.legal-hero {
  background: linear-gradient(180deg, #04040f 0%, #07071a 100%);
}

.breadcrumbs {
  color: #8f96a3;
}

.breadcrumbs a {
  color: #00D9FF;
}

.breadcrumbs a:hover {
  color: #00FF94;
}

/* Contact section */
.contact-section-new {
  background-color: var(--bg-body);
}

.contact-header h2 {
  color: #ffffff;
}

.contact-header p {
  color: #b8bcc8;
}

.contact-info-box {
  background: transparent;
}

.info-item h3 {
  color: #00FF94;
}

.info-item p,
.info-item a {
  color: #b8bcc8;
}

.hours-box {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.hours-box h3 {
  color: #ffffff;
}

.hours-box p {
  color: #b8bcc8;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.contact-form-box {
  background: var(--card-bg);
  border: 1px solid rgba(0, 255, 148, 0.09);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.contact-form-box h3 {
  color: #ffffff;
}

.btn-whatsapp-submit {
  background: linear-gradient(135deg, #00FF94, #00cc76);
  color: #020205;
}

.btn-whatsapp-submit:hover {
  background: linear-gradient(135deg, #00cc76, #009955);
}

/* Forms */
.form-group label {
  color: #b8bcc8;
}

.form-group input,
.form-group textarea {
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  color: #ffffff;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #00FF94;
  background: #0d0d20;
  box-shadow: 0 0 0 3px rgba(0, 255, 148, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #8f96a3;
}

.btn-submit-review {
  background-color: #00FF94;
  color: #020205;
}

.btn-submit-review:hover {
  background-color: #00cc76;
}

/* Review form */
.review-form-container {
  background: var(--card-bg);
  border: 1px solid rgba(0, 255, 148, 0.09);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.review-form-container h2 {
  color: #ffffff;
}

/* Unmatched performance */
.unmatched-performance {
  background: linear-gradient(135deg, #04040f 0%, #07071a 100%);
  border-top: 1px solid rgba(0, 255, 148, 0.08);
  border-bottom: 1px solid rgba(0, 255, 148, 0.08);
}

.performance-card {
  background: #0d0d20;
  border: 1px solid rgba(0, 255, 148, 0.09);
  color: #b8bcc8;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.performance-card:hover {
  border-color: rgba(0, 255, 148, 0.2);
  box-shadow: 0 14px 40px rgba(0, 255, 148, 0.08);
}

.p-icon {
  background: rgba(0, 255, 148, 0.08);
  color: #00FF94;
}

.p-card-header h3 {
  color: #ffffff;
}

.performance-card p {
  color: #b8bcc8;
}

/* Installation Guides */
.guide-accordion {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.accordion-header {
  background: transparent;
  color: #ffffff;
}

.accordion-header:hover {
  background: rgba(0, 255, 148, 0.04);
}

.accordion-header.active {
  background: rgba(0, 255, 148, 0.06);
  color: #00FF94;
  border-bottom: 1px solid rgba(0, 255, 148, 0.12);
}

.accordion-icon {
  color: #8f96a3;
}

.accordion-header.active .accordion-icon {
  color: #00FF94;
}

.accordion-content {
  background: transparent;
}

.guide-steps h4 {
  background: rgba(0, 255, 148, 0.05);
  color: #ffffff;
  border-left: 4px solid #00FF94;
}

.guide-steps li {
  color: #b8bcc8;
}

.guide-steps li::before {
  background: #00FF94;
  color: #020205;
}

/* Legal pages */
.legal-content h1,
.legal-content h2,
.legal-content h3 {
  color: #ffffff;
}

.legal-content h2 {
  border-bottom: 2px solid rgba(0, 255, 148, 0.15);
}

.legal-content p,
.legal-content li {
  color: #b8bcc8;
}

.page-header.bg-light {
  background: linear-gradient(180deg, #04040f 0%, #07071a 100%) !important;
}

.page-header h1 {
  color: #ffffff;
}

.page-header p {
  color: #b8bcc8;
}

.legal-content a {
  color: #00D9FF;
}

.legal-content a:hover {
  color: #00FF94;
}

/* Footer */
.site-footer {
  background: #010108;
  border-top: 1px solid rgba(0, 255, 148, 0.08);
}

.footer-brand h2 {
  color: #ffffff;
}

.footer-links h4 {
  color: #ffffff;
}

.footer-links a {
  color: #8f96a3;
}

.footer-links a:hover {
  color: #00FF94;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #8f96a3;
}

/* Search */
.search-form input[type="search"] {
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  color: #ffffff;
}

/* Scrollbar (Webkit) */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #020205;
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 255, 148, 0.25);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 255, 148, 0.45);
}
/* =========================================================================
   PERFORMANCE + ACCESSIBILITY PATCH (Orvixa IPTV — Lighthouse pass)
   ========================================================================= */

/* Visually hidden but screen-reader-accessible (skip-link, aria text). */
.screen-reader-text {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  width: 1px; height: 1px;
  overflow: hidden;
  white-space: nowrap;
  border: 0; padding: 0; margin: -1px;
}
.skip-link.screen-reader-text:focus {
  position: fixed !important;
  clip: auto;
  top: 10px; left: 10px;
  width: auto; height: auto;
  z-index: 100000;
  padding: 10px 18px;
  background: #00FF94;
  color: #03110a;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
}

/* Footer heading reset — match visual weight the old <h4> had, but at h2 level
   so the page heading hierarchy stays sequential (h1 → h2 → h3 …). */
.site-footer .footer-heading {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 14px;
  text-transform: none;
  letter-spacing: .2px;
}
.site-footer .footer-brand-mark {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: .5px;
  margin-bottom: 10px;
}

/* Footer link contrast — bumped from the old muted grey to meet WCAG AA. */
.site-footer,
.site-footer p,
.site-footer a {
  color: #cfd3de;
}
.site-footer a:hover,
.site-footer a:focus {
  color: #00FF94;
}
.site-footer .footer-bottom a {
  color: inherit;
  text-decoration: none;
}

/* Mobile menu button reset (was <span>, now <button>). */
.mobile-menu-btn {
  background: transparent;
  border: 0;
  padding: 6px 10px;
}
.mobile-menu-btn:focus-visible {
  outline: 2px solid #00FF94;
  outline-offset: 2px;
  border-radius: 4px;
}

/* FAQ question keyboard focus ring. */
.faq-question:focus-visible {
  outline: 2px solid #00FF94;
  outline-offset: 2px;
  border-radius: 6px;
}

/* Hero image — keep aspect ratio to eliminate CLS while loading. */
.hero-image img {
  aspect-ratio: 620 / 520;
}

/* Slider: GPU-composited transform animation (was scroll keyframe — already
   uses transform, but force will-change + backface fix so it stays off the
   main thread). */
.slider-track {
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* prefers-reduced-motion: halt every decorative animation. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .slider-track { animation: none !important; }
  .btn-glow { animation: none !important; }
}

/* Content-visibility — below-the-fold sections skip layout/paint until near viewport.
   contain-intrinsic-size reserves space so CLS stays 0 and the scrollbar is stable. */
.devices-slider-section,
#features,
#pricing,
.unmatched-performance,
#devices,
#faq,
.testimonial-section,
#contact {
  content-visibility: auto;
  contain-intrinsic-size: 1px 900px;
}

/* Footer contrast — higher specificity so it overrides the earlier muted grey
   rule (.footer-links a) regardless of source order. Meets WCAG AA on #010108. */
.site-footer .footer-links a,
.site-footer .footer-bottom,
.site-footer .footer-bottom a,
.site-footer .footer-bottom p {
  color: #cfd3de;
}
.site-footer .footer-links a:hover,
.site-footer .footer-links a:focus,
.site-footer .footer-bottom a:hover,
.site-footer .footer-bottom a:focus {
  color: #00FF94;
}

/* =========================================================================
   NAVBAR REFINEMENT — CTA alignment + spacing polish
   Consolidates conflicting earlier rules (.nav-btns appeared twice, and the
   outline button had border:2px while .btn defaulted to border:none, which
   made "Free Trial" 4px taller than "Get Started"). We normalize with a
   transparent 2px border on every .btn so outline variants don't change
   button height, and use higher-specificity selectors to win the cascade.
   ========================================================================= */

/* Whole row: logo | nav-links | CTA group — single flex row, all centered. */
.premium-nav .nav-container,
.navbar .nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 56px;
}

/* Push nav-links to the right, CTAs sit right next to them. */
.premium-nav .nav-links,
.navbar .nav-links {
  margin-left: auto;
  align-items: center;
  gap: 26px;
}

/* CTA container: clean inline flex, consistent gap, no stray margins. */
.premium-nav .nav-btns,
.navbar .nav-btns {
  display: inline-flex;
  align-items: stretch;
  gap: 12px;
  margin: 0 0 0 8px;
}

/* Base button normalization — transparent 2px border on every .btn means
   outline variants can swap the border color without adding height. */
.premium-nav .nav-btns .btn,
.navbar .nav-btns .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 42px;
  min-height: 42px;
  padding: 0 20px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  white-space: nowrap;
  vertical-align: middle;
  box-shadow: none;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .15s ease;
}

/* Secondary / outline — "Free Trial" */
.premium-nav .nav-btns .btn-outline-white,
.navbar .nav-btns .btn-outline-white {
  background: transparent;
  border-color: rgba(0, 255, 148, 0.55);
  color: #00FF94;
  box-shadow: none;
}
.premium-nav .nav-btns .btn-outline-white:hover,
.navbar .nav-btns .btn-outline-white:hover,
.premium-nav .nav-btns .btn-outline-white:focus-visible,
.navbar .nav-btns .btn-outline-white:focus-visible {
  background: rgba(0, 255, 148, 0.12);
  border-color: #00FF94;
  color: #00FF94;
  transform: none;
}

/* Primary — "Get Started" */
.premium-nav .nav-btns .btn-primary,
.navbar .nav-btns .btn-primary {
  background: linear-gradient(135deg, #00FF94 0%, #00cc76 100%);
  border-color: transparent;
  color: #03110a;
  box-shadow: 0 4px 14px rgba(0, 255, 148, 0.28);
}
.premium-nav .nav-btns .btn-primary:hover,
.navbar .nav-btns .btn-primary:hover,
.premium-nav .nav-btns .btn-primary:focus-visible,
.navbar .nav-btns .btn-primary:focus-visible {
  background: linear-gradient(135deg, #00ffa0 0%, #00d97f 100%);
  box-shadow: 0 6px 22px rgba(0, 255, 148, 0.4);
  transform: translateY(-1px);
}

/* Kill the pulsing glow animation on the CTA — the solid shadow reads as
   more premium and the pulse is a TBT cost on mobile. */
.premium-nav .nav-btns .btn-glow,
.navbar .nav-btns .btn-glow {
  animation: none;
}

/* Mobile (<=992px): stack CTAs full-width inside the open menu, keep same
   pixel height + alignment so the outline and primary still line up. */
@media (max-width: 992px) {
  .premium-nav .nav-btns,
  .navbar .nav-btns {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin: 18px 0 0 0;
    gap: 10px;
  }
  .premium-nav .nav-btns .btn,
  .navbar .nav-btns .btn {
    width: 100%;
    height: 46px;
    min-height: 46px;
    font-size: 0.95rem;
  }
}

/* =========================================================================
   BLOG — archive + single post (dark premium)
   Overrides the legacy inline whites that the old templates used. All blog
   surfaces now sit on the same palette as the homepage: #0d0d20 card base,
   neon #00FF94 accent, light #cfd3de body copy.
   ========================================================================= */

.blog-main {
  background: #020205;
  color: #cfd3de;
}

/* Header band on blog/single/archive already uses .page-header.bg-light,
   which is overridden elsewhere to a dark gradient. We just tighten the
   rhythm here. */
.blog-main .page-header {
  padding-top: 70px;
  padding-bottom: 40px;
}
.blog-main .page-header h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.3px;
  color: #ffffff;
  margin-bottom: 10px;
}
.blog-main .page-header p,
.blog-main .page-header__desc {
  color: #b8bcc8;
  max-width: 720px;
  font-size: 1.05rem;
}

/* Grid */
.blog-main .blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

/* Card */
.blog-main .blog-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #0d0d20 0%, #0a0a1c 100%);
  border: 1px solid rgba(0, 255, 148, 0.10);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.blog-main .blog-card:hover,
.blog-main .blog-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(0, 255, 148, 0.35);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(0, 255, 148, 0.08);
}

.blog-main .blog-card__image {
  display: block;
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #07071a;
}
.blog-main .blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s ease;
}
.blog-main .blog-card:hover .blog-card__image img {
  transform: scale(1.04);
}
.blog-main .blog-card__image-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(120% 120% at 0% 0%, rgba(0, 255, 148, 0.18), transparent 60%),
              linear-gradient(135deg, #07071a 0%, #0d0d20 100%);
  color: #00FF94;
}

.blog-main .blog-card__body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 10px;
}
.blog-main .blog-card__meta {
  font-size: 0.82rem;
  letter-spacing: .3px;
  text-transform: uppercase;
  color: #00FF94;
  font-weight: 600;
}
.blog-main .blog-card__title {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.35;
  font-weight: 700;
  color: #ffffff;
}
.blog-main .blog-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color .2s ease;
}
.blog-main .blog-card__title a:hover,
.blog-main .blog-card__title a:focus-visible {
  color: #00FF94;
}
.blog-main .blog-card__excerpt {
  color: #b8bcc8;
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
  flex-grow: 1;
}
.blog-main .blog-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  color: #00FF94;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  align-self: flex-start;
}
.blog-main .blog-card__cta:hover,
.blog-main .blog-card__cta:focus-visible {
  color: #00ffa8;
}
.blog-main .blog-card__cta-arrow {
  transition: transform .2s ease;
}
.blog-main .blog-card__cta:hover .blog-card__cta-arrow {
  transform: translateX(3px);
}

/* Pagination (works for both paginate_links and the_posts_pagination). */
.blog-main .blog-pagination {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}
.blog-main .blog-pagination .nav-links,
.blog-main .blog-pagination .page-numbers {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0;
  padding: 0;
}
.blog-main .blog-pagination a.page-numbers,
.blog-main .blog-pagination span.page-numbers {
  display: inline-flex;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  align-items: center;
  justify-content: center;
  background: #0d0d20;
  border: 1px solid rgba(0, 255, 148, 0.18);
  border-radius: 8px;
  color: #cfd3de;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.blog-main .blog-pagination a.page-numbers:hover,
.blog-main .blog-pagination a.page-numbers:focus-visible {
  background: rgba(0, 255, 148, 0.12);
  border-color: #00FF94;
  color: #00FF94;
}
.blog-main .blog-pagination .page-numbers.current {
  background: linear-gradient(135deg, #00FF94 0%, #00cc76 100%);
  border-color: transparent;
  color: #03110a;
}
.blog-main .blog-pagination .page-numbers.dots {
  background: transparent;
  border-color: transparent;
}

/* Empty state */
.blog-main .blog-empty {
  text-align: center;
  padding: 60px 20px;
  background: #0a0a1c;
  border: 1px solid rgba(0, 255, 148, 0.10);
  border-radius: 14px;
}
.blog-main .blog-empty h2 { color: #ffffff; margin-bottom: 8px; }
.blog-main .blog-empty p  { color: #b8bcc8; margin-bottom: 22px; }

/* ---- Single post --------------------------------------------------------- */
.blog-main--single .page-header {
  padding-bottom: 30px;
}
.post-single__back-eyebrow {
  margin-bottom: 14px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: .3px;
  text-transform: uppercase;
}
.post-single__back-eyebrow a {
  color: #00FF94;
  text-decoration: none;
}
.post-single__back-eyebrow a:hover,
.post-single__back-eyebrow a:focus-visible {
  color: #00ffa8;
  text-decoration: underline;
}

.post-single__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: #8f96a3;
  font-size: 0.95rem;
  margin-top: 14px;
}
.post-single__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.post-single__meta a {
  color: #00FF94;
  text-decoration: none;
}

.post-single {
  max-width: 780px;
  margin: 0 auto;
  padding: 36px clamp(20px, 4vw, 48px);
  background: linear-gradient(180deg, #0d0d20 0%, #0a0a1c 100%);
  border: 1px solid rgba(0, 255, 148, 0.10);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.55);
  color: #cfd3de;
}

.post-single__featured {
  margin: -10px 0 28px;
  border-radius: 12px;
  overflow: hidden;
}
.post-single__featured img {
  width: 100%;
  height: auto;
  display: block;
}

/* Content typography — readable on dark, clean rhythm. */
.post-single .post-content {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #cfd3de;
}
.post-single .post-content > * + * { margin-top: 1.1em; }
.post-single .post-content h2,
.post-single .post-content h3,
.post-single .post-content h4 {
  color: #ffffff;
  font-weight: 700;
  line-height: 1.25;
  margin-top: 1.6em;
  margin-bottom: .55em;
}
.post-single .post-content h2 { font-size: 1.55rem; }
.post-single .post-content h3 { font-size: 1.25rem; }
.post-single .post-content h4 { font-size: 1.08rem; }
.post-single .post-content p,
.post-single .post-content li { color: #cfd3de; }
.post-single .post-content a {
  color: #00FF94;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.post-single .post-content a:hover,
.post-single .post-content a:focus-visible {
  color: #00ffa8;
}
.post-single .post-content ul,
.post-single .post-content ol {
  padding-left: 1.3em;
}
.post-single .post-content ul li::marker { color: #00FF94; }
.post-single .post-content ol li::marker { color: #00FF94; }
.post-single .post-content blockquote {
  margin: 1.4em 0;
  padding: 16px 22px;
  border-left: 3px solid #00FF94;
  background: rgba(0, 255, 148, 0.06);
  border-radius: 0 10px 10px 0;
  color: #e7eaf0;
  font-style: italic;
}
.post-single .post-content code {
  background: #06061a;
  border: 1px solid rgba(0, 255, 148, 0.15);
  padding: 1px 8px;
  border-radius: 6px;
  color: #00FF94;
  font-size: .95em;
}
.post-single .post-content pre {
  background: #06061a;
  border: 1px solid rgba(0, 255, 148, 0.12);
  padding: 16px 18px;
  border-radius: 10px;
  overflow-x: auto;
}
.post-single .post-content pre code {
  background: transparent;
  border: 0;
  padding: 0;
  color: #cfd3de;
}
.post-single .post-content img,
.post-single .post-content figure img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}
.post-single .post-content table {
  width: 100%;
  border-collapse: collapse;
  background: #06061a;
  border-radius: 10px;
  overflow: hidden;
}
.post-single .post-content th,
.post-single .post-content td {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #cfd3de;
  text-align: left;
}
.post-single .post-content th {
  background: rgba(0, 255, 148, 0.08);
  color: #ffffff;
  font-weight: 700;
}

/* Tags */
.post-single__tags {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: #b8bcc8;
}
.post-single__tags strong {
  color: #ffffff;
  margin-right: 6px;
  font-weight: 700;
}
.post-single__tag {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 255, 148, 0.08);
  border: 1px solid rgba(0, 255, 148, 0.22);
  color: #cfd3de;
  font-size: 0.85rem;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.post-single__tag:hover,
.post-single__tag:focus-visible {
  background: #00FF94;
  border-color: #00FF94;
  color: #03110a;
}

/* Related posts */
.related-posts {
  max-width: 900px;
  margin: 54px auto 0;
}
.related-posts__title {
  color: #ffffff;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.related-posts__title::after {
  content: "";
  display: inline-block;
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, #00FF94, transparent);
  border-radius: 2px;
}
.related-posts__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.related-card {
  display: flex;
  flex-direction: column;
  background: #0d0d20;
  border: 1px solid rgba(0, 255, 148, 0.10);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.related-card:hover,
.related-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(0, 255, 148, 0.35);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
}
.related-card__image {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #07071a;
}
.related-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.related-card__body {
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.related-card__date {
  color: #00FF94;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: .3px;
  font-weight: 600;
}
.related-card__title {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}

/* Back-to-blog button wrap */
.post-single__back-wrap {
  max-width: 900px;
  margin: 44px auto 0;
  text-align: center;
}
.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  font-weight: 700;
}

/* Mobile */
@media (max-width: 720px) {
  .blog-main .blog-grid { gap: 22px; }
  .post-single { padding: 26px 20px; border-radius: 12px; }
  .post-single .post-content { font-size: 1rem; line-height: 1.7; }
  .related-posts__grid { gap: 14px; }
}

/* =========================================================================
   MOBILE NAV DRAWER — consolidated override
   Replaces the three earlier, conflicting @media blocks that variously set
   .nav-links to:
     - position:fixed, width:80%, max-width:300px, background:#fff   (L319)
     - position:absolute, top:80px, width:100%, background:#fff      (L1194)
     - background:#07071a (patch), with no shared position reference (L2526)
   Higher specificity (.premium-nav .nav-links) + later source order ensures
   this wins the cascade.
   ========================================================================= */

/* Mobile menu button visibility + styling (<=992px). */
@media (max-width: 992px) {
  .premium-nav .mobile-menu-btn,
  .navbar .mobile-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    font-size: 1.6rem;
    line-height: 1;
    background: transparent;
    border: 1px solid rgba(0, 255, 148, 0.25);
    border-radius: 10px;
    color: #ffffff;
    cursor: pointer;
    z-index: 10020;
    transition: color .2s ease, border-color .2s ease, background .2s ease;
  }
  .premium-nav .mobile-menu-btn:hover,
  .navbar .mobile-menu-btn:hover,
  .premium-nav .mobile-menu-btn:focus-visible,
  .navbar .mobile-menu-btn:focus-visible {
    color: #00FF94;
    border-color: #00FF94;
    background: rgba(0, 255, 148, 0.08);
  }
  .premium-nav .mobile-menu-btn.open,
  .navbar .mobile-menu-btn.open {
    color: #00FF94;
    border-color: #00FF94;
    background: rgba(0, 255, 148, 0.10);
  }

  /* Backdrop — dark scrim behind the drawer. Tied to body.menu-open so
     it renders before the drawer itself animates in. */
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 2, 5, 0.85);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
    z-index: 990;
  }
  body.menu-open .nav-overlay {
    opacity: 1;
    pointer-events: auto;
  }

  /* Drawer layout is defined in the consolidated block below (~line 4565).
     These rules add styling refinements only. */
  .premium-nav .nav-links,
  .navbar .nav-links {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  /* Links inside drawer */
  .premium-nav .nav-links .nav-link,
  .navbar .nav-links .nav-link {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 14px 12px;
    color: #e7eaf0;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: .3px;
    text-transform: uppercase;
    text-shadow: none;
    border-radius: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: color .2s ease, background .2s ease;
    min-height: 48px;
  }
  .premium-nav .nav-links .nav-link:hover,
  .navbar .nav-links .nav-link:hover,
  .premium-nav .nav-links .nav-link:focus-visible,
  .navbar .nav-links .nav-link:focus-visible {
    color: #00FF94;
    background: rgba(0, 255, 148, 0.08);
    text-shadow: none;
  }

  /* CTA stack inside drawer */
  .premium-nav .nav-links .nav-btns,
  .navbar .nav-links .nav-btns {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin: 22px 0 0 0;
    padding-top: 18px;
    border-top: 1px solid rgba(0, 255, 148, 0.12);
    gap: 12px;
  }
  .premium-nav .nav-links .nav-btns .btn,
  .navbar .nav-links .nav-btns .btn {
    width: 100%;
    height: 48px;
    min-height: 48px;
    font-size: 0.95rem;
  }

  /* Drawer-local close button (injected by JS/header markup). */
  .nav-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: #ffffff;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    transition: color .2s ease, border-color .2s ease, background .2s ease;
  }
  .nav-close:hover,
  .nav-close:focus-visible {
    color: #00FF94;
    border-color: #00FF94;
    background: rgba(0, 255, 148, 0.08);
  }

  /* Lock background scroll when drawer is open. */
  body.menu-open {
    overflow: hidden;
    touch-action: none;
  }

  /* Push the floating WhatsApp widget behind the drawer while open so it
     can't cover the CTAs. */
  body.menu-open .whatsapp-float {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity .2s ease, visibility .2s ease;
  }
}

/* Desktop state: make sure the drawer-specific transforms + close button
   never leak into desktop layout. */
@media (min-width: 993px) {
  .nav-overlay,
  .nav-close { display: none !important; }
  .premium-nav .nav-links,
  .navbar .nav-links {
    transform: none;
    transition: none;
  }
}

/* =========================================================================
   SITEWIDE MOBILE POLISH
   ========================================================================= */

/* Narrow phones — tighten the container padding so cards aren't cramped
   and full-width elements don't push horizontal scroll. */
@media (max-width: 480px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  section { padding-top: 44px; padding-bottom: 44px; }
  .section-padding { padding-top: 44px; padding-bottom: 44px; }
}

/* Prevent any wide child from causing horizontal overflow on mobile. */
@media (max-width: 992px) {
  html, body { max-width: 100%; overflow-x: hidden; }
  img, video, iframe { max-width: 100%; height: auto; }
  .container, main, section, footer, .navbar { max-width: 100vw; }
  /* WhatsApp float — scale down + reposition so it doesn't clip controls. */
  .whatsapp-float {
    width: 54px;
    height: 54px;
    bottom: 18px;
    right: 18px;
    z-index: 900; /* below drawer/overlay (10000+) */
  }
  .whatsapp-float svg { width: 28px; height: 28px; }
  .notification-badge { width: 18px; height: 18px; font-size: 0.7rem; top: -4px; right: -4px; }

  /* Top bar — stack if cramped, tighten spacing. */
  .top-bar-content { gap: 4px 12px; padding: 2px 0; }
  .top-bar .top-link { font-size: 0.8rem; }
  .top-bar .offer-flash { font-size: 0.78rem; }

  /* Hero — readable on small screens. */
  .hero-text h1 { font-size: clamp(1.6rem, 7vw, 2.2rem); }
  .hero-text p { font-size: 1rem; }
  .hero-buttons { gap: 10px; }
  .hero-buttons .btn { width: 100%; }

  /* Pricing / features — stack into a single column below ~640px and give
     each card breathing room. */
  .pricing-grid,
  .features-grid { grid-template-columns: 1fr !important; gap: 18px; }
  .pricing-card,
  .feature-card { padding: 22px; }

  /* FAQ — larger tap target and tighter padding. */
  .faq-question { padding: 16px 14px; font-size: 1rem; min-height: 52px; }
  .faq-answer { padding: 0 14px 16px; font-size: 0.95rem; }

  /* Testimonials — single column. */
  .testimonials-grid,
  .testimonial-section .grid { grid-template-columns: 1fr !important; gap: 18px; }

  /* Contact form inputs — full width, larger touch target. */
  .contact-form input,
  .contact-form textarea,
  .contact-form select {
    width: 100%;
    font-size: 16px; /* prevents iOS zoom */
    min-height: 46px;
  }
  .contact-form textarea { min-height: 120px; }

  /* Footer — single-column grid, generous line-height. */
  .footer-grid { grid-template-columns: 1fr !important; gap: 28px; }
  .footer-links ul li { padding: 4px 0; }

  /* Generic tap target minimum (links acting as buttons). */
  .btn, button, a.btn { min-height: 44px; }
}

/* Even narrower phones (<=380px, e.g. iPhone SE). */
@media (max-width: 380px) {
  .logo-text { font-size: 1.2rem; }
  .hero-text h1 { font-size: 1.55rem; }
  .premium-nav .nav-links,
  .navbar .nav-links { width: 92vw; padding: 72px 18px 24px; }
}

/* =========================================================================
   FINAL MOBILE POLISH
   - Breathing room at the top of the hero below the sticky nav
   - Safe clearance above the footer so the WhatsApp FAB can never cover
     the last row of content
   - iOS safe-area support for the FAB and the footer
   - Small overflow / clipping guards
   ========================================================================= */

@media (max-width: 992px) {
  /* Hero: remove the desktop min-height and give the top more breathing room
     below the sticky nav + top bar. The navbar is ~62px and the top bar is
     ~28px on mobile, so we reserve ~20px extra headroom on top of the
     original 60px. */
  .hero-section {
    padding-top: 56px;
    padding-bottom: 56px;
    min-height: 0;
  }
  .hero-content { gap: 28px; }
  .hero-text {
    padding-top: 8px; /* extra visual air between navbar and H1 */
  }
  .hero-image {
    margin-left: auto;
    margin-right: auto;
    max-width: 86%;
  }

  /* Section rhythm — slightly tighter but consistent on phones. */
  .testimonial-section,
  #features,
  #pricing,
  #faq,
  #contact,
  .devices-slider-section,
  .unmatched-performance,
  #devices {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  /* Section headers: prevent very long titles from overflowing. */
  .section-header h2,
  .testimonial-header h2 {
    font-size: clamp(1.5rem, 5.2vw, 2rem);
    line-height: 1.22;
    overflow-wrap: anywhere;
  }
  .section-header p,
  .testimonial-header p { font-size: 0.98rem; }

  /* Pricing cards — align highlight ribbon + prevent clipped shadows. */
  .pricing-card {
    margin-left: auto;
    margin-right: auto;
    max-width: 420px;
    overflow: visible;
  }
  .pricing-card .price { overflow-wrap: anywhere; }

  /* Feature cards — same max width so they don't look stretched. */
  .feature-card {
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  /* FAQ: ensure the + icon never clips on small screens. */
  .faq-question { padding-right: 46px; position: relative; }

  /* Testimonials — single column, centered, consistent card width. */
  .testimonial-card {
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Contact form box — padding + rounded corners that don't kiss the
     viewport edges. */
  .contact-form-box {
    padding: 22px 18px;
    margin-left: 0;
    margin-right: 0;
    border-radius: 14px;
  }

  /* Footer — reserve clearance at the bottom so the floating WhatsApp
     button can never hide the copyright / legal links. 96px accounts for
     the 54px FAB + 18px offset + visual safe space, plus the iOS home
     indicator safe area. */
  .site-footer {
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  }
  .site-footer .footer-grid { text-align: center; }
  .site-footer .footer-brand,
  .site-footer .footer-links,
  .site-footer .footer-brand-mark { text-align: center; }
  .site-footer .footer-links ul { padding-left: 0; list-style: none; }
  .site-footer .footer-heading { margin-bottom: 10px; }

  /* Floating WhatsApp FAB: respect iOS safe area + hide when the footer
     is on-screen (class toggled by script.js). Transform stays GPU-only
     so it doesn't cost the main thread. */
  .whatsapp-float {
    right: calc(18px + env(safe-area-inset-right, 0px));
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
  }
  body.wa-hide .whatsapp-float {
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(.92);
    pointer-events: none;
  }

  /* Overflow guards for typical culprits. */
  .hero-buttons,
  .features-grid,
  .pricing-grid,
  .testimonials-grid,
  .footer-grid { max-width: 100%; }
  .pricing-card *,
  .feature-card *,
  .testimonial-card * { min-width: 0; }
}

/* Short phones (landscape / small viewport heights): soften the hero so
   the fold doesn't feel cramped. */
@media (max-width: 992px) and (max-height: 720px) {
  .hero-section { padding-top: 40px; padding-bottom: 40px; }
}

@media (max-width: 380px) {
  .hero-section { padding-top: 44px; padding-bottom: 44px; }
  .contact-form-box { padding: 18px 14px; }
  .site-footer { padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
}

/* =========================================================================
   MOBILE FAB + HERO CTA COLLISION FIX
   + DRAWER POLISH (brand header, rhythm, CTA stack)
   ========================================================================= */
@media (max-width: 992px) {
  /* Hero CTA row: stack cleanly with real edge clearance so the FAB can't
     pin the "Free 24H Trial" button against the viewport edge. The FAB is
     additionally auto-hidden while the hero is in view (see script.js), so
     this is belt-and-suspenders. */
  .hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 22px;
    margin-bottom: 12px;
    min-height: 0;                 /* kill the desktop 50px reservation */
    padding-right: 0;
    padding-left: 0;
    width: 100%;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-buttons .btn {
    width: 100%;
    height: 50px;
    min-height: 50px;
    font-size: 0.98rem;
  }
  /* Breathing space between the last CTA and whatever sits below the hero. */
  .hero-section { padding-bottom: 72px; }

  /* Drawer: brand header row (logo + close). */
  .nav-drawer-head {
    position: absolute;
    top: 0; left: 0; right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(0, 255, 148, 0.10);
    background: linear-gradient(180deg, rgba(0,255,148,.04), transparent);
  }
  .nav-drawer-brand {
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: .5px;
    color: #ffffff;
  }

  /* Re-anchor the close button into the drawer header so it aligns with the
     brand mark — this overrides the absolute positioning from the earlier
     patch. */
  .nav-drawer-head .nav-close {
    position: static;
    top: auto; right: auto;
  }

  /* Drawer body: reserve space for the new header row, then lay out the
     links with proper rhythm. */
  .premium-nav .nav-links,
  .navbar .nav-links {
    padding: 78px 20px 28px;
    gap: 2px;
  }

  /* Links — slightly larger tap area, cleaner separators. */
  .premium-nav .nav-links .nav-link,
  .navbar .nav-links .nav-link {
    padding: 15px 14px;
    min-height: 52px;
    font-size: 0.98rem;
    letter-spacing: .4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 8px;
  }
  .premium-nav .nav-links .nav-link:last-of-type,
  .navbar .nav-links .nav-link:last-of-type {
    border-bottom: 0;
  }

  /* CTA stack inside drawer: full-width, primary/outline visual contrast,
     guaranteed equal height, a little room at the bottom so the last
     button never kisses the drawer floor. */
  .premium-nav .nav-links .nav-btns,
  .navbar .nav-links .nav-btns {
    margin: 24px 0 14px 0;
    padding: 18px 0 0 0;
    gap: 12px;
    border-top: 1px solid rgba(0, 255, 148, 0.14);
  }
  .premium-nav .nav-links .nav-btns .btn,
  .navbar .nav-links .nav-btns .btn {
    width: 100%;
    height: 50px;
    min-height: 50px;
    font-size: 0.95rem;
    letter-spacing: .6px;
    border-radius: 10px;
  }
  /* Outline CTA — make sure it's visibly distinct from the primary on dark. */
  .premium-nav .nav-links .nav-btns .btn-outline-white,
  .navbar .nav-links .nav-btns .btn-outline-white {
    background: transparent;
    border-color: rgba(0, 255, 148, 0.55);
    color: #00FF94;
  }
  .premium-nav .nav-links .nav-btns .btn-primary,
  .navbar .nav-links .nav-btns .btn-primary {
    background: linear-gradient(135deg, #00FF94 0%, #00cc76 100%);
    border-color: transparent;
    color: #03110a;
    box-shadow: 0 4px 14px rgba(0, 255, 148, 0.28);
  }
}

@media (min-width: 993px) {
  /* Desktop guard — drawer-only affordances stay hidden. */
  .nav-drawer-head { display: none !important; }
}

/* =========================================================================
   HAMBURGER VISIBILITY + DRAWER EDGE POLISH
   Fixes hamburger clipping at the right edge (legacy rule L1263 set
   .nav-container padding to 15px, which competed with later 16px). Also
   gives the drawer a small inset + rounded left edge so it no longer feels
   flush/clipped against the viewport. Respects iOS safe-area insets.
   ========================================================================= */
@media (max-width: 992px) {
  /* Universal box-sizing for nav-scope elements so padding never pushes
     children past the viewport edge. */
  .navbar,
  .navbar *,
  .premium-nav,
  .premium-nav * { box-sizing: border-box; }

  /* Header bar itself — explicit inside padding that honors iOS notch. */
  .premium-nav .nav-container,
  .navbar .nav-container {
    padding-left: calc(18px + env(safe-area-inset-left, 0px));
    padding-right: calc(18px + env(safe-area-inset-right, 0px));
    gap: 14px;
    min-height: 60px;
  }

  /* Hamburger: guaranteed 8px visible gap from the viewport edge, slightly
     taller hit area, cleaner icon rendering. */
  .premium-nav .mobile-menu-btn,
  .navbar .mobile-menu-btn {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    margin-right: 2px;       /* visual breathing gap from edge */
    font-size: 1.55rem;
    line-height: 1;
    border-width: 1px;
    border-color: rgba(0, 255, 148, 0.28);
    background: rgba(0, 255, 148, 0.04);
  }
  .premium-nav .mobile-menu-btn > span,
  .navbar .mobile-menu-btn > span {
    display: block;
    line-height: 1;
    transform: translateY(-1px);  /* optical center for ☰ glyph */
  }

  /* Logo — stop it from ever pushing the hamburger off-screen. */
  .premium-nav .logo,
  .navbar .logo {
    flex: 0 1 auto;
    min-width: 0;
  }
  .premium-nav .logo-text,
  .navbar .logo-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Drawer: inset from right with a rounded left edge so it reads as a
     true floating panel instead of a "clipped" slab. */
  .nav-links,
  .premium-nav .nav-links,
  .navbar .nav-links {
    position: fixed;
    top: 10px;
    right: 10px;
    left: auto !important;
    bottom: 10px;
    max-height: calc(100dvh - 20px);
    width: min(86vw, 340px);
    background: #04040f;
    flex-direction: column;
    padding: 74px 22px 28px;
    border-radius: 18px;
    border: 1px solid rgba(0, 255, 148, 0.14);
    box-shadow:
      0 20px 60px rgba(0, 0, 0, 0.6),
      0 0 0 1px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    z-index: 10010;
    /* Push fully off-screen when closed — no peeking */
    transform: translateX(calc(100% + 40px));
    transition: transform 0.3s ease;
  }

  .nav-links .nav-link {
    color: #e0e0e0;
    text-shadow: none;
  }
  .nav-links .nav-link:hover {
    color: var(--primary);
  }

  /* Keep internal scroll for long menus without losing the rounded mask. */
  .nav-links.active,
  .premium-nav .nav-links.active,
  .navbar .nav-links.active {
    transform: translateX(0);
    overflow-y: auto;
  }

  .nav-btns {
    flex-direction: column;
    width: 100%;
    margin-left: 0;
    margin-top: 20px;
  }

  .mobile-menu-btn {
    display: block;
    z-index: 1001;
    color: var(--primary) !important;
  }

  /* Drawer header row aligns flush with the rounded corners. */
  .nav-drawer-head {
    top: 0;
    left: 0;
    right: 0;
    padding: 14px 16px;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
  }

  /* Overlay — solid dim, NO blur so content stays sharp. */
  .nav-overlay {
    background: rgba(2, 2, 5, 0.7);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  /* Respect iOS safe area when the drawer approaches the screen edge. */
  @supports (padding: max(0px)) {
    .premium-nav .nav-links,
    .navbar .nav-links {
      right: max(10px, env(safe-area-inset-right, 0px));
      top:   max(10px, env(safe-area-inset-top, 0px));
      bottom:max(10px, env(safe-area-inset-bottom, 0px));
      max-height: calc(100dvh - max(20px, calc(env(safe-area-inset-top, 0px) + env(safe-area-inset-bottom, 0px))));
    }
  }

  /* Nav link tighter left/right padding so long labels don't ellipsize
     against the rounded drawer. */
  .premium-nav .nav-links .nav-link,
  .navbar .nav-links .nav-link {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* Extra-narrow phones (≤360px, e.g. Galaxy S8, iPhone SE 1st gen) — shrink
   container padding a touch, widen drawer to 92vw, and keep the hamburger
   visible with 44px footprint. */
@media (max-width: 360px) {
  .premium-nav .nav-container,
  .navbar .nav-container {
    padding-left: calc(14px + env(safe-area-inset-left, 0px));
    padding-right: calc(14px + env(safe-area-inset-right, 0px));
    min-height: 58px;
  }
  .premium-nav .mobile-menu-btn,
  .navbar .mobile-menu-btn {
    width: 44px;
    height: 44px;
    font-size: 1.45rem;
  }
  .premium-nav .nav-links,
  .navbar .nav-links {
    width: 92vw;
    right: 8px;
    top: 8px;
    bottom: 8px;
    border-radius: 16px;
    max-height: calc(100dvh - 16px);
  }
}

/* 320px safety (iPhone 5/SE in zoomed mode) — no horizontal shift allowed. */
@media (max-width: 320px) {
  .premium-nav .nav-container,
  .navbar .nav-container {
    padding-left: 12px;
    padding-right: 12px;
    gap: 10px;
  }
  .logo-text { font-size: 1.1rem; }
  .premium-nav .mobile-menu-btn,
  .navbar .mobile-menu-btn { width: 42px; height: 42px; }
}
