/*
Theme Name: Usama Al Adawi
Theme URI: https://usamaaladawi.com
Author: Usama Al Adawi
Description: منصة أسامة العدوي للتداول الاحترافي - Usama Al Adawi Trading Platform
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: usama
Tags: rtl-language, trading, education, bilingual
*/

/* ============================================
   CSS VARIABLES - Navy & Gold Theme
   ============================================ */
:root {
  --navy-deep:    #0A1628;
  --navy-mid:     #0F1F3D;
  --navy-light:   #162848;
  --navy-border:  #1E3560;
  --gold:         #C9A84C;
  --gold-light:   #E8C96A;
  --gold-dark:    #A07830;
  --gold-glow:    rgba(201,168,76,0.2);
  --silver:       #C0C8D8;
  --text-main:    #E8EDF8;
  --text-muted:   #7A8BA8;
  --white:        #FFFFFF;
  --success:      #2ECC8A;
  --danger:       #E84855;

  --font-ar:      'Cairo', sans-serif;
  --font-en:      'Playfair Display', serif;
  --font-body:    'Tajawal', sans-serif;

  --r-sm: 6px; --r-md: 12px; --r-lg: 18px; --r-xl: 28px;
  --shadow-gold:  0 0 40px rgba(201,168,76,0.15);
  --shadow-card:  0 8px 32px rgba(0,0,0,0.4);
  --trans:        all 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--navy-deep);
  color: var(--text-main);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

body.lang-ar { direction: rtl; }
body.lang-en { direction: ltr; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: var(--trans); }
a:hover { color: var(--gold-light); }

h1,h2,h3,h4,h5,h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--white);
}

body.lang-ar h1, body.lang-ar h2, body.lang-ar h3 { font-family: var(--font-ar); }
body.lang-en h1, body.lang-en h2, body.lang-en h3 { font-family: var(--font-en); letter-spacing: -0.01em; }

/* Playfair Display — elegant at normal sizes, italic for flair */
body.lang-en .hero-title         { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 700; }
body.lang-en .hero-title .gold-text { font-style: italic; }
body.lang-en .section-header h2  { font-size: clamp(1.9rem, 3.5vw, 2.8rem); font-weight: 700; }
body.lang-en .plan-tier          { font-family: var(--font-en); font-size: 0.95rem; letter-spacing: 0.1em; }
body.lang-en .btn                { font-family: var(--font-en); font-size: 0.9rem; letter-spacing: 0.04em; font-weight: 700; }
body.lang-en .main-nav a         { font-family: var(--font-en); font-size: 0.9rem; letter-spacing: 0.02em; font-weight: 600; }
body.lang-en .feat-item h3       { font-family: var(--font-en); font-size: 1rem; }
body.lang-en .testi-name         { font-family: var(--font-en); }

/* ============================================
   LAYOUT
   ============================================ */
.container { max-width: 1260px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 80px 0; }

.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { font-size: clamp(1.7rem,3.5vw,2.6rem); margin-bottom: 14px; }
.section-header p  { color: var(--text-muted); font-size: 1.05rem; max-width: 540px; margin: 0 auto; }

.gold-line {
  display: inline-block;
  width: 56px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  margin-bottom: 14px;
}

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px,1fr)); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--r-md);
  font-weight: 700; font-size: 0.95rem;
  cursor: pointer; transition: var(--trans);
  border: none; text-decoration: none; white-space: nowrap;
}
body.lang-ar .btn { font-family: var(--font-ar); }
body.lang-en .btn { font-family: var(--font-en); letter-spacing: 0.05em; font-size: 0.85rem; }

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy-deep);
  box-shadow: 0 4px 20px rgba(201,168,76,0.35);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(201,168,76,0.5); color: var(--navy-deep); }

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}
.btn-outline:hover { background: var(--gold-glow); color: var(--gold-light); border-color: var(--gold-light); }

.btn-silver {
  background: rgba(192,200,216,0.1);
  color: var(--silver);
  border: 1px solid rgba(192,200,216,0.2);
}
.btn-silver:hover { background: rgba(192,200,216,0.2); color: var(--white); }

/* ============================================
   BADGES
   ============================================ */
.badge {
  display: inline-flex; align-items: center;
  padding: 4px 12px; border-radius: 50px;
  font-size: 0.75rem; font-weight: 700;
}
.badge-free { background: rgba(46,204,138,0.12); color: #2ECC8A; border: 1px solid rgba(46,204,138,0.25); }
.badge-pro  { background: rgba(201,168,76,0.12);  color: var(--gold);  border: 1px solid rgba(201,168,76,0.25); }
.badge-new  { background: rgba(99,102,241,0.12);  color: #818CF8; border: 1px solid rgba(99,102,241,0.25); }
.badge-live { background: rgba(232,72,85,0.12);   color: #F87171; border: 1px solid rgba(232,72,85,0.25); }

/* ============================================
   CARDS
   ============================================ */
.card {
  background: var(--navy-mid);
  border: 1px solid var(--navy-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: var(--trans);
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(201,168,76,0.35);
  box-shadow: var(--shadow-gold);
}
.card-body { padding: 22px; }

/* ============================================
   LANGUAGE SWITCHER
   ============================================ */
.lang-switcher {
  display: flex;
  align-items: center;
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 50px;
  padding: 3px;
  gap: 2px;
  flex-shrink: 0;
}

.lang-btn {
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--trans);
  border: none;
  background: transparent;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  white-space: nowrap;
  font-family: var(--font-ar);
}
.lang-btn.active {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy-deep);
  box-shadow: 0 2px 8px rgba(201,168,76,0.3);
}

/* النص الكامل للديسكتوب */
.lang-btn .lang-full  { display: inline; }
.lang-btn .lang-short { display: none; }

/* اختصار للموبايل */
@media (max-width: 768px) {
  .lang-btn           { padding: 6px 11px; font-size: 0.78rem; }
  .lang-btn .lang-full  { display: none; }
  .lang-btn .lang-short { display: inline; }
}

/* top-bar removed */

/* ============================================
   HEADER / NAV
   ============================================ */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10,22,40,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--navy-border);
  transition: var(--trans);
}
#site-header.scrolled {
  background: rgba(10,22,40,0.98);
  box-shadow: 0 4px 30px rgba(0,0,0,0.6);
}

.header-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  height: 76px; gap: 24px;
}

.site-logo img {
  height: 58px;
  width: auto;
  object-fit: contain;
  transition: var(--trans);
}
.site-logo img:hover { filter: brightness(1.1); }
.site-logo-text {
  display: flex; flex-direction: column; line-height: 1.2;
}
.site-logo-text .en { font-family: var(--font-en); font-size: 1rem; color: var(--gold); letter-spacing: 0.1em; }
.site-logo-text .ar { font-family: var(--font-ar); font-size: 0.8rem; color: var(--silver); }

.main-nav ul {
  display: flex; align-items: center;
  gap: 4px; list-style: none;
}
.main-nav a {
  color: var(--text-muted);
  font-size: 0.95rem; font-weight: 600;
  padding: 8px 15px;
  border-radius: var(--r-sm);
  transition: var(--trans);
}
.main-nav a:hover, .main-nav a.active {
  color: var(--gold-light);
  background: rgba(201,168,76,0.08);
}

body.lang-en .main-nav a { font-family: var(--font-en); font-size: 0.78rem; letter-spacing: 0.04em; }

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

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--navy-border);
  color: var(--text-main);
  padding: 8px 12px;
  border-radius: var(--r-sm);
  cursor: pointer; font-size: 1.2rem;
}

/* ticker removed */

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: calc(100vh - 120px);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}

.hero-bg-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 30% 50%, rgba(201,168,76,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 80% 20%, rgba(10,40,80,0.5) 0%, transparent 60%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(30,53,96,0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,53,96,0.3) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
}

.hero-content {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
  padding: 70px 0;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.25);
  color: var(--gold);
  padding: 7px 16px; border-radius: 50px;
  font-size: 0.82rem; font-weight: 700;
  margin-bottom: 22px;
}
.hero-eyebrow::before {
  content: ''; width: 7px; height: 7px;
  background: var(--gold); border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)}50%{opacity:.5;transform:scale(1.4)} }

.hero-title {
  font-size: clamp(2rem,4.5vw,3.4rem);
  font-weight: 900; line-height: 1.18;
  margin-bottom: 18px;
}
.hero-title .gold-text {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc { color: var(--text-muted); font-size: 1.1rem; line-height: 1.8; margin-bottom: 32px; max-width: 460px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* NQ Chart Card */
.chart-panel {
  background: var(--navy-mid);
  border: 1px solid var(--navy-border);
  border-radius: var(--r-xl);
  padding: 22px;
  position: relative; overflow: visible;
}
.chart-panel::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.chart-panel-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 14px;
}
.chart-pair { font-weight: 700; font-size: 0.92rem; font-family: monospace; color: var(--white); letter-spacing: 0.03em; }
.chart-badge-up {
  background: rgba(46,204,138,0.12); color: var(--success);
  border: 1px solid rgba(46,204,138,0.25);
  padding: 4px 12px; border-radius: 50px;
  font-size: 0.8rem; font-weight: 700; font-family: monospace;
}
.chart-price-main {
  font-family: monospace; font-size: 1.8rem; font-weight: 900;
  color: var(--white);
}
.chart-price-main small { font-size: 0.8rem; color: var(--text-muted); font-weight: 400; }

.floating-info {
  position: absolute; bottom: -16px; right: -16px;
  display: flex; flex-direction: column; gap: 10px;
}
.fi-card {
  background: var(--navy-light);
  border: 1px solid var(--navy-border);
  border-radius: var(--r-md);
  padding: 11px 15px;
  display: flex; align-items: center; gap: 11px;
  min-width: 175px;
  box-shadow: var(--shadow-card);
  animation: floatAnim 3.5s ease-in-out infinite;
}
.fi-card:nth-child(2) { animation-delay: 1.8s; }
@keyframes floatAnim { 0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)} }
.fi-icon {
  width: 34px; height: 34px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
  background: rgba(201,168,76,0.12);
}
.fi-text-top { font-size: 0.82rem; font-weight: 700; }
.fi-text-bot { font-size: 0.72rem; color: var(--text-muted); }

/* ============================================
   FEATURES ROW
   ============================================ */
.features-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px,1fr));
  gap: 18px;
}
.feat-item {
  background: var(--navy-mid);
  border: 1px solid var(--navy-border);
  border-radius: var(--r-lg);
  padding: 26px 20px; text-align: center;
  transition: var(--trans); position: relative; overflow: hidden;
}
.feat-item::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0); transition: var(--trans);
}
.feat-item:hover { border-color: rgba(201,168,76,0.25); }
.feat-item:hover::after { transform: scaleX(1); }
.feat-emoji { font-size: 2.2rem; margin-bottom: 12px; display: block; }
.feat-item h3 { font-size: 0.98rem; margin-bottom: 6px; }
.feat-item p  { font-size: 0.82rem; color: var(--text-muted); }

/* ============================================
   COURSE CARDS
   ============================================ */
.course-thumb {
  width: 100%; aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--navy-light), var(--navy-border));
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; position: relative;
}
.course-thumb-badges { position: absolute; top: 10px; right: 10px; display: flex; gap: 6px; }
body.lang-en .course-thumb-badges { right: auto; left: 10px; }
.course-card h3 { font-size: 1.05rem; margin: 12px 0 8px; }
.course-card p  { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 14px; }
.course-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; border-top: 1px solid var(--navy-border);
}
.course-price { font-family: var(--font-en); font-size: 1.15rem; font-weight: 800; color: var(--gold); }

/* ============================================
   PROP FIRMS TABLE
   ============================================ */
.firms-table-wrap { overflow-x: auto; border-radius: var(--r-lg); }
.firms-table {
  width: 100%; border-collapse: collapse;
  background: var(--navy-mid);
  border: 1px solid var(--navy-border);
  border-radius: var(--r-lg); overflow: hidden;
  min-width: 640px;
}
.firms-table thead { background: var(--navy-light); }
.firms-table th {
  padding: 15px 20px; font-size: 0.82rem;
  color: var(--text-muted); font-weight: 700;
  border-bottom: 1px solid var(--navy-border);
  white-space: nowrap;
}
body.lang-ar .firms-table th { text-align: right; }
body.lang-en .firms-table th { text-align: left;  }
.firms-table td {
  padding: 15px 20px;
  border-bottom: 1px solid rgba(30,53,96,0.4);
  font-size: 0.88rem;
}
.firms-table tr:last-child td { border-bottom: none; }
.firms-table tr:hover td { background: rgba(201,168,76,0.03); }
.firm-cell { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--white); }
.firm-logo-box {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--navy-light); border: 1px solid var(--navy-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 900; color: var(--gold);
  flex-shrink: 0; font-family: var(--font-en);
}
.profit-cell { color: var(--success); font-weight: 700; font-family: var(--font-en); }
.stars-cell  { color: var(--gold); font-size: 0.9rem; letter-spacing: 1px; }

/* ============================================
   MEMBERSHIP CARDS
   ============================================ */
.plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px,1fr)); gap: 22px; align-items: start; }

.plan-card {
  background: var(--navy-mid);
  border: 1px solid var(--navy-border);
  border-radius: var(--r-xl);
  padding: 34px 26px;
  position: relative; transition: var(--trans);
}
.plan-card.featured {
  border-color: var(--gold);
  box-shadow: 0 0 40px rgba(201,168,76,0.15);
}
.plan-popular-badge {
  position: absolute; top: -13px;
  left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy-deep);
  font-size: 0.72rem; font-weight: 900;
  padding: 5px 18px; border-radius: 50px;
  white-space: nowrap;
}
.plan-tier { font-size: 0.82rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 10px; }
.plan-price-wrap { display: flex; align-items: flex-end; gap: 3px; margin-bottom: 6px; }
.plan-amount { font-family: var(--font-en); font-size: 2.8rem; font-weight: 900; color: var(--white); line-height: 1; }
.plan-currency { color: var(--gold); font-weight: 700; margin-bottom: 7px; font-family: var(--font-en); }
.plan-period  { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 9px; }
.plan-desc { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--navy-border); }
.plan-feats { list-style: none; margin-bottom: 28px; display: flex; flex-direction: column; gap: 11px; }
.plan-feats li { display: flex; align-items: center; gap: 9px; font-size: 0.88rem; }
.plan-feats li::before {
  content: '✓'; width: 18px; height: 18px;
  background: rgba(201,168,76,0.12); color: var(--gold);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 0.68rem; font-weight: 900; flex-shrink: 0;
}
.plan-feats li.off { color: var(--text-muted); opacity: .5; }
.plan-feats li.off::before { content: '✕'; background: rgba(255,255,255,0.04); color: var(--text-muted); }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testi-card {
  background: var(--navy-mid);
  border: 1px solid var(--navy-border);
  border-radius: var(--r-lg); padding: 26px;
  transition: var(--trans);
}
.testi-card:hover { border-color: rgba(201,168,76,0.2); }
.testi-quote { font-size: 0.92rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 18px; position: relative; }
.testi-quote::before {
  content: '"'; font-size: 3.5rem; color: var(--gold); opacity: .25;
  position: absolute; top: -16px; right: -6px; font-family: serif; line-height: 1;
}
body.lang-en .testi-quote::before { right: auto; left: -6px; }
.testi-author { display: flex; align-items: center; gap: 11px; }
.testi-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1rem; color: var(--navy-deep); flex-shrink: 0;
}
.testi-name  { font-weight: 700; font-size: 0.92rem; }
.testi-role  { font-size: 0.78rem; color: var(--text-muted); }

/* ============================================
   LIVE SECTION
   ============================================ */
.live-banner {
  background: linear-gradient(135deg, rgba(201,168,76,0.08), rgba(201,168,76,0.02));
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--r-xl);
  padding: 52px 44px; text-align: center;
  position: relative; overflow: hidden;
}
.live-banner::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.live-indicator {
  display: inline-flex; align-items: center; gap: 8px;
  color: #F87171; background: rgba(232,72,85,0.1);
  border: 1px solid rgba(232,72,85,0.25);
  padding: 7px 16px; border-radius: 50px;
  font-size: 0.82rem; font-weight: 700; margin-bottom: 22px;
}
.live-dot { width: 7px; height: 7px; background: #EF4444; border-radius: 50%; animation: pulse 1.5s infinite; }

/* ============================================
   NEWSLETTER / CTA
   ============================================ */
.cta-box {
  background: linear-gradient(135deg, rgba(201,168,76,0.08), rgba(10,22,40,0.5));
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--r-xl); padding: 56px 44px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-box::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.nl-form { display: flex; gap: 12px; max-width: 440px; margin: 0 auto; }
.nl-input {
  flex: 1; background: var(--navy-mid);
  border: 1px solid var(--navy-border);
  color: var(--text-main); padding: 13px 18px;
  border-radius: var(--r-md);
  font-size: 0.92rem; transition: var(--trans);
}
.nl-input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,0.1); }
body.lang-ar .nl-input { direction: rtl; font-family: var(--font-ar); }
body.lang-en .nl-input { direction: ltr; font-family: var(--font-en); }

/* ============================================
   FOOTER
   ============================================ */
#site-footer {
  background: var(--navy-mid);
  border-top: 1px solid var(--navy-border);
  padding: 56px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px; margin-bottom: 44px;
}
.footer-brand p { color: var(--text-muted); font-size: 0.85rem; line-height: 1.8; margin: 14px 0 22px; max-width: 280px; }
.social-row { display: flex; gap: 10px; }
.social-btn {
  width: 42px; height: 42px;
  background: var(--navy-light); border: 1px solid var(--navy-border);
  border-radius: var(--r-md); display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); transition: var(--trans);
  flex-shrink: 0;
}
.social-btn:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.3); }
/* Platform colors on hover */
.social-yt:hover   { background: #FF0000; border-color: #FF0000; color: #fff; }
.social-snap:hover { background: #FFFC00; border-color: #FFFC00; color: #000; }
.social-ig:hover   { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); border-color: #e6683c; color: #fff; }
.social-tg:hover   { background: #229ED9; border-color: #229ED9; color: #fff; }
.social-tw:hover   { background: #000;    border-color: #333;    color: #fff; }
.social-tk:hover   { background: #010101; border-color: #69C9D0; color: #fff; }
.social-wa:hover   { background: #25D366; border-color: #25D366; color: #fff; }
.footer-col h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 18px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col ul li a { color: var(--text-muted); font-size: 0.85rem; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--navy-border); padding-top: 22px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.78rem; color: var(--text-muted);
}
.footer-bottom-links { display: flex; gap: 18px; }

/* ============================================
   SCROLL TOP
   ============================================ */
.scroll-top {
  position: fixed; bottom: 26px;
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy-deep);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  cursor: pointer; opacity: 0; transform: translateY(16px);
  transition: var(--trans); z-index: 100; border: none; font-size: 1rem; font-weight: 900;
}
body.lang-ar .scroll-top { left: 26px; }
body.lang-en .scroll-top { right: 26px; }
.scroll-top.show { opacity: 1; transform: translateY(0); }

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeUp { from{opacity:0;transform:translateY(28px)} to{opacity:1;transform:translateY(0)} }
.anim { opacity: 0; }
.anim.visible { animation: fadeUp 0.6s ease forwards; }
.d1 { animation-delay: 0.1s; } .d2 { animation-delay: 0.2s; }
.d3 { animation-delay: 0.3s; } .d4 { animation-delay: 0.4s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-content { grid-template-columns: 1fr; gap: 36px; }
  .chart-panel  { display: none; }
}

@media (max-width: 768px) {
  .main-nav          { display: none; }
  .main-nav.open     {
    display: flex; flex-direction: column;
    position: fixed; inset: 120px 0 0;
    background: rgba(10,22,40,0.98);
    z-index: 999; padding: 24px; overflow-y: auto;
    backdrop-filter: blur(20px);
  }
  .main-nav.open ul  { flex-direction: column; gap: 4px; }
  .main-nav.open a   { padding: 14px 16px; display: block; font-size: 1rem; }
  .menu-toggle       { display: flex; }
  .section           { padding: 56px 0; }
  .footer-grid       { grid-template-columns: 1fr; }
  .nl-form           { flex-direction: column; }
  .hero-btns         { flex-direction: column; }
  .header-right .btn { display: none; }
  .header-right .btn:last-of-type { display: inline-flex; }
  .top-bar-links .hide-mobile { display: none; }
  .grid-2 { grid-template-columns: 1fr; }
  .firms-table th, .firms-table td { padding: 11px 13px; font-size: 0.82rem; }
  .live-banner, .cta-box { padding: 36px 24px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-title { font-size: 1.9rem; }
}
