/* ═══════════════════════════════════════════════════════════
   NEXUSSIGNALS — PREMIUM CYBERPUNK FOREX SIGNALS PLATFORM
   Style System: Glassmorphism + Neon + Animations
   ═══════════════════════════════════════════════════════════ */

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

html, body, #main-wrapper { overflow-x: hidden; max-width: 100%; }

#main-wrapper { position: relative; width: 100%; }

:root {
  --bg:        #07070a;
  --bg2:       #0d0d14;
  --bg3:       #12121e;
  --neon-blue: #00f0ff;
  --neon-purple: #a855f7;
  --neon-red:  #ff003c;
  --neon-green:#00ff88;
  --neon-gold: #fbbf24;
  --glass-bg:  rgba(255,255,255,0.04);
  --glass-border: rgba(0,240,255,0.12);
  --text-primary: #e8eaf6;
  --text-secondary: #7c85a2;
  --text-dim: #4a5270;
  --sidebar-w: 240px;
  --topbar-h: 60px;
  --radius:  12px;
  --radius-lg: 20px;
  --transition: 0.25s cubic-bezier(0.4,0,0.2,1);
  --font-heading: 'Orbitron', monospace;
  --font-body: 'Inter', 'Poppins', sans-serif;
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  min-height: 100vh;
  overflow-x: hidden;
  margin: 0;
}

body[lang="ar"], body[lang="ar"] * { font-family: 'Cairo', sans-serif !important; }
body[lang="en"], body[lang="en"] * { font-family: 'Poppins', sans-serif !important; }

body[lang="ar"] .sidebar-logo .logo-text,
body[lang="ar"] .topbar-brand { font-family: 'Orbitron', sans-serif !important; }

a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: var(--font-body); border: none; outline: none; }
input, textarea { font-family: var(--font-body); outline: none; }

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--neon-blue); border-radius: 2px; }

/* ─── PARTICLE CANVAS ─── */
#particleCanvas {
  position: fixed; inset: 0;
  z-index: 0; pointer-events: none;
  opacity: 0.35;
}

/* ─── GRID OVERLAY ─── */
.grid-overlay {
  position: fixed; inset: 0;
  z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(0,240,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,240,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  animation: gridShift 25s linear infinite;
}
@keyframes gridShift {
  0%   { background-position: 0 0; }
  100% { background-position: 48px 48px; }
}

/* ─── SIDEBAR ─── */
.sidebar {
  position: fixed;
  top: 0; inset-inline-start: 0; bottom: 0;
  width: var(--sidebar-w);
  background: rgba(7,7,10,0.92);
  backdrop-filter: blur(20px);
  border-inline-end: 1px solid var(--glass-border);
  display: flex; flex-direction: column;
  z-index: 1000;
  transition: transform var(--transition);
  padding-bottom: 16px;
}

.sidebar-logo {
  display: flex; align-items: center; gap: 10px;
  padding: 20px 20px 24px;
  border-bottom: 1px solid var(--glass-border);
  margin-bottom: 8px;
}

.logo-img {
  height: 32px;
  max-width: 180px;
  width: auto;
  object-fit: contain;
  display: block;
}

.logo-img-sm {
  height: 24px;
  max-width: 140px;
  width: auto;
  object-fit: contain;
  display: block;
}

.logo-icon {
  font-size: 26px;
  color: var(--neon-blue);
  filter: drop-shadow(0 0 8px var(--neon-blue));
  animation: logoPulse 2.5s ease-in-out infinite;
}
@keyframes logoPulse {
  0%,100% { filter: drop-shadow(0 0 8px var(--neon-blue)); }
  50%      { filter: drop-shadow(0 0 20px var(--neon-blue)) drop-shadow(0 0 40px var(--neon-blue)); }
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 14px; font-weight: 700;
  color: var(--neon-blue);
  letter-spacing: 1px;
}

/* Nav Items */
.sidebar-nav {
  flex: 1; overflow-y: auto;
  padding: 0 10px;
  display: flex; flex-direction: column; gap: 2px;
}
.sidebar-nav::-webkit-scrollbar { width: 0; }

.nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius);
  color: var(--text-secondary);
  transition: all var(--transition);
  position: relative;
  font-size: 14px; font-weight: 500;
  cursor: pointer;
}
.nav-item:hover, .nav-item.active {
  color: var(--neon-blue);
  background: rgba(0,240,255,0.07);
}
.nav-item.active {
  border-left: 2px solid var(--neon-blue);
  background: rgba(0,240,255,0.10);
}
.nav-item.active .nav-icon {
  filter: drop-shadow(0 0 6px var(--neon-blue));
}

.nav-sub-glow {
  background: linear-gradient(135deg, rgba(168,85,247,0.12), rgba(0,240,255,0.06)) !important;
  border: 1px solid rgba(168,85,247,0.3);
  animation: subGlow 2s ease-in-out infinite;
}
.nav-sub-glow:hover {
  background: linear-gradient(135deg, rgba(168,85,247,0.22), rgba(0,240,255,0.10)) !important;
  border-color: var(--neon-purple);
}
@keyframes subGlow {
  0%,100% { box-shadow: 0 0 0 rgba(168,85,247,0); }
  50%      { box-shadow: 0 0 15px rgba(168,85,247,0.3); }
}

.nav-icon { font-size: 16px; width: 20px; text-align: center; }
.nav-label { flex: 1; }

.nav-badge {
  font-size: 9px; font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--neon-red);
  color: #fff;
  letter-spacing: 0.5px;
  animation: badgePulse 1.5s ease-in-out infinite;
}
.nav-badge.notif-badge {
  background: var(--neon-blue);
  color: var(--bg);
}
@keyframes badgePulse {
  0%,100% { opacity: 1; }
  50%      { opacity: 0.6; }
}

.nav-divider {
  height: 1px;
  background: var(--glass-border);
  margin: 8px 4px;
}

.sidebar-bottom {
  padding: 0 10px;
  display: flex; flex-direction: column; gap: 4px;
}

.nav-logout {
  color: var(--neon-red) !important;
  margin-top: 4px;
}
.nav-logout:hover {
  background: rgba(255,0,60,0.10) !important;
  color: var(--neon-red) !important;
}

/* Language Toggle */
.lang-toggle {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 9999px;
  padding: 6px 14px;
  cursor: pointer;
  margin: 8px 0 4px;
  position: relative;
  transition: all var(--transition);
}
.lang-toggle:hover { border-color: var(--neon-blue); }

.lang-option {
  font-size: 11px; font-weight: 700;
  color: var(--text-secondary);
  transition: color var(--transition);
  z-index: 1;
  font-family: var(--font-heading);
  letter-spacing: 1px;
}
.lang-option.active-lang { color: var(--bg); }

.lang-slider {
  position: absolute;
  left: 6px; top: 4px;
  width: 30px; height: 24px;
  background: var(--neon-blue);
  border-radius: 9999px;
  transition: transform var(--transition);
}
.lang-toggle.ar .lang-slider {
  transform: translateX(calc(100% + 6px));
}

/* Sidebar Overlay */
.sidebar-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 999;
  backdrop-filter: blur(4px);
}
.sidebar-overlay.visible { 
  display: block; 
}
@media (max-width: 1024px) {
  [dir="rtl"] .sidebar-overlay.visible {
    display: block;
  }
}

/* ─── TOPBAR ─── */
.topbar {
  position: fixed;
  top: 0; inset-inline-start: var(--sidebar-w); inset-inline-end: 0;
  height: var(--topbar-h);
  width: calc(100% - var(--sidebar-w));
  max-width: 100%;
  background: rgba(7,7,10,0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  display: flex; align-items: center;
  padding: 0 24px;
  z-index: 900;
  gap: 16px;
  box-sizing: border-box;
}

.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none;
  padding: 4px;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--neon-blue);
  border-radius: 1px;
  transition: all var(--transition);
}

.topbar-title {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-heading);
  font-size: 14px; font-weight: 700;
  color: var(--neon-blue);
  display: none;
}
.logo-icon-sm { font-size: 18px; }

.topbar-right {
  margin-left: auto;
  display: flex; align-items: center; gap: 16px;
}

.live-indicator {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700;
  color: var(--neon-green);
  letter-spacing: 1px;
  font-family: var(--font-heading);
}
.live-dot {
  width: 7px; height: 7px;
  background: var(--neon-green);
  border-radius: 50%;
  animation: livePulse 1s ease-in-out infinite;
  box-shadow: 0 0 8px var(--neon-green);
}
@keyframes livePulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.3); opacity: 0.7; }
}

/* ─── FOREX TICKER - CYBERPUNK THEME ─── */
.forex-ticker {
  position: fixed;
  top: var(--topbar-h);
  inset-inline-start: var(--sidebar-w);
  inset-inline-end: 0;
  height: 44px;
  width: calc(100% - var(--sidebar-w));
  max-width: 100%;
  box-sizing: border-box;
  background: linear-gradient(90deg, 
    rgba(5,5,12,0.98) 0%, 
    rgba(12,12,24,0.97) 30%, 
    rgba(8,8,18,0.98) 70%, 
    rgba(5,5,12,0.98) 100%
  );
  border-bottom: 1px solid rgba(0,240,255,0.15);
  border-top: 1px solid rgba(168,85,247,0.1);
  box-shadow: 
    0 2px 20px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(0,240,255,0.05);
  z-index: 850;
  overflow: hidden;
}

.forex-ticker::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(0,240,255,0.3) 20%, 
    rgba(168,85,247,0.5) 50%, 
    rgba(0,240,255,0.3) 80%, 
    transparent 100%
  );
}

.forex-ticker::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(0,240,255,0.1) 20%, 
    rgba(168,85,247,0.2) 50%, 
    rgba(0,240,255,0.1) 80%, 
    transparent 100%
  );
}

.ticker-track {
  width: 100%;
  max-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
  box-sizing: border-box;
}

.ticker-content {
  display: flex;
  align-items: center;
  animation: tickerScroll 80s linear infinite;
  gap: 0;
  padding-left: 100%;
  max-width: none;
  width: max-content;
  flex-shrink: 0;
  box-sizing: border-box;
}

.ticker-content.paused {
  animation-play-state: paused;
}

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

.ticker-item {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 500;
  padding: 0 20px;
  border-right: 1px solid rgba(0,240,255,0.1);
}

.ticker-item:first-child {
  padding-left: 0;
}

.ticker-pair {
  color: rgba(0,240,255,0.7);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(0,240,255,0.3);
}

.ticker-price {
  color: #e8eaed;
  font-family: 'Courier New', monospace;
  font-size: 13px;
  font-weight: 600;
  text-shadow: 0 0 8px rgba(255,255,255,0.1);
}

.ticker-arrow {
  font-size: 9px;
  margin-left: 2px;
}

.ticker-arrow.up {
  color: var(--neon-green);
  text-shadow: 0 0 8px rgba(0,255,136,0.5);
}

.ticker-arrow.down {
  color: var(--neon-red);
  text-shadow: 0 0 8px rgba(255,51,85,0.5);
}

.ticker-change {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 3px;
  letter-spacing: 0.5px;
}

.ticker-change.up,
.ticker-change.positive {
  color: var(--neon-green);
  background: rgba(0,255,136,0.08);
  border: 1px solid rgba(0,255,136,0.2);
  text-shadow: 0 0 10px rgba(0,255,136,0.5);
  box-shadow: 0 0 10px rgba(0,255,136,0.1);
}

.ticker-change.down,
.ticker-change.negative {
  color: var(--neon-red);
  background: rgba(255,51,85,0.08);
  border: 1px solid rgba(255,51,85,0.2);
  text-shadow: 0 0 10px rgba(255,51,85,0.5);
  box-shadow: 0 0 10px rgba(255,51,85,0.1);
}

.ticker-separator {
  color: rgba(0,240,255,0.2);
  margin: 0 4px;
  font-size: 10px;
}

.ticker-loading-text {
  color: rgba(0,240,255,0.5);
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 2px;
  animation: tickerPulse 1.5s ease-in-out infinite;
  white-space: nowrap;
  padding: 0 20px;
}

@keyframes tickerPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.ticker-live-indicator {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--neon-green);
  text-transform: uppercase;
  z-index: 10;
}

.ticker-live-dot {
  width: 6px;
  height: 6px;
  background: var(--neon-green);
  border-radius: 50%;
  animation: livePulse 1.5s ease-in-out infinite;
  box-shadow: 0 0 8px var(--neon-green);
}

@keyframes livePulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

[dir="rtl"] .forex-ticker {
  inset-inline-start: var(--sidebar-w);
  inset-inline-end: 0;
}

[dir="rtl"] .ticker-content {
  animation-name: tickerScrollRtl;
  padding-inline-start: 0;
  padding-inline-end: 100%;
  padding-left: 0;
  direction: ltr;
  unicode-bidi: embed;
}

@keyframes tickerScrollRtl {
  0% { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

[dir="rtl"] .ticker-item {
  direction: ltr;
  unicode-bidi: isolate;
}

[dir="rtl"] .ticker-pair {
  direction: ltr;
  unicode-bidi: isolate;
}

[dir="rtl"] .ticker-price {
  direction: ltr;
  unicode-bidi: isolate;
}

[dir="rtl"] .ticker-change {
  direction: ltr;
  unicode-bidi: isolate;
}

[dir="rtl"] .ticker-arrow {
  margin-inline-start: 2px;
  margin-inline-end: 0;
}

.ticker-item.updating .ticker-price {
  animation: priceFlash 0.3s ease;
}

@keyframes priceFlash {
  0% { color: #e8eaed; }
  50% { color: var(--neon-green); text-shadow: 0 0 15px var(--neon-green); }
  100% { color: #e8eaed; }
}

.ticker-item.downdating .ticker-price {
  animation: priceFlashDown 0.3s ease;
}

@keyframes priceFlashDown {
  0% { color: #e8eaed; }
  50% { color: var(--neon-red); text-shadow: 0 0 15px var(--neon-red); }
  100% { color: #e8eaed; }
}

@media (max-width: 768px) {
  .forex-ticker {
    top: var(--topbar-h);
    inset-inline-start: 0;
    inset-inline-end: 0;
    height: 40px;
  }
  .ticker-item {
    font-size: 11px;
    gap: 6px;
    padding: 0 14px;
  }
  .ticker-pair {
    font-size: 10px;
  }
  .ticker-price {
    font-size: 12px;
  }
  .ticker-change {
    font-size: 9px;
    padding: 1px 5px;
  }
  [dir="rtl"] .forex-ticker {
    inset-inline-start: 0;
    width: 100%;
  }
}

.btn-login-top {
  background: transparent;
  border: 1px solid var(--neon-blue);
  color: var(--neon-blue);
  padding: 6px 20px;
  border-radius: 9999px;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.5px;
  transition: all var(--transition);
  font-family: var(--font-heading);
}
.btn-login-top:hover {
  background: var(--neon-blue);
  color: var(--bg);
  box-shadow: 0 0 20px rgba(0,240,255,0.5);
}
.btn-login-top.hidden { display: none; }

/* ─── MAIN CONTENT ─── */
.main-content {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding-left: 0;
  padding-right: 0;
  padding-inline-start: var(--sidebar-w);
  padding-inline-end: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: stretch;
  align-items: stretch;
  padding-top: calc(var(--topbar-h) + var(--ticker-h));
  min-height: 100vh;
  position: relative; z-index: 10;
  transition: padding var(--transition);
}

/* ─── PAGES ─── */
.page {
  display: none;
  padding: 36px 40px 60px;
  animation: pageFade 0.4s ease;
  max-width: 1200px;
}
.page.active { display: block; }

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

/* ─── PAGE HEADER ─── */
.page-header {
  margin-bottom: 36px;
}
.page-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 900;
  margin-bottom: 8px;
  line-height: 1.2;
}
.page-sub {
  color: var(--text-secondary);
  font-size: 15px;
}

/* ─── GRADIENT TEXT ─── */
.gradient-text {
  background: linear-gradient(135deg, var(--neon-blue) 0%, var(--neon-purple) 60%, var(--neon-red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── GLASS CARD ─── */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.glass-card:hover {
  border-color: rgba(0,240,255,0.25);
  box-shadow: 0 8px 32px rgba(0,240,255,0.08);
}

/* ─── NEON COLORS ─── */
.neon-blue   { color: var(--neon-blue); }
.neon-purple { color: var(--neon-purple); }
.neon-red    { color: var(--neon-red); }
.neon-green  { color: var(--neon-green); }

/* ═══════════════════ HOME PAGE ═══════════════════ */
.hero-section {
  text-align: center;
  padding: 28px 0 36px;
}

.hero-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 11px; font-weight: 700;
  letter-spacing: 2px;
  color: var(--neon-blue);
  border: 1px solid rgba(0,240,255,0.3);
  background: rgba(0,240,255,0.06);
  padding: 5px 16px;
  border-radius: 9999px;
  margin-bottom: 20px;
  animation: tagFloat 3s ease-in-out infinite;
}
@keyframes tagFloat {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-3px); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(30px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.hero-sub {
  color: var(--text-secondary);
  font-size: 16px;
  max-width: 540px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

/* Stats Bar */
.stats-bar {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 8px;
}
.stat-item {
  flex: 1; min-width: 100px;
  text-align: center;
}
.stat-value {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 11px;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.stat-divider {
  width: 1px;
  background: var(--glass-border);
  align-self: stretch;
  margin: 0 4px;
}

/* Urgency Banner */
.urgency-banner {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,0,60,0.10);
  border: 1px solid rgba(255,0,60,0.3);
  color: #ff5577;
  padding: 8px 20px;
  border-radius: 9999px;
  font-size: 13px; font-weight: 600;
  animation: urgencyPulse 2s ease-in-out infinite;
}
.urgency-icon { font-size: 16px; }
.urgency-count { font-weight: 900; color: var(--neon-red); }
.urgency-timer {
  font-family: var(--font-heading);
  font-size: 13px;
  color: var(--neon-red);
  font-weight: 700;
  margin-left: 8px;
  letter-spacing: 1px;
}
@keyframes urgencyPulse {
  0%,100% { box-shadow: 0 0 0 rgba(255,0,60,0); }
  50%      { box-shadow: 0 0 20px rgba(255,0,60,0.2); }
}

/* ─── HACK BUTTON ─── */
.hack-section {
  text-align: center;
  margin-bottom: 40px;
}
.btn-hack {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 18px 40px;
  background: linear-gradient(135deg, rgba(168,85,247,0.2), rgba(0,240,255,0.1));
  border: 1px solid var(--neon-purple);
  border-radius: var(--radius-lg);
  color: var(--neon-purple);
  font-family: var(--font-heading);
  font-size: 18px; font-weight: 700;
  letter-spacing: 1px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.btn-hack::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(168,85,247,0.15));
  transition: all var(--transition);
}
.btn-hack:hover {
  background: linear-gradient(135deg, rgba(168,85,247,0.35), rgba(0,240,255,0.15));
  box-shadow: 0 0 30px rgba(168,85,247,0.4), 0 0 60px rgba(168,85,247,0.15);
  transform: translateY(-2px);
  border-color: var(--neon-blue);
}
.hack-icon { font-size: 22px; }
.hack-sub {
  font-size: 10px;
  color: var(--text-secondary);
  letter-spacing: 2px;
}
.hack-desc {
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-dim);
}

/* ─── SIGNALS GRID ─── */
.signals-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: 16px; font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}

.filter-tabs {
  display: flex; gap: 8px;
}
.filter-tab {
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 12px; font-weight: 600;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  transition: all var(--transition);
}
.filter-tab.active, .filter-tab:hover {
  background: rgba(0,240,255,0.10);
  border-color: var(--neon-blue);
  color: var(--neon-blue);
}

.signals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  margin-bottom: 40px;
}

/* Signal Card */
.signal-card {
  background: linear-gradient(145deg, #0f1322 0%, #0a0b10 100%);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 240, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 1px 1px rgba(255,255,255,0.05);
  transform-style: preserve-3d;
  cursor: pointer;
}
.signal-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-color, var(--neon-blue)), transparent);
}
.signal-card:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 20px 40px rgba(0,240,255,0.1), 0 15px 20px rgba(0,0,0,0.6), inset 0 1px 2px rgba(255,255,255,0.1);
  border-color: rgba(0,240,255,0.4);
}
.signal-card.buy   { --accent-color: var(--neon-green); }
.signal-card.sell  { --accent-color: var(--neon-red); }

.signal-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}
.signal-pair {
  font-family: var(--font-heading);
  font-size: 18px; font-weight: 700;
  color: var(--text-primary);
}
.signal-type-badge {
  padding: 3px 12px;
  border-radius: 9999px;
  font-size: 11px; font-weight: 700;
  font-family: var(--font-heading);
  letter-spacing: 1px;
}
.signal-type-badge.buy  {
  background: rgba(0,255,136,0.12);
  border: 1px solid rgba(0,255,136,0.4);
  color: var(--neon-green);
}
.signal-type-badge.sell {
  background: rgba(255,0,60,0.12);
  border: 1px solid rgba(255,0,60,0.4);
  color: var(--neon-red);
}

.signal-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 6px;
}
.signal-label { color: var(--text-secondary); }
.signal-val   { font-weight: 600; }

.signal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--glass-border);
  font-size: 12px;
  color: var(--text-dim);
}

.signal-accuracy {
  display: flex; align-items: center; gap: 4px;
  font-size: 12px;
}
.acc-bar {
  width: 60px; height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px; overflow: hidden;
}
.acc-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--neon-green), var(--neon-blue));
  border-radius: 2px;
}

/* Premium Lock Overlay */
.signal-premium-overlay {
  position: absolute; inset: 0;
  background: rgba(7,7,10,0.6);
  backdrop-filter: blur(6px);
  display: flex;
  z-index: 4;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.signal-premium-overlay:hover {
  background: rgba(7,7,10,0.5);
  backdrop-filter: blur(4px);
}
/* New Button Styles for Premium Logic */
.signal-cta-wrapper {
  margin-top: 16px;
  position: relative;
  z-index: 10;
}
.btn-open-now, .btn-subscribe-cta {
  width: 100%;
  padding: 12px;
  border-radius: var(--radius);
  font-family: 'Cairo', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-open-now {
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 50%, #2563eb 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(251,191,36,0.3), inset 0 2px 4px rgba(255,255,255,0.2);
}
.btn-open-now:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37,99,235,0.4), inset 0 2px 4px rgba(255,255,255,0.3);
}
.btn-open-now:active {
  transform: translateY(1px);
  box-shadow: 0 2px 10px rgba(37,99,235,0.3);
}
.crown-icon {
  font-size: 16px;
  filter: drop-shadow(0 0 5px rgba(251,191,36,0.8));
  animation: crownShimmer 2.5s infinite;
}
@keyframes crownShimmer {
  0%, 100% { filter: drop-shadow(0 0 5px rgba(251,191,36,0.6)); transform: scale(1); }
  50% { filter: drop-shadow(0 0 12px rgba(251,191,36,1)); transform: scale(1.1); }
}
.prem-text {
  letter-spacing: 1.5px;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.open-sep {
  color: rgba(255,255,255,0.4);
  margin: 0 4px;
}
.open-text {
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.btn-subscribe-cta {
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(168,85,247,0.4);
  color: var(--neon-purple);
  font-size: 13px;
}
.btn-subscribe-cta:hover {
  background: rgba(168,85,247,0.1);
  border-color: var(--neon-purple);
  box-shadow: 0 0 15px rgba(168,85,247,0.3);
}
.cta-icon {
  font-size: 16px;
  filter: drop-shadow(0 0 5px var(--neon-purple));
  animation: ctaFloat 2s ease-in-out infinite;
}
@keyframes ctaFloat {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-2px); }
}

/* Free badge */
.signal-free-badge {
  position: absolute; top: 12px; right: 12px;
  background: rgba(0,255,136,0.15);
  border: 1px solid rgba(0,255,136,0.4);
  color: var(--neon-green);
  font-size: 9px; font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 1px;
  font-family: var(--font-heading);
}

/* ─── Centered Signal Badges (Free & Premium) ─── */
.signal-card {
  position: relative;
  overflow: hidden;
}

.signal-center-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  pointer-events: none;
  white-space: nowrap;
}

.free-center-badge {
  background: rgba(0, 255, 136, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 255, 136, 0.4);
  color: #fff;
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.2), inset 0 0 10px rgba(0, 255, 136, 0.1);
  font-family: 'Cairo', sans-serif;
  letter-spacing: 2px;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 6px;
  text-shadow: 0 0 8px rgba(0, 255, 136, 0.8);
  text-transform: uppercase;
}
.free-center-badge .badge-icon {
  display: none;
}

.premium-center-badge { display: none; }


/* Card content stays above the badge watermark */
.signal-card-top,
.signal-card-body,
.signal-footer,
.signal-type-badge {
  position: relative;
  z-index: 2;
}

/* Locked card header above badge */
.locked-pair-header {
  position: relative;
  z-index: 3;
}

/* ─── TRUST SECTION ─── */
.trust-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-bottom: 36px;
}
.trust-card {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.trust-card:hover {
  border-color: rgba(0,240,255,0.25);
  background: rgba(0,240,255,0.04);
}
.trust-icon { font-size: 24px; }
.trust-title { font-size: 13px; font-weight: 600; margin-bottom: 2px; }
.trust-sub { font-size: 11px; color: var(--text-secondary); }

/* ─── REFERRAL SECTION ─── */
.referral-section {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.referral-icon { font-size: 36px; }
.referral-content h3 {
  font-family: var(--font-heading);
  font-size: 16px; font-weight: 700;
  margin-bottom: 6px;
  color: var(--neon-gold);
}
.referral-content p {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}
.referral-link-row {
  display: flex; gap: 10px; align-items: center;
  flex-wrap: wrap;
}
.referral-link-box {
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 8px 14px;
  font-family: 'Courier New', monospace;
  font-size: 12px;
  color: var(--neon-blue);
  flex: 1; min-width: 200px;
}
.btn-copy {
  padding: 8px 18px;
  background: transparent;
  border: 1px solid var(--neon-blue);
  color: var(--neon-blue);
  border-radius: var(--radius);
  font-size: 12px; font-weight: 600;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-copy:hover, .btn-copy.copied {
  background: var(--neon-blue);
  color: var(--bg);
  box-shadow: 0 0 15px rgba(0,240,255,0.4);
}

/* ═══════════════════ SUBSCRIPTION PAGE ═══════════════════ */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 36px;
  align-items: stretch;
}

.plan-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px 24px;
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: all var(--transition);
}
.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,240,255,0.08);
}
.plan-featured {
  border-color: rgba(168,85,247,0.5);
  background: linear-gradient(160deg, rgba(168,85,247,0.08), rgba(0,240,255,0.04));
}
.plan-featured:hover {
  box-shadow: 0 16px 60px rgba(168,85,247,0.2);
}
.plan-vip {
  border-color: rgba(251,191,36,0.3);
  background: linear-gradient(160deg, rgba(251,191,36,0.06), rgba(255,0,60,0.03));
}

.plan-glow-border {
  position: absolute; inset: -1px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-blue), var(--neon-purple));
  z-index: -1;
  opacity: 0.7;
  animation: borderGlow 3s linear infinite;
  background-size: 200% 200%;
}
@keyframes borderGlow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.plan-popular-tag {
  position: absolute; top: 14px; right: 16px;
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-blue));
  color: #fff;
  font-size: 9px; font-weight: 700;
  padding: 3px 10px;
  border-radius: 9999px;
  letter-spacing: 1px;
  font-family: var(--font-heading);
}

.plan-header { margin-bottom: 20px; }
.plan-badge {
  font-size: 10px; font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  font-family: var(--font-heading);
}
.free-badge    { color: var(--text-secondary); }
.premium-badge { color: var(--neon-purple); }
.vip-badge     { color: var(--neon-gold); }

.plan-price {
  font-family: var(--font-heading);
  font-size: 40px; font-weight: 900;
  line-height: 1;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.plan-price span {
  font-size: 16px; font-weight: 400;
  color: var(--text-secondary);
}
.plan-name {
  font-size: 14px;
  color: var(--text-secondary);
}

.plan-features {
  list-style: none;
  flex: 1;
  margin-bottom: 24px;
  display: flex; flex-direction: column; gap: 10px;
}
.plan-features li {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px;
}
.plan-features li::before { font-size: 14px; }
.feat-ok { color: var(--text-primary); }
.feat-ok::before { content: '✓'; color: var(--neon-green); }
.feat-no { color: var(--text-dim); }
.feat-no::before { content: '✕'; color: var(--text-dim); }

.btn-plan {
  width: 100%;
  padding: 12px;
  border-radius: var(--radius);
  font-size: 14px; font-weight: 700;
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
  transition: all var(--transition);
}
.btn-free {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
}
.btn-premium {
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-blue));
  color: #fff;
  border: none;
}
.btn-premium:hover {
  box-shadow: 0 0 30px rgba(168,85,247,0.5);
  transform: translateY(-1px);
}
.btn-vip {
  background: linear-gradient(135deg, var(--neon-gold), var(--neon-red));
  color: #fff;
  border: none;
}
.btn-vip:hover {
  box-shadow: 0 0 30px rgba(251,191,36,0.4);
  transform: translateY(-1px);
}

.plan-guarantee {
  text-align: center;
  font-size: 11px;
  color: var(--neon-green);
  margin-top: 10px;
}

/* Payment Section */
.payment-section {
  padding: 28px;
  text-align: center;
}
.payment-title {
  font-family: var(--font-heading);
  font-size: 16px; font-weight: 700;
  margin-bottom: 20px;
}
.payment-methods {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.payment-method {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 24px;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
  min-width: 80px;
}
.payment-method:hover {
  border-color: var(--neon-blue);
  background: rgba(0,240,255,0.05);
  transform: translateY(-2px);
}
.pm-icon {
  font-size: 24px; font-weight: 700;
  color: var(--neon-blue);
  font-family: serif;
}
.payment-note {
  font-size: 12px;
  color: var(--text-secondary);
}

/* ═══════════════════ PERFORMANCE PAGE ═══════════════════ */
.winrate-section {
  padding: 32px;
  margin-bottom: 32px;
}
.winrate-display {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}
.winrate-circle {
  position: relative;
  width: 160px; height: 160px;
  flex-shrink: 0;
}
.gauge-svg {
  width: 100%; height: 100%;
  transform: rotate(-90deg);
}
.gauge-bg {
  fill: none;
  stroke: rgba(255,255,255,0.06);
  stroke-width: 10;
}
.gauge-fill {
  fill: none;
  stroke: url(#gaugeGrad);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 339;
  stroke-dashoffset: 51; /* 100% - 85% = 15% of 339 ≈ 51 */
  animation: gaugeAnim 1.5s ease-out;
}
@keyframes gaugeAnim {
  from { stroke-dashoffset: 339; }
  to   { stroke-dashoffset: 51; }
}
.winrate-value {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-size: 28px; font-weight: 900;
  color: var(--neon-blue);
  filter: drop-shadow(0 0 10px var(--neon-blue));
}
.winrate-info h2 {
  font-family: var(--font-heading);
  font-size: 22px; font-weight: 700;
  margin-bottom: 8px;
}
.winrate-info p { color: var(--text-secondary); font-size: 14px; margin-bottom: 16px; }
.winrate-stats { display: flex; gap: 24px; }
.ws-item { text-align: center; }
.ws-val {
  font-family: var(--font-heading);
  font-size: 24px; font-weight: 700;
  display: block;
}
.ws-label { font-size: 12px; color: var(--text-secondary); }

.results-list {
  display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 36px;
}
.result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  transition: all var(--transition);
  flex-wrap: wrap;
}
.result-item:hover {
  border-color: rgba(0,240,255,0.2);
  transform: translateX(4px);
}
.result-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.result-dot.win  { background: var(--neon-green); box-shadow: 0 0 8px var(--neon-green); }
.result-dot.loss { background: var(--neon-red);   box-shadow: 0 0 8px var(--neon-red); }
.result-pair { font-weight: 600; min-width: 80px; }
.result-badge {
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.win-badge {
  background: rgba(0, 255, 136, 0.15);
  color: var(--neon-green);
  border: 1px solid var(--neon-green);
}
.loss-badge {
  background: rgba(255, 65, 105, 0.15);
  color: var(--neon-red);
  border: 1px solid var(--neon-red);
}
.result-plan {
  padding: 3px 8px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}
.result-plan.premium {
  background: rgba(168, 85, 247, 0.15);
  color: #a855f7;
  border: 1px solid rgba(168, 85, 247, 0.4);
}
.result-plan.free {
  background: rgba(0, 240, 255, 0.1);
  color: var(--neon-blue);
  border: 1px solid rgba(0, 240, 255, 0.3);
}
.result-pips {
  margin-left: auto;
  font-family: var(--font-heading);
  font-size: 15px; font-weight: 700;
}
.result-pips.positive { color: var(--neon-green); }
.result-pips.negative { color: var(--neon-red); }
.result-meta { font-size: 12px; color: var(--text-dim); }

.proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 8px;
}
.proof-card { overflow: hidden; }
.proof-placeholder {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px;
  padding: 36px 20px;
  text-align: center;
  font-size: 13px;
  color: var(--text-secondary);
}
.proof-icon { font-size: 32px; }
.proof-result {
  font-family: var(--font-heading);
  font-size: 18px; font-weight: 700;
}

/* ═══════════════════ ACCOUNT PAGE ═══════════════════ */
.account-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.account-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  grid-column: 1 / -1;
}
.account-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-blue));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-size: 22px; font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(168,85,247,0.4);
}
.account-email {
  font-size: 18px; font-weight: 600;
  margin-bottom: 8px;
}
.account-plan-row { display: flex; align-items: center; gap: 10px; }
.account-plan-badge {
  font-family: var(--font-heading);
  font-size: 11px; font-weight: 700;
  padding: 3px 10px;
  border-radius: 9999px;
  background: rgba(0,240,255,0.1);
  border: 1px solid rgba(0,240,255,0.3);
  color: var(--neon-blue);
}
.account-plan-label { font-size: 13px; color: var(--text-secondary); }

.account-details {
  padding: 24px;
  display: flex; flex-direction: column; gap: 16px;
}
.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--glass-border);
  font-size: 14px;
}
.detail-row:last-child { border-bottom: none; padding-bottom: 0; }
.detail-label { color: var(--text-secondary); }
.detail-val { font-weight: 600; }

.account-actions {
  padding: 24px;
  display: flex; flex-direction: column; gap: 14px;
}
.account-actions h3 {
  font-family: var(--font-heading);
  font-size: 14px; font-weight: 700;
  margin-bottom: 4px;
}

/* Push Notification Settings */
.account-notif-settings {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.account-notif-settings h3 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}
.notif-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.notif-toggle-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.notif-toggle-title {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 14px;
}
.notif-toggle-desc {
  font-size: 12px;
  color: var(--text-muted);
}
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
  flex-shrink: 0;
}
.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--glass-border);
  transition: 0.3s;
  border-radius: 26px;
}
.toggle-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 2px;
  bottom: 2px;
  background: var(--text-muted);
  transition: 0.3s;
  border-radius: 50%;
}
.toggle-switch input:checked + .toggle-slider {
  background: rgba(0,255,136,0.15);
  border-color: rgba(0,255,136,0.4);
}
.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(24px);
  background: var(--neon-green);
  box-shadow: 0 0 10px var(--neon-green);
}
.toggle-switch input:disabled + .toggle-slider {
  opacity: 0.5;
  cursor: not-allowed;
}
.notif-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(0,0,0,0.2);
  border-radius: var(--radius);
  font-size: 12px;
}
.notif-status.active {
  background: rgba(0,255,136,0.08);
}
.notif-status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
}
.notif-status-indicator.active {
  background: var(--neon-green);
  box-shadow: 0 0 8px var(--neon-green);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.btn-action {
  padding: 12px;
  border-radius: var(--radius);
  font-size: 14px; font-weight: 600;
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-blue));
  color: #fff;
  border: none;
  transition: all var(--transition);
}
.btn-action:hover {
  box-shadow: 0 0 20px rgba(168,85,247,0.4);
  transform: translateY(-1px);
}
.btn-action.btn-secondary {
  background: transparent;
  border: 1px solid var(--neon-red);
  color: var(--neon-red);
}
.btn-action.btn-secondary:hover {
  background: rgba(255,0,60,0.1);
  box-shadow: 0 0 20px rgba(255,0,60,0.2);
}

/* ═══════════════════ NOTIFICATIONS PAGE ═══════════════════ */
.page-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-mark-read {
  background: transparent;
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 12px;
  transition: all var(--transition);
}
.btn-mark-read:hover {
  border-color: var(--neon-blue);
  color: var(--neon-blue);
}

.notif-list {
  display: flex; flex-direction: column; gap: 10px;
  margin-top: 8px;
}
.notif-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
  position: relative;
}
.notif-item:hover {
  border-color: rgba(0,240,255,0.2);
  background: rgba(0,240,255,0.03);
}
.notif-item.unread { border-left: 3px solid var(--neon-blue); }
.notif-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--neon-blue);
  flex-shrink: 0;
  margin-top: 6px;
  box-shadow: 0 0 8px var(--neon-blue);
}
.notif-dot.read { background: var(--text-dim); box-shadow: none; }
.notif-text { flex: 1; }
.notif-title { font-weight: 600; font-size: 14px; margin-bottom: 3px; }
.notif-body  { font-size: 12px; color: var(--text-secondary); }
.notif-time  { font-size: 11px; color: var(--text-dim); white-space: nowrap; }

/* ═══════════════════ FAQ PAGE ═══════════════════ */
.faq-list {
  display: flex; flex-direction: column; gap: 10px;
}
.faq-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}
.faq-item.open { border-color: rgba(0,240,255,0.25); }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: all var(--transition);
}
.faq-q:hover { color: var(--neon-blue); }
.faq-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  transition: transform var(--transition);
  flex-shrink: 0;
}
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--neon-blue); border-color: var(--neon-blue); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  padding: 0 20px;
}
.faq-item.open .faq-a {
  max-height: 200px;
  padding: 0 20px 18px;
}

/* ═══════════════════ ABOUT PAGE ═══════════════════ */
.about-content { padding: 36px; text-align: center; }
.about-logo-big {
  font-size: 64px;
  color: var(--neon-blue);
  filter: drop-shadow(0 0 20px var(--neon-blue));
  margin-bottom: 24px;
  animation: logoPulse 3s ease-in-out infinite;
}
.about-text {
  color: var(--text-secondary);
  font-size: 15px; line-height: 1.7;
  max-width: 600px; margin: 0 auto 16px;
}
.about-stats {
  display: flex; justify-content: center; gap: 40px;
  flex-wrap: wrap;
  margin: 28px 0;
  padding: 24px 0;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}
.ab-num {
  font-family: var(--font-heading);
  font-size: 28px; font-weight: 700;
  margin-bottom: 4px;
}
.ab-label { font-size: 12px; color: var(--text-secondary); }

.team-section { margin-top: 28px; text-align: center; }
.team-section h3 {
  font-family: var(--font-heading);
  font-size: 14px; margin-bottom: 20px;
  color: var(--text-secondary); text-transform: uppercase; letter-spacing: 2px;
}
.team-grid {
  display: flex; justify-content: center; gap: 20px; flex-wrap: wrap;
}
.team-card {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 20px;
  background: rgba(0,0,0,0.2);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  min-width: 130px;
  transition: all var(--transition);
}
.team-card:hover {
  border-color: rgba(168,85,247,0.4);
  transform: translateY(-3px);
}
.team-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-blue));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px;
  color: #fff;
}
.team-name { font-size: 14px; font-weight: 600; }
.team-role { font-size: 11px; color: var(--text-secondary); }

/* ═══════════════════ CONTACT PAGE ═══════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 20px;
  align-items: start;
}
.contact-info {
  padding: 24px;
  display: flex; flex-direction: column; gap: 20px;
}
.contact-item {
  display: flex; align-items: flex-start; gap: 14px;
}
.ci-icon { font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.ci-label { font-size: 12px; color: var(--text-secondary); margin-bottom: 2px; }
.ci-val { font-size: 14px; font-weight: 600; }

.contact-form {
  padding: 28px;
  display: flex; flex-direction: column; gap: 18px;
}
.form-group {
  display: flex; flex-direction: column; gap: 6px;
}
.form-group label { font-size: 12px; color: var(--text-secondary); font-weight: 500; }
.form-group input,
.form-group textarea {
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 10px 14px;
  color: var(--text-primary);
  font-size: 14px;
  transition: all var(--transition);
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--neon-blue);
  box-shadow: 0 0 0 2px rgba(0,240,255,0.1);
}
.btn-submit {
  padding: 12px;
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 14px; font-weight: 700;
  letter-spacing: 0.5px;
  transition: all var(--transition);
}
.btn-submit:hover {
  box-shadow: 0 0 25px rgba(0,240,255,0.4);
  transform: translateY(-1px);
}

/* ═══════════════════ LOGIN MODAL ═══════════════════ */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: rgba(13,13,20,0.96);
  border: 1px solid rgba(0,240,255,0.2);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  width: 100%; max-width: 400px;
  position: relative;
  transform: scale(0.93) translateY(10px);
  transition: all var(--transition);
  box-shadow: 0 0 60px rgba(0,240,255,0.1), 0 20px 60px rgba(0,0,0,0.5);
}
.modal-overlay.active .modal-box {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute; top: 14px; right: 16px;
  background: transparent;
  color: var(--text-dim);
  font-size: 18px;
  transition: all var(--transition);
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.modal-close:hover {
  background: rgba(255,0,60,0.1);
  color: var(--neon-red);
}

.modal-logo {
  text-align: center;
  font-size: 32px;
  color: var(--neon-blue);
  filter: drop-shadow(0 0 12px var(--neon-blue));
  margin-bottom: 12px;
}
.brand-app-logo {
  display: block;
  margin: 0 auto 16px auto;
  max-height: 90px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.5));
  transition: all var(--transition);
}
.brand-app-logo:hover {
  filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.8));
  transform: scale(1.02);
}
.modal-title {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 22px; font-weight: 700;
  margin-bottom: 6px;
}
.modal-sub {
  text-align: center;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

/* Social Login */
.social-login { margin-bottom: 20px; width: 100%; box-sizing: border-box; }
.btn-social {
  width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 14px;
  background: rgba(10, 10, 15, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: var(--radius);
  color: #fff;
  font-size: 14px; font-weight: 600;
  font-family: var(--font-heading);
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  box-sizing: border-box;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4), inset 0 0 10px rgba(0,240,255,0.05);
}
.btn-social:hover {
  border-color: rgba(0, 240, 255, 0.8);
  background: rgba(0, 240, 255, 0.1);
  box-shadow: 0 8px 25px rgba(0,0,0,0.5), inset 0 0 20px rgba(0,240,255,0.1);
  transform: translateY(-2px);
}
.btn-social img,
.btn-social svg {
  width: 20px; height: 20px;
  object-fit: contain;
}
.btn-social span {
  color: var(--neon-blue);
  font-weight: 700;
}

.divider-or {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px;
  color: var(--text-dim); font-size: 12px;
}
.divider-or::before, .divider-or::after {
  content: '';
  flex: 1; height: 1px;
  background: var(--glass-border);
}

/* Login Form */
.login-form { display: flex; flex-direction: column; gap: 14px; }

.pass-wrap {
  position: relative;
}
.pass-wrap input { width: 100%; padding-right: 40px; }
.pass-toggle {
  position: absolute; right: 10px; top: 50%;
  transform: translateY(-50%);
  background: none;
  color: var(--text-dim); font-size: 14px;
  padding: 4px;
  transition: color var(--transition);
}
.pass-toggle:hover { color: var(--neon-blue); }

.form-footer-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px;
}
.remember-me {
  display: flex; align-items: center; gap: 6px;
  cursor: pointer;
  color: var(--text-secondary);
}
.remember-me input[type="checkbox"] { accent-color: var(--neon-blue); }
.forgot-pass { color: var(--neon-blue); font-size: 12px; }
.forgot-pass:hover { text-decoration: underline; }

.login-error {
  font-size: 12px;
  color: var(--neon-red);
  min-height: 16px;
  text-align: center;
}

.btn-login-submit {
  padding: 13px;
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 15px; font-weight: 700;
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: all var(--transition);
}
.btn-login-submit:hover {
  box-shadow: 0 0 30px rgba(0,240,255,0.4);
}
.btn-login-submit:disabled { opacity: 0.7; cursor: not-allowed; }

.btn-loader {
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: none;
}
.btn-loader.visible { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.signup-prompt {
  text-align: center;
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-secondary);
}
.signup-prompt a { color: var(--neon-blue); font-weight: 600; }
.signup-prompt a:hover { text-decoration: underline; }

/* ═══════════════════ TERMINAL POPUP ═══════════════════ */
.terminal-box {
  background: #0a0a0a;
  border: 1px solid rgba(0,255,136,0.4);
  border-radius: var(--radius-lg);
  width: 100%; max-width: 580px;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(0,255,136,0.15);
  transform: scale(0.93) translateY(10px);
  transition: all var(--transition);
}
.modal-overlay.active .terminal-box {
  transform: scale(1) translateY(0);
}

.terminal-header {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  background: rgba(0,0,0,0.5);
  border-bottom: 1px solid rgba(0,255,136,0.2);
}
.term-dots { display: flex; gap: 7px; }
.dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.dot.red    { background: #ff5f57; }
.dot.yellow { background: #ffbd2e; }
.dot.green  { background: #28ca41; }

.term-title {
  flex: 1;
  font-family: var(--font-heading);
  font-size: 11px; font-weight: 600;
  color: rgba(0,255,136,0.7);
  letter-spacing: 1px;
}
.term-close { position: static; }

.terminal-body {
  padding: 20px 24px;
  min-height: 160px;
  font-family: 'Courier New', monospace;
  font-size: 13px;
  color: var(--neon-green);
  line-height: 1.7;
}
.terminal-line {
  display: flex; align-items: center; gap: 8px;
}
.term-prompt { color: rgba(0,240,255,0.6); }
.cursor {
  display: inline-block;
  width: 7px; height: 14px;
  background: var(--neon-green);
  animation: blink 0.8s step-end infinite;
  vertical-align: middle;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }

.terminal-signal {
  padding: 0 24px 24px;
  display: none;
}
.term-signal-card {
  background: rgba(0,255,136,0.08);
  border: 1px solid rgba(0,255,136,0.3);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-family: 'Courier New', monospace;
}
.term-sig-header {
  font-size: 10px; letter-spacing: 2px;
  color: rgba(0,255,136,0.5);
  margin-bottom: 8px;
}
.term-sig-pair {
  font-family: var(--font-heading);
  font-size: 22px; font-weight: 700;
  color: var(--neon-green);
  margin-bottom: 10px;
}
.term-sig-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}
.term-sig-item { font-size: 12px; }
.term-sig-label { color: rgba(255,255,255,0.4); font-size: 10px; }
.term-sig-val   { color: var(--neon-green); font-weight: 600; }

/* ═══════════════════ TOAST ═══════════════════ */
.toast-container {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 3000;
  display: flex; flex-direction: column; gap: 10px;
  pointer-events: none;
}
.toast {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px;
  background: rgba(13,13,20,0.95);
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  font-size: 13px; font-weight: 500;
  min-width: 240px;
  animation: toastIn 0.3s ease, toastOut 0.3s ease 2.7s forwards;
  pointer-events: all;
}
.toast.success { border-color: rgba(0,255,136,0.4); }
.toast.error   { border-color: rgba(255,0,60,0.4); }
.toast.info    { border-color: rgba(0,240,255,0.4); }
.toast-icon { font-size: 16px; flex-shrink: 0; }
@keyframes toastIn  { from { opacity:0; transform: translateX(20px); } to { opacity:1; transform: translateX(0); } }
@keyframes toastOut { from { opacity:1; transform: translateX(0); } to { opacity:0; transform: translateX(20px); } }

/* ═══════════════════ MOBILE BOTTOM NAV ═══════════════════ */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 72px;
  background: rgba(13, 13, 13, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(0, 242, 255, 0.2);
  z-index: 1000;
  padding: 0 8px;
  padding-bottom: env(safe-area-inset-bottom, 8px);
  justify-content: space-around;
  align-items: center;
  flex-direction: row;
}

[dir="rtl"] .mobile-bottom-nav {
  flex-direction: row-reverse;
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 16px;
  border-radius: 16px;
  color: #4a5270;
  text-decoration: none;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex: 1;
  max-width: 80px;
  -webkit-tap-highlight-color: transparent;
}

.bottom-nav-item::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 242, 255, 0.08) 0%, rgba(168, 85, 247, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border: 1px solid transparent;
}

.bottom-nav-item:hover::before {
  opacity: 0.5;
  border-color: rgba(0, 242, 255, 0.15);
}

.bottom-nav-item.active::before {
  opacity: 1;
  border-color: rgba(0, 242, 255, 0.3);
  background: linear-gradient(135deg, rgba(0, 242, 255, 0.12) 0%, rgba(168, 85, 247, 0.08) 100%);
}

.bottom-nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

.bottom-nav-icon svg {
  width: 24px;
  height: 24px;
  stroke: #4a5270;
  fill: none;
  stroke-width: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bottom-nav-label {
  font-family: 'Inter', 'Poppins', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0.5;
  position: relative;
  z-index: 1;
  color: #6b7280;
}

.bottom-nav-item.active {
  color: var(--neon-blue);
}

.bottom-nav-item.active .bottom-nav-icon svg {
  stroke: var(--neon-blue);
  filter: drop-shadow(0 0 5px #00f2ff);
}

.bottom-nav-item.active .bottom-nav-label {
  opacity: 1;
  font-weight: 700;
  color: var(--neon-blue);
  font-family: 'Inter', 'Poppins', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.bottom-nav-item:active {
  transform: scale(0.95);
}

@keyframes navGlow {
  0%, 100% { filter: drop-shadow(0 0 5px #00f2ff); }
  50% { filter: drop-shadow(0 0 8px #00f2ff); }
}

.bottom-nav-item.active .bottom-nav-icon svg {
  animation: navGlow 2.5s ease-in-out infinite;
}

/* ═══════════════════ LOT SIZE CALCULATOR ═══════════════════ */
.calculator-section {
  margin-bottom: 40px;
}

.calculator-header {
  margin-bottom: 20px;
}

.calculator-sub {
  color: var(--text-secondary);
  font-size: 14px;
  margin-top: 6px;
}

.calculator-card {
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
  position: relative;
  overflow: hidden;
}

.calculator-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-blue), var(--neon-purple), transparent);
  animation: calcBorderGlow 3s ease-in-out infinite;
}

@keyframes calcBorderGlow {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.calc-input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calc-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.calc-label-icon {
  font-size: 14px;
}

.calc-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.calc-currency,
.calc-suffix {
  position: absolute;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--neon-blue);
  z-index: 2;
}

.calc-currency {
  left: 14px;
}

.calc-suffix {
  right: 14px;
  color: var(--text-dim);
}

.calc-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 14px 16px;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 600;
  font-family: var(--font-heading);
  transition: all var(--transition);
  box-shadow: 0 0 0 0 rgba(0, 240, 255, 0);
}

.calc-input-wrapper:has(.calc-currency) .calc-input {
  padding-left: 32px;
}

.calc-input-wrapper:has(.calc-suffix) .calc-input {
  padding-right: 60px;
}

.calc-input:focus {
  border-color: var(--neon-blue);
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.15), 0 0 20px rgba(0, 240, 255, 0.1);
  outline: none;
}

.calc-input::placeholder {
  color: var(--text-dim);
  font-weight: 400;
}

.calc-select {
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 14px 16px;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-heading);
  cursor: pointer;
  transition: all var(--transition);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2300f0ff' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.calc-select:focus {
  border-color: var(--neon-blue);
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.15), 0 0 20px rgba(0, 240, 255, 0.1);
  outline: none;
}

.calc-select option {
  background: var(--bg2);
  color: var(--text-primary);
  padding: 10px;
}

.calc-result-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.calc-result-box {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.08), rgba(168, 85, 247, 0.08));
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
  animation: resultGlow 2s ease-in-out infinite;
}

@keyframes resultGlow {
  0%, 100% { 
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.15), 0 0 40px rgba(168, 85, 247, 0.08);
  }
  50% { 
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.25), 0 0 60px rgba(168, 85, 247, 0.15);
  }
}

.calc-result-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.05) 0%, transparent 50%);
  animation: resultPulse 3s ease-in-out infinite;
}

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

.calc-result-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  position: relative;
}

.calc-result-value {
  font-family: var(--font-heading);
  font-size: 56px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--neon-blue) 0%, var(--neon-purple) 50%, var(--neon-green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.5));
  line-height: 1;
  margin-bottom: 8px;
  position: relative;
}

.calc-result-unit {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
}

.calc-risk-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
}

.calc-risk-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.calc-risk-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.calc-risk-item:first-child {
  padding-top: 0;
}

.calc-risk-label {
  font-size: 13px;
  color: var(--text-secondary);
}

.calc-risk-value {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
}

.btn-calc-reset {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background: transparent;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  margin-top: 8px;
}

.btn-calc-reset:hover {
  border-color: var(--neon-blue);
  color: var(--neon-blue);
  background: rgba(0, 240, 255, 0.05);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
}

.btn-calc-reset span {
  font-size: 16px;
}

@media (max-width: 900px) {
  .calculator-card {
    grid-template-columns: 1fr;
    padding: 24px;
  }
  
  .calc-result-value {
    font-size: 48px;
  }
}

@media (max-width: 480px) {
  .calculator-card {
    padding: 20px;
  }
  
  .calc-result-box {
    padding: 24px 16px;
  }
  
  .calc-result-value {
    font-size: 40px;
  }
  
  .calc-input,
  .calc-select {
    padding: 12px 14px;
    font-size: 14px;
  }
}

/* ════════════════════ RESPONSIVE ════════════════════ */
@media (max-width: 1024px) {
  .sidebar { 
    transform: translateX(-100%); 
    inset-inline-start: 0;
  }
  .sidebar.open { 
    transform: translateX(0); 
    box-shadow: 8px 0 40px rgba(0,0,0,0.6); 
  }
  [dir="rtl"] .sidebar { 
    transform: translateX(100%) !important; 
    inset-inline-start: auto !important;
    inset-inline-end: 0 !important;
  }
  [dir="rtl"] .sidebar.open { 
    transform: translateX(0) !important; 
    box-shadow: -8px 0 40px rgba(0,0,0,0.6); 
  }
  .main-content { margin-inline-start: 0; padding-inline-start: 0; width: 100%; max-width: 100%; }
  [dir="rtl"] .main-content { margin-inline-start: 0; margin-inline-end: 0; padding-inline-start: 0; width: 100%; }
  .topbar { inset-inline-start: 0; inset-inline-end: 0; width: 100%; max-width: 100%; }
  [dir="rtl"] .topbar { inset-inline-start: 0; inset-inline-end: 0; width: 100%; }
  .forex-ticker { inset-inline-start: 0; inset-inline-end: 0; width: 100%; max-width: 100%; }
  .forex-ticker .ticker-track { overflow: hidden; }
  [dir="rtl"] .forex-ticker { inset-inline-start: 0; inset-inline-end: 0; width: 100%; }
  .hamburger { display: flex; }
  .topbar-title { display: flex; }
  .logo-img-sm { height: 20px; }
  .contact-grid { grid-template-columns: 1fr; }
  .account-grid { grid-template-columns: 1fr; }
  .mobile-bottom-nav { display: flex; }
}

@media (max-width: 768px) {
  .page { padding: 24px 20px 80px; }
  .hero-title { font-size: 28px; }
  .stats-bar { gap: 12px; }
  .stat-divider { display: none; }
  .signals-grid { grid-template-columns: 1fr; }
  .plans-grid { grid-template-columns: 1fr; }
  .winrate-display { flex-direction: column; text-align: center; }
  .winrate-stats { justify-content: center; }
  .term-sig-grid { grid-template-columns: 1fr 1fr; }
  .referral-section { flex-direction: column; }
  .proof-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .page { padding: 20px 16px 40px; }
  .modal-box { padding: 28px 20px; }
  .filter-tabs { display: none; }
  .urgency-banner { font-size: 11px; padding: 6px 14px; }

  /* Mobile RTL fixes */
  [dir="rtl"] .form-group input,
  [dir="rtl"] .form-group textarea {
    font-size: 16px;
  }
  [dir="rtl"] .pass-wrap input {
    padding-right: 14px;
    padding-left: 40px;
  }
  [dir="rtl"] .pass-toggle {
    inset-inline-end: 10px;
    inset-inline-start: auto;
  }
}

/* RTL Global Width & Flexbox Fix */
html[dir="rtl"] body,
html[dir="rtl"] #main-wrapper,
html[dir="rtl"] .main-content {
  overflow-x: hidden !important;
}

html[dir="rtl"] .sidebar {
  inset-inline-start: 0 !important;
  inset-inline-end: auto !important;
  border-inline-end: none !important;
  border-inline-start: 1px solid var(--glass-border) !important;
}

html[dir="rtl"] .main-content {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-inline-start: 0 !important;
  margin-inline-end: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-inline-start: var(--sidebar-w) !important;
  padding-inline-end: 0 !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
  justify-content: stretch !important;
  align-items: stretch !important;
}

html[dir="rtl"] .topbar,
html[dir="rtl"] .forex-ticker,
html[dir="rtl"] .mobile-bottom-nav {
  inset-inline-start: var(--sidebar-w) !important;
  inset-inline-end: 0 !important;
  width: calc(100% - var(--sidebar-w)) !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* On Mobile, reset everything to 100% since sidebar is hidden */
@media (max-width: 1024px) {
  html[dir="rtl"] .main-content,
  html[dir="rtl"] .topbar,
  html[dir="rtl"] .forex-ticker,
  html[dir="rtl"] .mobile-bottom-nav {
    padding-inline-start: 0 !important;
    inset-inline-start: 0 !important;
    inset-inline-end: 0 !important;
    width: 100% !important;
  }
}

/* ═══════════════════ RTL FORM OPTIMIZATION COMPONENT ═══════════════════ */
[dir="rtl"] .form-group { text-align: right; }
[dir="rtl"] .form-group label { text-align: right; display: block; }
[dir="rtl"] .form-group input,
[dir="rtl"] .form-group textarea {
  direction: rtl;
  text-align: right;
  unicode-bidi: embed;
}
[dir="rtl"] .form-group input::placeholder,
[dir="rtl"] .form-group textarea::placeholder {
  direction: rtl;
  text-align: right;
}
[dir="rtl"] .pass-wrap { direction: rtl; }
[dir="rtl"] .pass-wrap input { padding-inline-start: 40px; padding-inline-end: 14px; text-align: right; }
[dir="rtl"] .pass-toggle { inset-inline-end: 10px; inset-inline-start: auto; }
[dir="rtl"] .contact-form .form-group { text-align: right; }
[dir="rtl"] .contact-form .form-group label { text-align: right; margin-inline-start: 0; margin-inline-end: 0; }

[dir="rtl"] .modal-box .form-group { text-align: right; }
[dir="rtl"] .modal-box .form-group label { text-align: right; }

[dir="rtl"] .login-form .form-group { text-align: right; }
[dir="rtl"] .login-form .form-group label { text-align: right; }

[dir="rtl"] .remember-me { flex-direction: row-reverse; }
[dir="rtl"] .form-footer-row { flex-direction: row-reverse; }

[dir="rtl"] .detail-row { flex-direction: row-reverse; }

[dir="rtl"] .signal-row { flex-direction: row-reverse; }
[dir="rtl"] .signal-label { margin-inline-start: 0; }

[dir="rtl"] .signal-card-top { flex-direction: row-reverse; }
[dir="rtl"] .signal-footer { flex-direction: row-reverse; }


[dir="rtl"] .result-item { flex-direction: row-reverse; }
[dir="rtl"] .result-pips { margin-inline-start: 0; margin-inline-end: auto; }

[dir="rtl"] .notif-item { flex-direction: row-reverse; }
[dir="rtl"] .notif-text { text-align: right; }
[dir="rtl"] .notif-time { text-align: left; }

[dir="rtl"] .faq-q { flex-direction: row-reverse; }

/* Strict RTL Flow, Typography, & Alignment Overrides */
[dir="rtl"] body, 
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4, [dir="rtl"] h5, [dir="rtl"] h6, 
[dir="rtl"] .trust-title, [dir="rtl"] .plan-badge, [dir="rtl"] .page-sub, [dir="rtl"] .plan-popular-tag,
[dir="rtl"] .hack-desc {
  letter-spacing: 0 !important;
}

[dir="rtl"] .trust-card { flex-direction: row-reverse; text-align: right; }
[dir="rtl"] .trust-sub { text-align: right; }

[dir="rtl"] .plan-card { text-align: right; }
[dir="rtl"] .plan-features li { flex-direction: row-reverse; text-align: right; }
[dir="rtl"] .plan-features li::before { margin-inline-start: 12px; margin-inline-end: 0; padding-inline-start: 0; }

[dir="rtl"] .plan-popular-tag { right: auto; left: 16px; }

[dir="rtl"] .referral-section { flex-direction: row-reverse; }
[dir="rtl"] .referral-link-row { flex-direction: row-reverse; }

[dir="rtl"] .account-card { flex-direction: row-reverse; }
[dir="rtl"] .account-details .detail-row { flex-direction: row-reverse; }

[dir="rtl"] .account-actions { text-align: right; }
[dir="rtl"] .account-actions h3 { text-align: right; }

[dir="rtl"] .modal-close {
  right: auto;
  left: 16px;
}

[dir="rtl"] .modal-box {
  transform: scale(0.93) translateY(10px);
}
[dir="rtl"] .modal-overlay.active .modal-box {
  transform: scale(1) translateY(0);
}

/* Payment modal RTL */
[dir="rtl"] .pay-method-tile { flex-direction: row-reverse; }
[dir="rtl"] .pay-method-tile::before {
  left: auto;
  right: 0;
  border-radius: 0 3px 3px 0;
}
[dir="rtl"] .pay-method-tile:hover { transform: translateX(-4px); }
[dir="rtl"] .pm-arrow { transform: scaleX(-1); }
[dir="rtl"] .pay-plan-toggle { flex-direction: row-reverse; }
[dir="rtl"] .crypto-coin-tabs { flex-direction: row-reverse; }
[dir="rtl"] .crypto-verify-tabs { flex-direction: row-reverse; }
[dir="rtl"] .crypto-back-row { text-align: right; }

[dir="rtl"] .crypto-wallet-box { text-align: center; }
[dir="rtl"] .crypto-address { direction: ltr; unicode-bidi: plaintext; }
[dir="rtl"] .crypto-remove-btn {
  right: auto;
  left: -8px;
}

[dir="rtl"] .pay-back-btn { text-align: right; }
[dir="rtl"] .pay-secure-note { text-align: center; }

[dir="rtl"] .crypto-verification-section { text-align: right; }
[dir="rtl"] .crypto-upload-box { direction: rtl; }

[dir="rtl"] .modal-box input[type="email"],
[dir="rtl"] .modal-box input[type="password"],
[dir="rtl"] .modal-box input[type="text"] {
  direction: rtl;
  text-align: right;
}

/* Contact form specific RTL fixes */
[dir="rtl"] .contact-form { text-align: right; }
[dir="rtl"] .contact-form input,
[dir="rtl"] .contact-form textarea {
  direction: rtl;
  text-align: right;
}
[dir="rtl"] #contactName,
[dir="rtl"] #contactEmail,
[dir="rtl"] #contactMsg {
  direction: rtl;
  text-align: right;
}

/* Auth form RTL fixes */
[dir="rtl"] #loginEmail,
[dir="rtl"] #loginPass,
[dir="rtl"] #regName,
[dir="rtl"] #regEmail,
[dir="rtl"] #regPass {
  direction: rtl;
  text-align: right;
}

/* Forgot password RTL */
[dir="rtl"] #forgotEmail {
  direction: rtl;
  text-align: right;
}

/* Pay crypto RTL */
[dir="rtl"] #cryptoTxHash {
  direction: ltr;
  text-align: left;
  unicode-bidi: plaintext;
}

/* RTL font optimization */
[dir="rtl"] body {
  font-family: 'Cairo', sans-serif;
}
[dir="rtl"] input,
[dir="rtl"] textarea,
[dir="rtl"] select {
  font-family: 'Cairo', sans-serif;
}

[dir="rtl"] .forgot-msg { text-align: center; }

[dir="rtl"] .contact-item { flex-direction: row-reverse; }

[dir="rtl"] .signup-prompt { text-align: center; }

[dir="rtl"] .divider-or { flex-direction: row-reverse; }

/* ═══════════════════════════════════════════════════════════
   PARTNERS CAROUSEL — Infinite Scrolling Logos
   ═══════════════════════════════════════════════════════════ */
.partners-section {
  margin: 40px 0;
  padding: 32px 0;
  overflow: hidden;
  position: relative;
}

.partners-section::before,
.partners-section::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.partners-section::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg) 0%, transparent 100%);
}

.partners-section::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg) 0%, transparent 100%);
}

[dir="rtl"] .partners-section::before {
  left: auto;
  right: 0;
  background: linear-gradient(90deg, transparent 0%, var(--bg) 100%);
}

[dir="rtl"] .partners-section::after {
  right: auto;
  left: 0;
  background: linear-gradient(270deg, transparent 0%, var(--bg) 100%);
}

.partners-header {
  text-align: center;
  margin-bottom: 24px;
  padding: 0 20px;
}

.partners-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.partners-subtitle {
  font-size: 13px;
  color: var(--text-dim);
}

.partners-track-wrapper {
  overflow: hidden;
  position: relative;
  padding: 16px 0;
}

.partners-track-wrapper::before,
.partners-track-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.partners-track-wrapper::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg), transparent);
}

.partners-track-wrapper::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg), transparent);
}

.partners-track {
  display: flex;
  width: max-content;
}

.partners-slider {
  display: flex;
  width: max-content;
  animation: partnersScroll 35s linear infinite;
  will-change: transform;
}

.partners-slider:hover {
  animation-play-state: paused;
}

@keyframes partnersScroll {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

[dir="rtl"] .partners-slider {
  animation: partnersScrollRtl 35s linear infinite;
}

[dir="rtl"] .partners-slider:hover {
  animation-play-state: paused;
}

@keyframes partnersScrollRtl {
  0% { transform: translate3d(-50%, 0, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

.partners-slide {
  display: flex;
  gap: 24px;
  flex-shrink: 0;
}

.partner-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  padding: 0 32px;
  flex-shrink: 0;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: all var(--transition);
}

.partner-logo-item:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.partner-logo-item img {
  height: 100%;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

.partner-logo-placeholder {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 8px 24px;
  border: 1px solid rgba(0,240,255,0.2);
  border-radius: 8px;
  background: rgba(0,240,255,0.03);
  white-space: nowrap;
}

.partner-divider {
  width: 1px;
  height: 40px;
  background: var(--glass-border);
  flex-shrink: 0;
  align-self: center;
  margin: 0 8px;
}

@media (max-width: 768px) {
  .partners-section {
    margin: 32px 0;
    padding: 24px 0;
  }
  
  .partner-logo-item {
    height: 48px;
    padding: 0 24px;
  }
  
  .partner-logo-item img {
    max-width: 110px;
  }
  
  .partner-logo-placeholder {
    font-size: 11px;
    padding: 6px 16px;
  }
}

@media (max-width: 480px) {
  .partner-logo-item {
    height: 40px;
    padding: 0 16px;
  }
  
  .partner-logo-item img {
    max-width: 90px;
  }
}

/* ═══════════════════════════════════════════════════════════
   DYNAMIC SIGNALS — Loading, Animations, Premium, Results
   ═══════════════════════════════════════════════════════════ */

/* ─── Card Entrance Animation ─── */
@keyframes signalCardEnter {
  0%   { opacity: 0; transform: translateY(24px) scale(0.97); }
  60%  { opacity: 1; transform: translateY(-3px) scale(1.01); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.signal-card-enter {
  opacity: 0;
  animation: signalCardEnter 0.45s cubic-bezier(0.22,1,0.36,1) forwards;
}

/* ─── Signal Blur (for locked premium rows) ─── */
.signal-blur {
  filter: blur(5px);
  user-select: none;
  pointer-events: none;
}

/* ─── Locked Pair Header (visible above overlay) ─── */
.locked-pair-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px 12px;
  margin-bottom: 4px;
}
.locked-pair-name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--neon-purple);
  text-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}

/* ─── Premium Card Glow Ring ─── */
.premium-card {
  border-color: rgba(168,85,247,0.35) !important;
}
.premium-card::before {
  background: linear-gradient(90deg, transparent, var(--neon-purple), var(--neon-gold, #fbbf24), transparent) !important;
}
.premium-card:hover {
  box-shadow: 0 8px 40px rgba(168,85,247,0.22), 0 0 0 1px rgba(168,85,247,0.4) !important;
}

@keyframes premiumGlow {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.04); }
}
.premium-glow-ring {
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--radius-lg) + 1px);
  border: 1px solid transparent;
  background: linear-gradient(135deg, rgba(168,85,247,0.5), rgba(251,191,36,0.3), rgba(0,240,255,0.2)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  animation: premiumGlow 2.4s ease-in-out infinite;
  pointer-events: none;
}

/* Open premium card (authenticated) */
.premium-open {
  border-color: rgba(251,191,36,0.35) !important;
}
.premium-open::before {
  background: linear-gradient(90deg, transparent, var(--neon-gold, #fbbf24), transparent) !important;
}

/* ─── Premium Badge (top-right on unlocked premium cards) ─── */
.signal-premium-badge {
  position: absolute; top: 12px; right: 12px;
  background: rgba(168,85,247,0.18);
  border: 1px solid rgba(168,85,247,0.5);
  color: var(--neon-purple);
  font-size: 9px; font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 1px;
  font-family: var(--font-heading);
  text-shadow: 0 0 8px var(--neon-purple);
  z-index: 5;
}

/* Locked card elements above centered badge */
.locked-pair-header {
  position: relative;
  z-index: 3;
}

.signal-premium-overlay {
  z-index: 4;
}

/* ─── Result Badge (win / loss / pending) ─── */
.signal-result-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 9999px;
  font-size: 10px; font-weight: 700;
  letter-spacing: 1px;
  font-family: var(--font-heading);
}
.signal-result-badge.win {
  background: rgba(0,255,136,0.12);
  border: 1px solid rgba(0,255,136,0.4);
  color: var(--neon-green);
}
.signal-result-badge.loss {
  background: rgba(255,0,60,0.12);
  border: 1px solid rgba(255,0,60,0.35);
  color: var(--neon-red);
}
.signal-result-badge.pending {
  background: rgba(0,240,255,0.10);
  border: 1px solid rgba(0,240,255,0.3);
  color: var(--neon-blue);
  animation: livePulse 1.2s ease-in-out infinite;
}

/* ─── Signal Time ─── */
.signal-time {
  font-size: 11px;
  color: var(--text-dim);
}

/* ─── free-card accent ─── */
.free-card {
  border-color: rgba(0,240,255,0.15) !important;
}

/* ─── Loading Spinner ─── */
.signals-loading {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  gap: 18px;
}
@keyframes spinnerRotate {
  to { transform: rotate(360deg); }
}
.signals-spinner {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 3px solid rgba(0,240,255,0.12);
  border-top-color: var(--neon-blue);
  border-right-color: var(--neon-purple);
  animation: spinnerRotate 0.9s linear infinite;
  box-shadow: 0 0 20px rgba(0,240,255,0.2);
}
.signals-loading-text {
  font-family: var(--font-heading);
  font-size: 12px;
  color: var(--text-secondary);
  letter-spacing: 2px;
  animation: loadingFade 1.4s ease-in-out infinite;
}
@keyframes loadingFade {
  0%,100% { opacity: 0.5; }
  50%      { opacity: 1; }
}

/* ─── Error State ─── */
.signals-error {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  gap: 14px;
  text-align: center;
}
.signals-error-icon {
  font-size: 40px;
  color: var(--neon-red);
  filter: drop-shadow(0 0 12px var(--neon-red));
  animation: tagFloat 2.5s ease-in-out infinite;
}
.signals-error-text {
  color: var(--text-secondary);
  font-size: 14px;
  max-width: 300px;
}

/* ─── Retry Button ─── */
.btn-retry {
  padding: 8px 24px;
  background: transparent;
  border: 1px solid var(--neon-blue);
  color: var(--neon-blue);
  border-radius: 9999px;
  font-size: 13px; font-weight: 600;
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
  transition: all var(--transition);
}
.btn-retry:hover {
  background: var(--neon-blue);
  color: var(--bg);
  box-shadow: 0 0 20px rgba(0,240,255,0.4);
  transform: scale(1.04);
}

/* ─── Empty State ─── */
.signals-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-dim);
  font-size: 14px;
  font-family: var(--font-heading);
  letter-spacing: 1px;
}

/* ═══════════════════════════════════════════════════════════
   MULTI-LANGUAGE FONT SWITCHING
   ═══════════════════════════════════════════════════════════ */
body[lang="en"] {
  font-family: 'Poppins', 'Inter', sans-serif;
}
body[lang="ar"] {
  font-family: 'Cairo', sans-serif;
  direction: rtl;
}
/* Headings keep Orbitron in EN, use Cairo in AR */
body[lang="ar"] .modal-title,
body[lang="ar"] .page-title,
body[lang="ar"] .hero-title,
body[lang="ar"] .sidebar-logo .logo-text {
  font-family: 'Cairo', sans-serif;
  font-weight: 800;
}

/* ═══════════════════════════════════════════════════════════
   PREMIUM TOPBAR BADGE
   ═══════════════════════════════════════════════════════════ */
.top-premium-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: linear-gradient(135deg, #a855f7, #00f0ff);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  border-radius: 9999px;
  letter-spacing: 1px;
  margin-right: 10px;
  animation: premiumPulse 2s ease-in-out infinite;
  white-space: nowrap;
}
@keyframes premiumPulse {
  0%,100% { box-shadow: 0 0 0 rgba(168,85,247,0); }
  50%      { box-shadow: 0 0 16px rgba(168,85,247,0.5); }
}

/* ═══════════════════════════════════════════════════════════
   FORGOT PASSWORD MODAL
   ═══════════════════════════════════════════════════════════ */
.forgot-msg {
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 14px;
  padding: 10px 14px;
  border-radius: 8px;
  display: none;
}
.forgot-msg:not(:empty) { display: block; }
.forgot-msg.success {
  background: rgba(0,255,136,0.10);
  border: 1px solid rgba(0,255,136,0.3);
  color: var(--neon-green);
}
.forgot-msg.error {
  background: rgba(255,0,60,0.10);
  border: 1px solid rgba(255,0,60,0.3);
  color: #ff5577;
}

/* ═══════════════════════════════════════════════════════════
   PAYMENT SUCCESS / CANCEL PAGES (shared utilities)
   ═══════════════════════════════════════════════════════════ */
/* These pages are standalone PHP — no shared CSS needed here */

/* ─── FORGOT PASSWORD MODAL CLASSES ─── */
.forgot-msg {
  font-size: 13px;
  margin-top: 10px;
  padding: 10px;
  border-radius: 8px;
  text-align: center;
  display: none;
}
.forgot-msg.success {
  display: block;
  background: rgba(0,255,136,0.1);
  color: var(--neon-green);
  border: 1px solid rgba(0,255,136,0.2);
}
.forgot-msg.error {
  display: block;
  background: rgba(255,0,60,0.1);
  color: var(--neon-red);
  border: 1px solid rgba(255,0,60,0.2);
}

/* ═══════════════════════════════════════════════════════════
   PAYMENT MODAL — cyberpunk style
   ═══════════════════════════════════════════════════════════ */

/* Modal larger for payment */
.payment-modal-box {
  max-width: 520px !important;
  max-height: 90vh;
  overflow-y: auto;
}

/* Plan toggle */
.pay-plan-toggle {
  display: flex;
  gap: 0;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 4px;
  margin: 16px 0 20px;
}
.pay-plan-btn {
  flex: 1;
  padding: 9px 12px;
  border-radius: calc(var(--radius) - 2px);
  font-size: 13px; font-weight: 600;
  color: var(--text-secondary);
  background: transparent;
  transition: all var(--transition);
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.pay-plan-btn.active {
  background: rgba(0,240,255,0.12);
  color: var(--neon-blue);
  box-shadow: 0 0 12px rgba(0,240,255,0.15);
}
.pay-save {
  font-size: 10px; font-weight: 700;
  background: linear-gradient(135deg,var(--neon-green),var(--neon-blue));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Method tiles grid */
.pay-methods-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.pay-method-tile {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.pay-method-tile::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--tile-accent, var(--neon-blue));
  border-radius: 3px 0 0 3px;
  opacity: 0;
  transition: opacity var(--transition);
}
.pay-method-tile:hover {
  border-color: var(--tile-accent, var(--neon-blue));
  background: rgba(0,240,255,0.06);
  transform: translateX(4px);
  box-shadow: 0 4px 24px rgba(0,240,255,0.10);
}
.pay-method-tile:hover::before { opacity: 1; }

.pm-stripe  { --tile-accent: #635bff; }
.pm-paypal  { --tile-accent: #009cde; }
.pm-crypto  { --tile-accent: var(--neon-gold); }

.pm-disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.pm-disabled:hover {
  transform: none;
  border-color: var(--glass-border);
  background: rgba(255,255,255,0.03);
  box-shadow: none;
}

/* Config warning (method enabled but not fully set up) */
.pm-config-warn {
  --tile-accent: #fbbf24;
}
.pm-config-warn .pm-desc {
  color: #fbbf24 !important;
  font-size: 11px;
}

/* Selected state — glowing cyberpunk border */
.pay-method-tile.selected,
.pay-method-tile:hover {
  border-color: var(--tile-accent, var(--neon-blue)) !important;
  background: rgba(0,240,255,0.06);
  transform: translateX(4px);
  box-shadow: 0 0 20px rgba(0,240,255,0.12), 0 4px 24px rgba(0,240,255,0.08);
}
.pay-method-tile.selected::before,
.pay-method-tile:hover::before { opacity: 1; }

/* Stripe selected glow */
.pay-method-tile.pm-stripe.selected,
.pay-method-tile.pm-stripe:hover {
  border-color: #635bff !important;
  box-shadow: 0 0 20px rgba(99,91,255,0.2), 0 4px 24px rgba(99,91,255,0.1);
}

/* PayPal selected glow */
.pay-method-tile.pm-paypal.selected,
.pay-method-tile.pm-paypal:hover {
  border-color: #009cde !important;
  box-shadow: 0 0 20px rgba(0,156,222,0.2), 0 4px 24px rgba(0,156,222,0.1);
}

/* Crypto selected glow */
.pay-method-tile.pm-crypto.selected,
.pay-method-tile.pm-crypto:hover {
  border-color: var(--neon-gold) !important;
  box-shadow: 0 0 20px rgba(251,191,36,0.2), 0 4px 24px rgba(251,191,36,0.1);
}

/* Animated glow pulse on selected */
@keyframes methodGlow {
  0%, 100% { box-shadow: 0 0 20px currentColor, 0 0 40px rgba(0,0,0,0.3); }
  50%       { box-shadow: 0 0 30px currentColor, 0 0 60px rgba(0,0,0,0.2); }
}

.pm-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 700;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--glass-border);
  flex-shrink: 0;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.pm-stripe .pm-icon  { background: rgba(99,91,255,0.15); border-color: rgba(99,91,255,0.3); color: #7c6fff; }
.pm-paypal .pm-icon  { background: rgba(0,156,222,0.12); border-color: rgba(0,156,222,0.3); color: #009cde; }
.pm-crypto .pm-icon  { background: rgba(251,191,36,0.12); border-color: rgba(251,191,36,0.3); color: var(--neon-gold); }

/* Custom Icon Styles - Cyberpunk Glow Effects */
.pm-custom-icon {
  max-width: 100%;
  max-height: 40px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  display: block;
}
.pm-icon-text {
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}
.pm-icon-fallback {
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* Selected state glow effects */
.pay-method-tile.selected .pm-icon,
.pay-method-tile:hover .pm-icon {
  box-shadow: 0 0 15px currentColor, 0 0 30px rgba(0,240,255,0.3);
}
.pay-method-tile.pm-stripe.selected .pm-icon,
.pay-method-tile.pm-stripe:hover .pm-icon {
  box-shadow: 0 0 15px rgba(99,91,255,0.5), 0 0 30px rgba(99,91,255,0.2);
  border-color: #635bff;
}
.pay-method-tile.pm-paypal.selected .pm-icon,
.pay-method-tile.pm-paypal:hover .pm-icon {
  box-shadow: 0 0 15px rgba(0,156,222,0.5), 0 0 30px rgba(0,156,222,0.2);
  border-color: #009cde;
}
.pay-method-tile.pm-crypto.selected .pm-icon,
.pay-method-tile.pm-crypto:hover .pm-icon {
  box-shadow: 0 0 15px rgba(251,191,36,0.5), 0 0 30px rgba(251,191,36,0.2);
  border-color: var(--neon-gold);
}

/* Custom icon glow on hover/select */
.pay-method-tile.selected .pm-custom-icon,
.pay-method-tile:hover .pm-custom-icon {
  filter: drop-shadow(0 0 8px rgba(0,240,255,0.6));
}
.pay-method-tile.pm-stripe.selected .pm-custom-icon,
.pay-method-tile.pm-stripe:hover .pm-custom-icon {
  filter: drop-shadow(0 0 8px rgba(99,91,255,0.8));
}
.pay-method-tile.pm-paypal.selected .pm-custom-icon,
.pay-method-tile.pm-paypal:hover .pm-custom-icon {
  filter: drop-shadow(0 0 8px rgba(0,156,222,0.8));
}
.pay-method-tile.pm-crypto.selected .pm-custom-icon,
.pay-method-tile.pm-crypto:hover .pm-custom-icon {
  filter: drop-shadow(0 0 8px rgba(251,191,36,0.8));
}

/* RTL Support for Custom Icons */
[dir="rtl"] .pm-custom-icon {
  transform: scaleX(1);
}
[dir="rtl"] .pm-icon {
  direction: ltr;
}

/* Mobile Responsive Icons */
@media (max-width: 480px) {
  .pm-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
  .pm-custom-icon {
    max-height: 32px;
  }
  .pm-icon-text {
    font-size: 18px;
  }
}

.pm-info { flex: 1; }
.pm-label { font-size: 15px; font-weight: 600; color: var(--text-primary); margin-bottom: 2px; }
.pm-desc  { font-size: 12px; color: var(--text-secondary); }

.pm-arrow {
  font-size: 22px; color: var(--text-dim);
  transition: all var(--transition);
}
.pay-method-tile:hover .pm-arrow { color: var(--tile-accent); transform: translateX(2px); }

.pay-secure-note {
  text-align: center;
  font-size: 11px;
  color: var(--text-dim);
  padding: 4px 0;
}

/* Step container */
.pay-step { animation: pageFade 0.3s ease; }
.pay-step-inner { padding: 8px 0; }

/* Spinner */
.pay-spinner {
  width: 40px; height: 40px;
  border: 3px solid rgba(0,240,255,0.15);
  border-top-color: var(--neon-blue);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 28px auto 16px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Back button */
.pay-back-row { margin-bottom: 16px; }
.pay-back-btn {
  background: none;
  color: var(--neon-blue);
  font-size: 13px; font-weight: 600;
  opacity: 0.7;
  transition: opacity var(--transition);
  padding: 0;
}
.pay-back-btn:hover { opacity: 1; }

/* Method logo (in sub-steps) */
.pay-method-logo {
  text-align: center;
  font-size: 24px; font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.paypal-logo { color: #009cde; }
.crypto-logo { color: var(--neon-gold); }

/* Coin tabs */
.crypto-coin-tabs {
  display: flex; gap: 8px;
  margin-bottom: 16px;
}
.crypto-coin-btn {
  flex: 1;
  padding: 8px 16px;
  border-radius: var(--radius);
  font-size: 13px; font-weight: 600;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  transition: all var(--transition);
}
.crypto-coin-btn.active, .crypto-coin-btn:hover {
  background: rgba(251,191,36,0.12);
  border-color: var(--neon-gold);
  color: var(--neon-gold);
}

/* Wallet box */
.crypto-wallet-box {
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(251,191,36,0.25);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  margin-bottom: 12px;
  text-align: center;
}
.crypto-network-label {
  font-size: 10px; font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--neon-gold);
  text-transform: uppercase;
  margin-bottom: 8px;
  font-family: var(--font-heading);
}

/* QR Code Styles */
.crypto-qr-container {
  background: #fff;
  border-radius: var(--radius);
  padding: 12px;
  margin: 0 auto 14px;
  width: 160px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.crypto-qr-container canvas,
.crypto-qr-container img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 4px;
}
#cryptoQRCodeImg {
  width: 136px !important;
  height: 136px !important;
  border-radius: 8px !important;
  object-fit: contain !important;
}

.crypto-address {
  font-family: 'Courier New', monospace;
  font-size: 13px;
  color: var(--text-primary);
  word-break: break-all;
  line-height: 1.5;
  margin-bottom: 12px;
}
.btn-copy-address {
  padding: 8px 18px;
  background: rgba(0, 240, 255, 0.1);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(0, 240, 255, 0.4);
  border-radius: var(--radius);
  color: var(--neon-cyan, #00f0ff);
  font-size: 13px; font-weight: 700;
  font-family: 'Cairo', sans-serif;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(0, 240, 255, 0.15);
}
.btn-copy-address:hover {
  background: rgba(0, 240, 255, 0.2);
  border-color: #00f0ff;
  box-shadow: 0 6px 20px rgba(0, 240, 255, 0.3);
  transform: translateY(-1px);
}
.btn-copy-address:active {
  transform: translateY(1px);
  box-shadow: 0 2px 10px rgba(0, 240, 255, 0.2);
}
.btn-copy-address.copied {
  background: rgba(0, 255, 136, 0.2);
  border-color: var(--neon-green, #00ff88);
  color: var(--neon-green, #00ff88);
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.4);
  transform: scale(1.02);
}

.crypto-amount-display {
  text-align: center;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 4px;
}
.crypto-amount-display strong {
  color: var(--neon-green);
  font-weight: 700;
}

/* Verification Section */
.crypto-verification-section {
  background: rgba(0,0,0,0.2);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 16px;
  margin-top: 16px;
}
.crypto-verification-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.crypto-verification-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

/* Verify Tabs */
.crypto-verify-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}
.crypto-verify-tab {
  flex: 1;
  padding: 8px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}
.crypto-verify-tab.active {
  background: rgba(0,240,255,0.1);
  border-color: var(--neon-blue);
  color: var(--neon-blue);
}

/* Screenshot Upload */
.crypto-upload-box {
  position: relative;
  background: rgba(0,0,0,0.3);
  border: 2px dashed var(--glass-border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.crypto-upload-box:hover, .crypto-upload-box.dragover {
  border-color: var(--neon-blue);
  background: rgba(0,240,255,0.05);
}
.crypto-upload-box.has-image {
  border-style: solid;
  border-color: var(--neon-green);
  padding: 8px;
}
.crypto-upload-content {
  color: var(--text-muted);
}
.crypto-upload-icon {
  font-size: 28px;
  margin-bottom: 8px;
}
.crypto-upload-content p {
  font-size: 13px;
  margin-bottom: 4px;
}
.crypto-upload-content span {
  font-size: 11px;
  opacity: 0.7;
}
#cryptoPreviewImg {
  max-width: 100%;
  max-height: 150px;
  border-radius: 8px;
}
.crypto-remove-btn {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  background: var(--neon-red);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition);
}
.crypto-remove-btn:hover {
  transform: scale(1.1);
}

/* TXID Section */
.crypto-tx-input {
  width: 100%;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 10px 14px;
  color: var(--text-primary);
  font-size: 13px;
  margin-top: 6px;
  transition: border-color var(--transition);
}
.crypto-tx-input:focus {
  border-color: var(--neon-blue);
  outline: none;
}

/* ═══════════════════════════════════════════════════════════
   MOBILE BOTTOM NAVIGATION BAR
   ═══════════════════════════════════════════════════════════ */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 72px;
  background: rgba(13, 13, 13, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(0, 242, 255, 0.2);
  z-index: 9999;
  padding-bottom: env(safe-area-inset-bottom, 0);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
  flex-direction: row;
}

[dir="rtl"] .mobile-bottom-nav {
  flex-direction: row-reverse;
}

.mobile-bottom-nav::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(0, 242, 255, 0.4) 50%, transparent 100%);
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 8px 4px;
  color: #888888;
  text-decoration: none;
  position: relative;
  transition: all 0.25s ease;
  gap: 4px;
}

.bottom-nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 32px;
  position: relative;
  transition: all 0.25s ease;
}

.bottom-nav-icon svg {
  transition: all 0.25s ease;
}

.bottom-nav-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: all 0.25s ease;
  text-transform: uppercase;
  font-family: var(--font-heading);
}

.bottom-nav-indicator {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00f2ff, transparent);
  border-radius: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 0 8px #00f2ff, 0 0 16px rgba(0, 242, 255, 0.5);
}

.bottom-nav-item.active {
  color: #00f2ff;
}

.bottom-nav-item.active .bottom-nav-icon svg {
  filter: drop-shadow(0 0 6px #00f2ff);
  stroke: #00f2ff;
}

.bottom-nav-item.active .bottom-nav-indicator {
  width: 24px;
}

.bottom-nav-item.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: #00f2ff;
  border-radius: 50%;
  box-shadow: 0 0 6px #00f2ff, 0 0 12px rgba(0, 242, 255, 0.6);
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: translateX(-50%) scale(1); }
  50% { opacity: 0.6; transform: translateX(-50%) scale(0.8); }
}

.bottom-nav-item:hover:not(.active) {
  color: #aaa;
}

.bottom-nav-item:hover:not(.active) .bottom-nav-icon svg {
  transform: translateY(-2px);
}

.bottom-nav-item:active {
  transform: scale(0.95);
}

#bottom-nav-subscription.bottom-nav-item.active .bottom-nav-icon svg {
  filter: drop-shadow(0 0 8px #a855f7);
  stroke: #a855f7;
}

#bottom-nav-subscription.bottom-nav-item.active .bottom-nav-indicator {
  background: linear-gradient(90deg, transparent, #a855f7, transparent);
  box-shadow: 0 0 8px #a855f7, 0 0 16px rgba(168, 85, 247, 0.5);
}

#bottom-nav-subscription.bottom-nav-item.active::before {
  background: #a855f7;
  box-shadow: 0 0 6px #a855f7, 0 0 12px rgba(168, 85, 247, 0.6);
}

@media (max-width: 1024px) {
  .mobile-bottom-nav {
    display: flex;
  }
}

@media (max-width: 560px) {
  .mobile-bottom-nav {
    height: 68px;
  }
  
  .bottom-nav-icon {
    width: 40px;
    height: 28px;
  }
  
  .bottom-nav-icon svg {
    width: 22px;
    height: 22px;
  }
  
  .bottom-nav-label {
    font-size: 9px;
  }
}

[dir="rtl"] .bottom-nav-indicator {
  inset-inline-end: 50%;
  transform: translateX(50%);
}

[dir="rtl"] .bottom-nav-item.active::before {
  inset-inline-end: 50%;
  transform: translateX(50%);
}

[dir="rtl"] .mobile-bottom-nav::before {
  background: linear-gradient(90deg, transparent 0%, rgba(0, 242, 255, 0.4) 50%, transparent 100%);
}

[dir="rtl"] .mobile-bottom-nav {
  flex-direction: row-reverse;
}

[dir="rtl"] .bottom-nav-item {
  text-align: center;
}

[dir="rtl"] .bottom-nav-icon {
  direction: ltr;
}

[dir="rtl"] .bottom-nav-label {
  text-align: center;
  unicode-bidi: isolate;
}

/* Responsive */
@media (max-width: 560px) {
  .payment-modal-box { max-width: 100% !important; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .pay-plan-toggle { flex-direction: column; }
}

/* ═══════════════════════════════════════════════════════════
   GLOBAL FINANCE TICKER — High-End Live Forex Bar
   Hardware-accelerated, RTL-aware, mobile-safe
   ═══════════════════════════════════════════════════════════ */

:root {
  --ticker-h: 44px;
}

.global-ticker-bar {
  position: fixed;
  top: var(--topbar-h);
  inset-inline-start: var(--sidebar-w);
  inset-inline-end: 0;
  height: var(--ticker-h);
  background: linear-gradient(90deg,
    rgba(7,7,10,0.97) 0%,
    rgba(10,10,18,0.96) 30%,
    rgba(13,13,22,0.97) 70%,
    rgba(7,7,10,0.97) 100%
  );
  border-bottom: 1px solid rgba(0,240,255,0.12);
  z-index: 860;
  overflow: hidden;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 20px rgba(0,0,0,0.5), 0 1px 0 rgba(0,240,255,0.06) inset;
}

/* Left gradient fade */
.global-ticker-bar::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 60px;
  background: linear-gradient(90deg, rgba(7,7,10,0.9) 0%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}

/* Right gradient fade */
.global-ticker-bar::after {
  content: '';
  position: absolute;
  right: 40px; top: 0; bottom: 0;
  width: 60px;
  background: linear-gradient(90deg, transparent 0%, rgba(7,7,10,0.9) 100%);
  z-index: 2;
  pointer-events: none;
}

.ticker-inner {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.ticker-marquee {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: tickerScroll 60s linear infinite;
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  contain: layout style;
  /* GPU acceleration for smooth continuous motion */
  -webkit-transform: translate3d(0, 0, 0);
  -webkit-perspective: 1000;
  /* Prevent animation resume jumps */
  animation-fill-mode: forwards;
}

.ticker-marquee.paused { animation-play-state: paused; }
.ticker-marquee.hidden { display: none; }

.ticker-separator {
  display: inline-block;
  width: 40px;
  flex-shrink: 0;
}

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

@keyframes tickerScrollRTL {
  0%   { transform: translate3d(-50%,0,0); }
  100% { transform: translate3d(0,0,0); }
}

@keyframes tickerPulse {
  0%, 100% { opacity: 0.3; }
  50%       { opacity: 0.7; }
}

.ticker-minimize {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,240,255,0.08);
  border: 1px solid rgba(0,240,255,0.15);
  color: rgba(0,240,255,0.6);
  width: 26px;
  height: 26px;
  border-radius: 5px;
  font-size: 16px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 3;
  flex-shrink: 0;
}

.ticker-minimize:hover {
  background: rgba(0,240,255,0.15);
  color: #00f0ff;
  box-shadow: 0 0 10px rgba(0,240,255,0.2);
}

.ticker-minimize.minimized {
  font-size: 13px;
}

/* Desktop: sidebar offset */
@media (min-width: 1025px) {
  .global-ticker-bar { left: var(--sidebar-w); }
}

/* Tablet/Mobile: full width */
@media (max-width: 1024px) {
  .global-ticker-bar { left: 0; }
  .global-ticker-bar::after { right: 36px; }
}

/* Small mobile */
@media (max-width: 480px) {
  .global-ticker-bar { height: 38px; }
  :root { --ticker-h: 38px; }
  .ticker-item { padding: 0 16px; gap: 5px; }
  .ticker-pair { font-size: 10px; }
  .ticker-price { font-size: 11px; }
  .ticker-change { font-size: 9px; padding: 1px 5px; }
  .ticker-minimize { width: 22px; height: 22px; font-size: 14px; }
}

/* RTL: Direction-aware ticker - uses inset-inline for position, same animation direction */
[dir="rtl"] .global-ticker-bar {
  inset-inline-start: var(--sidebar-w);
  inset-inline-end: 0;
}

[dir="rtl"] .global-ticker-bar::before {
  inset-inline-start: 0;
  inset-inline-end: auto;
  background: linear-gradient(270deg, rgba(7,7,10,0.9) 0%, transparent 100%);
}

[dir="rtl"] .global-ticker-bar::after {
  inset-inline-start: 36px;
  inset-inline-end: auto;
  background: linear-gradient(270deg, transparent 0%, rgba(7,7,10,0.9) 100%);
}

[dir="rtl"] .ticker-marquee {
  animation: tickerScroll 60s linear infinite;
  direction: ltr;
}

[dir="rtl"] .ticker-minimize {
  inset-inline-end: 6px;
  inset-inline-start: auto;
}

@media (max-width: 1024px) {
  [dir="rtl"] .global-ticker-bar {
    inset-inline-start: 0;
    inset-inline-end: 0;
  }
  [dir="rtl"] .forex-ticker {
    inset-inline-start: 0;
    inset-inline-end: 0;
    width: 100%;
  }
  [dir="rtl"] .forex-ticker .ticker-track {
    overflow: hidden;
  }
}

/* ─── CALCULATOR SECTION ─── */
.calculator-section {
  margin-top: 32px;
  padding: 0;
}

.calculator-header {
  margin-bottom: 20px;
}

.calculator-header .section-title {
  margin-bottom: 6px;
}

.calculator-sub {
  color: var(--text-secondary);
  font-size: 14px;
}

.calculator-card {
  padding: 28px;
  border: 1px solid var(--glass-border);
}

.calc-inputs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}

.calc-input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calc-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.calc-label-icon {
  font-size: 16px;
}

.calc-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.calc-currency,
.calc-suffix {
  position: absolute;
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 500;
}

.calc-currency { left: 14px; }
.calc-suffix { right: 14px; }

.calc-input {
  width: 100%;
  background: var(--bg2);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 14px 16px;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 600;
  transition: all var(--transition);
}

.calc-input:focus {
  border-color: var(--neon-blue);
  box-shadow: 0 0 20px rgba(0,240,255,0.15), inset 0 0 20px rgba(0,240,255,0.05);
}

.calc-input-wrapper .calc-currency + .calc-input,
.calc-input-wrapper .calc-suffix {
  padding-left: 32px;
}

.calc-input-wrapper:has(.calc-suffix) .calc-input {
  padding-right: 40px;
}

.calc-select {
  width: 100%;
  background: var(--bg2);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 14px 16px;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237c85a2' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.calc-select:focus {
  border-color: var(--neon-blue);
  box-shadow: 0 0 20px rgba(0,240,255,0.15);
}

.calc-result-section {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}

.calc-result-box {
  flex: 1;
  min-width: 200px;
  background: linear-gradient(135deg, rgba(0,240,255,0.08), rgba(168,85,247,0.04));
  border: 1px solid var(--neon-blue);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.calc-result-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,240,255,0.1), transparent);
  animation: resultGlow 3s ease-in-out infinite;
}

@keyframes resultGlow {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.calc-result-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.calc-result-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 700;
  color: var(--neon-blue);
  text-shadow: 0 0 30px var(--neon-blue);
  line-height: 1;
  margin-bottom: 4px;
}

.calc-result-unit {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

.calc-risk-info {
  flex: 2;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.calc-risk-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
}

.calc-risk-label {
  font-size: 13px;
  color: var(--text-secondary);
}

.calc-risk-value {
  font-size: 15px;
  font-weight: 700;
}

.btn-calc-reset {
  margin-top: 20px;
  padding: 10px 20px;
  background: transparent;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-calc-reset:hover {
  border-color: var(--neon-red);
  color: var(--neon-red);
  background: rgba(255,0,60,0.08);
}

@media (max-width: 640px) {
  .calc-inputs {
    grid-template-columns: 1fr;
  }
  .calc-result-section {
    flex-direction: column;
  }
  .calc-result-box {
    min-width: 100%;
  }
  .calc-risk-info {
    min-width: 100%;
  }
}

/* ═══════════════════════════════════════════════════════════
   POSITION SIZE CALCULATOR — Cyberpunk Style
   ═══════════════════════════════════════════════════════════ */

.calculator-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

@media (max-width: 900px) {
  .calculator-container {
    grid-template-columns: 1fr;
  }
}

.calculator-card {
  padding: 28px;
}

.calc-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--glass-border);
}

.calc-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 0 20px rgba(0,240,255,0.3);
}

.calc-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

.calc-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.calc-input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calc-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.calc-label-icon {
  font-size: 16px;
}

.calc-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.calc-prefix {
  position: absolute;
  left: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 14px;
}

.calc-suffix {
  position: absolute;
  right: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 13px;
}

.calc-input {
  width: 100%;
  padding: 14px 14px 14px 36px;
  background: rgba(0,0,0,0.35);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 600;
  transition: all var(--transition);
}

.calc-input:focus {
  border-color: var(--neon-blue);
  box-shadow: 0 0 0 3px rgba(0,240,255,0.15), 0 0 20px rgba(0,240,255,0.1);
  outline: none;
}

.calc-input::placeholder {
  color: var(--text-dim);
}

.calc-input::-webkit-outer-spin-button,
.calc-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.calc-risk-presets {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.calc-preset {
  padding: 6px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.calc-preset:hover {
  border-color: var(--neon-blue);
  color: var(--neon-blue);
}

.calc-preset.active {
  background: rgba(0,240,255,0.15);
  border-color: var(--neon-blue);
  color: var(--neon-blue);
  box-shadow: 0 0 12px rgba(0,240,255,0.2);
}

.calc-select {
  width: 100%;
  padding: 14px 16px;
  background: rgba(0,0,0,0.35);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%237c85a2' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.calc-select:focus {
  border-color: var(--neon-blue);
  box-shadow: 0 0 0 3px rgba(0,240,255,0.15);
  outline: none;
}

.calc-account-type {
  margin-top: 8px;
}

.calc-toggle-group {
  display: flex;
  gap: 0;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 4px;
  margin-top: 8px;
}

.calc-toggle-btn {
  flex: 1;
  padding: 10px 16px;
  background: transparent;
  border: none;
  border-radius: calc(var(--radius) - 4px);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

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

.calc-toggle-btn.active {
  background: rgba(0,240,255,0.12);
  color: var(--neon-blue);
  box-shadow: 0 0 10px rgba(0,240,255,0.15);
}

/* Result Card */
.calculator-result {
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.result-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--glass-border);
}

.result-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--neon-green), var(--neon-blue));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 0 20px rgba(0,255,136,0.3);
}

.result-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

.result-display {
  text-align: center;
  padding: 36px 20px;
  background: linear-gradient(135deg, rgba(0,240,255,0.08), rgba(168,85,247,0.05));
  border: 1px solid rgba(0,240,255,0.2);
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
}

.result-lots {
  font-family: var(--font-heading);
  font-size: 56px;
  font-weight: 900;
  color: var(--neon-green);
  line-height: 1;
  text-shadow: 0 0 30px rgba(0,255,136,0.5);
  filter: drop-shadow(0 0 20px rgba(0,255,136,0.4));
}

.result-unit {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: 8px;
}

.result-breakdown {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: rgba(0,0,0,0.25);
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
}

.breakdown-label {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}

.breakdown-value {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.breakdown-value.neon-red {
  color: var(--neon-red);
}

.result-actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
}

.btn-calc-reset,
.btn-calc-copy {
  flex: 1;
  padding: 12px 20px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-calc-reset {
  background: transparent;
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
}

.btn-calc-reset:hover {
  border-color: var(--neon-blue);
  color: var(--neon-blue);
}

.btn-calc-copy {
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
  border: none;
  color: #fff;
}

.btn-calc-copy:hover {
  box-shadow: 0 0 25px rgba(0,240,255,0.4);
  transform: translateY(-1px);
}

/* Calculator Info */
.calc-info {
  padding: 24px;
}

.info-header {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--neon-blue);
  margin-bottom: 16px;
}

.info-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.info-content p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.info-content strong {
  color: var(--text-primary);
}

/* Glowing input borders for calculator */
.calculator-card .calc-input:focus,
.calculator-card .calc-select:focus {
  border-color: var(--neon-blue);
  box-shadow: 
    0 0 0 3px rgba(0,240,255,0.15),
    0 0 20px rgba(0,240,255,0.2),
    inset 0 0 10px rgba(0,240,255,0.05);
}

/* Neon text for result */
.result-lots {
  color: var(--neon-green);
  text-shadow: 
    0 0 10px var(--neon-green),
    0 0 20px var(--neon-green),
    0 0 40px rgba(0,255,136,0.3);
  animation: resultGlow 2s ease-in-out infinite;
}

@keyframes resultGlow {
  0%, 100% { 
    text-shadow: 
      0 0 10px var(--neon-green),
      0 0 20px var(--neon-green),
      0 0 40px rgba(0,255,136,0.3);
  }
  50% { 
    text-shadow: 
      0 0 15px var(--neon-green),
      0 0 30px var(--neon-green),
      0 0 60px rgba(0,255,136,0.5);
  }
}

/* ═══════════════════════════════════════ PARTNERS LOGO SLIDER ═══════════════════════════════════════ */
.partners-section {
  margin-bottom: 40px;
  padding: 32px 0;
  position: relative;
}

.partners-section::before,
.partners-section::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 10;
  pointer-events: none;
}

.partners-section::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg) 0%, transparent 100%);
}

.partners-section::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg) 0%, transparent 100%);
}

.partners-title {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 60px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.partners-title::before,
.partners-title::after {
  content: '';
  flex: 1;
  max-width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

[dir="rtl"] .partners-title::before {
  background: linear-gradient(270deg, transparent, var(--glass-border), transparent);
}

[dir="rtl"] .partners-title::after {
  background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

.partners-slider-container {
  overflow: hidden;
  position: relative;
  padding: 16px 0;
}

.partners-slider-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--neon-blue) 20%, 
    var(--neon-purple) 50%, 
    var(--neon-blue) 80%, 
    transparent 100%
  );
  animation: partnersBorderGlow 3s ease-in-out infinite;
  opacity: 0.6;
}

@keyframes partnersBorderGlow {
  0%, 100% { opacity: 0.4; filter: blur(0px); }
  50% { opacity: 0.8; filter: blur(1px); }
}

.partners-track {
  overflow: hidden;
}

.partners-track-wrapper {
  overflow: hidden;
  position: relative;
}

.partners-track {
  display: flex;
  width: max-content;
}

.partners-slider {
  display: flex;
  width: max-content;
}

.partners-slide,
.partners-set {
  display: flex;
  gap: 48px;
  flex-shrink: 0;
}

.partners-slider {
  display: flex;
  animation: partnersScroll 45s linear infinite;
  will-change: transform;
}

.partners-slider:hover {
  animation-play-state: paused;
}

@keyframes partnersScroll {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

@keyframes partnersScrollRTL {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(50%, 0, 0); }
}

[dir="rtl"] .partners-slider {
  animation: partnersScrollRTL 45s linear infinite;
}

[dir="rtl"]:hover .partners-slider {
  animation-play-state: paused;
}

.partners-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 40px;
  color: var(--text-secondary);
  font-size: 14px;
}

.partners-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--glass-border);
  border-top-color: var(--neon-blue);
  border-radius: 50%;
  animation: partnersSpinner 1s linear infinite;
}

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

.partner-card {
  flex-shrink: 0;
  width: 450px;
  height: 250px;
  background: rgba(10, 10, 15, 0.7);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 30px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 0 20px rgba(0,240,255,0.05);
}

.partner-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,240,255,0.1), rgba(168,85,247,0.08));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.partner-card:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: rgba(251, 191, 36, 0.8);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.6),
    0 0 30px rgba(251, 191, 36, 0.2),
    inset 0 0 40px rgba(251, 191, 36, 0.1);
}

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

.partner-logo {
  max-width: 300px;
  max-height: 120px;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.8);
  transition: all 0.4s ease;
}

.partner-card:hover .partner-logo {
  filter: grayscale(0%) brightness(1);
  transform: scale(1.1);
}

.partner-name {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.partner-card:hover .partner-name {
  color: var(--neon-blue);
}

.partner-card.verified {
  border-color: rgba(0,255,136,0.25);
}

.partner-card.verified::after {
  content: '✓';
  position: absolute;
  top: 8px;
  right: 8px;
  width: 18px;
  height: 18px;
  background: var(--neon-green);
  color: var(--bg);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(0,255,136,0.4);
}

@media (max-width: 1024px) {
  .partners-title { font-size: 24px; margin-bottom: 40px; }
  .partner-card { width: 350px; height: 180px; padding: 20px; }
  .partner-logo { max-width: 200px; max-height: 80px; }
  .partners-slide, .partners-set { gap: 32px; }
}

@media (max-width: 768px) {
  .partners-section { padding: 24px 0; margin-bottom: 32px; }
  .partners-title { font-size: 18px; margin-bottom: 30px; letter-spacing: 1px; }
  .partners-title::before, .partners-title::after { max-width: 80px; }
  .partner-card { width: 280px; height: 150px; padding: 16px; border-radius: 16px; }
  .partner-logo { max-width: 160px; max-height: 60px; }
  .partner-name { font-size: 10px; }
  .partners-slide, .partners-set { gap: 24px; }
}

@media (max-width: 480px) {
  .partners-section { padding: 20px 0; }
  .partner-card { width: 130px; height: 75px; padding: 10px; }
  .partner-logo { max-width: 85px; max-height: 35px; }
  .partner-name { font-size: 9px; }
}

/* ═══════════════════ TOP HEADER TIER BADGE ═══════════════════ */
.top-tier-badge {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  border-radius: 9999px;
  font-size: 11px; font-weight: 700;
  font-family: var(--font-heading);
  letter-spacing: 1px;
  margin-inline-end: 12px;
}
.free-tier {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
}
.premium-tier {
  background: linear-gradient(135deg, rgba(251,191,36,0.1), rgba(168,85,247,0.1));
  border: 1px solid rgba(251,191,36,0.4);
  color: var(--neon-gold, #fbbf24);
  box-shadow: 0 0 12px rgba(251,191,36,0.15);
}
.premium-tier .tier-icon { color: var(--neon-gold, #fbbf24); }

/* Ensure RTL flow for inner icons */
[dir="rtl"] .top-tier-badge { flex-direction: row-reverse; }
[dir="rtl"] .btn-open-now, [dir="rtl"] .btn-subscribe-cta { flex-direction: row-reverse; }

/* ═══════════════════════════════════════════════════════════
   BILLING HISTORY — Account Page
   ═══════════════════════════════════════════════════════════ */
.account-billing {
  padding: 24px;
}
.account-billing h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

/* Loading skeleton */
.billing-loading {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.billing-skeleton {
  height: 48px;
  border-radius: var(--radius);
  background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.06) 50%, rgba(255,255,255,0.03) 75%);
  background-size: 200% 100%;
  animation: billingShimmer 1.5s ease-in-out infinite;
}
@keyframes billingShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Table */
.billing-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
}
.billing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.billing-table thead {
  background: rgba(0,0,0,0.3);
}
.billing-table th {
  padding: 12px 16px;
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted, #64748b);
  border-bottom: 1px solid var(--glass-border);
}
.billing-table td {
  padding: 12px 16px;
  color: var(--text-secondary, #cbd5e1);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.billing-table tbody tr:last-child td {
  border-bottom: none;
}
.billing-table tbody tr:hover {
  background: rgba(0,240,255,0.03);
}
.billing-date {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
}
.billing-amount {
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-heading);
}
.billing-method {
  font-size: 12px;
  color: var(--text-secondary);
}

/* Status badges */
.billing-status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
.billing-status-pending {
  background: rgba(251,191,36,0.12);
  color: #fbbf24;
  border: 1px solid rgba(251,191,36,0.3);
}
.billing-status-approved {
  background: rgba(34,197,94,0.12);
  color: #22c55e;
  border: 1px solid rgba(34,197,94,0.3);
}
.billing-status-expired {
  background: rgba(148,163,184,0.12);
  color: #94a3b8;
  border: 1px solid rgba(148,163,184,0.3);
}
.billing-status-rejected {
  background: rgba(239,68,68,0.12);
  color: #ef4444;
  border: 1px solid rgba(239,68,68,0.3);
}

/* Plan badges */
.billing-plan-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
}
.billing-plan-monthly {
  background: rgba(0,240,255,0.1);
  color: #00f0ff;
  border: 1px solid rgba(0,240,255,0.25);
}
.billing-plan-annual {
  background: rgba(168,85,247,0.1);
  color: #a855f7;
  border: 1px solid rgba(168,85,247,0.25);
}

/* Mobile card view */
.billing-cards-mobile {
  display: none;
  flex-direction: column;
  gap: 12px;
}
.billing-card-item {
  background: rgba(0,0,0,0.2);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.billing-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: rgba(0,0,0,0.15);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.billing-card-body {
  padding: 12px 16px;
}
.billing-card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 13px;
  color: var(--text-secondary);
}
.billing-card-row span:first-child {
  color: var(--text-muted);
  font-size: 12px;
}
.billing-tx {
  font-family: monospace;
  font-size: 11px;
  color: var(--text-dim);
}

@media (max-width: 640px) {
  .billing-table-wrap { display: none; }
  .billing-cards-mobile { display: flex; }
}

/* RTL support */
[dir="rtl"] .billing-table th,
[dir="rtl"] .billing-table td {
  text-align: right;
}
