/* iskool.ai - Design lumineux inspiré du poster officiel */

* { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

:root {
  --iskool-navy: #0f1a3d;
  --iskool-navy-deep: #0a1230;
  --iskool-navy-card: #1a2452;
  --iskool-purple: #8b5cf6;
  --iskool-purple-light: #a78bfa;
  --iskool-pink: #ec4899;
  --iskool-yellow: #fbbf24;
  --iskool-yellow-bright: #facc15;
  --iskool-cyan: #22d3ee;
  --iskool-cyan-bright: #06b6d4;
  --iskool-green: #10b981;
}

body {
  font-family: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--iskool-navy-deep);
  color: #ffffff;
  overflow-x: hidden;
}

body[dir="rtl"] {
  font-family: 'Cairo', 'Tajawal', 'Poppins', sans-serif;
  text-align: right;
}

body[dir="rtl"] .ml-auto { margin-left: 0; margin-right: auto; }
body[dir="rtl"] .mr-1, body[dir="rtl"] .mr-2 { margin-right: 0; margin-left: 0.25rem; }
body[dir="rtl"] .ml-1, body[dir="rtl"] .ml-2 { margin-left: 0; margin-right: 0.25rem; }

.font-poppins { font-family: 'Poppins', sans-serif; }

.bg-hero-gradient {
  background:
    radial-gradient(ellipse at top left, rgba(139, 92, 246, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse at top right, rgba(34, 211, 238, 0.25) 0%, transparent 55%),
    radial-gradient(ellipse at bottom, rgba(236, 72, 153, 0.2) 0%, transparent 50%),
    linear-gradient(180deg, #0f1a3d 0%, #1a2452 50%, #0f1a3d 100%);
}

.bg-iskool-navy { background: var(--iskool-navy); }
.bg-iskool-card {
  background: linear-gradient(145deg, #1e2a5f 0%, #1a2452 100%);
  border: 1px solid rgba(139, 92, 246, 0.25);
}

.bg-purple-glow { background: radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.18) 0%, transparent 70%); }

.text-gradient {
  background: linear-gradient(135deg, #fbbf24 0%, #ec4899 50%, #22d3ee 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

.text-gradient-yellow {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

.text-gradient-purple {
  background: linear-gradient(135deg, #c084fc 0%, #ec4899 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #22d3ee 0%, #3b82f6 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

.univers-card-creation {
  background: linear-gradient(145deg, rgba(139, 92, 246, 0.25) 0%, rgba(124, 58, 237, 0.15) 100%);
  border: 2px solid rgba(167, 139, 250, 0.4);
}
.univers-card-creation:hover { border-color: var(--iskool-purple-light); box-shadow: 0 0 40px rgba(139, 92, 246, 0.4); }

.univers-card-productivity {
  background: linear-gradient(145deg, rgba(34, 211, 238, 0.2) 0%, rgba(6, 182, 212, 0.12) 100%);
  border: 2px solid rgba(34, 211, 238, 0.4);
}
.univers-card-productivity:hover { border-color: var(--iskool-cyan); box-shadow: 0 0 40px rgba(34, 211, 238, 0.4); }

.univers-card-business {
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.2) 0%, rgba(5, 150, 105, 0.12) 100%);
  border: 2px solid rgba(16, 185, 129, 0.4);
}
.univers-card-business:hover { border-color: var(--iskool-green); box-shadow: 0 0 40px rgba(16, 185, 129, 0.4); }

.bg-cta-yellow {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #0f1a3d;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(251, 191, 36, 0.4);
  font-weight: 800;
}

.bg-cta-yellow:hover {
  background: linear-gradient(135deg, #facc15 0%, #f59e0b 100%);
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(251, 191, 36, 0.6);
}

.bg-cta-purple {
  background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
  color: white;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}

.glow-border {
  border: 2px solid rgba(139, 92, 246, 0.4);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.15);
}

.yellow-highlight {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #0f1a3d;
  font-weight: 800;
  padding: 6px 18px;
  border-radius: 999px;
  display: inline-block;
  box-shadow: 0 4px 20px rgba(251, 191, 36, 0.5);
}

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
.animate-float { animation: float 6s ease-in-out infinite; }

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(251, 191, 36, 0.4); }
  50% { box-shadow: 0 0 40px rgba(251, 191, 36, 0.8); }
}
.animate-pulse-glow { animation: pulse-glow 2s ease-in-out infinite; }

@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.animate-fade-in-up { animation: fadeInUp 0.8s ease-out forwards; }

.feature-card {
  transition: all 0.3s ease;
  background: linear-gradient(145deg, rgba(30, 42, 95, 0.7) 0%, rgba(26, 36, 82, 0.5) 100%);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(139, 92, 246, 0.25);
}
.feature-card:hover { transform: translateY(-5px); border-color: rgba(139, 92, 246, 0.6); box-shadow: 0 20px 40px rgba(139, 92, 246, 0.25); }

.session-card {
  background: rgba(30, 42, 95, 0.4);
  border: 1px solid rgba(139, 92, 246, 0.15);
  transition: all 0.2s ease;
  border-radius: 8px;
  padding: 10px 14px;
}
.session-card:hover { background: rgba(139, 92, 246, 0.15); border-color: rgba(167, 139, 250, 0.5); transform: translateX(3px); }
body[dir="rtl"] .session-card:hover { transform: translateX(-3px); }

.form-input {
  background: rgba(15, 26, 61, 0.7);
  border: 1px solid rgba(139, 92, 246, 0.4);
  color: white;
  transition: all 0.3s ease;
}
.form-input:focus { outline: none; border-color: var(--iskool-yellow); background: rgba(15, 26, 61, 0.95); box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.25); }
.form-input::placeholder { color: rgba(255, 255, 255, 0.4); }

.price-card-featured {
  position: relative;
  background: linear-gradient(145deg, rgba(251, 191, 36, 0.12) 0%, rgba(236, 72, 153, 0.08) 100%);
  border: 2px solid var(--iskool-yellow);
  box-shadow: 0 0 50px rgba(251, 191, 36, 0.25);
}
.price-card-featured::before {
  content: attr(data-badge);
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #0f1a3d;
  padding: 8px 22px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(251, 191, 36, 0.5);
}
body[dir="rtl"] .price-card-featured::before { left: auto; right: 50%; transform: translateX(50%); }

.testimonial-card {
  background: rgba(30, 42, 95, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(139, 92, 246, 0.2);
  transition: all 0.3s ease;
}
.testimonial-card:hover { border-color: rgba(251, 191, 36, 0.5); transform: translateY(-3px); }

.counter-glow { text-shadow: 0 0 30px rgba(251, 191, 36, 0.6); }
.section-divider { height: 1px; background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.5), transparent); }

.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 16px 24px;
  border-radius: 12px;
  color: white;
  font-weight: 600;
  z-index: 9999;
  transform: translateX(400px);
  transition: transform 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
body[dir="rtl"] .toast { right: auto; left: 20px; transform: translateX(-400px); }
.toast.show { transform: translateX(0); }
.toast-success { background: linear-gradient(135deg, #10b981, #059669); }
.toast-error { background: linear-gradient(135deg, #ef4444, #dc2626); }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--iskool-navy-deep); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #fbbf24, #ec4899); border-radius: 5px; }

@media (max-width: 768px) { .hero-title { font-size: 2.25rem !important; line-height: 1.15 !important; } }

.faq-content { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.active .faq-content { max-height: 500px; }
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-icon { transition: transform 0.3s ease; }

.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.97), rgba(245, 158, 11, 0.97));
  backdrop-filter: blur(10px);
  padding: 12px 20px;
  z-index: 50;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  color: #0f1a3d;
}
.sticky-cta.show { transform: translateY(0); }

.tab-btn { transition: all 0.3s ease; cursor: pointer; border: 2px solid transparent; }
.tab-btn.active-creation { background: linear-gradient(135deg, #8b5cf6, #ec4899); border-color: var(--iskool-purple-light); color: white; }
.tab-btn.active-productivity { background: linear-gradient(135deg, #22d3ee, #06b6d4); border-color: var(--iskool-cyan); color: #0f1a3d; }
.tab-btn.active-business { background: linear-gradient(135deg, #10b981, #059669); border-color: var(--iskool-green); color: white; }

.tab-content { display: none; }
.tab-content.active { display: block; animation: fadeInUp 0.4s ease-out forwards; }

.lang-btn {
  transition: all 0.2s ease;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
}
.lang-btn:hover { color: white; border-color: var(--iskool-yellow); }
.lang-btn.active { background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #0f1a3d; border-color: var(--iskool-yellow); font-weight: 800; }

.tool-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border: 1px solid rgba(139, 92, 246, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: white;
  text-align: center;
  padding: 4px;
  transition: all 0.3s ease;
}
.tool-icon:hover { border-color: var(--iskool-yellow); transform: translateY(-3px) scale(1.05); box-shadow: 0 10px 20px rgba(251, 191, 36, 0.3); }

@keyframes wow-pulse { 0%,100% { transform: scale(1) rotate(-2deg); } 50% { transform: scale(1.05) rotate(2deg); } }
.wow-badge { animation: wow-pulse 3s ease-in-out infinite; }
