/*
Theme Name: Fordex Capital
Theme URI: https://fordexcapital.com
Author: Fordex Capital
Author URI: https://fordexcapital.com
Description: Professional Forex Trading Platform Theme - Dark Blue & White with Light/Dark Mode
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fordex-capital
Tags: dark, finance, forex, trading, professional, responsive
*/

/* ============================================================
   FORDEX CAPITAL - MASTER STYLESHEET
   Dark Blue & White | Light & Dark Mode | Fully Responsive
   ============================================================ */

/* ── CSS CUSTOM PROPERTIES ── */
:root {
  /* Brand Colors */
  --fc-navy:        #050d1f;
  --fc-navy-2:      #0a1628;
  --fc-navy-3:      #0f1e38;
  --fc-navy-4:      #162244;
  --fc-blue:        #1a56db;
  --fc-blue-light:  #3b82f6;
  --fc-blue-glow:   #60a5fa;
  --fc-cyan:        #06b6d4;
  --fc-gold:        #f59e0b;
  --fc-white:       #ffffff;
  --fc-off-white:   #f8fafc;
  --fc-gray-100:    #f1f5f9;
  --fc-gray-200:    #e2e8f0;
  --fc-gray-300:    #cbd5e1;
  --fc-gray-400:    #94a3b8;
  --fc-gray-500:    #64748b;
  --fc-gray-600:    #475569;
  --fc-gray-700:    #334155;
  --fc-gray-800:    #1e293b;
  --fc-gray-900:    #0f172a;
  --fc-green:       #10b981;
  --fc-green-dim:   #064e3b;
  --fc-red:         #ef4444;
  --fc-red-dim:     #7f1d1d;

  /* Dark Mode Defaults */
  --bg-primary:     var(--fc-navy);
  --bg-secondary:   var(--fc-navy-2);
  --bg-tertiary:    var(--fc-navy-3);
  --bg-card:        var(--fc-navy-3);
  --bg-card-hover:  var(--fc-navy-4);
  --border-color:   rgba(26, 86, 219, 0.2);
  --border-subtle:  rgba(255, 255, 255, 0.06);
  --text-primary:   #f0f6ff;
  --text-secondary: var(--fc-gray-400);
  --text-muted:     var(--fc-gray-500);
  --text-heading:   #ffffff;
  --accent:         var(--fc-blue);
  --accent-light:   var(--fc-blue-light);
  --accent-glow:    rgba(26, 86, 219, 0.35);
  --shadow-card:    0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-glow:    0 0 40px rgba(26, 86, 219, 0.2);
  --nav-bg:         rgba(5, 13, 31, 0.92);
  --ticker-bg:      var(--fc-navy-2);

  /* Typography */
  --font-display:   'Syne', sans-serif;
  --font-body:      'DM Sans', sans-serif;
  --font-mono:      'JetBrains Mono', monospace;

  /* Spacing */
  --space-xs:   0.25rem;
  --space-sm:   0.5rem;
  --space-md:   1rem;
  --space-lg:   1.5rem;
  --space-xl:   2rem;
  --space-2xl:  3rem;
  --space-3xl:  4rem;
  --space-4xl:  6rem;

  /* Layout */
  --max-width:    1280px;
  --nav-height:   72px;
  --radius-sm:    6px;
  --radius-md:    12px;
  --radius-lg:    18px;
  --radius-xl:    24px;
  --radius-full:  9999px;

  /* Transitions */
  --transition-fast:   150ms ease;
  --transition-base:   250ms ease;
  --transition-slow:   400ms ease;
  --transition-spring: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── LIGHT MODE ── */
[data-theme="light"] {
  --bg-primary:     #f0f4ff;
  --bg-secondary:   #ffffff;
  --bg-tertiary:    #f8faff;
  --bg-card:        #ffffff;
  --bg-card-hover:  #f1f5ff;
  --border-color:   rgba(26, 86, 219, 0.15);
  --border-subtle:  rgba(0, 0, 0, 0.07);
  --text-primary:   #0f172a;
  --text-secondary: #475569;
  --text-muted:     #94a3b8;
  --text-heading:   #050d1f;
  --accent-glow:    rgba(26, 86, 219, 0.12);
  --shadow-card:    0 4px 24px rgba(26, 86, 219, 0.08);
  --shadow-glow:    0 0 40px rgba(26, 86, 219, 0.08);
  --nav-bg:         rgba(255, 255, 255, 0.95);
  --ticker-bg:      #ffffff;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition-base), color var(--transition-base);
}

body.nav-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-heading);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p { color: var(--text-secondary); line-height: 1.75; }

.fc-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fc-blue-light);
  display: block;
  margin-bottom: 0.5rem;
}

/* ── LAYOUT UTILITIES ── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

@media (max-width: 768px) {
  .container { padding: 0 var(--space-md); }
}

.section { padding: var(--space-4xl) 0; }
.section-sm { padding: var(--space-2xl) 0; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-xl); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-xl); }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { display: flex; flex-direction: column; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }

.text-center { text-align: center; }
.text-right  { text-align: right; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all var(--transition-base);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.btn:hover::after { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, var(--fc-blue) 0%, #1d4ed8 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(26, 86, 219, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(26, 86, 219, 0.55);
}

.btn-outline {
  border: 1.5px solid var(--border-color);
  color: var(--text-primary);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--fc-blue-light);
  color: var(--fc-blue-light);
  background: rgba(26, 86, 219, 0.08);
}

.btn-ghost {
  color: var(--text-secondary);
  background: transparent;
}

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

.btn-gold {
  background: linear-gradient(135deg, var(--fc-gold) 0%, #d97706 100%);
  color: #000;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.35);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(245, 158, 11, 0.5);
}

.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.82rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1rem; }

/* ── BADGE / PILL ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-blue   { background: rgba(26,86,219,0.15); color: var(--fc-blue-light); }
.badge-green  { background: rgba(16,185,129,0.15); color: var(--fc-green); }
.badge-red    { background: rgba(239,68,68,0.15); color: var(--fc-red); }
.badge-gold   { background: rgba(245,158,11,0.15); color: var(--fc-gold); }

/* ── CARDS ── */
.fc-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.fc-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(26,86,219,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.fc-card:hover {
  border-color: var(--border-color);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

/* ── SECTION HEADER ── */
.section-header {
  margin-bottom: var(--space-3xl);
}

.section-header.centered { text-align: center; }

.section-header h2 { margin-bottom: 0.75rem; }

.section-header p {
  font-size: 1.05rem;
  max-width: 560px;
}

.section-header.centered p {
  margin: 0 auto;
}

/* ── DIVIDER ── */
.fc-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: var(--space-xl) 0;
}

/* ── GLOW ORBS (decorative) ── */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.glow-orb-blue {
  background: radial-gradient(circle, rgba(26,86,219,0.3) 0%, transparent 70%);
}

.glow-orb-cyan {
  background: radial-gradient(circle, rgba(6,182,212,0.2) 0%, transparent 70%);
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--fc-gray-700); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--fc-blue); }

/* ════════════════════════════════════════════
   TICKER BAR
════════════════════════════════════════════ */
.ticker-bar {
  background: var(--ticker-bg);
  border-bottom: 1px solid var(--border-subtle);
  height: 36px;
  overflow: hidden;
  position: relative;
  z-index: 1001;
}

.ticker-inner {
  display: flex;
  align-items: center;
  height: 100%;
  white-space: nowrap;
  animation: tickerScroll 60s linear infinite;
}

.ticker-bar:hover .ticker-inner { animation-play-state: paused; }

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

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-right: 1px solid var(--border-subtle);
}

.ticker-item .pair { color: var(--text-primary); font-weight: 700; }
.ticker-item .price { color: var(--text-primary); }
.ticker-item .change.up   { color: var(--fc-green); }
.ticker-item .change.down { color: var(--fc-red); }

.ticker-item img.pair-icon {
  width: 16px; height: 16px;
  border-radius: 50%;
  object-fit: cover;
}

/* ════════════════════════════════════════════
   NAVIGATION
════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: var(--nav-bg);
  border-bottom: 1px solid var(--border-subtle);
  height: var(--nav-height);
  transition: all var(--transition-base);
}

.site-header.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,0.25);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  gap: var(--space-xl);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
  text-decoration: none;
}

.nav-logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--fc-blue) 0%, var(--fc-cyan) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.03em;
}

.nav-logo-text span { color: var(--fc-blue-light); }

/* Main Nav */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
  justify-content: center;
}

.nav-item { position: relative; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}

.nav-link.active { color: var(--fc-blue-light); }

.nav-link svg {
  width: 14px; height: 14px;
  transition: transform var(--transition-fast);
}

.nav-item:hover .nav-link svg { transform: rotate(180deg); }

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.5rem;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all var(--transition-base);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  z-index: 100;
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 0.6rem 0.9rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.nav-dropdown a:hover {
  color: var(--text-primary);
  background: rgba(26,86,219,0.1);
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* Theme Toggle */
.theme-toggle {
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.theme-toggle:hover {
  color: var(--text-primary);
  border-color: var(--border-color);
  background: rgba(26,86,219,0.1);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon { width: 18px; height: 18px; }

[data-theme="light"] .icon-moon { display: none; }
[data-theme="dark"]  .icon-sun  { display: none; }
.icon-sun, .icon-moon { display: block; }

/* Mobile Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 38px; height: 38px;
  padding: 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  background: transparent;
}

.nav-hamburger span {
  display: block;
  width: 100%; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  z-index: 999;
  padding: calc(var(--nav-height) + var(--space-xl)) var(--space-xl) var(--space-xl);
  flex-direction: column;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--transition-slow);
}

.mobile-nav.open {
  display: flex;
  transform: translateX(0);
}

.mobile-nav-link {
  display: block;
  padding: 1rem 0;
  font-size: 1.2rem;
  font-weight: 600;
  font-family: var(--font-display);
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
}

@media (max-width: 1024px) {
  .nav-menu { display: none; }
  .nav-hamburger { display: flex; }
}

@media (max-width: 480px) {
  .nav-actions .btn-outline { display: none; }
}

/* ════════════════════════════════════════════
   HERO SECTION
════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-height) - 36px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: var(--space-4xl) 0;
}

/* Hero Slideshow Background */
.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out, transform 8s ease;
  transform: scale(1.05);
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(5, 13, 31, 0.92) 0%,
    rgba(5, 13, 31, 0.78) 50%,
    rgba(10, 22, 40, 0.6) 100%
  );
  z-index: 1;
}

[data-theme="light"] .hero-overlay {
  background: linear-gradient(
    135deg,
    rgba(240, 244, 255, 0.92) 0%,
    rgba(240, 244, 255, 0.80) 50%,
    rgba(255, 255, 255, 0.65) 100%
  );
}

/* Animated Grid */
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(26,86,219,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,86,219,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

/* Floating particles */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--fc-blue-light);
  opacity: 0;
  animation: particleFloat 8s ease-in-out infinite;
}

@keyframes particleFloat {
  0%   { opacity: 0; transform: translateY(0) scale(0); }
  20%  { opacity: 0.8; transform: translateY(-20px) scale(1); }
  80%  { opacity: 0.4; transform: translateY(-80px) scale(0.5); }
  100% { opacity: 0; transform: translateY(-120px) scale(0); }
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(26,86,219,0.15);
  border: 1px solid rgba(26,86,219,0.3);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--fc-blue-light);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-lg);
  backdrop-filter: blur(10px);
}

.hero-badge .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--fc-green);
  box-shadow: 0 0 8px var(--fc-green);
  animation: pulse 2s ease infinite;
}

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

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-lg);
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--fc-blue-light) 0%, var(--fc-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: var(--space-2xl);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-3xl);
}

/* Hero Stats */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xl);
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hero-stat-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.04em;
}

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

/* Hero Right Panel */
.hero-right {
  position: relative;
  z-index: 2;
}

.hero-card-float {
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(26,86,219,0.2);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(26,86,219,0.1);
}

[data-theme="light"] .hero-card-float {
  background: rgba(255,255,255,0.92);
  box-shadow: 0 20px 60px rgba(26,86,219,0.12);
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

@media (max-width: 1024px) {
  .hero-layout { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .hero-content { max-width: 100%; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
}

@media (max-width: 480px) {
  .hero { padding: var(--space-3xl) 0; }
  .hero-title { font-size: 2.2rem; }
  .hero-stat-value { font-size: 1.4rem; }
}

/* Hero Slide Indicators */
.hero-indicators {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.5rem;
}

.hero-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transition: all var(--transition-base);
  cursor: pointer;
}

.hero-dot.active {
  background: var(--fc-blue-light);
  width: 24px;
  border-radius: 3px;
}

/* ════════════════════════════════════════════
   FEATURES / STATS BAR
════════════════════════════════════════════ */
.stats-bar {
  background: var(--bg-card);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: var(--space-xl) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  divide-x: 1px solid var(--border-subtle);
}

.stat-item {
  padding: var(--space-lg) var(--space-xl);
  border-right: 1px solid var(--border-subtle);
  text-align: center;
}

.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.04em;
  display: block;
  background: linear-gradient(135deg, var(--fc-blue-light) 0%, var(--fc-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  display: block;
}

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border-subtle); }
  .stat-item:last-child { border-bottom: none; }
}

/* ════════════════════════════════════════════
   WHY FORDEX SECTION
════════════════════════════════════════════ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .features-grid { grid-template-columns: 1fr; }
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,86,219,0.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.feature-card:hover {
  border-color: var(--border-color);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.feature-card:hover::after { opacity: 1; }

.feature-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: rgba(26,86,219,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  color: var(--fc-blue-light);
  transition: all var(--transition-base);
}

.feature-icon svg { width: 26px; height: 26px; }

.feature-card:hover .feature-icon {
  background: var(--fc-blue);
  color: white;
  box-shadow: 0 8px 24px rgba(26,86,219,0.4);
}

.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ════════════════════════════════════════════
   LIVE MARKETS SECTION
════════════════════════════════════════════ */
.markets-section {
  background: var(--bg-secondary);
  padding: var(--space-4xl) 0;
}

.markets-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

.market-tab {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.market-tab.active,
.market-tab:hover {
  background: var(--fc-blue);
  color: white;
  border-color: var(--fc-blue);
}

.markets-table-wrap {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
}

.markets-table {
  width: 100%;
  border-collapse: collapse;
}

.markets-table thead {
  background: var(--bg-tertiary);
}

.markets-table th {
  padding: 0.9rem 1.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

.markets-table td {
  padding: 0.9rem 1.25rem;
  font-size: 0.875rem;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-subtle);
}

.markets-table tbody tr {
  transition: background var(--transition-fast);
}

.markets-table tbody tr:hover { background: var(--bg-card-hover); }
.markets-table tbody tr:last-child td { border-bottom: none; }

.pair-cell {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pair-icons {
  position: relative;
  width: 36px; height: 22px;
}

.pair-icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 2px solid var(--bg-card);
  position: absolute;
  top: 0;
}

.pair-icon:first-child { left: 0; z-index: 2; }
.pair-icon:last-child  { left: 14px; z-index: 1; }

.pair-name {
  font-weight: 700;
  font-family: var(--font-mono);
  font-size: 0.875rem;
}

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

.price-cell {
  font-family: var(--font-mono);
  font-weight: 600;
}

.change-cell {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.82rem;
}

.change-cell.positive { color: var(--fc-green); }
.change-cell.negative { color: var(--fc-red); }

.mini-chart { width: 80px; height: 36px; }

@media (max-width: 768px) {
  .markets-table th:nth-child(n+4),
  .markets-table td:nth-child(n+4) { display: none; }
}

/* ════════════════════════════════════════════
   INVESTMENT PLANS
════════════════════════════════════════════ */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

@media (max-width: 1024px) { .plans-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .plans-grid { grid-template-columns: 1fr; } }

.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl) var(--space-xl);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.plan-card.featured {
  border-color: var(--fc-blue);
  box-shadow: 0 0 0 1px var(--fc-blue), var(--shadow-glow);
}

.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}

.plan-card.featured:hover {
  box-shadow: 0 0 0 1px var(--fc-blue), 0 20px 60px rgba(26,86,219,0.25);
}

.plan-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: linear-gradient(135deg, var(--fc-blue), var(--fc-cyan));
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.plan-header { }

.plan-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fc-blue-light);
  margin-bottom: 0.5rem;
}

.plan-return {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--text-heading);
  letter-spacing: -0.05em;
  line-height: 1;
}

.plan-return span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0;
}

.plan-min {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.plan-features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.plan-feature {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.plan-feature svg {
  width: 16px; height: 16px;
  color: var(--fc-green);
  flex-shrink: 0;
}

/* ════════════════════════════════════════════
   TESTIMONIALS
════════════════════════════════════════════ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

@media (max-width: 1024px) { .testimonials-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .testimonials-grid { grid-template-columns: 1fr; } }

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-base);
}

.testimonial-card:hover {
  border-color: var(--border-color);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: var(--space-md);
}

.star { width: 16px; height: 16px; color: var(--fc-gold); }

.testimonial-text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-color);
}

.testimonial-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.testimonial-role {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ════════════════════════════════════════════
   CTA SECTION
════════════════════════════════════════════ */
.cta-section {
  background: linear-gradient(135deg, var(--fc-navy-3) 0%, var(--fc-navy-4) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: var(--space-4xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

[data-theme="light"] .cta-section {
  background: linear-gradient(135deg, #e8f0ff 0%, #d1e0ff 100%);
}

.cta-section .glow-orb {
  width: 400px; height: 400px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.3;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  margin-bottom: var(--space-md);
}

.cta-content p {
  font-size: 1.1rem;
  margin-bottom: var(--space-2xl);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* ════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════ */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding-top: var(--space-4xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  padding-bottom: var(--space-3xl);
  border-bottom: 1px solid var(--border-subtle);
}

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
}

@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  margin: var(--space-md) 0 var(--space-xl);
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 0.5rem;
}

.social-btn {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.social-btn:hover {
  border-color: var(--fc-blue);
  color: var(--fc-blue-light);
  background: rgba(26,86,219,0.1);
}

.social-btn svg { width: 16px; height: 16px; }

.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

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

.footer-links a:hover { color: var(--fc-blue-light); }

.footer-bottom {
  padding: var(--space-lg) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}

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

.footer-legal {
  display: flex;
  gap: var(--space-lg);
}

.footer-legal a {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-legal a:hover { color: var(--fc-blue-light); }

/* ════════════════════════════════════════════
   PAGE HERO (Inner Pages)
════════════════════════════════════════════ */
.page-hero {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
}

.page-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26,86,219,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,86,219,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: var(--space-md);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.breadcrumb a { color: var(--fc-blue-light); }
.breadcrumb svg { width: 12px; height: 12px; }

/* ════════════════════════════════════════════
   ABOUT PAGE SECTIONS
════════════════════════════════════════════ */
.about-hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

@media (max-width: 768px) { .about-hero-split { grid-template-columns: 1fr; } }

.about-img-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.about-img-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-xl);
}

.about-img-badge {
  position: absolute;
  bottom: var(--space-xl);
  left: var(--space-xl);
  background: rgba(10,22,40,0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(26,86,219,0.3);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
}

[data-theme="light"] .about-img-badge {
  background: rgba(255,255,255,0.92);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

@media (max-width: 1024px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .team-grid { grid-template-columns: 1fr; } }

.team-card {
  text-align: center;
}

.team-avatar {
  width: 90px; height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto var(--space-md);
  border: 3px solid var(--border-color);
}

.team-name {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.team-role {
  font-size: 0.78rem;
  color: var(--fc-blue-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

/* ════════════════════════════════════════════
   FAQ SECTION
════════════════════════════════════════════ */
.faq-accordion { max-width: 780px; margin: 0 auto; }

.faq-item {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: all var(--transition-base);
}

.faq-item.open {
  border-color: var(--border-color);
  box-shadow: var(--shadow-glow);
}

.faq-question {
  width: 100%;
  padding: var(--space-lg) var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  background: var(--bg-card);
  cursor: pointer;
  gap: var(--space-md);
  transition: background var(--transition-fast);
}

.faq-question:hover { background: var(--bg-card-hover); }

.faq-question-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.faq-icon {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-base);
  color: var(--fc-blue-light);
}

.faq-icon svg { width: 12px; height: 12px; transition: transform var(--transition-base); }
.faq-item.open .faq-icon svg { transform: rotate(180deg); }
.faq-item.open .faq-icon { background: var(--fc-blue); border-color: var(--fc-blue); color: white; }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow) ease;
}

.faq-item.open .faq-answer { max-height: 400px; }

.faq-answer-inner {
  padding: 0 var(--space-xl) var(--space-lg);
  background: var(--bg-card);
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ════════════════════════════════════════════
   CONTACT PAGE
════════════════════════════════════════════ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: var(--space-3xl);
}

@media (max-width: 768px) { .contact-layout { grid-template-columns: 1fr; } }

.contact-info { display: flex; flex-direction: column; gap: var(--space-lg); }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.contact-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(26,86,219,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fc-blue-light);
  flex-shrink: 0;
}

.contact-icon svg { width: 20px; height: 20px; }

.contact-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

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

/* Form Styles */
.fc-form { display: flex; flex-direction: column; gap: var(--space-md); }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }

.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-input,
.form-textarea,
.form-select {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: var(--text-primary);
  transition: all var(--transition-fast);
  outline: none;
  width: 100%;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--fc-blue);
  box-shadow: 0 0 0 3px rgba(26,86,219,0.15);
  background: var(--bg-card);
}

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

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

/* ════════════════════════════════════════════
   AUTH PAGES
════════════════════════════════════════════ */
.auth-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  background: var(--bg-primary);
}

.auth-left {
  flex: 1;
  background: linear-gradient(135deg, var(--fc-navy-3) 0%, var(--fc-navy-4) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-3xl);
  position: relative;
  overflow: hidden;
}

@media (max-width: 1024px) { .auth-left { display: none; } }

.auth-right {
  width: 480px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-3xl);
  background: var(--bg-secondary);
  border-left: 1px solid var(--border-subtle);
  overflow-y: auto;
}

@media (max-width: 1024px) {
  .auth-right {
    width: 100%;
    border-left: none;
  }
}

@media (max-width: 480px) {
  .auth-right { padding: var(--space-xl) var(--space-md); }
}

.auth-form-title {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.auth-form-sub {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-2xl);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin: var(--space-xl) 0;
}

.auth-divider span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.auth-divider-line {
  flex: 1;
  height: 1px;
  background: var(--border-subtle);
}

.auth-switch {
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: var(--space-xl);
}

.auth-switch a { color: var(--fc-blue-light); font-weight: 600; }

/* Password toggle */
.input-with-action { position: relative; }

.input-with-action .form-input {
  padding-right: 3rem;
}

.input-action-btn {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.25rem;
  display: flex;
  align-items: center;
}

.input-action-btn svg { width: 18px; height: 18px; }

/* ════════════════════════════════════════════
   BLOG PAGE
════════════════════════════════════════════ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

@media (max-width: 1024px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .blog-grid { grid-template-columns: 1fr; } }

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: var(--border-color);
}

.blog-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-body {
  padding: var(--space-lg);
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-sm);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.blog-card-meta .category {
  color: var(--fc-blue-light);
  font-weight: 600;
}

.blog-card-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.4;
  color: var(--text-heading);
  transition: color var(--transition-fast);
}

.blog-card:hover .blog-card-title { color: var(--fc-blue-light); }

.blog-card-excerpt {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ════════════════════════════════════════════
   COPY TRADE / SUBSCRIPTION / ACCOUNT MGMT
════════════════════════════════════════════ */
.trader-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

@media (max-width: 1024px) { .trader-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .trader-grid { grid-template-columns: 1fr; } }

.trader-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-base);
}

.trader-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: var(--border-color);
}

.trader-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.trader-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--fc-blue);
}

.trader-name { font-weight: 700; margin-bottom: 0.2rem; }
.trader-tag  { font-size: 0.78rem; color: var(--text-muted); }

.trader-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  margin: var(--space-lg) 0;
}

.trader-stat-item {
  text-align: center;
  padding: 0.5rem;
  background: var(--bg-tertiary);
  border-radius: var(--radius-sm);
}

.trader-stat-val {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: var(--fc-green);
  display: block;
}

.trader-stat-lbl {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ════════════════════════════════════════════
   NOTIFICATION / TOAST
════════════════════════════════════════════ */
.toast-container {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toast {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.9rem var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.875rem;
  box-shadow: var(--shadow-card);
  transform: translateX(120%);
  transition: transform var(--transition-slow);
  max-width: 360px;
}

.toast.show { transform: translateX(0); }
.toast.success { border-left: 3px solid var(--fc-green); }
.toast.error   { border-left: 3px solid var(--fc-red); }
.toast.info    { border-left: 3px solid var(--fc-blue); }

/* ════════════════════════════════════════════
   ANIMATIONS
════════════════════════════════════════════ */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].animated {
  opacity: 1;
  transform: translateY(0);
}

[data-animate][data-delay="100"] { transition-delay: 0.1s; }
[data-animate][data-delay="200"] { transition-delay: 0.2s; }
[data-animate][data-delay="300"] { transition-delay: 0.3s; }
[data-animate][data-delay="400"] { transition-delay: 0.4s; }
[data-animate][data-delay="500"] { transition-delay: 0.5s; }

/* Number counter animation */
.count-up { display: inline-block; }

/* ════════════════════════════════════════════
   UTILITIES
════════════════════════════════════════════ */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.relative { position: relative; }
.overflow-hidden { overflow: hidden; }
.w-full { width: 100%; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
