/* ============================================
   Jeskoiptv.site - Main Stylesheet
   Dark Mode | Gold + Orange Accents | Responsive
   ============================================ */

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

:root {
  /* Khalfiyyat (Backgrounds) - K7al marta7 l'3in */
  --bg-primary: #050505; 
  --bg-surface: #0f1115; 
  --bg-surface-2: #16191f; 
  --bg-surface-3: #1f232b; 
  
  /* L'alwan Jdad (Zre9 True Navy w Zre9 mftou7 blast L'orange w Dhabi) */
  --gold: #3b82f6; /* Zre9 mftou7 blast dhabi - bach ythares l'k7al */
  --gold-light: #60a5fa;
  --orange: #0a1931; /* Zre9 True Navy ghame9 w aniy9 blast l'orange */
  --orange-light: #1e3a8a; /* True Navy mftou7 chwiya dyal hover */
  --blue: #2563eb; 
  
  /* L'ktaba (Text) - Byad saafi */
  --text-primary: #ffffff;
  --text-muted: #94a3b8; /* Rmidi zre9 marta7 l'3in blast rmidi l3adi */
  --text-dim: #64748b;
  
  /* L'7dod (Borders) */
  --border: #1e293b;
  --border-light: #334155;
  
  --cream: #f8fafc;
  --cream-text: #0f172a;
  
  --font: 'Poppins', Arial, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 40px rgba(10, 25, 49, 0.4); /* Khiyal fih chwiya dyal True Navy */
  --transition: 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { 
  scroll-behavior: smooth; 
  font-size: 16px; 
  scroll-padding-top: 90px; /* Had star kaykhali l'espace lfou9 bach l'header mayghatich l'titre */
}
body { font-family: var(--font); background: var(--bg-primary); color: var(--text-primary); line-height: 1.7; overflow-x: hidden; }
/* Loun dyal l'ktaba mli katsélectionniha */
::selection {
  background: var(--orange);
  color: #fff;
}
::-moz-selection { /* Bach tkhdem f navigateur Mozilla Firefox */
  background: var(--orange);
  color: #fff;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 60px 0; }
.text-gold { color: var(--gold); }
.text-orange { color: var(--orange); }
.text-blue { color: var(--blue); }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
h1,h2,h3,h4,h5,h6 { font-weight: 700; line-height: 1.3; }
.section-title { font-size: clamp(1.8rem,4vw,2.8rem); font-weight: 800; margin-bottom: 16px; text-align: center; }
.section-subtitle { color: var(--text-muted); font-size: 1.1rem; max-width: 600px; margin: 0 auto 48px; text-align: center; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 28px; border-radius: var(--radius-full); font-family: var(--font); font-size: 1rem; font-weight: 600; cursor: pointer; border: 2px solid transparent; transition: var(--transition); white-space: nowrap; text-decoration: none; }
.btn-primary { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-primary:hover { 
  background: var(--blue-light); 
  border-color: var(--blue-light); 
  transform: translateY(-2px); 
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4); /* hna kan l'orange */
}
.btn-secondary { background: transparent; color: var(--text-primary); border-color: var(--border-light); }
.btn-secondary:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.btn-lg { padding: 16px 40px; font-size: 1.1rem; }
.btn-sm { padding: 8px 20px; font-size: 0.9rem; }

.top-banner { background: #000; padding: 8px 0; overflow: hidden; border-bottom: 1px solid var(--border); }
.top-banner-inner { display: flex; align-items: center; font-size: 0.85rem; color: #fff; white-space: nowrap; animation: marquee 30s linear infinite; }
.top-banner-inner span { display: inline-flex; align-items: center; gap: 8px; padding-right: 24px; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.top-banner-inner:hover {
  animation-play-state: paused;
}
.header { 
  background: rgba(20, 20, 20, 0.85); /* Khalina l'couleur chwiya chiffaf */
  backdrop-filter: blur(12px); /* L'effet dyal l'flou (blur) */
  -webkit-backdrop-filter: blur(12px); /* Bach tkhdem f les navigateurs Safari */
  border-bottom: 1px solid var(--border); 
  position: sticky; 
  top: 0; 
  z-index: 1000; 
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 24px; }
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 50px; width: auto; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a { font-size: 0.95rem; font-weight: 500; color: var(--text-muted); transition: var(--transition); position: relative; padding-bottom: 2px; }
.nav a::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background: var(--blue); transition: var(--transition); }
.nav a:hover, .nav a.active { color: var(--text-primary); }
.nav a:hover::after, .nav a.active::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
/* Kankhfiw l'boutonat dyal tilifon f l'PC */
.nav-mobile-buttons {
  display: none;
}
.menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: var(--transition); }

.hero { position: relative; min-height: 600px; display: flex; align-items: center; overflow: hidden; }
@keyframes slow-zoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

.hero-bg { 
  position: absolute; 
  inset: 0; 
  background-size: cover; 
  background-position: center; 
  z-index: 0; 
  animation: slow-zoom 25s linear infinite alternate; /* L'animation jdida */
}
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(74,114,188,0.6) 0%, rgba(0,0,0,0.85) 100%); }
.hero-content { position: relative; z-index: 1; text-align: center; padding: 80px 0; }
.hero-badge { 
  display: inline-block; 
  background: rgba(59, 130, 246, 0.15); 
  border: 1px solid var(--blue); 
  color: #fff; /* <--- Hna rdinaha blbyad */
  padding: 6px 20px; 
  border-radius: var(--radius-full); 
  font-size: 0.85rem; 
  font-weight: 600; 
  margin-bottom: 20px; 
  letter-spacing: 1px; 
  text-transform: uppercase; 
}
.hero h1 { font-size: clamp(2.2rem,5vw,3.5rem); font-weight: 900; margin-bottom: 20px; line-height: 1.15; }
.hero h1 .gold { color: var(--blue); }
.hero p { font-size: 1.15rem; color: rgba(255,255,255,0.85); max-width: 580px; margin: 0 auto 32px; line-height: 1.8; }
.hero h1, .hero p {
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}
.hero-buttons { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }

.countdown { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 32px 0; }
.countdown-item { background: rgba(74,114,188,0.2); border: 1px solid rgba(74,114,188,0.4); border-radius: var(--radius); padding: 12px 18px; text-align: center; min-width: 70px; }
.countdown-item .num { font-size: 1.8rem; font-weight: 800; color: var(--text-primary); display: block; line-height: 1; }
.countdown-item .label { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }

.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.feature-card { background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px 28px; transition: var(--transition); text-align: center; }
.feature-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon { 
  width: 64px; 
  height: 64px; 
  background: rgba(59, 130, 246, 0.1); /* tbdel */
  border-radius: var(--radius); 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  margin: 0 auto 20px; 
  font-size: 2rem; 
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
}

.feature-card:hover .feature-icon {
  transform: scale(1.15) rotate(5deg);
  background: rgba(59, 130, 246, 0.2); /* tbdel */
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.15); /* tbdel */
}
.feature-card h3 { font-size: 1.15rem; margin-bottom: 10px; color: var(--gold); }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; }

.premium-banner { background: var(--orange); padding: 48px 0; }
.premium-banner .features-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.premium-banner .feature-card { background: transparent; border: 1px solid rgba(255,255,255,0.2); color: #fff; }
.premium-banner .feature-card:hover { border-color: #fff; transform: translateY(-4px); box-shadow: none; }
.premium-banner .feature-card h3 { color: #fff; }
.premium-banner .feature-card p { color: rgba(255,255,255,0.85); }
.premium-banner .feature-icon { background: rgba(255,255,255,0.15); }

.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; align-items: start; }
.pricing-card { background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px 28px; text-align: center; transition: var(--transition); position: relative; }
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pricing-card.featured { background: var(--orange); border-color: var(--orange); transform: scale(1.04); box-shadow: var(--shadow-lg); }
.pricing-card.featured:hover { transform: scale(1.04) translateY(-4px); }
.pricing-badge { position: absolute; top: 4px; left: 50%; transform: translateX(-50%); background: var(--gold); color: #000; padding: 4px 20px; border-radius: var(--radius-full); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; white-space: nowrap; }
@keyframes pulse-badge {
  0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(59, 130, 246, 0); }
  100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}

.pricing-badge {
  animation: pulse-badge 2s infinite;
}
.pricing-header h3 { font-size: 1.2rem; margin-bottom: 8px; }
.pricing-card.featured .pricing-header h3,
.pricing-card.featured .pricing-header .price,
.pricing-card.featured .pricing-features li,
.pricing-card.featured .old-price { color: #fff; }
.price { font-size: 3rem; font-weight: 900; color: var(--text-primary); line-height: 1; margin: 8px 0; }
.price span { font-size: 1rem; font-weight: 400; color: var(--text-muted); }
.old-price { color: var(--text-dim); font-size: 1rem; text-decoration: line-through; margin-bottom: 8px; }
.pricing-features { margin: 24px 0; text-align: left; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; }
.pricing-card:not(.featured) .pricing-features { border-top-color: var(--border); }
.pricing-features li { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 0.95rem; color: var(--text-muted); }
.pricing-card.featured .pricing-features li { color: rgba(255,255,255,0.9); }
.pricing-features li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.pricing-card.featured .pricing-features li::before { background: #fff; }

.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; }
.step-card { 
  text-align: center; 
  padding: 32px 24px; 
  position: relative; 
  transition: all 0.4s ease; /* Zadna transition */
}

/* Effet mli kat7et la souris 3la l'etape */
.step-card:hover {
  background: rgba(255, 255, 255, 0.02); /* Khalfia k7la mftou7a chwiya */
  border-radius: var(--radius-lg);
  transform: translateY(-5px);
}

.step-number { 
  width: 56px; 
  height: 56px; 
  background: var(--orange); 
  border-radius: 50%; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  font-size: 1.4rem; 
  font-weight: 800; 
  color: #fff; 
  margin: 0 auto 20px; 
  transition: all 0.4s ease; /* Zadna transition */
}

/* L'r9am kaykber w kay3ti ddo (glow) */
.step-card:hover .step-number {
  background: var(--gold);
  transform: scale(1.15);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.5); /* tbdel */
}
.step-card h3 { font-size: 1.1rem; margin-bottom: 10px; color: var(--gold); }
.step-card p { color: var(--text-muted); font-size: 0.95rem; }

.server-grid { 
  display: grid; 
  grid-template-columns: repeat(3, 1fr); /* Hna gbelna lih ydir ghir 3 f star */
  gap: 16px; 
  margin-top: 32px; 
}
.server-badge { background: var(--bg-surface-2); border: 1px solid var(--border-light); border-radius: var(--radius); padding: 16px 20px; text-align: center; display: flex; align-items: center; gap: 12px; }
.server-badge .check { color: #22c55e; font-size: 1.2rem; flex-shrink: 0; }
.server-badge span { font-size: 0.9rem; font-weight: 500; text-align: left; line-height: 1.4; }

.devices-row { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; padding: 40px 0; }
.device-item { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
/* Device Icons Pulse on Hover */
.device-item {
  transition: transform 0.3s ease;
}

.device-item:hover {
  transform: translateY(-5px);
}

.device-icon {
  width: 80px; 
  height: 80px; 
  background: var(--bg-surface-2);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  /* Hna rja3na l'animation rtaba w katn9ez */
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.device-icon img {
  width: 65px; 
  height: 65px; 
  object-fit: contain;
}

.device-item:hover .device-icon {
  border-color: var(--gold);
  background: rgba(59, 130, 246, 0.1); 
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.35); 
}

.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-form { background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.9rem; font-weight: 500; color: var(--text-muted); margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px 16px; background: var(--bg-primary); border: 1px solid var(--border-light); border-radius: var(--radius); color: var(--text-primary); font-family: var(--font); font-size: 0.95rem; transition: var(--transition); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { 
  outline: none; 
  border-color: var(--gold); 
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15); /* tbdel */
  background: var(--bg-surface-2); 
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-info h3 { font-size: 1.4rem; margin-bottom: 16px; color: var(--gold); }
.contact-info p { color: var(--text-muted); margin-bottom: 12px; font-size: 0.95rem; }

.device-tabs { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.device-tab { background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-full); padding: 10px 24px; font-family: var(--font); font-size: 0.9rem; font-weight: 600; color: var(--text-muted); cursor: pointer; transition: var(--transition); display: flex; align-items: center; gap: 8px; }
.device-tab:hover, .device-tab.active { background: var(--orange); border-color: var(--orange); color: #fff; }
.install-steps { max-width: 700px; margin: 0 auto; }
.install-step { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--border); align-items: flex-start; }
.install-step:last-child { border-bottom: none; }
.step-num { width: 36px; height: 36px; min-width: 36px; background: var(--orange); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.9rem; color: #fff; }
.step-text { flex: 1; }
.step-text h4 { font-size: 1rem; margin-bottom: 4px; }
.step-text p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; }

.reseller-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }

.page-banner { background: var(--cream); padding: 40px 0; text-align: center; margin-bottom: 0; }
.page-banner h1 { font-size: clamp(1.8rem,4vw,2.8rem); color: var(--blue); font-weight: 800; margin-bottom: 8px; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 0.9rem; }
.breadcrumb a { color: var(--text-dim); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb span { color: var(--cream-text); font-weight: 600; }

.legal-content { max-width: 800px; margin: 0 auto; padding: 60px 24px; }
.legal-content h2 { font-size: 1.4rem; margin: 32px 0 12px; color: var(--gold); }
.legal-content h3 { font-size: 1.1rem; margin: 24px 0 8px; color: var(--text-primary); }
.legal-content p { color: var(--text-muted); margin-bottom: 12px; font-size: 0.95rem; line-height: 1.8; }
.legal-content ul { margin: 12px 0 16px 24px; }
.legal-content ul li { color: var(--text-muted); margin-bottom: 6px; font-size: 0.95rem; line-height: 1.7; list-style: disc; }
.legal-content a { color: var(--blue); text-decoration: underline; }
.legal-content a:hover { color: var(--gold); }
.highlight-box { 
  background: rgba(59, 130, 246, 0.08); /* tbdel */
  border: 1px solid rgba(59, 130, 246, 0.3); /* tbdel */
  border-radius: var(--radius); 
  padding: 20px; 
  margin: 24px 0; 
}

/* --- FAQ Styles --- */
.faq-item {
  background: var(--bg-surface-2);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  margin-bottom: 16px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--gold);
}

.faq-question {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  color: var(--text-color);
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--blue);
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  background: var(--bg-color);
}

.faq-answer p {
  margin: 0;
  padding: 0 24px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Had l'class hiya li ghadi tkhdem b Javascript mli nclikiw */
.faq-item.active .faq-answer {
  max-height: 200px; /* khassha tkon kbira chwiya bach t9ed l'ktaba */
  padding: 0 24px 20px 24px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg); /* katred l'plus (+) b7al croix (x) */
  color: var(--gold);
}

.footer { background: #000; border-top: 1px solid var(--border); padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { color: var(--text-dim); font-size: 0.9rem; margin-top: 12px; line-height: 1.7; }
.footer h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 16px; color: var(--text-primary); }
.footer ul li { margin-bottom: 8px; }
.footer ul li a { 
  color: var(--text-dim); 
  font-size: 0.9rem; 
  display: inline-block; /* Zadna had star bach tkhdem fih transform */
  transition: all 0.3s ease; 
}
.footer ul li a:hover { 
  color: var(--gold); 
  transform: translateX(5px); /* Kayka7az l'lien chwiya l'limn */
}
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { color: var(--text-dim); font-size: 0.85rem; }

/* --- Language Switcher N9i --- */
.lang-switcher select {
  background: var(--bg-surface-2);
  color: var(--text-color);
  border: 1px solid var(--border-light);
  padding: 6px 10px;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
}

.lang-switcher select:hover {
  border-color: var(--blue);
}

/* Nkhfiw l'bar lfo9aniya dyal Google ila bghat tban */
body { top: 0 !important; }
.skiptranslate iframe { display: none !important; }


@media (max-width: 768px) {
  .nav { 
    display: none; 
    position: absolute; 
    top: 100%; 
    left: 0; 
    right: 0; 
    background: rgba(20, 20, 20, 0.95); 
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--border); 
    border-bottom: 1px solid var(--border);
    flex-direction: column; 
    padding: 20px; 
    gap: 16px; 
    z-index: 999; 
    box-shadow: var(--shadow-lg);
  }
  .nav.open { display: flex; }
  .menu-toggle { display: flex; }
  .contact-wrapper { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pricing-card.featured { transform: scale(1); }
  .pricing-card.featured:hover { transform: translateY(-4px); }
  .form-row { grid-template-columns: 1fr; }
  .hero-buttons { 
    flex-direction: column; 
    align-items: center; /* kayjibhom f l'wasaṭ */
    gap: 16px; /* l'espace binat les 2 boutons */
    margin-bottom: 40px; /* Hada howa li ghadi yb3edhom 3la section-sm li ta7t */
  }
  .hero-buttons .btn {
    width: 250px; /* Haka ghadi yjiw sghiwrin w 9ed 9ed bjouj bihom */
  }
  .btn-lg {
    padding: 12px 28px; /* n9asna mn l'3ard w toul dyalha */
    font-size: 1rem; /* sagharna l'ktaba chwiya */
  }
  .countdown { gap: 8px; }
  .countdown-item { min-width: 56px; padding: 8px 12px; }
  .countdown-item .num { font-size: 1.4rem; }
  .devices-row { gap: 24px; }
  .hero-badge {
    margin-top: 50px; 
  }
  .server-grid { 
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); 
  }
  /* Kankhfiw les boutons li lfo9 7da l'menu f tilifon */
  .free-trial-btn,
  .desktop-buy-btn {
    display: none;
  }
  
  /* Kanbiynou les boutons li zedna lda5el dyal l'menu */
  .nav-mobile-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light); /* Kanzido wa7d l'khat sghir yfre9hom 3la Contact Us */
  }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
}
/* ============================================
   PROFESSIONAL ANIMATIONS & EFFECTS
   ============================================ */

/* Base Fade In Up Animation */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Active state triggered by JS */
.fade-in-up.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered Grid Items (for pricing/features) */
.stagger {
  opacity: 1;
  transform: translateY(0) !important;
}

/* Pricing Card Hover Effects (Premium Feel) */
.pricing-card {
  overflow: hidden;
  position: relative;
}

/* Shimmer effect on hover */
.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: 0.5s;
}

.pricing-card:hover::before {
  left: 100%;
}


/* Server Badge Pulse */
.server-badge {
  transition: all 0.3s ease;
}

.server-badge:hover {
  transform: scale(1.05);
  border-color: var(--gold);
  background: rgba(59, 130, 246, 0.05); /* tbdel */
}

/* Button & Device Tab Ripple Effect */
.btn, .device-tab {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::after, .device-tab::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150%;
  height: 150%;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  transition: transform 0.5s ease-out, opacity 0.5s ease-out;
  z-index: -1;
}

.btn:hover::after, .device-tab:hover::after {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

/* --- Devices Slider Styles --- */
.devices-slider {
  width: 100%;
  overflow: hidden; /* Bach maykhrjouch tsawer 3la l'ecran */
}

.device-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: grab; /* Katrd l'curseur b7al lyid bach yjereb */
}

.device-item:active {
  cursor: grabbing;
}

.device-item img {
  height: 45px; /* Kberhom wla sgherhom 3la 7sab chno bghiti */
  width: auto;
  object-fit: contain;
  margin-bottom: 12px;
  filter: brightness(0) invert(1); /* Katred tsawer bydin ila kano k7lin, 7iyedha ila kano aslan bydin */
}

.device-item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 4px 0;
}

.device-item p {
  font-size: 0.75rem;
  color: #888888;
  margin: 0;
}

/* --- Floating WhatsApp --- */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  border-radius: 50%;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1); /* Katkber chwiya mli kadoz 3liha la souris */
}

.whatsapp-icon {
  width: 35px;
  height: 35px;
  filter: brightness(0) invert(1); /* Katred l'icona bayda */
}

/* F tilifon nsaghrouha chwiya w n9arboha l'9ent */
@media (max-width: 768px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }
  .whatsapp-icon {
    width: 30px;
    height: 30px;
  }
}
