/* ============================================
   MedTrade - Premium Trading Website
   Design System & Global Styles
   ============================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Alexandria:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&family=Tajawal:wght@400;500;700;800;900&display=swap');

/* ── CSS Custom Properties (Design Tokens) ── */
:root {
  /* Colors */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8FAFC;
  --bg-card: rgba(255, 255, 255, 0.9);
  --bg-glass: rgba(255, 255, 255, 0.8);
  --bg-glass-border: rgba(0, 0, 0, 0.08);
  
  --gold: #E63946;
  --gold-light: #FF6B6B;
  --gold-dark: #B71C28;
  --gold-gradient: linear-gradient(135deg, #E63946, #FF6B6B, #E63946);
  
  --blue: #0096C7;
  --blue-dark: #0077B6;
  --blue-gradient: linear-gradient(135deg, #0096C7, #0077B6);
  
  --green: #00E676;
  --green-dark: #00C853;
  --red: #FF3D57;
  
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;
  
  /* Typography */
  --font-ar: 'Alexandria', 'Tajawal', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-en: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1200px;
  --container-padding: 0 24px;
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-gold: 0 0 20px rgba(230, 57, 70, 0.3);
  --shadow-blue: 0 0 20px rgba(0, 150, 199, 0.3);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-elevated: 0 20px 60px rgba(0, 0, 0, 0.5);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Dark Mode Variables ── */
body.dark-mode {
  --bg-primary: #0B1120;
  --bg-secondary: #1E293B;
  --bg-card: rgba(30, 41, 59, 0.9);
  --bg-glass: rgba(15, 23, 42, 0.8);
  --bg-glass-border: rgba(255, 255, 255, 0.08);
  
  --text-primary: #F8FAFC;
  --text-secondary: #CBD5E1;
  --text-muted: #94A3B8;
  
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.6);
  --shadow-elevated: 0 20px 60px rgba(0, 0, 0, 0.8);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-ar);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  direction: rtl;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul, ol {
  list-style: none;
}

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

button {
  border: none;
  outline: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
}

/* ── Utility Classes ── */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--container-padding);
}

.section {
  padding: var(--section-padding);
  position: relative;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 16px;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
  line-height: 1.8;
}

.gradient-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-blue {
  background: var(--blue-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.glass-card:hover {
  border-color: rgba(230, 57, 70, 0.2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.btn-primary {
  background: var(--gold-gradient);
  color: #fff;
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(230, 57, 70, 0.5);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: 0.6s ease;
}

.btn-primary:hover::after {
  left: 100%;
}

.btn-secondary {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}

.btn-secondary:hover {
  background: var(--gold);
  color: #000;
  box-shadow: var(--shadow-gold);
}

.btn-blue {
  background: var(--blue-gradient);
  color: #fff;
  box-shadow: var(--shadow-blue);
}

.btn-blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(0, 150, 199, 0.5);
}

/* ── Pulse Animation for CTA ── */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(230, 57, 70, 0.3); }
  50% { box-shadow: 0 0 40px rgba(230, 57, 70, 0.6); }
}

.btn-pulse {
  animation: pulse-glow 2s ease-in-out infinite;
}

/* ============================================
   TOP BANNER
   ============================================ */
.top-banner {
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-dark));
  background-size: 200% 100%;
  animation: banner-shimmer 3s ease-in-out infinite;
  color: #fff;
  text-align: center;
  padding: 10px 20px;
  font-weight: 700;
  font-size: 0.9rem;
  position: relative;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

@keyframes banner-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.top-banner .close-banner {
  position: absolute;
  left: 20px;
  background: rgba(0,0,0,0.2);
  border: none;
  color: #000;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  transition: var(--transition-fast);
}

.top-banner .close-banner:hover {
  background: rgba(0,0,0,0.4);
}

.top-banner.hidden {
  display: none;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition-base);
}

.navbar.scrolled {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--bg-glass-border);
  padding: 10px 0;
}

.navbar.has-banner {
  top: 42px;
}

.navbar.has-banner.scrolled {
  top: 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--text-primary);
}

.navbar-logo .logo-icon {
  width: 42px;
  height: 42px;
  background: var(--gold-gradient);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #000;
  font-weight: 900;
}

.navbar-logo span {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar-menu a {
  white-space: nowrap;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 4px 0;
}

.navbar-menu a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition-base);
}

.navbar-menu a:hover,
.navbar-menu a.active {
  color: var(--gold);
}

.navbar-menu a:hover::after,
.navbar-menu a.active::after {
  width: 100%;
}

.navbar-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.navbar-cta .btn {
  padding: 10px 24px;
  font-size: 0.9rem;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  z-index: 1002;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-base);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-base);
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu a {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition-base);
}

.mobile-menu a:hover {
  color: var(--gold);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

/* Animated Background */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('../public/WhatsApp Image 2026-08-13 at 8.44.24 PM (1).jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: var(--transition-base);
}

/* Light mode overlay - keeps 3D globe and charts visible across the whole page with crystal clear text */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.72) 50%, rgba(255, 255, 255, 0.88) 100%);
  transition: background var(--transition-base);
  z-index: 1;
}

/* Dark mode overlay */
body.dark-mode .hero-bg::before {
  background: linear-gradient(135deg, rgba(11, 17, 32, 0.90) 0%, rgba(11, 17, 32, 0.72) 50%, rgba(11, 17, 32, 0.90) 100%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 50%, var(--bg-primary) 100%);
  pointer-events: none;
  z-index: 2;
}

/* Particles Canvas */
#particles-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Grid Lines Background */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(240, 185, 11, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 185, 11, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(240, 185, 11, 0.1);
  border: 1px solid rgba(230, 57, 70, 0.3);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 24px;
  animation: fadeInDown 0.8s ease forwards;
}

.hero-badge .badge-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: dot-pulse 1.5s ease-in-out infinite;
}

@keyframes dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 8px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero h1 .highlight {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.hero .hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--text-secondary);
  margin-bottom: 12px;
  font-weight: 400;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero .hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.8;
  animation: fadeInUp 0.8s ease 0.5s both;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-partners {
  margin-top: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  opacity: 0.5;
  animation: fadeInUp 0.8s ease 0.8s both;
}

.hero-partners span {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.hero-partners .partner-logo {
  font-size: 1.4rem;
  font-weight: 800;
  font-family: var(--font-en);
  color: var(--text-secondary);
  letter-spacing: 2px;
}

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

.scroll-indicator .mouse {
  width: 26px;
  height: 40px;
  border: 2px solid var(--text-muted);
  border-radius: 13px;
  position: relative;
}

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

@keyframes scroll-down {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(16px); }
}

.scroll-indicator span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats {
  padding: 80px 0;
  position: relative;
}

.stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.3;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.stat-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--transition-base);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.stat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(230, 57, 70, 0.35);
  box-shadow: 0 12px 32px rgba(230, 57, 70, 0.15);
}

.stat-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
  display: inline-block;
  transition: transform var(--transition-fast);
}

.stat-card:hover .stat-icon {
  transform: scale(1.15);
}

.stat-number {
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 800;
  font-family: var(--font-en);
  letter-spacing: -0.5px;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.15;
  direction: ltr;
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}

.stat-number .suffix {
  font-size: 0.6em;
  font-weight: 700;
  color: var(--gold);
  -webkit-text-fill-color: var(--gold);
}

.stat-label {
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 600;
  margin-top: 8px;
  font-family: var(--font-ar);
}

/* ============================================
   FEATURES SECTION (Why MedTrade)
   ============================================ */
.features {
  padding: var(--section-padding);
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.features::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(240, 185, 11, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(240, 185, 11, 0.08), transparent);
  border-radius: 0 var(--radius-lg) 0 100%;
  transition: var(--transition-base);
}

.feature-card:hover {
  border-color: rgba(240, 185, 11, 0.25);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(240, 185, 11, 0.08);
}

.feature-card:hover::before {
  width: 150px;
  height: 150px;
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: rgba(240, 185, 11, 0.1);
  border: 1px solid rgba(230, 57, 70, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  transition: var(--transition-base);
}

.feature-card:hover .feature-icon {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.1);
}

.feature-card:hover .feature-icon span {
  filter: grayscale(1) brightness(0);
}

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

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

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
  padding: var(--section-padding);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-xl);
  padding: 40px 28px;
  text-align: center;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gold-gradient);
  transform: scaleX(0);
  transition: var(--transition-base);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  border-color: rgba(230, 57, 70, 0.2);
  transform: translateY(-8px);
  box-shadow: var(--shadow-card);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: rgba(240, 185, 11, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  transition: var(--transition-spring);
}

.service-card:hover .service-icon {
  transform: scale(1.15) rotate(5deg);
  background: rgba(240, 185, 11, 0.15);
}

.service-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-card .service-link {
  color: var(--gold);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
}

.service-card:hover .service-link {
  gap: 12px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
  padding: var(--section-padding);
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.4;
}

.about-text p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-features-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 30px 0;
}

.about-features-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 1rem;
}

.about-features-list li .check {
  width: 24px;
  height: 24px;
  background: rgba(0, 230, 118, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-size: 0.8rem;
  flex-shrink: 0;
}

.about-visual {
  position: relative;
}

.about-card {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-xl);
  padding: 40px;
  position: relative;
}

.about-card .fxpro-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.2);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  color: var(--blue);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 24px;
}

.about-stats-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.about-stats-mini .mini-stat {
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
}

.about-stats-mini .mini-stat .number {
  font-size: 1.8rem;
  font-weight: 900;
  font-family: var(--font-en);
  color: var(--gold);
}

.about-stats-mini .mini-stat .label {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 4px;
}

/* Floating Decorations */
.float-decoration {
  position: absolute;
  border-radius: var(--radius-md);
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--bg-glass-border);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  animation: float 4s ease-in-out infinite;
  box-shadow: var(--shadow-card);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.float-decoration.top-right {
  top: -20px;
  left: -20px;
  color: var(--green);
  animation-delay: 0s;
}

.float-decoration.bottom-left {
  bottom: -20px;
  right: -20px;
  color: var(--blue);
  animation-delay: 1s;
}

/* ============================================
   FOX INDICATORS SECTION
   ============================================ */
.fox-indicators {
  padding: var(--section-padding);
  position: relative;
  overflow: hidden;
}

.fox-indicators .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.fox-icon-large {
  font-size: 4rem;
  margin-bottom: 16px;
  display: inline-block;
  animation: fox-bounce 2s ease-in-out infinite;
}

@keyframes fox-bounce {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-10px) rotate(-5deg); }
  75% { transform: translateY(-5px) rotate(5deg); }
}

.indicators-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.indicator-card {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-base);
  position: relative;
}

.indicator-card:hover {
  border-color: rgba(255, 152, 0, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(255, 152, 0, 0.1);
}

.indicator-card .card-image {
  height: 180px;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.indicator-card .card-image .chart-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 20px;
  gap: 4px;
}

.indicator-card .card-image .chart-placeholder .bar {
  width: 8px;
  border-radius: 4px 4px 0 0;
  animation: chart-grow 1.5s ease-out forwards;
  opacity: 0;
}

@keyframes chart-grow {
  from { height: 0; opacity: 0; }
  to { opacity: 1; }
}

.indicator-card .card-body {
  padding: 24px;
}

.indicator-card .card-body .level-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.level-badge.beginner {
  background: rgba(0, 230, 118, 0.1);
  color: var(--green);
  border: 1px solid rgba(0, 230, 118, 0.2);
}

.level-badge.intermediate {
  background: rgba(240, 185, 11, 0.1);
  color: var(--gold);
  border: 1px solid rgba(230, 57, 70, 0.2);
}

.level-badge.advanced {
  background: rgba(255, 61, 87, 0.1);
  color: var(--red);
  border: 1px solid rgba(255, 61, 87, 0.2);
}

.indicator-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.indicator-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.indicator-card .card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ============================================
   COPY TRADING SECTION
   ============================================ */
.copy-trading {
  padding: var(--section-padding);
  background: var(--bg-secondary);
  position: relative;
}

.copy-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
  position: relative;
}

.copy-steps::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--blue), var(--green));
  opacity: 0.3;
}

.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: var(--bg-glass);
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 900;
  font-family: var(--font-en);
  color: var(--gold);
  position: relative;
}

.step-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Traders Grid */
.traders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.trader-card {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition-base);
}

.trader-card:hover {
  border-color: rgba(0, 230, 118, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 230, 118, 0.08);
}

.trader-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.trader-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  color: #000;
}

.trader-info h4 {
  font-weight: 700;
  font-size: 1.05rem;
}

.trader-info .trader-type {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.trader-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.trader-stat {
  background: rgba(255, 255, 255, 0.03);
  padding: 12px;
  border-radius: var(--radius-sm);
  text-align: center;
}

.trader-stat .value {
  font-weight: 800;
  font-size: 1.1rem;
  font-family: var(--font-en);
}

.trader-stat .value.profit {
  color: var(--green);
}

.trader-stat .label {
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-top: 2px;
}

/* Risk Level */
.risk-level {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.risk-level span {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.risk-bars {
  display: flex;
  gap: 3px;
}

.risk-bars .bar {
  width: 20px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
}

.risk-bars .bar.active.low { background: var(--green); }
.risk-bars .bar.active.medium { background: var(--gold); }
.risk-bars .bar.active.high { background: var(--red); }

/* ============================================
   EDUCATION / COURSES SECTION
   ============================================ */
.education {
  padding: var(--section-padding);
  position: relative;
}

/* Learning Path */
.learning-path {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 60px;
  position: relative;
  flex-wrap: wrap;
}

.path-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  background: var(--bg-glass);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition-base);
  position: relative;
}

.path-step:hover {
  border-color: rgba(230, 57, 70, 0.3);
  background: rgba(240, 185, 11, 0.05);
}

.path-step .path-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.path-step .path-dot.green { background: var(--green); }
.path-step .path-dot.yellow { background: var(--gold); }
.path-step .path-dot.red { background: var(--red); }

.path-connector {
  width: 40px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  align-self: center;
}

/* Courses Grid */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.course-card {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-base);
}

.course-card:hover {
  border-color: rgba(0, 212, 255, 0.2);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 212, 255, 0.08);
}

.course-image {
  height: 160px;
  position: relative;
  overflow: hidden;
}

.course-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-image .course-level {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.course-image .course-level.beginner {
  background: rgba(0, 230, 118, 0.2);
  color: var(--green);
}

.course-image .course-level.intermediate {
  background: rgba(230, 57, 70, 0.2);
  color: var(--gold);
}

.course-image .course-level.advanced {
  background: rgba(255, 61, 87, 0.2);
  color: var(--red);
}

.course-image .free-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--green);
  color: #000;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}

.course-body {
  padding: 24px;
}

.course-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.course-body p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.course-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-bottom: 16px;
}

.course-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ============================================
   LIBRARY / BOOKS SECTION
   ============================================ */
.library {
  padding: var(--section-padding);
  background: var(--bg-secondary);
  position: relative;
}

/* Filter Buttons */
.filter-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  border-radius: var(--radius-full);
  background: var(--bg-glass);
  border: 1px solid var(--bg-glass-border);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-base);
}

.filter-btn:hover,
.filter-btn.active {
  background: rgba(240, 185, 11, 0.1);
  border-color: rgba(230, 57, 70, 0.3);
  color: var(--gold);
}

/* Books Grid */
.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.book-card {
  text-align: center;
  transition: var(--transition-base);
  cursor: pointer;
}

.book-card:hover {
  transform: translateY(-8px);
}

.book-cover-wrapper {
  perspective: 800px;
  margin-bottom: 20px;
}

.book-cover {
  width: 180px;
  height: 260px;
  margin: 0 auto;
  background: linear-gradient(135deg, #1a237e, #283593);
  border-radius: 4px 16px 16px 4px;
  position: relative;
  transform-style: preserve-3d;
  transition: var(--transition-slow);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-shadow: 
    -6px 6px 18px rgba(0, 0, 0, 0.5),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.book-card:hover .book-cover {
  transform: rotateY(-15deg);
  box-shadow: 
    -12px 12px 30px rgba(0, 0, 0, 0.6),
    inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.book-cover::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 30px;
  height: 100%;
  background: linear-gradient(90deg, rgba(0,0,0,0.2), transparent);
  border-radius: 0 16px 16px 0;
}

.book-cover .book-title-inner {
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
  line-height: 1.5;
}

.book-cover .book-emoji {
  font-size: 2rem;
  display: block;
  margin-bottom: 12px;
}

.book-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.book-card .book-author {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 12px;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
  padding: var(--section-padding);
  position: relative;
  overflow: hidden;
}

.testimonials-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  transition: var(--transition-base);
}

.testimonial-card:hover {
  border-color: rgba(240, 185, 11, 0.15);
}

.testimonial-card .quote-mark {
  font-size: 3rem;
  color: var(--gold);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 12px;
  font-family: serif;
}

.testimonial-card .quote-text {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-author .avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: #000;
}

.testimonial-author .author-info h4 {
  font-weight: 700;
  font-size: 0.95rem;
}

.testimonial-author .author-info span {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.testimonial-stars {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
  padding: var(--section-padding);
  background: var(--bg-secondary);
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  position: relative;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 1rem;
  transition: var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(240, 185, 11, 0.1);
  background: rgba(240, 185, 11, 0.02);
}

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

.form-group textarea {
  height: 140px;
  resize: vertical;
}

.form-group select {
  appearance: none;
  cursor: pointer;
}

.form-group select option {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

/* Contact Info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--bg-glass);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-md);
  transition: var(--transition-base);
  cursor: pointer;
}

.contact-info-card:hover {
  border-color: rgba(230, 57, 70, 0.2);
  transform: translateX(-4px);
}

.contact-info-card .icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-info-card .icon.whatsapp {
  background: rgba(37, 211, 102, 0.15);
}

.contact-info-card .icon.telegram {
  background: rgba(0, 136, 204, 0.15);
}

.contact-info-card .icon.instagram {
  background: rgba(225, 48, 108, 0.15);
}

.contact-info-card .icon.tiktok {
  background: rgba(255, 255, 255, 0.08);
}

.contact-info-card .details h4 {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.contact-info-card .details p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Social Grid */
.social-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: var(--bg-glass);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition-base);
}

.social-link:hover {
  border-color: rgba(230, 57, 70, 0.2);
  transform: translateY(-2px);
}

.social-link .social-icon {
  font-size: 1.2rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 60px 0 0;
  background: var(--bg-primary);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

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

.footer-brand .footer-logo .logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gold-gradient);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #000;
  font-size: 1.1rem;
}

.footer-brand .footer-logo span {
  font-size: 1.4rem;
  font-weight: 800;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition-base);
}

.footer-social a:hover {
  background: var(--gold);
  color: #000;
  transform: translateY(-2px);
}

.footer-column h4 {
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
  font-size: 1.05rem;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition-base);
}

.footer-column ul li a:hover {
  color: var(--gold);
  padding-right: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 20px 0;
}

.footer-bottom-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Risk Disclaimer */
.risk-disclaimer {
  background: rgba(255, 61, 87, 0.05);
  border: 1px solid rgba(255, 61, 87, 0.15);
  border-radius: var(--radius-md);
  padding: 20px;
  margin: 30px 0;
}

.risk-disclaimer h5 {
  color: var(--red);
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.risk-disclaimer p {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.7;
}

/* ============================================
   FLOATING WHATSAPP BUTTON
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 998;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  transition: var(--transition-base);
  animation: whatsapp-pulse 2s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

@keyframes whatsapp-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1); }
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered children animation */
.stagger-children .reveal {
  transition-delay: calc(var(--i, 0) * 0.1s);
}

/* ============================================
   LOADING SCREEN
   ============================================ */
.loading-screen {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-logo {
  font-size: 2rem;
  font-weight: 900;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: loading-pulse 1.5s ease-in-out infinite;
}

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

.loading-bar {
  width: 200px;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.loading-bar-inner {
  width: 40%;
  height: 100%;
  background: var(--gold-gradient);
  border-radius: 2px;
  animation: loading-bar-anim 1.2s ease-in-out infinite;
}

@keyframes loading-bar-anim {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 997;
  width: 48px;
  height: 48px;
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--bg-glass-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-base);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
  transform: translateY(-4px);
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq {
  padding: var(--section-padding);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-glass);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-base);
}

.faq-item:hover {
  border-color: rgba(240, 185, 11, 0.15);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition-base);
}

.faq-question:hover {
  color: var(--gold);
}

.faq-question .faq-icon {
  transition: var(--transition-base);
  font-size: 1.2rem;
  color: var(--gold);
}

.faq-item.open .faq-question .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 0.95rem;
}

/* ============================================
   CTA SECTION (Call to Action)
   ============================================ */
.cta-section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-box {
  background: linear-gradient(135deg, rgba(240, 185, 11, 0.08), rgba(0, 212, 255, 0.05));
  border: 1px solid rgba(240, 185, 11, 0.15);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 40%, rgba(240, 185, 11, 0.05), transparent 60%);
  pointer-events: none;
}

.cta-box h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 16px;
  position: relative;
}

.cta-box p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto 30px;
  line-height: 1.7;
  position: relative;
}

.cta-box .cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
  .navbar-menu {
    display: none;
  }
  
  .hamburger {
    display: flex;
  }
  
  .mobile-menu {
    display: flex;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px 0;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .copy-steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .copy-steps::before {
    display: none;
  }
  
  .learning-path {
    flex-direction: column;
    align-items: center;
  }
  
  .path-connector {
    width: 2px;
    height: 30px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }
  
  .social-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonials-container {
    grid-template-columns: 1fr;
  }
  
  .hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  
  .hero-partners {
    flex-direction: column;
    gap: 12px;
  }
  
  .whatsapp-float {
    bottom: 20px;
    left: 20px;
    width: 54px;
    height: 54px;
    font-size: 1.5rem;
  }
  
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
  
  .books-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .book-cover {
    width: 140px;
    height: 200px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .traders-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Animations Keyframes ── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ── Custom Scrollbar ── */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: rgba(230, 57, 70, 0.3);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(230, 57, 70, 0.5);
}

/* ── Selection Color ── */
::selection {
  background: rgba(230, 57, 70, 0.3);
  color: var(--text-primary);
}

/* ── Language Toggle ── */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition-base);
  font-family: var(--font-en);
}
.lang-toggle:hover {
  background: rgba(255,255,255,0.15);
  color: var(--text-primary);
  border-color: rgba(255,255,255,0.25);
}
.lang-toggle .lang-icon {
  font-size: 1.1rem;
}

/* ── Indicator Card Image Fix ── */
.indicator-card .card-image {
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.indicator-card .card-image img {
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

/* ── Reviews Marquee Enhancements ── */
.reviews {
  overflow: hidden !important;
}
.reviews .section-title,
.reviews .section-subtitle {
  text-align: center;
}

/* ── Language Toggle ── */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition-base);
  font-family: var(--font-en);
}
.lang-toggle:hover {
  background: rgba(255,255,255,0.15);
  color: var(--text-primary);
  border-color: rgba(255,255,255,0.25);
}
.lang-toggle .lang-icon {
  font-size: 1.1rem;
}

/* ── Indicator Card Image Fix ── */
.indicator-card .card-image {
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.indicator-card .card-image img {
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

/* ── Reviews Marquee Enhancements ── */
.reviews {
  overflow: hidden !important;
}
.reviews .section-title,
.reviews .section-subtitle {
  text-align: center;
}

/* ── Language Toggle ── */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition-base);
  font-family: var(--font-en);
}
.lang-toggle:hover {
  background: rgba(255,255,255,0.15);
  color: var(--text-primary);
  border-color: rgba(255,255,255,0.25);
}
.lang-toggle .lang-icon {
  font-size: 1.1rem;
}

/* ── Indicator Card Image Fix ── */
.indicator-card .card-image {
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.indicator-card .card-image img {
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

/* ── Reviews Marquee Enhancements ── */
.reviews {
  overflow: hidden !important;
}
.reviews .section-title,
.reviews .section-subtitle {
  text-align: center;
}


/* Push hero content down so it does not overlap background text */


/* Glassmorphism for Hero Content to prevent text clash */
.hero-content {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 50px !important;
  border-radius: 24px !important;
  border: none !important;
  box-shadow: none !important;
  margin-top: 0 !important;
}

body.light-theme .hero-content {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Trading Background Animation */
.trading-bg-animation {
  position: relative;
  overflow: hidden;
}
.trading-bg-animation::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background-image: 
    linear-gradient(rgba(240, 185, 11, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 185, 11, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 0;
  animation: moveGrid 30s linear infinite;
  pointer-events: none;
}
@keyframes moveGrid {
  0% { transform: translateY(0); }
  100% { transform: translateY(50px); }
}
.trading-bg-animation > .container,
.trading-bg-animation > .section-title,
.trading-bg-animation > .section-subtitle {
  position: relative;
  z-index: 1;
}

/* Thaal Logo Animation */
.thaal-animated-logo {
  border-radius: 50% !important;
  object-fit: cover !important;
  animation: floatAndGlow 4s ease-in-out infinite alternate;
  box-shadow: 0 0 15px rgba(240, 185, 11, 0.4);
}
@keyframes floatAndGlow {
  0% { transform: translateY(0px) scale(1); box-shadow: 0 0 15px rgba(240, 185, 11, 0.4); }
  100% { transform: translateY(-10px) scale(1.05); box-shadow: 0 0 30px rgba(240, 185, 11, 0.8); }
}

.fox-indicators {
  position: relative;
  background: radial-gradient(circle at center, rgba(10, 20, 30, 0.8) 0%, #0a0a0a 100%) !important;
  z-index: 1;
}


.fox-indicators::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(0, 150, 199, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(212, 175, 55, 0.1) 0%, transparent 40%),
    linear-gradient(rgba(10, 15, 25, 0.9) 0%, rgba(5, 8, 15, 0.95) 100%),
    url('../public/thaal_new.jpeg');
  background-size: cover, cover, cover, cover;
  background-position: center;
  background-blend-mode: screen, screen, normal, overlay;
  opacity: 0.15;
  z-index: -1;
  pointer-events: none;
  filter: contrast(1.2) brightness(1.5);
  animation: bgPulse 10s ease-in-out infinite alternate;
}

.fox-indicators::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: -1;
  pointer-events: none;
}

@keyframes bgPulse {
  0% { transform: scale(1); opacity: 0.1; }
  100% { transform: scale(1.05); opacity: 0.2; }
}

.premium-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(0, 150, 199, 0.2);
  border-radius: 20px;
  padding: 30px;
  text-align: right;
  backdrop-filter: blur(12px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.premium-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(0, 150, 199, 0.1) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.premium-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 20px 40px rgba(0, 150, 199, 0.2);
}

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

.premium-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: inline-block;
  filter: drop-shadow(0 0 10px rgba(0, 150, 199, 0.5));
}

.premium-card h4 {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 15px;
  font-weight: 800;
}

.premium-card p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  font-size: 1rem;
}

  100% { transform: translate(-50%, -50%) scale(1.05); opacity: 0.05; }
}

/* Make sure container is above background */
.fox-indicators .container {
  position: relative;
  z-index: 2;
}


body.dark-theme {
  --bg-primary: #0F172A;
  --bg-secondary: #1E293B;
  --bg-card: rgba(30, 41, 59, 0.9);
  --bg-glass: rgba(15, 23, 42, 0.8);
  --bg-glass-border: rgba(255, 255, 255, 0.08);
  
  --text-primary: #F8FAFC;
  --text-secondary: #CBD5E1;
  --text-muted: #94A3B8;
}

body.dark-theme .navbar {
  background: var(--bg-glass);
}
body.dark-theme .course-body,
body.dark-theme .book-card,
body.dark-theme .platform-card,
body.dark-theme .feature-card {
  background: var(--bg-card);
  color: var(--text-primary);
}


/* ============================================
   Masonry Gallery (Professional Design)
   ============================================ */
.masonry-gallery {
  column-count: 3;
  column-gap: 24px;
  padding: 20px;
}

@media (max-width: 992px) {
  .masonry-gallery { column-count: 2; }
}

@media (max-width: 576px) {
  .masonry-gallery { column-count: 1; }
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 24px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s ease;
  position: relative;
  cursor: pointer;
  background: #000;
}

.masonry-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
  opacity: 0.9;
}

.masonry-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
  z-index: 10;
}

.masonry-item:hover img {
  transform: scale(1.1);
  opacity: 1;
}

.masonry-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,150,199,0.8) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.masonry-item:hover::after {
  opacity: 1;
}

/* VIDEO HERO BACKGROUND ENHANCEMENTS */
.video-bg-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.video-bg-container video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.video-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(10, 15, 25, 0.72) 0%, rgba(10, 15, 25, 0.58) 50%, rgba(10, 15, 25, 0.88) 100%);
  z-index: 1;
  pointer-events: none;
}

@media (max-width: 768px) {
  .hero {
    min-height: 100svh !important;
    min-height: 100vh !important;
    padding: 100px 16px 50px !important;
  }
  .video-bg-container {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  .video-bg-container video {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}
