/* MAX TV PRO - Main CSS (English/LTR) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --bg: #0B0F17;
  --bg-2: #121826;
  --border: #232C3A;
  --text: #FFFFFF;
  --muted: #B0B8C1;
  --muted-2: #7A8490;
  --accent: #FF5722;
  --accent-2: #E53935;
  --accent-grad: linear-gradient(135deg, #FF5722, #E53935);
  --secondary: #2D9CDB;
  --whatsapp: #25D366;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.4);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

p {
  margin-bottom: 1rem;
  color: var(--muted);
}

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

a:hover, a:focus {
  color: var(--accent-2);
  outline: none;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Background Utilities */
.bg-secondary {
  background: var(--bg-2) !important;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(11, 15, 23, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(11, 15, 23, 0.95);
  border-bottom-color: var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 700;
  color: var(--text);
}

.logo span {
  display: none;
}

.logo img {
  width: 220px !important;
  height: 50px !important;
  object-fit: contain;
  min-width: 220px !important;
  min-height: 50px !important;
}

/* Responsive logo sizes */
@media (max-width: 768px) {
  .logo img {
    width: 160px;
    height: 45px;
  }
}

@media (max-width: 480px) {
  .logo img {
    width: 160px;
    height: 45px;
  }
}

@media (max-width: 320px) {
  .logo img {
    width: 220px;
    height: 50px;
  }
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: var(--muted);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-grad);
  transition: var(--transition);
}

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

.lang-switch {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.lang-link {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition);
}

.lang-link:hover,
.lang-link.active {
  background: var(--accent-grad);
  border-color: transparent;
  color: white;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
}

/* Countries Dropdown - Enhanced with Mobile Support */
.nav-dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: none;
  border: none;
  cursor: pointer;
}

.dropdown-arrow {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
  display: inline-block;
}

.dropdown-toggle[aria-expanded="true"] .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  max-height: 300px;
  overflow-y: auto;
}

/* Show dropdown on hover (desktop) and active state (mobile) */
.nav-dropdown:hover .dropdown-menu,
.dropdown-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
  font-size: 0.875rem;
  cursor: pointer;
}

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

.dropdown-item:hover,
.dropdown-item:focus {
  background: var(--accent-grad);
  color: white;
  outline: none;
}

.dropdown-section {
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Focus states for accessibility */
.dropdown-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}

/* Keyboard focus indicator */
body.user-is-tabbing .nav-link:focus,
body.user-is-tabbing .dropdown-toggle:focus {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-grad);
  color: white;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: white;
}

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

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 87, 34, 0.3);
}

.btn-lg {
  padding: 1.25rem 3rem;
  font-size: 1.125rem;
}

.btn-full {
  width: 100%;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: radial-gradient(ellipse at center, rgba(255, 87, 34, 0.1) 0%, transparent 70%);
}

/* Country Hero Section */
.country-hero {
  min-height: 80vh;
  padding-top: 100px;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 1.5rem;
}

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

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding-top: 80px;
}

.hero h1 {
  background: linear-gradient(135deg, var(--text) 0%, var(--muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--muted);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.hero-features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.hero-feature svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

/* Sections */
.section {
  padding: 5rem 0;
}

.intro-section {
  padding: 4rem 0;
  background: var(--bg-2);
}

.intro-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.plans-section {
  padding: 5rem 0;
}

.download-section {
  padding: 5rem 0;
  background: var(--bg-2);
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.download-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
}

.download-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}

.download-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.cta-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, rgba(255, 87, 34, 0.1) 0%, rgba(229, 57, 53, 0.1) 100%);
  text-align: center;
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.btn-large {
  padding: 1.25rem 3rem;
  font-size: 1.125rem;
  margin-top: 2rem;
}

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

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--accent-grad);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.feature-icon svg {
  width: 30px;
  height: 30px;
  color: white;
}

.feature-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.feature-description {
  color: var(--muted);
}

/* Pricing */
.pricing-grid,
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.pricing-card,
.plan-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  position: relative;
  transition: var(--transition);
}

.pricing-card.popular,
.plan-card.popular {
  border-color: var(--accent);
  transform: scale(1.05);
}

.pricing-card.popular::before,
.plan-card.popular::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-grad);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-grad);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
}

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

.pricing-card.popular:hover,
.plan-card.popular:hover {
  transform: scale(1.05) translateY(-4px);
}

.plan-name,
.plan-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text);
}

.plan-header {
  margin-bottom: 2rem;
}

.plan-price {
  margin-bottom: 1rem;
}

.plan-price .currency {
  font-size: 1.5rem;
  color: var(--accent);
  vertical-align: top;
}

.plan-price .amount {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.plan-price .period {
  font-size: 1rem;
  color: var(--muted);
}

.local-price {
  font-size: 0.875rem;
  color: var(--muted-2);
  margin-top: 0.5rem;
}

.plan-btn {
  width: 100%;
  margin-top: 1rem;
}

.plan-price {
  margin-bottom: 2rem;
}

.price-original {
  font-size: 1.125rem;
  color: var(--muted-2);
  text-decoration: line-through;
  display: block;
}

.price-current {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.price-period {
  font-size: 1rem;
  color: var(--muted);
}

.plan-features {
  list-style: none;
  margin-bottom: 2rem;
  text-align: left;
}

.plan-features li {
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--muted);
}

.plan-features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: bold;
  width: 16px;
  text-align: center;
}

/* FAQ */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.5rem;
  text-align: left;
  color: var(--text);
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover {
  background: rgba(255, 87, 34, 0.05);
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--accent);
  transition: var(--transition);
}

.faq-question.active::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
}

.faq-answer.active {
  max-height: 500px;
}

.faq-answer-content {
  padding: 0 1.5rem 1.5rem;
  color: var(--muted);
  line-height: 1.6;
}

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

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: var(--text);
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: var(--muted);
  transition: var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  text-align: center;
  color: var(--muted-2);
  font-size: 0.875rem;
}

/* WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  transition: var(--transition);
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background: #128C7E;
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: white;
  color: white;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Telegram Float Button */
.telegram-float {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #0088cc 0%, #229ED9 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  transition: var(--transition);
  animation: pulse-telegram 2s infinite;
}

.telegram-float svg {
  width: 28px;
  height: 28px;
  fill: white;
  color: white;
}

.telegram-float:hover {
  transform: scale(1.1);
  background: linear-gradient(135deg, #0077b5 0%, #1a8ac7 100%);
}

@keyframes pulse-telegram {
  0% { box-shadow: 0 0 0 0 rgba(34, 158, 217, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(34, 158, 217, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 158, 217, 0); }
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 160px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg,  #ff5722 0%, #e45a30 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  cursor: pointer;
  border: none;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  animation: fadeInUp 0.3s ease-in-out;
}

.back-to-top:hover {
  transform: scale(1.1) translateY(-3px);
  background: linear-gradient(135deg, #ff5722 0%, #e45a30 100%);
}

.back-to-top svg {
  width: 24px;
  height: 24px;
  fill: white;
  color: white;
}

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

/* Breadcrumbs */
.breadcrumbs {
  padding: 1rem 0;
  margin-top: 80px;
  border-bottom: 1px solid var(--border);
}

.breadcrumb-list {
  display: flex;
  list-style: none;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.875rem;
}

.breadcrumb-list li:not(:last-child)::after {
  content: '/';
  margin-left: 0.5rem;
  color: var(--muted-2);
}

.breadcrumb-list a {
  color: var(--muted);
}

.breadcrumb-list a:hover {
  color: var(--accent);
}

/* Responsive Design */
@media (max-width: 768px) {
  /* Container padding for mobile */
  .container {
    padding: 0 1rem;
  }
  
  .header {
    padding: 0;
  }
  
  .nav {
    padding: 0.75rem 1rem;
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    flex-direction: column;
    padding: 1.5rem 1rem;
    gap: 1rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    max-height: calc(100vh - 100px);
    overflow-y: auto;
  }
  
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  /* Logo responsive */
  .logo {
    flex: 1;
    max-width: 70%;
  }
  
  .logo img {
    width: 150px !important;
    height: 42px !important;
    min-width: 150px !important;
    min-height: 42px !important;
  }
  
  /* Language switch smaller */
  .lang-switch {
    gap: 0.5rem;
  }
  
  .lang-link {
    padding: 0.4rem 0.6rem;
    font-size: 0.85rem;
  }
  
  /* Mobile Dropdown Nested Menu */
  .nav-dropdown {
    width: 100%;
  }
  
  .nav-link {
    width: 100%;
    padding: 0.75rem 0;
  }
  
  .dropdown-toggle {
    width: 100%;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    background: none;
    border: none;
    cursor: pointer;
    font-size: inherit;
    font-family: inherit;
  }
  
  .dropdown-arrow {
    transition: transform 0.3s ease;
    font-size: 0.75rem;
    margin-left: 0.5rem;
  }
  
  .dropdown-toggle[aria-expanded="true"] .dropdown-arrow {
    transform: rotate(180deg);
  }
  
  .dropdown-menu {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    display: flex;
    flex-direction: column;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--accent);
    margin-left: 1rem;
    margin-top: 0.5rem;
    padding-left: 1rem;
    background: transparent;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, margin 0.4s ease, padding 0.4s ease;
    width: 100%;
  }
  
  .dropdown-menu.active {
    max-height: 600px;
    margin-top: 1rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
  
  .dropdown-item {
    display: block;
    padding: 0.75rem 0.5rem;
    color: var(--muted);
    transition: var(--transition);
    text-decoration: none;
  }
  
  .dropdown-item:hover,
  .dropdown-item:active {
    color: var(--accent);
    background: rgba(255, 87, 34, 0.05);
  }
  
  .dropdown-section {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.5rem 0.5rem 0.25rem;
    margin-top: 0.5rem;
    opacity: 0.9;
  }
  
  .dropdown-section:first-child {
    margin-top: 0;
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-features {
    flex-direction: column;
    align-items: center;
  }
  
  .pricing-card.popular {
    transform: none;
  }
}

/* Tablets and iPad (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
  
  .nav {
    padding: 1rem 1.5rem;
  }
  
  .logo img {
    width: 180px !important;
    height: 48px !important;
    min-width: 180px !important;
    min-height: 48px !important;
  }
  
  .lang-link {
    padding: 0.5rem 0.8rem;
    font-size: 0.9rem;
  }
  
  .nav-menu {
    padding: 2rem 1.5rem;
  }
}

/* Small Phones (376px - 480px) */
@media (min-width: 376px) and (max-width: 480px) {
  .container {
    padding: 0 0.875rem;
  }
  
  .nav {
    padding: 0.625rem 0.875rem;
  }
  
  .logo img {
    width: 140px !important;
    height: 39px !important;
    min-width: 140px !important;
    min-height: 39px !important;
  }
  
  .lang-link {
    padding: 0.375rem 0.55rem;
    font-size: 0.8rem;
  }
  
  .mobile-toggle {
    width: 36px;
    height: 36px;
  }
}

/* Extra Small Devices (iPhone SE, ≤375px) */
@media (max-width: 375px) {
  .container {
    padding: 0 0.75rem;
  }
  
  .nav {
    padding: 0.5rem 0.75rem;
  }
  
  .logo img {
    width: 130px !important;
    height: 36px !important;
    min-width: 130px !important;
    min-height: 36px !important;
  }
  
  .lang-switch {
    gap: 0.25rem;
  }
  
  .lang-link {
    padding: 0.35rem 0.5rem;
    font-size: 0.75rem;
  }
  
  .mobile-toggle {
    width: 32px;
    height: 32px;
  }
  
  .mobile-toggle span {
    height: 2px;
  }
  
  .nav-menu {
    padding: 1rem 0.75rem;
  }
  
  .dropdown-menu {
    margin-left: 0.5rem;
    padding-left: 0.5rem;
  }
}

/* iPad Pro and Large Tablets (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .container {
    max-width: 960px;
    padding: 0 2rem;
  }
  
  .nav {
    padding: 1rem 0;
  }
  
  .logo img {
    width: 200px !important;
    height: 48px !important;
  }
  
  .nav-menu {
    gap: 1.5rem;
  }
  
  .nav-link {
    font-size: 0.95rem;
  }
  
  .pricing-card.popular:hover {
    transform: translateY(-4px);
  }
  
  .whatsapp-float {
    bottom: 80px;
  }
  
  .telegram-float {
    bottom: 150px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.75rem;
  }
  
  .btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    min-height: 48px;
    touch-action: manipulation;
  }
  
  .btn-lg {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
    min-height: 56px;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .feature-card,
  .pricing-card {
    padding: 1.5rem;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .whatsapp-float,
  .telegram-float {
    animation: none;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Loading Spinner */
.loading-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid var(--border);
  border-radius: 50%;
  border-top-color: var(--accent);
  animation: spin 1s ease-in-out infinite;
}

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

/* Currency Error Notification */
.currency-error-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--bg-2);
  border: 1px solid var(--accent-2);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  max-width: 350px;
  animation: slideIn 0.3s ease-out;
}

.error-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.error-icon {
  font-size: 1.25rem;
}

.error-text {
  flex: 1;
  font-size: 0.875rem;
  color: var(--text);
}

.error-close {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.error-close:hover {
  background: var(--border);
  color: var(--text);
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Focus styles */
button:focus,
a:focus,
input:focus,
textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Performance Optimizations for Core Web Vitals */
.lazy-load {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazy-load.loaded {
    opacity: 1;
}

/* Preload critical resources */
.critical-resource {
    font-display: swap;
}

/* Optimize layout shifts */
img, video {
    height: auto;
    max-width: 100%;
}

/* Reduce paint complexity */
.feature-card {
    will-change: transform;
    transform: translateZ(0);
}

/* Article Rating System */
.article-rating {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--bg-2);
    border-radius: var(--radius);
    text-align: center;
}

.rating-stars {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem 0;
}

.star {
    font-size: 1.5rem;
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s;
}

.star:hover,
.star.active {
    color: #ffd700;
}

.rating-text {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--muted);
}

/* Blog Search */
.blog-search {
    margin: 2rem 0;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 1rem 3rem 1rem 1rem;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg);
    color: var(--text);
    font-size: 1rem;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
}

.search-button {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--muted);
    cursor: pointer;
}

/* Article Navigation */
.article-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 3rem 0;
    padding: 2rem;
    background: var(--bg-2);
    border-radius: var(--radius);
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: var(--radius);
    transition: background-color 0.2s;
}

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

.nav-link.prev::before {
    content: "←";
}

.nav-link.next::after {
    content: "→";
}

/* Related Articles */
.related-articles {
    margin: 3rem 0;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.related-card {
    padding: 1.5rem;
    background: var(--bg-2);
    border-radius: var(--radius);
    transition: transform 0.2s;
}

.related-card:hover {
    transform: translateY(-2px);
}

.related-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.related-card p {
    color: var(--muted);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.related-card a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

/* Search Results */
.search-results {
    margin-top: 2rem;
}

.search-result {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.search-result:last-child {
    border-bottom: none;
}

.search-result h3 {
    margin-bottom: 0.5rem;
}

.search-result p {
    color: var(--muted);
    margin-bottom: 0.5rem;
}

.search-highlight {
    background: yellow;
    padding: 0.1rem 0.2rem;
    border-radius: 2px;
}

/* High contrast support */
@media (prefers-contrast: high) {
  :root {
    --border: #FFFFFF;
    --muted: #CCCCCC;
  }
}

/* Download Page Styles */
.download-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 3rem;
}

.download-hero-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.info-card {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    margin: 1.5rem 0;
}

.info-card h3 {
    color: var(--accent);
    margin-bottom: 1rem;
}

.info-list {
    list-style: none;
    padding: 0;
}

.info-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
}

.info-list li:last-child {
    border-bottom: none;
}

.app-library-card {
    background: linear-gradient(135deg, rgba(255, 87, 34, 0.1) 0%, rgba(229, 57, 53, 0.1) 100%);
    border: 2px solid var(--accent);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.download-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.step-number {
    background: var(--accent-grad);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

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

.platform-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.platform-icon {
    background: var(--accent-grad);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.code-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.code-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    text-align: center;
}

.code-display {
    background: var(--bg-2);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
}

.warning-box {
    background: var(--bg);
    border-left: 4px solid var(--accent);
    padding: 1rem;
    margin-bottom: 1rem;
}

[dir="rtl"] .warning-box {
    border-left: none;
    border-right: 4px solid var(--accent);
}

.steps-instructions {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.steps-instructions ol {
    color: var(--muted);
    padding-left: 1.5rem;
    line-height: 1.8;
}

[dir="rtl"] .steps-instructions ol {
    padding-left: 0;
    padding-right: 1.5rem;
}

.tv-players-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.tv-player-card {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
}

.system-requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

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

.requirement-list {
    list-style: none;
    padding: 0;
}

.requirement-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
}

.requirement-list li:last-child {
    border-bottom: none;
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    bottom: 80px;
    right: 20px;
    background: var(--bg-2);
    border: 2px solid var(--accent);
    border-radius: var(--radius);
    padding: 1rem 1.5rem;
    box-shadow: var(--shadow-lg);
    z-index: 9999;
    animation: slideInUp 0.3s ease-out;
    color: var(--text);
    font-weight: 500;
}

[dir="rtl"] .toast-notification {
    right: auto;
    left: 20px;
}

@keyframes slideInUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Download Page Responsive */
@media (max-width: 768px) {
    .download-hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .download-grid {
        grid-template-columns: 1fr;
    }
    
    .platforms-grid {
        grid-template-columns: 1fr;
    }
    
    .tv-players-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

/* ===================================
   Testimonials Section Styles
   =================================== */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

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

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

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    flex-shrink: 0;
}

.testimonial-info {
    flex: 1;
}

.testimonial-name {
    margin: 0;
    color: var(--text);
    font-size: 1.1rem;
}

.testimonial-location {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.testimonial-rating {
    color: #ffd700;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.testimonial-text {
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
}

.trust-indicators {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: var(--bg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.trust-indicators h3 {
    color: var(--text);
    margin-bottom: 1rem;
}

.trust-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.trust-stat {
    text-align: center;
}

.trust-stat-value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent);
}

.trust-stat-label {
    color: var(--muted);
    font-size: 0.9rem;
}

/* Testimonials Responsive */
@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .trust-stats {
        gap: 2rem;
    }
    
    .trust-stat-value {
        font-size: 1.5rem;
    }
}
