/*
Theme Name: Yes ZOREM IPTV (Bilingual EN/HE - Light & Customizable)
Theme URI: https://yeszorem.com
Author: Custom Theme Developer
Author URI: https://yeszorem.com
Description: Light mode, high-converting bilingual (English LTR / Hebrew RTL) custom WordPress theme for Yes ZOREM IPTV providers. Native Rank Math SEO integration, full WordPress Customizer & Gutenberg visual editing, favicon integration, Home top menu, & auto-created legal pages.
Version: 5.0.0
Text Domain: iptv-theme
Domain Path: /languages
*/

/* ==========================================================================
   DESIGN TOKENS & LIGHT MODE COLOR PALETTE
   ========================================================================== */
:root {
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-hebrew: 'Rubik', 'Heebo', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Light Theme Color Palette */
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --bg-secondary: #f1f5f9;
  
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #64748b;
  
  --accent-primary: #037abe; /* Brand Primary Blue */
  --accent-gradient: linear-gradient(135deg, #037abe 0%, #025a8f 100%);
  --accent-glow: rgba(3, 122, 190, 0.15);
  
  --border-color: #e2e8f0;
  --border-highlight: #7dd3fc;
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-card: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
  --shadow-hover: 0 12px 24px -4px rgba(3, 122, 190, 0.22);
  
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1240px;
}

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

html {
  font-family: var(--font-primary);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

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

a:hover {
  color: #025a8f;
}

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }
p { margin-bottom: 1.25rem; color: var(--text-muted); font-size: 1.05rem; }

/* Buttons - Professional Human Developer Styling */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  border-radius: var(--radius-md); /* Professional 10px rounded corner, non-generic */
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background-color: #037abe;
  color: #ffffff !important;
  border-color: #037abe;
  box-shadow: 0 4px 12px rgba(3, 122, 190, 0.25);
}

.btn-primary:hover {
  background-color: #02629b;
  border-color: #02629b;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(3, 122, 190, 0.35);
  color: #ffffff !important;
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(3, 122, 190, 0.2);
}

.btn-outline {
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  background: #f8fafc;
}

.btn-whatsapp {
  background-color: #25D366;
  color: #ffffff !important;
  border-color: #25D366;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
  background-color: #20bd5a;
  border-color: #20bd5a;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(2, 132, 199, 0.1);
  color: var(--accent-primary);
  border: 1px solid rgba(2, 132, 199, 0.2);
  margin-bottom: 1rem;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 1.1rem 0;
  box-shadow: var(--shadow-sm);
}

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

.logo {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  max-height: 48px;
  width: auto;
  display: block;
}

.logo span {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-menu-container {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 1.75rem !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.site-header .nav-menu li {
  display: inline-block !important;
  white-space: nowrap !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Header Navigation Menu Links (Header Primary Menu) */
.site-header .nav-menu li a,
.site-header .nav-menu a,
.site-header #navMenuContainer a,
.site-header ul li a {
  color: #000000 !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  transition: color 0.2s ease !important;
  text-decoration: none !important;
}

.site-header .nav-menu li a:hover,
.site-header .nav-menu a:hover,
.site-header #navMenuContainer a:hover,
.site-header ul li a:hover,
.site-header .nav-menu li.current-menu-item > a {
  color: #037abe !important;
}

/* Footer Navigation Links */
.footer-col ul a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-col ul a:hover {
  color: var(--accent-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Language Switcher - Professional Segmented Control */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 2px;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.03);
}

.lang-btn {
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #64748b;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.02em;
}

.lang-btn:hover {
  color: #0f172a;
}

.lang-btn.active {
  background: #ffffff;
  color: #037abe;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding: 4.5rem 0 4rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-main) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content h1 span {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.stat-item h4 {
  font-size: 1.6rem;
  margin-bottom: 0.1rem;
  color: var(--accent-primary);
}

.stat-item p {
  font-size: 0.85rem;
  margin-bottom: 0;
}

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

.hero-png-image {
  width: 100%;
  max-width: 540px;
  height: auto;
  display: block;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  filter: drop-shadow(0 15px 25px rgba(2, 132, 199, 0.12));
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.4s ease;
  cursor: pointer;
}

.hero-png-image:hover {
  transform: translateY(-8px) scale(1.03);
  filter: drop-shadow(0 22px 35px rgba(2, 132, 199, 0.25));
}

/* ==========================================================================
   CLEAN HORIZONTAL BRAND LOGOS STRIP
   ========================================================================== */
.brand-logos-section {
  padding: 2.5rem 0 3.5rem;
  background: #ffffff;
}

.brand-logos-inline-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.brand-logos-inline-strip img {
  max-height: 28px;
  width: auto;
  object-fit: contain;
  filter: grayscale(0%);
  opacity: 0.95;
  transition: var(--transition);
}

.brand-logos-inline-strip img:hover {
  opacity: 1;
  transform: scale(1.08);
}

/* ==========================================================================
   DEVICES SECTION
   ========================================================================== */
.devices-section {
  padding: 4rem 0;
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-title {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 3rem;
}

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

.device-card {
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: var(--transition);
}

.device-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-card);
  background: #ffffff;
}

.device-card svg {
  width: 40px;
  height: 40px;
  margin: 0 auto 0.75rem;
  fill: var(--accent-primary);
}

.device-card h4 {
  font-size: 0.95rem;
  margin-bottom: 0;
  color: var(--text-main);
}

/* ==========================================================================
   PRICING SECTION
   ========================================================================== */
.pricing-section {
  padding: 5rem 0 2rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}

.pricing-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem 1.1rem;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.pricing-card.featured {
  border: 2px solid var(--accent-primary);
  background: #ffffff;
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-gradient);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.4rem 1.4rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
  white-space: nowrap;
  width: auto;
  max-width: 90%;
  box-shadow: 0 4px 10px rgba(3, 122, 190, 0.25);
}

.pricing-header {
  text-align: center;
}

.pricing-header h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

.price {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 0.75rem 0 1.25rem;
  text-align: center;
}

.price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
}

.pricing-features {
  list-style: none;
  margin: 1.5rem 0 2rem;
  flex-grow: 1;
  text-align: center;
}

.pricing-features li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
  text-align: center;
}

.pricing-features li svg {
  width: 18px;
  height: 18px;
  fill: var(--accent-primary);
  flex-shrink: 0;
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq-section {
  padding: 5rem 0;
  background: #ffffff;
  border-top: 1px solid var(--border-color);
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

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

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  display: none;
  color: var(--text-muted);
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-icon {
  transition: var(--transition);
  color: var(--text-dim);
}

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

.testimonial-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

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

.testimonial-card .stars {
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text-main);
  font-style: italic;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.testimonial-author strong {
  display: block;
  font-size: 1rem;
  color: var(--text-main);
}

.testimonial-author span {
  display: block;
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-top: 0.2rem;
}

/* ==========================================================================
   FOOTER LEGAL DISCLAIMER (BOLD RED STYLING)
   ========================================================================== */
.footer-legal-notice {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px dashed var(--border-color);
  font-size: 0.85rem;
  color: #dc2626;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}

.footer-legal-notice .new-line-legal {
  display: block;
  margin-top: 0.3rem;
  color: #dc2626;
  font-weight: 700;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem;
  margin-top: auto;
}

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

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

.footer-col ul {
  list-style: none;
}

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

.footer-col ul a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-col ul a:hover {
  color: var(--accent-primary);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-dim);
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0 auto;
    width: 100%;
  }

  .hero-content h1,
  .hero-content p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  
  .hero-stats {
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .pricing-card {
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
  }

  .hero-section {
    padding: 2.5rem 0 2rem;
  }

  .hero-content h1 {
    font-size: 1.85rem;
    line-height: 1.25;
  }

  .hero-content p {
    font-size: 0.95rem;
  }

  /* Single-line 2 equal-width buttons on mobile */
  .hero-actions {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 0.5rem !important;
    width: 100% !important;
    margin-top: 1.5rem;
  }

  .hero-actions .btn {
    flex: 1 1 50% !important;
    width: 50% !important;
    padding: 0.75rem 0.4rem !important;
    font-size: 0.8rem !important;
    white-space: nowrap !important;
    text-align: center !important;
    justify-content: center !important;
  }

  .hero-stats {
    gap: 1.25rem;
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    width: 100%;
    justify-content: space-evenly;
  }

  .stat-item h4 {
    font-size: 1.3rem;
  }

  .stat-item p {
    font-size: 0.75rem;
  }

  .nav-menu-container {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
  }
  
  .nav-menu-container.active {
    display: block;
  }
  
  .nav-menu {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .brand-logos-inline-strip {
    gap: 1.25rem;
  }
  
  .brand-logos-inline-strip img {
    max-height: 22px;
  }
}
