/* ============================================================
   CHARTIST — GLOBAL DESIGN SYSTEM
   Luxury Financial Trading Platform
   ============================================================ */

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

/* ── CSS Custom Properties ─────────────────────────────────── */
:root {
  --gold:        #D6B56C;
  --gold-deep:   #B78B49;
  --gold-bright: #F0D080;
  --gold-dim:    rgba(214, 181, 108, 0.15);
  --gold-border: rgba(214, 181, 108, 0.22);
  --gold-glow:   rgba(214, 181, 108, 0.35);

  --silver:        #D1D5DB;
  --silver-deep:   #9CA3AF;
  --silver-bright: #F3F4F6;
  --silver-dim:    rgba(209, 213, 219, 0.15);
  --silver-border: rgba(209, 213, 219, 0.22);
  --silver-glow:   rgba(209, 213, 219, 0.35);

  --black:       #010101;
  --surface:     rgba(255, 255, 255, 0.03);
  --surface-md:  rgba(255, 255, 255, 0.06);
  --surface-hi:  rgba(255, 255, 255, 0.10);
  --text-primary:   #F4EDD8;
  --text-secondary: rgba(244, 237, 216, 0.55);
  --text-muted:     rgba(244, 237, 216, 0.30);
  --red:   #E05252;
  --green: #52D68A;
  --nav-h: 68px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --blur: blur(18px);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-en: 'Inter', sans-serif;
  --font-ar: 'Tajawal', 'Inter', sans-serif;
  --font: var(--font-en);
}

/* ── RTL Arabic Mode ───────────────────────────────────────── */
[dir="rtl"] {
  --font: var(--font-ar);
}
[dir="rtl"] body { font-family: var(--font-ar); }
[dir="rtl"] .nav-links { flex-direction: row-reverse; }
[dir="rtl"] .nav-actions { flex-direction: row-reverse; }
[dir="rtl"] .footer-cols { flex-direction: row-reverse; }
[dir="rtl"] .hero-text { text-align: right; }
[dir="rtl"] .glass-card { text-align: right; }
[dir="rtl"] .checkout-form { text-align: right; }
[dir="rtl"] .payment-detail { flex-direction: row-reverse; }
[dir="rtl"] .step-item { flex-direction: row-reverse; }
[dir="rtl"] .team-text { text-align: right; }
[dir="rtl"] select, [dir="rtl"] input, [dir="rtl"] textarea { text-align: right; }
[dir="rtl"] .founder-meta { align-items: flex-end; }
[dir="rtl"] .service-card { text-align: right; }
[dir="rtl"] .feature-item { flex-direction: row-reverse; }

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* ── Arabic Text Alignment & Flow (Without flipping the layout structure) ── */
html.lang-ar p,
html.lang-ar h1,
html.lang-ar h2,
html.lang-ar h3,
html.lang-ar h4,
html.lang-ar h5,
html.lang-ar h6,
html.lang-ar li,
html.lang-ar input,
html.lang-ar textarea,
html.lang-ar .section-tag,
html.lang-ar .hero-subtitle,
html.lang-ar .feature-card p,
html.lang-ar .feature-card h3,
html.lang-ar .vision-content,
html.lang-ar .contact-info,
html.lang-ar .footer-col h4,
html.lang-ar .footer-col p {
  direction: rtl;
  text-align: right;
}

/* Force standard line-heights & font scaling on Arabic text to match Inter metrics */
html.lang-ar body {
  font-size: 0.97em;
}
html.lang-ar h1,
html.lang-ar h2,
html.lang-ar h3,
html.lang-ar h4,
html.lang-ar h5,
html.lang-ar h6,
html.lang-ar .hero-title,
html.lang-ar .section-title,
html.lang-ar .page-title,
html.lang-ar .course-title {
  line-height: 1.35 !important;
  letter-spacing: normal !important;
}

html.lang-ar input[type="email"],
html.lang-ar input[type="password"],
html.lang-ar input[type="tel"],
html.lang-ar input.ltr-input {
  direction: ltr;
  text-align: left;
}

/* Force centered components to stay centered in Arabic */
html.lang-ar .section-title,
html.lang-ar .section-subtitle,
html.lang-ar .section-tag,
html.lang-ar .hero-title,
html.lang-ar .hero-eyebrow,
html.lang-ar .hero-tagline,
html.lang-ar .page-title,
html.lang-ar .page-desc,
html.lang-ar .page-header-inner *,
html.lang-ar .text-center {
  text-align: center !important;
}

/* Prevent navbar elements, logo, and mobile action groups from flipping or shifting in Arabic */
html.lang-ar .navbar,
html.lang-ar .navbar *,
html.lang-ar .mobile-nav,
html.lang-ar .mobile-nav *,
html.lang-ar .mobile-actions-group,
html.lang-ar .mobile-actions-group * {
  direction: ltr !important;
  text-align: left !important;
}

/* Navbar links and mobile navigation text should remain centered */
html.lang-ar .nav-links a,
html.lang-ar .mobile-nav a {
  text-align: center !important;
  justify-content: center !important;
}

body {
  background: var(--black);
  color: var(--text-primary);
  font-family: var(--font-en);
  font-size: 13.5px;
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Background Canvas ─────────────────────────────────────── */
#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.55;
  pointer-events: none;
}

/* ── Page Wrapper ──────────────────────────────────────────── */
.page-wrap {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Noise Overlay ─────────────────────────────────────────── */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.4;
}

/* ── Vignette ──────────────────────────────────────────────── */
.vignette {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(1,1,1,0.85) 100%);
}

/* ── Ambient Glow Orbs ─────────────────────────────────────── */
.orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(100px);
  opacity: 0.12;
  animation: orbFloat 18s ease-in-out infinite;
}
.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--gold-deep) 0%, transparent 70%);
  top: -200px; right: -150px;
  animation-delay: 0s;
}
.orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #4A90D9 0%, transparent 70%);
  bottom: 10%; left: -100px;
  animation-delay: -9s;
  opacity: 0.07;
}

@keyframes orbFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-40px) scale(1.05); }
}

/* ══════════════════════════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 48px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 80px);
  max-width: 1200px;
  z-index: 1000;
  height: 64px;
  background: rgba(1, 1, 1, 0.45);
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  border: 1px solid var(--gold-border);
  border-radius: 50px;
  display: flex;
  align-items: center;
  padding: 0 32px;
  gap: 32px;
  transition: var(--transition);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.65), 0 0 15px rgba(214, 181, 108, 0.08);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 48px;
  width: 48px;
  object-fit: contain;
  border-radius: 0;
  border: none;
  filter: drop-shadow(0 0 6px rgba(214,181,108,0.4));
}

.nav-logo-text {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 50%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  display: block;
  padding: 7px 15px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; right: 50%;
  height: 1px;
  background: var(--gold);
  transition: var(--transition);
  border-radius: 999px;
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
  left: 18px; right: 18px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Language Toggle */
.lang-toggle {
  display: flex;
  background: var(--surface);
  border: 1px solid var(--silver-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
}

.lang-btn {
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  border: none;
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
  border-radius: var(--radius-xl);
}

.lang-btn.active {
  background: linear-gradient(135deg, var(--silver), var(--silver-deep));
  color: #010101;
}

/* Sign Up CTA */
.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 22px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: #010101;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-radius: var(--radius-xl);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(214, 181, 108, 0.3);
  white-space: nowrap;
}

.btn-nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(214, 181, 108, 0.45);
  filter: brightness(1.1);
}

.nav-mobile-user {
  display: none;
}
.mobile-actions-group {
  display: none;
}

/* ══════════════════════════════════════════════════════════════
   MOBILE RESPONSIVE  — Viewport < 768px
   Navbar moves to a solid top bar. Menu slides DOWN from top.
══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* ── Sticky top bar, full-width, square corners ─────────── */
  .navbar {
    top: 36px !important;
    left: 0;
    transform: none;
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-top: none;
    border-bottom: 1px solid var(--gold-border);
    padding: 0 18px;
    height: 68px;
    padding-top: 0;
    gap: 0;
    justify-content: space-between;
    background: rgba(1, 1, 1, 0.82);
    backdrop-filter: blur(25px) saturate(190%);
    -webkit-backdrop-filter: blur(25px) saturate(190%);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.55), 0 1px 0 var(--gold-border);
  }

  /* ── Hide desktop nav links and desktop CTA ─────────────── */
  .nav-links   { display: none !important; }
  .btn-nav-cta { display: none !important; }
  .nav-actions .lang-toggle { display: none !important; }

  /* ── Mobile Actions Group & User icon ───────────────────── */
  .mobile-actions-group {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
    margin-right: 8px;
  }
  .mobile-actions-group .lang-toggle {
    display: flex !important;
  }

  /* ── Show mobile user icon ──────────────────────────────── */
  .nav-mobile-user {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(214, 181, 108, 0.08);
    border: 1px solid var(--gold-border);
    color: var(--gold);
    text-decoration: none;
    transition: var(--transition);
    flex-shrink: 0;
  }

  .nav-mobile-user:hover,
  .nav-mobile-user:active {
    background: rgba(214, 181, 108, 0.18);
    border-color: var(--gold);
  }

  /* ── Show hamburger ─────────────────────────────────────── */
  .hamburger {
    display: flex;
    width: 38px;
    height: 38px;
    padding: 7px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--gold-border);
    background: rgba(214, 181, 108, 0.06);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    flex-shrink: 0;
    transition: var(--transition);
  }

  .hamburger:hover {
    background: rgba(214, 181, 108, 0.14);
    border-color: var(--gold);
  }

  .hamburger span {
    width: 18px;
    height: 2px;
  }

  /* ── Logo sizing on mobile ──────────────────────────────── */
  .nav-logo-img  { height: 34px; width: 34px; }
  .nav-logo-text { font-size: 1rem; letter-spacing: 0.14em; }
  .nav-logo      { gap: 8px; }

  /* ── Ticker bar compact ─────────────────────────────────── */
  .ticker-bar { height: 36px !important; }

  /* ── Main content padding adjusted for narrower top bar ── */
  .main-content { padding-top: 110px; }

}

/* ── Tablet Spacing Spans (769px to 1024px) ─────────────── */
@media (min-width: 769px) and (max-width: 1024px) {
  .navbar {
    width: calc(100% - 32px);
    padding: 0 16px;
    gap: 16px;
  }
  .nav-links {
    gap: 12px;
  }
  .nav-links a {
    font-size: 0.8rem;
  }
  .btn-nav-cta {
    padding: 8px 16px;
    font-size: 0.8rem;
  }
}

/* Admin Panel Tab Bar */
.admin-tabs-bar {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--gold-border);
  margin-bottom: 32px;
  padding-bottom: 8px;
  flex-wrap: wrap;
}
.admin-tab-btn {
  padding: 10px 24px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}
.admin-tab-btn:hover {
  color: var(--gold);
  background: rgba(255, 255, 255, 0.02);
}
.admin-tab-btn.active {
  color: #010101;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(214, 181, 108, 0.25);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 99px;
  transition: var(--transition);
}

/* ── Mobile Nav Dropdown — slides DOWN from top on mobile ─── */
.mobile-nav {
  /* Uses visibility + opacity so CSS transitions fire correctly.
     display:none would block animation entirely.               */
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: fixed;

  /* Desktop: hangs below navbar pill — sensible fallback */
  top: 124px;
  left: 20px;
  right: 20px;
  bottom: auto;

  z-index: 998;

  /* iOS Liquid Glass aesthetic */
  background: rgba(1, 1, 1, 0.45);
  backdrop-filter: blur(25px) saturate(190%);
  -webkit-backdrop-filter: blur(25px) saturate(190%);
  border: 1px solid rgba(214, 181, 108, 0.35);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.65),
    0 4px 16px rgba(214, 181, 108, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 16px 16px 20px;

  /* Hidden state: invisible, above viewport, non-interactive */
  visibility: hidden;
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  transition:
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    opacity   0.28s ease,
    visibility 0s linear 0.35s;
}

.mobile-nav.open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
  transition:
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    opacity   0.28s ease,
    visibility 0s linear 0s;
}

.mobile-nav a {
  padding: 13px 18px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: var(--transition);
  /* Larger tap target for mobile */
  min-height: 48px;
  display: flex;
  align-items: center;
}

.mobile-nav a:hover,
.mobile-nav a:active {
  color: var(--gold);
  border-color: var(--gold-border);
  background: rgba(214, 181, 108, 0.06);
}

/* ── On mobile: position the dropdown flush below the top bar */
@media (max-width: 768px) {
  .mobile-nav {
    top: 68px !important;   /* height of mobile navbar */
    left: 12px;
    right: 12px;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    border-top: none;
    padding: 12px 12px 16px;
  }

  .mobile-nav a {
    font-size: 0.95rem;
    font-weight: 600;
    padding: 14px 16px;
  }
}

/* ══════════════════════════════════════════════════════════════
   UTILITY CLASSES
══════════════════════════════════════════════════════════════ */
.main-content {
  flex: 1;
  padding-top: 132px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.section {
  padding: 100px 0;
}

.section-sm {
  padding: 60px 0;
}

/* ── Gold Text ─────────────────────────────────────────────── */
.text-gold {
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 60%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Section Header ────────────────────────────────────────── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.section-tag::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 0.9rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
}

/* ── Glass Card ────────────────────────────────────────────── */
.glass-card {
  background: var(--surface);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.glass-card:hover {
  border-color: rgba(214, 181, 108, 0.4);
  background: var(--surface-md);
  transform: translateY(-3px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px var(--gold-border);
}

/* ── Divider ───────────────────────────────────────────────── */
.gold-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 24px auto;
  border-radius: 99px;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  border-radius: var(--radius-xl);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
  font-family: inherit;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: #010101;
  box-shadow: 0 6px 24px rgba(214, 181, 108, 0.35);
}

.btn-gold:hover {
  transform: none;
  box-shadow: 0 0 25px rgba(214, 181, 108, 0.75), 0 0 10px rgba(214, 181, 108, 0.35);
  filter: brightness(1.08);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold-border);
  backdrop-filter: var(--blur);
}

.btn-outline:hover {
  background: rgba(214, 181, 108, 0.06);
  border-color: var(--gold);
  transform: none;
  box-shadow: 0 0 20px rgba(214, 181, 108, 0.45);
}

.btn-ghost {
  background: var(--surface);
  color: var(--text-secondary);
  border: 1px solid rgba(255,255,255,0.08);
}

.btn-ghost:hover {
  background: var(--surface-md);
  color: var(--text-primary);
}

/* ── Badge ─────────────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge-gold {
  background: var(--gold-dim);
  color: var(--gold);
  border: 1px solid var(--gold-border);
}

.badge-green {
  background: rgba(82, 214, 138, 0.12);
  color: var(--green);
  border: 1px solid rgba(82, 214, 138, 0.25);
}

.badge-red {
  background: rgba(224, 82, 82, 0.12);
  color: var(--red);
  border: 1px solid rgba(224, 82, 82, 0.25);
}

/* ══════════════════════════════════════════════════════════════
   TICKER BAR
══════════════════════════════════════════════════════════════ */
.ticker-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(1, 1, 1, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gold-border);
  overflow: hidden;
  white-space: nowrap;
  padding: 6px 0;
  height: 36px;
  z-index: 1050;
}

.ticker-track {
  display: inline-flex;
  gap: 48px;
  animation: ticker 40s linear infinite;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

.ticker-symbol { color: var(--gold); font-weight: 700; }
.ticker-up { color: var(--green); }
.ticker-down { color: var(--red); }

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ══════════════════════════════════════════════════════════════
   HERO (index.html)
══════════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 0 40px;
  text-align: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
  animation: fadeInDown 0.8s ease both;
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 5.8rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  animation: fadeInUp 0.9s ease 0.1s both;
}

.hero-title span {
  display: block;
}

.hero-tagline {
  font-size: clamp(0.85rem, 1.5vw, 1.05rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 42px;
  font-weight: 400;
  line-height: 1.75;
  animation: fadeInUp 1s ease 0.2s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease 0.3s both;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 80px;
  animation: fadeInUp 1s ease 0.4s both;
}

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

.hero-stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  letter-spacing: -0.02em;
}

.hero-stat-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ── Scroll Indicator ──────────────────────────────────────── */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fadeIn 1.5s ease 1s both;
}

.scroll-mouse {
  width: 24px; height: 38px;
  border: 2px solid var(--gold-border);
  border-radius: 12px;
  position: relative;
}

.scroll-mouse::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 8px;
  background: var(--gold);
  border-radius: 2px;
  animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

.scroll-text {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ══════════════════════════════════════════════════════════════
   FEATURES SECTION (Home)
══════════════════════════════════════════════════════════════ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  padding: 36px 30px;
}

.feature-icon {
  width: 54px; height: 54px;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, var(--gold-dim), rgba(183, 139, 73, 0.25));
  transform: scale(1.05);
}

.feature-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.feature-card p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ══════════════════════════════════════════════════════════════
   VISION SECTION (Home)
══════════════════════════════════════════════════════════════ */
.vision-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.vision-quote {
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.45;
  position: relative;
  padding-left: 32px;
}

.vision-quote::before {
  content: '"';
  position: absolute;
  left: 0; top: -10px;
  font-size: 5rem;
  font-weight: 900;
  color: var(--gold-deep);
  opacity: 0.4;
  line-height: 1;
}

.vision-pillars {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pillar {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
}

.pillar-num {
  width: 36px; height: 36px;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--gold);
  flex-shrink: 0;
}

.pillar-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.pillar-text p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ══════════════════════════════════════════════════════════════
   COURSES PAGE (courses.html)
══════════════════════════════════════════════════════════════ */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.pricing-card {
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.75), 0 0 25px rgba(214, 181, 108, 0.3);
}

/* Card 1: Essential */
#card-essential:hover {
  border-color: var(--gold);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.75), 0 0 25px rgba(214, 181, 108, 0.3);
}

/* Card 2: Quantum Edge (Featured) */
.pricing-card.featured {
  border-color: rgba(214, 181, 108, 0.5);
  background: rgba(214, 181, 108, 0.04);
}
.pricing-card.featured:hover {
  border-color: var(--gold-bright);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.75), 0 0 35px rgba(240, 208, 128, 0.45);
}

/* Card 3: Sovereign Trader */
#card-sovereign:hover {
  border-color: var(--gold);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.75), 0 0 25px rgba(214, 181, 108, 0.3);
}

/* Card 4: Inner Circle Elite */
#card-elite:hover {
  border-color: rgba(214, 181, 108, 0.85);
  background: rgba(214, 181, 108, 0.05) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 40px rgba(214, 181, 108, 0.55) !important;
}

/* Custom hover override for Elite buy button to override inline styling and glow elegantly */
#buy-elite:hover {
  transform: none !important;
  box-shadow: 0 0 35px rgba(240, 208, 128, 0.75), 0 0 12px rgba(214, 181, 108, 0.3) !important;
  filter: brightness(1.08);
}

.pricing-card.featured::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(214, 181, 108, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.card-glow {
  position: absolute;
  top: -80px; right: -80px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(214, 181, 108, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.popular-badge {
  position: absolute;
  top: 20px; right: 20px;
  padding: 4px 12px;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #010101;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  border-radius: 99px;
  text-transform: uppercase;
}

.plan-icon {
  width: 52px; height: 52px;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 24px;
}

.plan-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.plan-duration {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-bottom: 20px;
  font-weight: 500;
}

.plan-price {
  margin-bottom: 28px;
}

.price-amount {
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.04em;
  line-height: 1;
}

.price-currency {
  font-size: 1.4rem;
  font-weight: 700;
  vertical-align: super;
}

.price-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.plan-features {
  list-style: none;
  flex: 1;
  margin-bottom: 28px;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.plan-features li:last-child { border: none; }

.plan-features li::before {
  content: '✦';
  color: var(--gold);
  font-size: 0.65rem;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════════
   CHECKOUT MODAL
══════════════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(1, 1, 1, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: #080808;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-xl);
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-border) transparent;
  transform: translateY(30px) scale(0.98);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.open .modal-box {
  transform: translateY(0) scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 36px 24px;
  border-bottom: 1px solid var(--gold-border);
  position: sticky;
  top: 0;
  background: #080808;
  z-index: 1;
}

.modal-title {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.modal-subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.modal-close {
  width: 38px; height: 38px;
  background: var(--surface);
  border: 1px solid var(--gold-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 1.1rem;
  transition: var(--transition);
  flex-shrink: 0;
}

.modal-close:hover {
  background: rgba(224, 82, 82, 0.15);
  border-color: rgba(224, 82, 82, 0.4);
  color: var(--red);
}

.modal-body {
  padding: 32px 36px;
}

.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.form-input {
  background: var(--surface);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: inherit;
  transition: var(--transition);
  outline: none;
  width: 100%;
}

.form-input option {
  background-color: #0d0d0d;
  color: var(--text-primary);
}

.form-input:focus {
  border-color: var(--gold);
  background: var(--surface-md);
  box-shadow: 0 0 0 3px rgba(214, 181, 108, 0.12);
}

.form-input::placeholder { color: var(--text-muted); }

/* Payment Methods */
.payment-section {
  margin: 8px 0;
}

.payment-section-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.payment-methods-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.payment-method-card {
  padding: 16px;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  background: var(--surface);
  cursor: pointer;
  transition: var(--transition);
}

.payment-method-card.active {
  border-color: var(--gold);
  background: var(--gold-dim);
}

.payment-method-card:hover {
  border-color: rgba(214, 181, 108, 0.4);
}

.pm-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.pm-icon {
  width: 28px; height: 28px;
  border-radius: 6px;
  background: var(--gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.pm-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
}

.pm-detail {
  font-size: 0.72rem;
  color: var(--text-muted);
  word-break: break-all;
  font-family: 'Courier New', monospace;
  line-height: 1.5;
}

.pm-detail-label {
  color: var(--gold);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 2px;
  font-family: inherit;
  font-weight: 600;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--gold);
  cursor: pointer;
  background: none;
  border: none;
  padding: 2px 0;
  margin-top: 4px;
  letter-spacing: 0.04em;
  transition: var(--transition);
}

.copy-btn:hover { opacity: 0.7; }

/* Drop Zone */
.drop-zone {
  border: 2px dashed var(--gold-border);
  border-radius: var(--radius-md);
  padding: 36px 24px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: var(--surface);
  position: relative;
}

.drop-zone:hover,
.drop-zone.drag-over {
  border-color: var(--gold);
  background: var(--gold-dim);
}

.drop-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.drop-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
  opacity: 0.5;
}

.drop-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.drop-subtext {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.drop-preview {
  display: none;
  margin-top: 12px;
}

.drop-preview img {
  max-height: 100px;
  border-radius: 8px;
  border: 1px solid var(--gold-border);
}

.submit-btn-wrap {
  margin-top: 8px;
}

.success-msg {
  display: none;
  padding: 16px 20px;
  background: rgba(82, 214, 138, 0.08);
  border: 1px solid rgba(82, 214, 138, 0.3);
  border-radius: var(--radius-md);
  color: var(--green);
  font-size: 0.88rem;
  font-weight: 500;
  text-align: center;
}

/* ══════════════════════════════════════════════════════════════
   ABOUT PAGE
══════════════════════════════════════════════════════════════ */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.founder-card {
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
}

.founder-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.founder-avatar {
  width: 90px; height: 90px;
  background: linear-gradient(135deg, var(--gold-dim), rgba(183, 139, 73, 0.2));
  border: 2px solid var(--gold-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.founder-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 20px;
}

.founder-name {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.founder-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.founder-bio {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 24px;
}

.founder-stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.fstat {
  text-align: center;
}

.fstat-num {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.fstat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.07em;
}

.expertise-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.expertise-tag {
  padding: 4px 12px;
  background: var(--surface);
  border: 1px solid var(--gold-border);
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
}

/* ══════════════════════════════════════════════════════════════
   SERVICES PAGE
══════════════════════════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.service-card {
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: space-between;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover::before { opacity: 1; }

.service-num {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.7;
}

.service-icon {
  width: 60px; height: 60px;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  transform: scale(1.05);
  background: rgba(214, 181, 108, 0.15);
}

.service-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
}

.service-price {
  font-size: 2rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.feature-item .check-icon {
  width: 20px; height: 20px;
  background: rgba(82, 214, 138, 0.1);
  border: 1px solid rgba(82, 214, 138, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: var(--green);
  flex-shrink: 0;
}

.coming-soon-overlay {
  position: absolute;
  inset: 0;
  background: rgba(1,1,1,0.55);
  backdrop-filter: blur(2px);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.coming-soon-label {
  padding: 10px 24px;
  background: var(--surface-md);
  border: 1px solid var(--gold-border);
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-transform: uppercase;
}

/* ══════════════════════════════════════════════════════════════
   CONTACT PAGE
══════════════════════════════════════════════════════════════ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-block-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--gold-border);
  transition: var(--transition);
}

.contact-item:hover {
  border-color: rgba(214, 181, 108, 0.4);
  background: var(--surface-md);
}

.contact-icon {
  width: 38px; height: 38px;
  background: var(--gold-dim);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 2px;
}

.contact-value {
  font-size: 0.9rem;
  color: var(--text-primary);
  font-weight: 500;
  word-break: break-all;
}

.contact-value a {
  color: var(--gold);
  text-decoration: none;
}

.contact-value a:hover { text-decoration: underline; }

.contact-form-wrap {
  padding: 40px 36px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ══════════════════════════════════════════════════════════════
   ADMIN PAGE
══════════════════════════════════════════════════════════════ */
.admin-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.admin-login-box {
  padding: 56px 48px;
  max-width: 420px;
  width: 100%;
  text-align: center;
}

.admin-icon {
  width: 72px; height: 72px;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 28px;
}

.admin-dashboard {
  display: none;
  padding: 100px 0 60px;
}

.admin-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  padding: 24px 32px;
  border-radius: var(--radius-lg);
}

.admin-stats-row {
  display: flex;
  gap: 20px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.admin-stat {
  flex: 1;
  min-width: 160px;
  padding: 24px;
  border-radius: var(--radius-md);
  text-align: center;
}

.admin-stat-num {
  font-size: 2.2rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.admin-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-top: 4px;
}

/* Admin Table */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gold-border);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.admin-table thead {
  background: var(--gold-dim);
}

.admin-table th {
  padding: 14px 20px;
  text-align: left;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
  border-bottom: 1px solid var(--gold-border);
}

.admin-table td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: var(--text-secondary);
  vertical-align: middle;
}

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

.admin-table tbody tr {
  transition: var(--transition);
}

.admin-table tbody tr:hover {
  background: var(--surface);
}

.action-area {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

.action-select {
  background: var(--surface);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  color: var(--text-primary);
  font-size: 0.8rem;
  font-family: inherit;
  cursor: pointer;
  outline: none;
  min-width: 180px;
  transition: var(--transition);
}

.action-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(214, 181, 108, 0.12);
}

.btn-grant {
  padding: 8px 18px;
  font-size: 0.8rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.receipt-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}

.receipt-link:hover { opacity: 0.75; }

.status-chip {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.status-pending { background: rgba(240, 180, 40, 0.12); color: #F0B428; border: 1px solid rgba(240, 180, 40, 0.25); }
.status-approved { background: rgba(82, 214, 138, 0.12); color: var(--green); border: 1px solid rgba(82, 214, 138, 0.25); }

.admin-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.admin-empty-icon { font-size: 3rem; margin-bottom: 16px; opacity: 0.3; }

/* ══════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════ */
.footer {
  position: relative;
  z-index: 2;
  background: rgba(1,1,1,0.95);
  border-top: 1px solid var(--gold-border);
  padding: 60px 0 32px;
}

.footer-cols {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.footer-col {
  flex: 1;
  min-width: 200px;
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-logo img {
  height: 56px; width: auto;
  object-fit: contain;
  border-radius: 0;
}

.footer-logo-text {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-heading {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover { color: var(--gold); }

.footer-emails {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-email-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-email-item a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
}

.footer-email-item a:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.footer-legal a:hover { color: var(--gold); }

/* ══════════════════════════════════════════════════════════════
   PAGE HEADER (Inner Pages)
══════════════════════════════════════════════════════════════ */
.page-header {
  padding: 120px 0 60px;
  text-align: center;
  position: relative;
}

.page-header-inner {
  max-width: 700px;
  margin: 0 auto;
}

.page-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.page-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ══════════════════════════════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════════════════════════════ */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes shimmer {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* Intersection Observer animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ══════════════════════════════════════════════════════════════
   TOAST
══════════════════════════════════════════════════════════════ */
.toast-container {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast {
  padding: 14px 20px;
  background: #111;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  color: var(--text-primary);
  max-width: 320px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  animation: toastIn 0.35s ease;
}

.toast.success { border-color: rgba(82, 214, 138, 0.4); }
.toast.error { border-color: rgba(224, 82, 82, 0.4); }

@keyframes toastIn {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ══════════════════════════════════════════════════════════════
   SCROLLBAR
══════════════════════════════════════════════════════════════ */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--gold-border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-deep); }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .container { padding: 0 24px; }
  .container-wide { padding: 0 24px; }
  .vision-wrap { grid-template-columns: 1fr; gap: 40px; }
  .team-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .navbar {
    top: 12px;
    bottom: auto;
    left: 12px;
    right: 12px;
    transform: none;
    width: calc(100% - 24px);
    height: 56px;
    border-radius: 28px;
    padding: 0 16px;
    gap: 12px;
    background: rgba(1, 1, 1, 0.65);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--silver-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.65), 0 0 15px rgba(209, 213, 219, 0.08);
  }
  .nav-logo-text { font-size: 1rem; }
  .nav-links { display: none; }
  .nav-actions { display: none; }
  .mobile-actions-group {
    display: flex !important;
    align-items: center;
    gap: 12px;
    margin-left: auto;
  }
  .mobile-actions-group .lang-toggle {
    display: flex !important;
  }
  .nav-mobile-user {
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    padding: 8px;
    transition: var(--transition);
    margin-left: auto;
  }
  [dir="rtl"] .nav-mobile-user {
    margin-left: 0;
    margin-right: auto;
  }
  .nav-mobile-user:hover {
    color: var(--gold);
  }
  .hamburger { display: flex; }
  .main-content {
    padding-top: 96px;
    padding-bottom: 60px;
  }
  .hero { padding: 0 20px; }
  .hero-stats { gap: 32px; flex-wrap: wrap; }
  .courses-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .payment-methods-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .modal-header { padding: 24px; }
  .modal-body { padding: 24px; }
  .footer-cols { gap: 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .admin-stats-row { flex-direction: column; }
  .action-area { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .section { padding: 60px 0; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-stats { justify-content: center; gap: 24px; }
}

/* ── Custom Luxury Ticker Bar ──────────────────────────────── */
.ticker-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 36px;
  background: rgba(1, 1, 1, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(214, 181, 108, 0.22);
  overflow: hidden;
  z-index: 1050;
  display: flex;
  align-items: center;
  direction: ltr !important;
}

.ticker-wrap {
  display: flex;
  align-items: center;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.ticker-track {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  height: 100%;
  gap: 60px;
  padding-right: 60px;
  animation: ticker 42s linear infinite;
  white-space: nowrap;
  will-change: transform;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ticker-symbol {
  color: var(--gold);
}

.ticker-price {
  font-family: 'Inter', monospace;
  color: var(--text-primary);
  font-weight: 600;
}

.ticker-change {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 0.72rem;
}

.ticker-change.up {
  color: #52d68a; /* soft green */
}

.ticker-change.down {
  color: #ff5e5e; /* soft red */
}

@keyframes ticker {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-100%, 0, 0); }
}

/* Coming Soon Overlay */
.coming-soon-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(1, 1, 1, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  border-radius: inherit;
}

.coming-soon-label {
  padding: 12px 28px;
  background: linear-gradient(135deg, rgba(214, 181, 108, 0.18) 0%, rgba(214, 181, 108, 0.08) 100%);
  border: 1px solid rgba(214, 181, 108, 0.35);
  border-radius: 40px;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: pulse-gold 2.5s infinite alternate;
}

@keyframes pulse-gold {
  0% {
    box-shadow: 0 8px 32px rgba(214, 181, 108, 0.1), inset 0 0 8px rgba(214, 181, 108, 0.05);
    border-color: rgba(214, 181, 108, 0.25);
  }
  100% {
    box-shadow: 0 8px 32px rgba(214, 181, 108, 0.25), inset 0 0 16px rgba(214, 181, 108, 0.15);
    border-color: rgba(214, 181, 108, 0.55);
  }
}

/* Logo responsiveness */
.nav-logo-img {
  display: block;
}

@media (max-width: 768px) {
  .nav-logo-img {
    height: 38px;
    width: auto;
  }
  .nav-logo-text {
    display: none !important;
  }
}
