/* ============================================
   FAIQ — SHARED CORE STYLES v3
   Written from scratch. Black #0a0a0a + Gold #D4AF37
   ============================================ */

:root {
  --gold: #D4AF37;
  --gold-light: #E8C84A;
  --gold-dim: #a08a28;
  --gold-faint: rgba(212,175,55,0.06);
  --gold-glow: rgba(212,175,55,0.12);
  --surface: #0f0f0f;
  --surface2: #161616;
  --surface3: #1e1e1e;
  --surface4: #262626;
  --border: rgba(212,175,55,0.15);
  --border-dim: rgba(212,175,55,0.08);
  --text: #e0e0e0;
  --text-bright: #ffffff;
  --text-muted: #909090;
  --text-dim: #505050;
  --green: #4ade80;
  --blue: #60a5fa;
  --red: #f87171;
  --orange: #fb923c;
  --black: #0a0a0a;
  --white: #ffffff;
  --font: 'Segoe UI', 'Tahoma', 'Geneva', 'Verdana', sans-serif;
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--black);
  color: var(--text);
  line-height: 1.8;
  overflow-x: hidden;
  direction: rtl;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dim); }
::selection { background: rgba(212,175,55,0.25); color: var(--white); }

/* ============================================
   ACCESSIBILITY — Focus Rings & Reduced Motion
   ============================================ */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}
:focus:not(:focus-visible) { outline: none; }

@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;
  }
}

.skip-link {
  position: fixed;
  top: -40px; right: 0; left: 0;
  background: var(--gold); color: var(--black);
  padding: 8px 16px; font-size: 13px; font-weight: 700;
  z-index: 10000; text-align: center; transition: top 0.3s ease;
  letter-spacing: 1px;
}
.skip-link:focus { top: 0; outline: none; text-decoration: none; }

/* Touch targets */
button, a, [role="button"] { min-height: 44px; min-width: 44px; }

/* Typography improvements */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.3; color: var(--text-bright); letter-spacing: 0.5px; }

a { text-decoration: none; color: inherit; transition: var(--transition); }
a:hover { color: var(--gold); }

img { max-width: 100%; display: block; }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.3; color: var(--text-bright); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 28px; }

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed; top: 0; right: 0; left: 0;
  padding: 14px 32px;
  display: flex; justify-content: space-between; align-items: center;
  z-index: 1000;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-dim);
  transition: var(--transition);
}

.logo { font-size: 1.3rem; font-weight: 800; color: var(--gold); letter-spacing: 2px; text-transform: uppercase; }
.logo span { color: var(--text-muted); font-weight: 300; font-size: 0.75rem; display: block; letter-spacing: 4px; margin-top: -4px; }
.logo img { height: 36px; width: auto; display: block; }

.nav-links { display: flex; gap: 32px; align-items: center; list-style: none; }
.nav-links a { font-size: 13px; color: var(--text-muted); transition: var(--transition); position: relative; font-weight: 500; letter-spacing: 0.5px; }
.nav-links a:hover { color: var(--gold); }
.nav-links a::after { content:''; position: absolute; bottom: -6px; right: 0; width: 0; height: 1px; background: var(--gold); transition: var(--transition); }
.nav-links a:hover::after { width: 100%; }
.nav-links .active { color: var(--gold); }

.nav-cta {
  background: transparent;
  color: var(--gold) !important;
  padding: 8px 24px;
  border: 1px solid var(--border);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.nav-cta:hover { background: var(--gold-faint); border-color: var(--gold); }

.mobile-toggle { display: none; font-size: 22px; color: var(--gold); cursor: pointer; background: none; border: none; }

@media (max-width: 768px) {
  .nav-links { display: none; position: absolute; top: 56px; right: 0; left: 0; background: var(--surface); flex-direction: column; padding: 24px; gap: 20px; border-bottom: 1px solid var(--border); }
  .nav-links.active { display: flex; }
  .mobile-toggle { display: block; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  background: linear-gradient(180deg, var(--surface) 0%, var(--black) 100%);
  border-bottom: 1px solid var(--border-dim);
  padding: 130px 32px 70px;
  text-align: center;
  position: relative;
}
.hero::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(212,175,55,0.04) 0%, transparent 60%);
  pointer-events: none;
}
.hero-title { font-size: 2.8rem; font-weight: 900; color: var(--gold); letter-spacing: 2px; margin-bottom: 16px; position: relative; }
.hero-sub { color: var(--text-muted); font-size: 15px; margin-bottom: 36px; max-width: 600px; margin-left: auto; margin-right: auto; position: relative; line-height: 2; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px;
  font-size: 13px; font-weight: 600;
  cursor: pointer; transition: var(--transition); border: none; font-family: var(--font);
  letter-spacing: 1px; text-transform: uppercase;
}
.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(212,175,55,0.2); }
.btn-outline { background: transparent; color: var(--gold); border: 1px solid var(--border); }
.btn-outline:hover { background: var(--gold-faint); border-color: var(--gold); }
.btn-sm { padding: 10px 22px; font-size: 12px; }

/* ============================================
   SECTIONS
   ============================================ */
.section { padding: 70px 32px; position: relative; }
.section-dark { background: var(--surface); }
.section-alt { background: linear-gradient(180deg, var(--surface) 0%, var(--black) 100%); }

.section-title {
  font-size: 20px; font-weight: 800; color: var(--gold); margin-bottom: 40px;
  display: flex; align-items: center; gap: 16px; letter-spacing: 2px; text-transform: uppercase;
}
.section-title::after { content: ''; flex: 1; height: 1px; background: var(--border-dim); }
.section-intro { color: var(--text-muted); font-size: 15px; margin-bottom: 40px; max-width: 720px; line-height: 2; }

/* ============================================
   CARDS
   ============================================ */
.card-grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 768px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
@media (max-width: 992px) and (min-width: 769px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }

.card {
  background: var(--surface2); border: 1px solid var(--border-dim);
  padding: 28px; transition: var(--transition); cursor: pointer;
  position: relative; overflow: hidden;
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0; transition: var(--transition);
}
.card:hover { border-color: var(--border); background: var(--surface3); transform: translateY(-4px); }
.card:hover::before { opacity: 1; }

.card-title { font-size: 16px; font-weight: 700; color: var(--gold); margin-bottom: 12px; letter-spacing: 0.5px; }
.card p, .card li { font-size: 13.5px; color: var(--text-muted); line-height: 1.9; }
.card ul { padding-right: 18px; margin-top: 12px; }
.card li { margin-bottom: 6px; }

.card-price { font-size: 24px; font-weight: 800; color: var(--gold); margin-top: 16px; letter-spacing: 1px; }
.card-price span { font-size: 13px; color: var(--text-muted); font-weight: 400; }
.card-sessions { font-size: 12px; color: var(--text-dim); margin-top: 4px; letter-spacing: 1px; text-transform: uppercase; }

.card-badge {
  display: inline-block; font-size: 10px; padding: 4px 14px;
  font-weight: 700; margin-bottom: 14px; letter-spacing: 2px; text-transform: uppercase;
}
.badge-gold { background: var(--gold-faint); color: var(--gold); border: 1px solid var(--border); }
.badge-green { background: rgba(74,222,128,0.06); color: var(--green); border: 1px solid rgba(74,222,128,0.12); }
.badge-blue { background: rgba(96,165,250,0.06); color: var(--blue); border: 1px solid rgba(96,165,250,0.12); }
.badge-orange { background: rgba(251,146,60,0.06); color: var(--orange); border: 1px solid rgba(251,146,60,0.12); }
.badge-red { background: rgba(248,113,113,0.06); color: var(--red); border: 1px solid rgba(248,113,113,0.12); }

/* ============================================
   LEVELS
   ============================================ */
.level-grid { display: grid; gap: 16px; }
.level-card {
  background: var(--surface2); border: 1px solid var(--border-dim);
  padding: 24px; transition: var(--transition); position: relative;
}
.level-card:hover { border-color: var(--border); background: var(--surface3); }
.level-num { font-size: 11px; font-weight: 800; color: var(--gold); letter-spacing: 3px; text-transform: uppercase; margin-bottom: 8px; }
.level-title { font-size: 18px; font-weight: 700; color: var(--text-bright); margin-bottom: 8px; }
.level-desc { font-size: 13.5px; color: var(--text-muted); line-height: 1.9; margin-bottom: 12px; }
.level-meta { display: flex; gap: 20px; font-size: 12px; color: var(--text-dim); }
.level-meta span { display: flex; align-items: center; gap: 6px; }

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.reveal.active { 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; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--surface); border-top: 1px solid var(--border-dim);
  padding: 50px 32px 30px; text-align: center; margin-top: 50px;
}
.footer-logo { font-size: 1.3rem; font-weight: 800; color: var(--gold); margin-bottom: 16px; letter-spacing: 2px; }
.footer-social { display: flex; gap: 20px; justify-content: center; margin-bottom: 20px; }
.footer-social a { font-size: 20px; transition: var(--transition); opacity: 0.6; }
.footer-social a:hover { opacity: 1; transform: scale(1.15); }
.footer-links { display: flex; gap: 24px; justify-content: center; margin-bottom: 20px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: var(--text-muted); transition: var(--transition); font-weight: 500; }
.footer-links a:hover { color: var(--gold); }
.footer-copy { font-size: 11px; color: var(--text-dim); letter-spacing: 1px; }

/* ============================================
   WHATSAPP CTA FAB
   ============================================ */
.wa-fab {
  position: fixed; bottom: 28px; right: 28px;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; box-shadow: 0 4px 20px rgba(37,211,102,0.3);
  z-index: 999; transition: var(--transition);
}
.wa-fab:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.4); }

/* ============================================
   UTILITIES
   ============================================ */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 10px; } .mb-2 { margin-bottom: 20px; } .mb-3 { margin-bottom: 30px; } .mb-4 { margin-bottom: 40px; }
.mt-1 { margin-top: 10px; } .mt-2 { margin-top: 20px; } .mt-3 { margin-top: 30px; } .mt-4 { margin-top: 40px; }
.flex { display: flex; } .items-center { align-items: center; } .justify-between { justify-content: space-between; } .gap-2 { gap: 16px; }
