/* ============================================================
   TradePro Theme - Main Stylesheet
   A dark-blue fintech/trading WordPress theme
   ============================================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  background-color: #0a1628;
  color: #f8fafc;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: #3b82f6;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #60a5fa;
}

ul,
ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 700;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

::selection {
  background: rgba(59, 130, 246, 0.3);
  color: #f8fafc;
}

/* ------------------------------------------------------------
   2. Header
   ------------------------------------------------------------ */

/* Top Bar */
.top-bar,
.site-top-bar {
  background-color: #0a1628;
  border-bottom: 1px solid #1e3a5f;
  font-size: 13px;
  color: #94a3b8;
  padding: 8px 0;
}

.top-bar-inner,
.site-top-bar .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ticker-wrap,
.ticker-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
  overflow: hidden;
  flex: 1;
  min-width: 0;
  flex-wrap: nowrap;
  white-space: nowrap;
  animation: ticker-scroll 28s linear infinite;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.ticker-wrap > *,
.ticker-wrapper > * {
  flex-shrink: 0;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  font-size: 13px;
}

.ticker-symbol {
  color: #f8fafc;
  font-weight: 600;
}

.ticker-price {
  color: #94a3b8;
}

.ticker-up,
.up {
  color: #22c55e;
}

.ticker-down,
.down {
  color: #ef4444;
}

.ticker-change {
  font-size: 12px;
}

.ticker-divider {
  color: #1e3a5f;
  font-size: 14px;
}

.market-status {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-dot,
.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.market-status.closed .status-dot,
.market-status.closed .pulse-dot {
  background-color: #ef4444;
  animation: none;
}

/* Main Header */
.main-header,
.site-header {
  background-color: #0f2042;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.main-header-inner,
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-branding {
  flex-shrink: 0;
}

.site-logo,
.logo {
  font-size: 24px;
  font-weight: 700;
  color: #f8fafc;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-logo:hover,
.logo:hover {
  color: #f8fafc;
}

.logo-icon {
  flex-shrink: 0;
}

.logo-text {
  white-space: nowrap;
}

.logo-accent,
.logo span {
  color: #3b82f6;
}

.main-navigation,
.main-nav {
  display: flex;
  align-items: center;
}

.main-navigation ul,
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-navigation ul li a,
.main-nav ul li a {
  color: #94a3b8;
  font-weight: 500;
  font-size: 14px;
  transition: color 0.2s ease;
  position: relative;
  text-decoration: none;
}

.main-navigation ul li a:hover,
.main-nav ul li a:hover,
.main-navigation ul li a.current-menu-item,
.main-nav ul li a.current-menu-item {
  color: #f8fafc;
}

.main-navigation ul li a::after,
.main-nav ul li a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #3b82f6;
  transition: width 0.2s ease;
}

.main-navigation ul li a:hover::after,
.main-nav ul li a:hover::after,
.main-navigation ul li a.current-menu-item::after,
.main-nav ul li a.current-menu-item::after {
  width: 100%;
}

.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1100;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #f8fafc;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  text-decoration: none;
  line-height: 1.4;
}

.btn:active {
  transform: scale(0.98);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid #3b82f6;
  color: #3b82f6;
}

.btn-outline:hover {
  background-color: #3b82f6;
  color: #ffffff;
  border-color: #3b82f6;
}

.btn-primary {
  background-color: #3b82f6;
  border: 1px solid #3b82f6;
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
}

.btn-green {
  background-color: #22c55e;
  border: 1px solid #22c55e;
  color: #ffffff;
}

.btn-green:hover {
  background-color: #16a34a;
  border-color: #16a34a;
  color: #ffffff;
}

.btn-gold {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border: 1px solid #f59e0b;
  color: #ffffff;
}

.btn-gold:hover {
  background: linear-gradient(135deg, #d97706, #b45309);
  border-color: #d97706;
  color: #ffffff;
}

.btn-purple {
  background-color: #8b5cf6;
  border: 1px solid #8b5cf6;
  color: #ffffff;
}

.btn-purple:hover {
  background-color: #7c3aed;
  border-color: #7c3aed;
  color: #ffffff;
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
}

.btn-sm {
  padding: 6px 14px;
  font-size: 13px;
}

.btn-danger {
  background-color: #ef4444;
  border: 1px solid #ef4444;
  color: #ffffff;
}

.btn-danger:hover {
  background-color: #dc2626;
  border-color: #dc2626;
  color: #ffffff;
}

.btn-ghost {
  background-color: transparent;
  border: 1px solid transparent;
  color: #94a3b8;
}

.btn-ghost:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: #f8fafc;
}

/* Hamburger (Mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #f8fafc;
  border-radius: 2px;
  transition: all 0.3s ease;
}

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

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

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

/* ------------------------------------------------------------
   3. Hero Section
   ------------------------------------------------------------ */
.hero {
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, rgba(59, 130, 246, 0.04) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero > .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero h1 .highlight {
  color: #3b82f6;
}

.hero > .container > p,
.hero .hero-subtitle {
  font-size: 20px;
  color: #94a3b8;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #1e3a5f;
  flex-wrap: wrap;
}

.hero-stat h3 {
  font-size: 36px;
  font-weight: 700;
  color: #3b82f6;
  margin-bottom: 4px;
}

.hero-stat p {
  color: #94a3b8;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* TradePro - Landing Overrides */
.hero-xpert { padding: 84px 0 72px; }
.hero-xpert-content { max-width: 760px; margin: 0 auto; text-align: center; }
.hero-eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #60a5fa; background: rgba(59,130,246,0.1); border: 1px solid rgba(59,130,246,0.2); padding: 6px 14px; border-radius: 20px; margin-bottom: 22px; }
.hero-xpert .hero-title { font-size: 52px; line-height: 1.05; }
.hero-subtitle-large { font-size: 22px !important; font-weight: 600; color: #e2e8f0 !important; margin-bottom: 28px !important; }
.hero-body { text-align: left; max-width: 680px; margin: 0 auto 28px; background: rgba(17,29,53,0.7); border: 1px solid #1e3a5f; border-radius: 16px; padding: 28px 28px 20px; }
.hero-body p { color: #94a3b8; line-height: 1.75; margin: 0 0 14px; font-size: 15px; }
.hero-body p:last-child { margin-bottom: 0; }
.hero-no { color: #f8fafc !important; font-weight: 600; text-align: center; letter-spacing: 0.02em; }
.hero-performance { margin: 0 auto 28px; max-width: 520px; }
.perf-badge { display: inline-flex; align-items: center; gap: 12px; background: linear-gradient(135deg, rgba(34,197,94,0.12), rgba(59,130,246,0.12)); border: 1px solid rgba(34,197,94,0.25); border-radius: 12px; padding: 12px 18px; }
.perf-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.07em; color: #94a3b8; }
.perf-value { font-size: 20px; font-weight: 800; color: #22c55e; }
.perf-disclaimer { font-size: 12px; color: #64748b; margin-top: 10px; line-height: 1.5; }

/* Why Choose checklist */
.xpert-checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; max-width: 760px; margin: 0 auto; }
.check-item { display: flex; align-items: center; gap: 12px; background: #111d35; border: 1px solid #1e3a5f; border-radius: 12px; padding: 16px 18px; font-size: 15px; font-weight: 500; color: #e2e8f0; }
.check-icon { font-size: 18px; flex-shrink: 0; }

/* How It Works - 5 steps */
.how-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 8px; }
.how-step { background: #111d35; border: 1px solid #1e3a5f; border-radius: 16px; padding: 28px 20px 24px; text-align: center; position: relative; transition: border-color 0.2s, transform 0.2s; }
.how-step:hover { border-color: #334155; transform: translateY(-3px); }
.how-step-number { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); width: 28px; height: 28px; border-radius: 50%; background: #3b82f6; color: #fff; font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(59,130,246,0.4); }
.how-step-icon { font-size: 32px; margin: 8px 0 14px; }
.how-step-title { font-size: 16px; font-weight: 700; color: #f8fafc; margin-bottom: 10px; line-height: 1.3; }
.how-step-desc { font-size: 13px; color: #94a3b8; line-height: 1.6; margin: 0; }

/* Why Our AI Is Different */
.ai-diff { max-width: 720px; margin: 0 auto; text-align: center; }
.ai-diff p { color: #94a3b8; line-height: 1.8; font-size: 16px; margin: 0 0 16px; }
.ai-diff p strong { color: #f8fafc; }
.ai-diff-highlight { color: #f8fafc !important; font-weight: 700; font-size: 17px !important; margin-top: 20px !important; }

.cta-banner-xpert { background: linear-gradient(135deg, #0f2042 0%, #111d35 45%, #0f2042 100%); border: 1px solid #1e3a5f; }

@media (max-width: 1024px) {
  .how-steps { grid-template-columns: repeat(3, 1fr); }
  .xpert-checklist { grid-template-columns: 1fr; }
  .hero-xpert .hero-title { font-size: 42px; }
}

@media (max-width: 640px) {
  .how-steps { grid-template-columns: 1fr; }
  .hero-body { text-align: left; padding: 22px 18px; }
}

/* ------------------------------------------------------------
   4. Section Styles
   ------------------------------------------------------------ */
.section {
  padding: 80px 0;
}

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

.section-header h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
}

.section-header p {
  color: #94a3b8;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  font-size: 16px;
}

.section-dark {
  background-color: #0f2042;
}

.section-alt {
  background-color: #111d35;
}

/* ------------------------------------------------------------
   5. Feature Cards (How It Works)
   ------------------------------------------------------------ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background-color: #111d35;
  border: 1px solid #1e3a5f;
  border-radius: 16px;
  padding: 32px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: #3b82f6;
}

.feature-icon {
  width: 56px;
  height: 56px;
  background-color: rgba(59, 130, 246, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
  color: #3b82f6;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.feature-card p {
  color: #94a3b8;
  line-height: 1.6;
  font-size: 14px;
}

/* ------------------------------------------------------------
   6. Trader Cards
   ------------------------------------------------------------ */
.traders-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.trader-card {
  background-color: #111d35;
  border: 1px solid #1e3a5f;
  border-radius: 16px;
  padding: 24px;
  transition: border-color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.trader-card:hover {
  border-color: #3b82f6;
  transform: translateY(-2px);
}

.trader-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.trader-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #ffffff;
  font-size: 18px;
  flex-shrink: 0;
}

.trader-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.trader-name {
  flex: 1;
  margin-left: 14px;
}

.trader-name h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 2px;
}

.trader-name .strategy {
  font-size: 13px;
  color: #64748b;
}

.trader-badge {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.badge-pro {
  background-color: rgba(139, 92, 246, 0.15);
  color: #8b5cf6;
}

.badge-elite {
  background-color: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
}

.badge-verified {
  background-color: rgba(34, 197, 94, 0.15);
  color: #22c55e;
}

.trader-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.trader-stat {
  background-color: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  padding: 12px;
}

.trader-stat .label {
  font-size: 12px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.trader-stat .value {
  font-size: 16px;
  font-weight: 600;
  margin-top: 4px;
}

.trader-stat .value.positive {
  color: #22c55e;
}

.trader-stat .value.negative {
  color: #ef4444;
}

.trader-card-footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #1e3a5f;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.trader-card-footer .followers {
  font-size: 13px;
  color: #64748b;
}

.trader-card-footer .followers strong {
  color: #94a3b8;
}

/* Large AI Bot Cards - Robot avatar, win rate, monthly perf, risk score, copy button */
.traders-grid-large {
  grid-template-columns: repeat(3, 1fr);
}

.trader-card-large {
  padding: 28px;
  display: flex;
  flex-direction: column;
  cursor: default;
}

.trader-card-large:hover {
  transform: translateY(-4px);
  border-color: #334155;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
}

.trader-card-large .trader-card-header {
  gap: 12px;
  margin-bottom: 18px;
}

.robot-avatar {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1e3a5f 0%, #3b82f6 55%, #8b5cf6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(59,130,246,0.35);
}

.trader-info {
  flex: 1;
  min-width: 0;
}

.trader-name {
  margin-left: 0;
  font-size: 18px;
  font-weight: 700;
  color: #f8fafc;
  line-height: 1.2;
}

.trader-strategy {
  font-size: 13px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

.risk-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 6px 10px;
  border-radius: 20px;
  white-space: nowrap;
  border: 1px solid transparent;
}

.risk-badge.risk-low { background: rgba(34,197,94,0.12); color: #22c55e; border-color: rgba(34,197,94,0.25); }
.risk-badge.risk-medium { background: rgba(59,130,246,0.12); color: #60a5fa; border-color: rgba(59,130,246,0.25); }
.risk-badge.risk-high { background: rgba(245,158,11,0.12); color: #f59e0b; border-color: rgba(245,158,11,0.25); }
.risk-badge.risk-very-high { background: rgba(239,68,68,0.12); color: #ef4444; border-color: rgba(239,68,68,0.25); }

.trader-sparkline-wrap {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 10px;
  padding: 8px 10px 4px;
  height: 68px;
  margin-bottom: 18px;
  overflow: hidden;
}

.trader-sparkline-wrap canvas {
  width: 100% !important;
  height: 56px !important;
}

.trader-stats-large {
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.trader-stats-large .trader-stat {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 10px;
  padding: 14px 12px;
  text-align: center;
}

.trader-stat-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.trader-stat-value {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: #f8fafc;
}

.trader-stat-value.positive { color: #22c55e; }
.trader-stat-value.negative { color: #ef4444; }

.risk-score-value {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.risk-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.risk-dot.risk-low { background: #22c55e; box-shadow: 0 0 8px rgba(34,197,94,0.5); }
.risk-dot.risk-medium { background: #60a5fa; box-shadow: 0 0 8px rgba(96,165,250,0.5); }
.risk-dot.risk-high { background: #f59e0b; box-shadow: 0 0 8px rgba(245,158,11,0.5); }
.risk-dot.risk-very-high { background: #ef4444; box-shadow: 0 0 8px rgba(239,68,68,0.5); }

.trader-card-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid #1e3a5f;
}

.trader-card-actions .btn {
  flex: 1;
  justify-content: center;
  padding: 11px 16px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
}

.trader-card-actions .btn-copy {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  border: none;
  color: #fff;
}

.trader-card-actions .btn-copy:hover {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  transform: translateY(-1px);
}

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

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

/* ------------------------------------------------------------
   7. Individual Trader Profile Page
   ------------------------------------------------------------ */
.trader-hero {
  padding: 60px 0;
  background-color: #0f2042;
}

.trader-hero-inner {
  display: flex;
  gap: 40px;
  align-items: center;
}

.trader-hero-info {
  flex: 1;
}

.trader-hero-info h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
}

.trader-hero-info .trader-strategy {
  color: #64748b;
  font-size: 16px;
  margin-bottom: 20px;
}

.trader-hero-info .trader-bio {
  color: #94a3b8;
  line-height: 1.7;
  margin-bottom: 24px;
  font-size: 14px;
}

.trader-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.trader-hero-chart {
  flex: 1.5;
  max-width: 600px;
  min-width: 0;
}

.trader-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 40px 0;
}

.trader-detail-stat {
  background-color: #111d35;
  border: 1px solid #1e3a5f;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}

.trader-detail-stat .label {
  font-size: 12px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.trader-detail-stat .value {
  font-size: 24px;
  font-weight: 700;
  margin-top: 8px;
}

.trader-detail-stat .value.positive {
  color: #22c55e;
}

.trader-detail-stat .value.negative {
  color: #ef4444;
}

.chart-container {
  background-color: #111d35;
  border: 1px solid #1e3a5f;
  border-radius: 16px;
  padding: 24px;
  position: relative;
  height: 350px;
}

.chart-container canvas {
  width: 100% !important;
  height: 100% !important;
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.chart-header h3 {
  font-size: 18px;
  font-weight: 600;
}

.chart-timeframes {
  display: flex;
  gap: 4px;
}

.chart-timeframes button {
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid #1e3a5f;
  background-color: transparent;
  color: #64748b;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.chart-timeframes button:hover,
.chart-timeframes button.active {
  background-color: #3b82f6;
  border-color: #3b82f6;
  color: #ffffff;
}

/* Trade History Table */
.trade-history-section {
  margin-top: 40px;
}

.trade-history-section h2 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
}

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

.trade-history-table thead th {
  background-color: #0f2042;
  padding: 12px 16px;
  text-align: left;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  border-bottom: 1px solid #1e3a5f;
  font-weight: 600;
}

.trade-history-table tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid #1e3a5f;
  font-size: 14px;
}

.trade-history-table tbody tr:hover {
  background-color: rgba(59, 130, 246, 0.05);
}

.trade-history-table tbody tr:last-child td {
  border-bottom: none;
}

.side-buy,
.side-long {
  background-color: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  display: inline-block;
}

.side-sell,
.side-short {
  background-color: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  display: inline-block;
}

/* Table wrapper for horizontal scroll */
.table-wrapper {
  overflow-x: auto;
  border: 1px solid #1e3a5f;
  border-radius: 12px;
}

/* ------------------------------------------------------------
   8. Subscription Tiers (on trader profile)
   ------------------------------------------------------------ */
.subscription-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 40px 0;
}

.tier-card {
  background-color: #111d35;
  border: 1px solid #1e3a5f;
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  transition: border-color 0.3s ease, transform 0.3s ease;
  position: relative;
}

.tier-card:hover {
  border-color: #3b82f6;
}

.tier-card.tier-pro {
  border-color: #8b5cf6;
}

.tier-card.tier-pro::before {
  content: 'POPULAR';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #8b5cf6;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 16px;
  border-radius: 20px;
}

.tier-card.tier-elite {
  border-color: #f59e0b;
}

.tier-card.tier-elite::before {
  content: 'ELITE';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 16px;
  border-radius: 20px;
}

.tier-name {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: #94a3b8;
}

.tier-price {
  font-size: 48px;
  font-weight: 800;
  margin: 16px 0;
  color: #f8fafc;
}

.tier-price span {
  font-size: 16px;
  font-weight: 400;
  color: #64748b;
}

.tier-price .currency {
  font-size: 24px;
  vertical-align: super;
  margin-right: 2px;
}

.tier-features {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  text-align: left;
}

.tier-features li {
  padding: 8px 0;
  color: #94a3b8;
  font-size: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
}

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

.tier-features li::before {
  content: '\2713';
  color: #22c55e;
  margin-right: 8px;
  font-weight: 700;
  flex-shrink: 0;
}

.tier-features li.disabled {
  color: #475569;
}

.tier-features li.disabled::before {
  content: '\2717';
  color: #475569;
}

.tier-card .btn {
  margin-top: 8px;
}

/* ------------------------------------------------------------
   9. Login / Register Forms
   ------------------------------------------------------------ */
.auth-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
}

.auth-card {
  background-color: #111d35;
  border: 1px solid #1e3a5f;
  border-radius: 16px;
  padding: 40px;
  width: 100%;
  max-width: 440px;
}

.auth-card h1 {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
}

.auth-card .subtitle {
  color: #64748b;
  text-align: center;
  margin-bottom: 32px;
  font-size: 14px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  color: #94a3b8;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background-color: #0a1628;
  border: 1px solid #1e3a5f;
  border-radius: 8px;
  color: #f8fafc;
  font-size: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #475569;
}

.form-group .error {
  color: #ef4444;
  font-size: 13px;
  margin-top: 6px;
}

.form-group .help-text {
  color: #64748b;
  font-size: 13px;
  margin-top: 6px;
}

.form-row {
  display: flex;
  gap: 16px;
}

.form-row .form-group {
  flex: 1;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.form-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #3b82f6;
}

.form-check label {
  font-size: 14px;
  color: #94a3b8;
  margin-bottom: 0;
}

.form-check label a {
  color: #3b82f6;
}

.form-divider {
  text-align: center;
  margin: 24px 0;
  position: relative;
  color: #64748b;
  font-size: 13px;
}

.form-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #1e3a5f;
}

.form-divider span {
  background-color: #111d35;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}

.auth-link {
  text-align: center;
  margin-top: 20px;
  color: #64748b;
  font-size: 14px;
}

.auth-link a {
  color: #3b82f6;
  font-weight: 500;
}

.auth-link a:hover {
  color: #60a5fa;
}

.social-login {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #1e3a5f;
  border-radius: 8px;
  background-color: transparent;
  color: #94a3b8;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.social-login-btn:hover {
  border-color: #3b82f6;
  color: #f8fafc;
  background-color: rgba(59, 130, 246, 0.05);
}

/* ------------------------------------------------------------
   10. Dashboard
   ------------------------------------------------------------ */
.dashboard-header {
  padding: 40px 0;
  background-color: #0f2042;
}

.dashboard-header h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 4px;
}

.dashboard-header p {
  color: #64748b;
  font-size: 14px;
}

.dashboard-header .welcome {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.dashboard-stat-card {
  background-color: #111d35;
  border: 1px solid #1e3a5f;
  border-radius: 12px;
  padding: 24px;
}

.dashboard-stat-card .label {
  font-size: 13px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.dashboard-stat-card .value {
  font-size: 28px;
  font-weight: 700;
  margin-top: 8px;
}

.dashboard-stat-card .value.positive {
  color: #22c55e;
}

.dashboard-stat-card .value.negative {
  color: #ef4444;
}

.dashboard-stat-card .change {
  font-size: 13px;
  margin-top: 4px;
}

.dashboard-section {
  margin-top: 40px;
}

.dashboard-section h2 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
}

.followed-traders-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.followed-trader-item {
  background-color: #111d35;
  border: 1px solid #1e3a5f;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: border-color 0.2s ease;
}

.followed-trader-item:hover {
  border-color: #3b82f6;
}

.followed-trader-item .trader-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.followed-trader-item .trader-stats {
  display: flex;
  gap: 24px;
  align-items: center;
}

.dashboard-activity {
  margin-top: 40px;
}

.dashboard-activity h2 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
}

.activity-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.activity-item {
  background-color: #111d35;
  border: 1px solid #1e3a5f;
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.activity-item .activity-text {
  color: #94a3b8;
}

.activity-item .activity-time {
  color: #64748b;
  font-size: 12px;
  white-space: nowrap;
  margin-left: 16px;
}

/* ------------------------------------------------------------
   11. Pricing Page
   ------------------------------------------------------------ */
.pricing-hero {
  text-align: center;
  padding: 80px 0 40px;
}

.pricing-hero h1 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 16px;
}

.pricing-hero p {
  color: #94a3b8;
  font-size: 18px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-card {
  background-color: #111d35;
  border: 1px solid #1e3a5f;
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-4px);
}

.pricing-card.featured {
  border-color: #3b82f6;
  transform: scale(1.05);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-4px);
}

.pricing-card.featured::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #3b82f6;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 16px;
  border-radius: 20px;
}

.pricing-card .plan-name {
  font-size: 18px;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 16px;
}

.pricing-card .plan-price {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 8px;
  color: #f8fafc;
}

.pricing-card .plan-price span {
  font-size: 16px;
  font-weight: 400;
  color: #64748b;
}

.pricing-card .plan-description {
  color: #64748b;
  font-size: 14px;
  margin-bottom: 32px;
}

.pricing-card .plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  text-align: left;
}

.pricing-card .plan-features li {
  padding: 10px 0;
  color: #94a3b8;
  font-size: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
}

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

.pricing-card .plan-features li::before {
  content: '\2713';
  color: #22c55e;
  margin-right: 10px;
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-faq-link {
  text-align: center;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #1e3a5f;
  color: #64748b;
  font-size: 14px;
}

.pricing-faq-link a {
  color: #3b82f6;
}

/* ------------------------------------------------------------
   12. FAQ Page
   ------------------------------------------------------------ */
.faq-page {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding: 60px 24px;
}

.faq-page h1 {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
}

.faq-item {
  background-color: #111d35;
  border: 1px solid #1e3a5f;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 16px;
  color: #f8fafc;
  transition: color 0.2s ease;
  user-select: none;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
}

.faq-question:hover {
  color: #3b82f6;
}

.faq-question .arrow {
  transition: transform 0.3s ease;
  font-size: 12px;
  color: #64748b;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.active .faq-question .arrow {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #94a3b8;
  line-height: 1.7;
  font-size: 14px;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 20px;
}

/* ------------------------------------------------------------
   13. Footer
   ------------------------------------------------------------ */
.site-footer {
  background-color: #0a1628;
  border-top: 1px solid #1e3a5f;
  padding-top: 60px;
}

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

.footer-col h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #f8fafc;
}

.footer-col p {
  color: #64748b;
  line-height: 1.7;
  font-size: 14px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

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

.footer-col ul li a {
  color: #64748b;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: #3b82f6;
}

.footer-newsletter form {
  display: flex;
  gap: 8px;
}

.footer-newsletter input {
  flex: 1;
  padding: 10px 14px;
  background-color: #0f2042;
  border: 1px solid #1e3a5f;
  border-radius: 8px;
  color: #f8fafc;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease;
}

.footer-newsletter input:focus {
  border-color: #3b82f6;
}

.footer-newsletter input::placeholder {
  color: #475569;
}

.footer-newsletter button {
  padding: 10px 20px;
  background-color: #3b82f6;
  border: none;
  border-radius: 8px;
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  white-space: nowrap;
}

.footer-newsletter button:hover {
  background-color: #2563eb;
}

.footer-bottom {
  border-top: 1px solid #1e3a5f;
  padding: 24px 0;
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #64748b;
  font-size: 13px;
}

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

.footer-bottom-links a {
  color: #64748b;
  font-size: 13px;
}

.footer-bottom-links a:hover {
  color: #3b82f6;
}

.footer-disclaimer {
  font-size: 12px;
  color: #475569;
  line-height: 1.6;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.social-links a {
  width: 36px;
  height: 36px;
  background-color: #0f2042;
  border: 1px solid #1e3a5f;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 14px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.social-links a:hover {
  border-color: #3b82f6;
  color: #3b82f6;
}

/* ------------------------------------------------------------
   14. Page Title Bar
   ------------------------------------------------------------ */
.page-title-bar {
  padding: 48px 0;
  background-color: #0f2042;
  text-align: center;
}

.page-title-bar h1 {
  font-size: 32px;
  font-weight: 700;
}

.page-title-bar p {
  color: #64748b;
  margin-top: 8px;
  font-size: 15px;
}

/* ------------------------------------------------------------
   15. Breadcrumbs
   ------------------------------------------------------------ */
.breadcrumbs {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 24px;
}

.breadcrumbs a {
  color: #3b82f6;
}

.breadcrumbs a:hover {
  color: #60a5fa;
}

.breadcrumbs .separator {
  margin: 0 8px;
  color: #475569;
}

.breadcrumbs .current {
  color: #94a3b8;
}

/* ------------------------------------------------------------
   16. Animations
   ------------------------------------------------------------ */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

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

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

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: slideIn 0.6s ease forwards;
}

.fade-in-up {
  animation: slideUp 0.6s ease forwards;
}

/* ------------------------------------------------------------
   17. Responsive Design
   ------------------------------------------------------------ */

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .pricing-grid {
    max-width: 100%;
  }

  .pricing-card.featured {
    transform: scale(1);
  }

  .pricing-card.featured:hover {
    transform: translateY(-4px);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .hero {
    padding: 60px 0;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero > .container > p,
  .hero .hero-subtitle {
    font-size: 16px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 24px;
  }

  .hero-stat h3 {
    font-size: 28px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
  }

  .section {
    padding: 48px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .section-header h2 {
    font-size: 28px;
  }

  .traders-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }

  .subscription-tiers,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .trader-hero-inner {
    flex-direction: column;
  }

  .trader-hero-info,
  .trader-hero-chart {
    flex: none;
    width: 100%;
  }

  .trader-detail-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-header .welcome {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .followed-trader-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .followed-trader-item .trader-stats {
    gap: 16px;
    flex-wrap: wrap;
  }

  /* Mobile Nav */
  .hamburger,
  .mobile-menu-toggle {
    display: flex;
  }

  .main-nav,
  .main-navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #0f2042;
    border-top: 1px solid #1e3a5f;
    padding: 16px 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  }

  .main-nav.active,
  .main-navigation.active {
    display: block;
  }

  .main-nav ul,
  .main-navigation ul {
    flex-direction: column;
    gap: 0;
    padding: 0 24px;
  }

  .main-nav ul li,
  .main-navigation ul li {
    width: 100%;
  }

  .main-nav ul li a,
  .main-navigation ul li a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .main-nav ul li:last-child a,
  .main-navigation ul li:last-child a {
    border-bottom: none;
  }

  .header-actions {
    gap: 8px;
  }

  .header-actions .btn {
    padding: 8px 14px;
    font-size: 13px;
  }

  .top-bar-inner,
  .site-top-bar .container {
    flex-direction: column;
    gap: 4px;
  }

  .ticker-wrap,
  .ticker-wrapper {
    justify-content: flex-start;
    max-width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .footer-newsletter form {
    flex-direction: column;
  }

  .trade-history-table {
    font-size: 13px;
  }

  .trade-history-table thead th,
  .trade-history-table tbody td {
    padding: 10px 12px;
  }

  .pricing-hero h1 {
    font-size: 32px;
  }

  .faq-page {
    padding: 40px 16px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 28px;
  }

  .auth-card {
    padding: 24px;
  }

  .trader-detail-grid {
    grid-template-columns: 1fr;
  }

  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero {
    padding: 40px 0;
  }

  .section {
    padding: 40px 0;
  }

  .page-title-bar {
    padding: 32px 0;
  }

  .page-title-bar h1 {
    font-size: 24px;
  }

  .tier-card {
    padding: 24px;
  }

  .tier-price {
    font-size: 40px;
  }

  .pricing-card {
    padding: 28px;
  }

  .pricing-card .plan-price {
    font-size: 40px;
  }

  .footer-disclaimer {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* ------------------------------------------------------------
   18. Utility Classes
   ------------------------------------------------------------ */

/* Text Colors */
.text-green {
  color: #22c55e;
}

.text-red {
  color: #ef4444;
}

.text-blue {
  color: #3b82f6;
}

.text-muted {
  color: #64748b;
}

.text-gold {
  color: #f59e0b;
}

.text-purple {
  color: #8b5cf6;
}

.text-white {
  color: #f8fafc;
}

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

.text-left {
  text-align: left;
}

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

.text-uppercase {
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Font Weights */
.fw-400 {
  font-weight: 400;
}

.fw-500 {
  font-weight: 500;
}

.fw-600 {
  font-weight: 600;
}

.fw-700 {
  font-weight: 700;
}

.fw-800 {
  font-weight: 800;
}

/* Font Sizes */
.fs-sm {
  font-size: 13px;
}

.fs-base {
  font-size: 14px;
}

.fs-md {
  font-size: 16px;
}

.fs-lg {
  font-size: 18px;
}

.fs-xl {
  font-size: 24px;
}

/* Margin Bottom */
.mb-0 {
  margin-bottom: 0;
}

.mb-1 {
  margin-bottom: 4px;
}

.mb-2 {
  margin-bottom: 8px;
}

.mb-3 {
  margin-bottom: 16px;
}

.mb-4 {
  margin-bottom: 24px;
}

.mb-5 {
  margin-bottom: 32px;
}

.mb-6 {
  margin-bottom: 48px;
}

/* Margin Top */
.mt-0 {
  margin-top: 0;
}

.mt-1 {
  margin-top: 4px;
}

.mt-2 {
  margin-top: 8px;
}

.mt-3 {
  margin-top: 16px;
}

.mt-4 {
  margin-top: 24px;
}

.mt-5 {
  margin-top: 32px;
}

.mt-6 {
  margin-top: 48px;
}

/* Padding */
.p-0 {
  padding: 0;
}

.p-1 {
  padding: 4px;
}

.p-2 {
  padding: 8px;
}

.p-3 {
  padding: 16px;
}

.p-4 {
  padding: 24px;
}

.p-5 {
  padding: 32px;
}

.p-6 {
  padding: 48px;
}

/* Display */
.hidden {
  display: none;
}

.block {
  display: block;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-1 {
  gap: 4px;
}

.gap-2 {
  gap: 8px;
}

.gap-3 {
  gap: 16px;
}

.gap-4 {
  gap: 24px;
}

.gap-5 {
  gap: 32px;
}

/* Width */
.w-full {
  width: 100%;
}

/* Overflow */
.overflow-hidden {
  overflow: hidden;
}

/* Border Radius */
.rounded {
  border-radius: 8px;
}

.rounded-lg {
  border-radius: 12px;
}

.rounded-xl {
  border-radius: 16px;
}

.rounded-full {
  border-radius: 50%;
}

/* Position */
.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

/* Backgrounds */
.bg-card {
  background-color: #111d35;
}

.bg-dark {
  background-color: #0f2042;
}

.bg-darker {
  background-color: #0a1628;
}

/* Cards (Generic) */
.card {
  background-color: #111d35;
  border: 1px solid #1e3a5f;
  border-radius: 16px;
  padding: 24px;
}

.card-sm {
  padding: 16px;
}

.card-lg {
  padding: 32px;
}

/* Alert / Notification Styles */
.alert {
  padding: 14px 20px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 20px;
  border: 1px solid;
}

.alert-success {
  background-color: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.3);
  color: #22c55e;
}

.alert-error {
  background-color: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

.alert-info {
  background-color: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.3);
  color: #3b82f6;
}

.alert-warning {
  background-color: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.3);
  color: #f59e0b;
}

/* Tags / Badges */
.tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tag-green {
  background-color: rgba(34, 197, 94, 0.15);
  color: #22c55e;
}

.tag-red {
  background-color: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.tag-blue {
  background-color: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
}

.tag-purple {
  background-color: rgba(139, 92, 246, 0.15);
  color: #8b5cf6;
}

.tag-gold {
  background-color: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
}

/* Divider */
.divider {
  height: 1px;
  background-color: #1e3a5f;
  border: none;
  margin: 24px 0;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #0a1628;
}

::-webkit-scrollbar-thumb {
  background: #1e3a5f;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #3b82f6;
}

/* WordPress Specific */
.wp-caption {
  max-width: 100%;
}

.wp-caption-text {
  font-size: 13px;
  color: #64748b;
  text-align: center;
  margin-top: 8px;
}

.gallery-caption {
  font-size: 14px;
  color: #94a3b8;
}

.bypostauthor {
  /* Styles for author highlight if needed */
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

/* WordPress Comment Styles */
.comment-list {
  list-style: none;
  padding: 0;
}

.comment-list .comment {
  background-color: #111d35;
  border: 1px solid #1e3a5f;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
}

.comment-list .comment .comment-author img {
  border-radius: 50%;
  margin-right: 12px;
}

.comment-list .comment .comment-metadata {
  font-size: 13px;
  color: #64748b;
  margin-top: 8px;
}

.comment-list .comment .comment-metadata a {
  color: #64748b;
}

.comment-list .comment .comment-content {
  color: #94a3b8;
  margin-top: 12px;
  line-height: 1.7;
}

.comment-list .children {
  list-style: none;
  padding-left: 32px;
  margin-top: 16px;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.pagination a,
.pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid #1e3a5f;
  color: #94a3b8;
  transition: all 0.2s ease;
}

.pagination a:hover {
  border-color: #3b82f6;
  color: #3b82f6;
}

.pagination .current {
  background-color: #3b82f6;
  border-color: #3b82f6;
  color: #ffffff;
}

.pagination .dots {
  border: none;
  color: #64748b;
}

/* Search Form */
.search-form {
  display: flex;
  gap: 8px;
  max-width: 400px;
}

.search-form input[type="search"] {
  flex: 1;
  padding: 12px 16px;
  background-color: #0a1628;
  border: 1px solid #1e3a5f;
  border-radius: 8px;
  color: #f8fafc;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease;
}

.search-form input[type="search"]:focus {
  border-color: #3b82f6;
}

.search-form button[type="submit"] {
  padding: 12px 20px;
  background-color: #3b82f6;
  border: none;
  border-radius: 8px;
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.search-form button[type="submit"]:hover {
  background-color: #2563eb;
}

/* Tooltip */
[data-tooltip] {
  position: relative;
}

[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background-color: #1e3a5f;
  color: #f8fafc;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 100;
  pointer-events: none;
}

[data-tooltip]:hover::after {
  opacity: 1;
  visibility: visible;
}

/* Spinner / Loading */
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid #1e3a5f;
  border-top-color: #3b82f6;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 60px 24px;
  color: #64748b;
}

.empty-state .empty-icon {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.5;
}

.empty-state h3 {
  font-size: 18px;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 8px;
}

.empty-state p {
  font-size: 14px;
  max-width: 400px;
  margin: 0 auto;
}

/* Tab Navigation */
.tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid #1e3a5f;
  margin-bottom: 24px;
}

.tabs button {
  padding: 12px 20px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: #64748b;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tabs button:hover {
  color: #94a3b8;
}

.tabs button.active {
  color: #3b82f6;
  border-bottom-color: #3b82f6;
}

/* Progress Bar */
.progress-bar {
  width: 100%;
  height: 6px;
  background-color: #1e3a5f;
  border-radius: 3px;
  overflow: hidden;
}

.progress-bar .progress-fill {
  height: 100%;
  background-color: #3b82f6;
  border-radius: 3px;
  transition: width 0.3s ease;
}

.progress-bar .progress-fill.green {
  background-color: #22c55e;
}

.progress-bar .progress-fill.red {
  background-color: #ef4444;
}

/* Toast Notifications */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: #111d35;
  border: 1px solid #1e3a5f;
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  z-index: 9999;
  animation: slideIn 0.3s ease;
  max-width: 380px;
}

.toast.toast-success {
  border-left: 3px solid #22c55e;
}

.toast.toast-error {
  border-left: 3px solid #ef4444;
}

.toast.toast-info {
  border-left: 3px solid #3b82f6;
}

.toast .toast-message {
  font-size: 14px;
  color: #f8fafc;
}

.toast .toast-close {
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 4px;
  font-size: 16px;
  margin-left: auto;
}

/* Copy to Clipboard */
.copy-btn {
  background: none;
  border: 1px solid #1e3a5f;
  border-radius: 6px;
  padding: 4px 8px;
  color: #64748b;
  cursor: pointer;
  font-size: 12px;
  transition: all 0.2s ease;
}

.copy-btn:hover {
  border-color: #3b82f6;
  color: #3b82f6;
}

/* Leaderboard Specific */
.leaderboard-rank {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.rank-1 {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
}

.rank-2 {
  background: linear-gradient(135deg, #94a3b8, #64748b);
  color: #ffffff;
}

.rank-3 {
  background: linear-gradient(135deg, #cd7f32, #a0522d);
  color: #ffffff;
}

.rank-default {
  background-color: rgba(255, 255, 255, 0.05);
  color: #64748b;
}

/* Performance Bar */
.perf-bar {
  display: flex;
  align-items: center;
  gap: 8px;
}

.perf-bar .bar {
  flex: 1;
  height: 4px;
  background-color: #1e3a5f;
  border-radius: 2px;
  overflow: hidden;
}

.perf-bar .bar-fill {
  height: 100%;
  border-radius: 2px;
}

.perf-bar .bar-fill.positive {
  background-color: #22c55e;
}

.perf-bar .bar-fill.negative {
  background-color: #ef4444;
}

/* Notification Badge */
.notification-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 16px;
  height: 16px;
  background-color: #ef4444;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Skeleton Loading */
.skeleton {
  background: linear-gradient(90deg, #111d35 25%, #1e3a5f 50%, #111d35 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: 8px;
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.skeleton-text {
  height: 14px;
  margin-bottom: 8px;
}

.skeleton-title {
  height: 24px;
  width: 60%;
  margin-bottom: 12px;
}

.skeleton-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.skeleton-chart {
  height: 200px;
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  background-color: #3b82f6;
  border: none;
  border-radius: 8px;
  color: #ffffff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, background-color 0.2s ease;
  z-index: 999;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
}

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

.scroll-to-top:hover {
  background-color: #2563eb;
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background-color: #111d35;
  border: 1px solid #1e3a5f;
  border-radius: 16px;
  padding: 32px;
  width: 100%;
  max-width: 500px;
  max-height: 80vh;
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal {
  transform: translateY(0);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.modal-header h2 {
  font-size: 20px;
  font-weight: 700;
}

.modal-close {
  background: none;
  border: none;
  color: #64748b;
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

.modal-close:hover {
  color: #f8fafc;
}

/* Watchlist */
.watchlist-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.watchlist-item:last-child {
  border-bottom: none;
}

.watchlist-item .symbol {
  font-weight: 600;
  font-size: 14px;
}

.watchlist-item .name {
  font-size: 12px;
  color: #64748b;
}

.watchlist-item .price {
  font-weight: 600;
  font-size: 14px;
  text-align: right;
}

.watchlist-item .change {
  font-size: 12px;
  text-align: right;
}

/* ============================================================
   BRIDGE STYLES - Match HTML class names from all templates
   ============================================================ */

/* Hero Section (front-page.php) */
.hero-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 800px;
  height: 800px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  color: #f8fafc;
}

.hero-title .highlight {
  color: #3b82f6;
}

.hero-subtitle {
  font-size: 20px;
  color: #94a3b8;
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #1e3a5f;
  flex-wrap: wrap;
}

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

.hero-stat-value {
  display: block;
  font-size: 36px;
  font-weight: 700;
  color: #3b82f6;
  margin-bottom: 4px;
}

.hero-stat-label {
  display: block;
  font-size: 14px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Section (front-page.php) */
.section-dark {
  background-color: #0f2042;
}

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

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 16px;
  color: #94a3b8;
  max-width: 500px;
  margin: 0 auto;
}

.section-cta {
  text-align: center;
  margin-top: 48px;
}

/* Feature Cards */
.feature-title {
  font-size: 20px;
  font-weight: 600;
  color: #f8fafc;
  margin: 16px 0 8px;
}

.feature-desc {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, #0f2042 0%, #1a2d50 100%);
  border: 1px solid #1e3a5f;
  border-radius: 20px;
  padding: 60px 40px;
  text-align: center;
}

.cta-banner-title {
  font-size: 32px;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 12px;
}

.cta-banner-subtitle {
  font-size: 16px;
  color: #94a3b8;
  margin-bottom: 32px;
}

/* Trader Cards - Front Page */
.trader-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.trader-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-size: 18px;
  flex-shrink: 0;
}

.trader-info {
  flex: 1;
}

.trader-name {
  font-size: 18px;
  font-weight: 600;
  color: #f8fafc;
  margin: 0 0 2px;
}

.trader-strategy {
  font-size: 13px;
  color: #64748b;
}

.trader-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

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

.trader-stat-value {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #22c55e;
  margin-bottom: 2px;
}

.trader-stat-label {
  display: block;
  font-size: 12px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.trader-card-footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #1e3a5f;
  text-align: center;
}

.trader-link {
  color: #3b82f6;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.trader-link:hover {
  color: #60a5fa;
}

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

/* Trader Card */
.trader-card {
  background: #111d35;
  border: 1px solid #1e3a5f;
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: block;
}

.trader-card:hover {
  border-color: #3b82f6;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.1);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Feature Card */
.feature-card {
  background: #111d35;
  border: 1px solid #1e3a5f;
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: #3b82f6;
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}

/* Footer (footer.php) */
.site-footer {
  background-color: #0a1628;
  border-top: 1px solid #1e3a5f;
  padding-top: 60px;
}

.footer-columns {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
}

.footer-column {
  /* column styles */
}

.footer-heading {
  font-size: 16px;
  font-weight: 600;
  color: #f8fafc;
  margin-bottom: 20px;
}

.footer-tagline {
  color: #64748b;
  font-size: 14px;
  line-height: 1.6;
  margin: 12px 0 20px;
}

.footer-logo {
  text-decoration: none;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links a {
  color: #64748b;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #3b82f6;
}

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

.social-link {
  width: 36px;
  height: 36px;
  background: #0f2042;
  border: 1px solid #1e3a5f;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  transition: all 0.2s ease;
  text-decoration: none;
}

.social-link:hover {
  border-color: #3b82f6;
  color: #3b82f6;
}

.footer-newsletter-text {
  color: #64748b;
  font-size: 14px;
  margin-bottom: 16px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-form input {
  flex: 1;
  padding: 10px 14px;
  background: #0f2042;
  border: 1px solid #1e3a5f;
  border-radius: 8px;
  color: white;
  font-size: 14px;
  outline: none;
}

.newsletter-form input:focus {
  border-color: #3b82f6;
}

.newsletter-form button {
  flex-shrink: 0;
}

.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding: 24px;
  border-top: 1px solid #1e3a5f;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright {
  font-size: 13px;
  color: #64748b;
}

.disclaimer {
  font-size: 12px;
  color: #475569;
  line-height: 1.6;
  max-width: 600px;
  text-align: right;
}

/* ============================================================
   RESPONSIVE OVERRIDES FOR BRIDGE STYLES
   ============================================================ */
@media (max-width: 1024px) {
  .traders-grid,
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 24px;
  }

  .traders-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }

  .footer-columns {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .disclaimer {
    text-align: center;
  }

  .section-title {
    font-size: 28px;
  }

  .cta-banner {
    padding: 40px 24px;
  }

  .cta-banner-title {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 28px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .newsletter-form {
    flex-direction: column;
  }
}

/* Print Styles */
@media print {
  body {
    background-color: #ffffff;
    color: #000000;
  }

  .main-header,
  .site-header,
  .top-bar,
  .site-top-bar,
  .site-footer,
  .hamburger,
  .mobile-menu-toggle,
  .scroll-to-top,
  .btn {
    display: none !important;
  }
}

/* ============================================================
   FIXES - Traders Listing, Pricing, Trader Profile
   ============================================================ */

/* Strategy icon in trader cards */
.strategy-icon {
  margin-right: 4px;
}

/* Page title bar */
.page-title-bar {
  background-color: #0f2042;
  padding: 48px 0;
  text-align: center;
  border-bottom: 1px solid #1e3a5f;
}

.page-title-bar .page-title {
  font-size: 36px;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 8px;
}

.page-title-bar .page-subtitle {
  font-size: 16px;
  color: #94a3b8;
  margin: 0;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Trader card fixes - value colors */
.trader-card .trader-stats-grid .trader-stat-value.positive {
  color: #22c55e;
}

.trader-card .trader-stats-grid .trader-stat-value {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 4px;
}

.trader-card .trader-stats-grid .trader-stat-label {
  display: block;
  font-size: 11px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.trader-card .trader-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #1e3a5f;
  color: #3b82f6;
  font-size: 14px;
  font-weight: 500;
}

/* Trader card strategy line */
.trader-card .trader-strategy {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================
   PRICING PAGE FIXES
   ========================================== */

.pricing-hero.section-dark {
  background-color: #0f2042;
}

.pricing-hero h1 {
  font-size: 42px;
  font-weight: 800;
  color: #f8fafc;
  margin: 0 0 16px;
}

.pricing-hero p {
  color: #94a3b8;
  font-size: 18px;
  max-width: 500px;
  margin: 0 auto;
}

.pricing-card {
  background-color: #111d35 !important;
  border: 1px solid #1e3a5f !important;
  border-radius: 16px;
  padding: 40px 32px;
  text-align: center;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
}

.pricing-card.featured {
  border-color: #3b82f6 !important;
  transform: scale(1.05);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-4px);
}

.pricing-card.featured::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #3b82f6;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 16px;
  border-radius: 20px;
}

.pricing-card.tier-elite-card {
  border-color: #f59e0b !important;
}

.pricing-card.tier-elite-card::before {
  content: 'PREMIUM';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 16px;
  border-radius: 20px;
}

.pricing-card .plan-name {
  font-size: 18px;
  font-weight: 600;
  color: #94a3b8;
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-card .plan-price {
  font-size: 56px;
  font-weight: 800;
  color: #f8fafc;
  margin: 0 0 8px;
  line-height: 1;
}

.pricing-card .plan-price span {
  font-size: 18px;
  font-weight: 400;
  color: #64748b;
}

.pricing-card .plan-description {
  color: #64748b;
  font-size: 14px;
  margin: 0 0 28px;
}

.pricing-card .plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  text-align: left;
}

.pricing-card .plan-features li {
  padding: 10px 0;
  color: #94a3b8;
  font-size: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.pricing-card .plan-features li::before {
  content: '\2713';
  color: #22c55e;
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-faq-link {
  text-align: center;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #1e3a5f;
}

.pricing-faq-link p {
  color: #94a3b8;
  font-size: 16px;
  margin: 0 0 12px;
}

.pricing-faq-link a {
  color: #3b82f6;
  font-weight: 500;
  text-decoration: none;
}

.pricing-faq-link a:hover {
  text-decoration: underline;
}

/* ==========================================
   TRADER PROFILE FIXES
   ========================================== */

/* Trader avatar circle */
.trader-avatar-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e293b, #0f2042);
  border: 3px solid #3b82f6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  color: #3b82f6;
  flex-shrink: 0;
  margin-bottom: 16px;
}

/* Strategy badge */
.strategy-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
  margin-bottom: 16px;
}

/* Trader excerpt */
.trader-excerpt {
  color: #94a3b8;
  line-height: 1.7;
  font-size: 15px;
  margin-top: 12px;
}

/* Breadcrumbs */
.breadcrumbs {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 20px;
}

.breadcrumbs a {
  color: #3b82f6;
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs .separator {
  margin: 0 8px;
  color: #475569;
}

/* Chart header */
.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding: 0 4px;
}

.chart-header h3 {
  font-size: 16px;
  font-weight: 600;
  color: #f8fafc;
  margin: 0;
}

.chart-subtitle {
  font-size: 13px;
  color: #64748b;
}

/* Detail stat cards */
.trader-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.detail-stat-card {
  background-color: #111d35;
  border: 1px solid #1e3a5f;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}

.detail-stat-label {
  display: block;
  font-size: 12px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.detail-stat-value {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: #f8fafc;
}

.detail-stat-value.positive {
  color: #22c55e;
}

.detail-stat-value.negative {
  color: #ef4444;
}

/* Asset tags */
.assets-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-top: 4px;
}

.asset-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  background: rgba(59, 130, 246, 0.12);
  color: #3b82f6;
}

/* Trade history table */
.trade-history-table {
  width: 100%;
  border-collapse: collapse;
}

.trade-history-table thead th {
  background-color: #0a1628;
  padding: 14px 16px;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  border-bottom: 2px solid #1e3a5f;
}

.trade-history-table tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid #1e3a5f;
  font-size: 14px;
  color: #94a3b8;
}

.trade-history-table tbody tr:hover {
  background-color: rgba(59, 130, 246, 0.05);
}

.trade-history-table .positive {
  color: #22c55e;
  font-weight: 600;
}

.trade-history-table .negative {
  color: #ef4444;
  font-weight: 600;
}

.side-buy, .side-long {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
}

.side-sell, .side-short {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

/* ==========================================
   SUBSCRIPTION TIERS (Trader Profile)
   ========================================== */

.subscription-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tier-card {
  background-color: #111d35;
  border: 1px solid #1e3a5f;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

.tier-card:hover {
  border-color: #3b82f6;
  transform: translateY(-2px);
}

.tier-card.tier-pro {
  border-color: #8b5cf6;
}

.tier-card.tier-elite {
  border-color: #f59e0b;
}

.tier-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 3px 14px;
  border-radius: 20px;
}

.tier-card .tier-name {
  font-size: 14px;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 16px;
}

.tier-card .tier-price {
  font-size: 40px;
  font-weight: 800;
  color: #f8fafc;
  margin: 0 0 24px;
  line-height: 1;
}

.tier-card .tier-price span {
  font-size: 16px;
  font-weight: 400;
  color: #64748b;
}

.tier-card .tier-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  text-align: left;
}

.tier-card .tier-features li {
  padding: 10px 0;
  color: #94a3b8;
  font-size: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  gap: 8px;
}

.tier-card .tier-features li:last-child {
  border-bottom: none;
}

/* Section CTA */
.section-cta {
  text-align: center;
  padding: 60px 0;
}

/* ==========================================
   RESPONSIVE FIXES FOR NEW ELEMENTS
   ========================================== */

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

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

  .pricing-grid,
  .subscription-tiers {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .pricing-card.featured {
    transform: none;
  }

  .pricing-card.featured:hover {
    transform: translateY(-4px);
  }

  .trader-detail-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trader-hero-inner {
    flex-direction: column;
  }

  .trader-hero-chart {
    width: 100%;
  }

  .pricing-hero h1 {
    font-size: 28px;
  }

  .chart-container {
    height: 280px;
  }
}

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

  .trade-history-table {
    font-size: 12px;
  }

  .trade-history-table thead th,
  .trade-history-table tbody td {
    padding: 8px;
  }
}

/* ==========================================
   LEGAL PAGES (Terms, Privacy, Risk)
   ========================================== */

.legal-content {
  max-width: 820px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: #f8fafc;
  margin: 40px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #1e3a5f;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: #e2e8f0;
  margin: 28px 0 12px;
}

.legal-content p {
  color: #94a3b8;
  line-height: 1.8;
  font-size: 15px;
  margin: 0 0 16px;
}

.legal-content strong {
  color: #f8fafc;
}

.legal-content ul {
  padding-left: 24px;
  margin: 0 0 20px;
}

.legal-content li {
  color: #94a3b8;
  line-height: 1.8;
  font-size: 15px;
  margin-bottom: 8px;
}

.legal-content li strong {
  color: #e2e8f0;
}

/* Risk Warning Box */
.risk-warning-box {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 12px;
  padding: 28px 32px;
  margin: 32px 0;
}

.risk-warning-box h3 {
  color: #ef4444;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 12px;
  border: none;
}

.risk-warning-box p {
  color: #94a3b8;
  margin: 0;
  line-height: 1.8;
}
