/* ============================================================
   CSS CUSTOM PROPERTIES — Design Tokens
============================================================ */
:root {
  --gold: #D4AF37;
  --gold-light: #F0D060;
  --gold-dark: #A8861A;
  --navy: #0B1B3A;
  --navy-mid: #112250;
  --navy-light: #1A3270;
  --white: #FFFFFF;
  --off-white: #F7F5EF;
  --text-muted: #8897B4;
  --text-body: #2C3E6B;
  --success: #1DB06A;
  --danger: #E05A5A;
  --shadow-sm: 0 2px 12px rgba(11,27,58,.08);
  --shadow-md: 0 8px 32px rgba(11,27,58,.14);
  --shadow-lg: 0 20px 60px rgba(11,27,58,.22);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --transition: 0.35s cubic-bezier(.4,0,.2,1);
  --font-display: 'Cairo', 'Tajawal', sans-serif;
  --font-body: 'Tajawal', 'Cairo', sans-serif;
}

/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  /*background: var(--off-white);*/
  background: #1877F2;

  color: var(--text-body);
  direction: rtl;
  overflow-x: hidden;
  line-height: 1.7;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ============================================================
   UTILITY CLASSES
============================================================ */
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(212,175,55,.12); border: 1px solid rgba(212,175,55,.3);
  color: var(--gold-dark); font-size: .82rem; font-weight: 700;
  letter-spacing: .06em; padding: 6px 16px; border-radius: 999px; margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900; color: var(--navy); line-height: 1.25; margin-bottom: 16px;
}
.section-subtitle { font-size: 1.05rem; color: var(--text-muted); font-weight: 500; max-width: 600px; }
.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

/* ============================================================
   ANNOUNCEMENT BAR
============================================================ */
.announcement-bar {
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 9px 0; font-size: .82rem; border-bottom: 2px solid var(--gold);
}
.announcement-bar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.announcement-text { color: var(--gold-light); font-weight: 600; display: flex; align-items: center; gap: 8px; }
.announcement-text i { color: var(--gold); }
.quick-links { display: flex; align-items: center; gap: 20px; }
.quick-link { color: rgba(255,255,255,.75); font-weight: 500; display: flex; align-items: center; gap: 5px; transition: color var(--transition); }
.quick-link:hover { color: var(--gold-light); }

/* ============================================================
   MAIN NAVIGATION
============================================================ */
.main-navbar {
  background: rgba(255,255,255,.97); backdrop-filter: blur(20px);
  box-shadow: 0 2px 24px rgba(11,27,58,.09);
  position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid rgba(212,175,55,.18);
}
.navbar-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; gap: 20px; }
.brand-link { display: flex; align-items: center; gap: 12px; }
.brand-logo {
  width: 52px; height: 52px; border-radius: 12px; overflow: hidden;
  border: 2px solid var(--gold); flex-shrink: 0; background: var(--navy);
  display: flex; align-items: center; justify-content: center;
}
.brand-logo img { width: 100%; height: 100%; object-fit: cover; }
.brand-logo-placeholder { font-family: var(--font-display); color: var(--gold); font-weight: 900; font-size: 1.3rem; }
.brand-name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 900; color: var(--navy); line-height: 1.2; }
.brand-tagline { font-size: .72rem; color: var(--gold-dark); font-weight: 600; letter-spacing: .04em; }
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-link {
  display: flex; align-items: center; gap: 6px; padding: 8px 14px;
  border-radius: var(--radius-sm); font-size: .9rem; font-weight: 600;
  color: var(--text-body); transition: all var(--transition); white-space: nowrap;
}
.nav-link i { font-size: .8rem; color: var(--gold-dark); }
.nav-link:hover, .nav-link.active { background: var(--navy); color: var(--gold-light); }
.nav-link:hover i, .nav-link.active i { color: var(--gold-light); }
.auth-buttons { display: flex; align-items: center; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: .9rem; font-weight: 700;
  cursor: pointer; transition: all var(--transition); border: 2px solid transparent;
  white-space: nowrap; line-height: 1;
}
.btn-login { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-login:hover { background: var(--navy); color: var(--white); }
.btn-signup { background: var(--gold); color: var(--navy); }
.btn-signup:hover { background: var(--gold-dark); color: var(--white); }
.btn-primary { background: var(--navy); color: var(--gold-light); border-color: var(--navy); }
.btn-primary:hover { background: var(--navy-light); }
.btn-gold { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-dark); color: var(--white); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,.6); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,.15); border-color: var(--white); }
.btn-lg { padding: 14px 32px; font-size: 1rem; border-radius: var(--radius-md); }
.btn-whatsapp { background: #25D366; color: var(--white); border-color: #25D366; }
.btn-whatsapp:hover { background: #1EAF55; }
.mobile-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; border: none; background: none; }
.mobile-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: all var(--transition); }
.mobile-nav { display: none; background: var(--white); border-top: 1px solid rgba(212,175,55,.2); box-shadow: var(--shadow-md); }
.mobile-nav.open { display: block; }
.mobile-nav-inner { padding: 20px 24px; }
.mobile-nav-section { margin-bottom: 20px; }
.mobile-nav-label { font-size: .75rem; font-weight: 700; letter-spacing: .08em; color: var(--text-muted); text-transform: uppercase; margin-bottom: 10px; padding-bottom: 6px; border-bottom: 1px solid rgba(0,0,0,.06); }
.mobile-nav-menu li a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius-sm); font-weight: 600; color: var(--text-body); transition: all var(--transition); }
.mobile-nav-menu li a:hover { background: var(--navy); color: var(--gold-light); }
.mobile-nav-menu li a i { color: var(--gold-dark); width: 18px; text-align: center; }
.mobile-auth { display: flex; gap: 10px; margin-top: 16px; }
.mobile-auth .btn { flex: 1; justify-content: center; }

/* ============================================================
   HERO SECTION
============================================================ */
.hero-section { position: relative; background: var(--navy); min-height: 88vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 80% 50%, rgba(212,175,55,.12) 0%, transparent 70%), radial-gradient(ellipse 60% 80% at 10% 80%, rgba(26,50,112,.5) 0%, transparent 60%), url('./../img/index_image.jpg') center/cover no-repeat; opacity: .18; }
.hero-pattern { position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, rgba(212,175,55,.2) 1px, transparent 0); background-size: 36px 36px; opacity: .5; }
.hero-glow { position: absolute; top: -20%; left: -10%; width: 700px; height: 700px; background: radial-gradient(circle, rgba(212,175,55,.08) 0%, transparent 70%); pointer-events: none; }
.hero-inner { position: relative; z-index: 2; width: 100%; padding: 80px 0; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(212,175,55,.15); border: 1px solid rgba(212,175,55,.35); color: var(--gold-light); font-size: .82rem; font-weight: 700; padding: 7px 16px; border-radius: 999px; margin-bottom: 24px; }
.hero-title { font-family: var(--font-display); font-size: clamp(2.2rem, 4.5vw, 3.6rem); font-weight: 900; color: var(--white); line-height: 1.2; margin-bottom: 20px; }
.hero-title .highlight { color: var(--gold); }
.hero-desc { font-size: 1.05rem; color: rgba(255,255,255,.78); line-height: 1.8; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 28px; margin-top: 48px; flex-wrap: wrap; }
.hero-stat-number { font-family: var(--font-display); font-size: 1.8rem; font-weight: 900; color: var(--gold); line-height: 1; }
.hero-stat-label { font-size: .78rem; color: rgba(255,255,255,.55); font-weight: 500; }
.hero-divider { width: 1px; background: rgba(255,255,255,.15); align-self: stretch; }
.hero-media { position: relative; }
.video-wrapper { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(212,175,55,.3); aspect-ratio: 16/9; background: var(--navy-mid); }
.video-wrapper video { width: 100%; height: 100%; object-fit: cover; }
.video-overlay-badge { position: absolute; top: 16px; right: 16px; background: rgba(11,27,58,.85); backdrop-filter: blur(8px); border: 1px solid rgba(212,175,55,.3); color: var(--gold-light); font-size: .75rem; font-weight: 700; padding: 6px 14px; border-radius: 999px; display: flex; align-items: center; gap: 6px; }
.video-overlay-badge::before { content: ''; width: 8px; height: 8px; background: #1DB06A; border-radius: 50%; animation: pulse-dot 1.5s infinite; }
@keyframes pulse-dot { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 1; transform: scale(1.4); } }
.hero-float-card { position: absolute; background: rgba(255,255,255,.97); backdrop-filter: blur(12px); border-radius: var(--radius-md); padding: 14px 18px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; border: 1px solid rgba(212,175,55,.2); }
.hero-float-card.bottom-left { bottom: -24px; left: -28px; animation: float 4s ease-in-out infinite; }
.hero-float-card.top-left { top: -20px; left: -20px; animation: float 4s ease-in-out infinite 2s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.float-icon { width: 42px; height: 42px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.float-icon.gold { background: rgba(212,175,55,.15); color: var(--gold-dark); }
.float-icon.green { background: rgba(29,176,106,.15); color: var(--success); }
.float-card-text strong { display: block; font-size: .85rem; font-weight: 800; color: var(--navy); }
.float-card-text span { font-size: .72rem; color: var(--text-muted); }

/* ============================================================
   CURRICULA BAR
============================================================ */
.curricula-bar { background: var(--white); border-bottom: 1px solid rgba(0,0,0,.06); padding: 18px 0; }
.curricula-bar-inner { display: flex; align-items: center; gap: 12px; overflow-x: auto; scrollbar-width: none; }
.curricula-bar-inner::-webkit-scrollbar { display: none; }
.curricula-bar-label { font-size: .8rem; font-weight: 800; color: var(--text-muted); white-space: nowrap; padding-left: 12px; border-left: 3px solid var(--gold); }
.cur-badge { display: inline-flex; align-items: center; gap: 7px; padding: 7px 16px; border-radius: 999px; font-size: .82rem; font-weight: 700; white-space: nowrap; background: var(--off-white); color: var(--navy); border: 1.5px solid rgba(0,0,0,.1); cursor: pointer; transition: all var(--transition); }
.cur-badge:hover { background: var(--navy); color: var(--gold-light); border-color: var(--navy); }

/* ============================================================
   FEATURES SECTION
============================================================ */
.features-section { padding: 96px 0; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 56px; }
.feature-card { background: var(--white); border-radius: var(--radius-lg); padding: 36px 28px; border: 1px solid rgba(0,0,0,.06); box-shadow: var(--shadow-sm); transition: all var(--transition); position: relative; overflow: hidden; }
.feature-card::before { content: ''; position: absolute; top: 0; right: 0; width: 100%; height: 3px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: 0; transition: opacity var(--transition); }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(212,175,55,.2); }
.feature-card:hover::before { opacity: 1; }
.feature-icon { width: 64px; height: 64px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin-bottom: 20px; }
.feature-icon.navy { background: rgba(11,27,58,.08); color: var(--navy); }
.feature-icon.gold { background: rgba(212,175,55,.12); color: var(--gold-dark); }
.feature-icon.green { background: rgba(29,176,106,.1); color: var(--success); }
.feature-icon.blue { background: rgba(37,99,235,.1); color: #2563eb; }
.feature-title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.feature-desc { font-size: .93rem; color: var(--text-muted); line-height: 1.7; }

/* ============================================================
   STATS SECTION
============================================================ */
.stats-section { background: var(--navy); padding: 80px 0; position: relative; overflow: hidden; }
.stats-section::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, rgba(212,175,55,.08) 1px, transparent 0); background-size: 40px 40px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; position: relative; }
.stat-item { text-align: center; padding: 48px 24px; position: relative; }
.stat-item:not(:last-child)::after { content: ''; position: absolute; top: 20%; left: 0; height: 60%; width: 1px; background: rgba(212,175,55,.2); }
.stat-number { font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 3.8rem); font-weight: 900; color: var(--gold); line-height: 1; margin-bottom: 8px; }
.stat-label { font-size: .95rem; color: rgba(255,255,255,.6); font-weight: 500; }
.stat-icon { font-size: 1.6rem; color: rgba(212,175,55,.3); margin-bottom: 12px; }

/* ============================================================
   WHY US SECTION
============================================================ */
.whyus-section { padding: 96px 0; background: var(--white); }
.whyus-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-top: 56px; }
.whyus-list { display: flex; flex-direction: column; gap: 20px; }
.whyus-item { display: flex; gap: 18px; padding: 20px; background: var(--off-white); border-radius: var(--radius-md); border: 1px solid rgba(0,0,0,.05); transition: all var(--transition); }
.whyus-item:hover { background: var(--navy); border-color: var(--navy); }
.whyus-item:hover .whyus-item-title { color: var(--gold-light); }
.whyus-item:hover .whyus-item-desc { color: rgba(255,255,255,.65); }
.whyus-item:hover .whyus-item-icon { background: rgba(212,175,55,.2); color: var(--gold); }
.whyus-item-icon { width: 48px; height: 48px; min-width: 48px; border-radius: var(--radius-sm); background: rgba(11,27,58,.08); color: var(--navy); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; transition: all var(--transition); }
.whyus-item-title { font-weight: 800; font-size: 1rem; color: var(--navy); margin-bottom: 4px; }
.whyus-item-desc { font-size: .88rem; color: var(--text-muted); line-height: 1.6; }
.whyus-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.whyus-rings { position: relative; width: 380px; height: 380px; }
.ring { position: absolute; border-radius: 50%; border: 1px solid rgba(212,175,55,.2); }
.ring-1 { inset: 0; }
.ring-2 { inset: 32px; border-style: dashed; }
.ring-3 { inset: 72px; }
.ring-center { position: absolute; inset: 110px; background: var(--navy); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 4px; box-shadow: 0 0 60px rgba(212,175,55,.2); }
.ring-center-number { font-family: var(--font-display); font-size: 2.6rem; font-weight: 900; color: var(--gold); line-height: 1; }
.ring-center-label { font-size: .78rem; color: rgba(255,255,255,.6); text-align: center; font-weight: 500; }
.ring-orbit { position: absolute; width: 56px; height: 56px; background: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; box-shadow: var(--shadow-md); border: 2px solid rgba(212,175,55,.2); }
.ring-orbit.o1 { top: -10px; right: 50%; transform: translateX(50%); color: var(--gold-dark); }
.ring-orbit.o2 { bottom: -10px; right: 50%; transform: translateX(50%); color: var(--success); }
.ring-orbit.o3 { top: 50%; right: -10px; transform: translateY(-50%); color: #2563eb; }
.ring-orbit.o4 { top: 50%; left: -10px; transform: translateY(-50%); color: var(--danger); }

/* ============================================================
   COURSES CAROUSEL
============================================================ */
.courses-section { padding: 96px 0; background: var(--off-white); }
.courses-carousel-wrapper { position: relative; overflow: hidden; }
.courses-carousel { display: flex; gap: 24px; transition: transform 0.5s cubic-bezier(.4,0,.2,1); will-change: transform; }
.course-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,.06); min-width: 280px; max-width: 280px; transition: all var(--transition); flex-shrink: 0; }
.course-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.course-card-img { position: relative; height: 180px; overflow: hidden; }
.course-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.course-card:hover .course-card-img img { transform: scale(1.06); }
.course-card-body { padding: 20px; }
.course-card-title { font-family: var(--font-display); font-size: 1rem; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.course-card-desc { font-size: .82rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
.carousel-controls { display: flex; justify-content: center; gap: 12px; margin-top: 36px; }
.carousel-btn { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--navy); background: transparent; color: var(--navy); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all var(--transition); }
.carousel-btn:hover { background: var(--navy); color: var(--gold-light); }

/* ============================================================
   JOIN CTA
============================================================ */
.join-section { padding: 96px 0; background: var(--navy); position: relative; overflow: hidden; }
.join-section::before { content: ''; position: absolute; top: -50%; left: 50%; transform: translateX(-50%); width: 800px; height: 800px; background: radial-gradient(circle, rgba(212,175,55,.08) 0%, transparent 70%); pointer-events: none; }
.join-inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.join-title { font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 900; color: var(--white); margin-bottom: 12px; }
.join-subtitle { font-size: 1.05rem; color: rgba(255,255,255,.65); }
.join-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============================================================
   FOOTER
============================================================ */
.site-footer { background: #070F22; color: rgba(255,255,255,.7); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.07); }
.footer-brand-logo { width: 56px; height: 56px; border-radius: 12px; border: 2px solid var(--gold); background: var(--navy); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.footer-brand-logo span { font-family: var(--font-display); color: var(--gold); font-weight: 900; font-size: 1.4rem; }
.footer-brand-name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 900; color: var(--white); margin-bottom: 8px; }
.footer-brand-desc { font-size: .88rem; line-height: 1.7; margin-bottom: 24px; color: rgba(255,255,255,.5); }
.social-links { display: flex; gap: 10px; }
.social-link { width: 38px; height: 38px; border-radius: 9px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.6); transition: all var(--transition); }
.social-link:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.footer-section-title { font-family: var(--font-display); font-size: .95rem; font-weight: 800; color: var(--white); margin-bottom: 20px; padding-bottom: 10px; border-bottom: 1px solid rgba(212,175,55,.2); }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: .88rem; color: rgba(255,255,255,.5); display: flex; align-items: center; gap: 8px; transition: color var(--transition); }
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom { padding: 20px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: .82rem; color: rgba(255,255,255,.35); }
.footer-bottom-links { display: flex; gap: 16px; }
.footer-bottom-links a { font-size: .82rem; color: rgba(255,255,255,.35); transition: color var(--transition); }
.footer-bottom-links a:hover { color: var(--gold-light); }

/* ============================================================
   FLOATING WHATSAPP
============================================================ */
.floating-wa { position: fixed; bottom: 28px; left: 24px; width: 58px; height: 58px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1.7rem; box-shadow: 0 6px 24px rgba(37,211,102,.4); z-index: 9999; transition: all var(--transition); }
.floating-wa:hover { transform: scale(1.12) translateY(-3px); box-shadow: 0 10px 32px rgba(37,211,102,.5); }
.floating-wa-tooltip { position: absolute; left: calc(100% + 12px); background: var(--white); color: var(--navy); font-size: .8rem; font-weight: 700; white-space: nowrap; padding: 6px 14px; border-radius: 999px; box-shadow: var(--shadow-md); opacity: 0; pointer-events: none; transition: opacity var(--transition); }
.floating-wa:hover .floating-wa-tooltip { opacity: 1; }

/* ============================================================
   SCROLL ANIMATIONS
============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(32px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(-32px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }

/* ============================================================
   PAGE LOADER
============================================================ */
.page-loader { position: fixed; inset: 0; background: var(--navy); z-index: 99999; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 20px; transition: opacity .5s ease, visibility .5s ease; }
.page-loader.hidden { opacity: 0; visibility: hidden; }
.loader-brand { font-family: var(--font-display); font-size: 1.8rem; font-weight: 900; color: var(--gold); }
.loader-bar { width: 200px; height: 2px; background: rgba(255,255,255,.1); border-radius: 2px; overflow: hidden; }
.loader-progress { height: 100%; background: var(--gold); border-radius: 2px; animation: load-progress 1.2s ease forwards; }
@keyframes load-progress { from { width: 0; } to { width: 100%; } }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-media { display: none; }
  .whyus-grid { grid-template-columns: 1fr; }
  .whyus-visual { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-menu { display: none; }
  .auth-buttons { display: none; }
  .mobile-toggle { display: flex; }
  .announcement-bar .quick-links { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item::after { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-stats { gap: 16px; }
  .hero-divider { display: none; }
  .join-inner { flex-direction: column; text-align: center; }
  .join-actions { justify-content: center; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; justify-content: center; }
  .stats-grid { grid-template-columns: 1fr; }
}