/* ==========================================================================
   ISRAEL 4K IPTV - YesZorem Inspired Premium Theme
   Exact Color Palette: Light Slate (#f8fafc), Pure White, & Vivid Blue (#037abe)
   Fast Core Web Vitals, Native RTL Hebrew, Responsive & Accessible
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Assistant:wght@400;500;600;700;800&family=Rubik:wght@500;600;700;800;900&display=swap');

:root {
  /* Exact YesZorem Colors */
  --bg-main: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-hover: #f8fafc;
  --bg-header: rgba(255, 255, 255, 0.95);
  
  --border-color: #e2e8f0;
  --border-glass: #e2e8f0;
  --border-focus: #037abe;
  
  --primary: #037abe;
  --primary-hover: #02629b;
  --primary-dark: #025a8f;
  --primary-glow: rgba(3, 122, 190, 0.25);
  --secondary: #0284c7;
  
  --accent-gold: #f59e0b;
  --accent-green: #10b981;
  --accent-red: #ef4444;

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #64748b;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 6px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-card: 0 10px 25px -5px rgba(15, 23, 42, 0.06), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-hover: 0 16px 32px -4px rgba(3, 122, 190, 0.15);
  --shadow-glow: 0 0 20px rgba(3, 122, 190, 0.2);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: 'Assistant', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  direction: rtl;
  text-align: right;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(circle at 10% 15%, rgba(3, 122, 190, 0.04) 0%, transparent 45%),
    radial-gradient(circle at 90% 65%, rgba(2, 132, 199, 0.03) 0%, transparent 50%);
}

h1, h2, h3, h4, .brand-font {
  font-family: 'Rubik', sans-serif;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

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

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header & Navigation (YesZorem Style: Clean White Backdrop) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-header);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  padding: 1rem 0;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

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

.logo-badge {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.05em;
}

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

.nav-links a {
  font-weight: 600;
  color: var(--text-muted);
  font-size: 1rem;
  position: relative;
  padding: 0.3rem 0;
}

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

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  right: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: var(--radius-full);
}

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

/* Buttons (Modern Squared with 6px Corners - NOT round) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px var(--primary-glow);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(3, 122, 190, 0.35);
}

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

.btn-secondary:hover {
  background: var(--bg-secondary);
  border-color: var(--primary);
  color: var(--primary);
}

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

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

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.6rem;
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  padding: 4.5rem 0 3.5rem;
  position: relative;
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid var(--border-color);
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(3, 122, 190, 0.08);
  border: 1px solid rgba(3, 122, 190, 0.2);
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.hero-pill .dot {
  width: 8px;
  height: 8px;
  background: var(--accent-green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1.3rem;
  color: var(--text-main);
}

.hero-title .gradient-text {
  color: var(--primary);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.18rem;
  color: var(--text-muted);
  max-width: 740px;
  margin: 0 auto 2.3rem;
  line-height: 1.65;
}

.hero-cta-group {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

/* Stats Ribbon (Clean White Cards) */
.stats-ribbon {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  padding: 2rem;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  margin-top: 2rem;
}

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

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  font-family: 'Rubik', sans-serif;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
  font-weight: 600;
}

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

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.6rem;
  display: block;
}

.section-title {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.6;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  transition: var(--transition);
  position: relative;
  box-shadow: var(--shadow-card);
}

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

.feature-icon {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
  transition: transform 0.3s ease, filter 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.feature-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: translateY(-4px) scale(1.06);
  filter: drop-shadow(0 8px 18px rgba(3, 122, 190, 0.2));
}

.feature-card:hover .feature-icon svg {
  transform: scale(1.02);
}

.device-icon {
  width: 64px;
  height: 64px;
  background: rgba(3, 122, 190, 0.06);
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  transition: var(--transition);
}

.device-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: var(--transition);
}

.device-card:hover .device-icon {
  background: var(--primary);
  box-shadow: 0 6px 16px var(--primary-glow);
}

.device-card:hover .device-icon svg {
  stroke: #ffffff;
}

/* Vector Checkmarks & Stars */
.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.12);
  flex-shrink: 0;
}

.check-icon svg {
  width: 12px;
  height: 12px;
  stroke: var(--accent-green);
  stroke-width: 3;
  fill: none;
}

.star-rating {
  display: flex;
  gap: 3px;
  color: #f59e0b;
}

.star-rating svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.feature-title {
  font-size: 1.35rem;
  margin-bottom: 0.8rem;
  color: var(--text-main);
}

.feature-desc {
  color: var(--text-muted);
  line-height: 1.65;
  font-size: 1rem;
}

/* Pricing Grid (YesZorem Style: White Cards + Vivid Blue Primary Card - 4 Columns on Desktop) */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}
@media (min-width: 1100px) {
  .pricing-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
}

.pricing-card.featured {
  background: #ffffff;
  border: 2px solid var(--primary);
  box-shadow: 0 12px 28px -5px rgba(3, 122, 190, 0.22);
  transform: scale(1.03);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.35rem 1.2rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 10px rgba(3, 122, 190, 0.25);
  text-transform: uppercase;
}

.pricing-header {
  text-align: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1.8rem;
  margin-bottom: 1.8rem;
}

.plan-name {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  color: var(--text-main);
}

.plan-price {
  font-size: 3rem;
  font-weight: 900;
  color: var(--text-main);
  font-family: 'Rubik', sans-serif;
}

.plan-price span {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-dim);
}

.plan-features {
  list-style: none;
  margin-bottom: 2rem;
  flex-grow: 1;
}

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

.plan-features li .check {
  color: var(--accent-green);
  font-weight: bold;
}

/* Channels Showcase */
.channel-categories {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.cat-btn {
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 0.65rem 1.3rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.cat-btn.active, .cat-btn:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px var(--primary-glow);
}

.channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 1.2rem;
}

.channel-pill {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.2rem 1rem;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.channel-pill:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.ch-logo-wrap {
  width: 100%;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.6rem;
  background: #0f172a !important;
  border-radius: 6px;
  padding: 6px 12px;
  border: 1px solid #1e293b;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
}

.ch-logo-img {
  max-height: 44px;
  max-width: 85%;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
}

.channel-pill .ch-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-main);
  margin-top: 0.4rem;
}

.channel-pill .ch-tag {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 700;
  direction: ltr !important;
  unicode-bidi: isolate !important;
  display: inline-block;
}

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

.device-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}

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

.device-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

/* FAQ Accordion (Clean White Cards) */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 1.4rem 1.6rem;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.15rem;
  font-weight: 700;
  text-align: right;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: inherit;
}

.faq-icon {
  font-size: 1.3rem;
  transition: transform 0.3s ease;
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.6rem;
  color: var(--text-muted);
  line-height: 1.65;
  font-size: 1.02rem;
}

.faq-item.open .faq-answer {
  max-height: 350px;
  padding-bottom: 1.5rem;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

/* Floating WhatsApp Button defined below */

/* Footer (YesZorem Style: Clean White Footer + Slate Border) */
.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  padding: 4.5rem 0 2rem;
  margin-top: auto;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.02);
}

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

.footer-col h4 {
  font-size: 1.15rem;
  margin-bottom: 1.3rem;
  color: var(--text-main);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

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

.footer-col a:hover {
  color: var(--primary);
  padding-right: 4px;
}

/* Social Media Icons Strip */
.footer-social-strip {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.2rem;
  flex-wrap: wrap;
}

.social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  transition: var(--transition);
}

.social-icon-btn svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
  transition: var(--transition);
}

.social-icon-btn:hover {
  transform: translateY(-3px);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px var(--primary-glow);
}

.social-icon-btn.whatsapp:hover {
  background: #25d366;
  border-color: #25d366;
  color: #ffffff;
}

.social-icon-btn.telegram:hover {
  background: #229ed9;
  border-color: #229ed9;
  color: #ffffff;
}

.social-icon-btn.youtube:hover {
  background: #ff0000;
  border-color: #ff0000;
  color: #ffffff;
}

.social-icon-btn.facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
  color: #ffffff;
}

.social-icon-btn.instagram:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  border-color: transparent;
  color: #ffffff;
}

.social-icon-btn.tiktok:hover {
  background: #000000;
  border-color: #000000;
  color: #ffffff;
}

.social-icon-btn.x-twitter:hover {
  background: #000000;
  border-color: #000000;
  color: #ffffff;
}

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

/* Responsive */
@media (max-width: 992px) {
  .nav-links, .header-actions {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 2.1rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .pricing-card.featured {
    transform: none;
  }
}

/* ==========================================================================
   High-Converting Upgrades: Promo Ribbon, Comparison Table, Tech Diagnostics,
   and Floating WhatsApp Pulse Widget
   ========================================================================== */

/* 1. Top Announcement Sticky Banner */
.top-promo-bar {
  background: linear-gradient(90deg, #037abe, #025a8d);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.55rem 1rem;
  text-align: center;
  position: relative;
  z-index: 101;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.top-promo-bar a {
  color: #fef08a;
  text-decoration: underline;
  margin-right: 0.5rem;
  font-weight: 700;
}

.top-promo-bar .promo-pill {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.15rem 0.55rem;
  border-radius: 4px;
  margin-left: 0.5rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* 2. Floating WhatsApp Widget (Clean Squared Format - Identical on All Pages) */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: #ffffff;
  border-radius: 8px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.38);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
  cursor: pointer;
}

.floating-whatsapp:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.55);
  color: #ffffff;
}

.floating-whatsapp svg {
  width: 30px;
  height: 30px;
  fill: #ffffff;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .floating-whatsapp {
    width: 50px;
    height: 50px;
    border-radius: 8px !important;
    bottom: 20px;
    right: 20px;
  }
  .floating-whatsapp svg {
    width: 26px;
    height: 26px;
  }
}

/* 3. Comparison Table (IPTV vs. Traditional Cable YES/HOT) */
.comparison-table-wrapper {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  box-shadow: var(--shadow-card);
  margin-top: 2rem;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: right;
  min-width: 620px;
}

.comparison-table th,
.comparison-table td {
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.98rem;
}

.comparison-table th {
  background: var(--bg-main);
  font-weight: 800;
  color: var(--text-main);
  font-size: 1.05rem;
}

.comparison-table th.highlight-col,
.comparison-table td.highlight-col {
  background: rgba(3, 122, 190, 0.04);
  color: var(--primary);
  font-weight: 700;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table td.bad-val {
  color: #dc2626;
}

.comparison-table td.good-val {
  color: #16a34a;
  font-weight: 700;
}

/* 4. Technical Server Diagnostic Box */
.diag-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
}

.diag-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease;
}

.diag-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
}

.diag-card .diag-val {
  font-family: 'Rubik', sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1.2;
}

.diag-card .diag-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 0.4rem;
}

.diag-card .diag-sub {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-top: 0.2rem;
}

.flag-icon-badge {
  width: 38px;
  height: 25px;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(0, 0, 0, 0.12);
  object-fit: cover;
  display: inline-block;
  vertical-align: middle;
}
