/* ============================================
   SAN3A — صنعة | Main Stylesheet
   Dark + Light themes • RTL primary • Mobile-First
   Brand: Neon Green #ADFA1F on Black #0A0E17
   ============================================ */

/* ---------- 1. Theme Variables ---------- */
:root,
[data-theme="dark"] {
  --bg: #0A0E17;
  --bg-2: #0E1422;
  --bg-3: #141C2F;
  --surface: #161E32;
  --surface-2: #1B2440;
  --border: rgba(173, 250, 31, 0.12);
  --border-soft: rgba(255, 255, 255, 0.08);
  --text: #F4F8FF;
  --text-2: #C7D0E4;
  --text-3: #8893AE;
  --accent: #ADFA1F;
  --accent-2: #7FFF00;
  --accent-glow: rgba(173, 250, 31, 0.35);
  --danger: #FF4D4D;
  --warning: #FFB020;
  --gradient-1: linear-gradient(135deg, #ADFA1F 0%, #7FFF00 100%);
  --gradient-2: linear-gradient(135deg, #161E32 0%, #0A0E17 100%);
  --gradient-3: radial-gradient(circle at 30% 20%, rgba(173, 250, 31, 0.15) 0%, transparent 60%);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px rgba(173, 250, 31, 0.25);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --container-w: 1240px;
  --nav-h: 112px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="light"] {
  --bg: #F7F9FC;
  --bg-2: #FFFFFF;
  --bg-3: #ECF0F8;
  --surface: #FFFFFF;
  --surface-2: #F2F5FB;
  --border: rgba(10, 14, 23, 0.22);
  --border-soft: rgba(10, 14, 23, 0.14);
  --text: #0A0E17;
  --text-2: #2C3550;
  --text-3: #5A6582;
  --accent: #4FA600;
  --accent-2: #3F8C00;
  --accent-glow: rgba(79, 166, 0, 0.28);
  --gradient-2: linear-gradient(135deg, #FFFFFF 0%, #EFF3FA 100%);
  --gradient-3: radial-gradient(circle at 30% 20%, rgba(79, 166, 0, 0.12) 0%, transparent 60%);
  --shadow-sm: 0 2px 10px rgba(10, 14, 23, 0.08);
  --shadow-md: 0 12px 32px rgba(10, 14, 23, 0.12);
  --shadow-lg: 0 28px 64px rgba(10, 14, 23, 0.16);
  --shadow-glow: 0 0 40px rgba(79, 166, 0, 0.25);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Cairo', 'Tajawal', 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}

html[lang="en"] body { font-family: 'Inter', 'Cairo', system-ui, sans-serif; }

img, svg, video { max-width: 100%; display: block; height: auto; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
a { color: inherit; text-decoration: none; transition: color 0.25s var(--ease); }
ul { list-style: none; }
h1, h2, h3, h4, h5 { line-height: 1.25; font-weight: 800; letter-spacing: -0.01em; }
p { color: var(--text-2); }
strong { color: var(--text); font-weight: 700; }
[dir="ltr"] { font-family: 'Inter', sans-serif; }

::selection { background: var(--accent); color: #0A0E17; }

/* ---------- 3. Utility Layout ---------- */
.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.text-accent { color: var(--accent); }
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
  position: relative;
  border: 2px solid transparent;
}
.btn i { width: 18px; height: 18px; }
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-block { display: flex; width: 100%; justify-content: center; }

.btn-primary {
  background: var(--gradient-1);
  color: #0A0E17;
  box-shadow: 0 8px 24px rgba(173, 250, 31, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 32px rgba(173, 250, 31, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(173, 250, 31, 0.06);
}

/* ---------- 5. Icon Button ---------- */
.icon-btn {
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  transition: all 0.25s var(--ease);
  color: var(--text);
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }
.icon-btn i { width: 18px; height: 18px; }

.theme-icon-light { display: none; }
[data-theme="light"] .theme-icon-dark { display: none; }
[data-theme="light"] .theme-icon-light { display: inline-block; }

.lang-btn {
  height: 40px;
  min-width: 50px;
  padding: 0 12px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  color: var(--text);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.05em;
  transition: all 0.25s var(--ease);
}
.lang-btn:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- 6. Badges ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(173, 250, 31, 0.1);
  color: var(--accent);
  border: 1px solid var(--accent-glow);
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(10px);
}
.badge i { width: 14px; height: 14px; }
.badge-red {
  background: rgba(255, 77, 77, 0.1);
  color: var(--danger);
  border-color: rgba(255, 77, 77, 0.3);
}
.badge-accent { background: var(--accent); color: #0A0E17; border-color: var(--accent); }

.section-tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(173, 250, 31, 0.08);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
  border: 1px solid var(--border);
}
.section-tag.tag-red {
  background: rgba(255, 77, 77, 0.08);
  color: var(--danger);
  border-color: rgba(255, 77, 77, 0.25);
}

/* ---------- 7. Loader ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: grid;
  place-items: center;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
  overflow: hidden;
}
.loader::before, .loader::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: loaderBlob 3s ease-in-out infinite;
}
.loader::before { width: 280px; height: 280px; background: var(--accent); top: 20%; left: 15%; }
.loader::after { width: 320px; height: 320px; background: var(--accent-2, #00E5C0); bottom: 15%; right: 15%; animation-delay: 1.2s; }
.loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { text-align: center; max-width: 360px; padding: 24px; position: relative; z-index: 2; animation: loaderPop 0.55s cubic-bezier(0.22, 1.4, 0.36, 1) both; }
.loader-logo {
  height: 96px;
  width: auto;
  margin: 0 auto 28px;
  animation: loaderLogo 1.4s ease-in-out infinite;
  filter: drop-shadow(0 14px 28px var(--accent-glow));
}
@keyframes loaderPop {
  0% { opacity: 0; transform: translateY(28px) scale(0.85); }
  60% { opacity: 1; transform: translateY(-6px) scale(1.04); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes loaderLogo {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}
@keyframes loaderBlob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.15); }
}
.loader-bar {
  height: 8px;
  width: 280px;
  max-width: 100%;
  border-radius: 999px;
  background: var(--surface);
  overflow: hidden;
  border: 1px solid var(--border);
  margin: 0 auto;
}
.loader-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--gradient-1);
  box-shadow: 0 0 16px var(--accent);
  transition: width 0.18s linear;
  border-radius: 999px;
}
.loader-text {
  margin-top: 14px;
  font-family: 'Orbitron', monospace;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.08em;
}
.loader-hint { margin-top: 8px; color: var(--text-3); font-size: 13px; }

@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.7; transform: scale(0.96); } }

/* ---------- 8. Custom Cursor ---------- */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9000;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  transition: transform 0.12s ease, opacity 0.2s ease;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1.5px solid var(--accent);
  transition: transform 0.18s ease, opacity 0.2s ease, width 0.2s ease, height 0.2s ease;
}
.cursor-dot.is-hover { transform: translate(-50%, -50%) scale(1.6); }
.cursor-ring.is-hover { width: 52px; height: 52px; background: rgba(173, 250, 31, 0.12); }
@media (max-width: 1024px), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
  body { cursor: auto; }
}
@media (min-width: 1025px) and (pointer: fine) {
  body { cursor: none; }
  a, button, .btn, .icon-btn, summary, .dot, .course-card, .price-card, .loc-card { cursor: none; }
}

/* ---------- 9. Navbar ---------- */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 800;
  background: rgba(10, 14, 23, 0.6);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-soft);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
[data-theme="light"] .navbar { background: rgba(255, 255, 255, 0.75); }
.navbar.scrolled { box-shadow: var(--shadow-md); }

.nav-inner {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}
.nav-logo { display: inline-flex; align-items: center; justify-self: start; }
html[dir="rtl"] .nav-logo { justify-self: end; }
.nav-actions { justify-self: end; }
html[dir="rtl"] .nav-actions { justify-self: start; }
.logo-img { height: 92px; width: auto; transition: transform 0.25s var(--ease); }
.nav-logo:hover .logo-img { transform: scale(1.04); }
.logo-light-show { display: none; }
[data-theme="light"] .logo-dark-show { display: none; }
[data-theme="light"] .logo-light-show { display: inline-block; }

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.nav-links a {
  padding: 9px 14px;
  border-radius: 10px;
  color: var(--text-2);
  font-weight: 600;
  font-size: 14px;
  transition: all 0.25s var(--ease);
}
.nav-links a:hover { color: var(--accent); background: rgba(173, 250, 31, 0.06); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-cta { padding: 10px 18px; }
.nav-toggle { display: none; }

@media (max-width: 960px) {
  :root, [data-theme="dark"], [data-theme="light"] { --nav-h: 72px; }
  .navbar { height: 72px; }
  .nav-inner {
    display: flex !important;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    width: 100%;
    grid-template-columns: none;
  }
  .nav-logo { justify-self: auto !important; flex: 0 0 auto; }
  html[dir="rtl"] .nav-logo { justify-self: auto !important; }
  .nav-actions { justify-self: auto !important; flex: 0 0 auto; gap: 6px; }
  html[dir="rtl"] .nav-actions { justify-self: auto !important; }
  .logo-img { height: 48px !important; }
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: auto;
    flex-direction: column;
    background: var(--bg-2);
    padding: 20px;
    gap: 4px;
    border-bottom: 1px solid var(--border-soft);
    transform: translateY(-110%);
    transition: transform 0.4s var(--ease);
    align-items: stretch;
    justify-content: flex-start;
    visibility: hidden;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { transform: translateY(0); visibility: visible; }
  .nav-links a { padding: 14px 16px; font-size: 15px; width: 100%; text-align: start; }
  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }
  .icon-btn { width: 38px; height: 38px; }
  .lang-btn { height: 38px; min-width: 44px; padding: 0 10px; font-size: 12px; }
}

@media (max-width: 420px) {
  .logo-img { height: 42px !important; }
  .nav-actions { gap: 4px; }
  .icon-btn { width: 36px; height: 36px; }
  .lang-btn { height: 36px; min-width: 40px; padding: 0 8px; }
}

/* ---------- 10. Hero & Slider ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--nav-h) + 40px) 0 60px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 70%);
  opacity: 0.4;
  pointer-events: none;
}
.hero-glow {
  position: absolute; inset: 0;
  background: var(--gradient-3);
  pointer-events: none;
}

.slider { position: relative; width: 100%; }
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transform: translateX(-30px);
  pointer-events: none;
}
.slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}

.slide-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 48px;
}
.slide-roadmap { grid-template-columns: 1fr; gap: 32px; }
.slide-students { grid-template-columns: 0.85fr 1.15fr; gap: 36px; }
.slide-content { display: flex; flex-direction: column; gap: 22px; max-width: 600px; }

.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 4.4rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  color: var(--text-2);
  line-height: 1.7;
  max-width: 560px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 10px;
}
.stat {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 16px 12px;
  text-align: center;
  transition: all 0.3s var(--ease);
}
.stat:hover { border-color: var(--accent); transform: translateY(-4px); }
.stat-num {
  font-family: 'Orbitron', monospace;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}
.stat-label { font-size: 12px; color: var(--text-3); margin-top: 6px; }

.slide-visual {
  position: relative;
  display: grid;
  place-items: center;
}
.osta-kodo {
  width: 100%;
  max-width: 560px;
  height: auto;
  filter: drop-shadow(0 30px 50px rgba(173, 250, 31, 0.35));
}
.float-anim { animation: float 4.5s ease-in-out infinite; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}
.visual-glow {
  position: absolute;
  inset: 10%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 65%);
  z-index: -1;
  filter: blur(40px);
}
.students-img {
  width: 100%;
  max-width: 760px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.roadmap {
  display: grid;
  grid-template-columns: repeat(4, 1fr) ;
  align-items: center;
  gap: 4px;
  margin-top: 20px;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
}
.road-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 16px;
  text-align: center;
  transition: all 0.35s var(--ease);
}
.road-step:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: var(--shadow-glow); }
.road-num {
  font-family: 'Orbitron', monospace;
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.road-icon {
  width: 56px; height: 56px;
  margin: 0 auto 12px;
  display: grid; place-items: center;
  background: var(--gradient-1);
  color: #0A0E17;
  border-radius: 14px;
}
.road-icon i { width: 26px; height: 26px; }
.road-text { font-weight: 700; font-size: 14px; }
.road-line {
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0.4;
}

.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}
.dot {
  width: 36px; height: 6px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
  transition: all 0.3s var(--ease);
}
.dot.active { background: var(--accent); width: 56px; box-shadow: 0 0 12px var(--accent-glow); }

@media (max-width: 900px) {
  .slide-grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .slide-content { align-items: center; }
  .hero-sub { margin: 0 auto; }
  .hero-cta { justify-content: center; }
  .roadmap { grid-template-columns: 1fr; gap: 12px; }
  .road-line { display: none; }
}

/* ---------- 11. Section base ---------- */
section { padding: 100px 0; position: relative; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-title {
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  margin: 6px 0 12px;
}
.section-sub { color: var(--text-2); font-size: 1.05rem; }

/* ---------- 12. Countdown ---------- */
.countdown-section { padding: 40px 0; }
.countdown-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  background: var(--gradient-2);
  border: 1px solid var(--accent-glow);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}
.countdown-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, var(--accent-glow), transparent 60%);
  opacity: 0.4;
  pointer-events: none;
}
.cd-left { position: relative; z-index: 1; }
.cd-left h2 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); margin: 12px 0 6px; }
.cd-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  position: relative;
  z-index: 1;
}
.cd-box {
  background: rgba(10, 14, 23, 0.5);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 14px;
  min-width: 80px;
  text-align: center;
  backdrop-filter: blur(8px);
}
[data-theme="light"] .cd-box { background: rgba(255, 255, 255, 0.7); }
.cd-num {
  font-family: 'Orbitron', monospace;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}
.cd-label { color: var(--text-3); font-size: 12px; margin-top: 6px; }

@media (max-width: 800px) {
  .countdown-card { grid-template-columns: 1fr; text-align: center; padding: 28px 20px; }
  .cd-left { display: flex; flex-direction: column; align-items: center; }
}

/* ---------- 13. About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.about-text p { font-size: 1.05rem; margin: 14px 0; line-height: 1.85; }
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}
.trust-item i { width: 16px; height: 16px; color: var(--accent); }

.osta-card {
  position: relative;
  border-radius: var(--radius-xl);
  background: var(--gradient-2);
  border: 1px solid var(--border);
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.osta-card::before {
  content: '';
  position: absolute; inset: -1px;
  background: var(--gradient-3);
  z-index: 0;
}
.osta-card img {
  position: relative;
  z-index: 1;
  max-width: 320px;
  margin: 0 auto;
  filter: drop-shadow(0 20px 40px var(--accent-glow));
}
.osta-badge {
  position: relative; z-index: 1;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.osta-name { font-weight: 900; color: var(--accent); font-size: 1.2rem; letter-spacing: 0.04em; }
.osta-role { color: var(--text-3); font-size: 13px; }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .trust-row { justify-content: center; }
}

/* ---------- 14. Courses ---------- */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.course-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.course-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, var(--accent-glow) 200%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.course-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--accent-glow);
}
.course-card:hover::before { opacity: 0.35; }
.course-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent-glow), var(--shadow-lg);
}
.course-card.featured { overflow: visible; }
.course-card.featured::after {
  content: '⭐ الأكثر شعبية';
  position: absolute;
  top: -16px;
  inset-inline-end: 22px;
  background: linear-gradient(135deg, #FF4D4D, #FF8A20);
  color: #fff;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(255, 77, 77, 0.45);
  letter-spacing: 0.02em;
  z-index: 5;
  white-space: nowrap;
  border: 2px solid var(--bg);
}
html[lang="en"] .course-card.featured::after { content: '⭐ Most Popular'; }

.course-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.course-icon {
  width: 64px; height: 64px;
  display: grid; place-items: center;
  border-radius: 18px;
  background: var(--gradient-1);
  color: #0A0E17;
  box-shadow: 0 12px 30px var(--accent-glow);
}
.course-icon i { width: 28px; height: 28px; }
.ai-icon { background: linear-gradient(135deg, #ADFA1F, #00E5C0); }
.prog-icon { background: linear-gradient(135deg, #7FFF00, #ADFA1F); }
.eng-icon { background: linear-gradient(135deg, #FFB020, #ADFA1F); color: #0A0E17; }
.course-tag {
  background: rgba(173, 250, 31, 0.1);
  color: var(--accent);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid var(--accent-glow);
}
.course-tag.tag-featured { background: var(--accent); color: #0A0E17; }

.course-title { font-size: 1.4rem; margin-top: 2px; }
.course-desc { color: var(--text-2); font-size: 0.95rem; line-height: 1.7; }
.course-meta {
  display: flex;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px dashed var(--border-soft);
  border-bottom: 1px dashed var(--border-soft);
  color: var(--text-3);
  font-size: 13px;
  font-weight: 600;
}
.course-meta span { display: inline-flex; align-items: center; gap: 6px; }
.course-meta i { width: 14px; height: 14px; color: var(--accent); }

.course-list { display: flex; flex-direction: column; gap: 8px; margin: 4px 0; }
.course-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--text-2);
}
.course-list i {
  flex-shrink: 0;
  width: 18px; height: 18px;
  padding: 2px;
  background: rgba(173, 250, 31, 0.15);
  color: var(--accent);
  border-radius: 6px;
}

.course-foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--border-soft);
}
.course-bonus, .course-cert {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
}
.course-bonus { color: var(--accent); }
.course-cert { color: var(--text-3); }
.course-foot i { width: 16px; height: 16px; }

.batches {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.batch-card {
  background: var(--gradient-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: all 0.3s var(--ease);
}
.batch-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.batch-icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: rgba(173, 250, 31, 0.1);
  color: var(--accent);
  border-radius: 16px;
  flex-shrink: 0;
}
.batch-icon i { width: 26px; height: 26px; }
.batch-tag { color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: 0.05em; }
.batch-months { font-weight: 800; font-size: 1.15rem; margin: 4px 0; }
.batch-target { font-size: 13px; color: var(--text-3); }

@media (max-width: 900px) {
  .courses-grid { grid-template-columns: 1fr; }
  .batches { grid-template-columns: 1fr; }
}

/* ---------- 15. Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  transition: all 0.4s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.price-card:hover { transform: translateY(-6px); border-color: var(--accent); }
.price-card.featured {
  background: var(--gradient-2);
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-lg), 0 0 40px var(--accent-glow);
  transform: scale(1.02);
}
.price-card.featured:hover { transform: scale(1.02) translateY(-6px); }
.price-ribbon {
  position: absolute;
  top: -14px;
  inset-inline-end: 24px;
  background: var(--gradient-1);
  color: #0A0E17;
  padding: 7px 18px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 10px 24px var(--accent-glow);
}
.price-pill {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(173, 250, 31, 0.1);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 6px;
}
.price-pill.pill-accent { background: var(--accent); color: #0A0E17; }
.price-head h3 { font-size: 1.2rem; }

.price-amount {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  padding: 14px 0;
  border-top: 1px dashed var(--border-soft);
  border-bottom: 1px dashed var(--border-soft);
}
.price-currency { color: var(--text-3); font-weight: 700; font-family: 'Orbitron', monospace; }
.price-value {
  font-family: 'Orbitron', monospace;
  font-size: clamp(2.5rem, 5vw, 3.6rem);
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}
.price-unit { color: var(--text-2); font-weight: 600; }
.price-old {
  font-family: 'Orbitron', monospace;
  font-size: 1.4rem;
  color: var(--text-3);
  text-decoration: line-through;
  text-decoration-color: var(--danger);
  text-decoration-thickness: 3px;
  margin-inline-end: 12px;
}
.price-now { display: flex; align-items: baseline; gap: 6px; }
.price-discount {
  display: inline-block;
  width: 100%;
  margin-top: 6px;
  color: var(--danger);
  font-size: 13px;
  font-weight: 700;
}
.price-list { display: flex; flex-direction: column; gap: 10px; }
.price-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-2);
}
.price-list i { width: 18px; height: 18px; color: var(--accent); }

.reservation {
  margin-top: 36px;
  max-width: 800px;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  display: flex;
  gap: 18px;
  align-items: center;
}
.res-icon {
  width: 56px; height: 56px;
  flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--gradient-1);
  color: #0A0E17;
  border-radius: 16px;
}
.res-icon i { width: 26px; height: 26px; }
.res-body h3 { font-size: 1.1rem; margin-bottom: 6px; }
.res-body p { font-size: 14px; color: var(--text-2); }
.res-note { color: var(--text-3); margin-top: 8px; font-size: 13px; display: flex; gap: 6px; align-items: center; }
.res-note i { width: 14px; height: 14px; color: var(--accent); flex-shrink: 0; }

@media (max-width: 880px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .reservation { flex-direction: column; text-align: center; }
}

/* ---------- 16. XP / Why ---------- */
.xp-visual {
  max-width: 720px;
  margin: 0 auto 56px;
  background: var(--gradient-2);
  border: 1px solid var(--accent-glow);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  box-shadow: var(--shadow-lg);
}
.xp-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.xp-label {
  font-family: 'Orbitron', monospace;
  color: var(--accent);
  letter-spacing: 0.18em;
  font-weight: 800;
  font-size: 14px;
}
.xp-level {
  font-family: 'Orbitron', monospace;
  background: var(--accent);
  color: #0A0E17;
  padding: 5px 12px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.1em;
}
.xp-bar {
  height: 14px;
  background: rgba(10, 14, 23, 0.4);
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
[data-theme="light"] .xp-bar { background: rgba(0, 0, 0, 0.06); }
.xp-fill {
  height: 100%;
  width: 1%;
  background: var(--gradient-1);
  box-shadow: 0 0 20px var(--accent);
  border-radius: 999px;
  transition: width 1.6s var(--ease);
  position: relative;
}
.xp-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: shine 2.4s linear infinite;
}
@keyframes shine { 0% { transform: translateX(-100%); } 100% { transform: translateX(200%); } }
.xp-foot {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-family: 'Orbitron', monospace;
  font-size: 13px;
}
.xp-current { color: var(--accent); font-weight: 800; }
.xp-max { color: var(--text-3); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.why-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  transition: all 0.35s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: '';
  position: absolute;
  top: -40px;
  inset-inline-end: -40px;
  width: 120px; height: 120px;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.why-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}
.why-card:hover::before { opacity: 0.6; }
.why-ic {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: var(--gradient-1);
  color: #0A0E17;
  border-radius: 16px;
  box-shadow: 0 10px 24px var(--accent-glow);
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}
.why-ic i { width: 26px; height: 26px; }
.why-card h4 { font-size: 1.05rem; margin: 0; position: relative; z-index: 1; }
.why-card p { font-size: 14px; color: var(--text-2); line-height: 1.7; margin: 0; position: relative; z-index: 1; }

@media (max-width: 1100px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .why-grid { grid-template-columns: 1fr; } }

/* ---------- 17. Certificate ---------- */
.cert-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.cert-text p { margin: 14px 0 18px; font-size: 1.05rem; }
.cert-list { display: flex; flex-direction: column; gap: 10px; }
.cert-list li {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 15px;
}
.cert-list i {
  width: 18px; height: 18px; padding: 3px;
  color: var(--accent);
  background: rgba(173, 250, 31, 0.12);
  border-radius: 6px;
}

.cert-frame {
  background: var(--gradient-1);
  padding: 6px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 50px var(--accent-glow);
  transform: rotate(-1.5deg);
  transition: transform 0.4s var(--ease);
  overflow: hidden;
}
.cert-frame:hover { transform: rotate(0deg) scale(1.02); }
.cert-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
}

@media (max-width: 900px) { .cert-grid { grid-template-columns: 1fr; text-align: center; } .cert-list { align-items: flex-start; max-width: 360px; margin: 0 auto; } }

/* ---------- 18. Reels ---------- */
.reels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
  justify-items: center;
}
.reel-embed {
  width: 100%;
  max-width: 360px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.reel-embed:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), 0 0 40px var(--accent-glow);
}
.reel-embed .instagram-media {
  margin: 0 !important;
  min-width: 0 !important;
  width: 100% !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  border: 0 !important;
}
.reel-embed iframe.instagram-media-rendered {
  width: 100% !important;
  min-height: 720px !important;
  height: 720px !important;
  display: block;
}
@media (max-width: 540px) {
  .reel-embed iframe.instagram-media-rendered { min-height: 680px !important; height: 680px !important; }
}
.reels-cta { text-align: center; margin-top: 36px; }
.btn-icon { width: 20px; height: 20px; }

@media (max-width: 900px) { .reels-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (max-width: 540px) { .reels-grid { grid-template-columns: 1fr; gap: 18px; } .reel-embed { max-width: 100%; } }

/* ---------- 19. Giveaway ---------- */
.giveaway-card {
  background: var(--gradient-1);
  border-radius: var(--radius-xl);
  padding: 40px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 30px;
  align-items: center;
  color: #0A0E17;
  box-shadow: var(--shadow-lg), 0 0 60px var(--accent-glow);
  position: relative;
  overflow: hidden;
}
.giveaway-card::before {
  content: '🎁';
  position: absolute;
  top: -20px;
  inset-inline-end: -20px;
  font-size: 200px;
  opacity: 0.08;
  pointer-events: none;
}
.giveaway-icon {
  width: 96px; height: 96px;
  background: rgba(10, 14, 23, 0.15);
  border-radius: 24px;
  display: grid; place-items: center;
  color: #0A0E17;
  border: 2px solid rgba(10, 14, 23, 0.2);
}
.giveaway-icon i { width: 48px; height: 48px; }
.giveaway-body { position: relative; }
.giveaway-body .badge {
  background: rgba(10, 14, 23, 0.2);
  color: #0A0E17;
  border-color: rgba(10, 14, 23, 0.3);
  margin-bottom: 12px;
}
.giveaway-body h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); color: #0A0E17; }
.giveaway-body p { color: rgba(10, 14, 23, 0.85); margin: 10px 0 18px; }
.giveaway-body strong { color: #0A0E17; }
.give-cta .btn-primary { background: #0A0E17; color: var(--accent); }
.give-cta .btn-primary:hover { background: #000; color: var(--accent); }

@media (max-width: 700px) {
  .giveaway-card { grid-template-columns: 1fr; text-align: center; padding: 28px 22px; }
  .giveaway-icon { margin: 0 auto; }
}

/* ---------- 20. Locations + Map ---------- */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.loc-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  transition: all 0.3s var(--ease);
}
.loc-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  background: var(--surface-2);
}
.loc-card i {
  width: 26px; height: 26px;
  padding: 10px;
  background: rgba(173, 250, 31, 0.12);
  color: var(--accent);
  border-radius: 12px;
  box-sizing: content-box;
}
.loc-card h4 { font-size: 1rem; }
.loc-card span { font-size: 12px; color: var(--text-3); }
.loc-online { border-color: var(--accent); background: rgba(173, 250, 31, 0.05); }

.online-banner {
  margin-top: 30px;
  background: var(--gradient-2);
  border: 1px solid var(--accent-glow);
  border-radius: var(--radius-lg);
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: var(--shadow-md);
}
.online-banner-text {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}
.online-banner-text > i {
  width: 32px; height: 32px;
  padding: 12px;
  color: var(--accent);
  background: rgba(173, 250, 31, 0.12);
  border-radius: 14px;
  box-sizing: content-box;
  flex-shrink: 0;
}
.online-banner h4 { font-size: 1.1rem; margin-bottom: 4px; }
.online-banner p { font-size: 14px; color: var(--text-2); }

@media (max-width: 720px) {
  .online-banner { flex-direction: column; align-items: stretch; text-align: center; }
  .online-banner-text { flex-direction: column; }
  .online-banner-text > i { margin: 0 auto; }
}
@media (max-width: 900px) { .locations-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 21. FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.3s var(--ease);
}
.faq-item[open] { border-color: var(--accent); }
.faq-item summary {
  list-style: none;
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  font-size: 15px;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i {
  width: 20px; height: 20px;
  color: var(--accent);
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
}
.faq-item[open] summary i { transform: rotate(180deg); }
.faq-item p { padding: 0 22px 20px; color: var(--text-2); line-height: 1.8; font-size: 14.5px; }

/* ---------- 22. Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}
.contact-info > p { margin: 12px 0 22px; font-size: 1.05rem; }
.contact-list { display: flex; flex-direction: column; gap: 10px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  transition: all 0.3s var(--ease);
}
.contact-item:hover { border-color: var(--accent); transform: translateX(-4px); }
html[dir="rtl"] .contact-item:hover { transform: translateX(4px); }
.contact-item > i,
.contact-item > .contact-ic {
  width: 22px; height: 22px;
  padding: 10px;
  background: rgba(173, 250, 31, 0.12);
  color: var(--accent);
  border-radius: 12px;
  box-sizing: content-box;
  flex-shrink: 0;
  object-fit: contain;
}
[data-theme="light"] .contact-item > .contact-ic { filter: brightness(0); opacity: 0.75; }
.contact-item > div { display: flex; flex-direction: column; gap: 2px; }
.ci-label { font-size: 12px; color: var(--text-3); }
.ci-value { font-weight: 700; font-size: 15px; }

.social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}
.social-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 12px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  text-align: center;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.social-tile img, .social-tile i {
  width: 28px;
  height: 28px;
  object-fit: contain;
  color: var(--accent);
}
[data-theme="light"] .social-tile img { filter: brightness(0); opacity: 0.78; }
.social-tile span {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-2);
}
.social-tile:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 12px 28px var(--accent-glow);
  background: rgba(173, 250, 31, 0.06);
}
.social-tile:hover span { color: var(--accent); }
[data-theme="light"] .social-tile:hover img { filter: none; opacity: 1; }

@media (max-width: 540px) { .social-grid { grid-template-columns: repeat(2, 1fr); } }

.contact-qr {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}
.qr-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
  width: 100%;
  max-width: 320px;
}
.qr-img {
  width: 100%;
  max-width: 220px;
  margin: 0 auto 12px;
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 8px;
}
.qr-text h4 { font-size: 1rem; margin-bottom: 4px; }
.qr-text p { font-size: 13px; color: var(--text-3); margin-bottom: 14px; }
.linktree-btn { margin-top: 4px; font-size: 13px; padding: 11px 14px; }
.linktree-btn i { width: 16px; height: 16px; }
.ticket-preview {
  width: 100%;
  max-width: 320px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- 23. Footer ---------- */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border-soft);
  padding: 60px 0 24px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 36px;
  margin-bottom: 36px;
}
.footer-brand p { margin: 14px 0 18px; font-size: 14px; }
.footer-logo { height: 64px; width: auto; }
.footer-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.footer-social a {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  transition: all 0.25s var(--ease);
}
.footer-social a:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-3px); }
.footer-social a:hover img { filter: brightness(0); }
.footer-social img { width: 20px; height: 20px; object-fit: contain; transition: filter 0.25s var(--ease); }
[data-theme="light"] .footer-social img { filter: brightness(0); opacity: 0.8; }
[data-theme="light"] .footer-social a:hover img { filter: brightness(0); opacity: 1; }

.footer-col { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
html[dir="rtl"] .footer-col { align-items: flex-start; text-align: start; }
.footer-col h5 {
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.footer-col a, .footer-col span { font-size: 14px; color: var(--text-2); transition: color 0.2s; text-align: start; }
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  border-top: 1px solid var(--border-soft);
  font-size: 13px;
  color: var(--text-3);
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- 24. Floating WhatsApp ---------- */
.float-wa {
  position: fixed;
  bottom: 24px;
  inset-inline-start: 24px;
  width: 60px; height: 60px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  z-index: 700;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
  transition: transform 0.25s var(--ease);
}
.float-wa:hover { transform: scale(1.1) rotate(8deg); }
.float-wa i { width: 28px; height: 28px; }
.float-wa img { width: 32px; height: 32px; }
.float-wa-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  opacity: 0.5;
  animation: wapulse 1.8s ease-out infinite;
  pointer-events: none;
}
@keyframes wapulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ---------- 25. Misc & Accessibility ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* small screens fine-tune */
@media (max-width: 540px) {
  section { padding: 70px 0; }
  .container { padding: 0 18px; }
  .section-head { margin-bottom: 36px; }
  .countdown-card { padding: 22px 16px; }
  .cd-grid { gap: 6px; }
  .cd-box { padding: 14px 8px; min-width: 0; }
  .course-card, .price-card { padding: 22px; }
  .giveaway-card { padding: 24px 18px; }
  .float-wa { width: 52px; height: 52px; bottom: 18px; inset-inline-start: 18px; }
  .float-wa i { width: 24px; height: 24px; }
}
