﻿/* -------------------------------------------------------
   Traders Solution - Consolidated Stylesheet (Dark/Light Mode Ready)
-------------------------------------------------------- */

:root {
  /* True Metallic Gold Gradient (Remains same across themes) */
  --gold-linear: linear-gradient(135deg, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
  --gold-glow: rgba(212, 175, 55, 0.3);
  --gold-text: #e5c060;

  /* Gold Palette (Remains same) */
  --or-50: #fff8e1;
  --or-100: #ffecb3;
  --or-200: #ffd166;
  --or-300: #fbbf24;
  --or-400: #f59e0b;
  --or-500: #f59e0b;
  --or-600: #d97706;
  --or-700: #b45309;

  /* Layout Tokens */
  --r: 16px;
  --r-sm: 12px;
  --shadow-sm: 0 6px 18px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 12px 28px rgba(0, 0, 0, 0.2);
  --h1: clamp(2.2rem, 1.4rem + 2vw, 3.2rem);
  --h2: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem);
  --lead: 1.05rem;
  --spd: 0.4s;
  --speed: 0.3s;
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);

  /* Footer Primary Colors */
  --prime-orange: #ff6a00;
  --prime-dark: #0f172a;
}

/* ================= DARK THEME (DEFAULT) ================= */
[data-theme="dark"], :root {
  --bg: #070707;
  --bg-soft: #0e0e0e;
  --bg-card: rgba(18, 18, 18, 0.75);
  --bg-alt: #050505;
  --bg-alt-2: #0a0f18;
  --card-solid: #000000;
  --card-solid-light: #111111;

  --ink-100: #ffffff;
  --ink-900: #f5f5f5;
  --ink-700: #d4d4d4;
  --ink-600: #a3a3a3;
  --ink-500: #8a8a8a;
  --muted: #9ca3af;
  
  --line: rgba(255, 255, 255, 0.12);
  --cream: rgba(255, 255, 255, 0.06);
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-hover: rgba(255, 255, 255, 0.06);

  /* Markets & Heatmap Specific */
  --ta-bg: #05050f;
  --ta-card: rgba(255, 255, 255, 0.025);
  --ta-border: rgba(108, 60, 225, 0.2);
}

/* ================= LIGHT THEME ================= */
[data-theme="light"] {
  --bg: #f8fafc;
  --bg-soft: #f1f5f9;
  --bg-card: rgba(255, 255, 255, 0.9);
  --bg-alt: #ffffff;
  --bg-alt-2: #f8fafc;
  --card-solid: #ffffff;
  --card-solid-light: #f1f5f9;

  --ink-100: #0f172a;
  --ink-900: #020617;
  --ink-700: #334155;
  --ink-600: #475569;
  --ink-500: #64748b;
  --muted: #64748b;
  
  --line: rgba(0, 0, 0, 0.1);
  --cream: rgba(0, 0, 0, 0.04);
  --glass-bg: rgba(255, 255, 255, 0.9);
  --glass-border: rgba(0, 0, 0, 0.1);
  --glass-hover: rgba(0, 0, 0, 0.03);

  /* Markets & Heatmap Specific */
  --ta-bg: #f8fafc;
  --ta-card: #ffffff;
  --ta-border: rgba(108, 60, 225, 0.15);
}

/* ================= BASE STYLES ================= */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink-700);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial;
  scroll-behavior: smooth;
  transition: background 0.3s ease, color 0.3s ease;
}

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

a {
  color: var(--or-600);
  text-decoration: none;
}

a:hover {
  color: var(--or-700);
  text-decoration: underline;
}

.container {
  width: min(1200px, 92vw);
  margin-inline: auto;
}

.muted {
  color: var(--muted);
}

.logo {
  height: 80px;
  width: auto;
}

/* Helpers */
.table-wrap { overflow-x: auto; }
table { width: 100%; table-layout: auto; }
.feature-block, .tool-card, .security-card, .download-card { min-width: 0; }
.parallax { background-attachment: scroll !important; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.1rem;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 600;
  transition: transform var(--spd), box-shadow var(--spd), background var(--spd), color var(--spd);
}

.btn-primary {
  background: linear-gradient(135deg, var(--or-500), var(--or-700));
  color: #fff; /* Always white inside gradient button */
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: var(--card-solid);
  border: 1px solid var(--line);
  color: var(--ink-700);
}

.btn-ghost:hover {
  border-color: var(--or-400);
  color: var(--or-600);
}

.badge {
  display: inline-block;
  font-size: 0.78rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card-solid);
  color: var(--ink-600);
}

.tag {
  display: inline-block;
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink-600);
  background: var(--card-solid);
}

.card {
  background: var(--card-solid);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
}

/* ============ NAV (mobile-first) ============ */
header.site-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(8px);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink-900);
  font-weight: 800;
}

.brand-badge {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  background: radial-gradient(120% 120% at 20% 20%, var(--or-400), var(--or-700));
  box-shadow: var(--shadow-sm);
  animation: glowPulse 3s ease-in-out infinite alternate;
}

.nav-toggle {
  display: inline-flex;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card-solid);
  align-items: center;
  justify-content: center;
}

.menu {
  display: none;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0.6rem 0;
}

.menu a {
  color: var(--ink-600);
  padding: 0.5rem 0.6rem;
  border-radius: 8px;
}

.menu a:hover {
  background: var(--cream);
  color: var(--ink-900);
  text-decoration: none;
}

header.nav-open .menu { display: flex; }

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .menu { display: flex; padding: 0; }
}

/* ============ SUBNAV (chips) ============ */
.subnav {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--card-solid);
}

.subnav .container {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  overflow: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 0.5rem 0;
}

.subnav .container::-webkit-scrollbar { display: none; }

.subnav a {
  flex: 0 0 auto;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  white-space: nowrap;
  color: var(--ink-600);
}

.subnav a.active {
  background: var(--or-100);
  border-color: var(--or-300);
  color: var(--or-700);
}

@media (min-width: 768px) {
  .subnav { position: sticky; top: 64px; z-index: 55; }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  isolation: isolate;
  color: var(--ink-900);
  background:
    radial-gradient(900px 380px at 10% -10%, color-mix(in srgb, var(--or-100) 80%, transparent) 0, transparent 60%),
    radial-gradient(900px 380px at 110% 0%, color-mix(in srgb, var(--or-200) 70%, transparent) 0, transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg-soft));
  border-bottom: 1px solid var(--line);
}

.hero::after {
  content: "";
  position: absolute;
  inset: -40% -30% auto;
  height: 220px;
  z-index: -1;
  background: conic-gradient(from 0deg at 50% 50%, var(--or-300), var(--or-500), var(--or-700), var(--or-300));
  filter: blur(80px);
  opacity: 0.25;
  animation: spin 12s linear infinite;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("https://images.unsplash.com/photo-1559526324-593bc073d938?q=80&w=1600&auto=format&fit=crop") center/cover no-repeat;
  opacity: 0.06;
  transform: translateY(0);
  transition: transform 0.3s ease-out;
  z-index: -1;
}

body.scrolled .hero::before { transform: translateY(40px); }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: center;
  padding: clamp(1.25rem, 2vw, 2.5rem) 0;
}

.hero-badges { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 1rem; }

.hero h1 {
  font-size: var(--h1);
  line-height: 1.08;
  margin: 0.2rem 0 0.6rem;
}

.hero p.lead {
  font-size: var(--lead);
  color: var(--ink-600);
  margin: 0 0 1rem;
}

.hero-visual {
  aspect-ratio: 16/10;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: floatY 6s ease-in-out infinite;
  transition: transform 0.6s ease-out;
}

@media (min-width: 992px) {
  .hero-grid { grid-template-columns: 1.15fr 0.95fr; }
  .hero-visual {
    aspect-ratio: 4/3;
    transform: perspective(1200px) rotateY(-7deg) rotateX(1.5deg);
    transform-origin: left;
  }
}

/* ============ TICKER ============ */
.ticker {
  background: var(--cream);
  border-block: 1px solid var(--line);
  overflow: hidden;
}

.t-track {
  display: flex;
  gap: 1.1rem;
  padding: 0.5rem 0;
  width: max-content;
  animation: scroll 30s linear infinite;
}

.ticker:hover .t-track { animation-play-state: paused; }

.t-item {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  white-space: nowrap;
  font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1rem);
}

.t-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--or-500);
}

/* ============ BELT METRICS ============ */
.belt {
  background: var(--cream);
  border-block: 1px solid var(--line);
}

.belt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(0.7rem, 1.2vw, 1rem);
  padding: clamp(0.8rem, 1.4vw, 1.2rem) 0;
}

.metric {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0.8rem 1rem;
  border-radius: var(--r-sm);
  border: 1px dashed var(--line);
  background: var(--bg);
  box-shadow: var(--shadow-sm);
}

.metric .bubble,
.metric .dot {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--or-500), var(--or-700));
}

.metric .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--or-200) 40%, transparent);
}

.metric strong {
  color: var(--ink-900);
  font-size: 1.05rem;
}

/* ============ SECTIONS & CARDS ============ */
.section { padding: clamp(1.6rem, 2.5vw, 2.6rem) 0; }
.section h2 { font-size: var(--h2); margin: 0.2rem 0 0.5rem; }
.section .sub, .section p.section-sub { color: var(--ink-600); margin: 0 0 1rem; }

.filters {
  display: flex;
  gap: 0.5rem;
  overflow: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1rem;
}

.filters::-webkit-scrollbar { display: none; }

.filters button {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  background: var(--card-solid);
  color: var(--ink-700);
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--spd);
}

.filters button.active,
.filters button:hover {
  background: var(--or-100);
  border-color: var(--or-300);
  color: var(--or-700);
}

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(0.8rem, 1.4vw, 1.15rem); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }

.tile {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--card-solid);
  box-shadow: var(--shadow-sm);
  transition: transform var(--spd), box-shadow var(--spd), border-color var(--spd);
}

.tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: color-mix(in srgb, var(--or-300) 60%, var(--line));
}

.tile:hover, .metric:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 12px 24px rgba(249, 115, 22, 0.25);
  border-color: var(--or-300);
}

.icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  margin-bottom: 0.5rem;
}

.pill {
  display: inline-block;
  font-size: 0.75rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: var(--or-100);
  color: var(--or-700);
  border: 1px solid color-mix(in srgb, var(--or-200) 70%, var(--line));
}

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }

.step {
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.25rem;
  position: relative;
  background: var(--card-solid);
}

.step .num {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  font-weight: 800;
  color: var(--or-200);
}

.feature-split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }

.list-check { list-style: none; padding-left: 0; margin: 0; }
.list-check li { display: flex; gap: 0.6rem; margin: 0.5rem 0; }

.check {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  flex: 0 0 22px;
  color: #fff;
  background: linear-gradient(135deg, var(--or-500), var(--or-700));
  font-size: 0.85rem;
  font-weight: 900;
}

/* ============ TABLE + CTA ============ */
.table-wrap { overflow: auto; border-radius: 12px; }
.pricing-table-wrap { overflow: auto; border-radius: 12px; }

.tbl, table.pricing {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.tbl thead th, .pricing thead th {
  background: color-mix(in srgb, var(--or-100) 60%, var(--bg));
  color: var(--ink-900);
  text-align: left;
  padding: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.tbl td, .pricing td {
  padding: 0.8rem;
  border-top: 1px solid var(--line);
}

/* ============ PREMIUM CTA BLOCK ============ */
.ccta-premium-wrapper {
  position: relative;
  padding: 4px;
  background: linear-gradient(135deg, #bf953f, #fcf6ba, #bf953f);
  border-radius: 30px;
  overflow: hidden;
  margin: 60px 0;
}

.ccta-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border-radius: 26px;
  padding: 4rem 3rem;
  position: relative;
}

.ccta-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 3rem; align-items: center; }

.ccta-badge {
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.1);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.ccta-content h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--ink-100);
  margin-bottom: 1rem;
}

.ccta-content h2 span {
  background: var(--gold-linear);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ccta-content p {
  color: var(--ink-600);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 500px;
}

/* CTA Buttons */
.ccta-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-gold-action {
  background: var(--gold-linear);
  color: #000 !important;
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(191, 149, 63, 0.4);
  transition: 0.3s;
}

.btn-gold-action:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(191, 149, 63, 0.6);
}

.btn-outline-white {
  border: 1px solid var(--glass-border);
  color: var(--ink-100);
  padding: 16px 32px;
  border-radius: 12px;
  text-decoration: none;
  transition: 0.3s;
}

.btn-outline-white:hover {
  background: var(--glass-hover);
  border-color: var(--ink-100);
}

.ccta-visual { position: relative; }
.ccta-visual img {
  width: 100%;
  border-radius: 20px;
  transform: rotate(3deg);
  box-shadow: -20px 20px 40px rgba(0, 0, 0, 0.2);
}

.floating-stat-card {
  position: absolute;
  top: -20px;
  left: -20px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  padding: 15px 20px;
  border-radius: 15px;
  border: 1px solid var(--glass-border);
  z-index: 2;
  animation: floatY 4s infinite ease-in-out;
}

.stat-label {
  display: block;
  font-size: 0.7rem;
  color: #fbbf24;
  text-transform: uppercase;
}

.stat-value {
  font-weight: 800;
  color: var(--ink-100);
  font-size: 1.2rem;
}

/* ============ MODERN FAQ ============ */
.faq-grid { display: flex; flex-direction: column; gap: 1rem; }

.faq-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 15px;
  padding: 0;
  overflow: hidden;
  transition: 0.3s;
}

.faq-card summary {
  padding: 1.5rem;
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ink-100);
}

.faq-icon {
  color: #fbbf24;
  font-size: 1.5rem;
  transition: 0.3s;
}

.faq-card[open] {
  background: var(--glass-hover);
  border-color: rgba(251, 191, 36, 0.4);
}

.faq-card[open] .faq-icon { transform: rotate(45deg); }

.faq-content {
  padding: 0 1.5rem 1.5rem;
  color: var(--ink-600);
  line-height: 1.6;
}

@media (max-width: 992px) {
  .ccta-grid { grid-template-columns: 1fr; text-align: center; }
  .ccta-content p { margin-inline: auto; }
  .ccta-btns { justify-content: center; }
  .ccta-visual img { transform: none; margin-top: 3rem; }
}

/* ============ GLOBAL FLOATING DECOR ============ */
.fx-floating-layer {
  position: fixed; inset: 0; pointer-events: none; z-index: 9999; overflow: visible;
}
.fx-icons-layer { position: absolute; inset: 0; z-index: 1; }
.fx-icon {
  position: absolute; width: 56px; height: 56px; opacity: 0.85; display: block;
  filter: drop-shadow(0 0 12px rgba(255, 215, 120, 0.6));
}

.i1 { left: -80px; top: 25%; animation: moveLR 26s linear infinite; }
.i2 { right: -80px; top: 55%; animation: moveRL 30s linear infinite; }
.i3 { left: 35%; bottom: -90px; animation: moveBT 28s linear infinite; }

.fx-shapes-layer { position: absolute; inset: 0; z-index: 2; }
.fx-shape {
  position: absolute; width: 70px; height: 70px; border-radius: 16px;
  background: linear-gradient(135deg, #ffffff, #ffd27d);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 20px rgba(255, 215, 120, 0.6);
  filter: blur(40px); mix-blend-mode: screen; opacity: 0.15;
}

.fx-shape img { width: 40px; height: 40px; object-fit: contain; display: block; }
.s1 { left: 15%; top: -60px; animation: fallDown 32s linear infinite; }
.s2 { right: -60px; bottom: 20%; border-radius: 50%; animation: diagUp 34s linear infinite; }
.s3 { left: -60px; top: 10%; transform: rotate(45deg); animation: diagDown 36s linear infinite; }
.s4 {
  right: 10%; top: -90px; width: 46px; height: 46px; border-radius: 50%;
  background: transparent; border: 2px solid rgba(255, 215, 120, 0.9);
  box-shadow: 0 0 16px rgba(255, 215, 120, 0.7); animation: spiralDrop 40s linear infinite;
}

/* Navbar Scrolled State */
.pw-nav-header.scrolled {
  padding: 0.4rem 0;
  background: var(--bg-card);
  border-bottom: 1px solid var(--gold-text);
}

/* ========================
   Dropdown Styles
======================== */
.pw-dropdown { position: relative; display: inline-block; }

.pw-dropbtn {
  background: none; border: none; font-weight: 500; color: var(--ink-600);
  cursor: pointer; padding: 0.55rem 0.7rem; border-radius: 8px; font-size: 1rem; transition: all var(--spd);
}

.pw-dropbtn:hover { background: var(--cream); color: var(--ink-900); }

.pw-dropdown-content {
  display: none; position: absolute; top: 120%; left: 0; min-width: 200px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
  box-shadow: var(--shadow-md); flex-direction: column; padding: 0.4rem 0; z-index: 1001;
}

.pw-dropdown-content a {
  display: block; padding: 0.6rem 1rem; color: var(--ink-700); transition: background var(--spd);
}

.pw-dropdown-content a:hover { background: var(--cream); color: var(--or-700); }

@media (min-width: 960px) {
  .pw-dropdown:hover .pw-dropdown-content { display: flex; animation: fadeIn 0.2s ease-in; }
}

.pw-nav-header.pw-open .pw-dropdown-content {
  position: relative; top: 0; border: none; box-shadow: none;
  background: transparent; display: flex; padding-left: 1rem;
}

/* -----------------------------
   FIXED NAVBAR (ALWAYS ON TOP)
------------------------------ */
.pw-nav-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 9999;
  backdrop-filter: blur(8px); background: color-mix(in srgb, var(--bg) 90%, transparent);
  border-bottom: 1px solid var(--line); box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.pw-nav-container {
  width: min(1200px, 92vw); margin-inline: auto; display: flex;
  align-items: center; justify-content: space-between; padding: 0.6rem 0;
}

.pw-nav-brand {
  display: flex; align-items: center; gap: 0.6rem; font-weight: 800;
  color: var(--ink-900); text-decoration: none;
}

.pw-nav-badge {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  color: #fff; font-weight: 700; background: radial-gradient(120% 120% at 20% 20%, var(--or-400), var(--or-700));
  box-shadow: var(--shadow-sm);
}

.pw-nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--bg);
  cursor: pointer; font-size: 1.4rem; transition: background var(--spd);
}

.pw-nav-toggle:hover { background: var(--cream); }

.pw-nav-menu {
  display: none; flex-direction: column; gap: 0.6rem; position: absolute;
  top: 100%; right: 1rem; background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--r); box-shadow: var(--shadow-md); padding: 1rem; z-index: 1000;
  opacity: 0; transform: translateY(-10px); transition: all 0.25s ease;
}

.pw-nav-header.pw-open .pw-nav-menu { display: flex; opacity: 1; transform: translateY(0); }

.pw-nav-menu a {
  color: var(--ink-600); padding: 0.55rem 0.7rem; border-radius: 8px; font-weight: 500;
  transition: background var(--spd), color var(--spd);
}

.pw-nav-menu a:hover { background: var(--cream); color: var(--ink-900); text-decoration: none; }
.pw-nav-menu a.pw-active { background: var(--cream); color: var(--or-700); font-weight: 700; }

.pw-btn-primary {
  background: linear-gradient(135deg, var(--or-500), var(--or-700)); color: #fff;
  border: none; border-radius: 10px; padding: 0.6rem 1rem; font-weight: 600;
  transition: transform var(--spd), box-shadow var(--spd); text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center;
}

.pw-btn-primary:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }

.pw-btn-ghost {
  background: var(--card-solid); border: 1px solid var(--line); border-radius: 10px;
  padding: 0.6rem 1rem; color: var(--ink-700); font-weight: 600;
  transition: border var(--spd), color var(--spd); text-decoration: none;
}

.pw-btn-ghost:hover { border-color: var(--or-300); color: var(--or-600); }

@media (min-width: 960px) {
  .pw-nav-toggle { display: none; }
  .pw-nav-menu {
    display: flex !important; position: static; flex-direction: row; gap: 1rem;
    background: transparent; border: none; box-shadow: none; padding: 0; opacity: 1; transform: none;
  }
}

/* ============ PRIMEFX HERO ============ */
.primefx-hero {
  position: relative; overflow: hidden; color: #fff; min-height: 100vh;
  padding: calc(6rem + 64px) 1rem 6rem; display: flex; align-items: center;
}

.primefx-bg {
  position: absolute; inset: 0;
  background: url("../images/herobg.jpg") center center / cover no-repeat; z-index: 0;
}

/* Theme-aware background image change */
[data-theme="light"] .primefx-bg {
  background: url("../images/hero-bg.jpg") center center / cover no-repeat;
}

[data-theme="dark"] .primefx-bg {
  background: url("../images/herobg.jpg") center center / cover no-repeat;
}

.primefx-bgg {
  background: url("../images/hero-bgg.jpg") center center / cover no-repeat;
  background-size: cover; background-position: center;
}

.primefx-hero::after {
  content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.55); z-index: 1;
}

/* Theme-aware overlay for hero background */
[data-theme="light"] .primefx-hero::after {
  background: transparent;
}

[data-theme="dark"] .primefx-hero::after {
  background: rgba(0, 0, 0, 0.55);
}

.primefx-container {
  max-width: 1200px; margin: 0 auto; position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 2.5rem;
  width: min(1200px, 92vw);
}

.primefx-content h1 {
  font-size: clamp(2.3rem, 1.5rem + 2.5vw, 3.4rem); font-weight: 800; line-height: 1.15; margin: 1rem 0; color: #fff;
}

.primefx-content h1 span {
  background: linear-gradient(135deg, #fff4b0 0%, #ffd36a 15%, #fbbf24 35%, #d4a017 55%, #facc15 75%, #fff1a8 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.primefx-lead { font-size: 1.1rem; color: #e2e8f0; line-height: 1.6; margin-bottom: 1.8rem; }

/* Light theme text colors for readability */
[data-theme="light"] .primefx-content h1 {
  color: #1a1a2e;
}

[data-theme="light"] .primefx-lead {
  color: #4b5563;
}

[data-theme="light"] .primefx-tag {
  background: rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.15);
  color: #1a1a2e;
}

[data-theme="light"] .primefx-btn-ghost {
  border: 1px solid #1a1a2e;
  color: #1a1a2e;
}

[data-theme="light"] .primefx-btn-ghost:hover {
  background: rgba(0, 0, 0, 0.05);
}

/* Hide preview image in light mode */
[data-theme="light"] .primefx-visual {
  display: none;
}

.primefx-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.primefx-tag {
  padding: 0.35rem 0.7rem; border-radius: 999px; background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25); color: #fff; font-weight: 600;
  font-size: 0.85rem; backdrop-filter: blur(4px);
}

.primefx-buttons { display: flex; flex-wrap: wrap; gap: 0.8rem; }

.primefx-btn { padding: 0.9rem 1.3rem; border-radius: 10px; font-weight: 600; text-decoration: none; transition: all 0.3s ease; }

.primefx-btn-primary {
  background: linear-gradient(135deg, #fff4b0 0%, #ffd36a 15%, #fbbf24 35%, #d4a017 55%, #facc15 75%, #fff1a8 100%);
  color: #000; box-shadow: 0 8px 20px rgba(255, 106, 0, 0.3);
}

.primefx-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(255, 106, 0, 0.4); }

.primefx-btn-ghost { border: 1px solid #fff; color: #fff; background: transparent; }
.primefx-btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }

.primefx-visual { display: flex; justify-content: center; align-items: center; }
.primefx-image {
  width: 100%; max-width: 650px; border-radius: 20px; box-shadow: 0 10px 35px rgba(0, 0, 0, 0.35);
  animation: primefx-floatY 6s ease-in-out infinite;
}

/* ============ MARKET INSTRUMENTS ============ */
.market-instruments { background: var(--bg); padding: clamp(2rem, 4vw, 4rem) 0; }
.market-instruments h2 { text-align: center; color: var(--ink-100); }
.market-instruments p.section-sub { text-align: center; margin-bottom: 2.5rem; color: var(--ink-600); }

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

.instrument {
  position: relative; border-radius: var(--r); overflow: hidden; height: 260px; color: #fff;
  cursor: pointer; transform: translateY(0); transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.instrument .bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 0.6s ease; }
.instrument .overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.1) 70%); z-index: 1; }

.instrument .content { position: absolute; bottom: 0; left: 0; right: 0; z-index: 2; padding: 1.2rem; text-align: left; }

.instrument .icon {
  font-size: 1.8rem; margin-bottom: 0.5rem; background: rgba(255, 255, 255, 0.15);
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; backdrop-filter: blur(5px);
}

.instrument h3 { margin: 0; font-size: 1.2rem; color: #fff; }
.instrument p { font-size: 0.95rem; color: #f1f5f9; margin: 0.3rem 0 0; }
.instrument:hover { transform: translateY(-6px); box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15); }
.instrument:hover .bg { transform: scale(1.1); }

.fade-left, .fade-right { opacity: 0; transform: translateX(0); transition: all 1s ease; }
.fade-left { transform: translateX(-60px); }
.fade-right { transform: translateX(60px); }
.fade-in { opacity: 1; transform: translateX(0); }

/* ============ DYNAMIC PLATFORMS SHOWCASE ============ */
.platforms-showcase { background: var(--bg-alt); padding: 100px 0; position: relative; overflow: hidden; }

.platforms-showcase::before {
  content: ''; position: absolute; top: 20%; left: -10%; width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(191, 149, 63, 0.15) 0%, transparent 70%); z-index: 0;
}

.platform-block { display: flex; align-items: center; justify-content: space-between; gap: 4rem; margin-bottom: 8rem; position: relative; z-index: 1; }
.platform-text { flex: 1; }
.platform-badge {
  text-transform: uppercase; font-size: 0.75rem; letter-spacing: 2px; color: #fbbf24;
  background: rgba(251, 191, 36, 0.1); padding: 5px 15px; border-radius: 50px;
  border: 1px solid rgba(251, 191, 36, 0.3); margin-bottom: 1.5rem; display: inline-block;
}

.platform-text h2 {
  font-size: clamp(2rem, 3vw, 3.5rem); font-weight: 800; color: var(--ink-100);
  margin-bottom: 1.5rem;
}

.platform-text p { color: var(--ink-600); font-size: 1.15rem; line-height: 1.8; margin-bottom: 2rem; }
.platform-image-wrapper { flex: 1; perspective: 1500px; }

.platform-image {
  position: relative; border-radius: 20px; padding: 10px;
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  transform: rotateY(-15deg) rotateX(5deg); transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: -20px 20px 50px rgba(0, 0, 0, 0.2);
}

.platform-block.reverse .platform-image { transform: rotateY(15deg) rotateX(5deg); }
.platform-block:hover .platform-image {
  transform: rotateY(0deg) rotateX(0deg) scale(1.05);
  border-color: rgba(251, 191, 36, 0.5); box-shadow: 0 0 40px rgba(251, 191, 36, 0.2);
}

.platform-image img { width: 100%; border-radius: 12px; display: block; }

.image-glow {
  position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%); width: 80%;
  height: 40px; background: #fbbf24; filter: blur(50px); opacity: 0.3; z-index: -1; transition: 0.6s;
}
.blue-glow { background: #3b82f6; }

.btn-glow-gold {
  background: var(--gold-linear); color: #000 !important; padding: 14px 30px; border-radius: 10px;
  font-weight: 700; box-shadow: 0 5px 15px rgba(191, 149, 63, 0.4); transition: 0.3s;
}
.btn-glow-gold:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(191, 149, 63, 0.6); }

.btn-outline-glass {
  border: 1px solid var(--glass-border); color: var(--ink-100) !important; padding: 14px 30px;
  border-radius: 10px; backdrop-filter: blur(5px); transition: 0.3s; background: var(--glass-bg);
}
.btn-outline-glass:hover { background: var(--glass-hover); border-color: var(--ink-100); }

@media (max-width: 992px) {
  .platform-block, .platform-block.reverse { flex-direction: column !important; text-align: center; gap: 3rem; }
  .platform-image { transform: none !important; }
}

.store-buttons { display: flex; gap: 1rem; margin-top: 2rem; }
.btn-store {
  display: flex; align-items: center; gap: 12px; background: var(--card-solid);
  border: 1px solid var(--line); padding: 10px 20px; border-radius: 12px;
  color: var(--ink-100) !important; text-decoration: none; transition: 0.3s ease;
}
.btn-store i { font-size: 1.8rem; color: #fbbf24; }
.btn-store span { font-size: 0.75rem; line-height: 1.2; text-align: left; }
.btn-store b { display: block; font-size: 0.95rem; }
.btn-store:hover { background: var(--card-solid-light); border-color: #fbbf24; transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); }

.gold-glow { background: #fbbf24 !important; opacity: 0.4 !important; }

@media (max-width: 768px) { .store-buttons { flex-direction: column; align-items: center; } }
.store-icon { width: 35px; height: 35px; object-fit: contain; }

/* ============ STEPS TIMELINE ============ */
.steps-timeline {
  background: var(--bg-alt-2);
  background-image:
    radial-gradient(circle at 20% 30%, rgba(251, 191, 36, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(5, 150, 105, 0.05) 0%, transparent 40%);
  padding: 100px 0; color: var(--ink-100); overflow: hidden;
}

.steps-timeline .container { width: 90%; max-width: 1200px; margin: auto; }
.steps-timeline .glow-text {
  background: linear-gradient(135deg, var(--ink-100), #fbbf24);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  font-size: 2.5rem; text-shadow: 0 10px 20px rgba(251, 191, 36, 0.2); margin-bottom: 1rem; text-align: center;
}
.steps-timeline .section-sub { color: var(--ink-600); max-width: 600px; margin: 0 auto 4rem; text-align: center; }

.timeline { position: relative; display: flex; flex-direction: column; gap: 5rem; }
.timeline::before {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%);
  width: 2px; height: 100%; background: linear-gradient(to bottom, transparent, #fbbf24, #059669, transparent); opacity: 0.3;
}

.glass-card {
  background: var(--glass-bg); backdrop-filter: blur(12px); border: 1px solid var(--glass-border);
  border-radius: 24px; padding: 2rem; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); color: var(--ink-100);
}

.glass-card:hover {
  background: var(--glass-hover); border: 1px solid rgba(251, 191, 36, 0.3);
  transform: translateY(-10px) scale(1.02); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3), 0 0 20px rgba(251, 191, 36, 0.1);
}

.circle {
  width: 60px; height: 60px; background: var(--bg-alt-2); border: 2px solid #fbbf24;
  color: #fbbf24; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.4rem; position: absolute; left: 50%; transform: translateX(-50%);
  z-index: 10; box-shadow: 0 0 15px rgba(251, 191, 36, 0.4);
}

.btn-glass {
  display: inline-block; margin-top: 1.5rem; padding: 0.8rem 1.8rem; background: rgba(251, 191, 36, 0.1);
  border: 1px solid #fbbf24; color: #fbbf24; border-radius: 12px; text-decoration: none;
  font-weight: 600; transition: all 0.3s ease; text-transform: uppercase; letter-spacing: 1px; font-size: 0.85rem;
}

.btn-glass:hover { background: #fbbf24; color: #000; box-shadow: 0 0 20px rgba(251, 191, 36, 0.4); }

.float-img { filter: drop-shadow(0 0 15px rgba(251, 191, 36, 0.3)) brightness(1.2); width: 180px; animation: floating 3s ease-in-out infinite; }

.timeline-step { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.timeline-step.reverse { flex-direction: row-reverse; }
.timeline-step .image-box { display: flex; justify-content: center; align-items: center; }
.timeline-step .content, .timeline-step .image-box { width: 42%; }

@media (max-width: 900px) {
  .tbl, table.pricing {
    min-width: 620px;
  }

  .steps-timeline {
    padding: 80px 0;
  }

  .timeline {
    gap: 3.5rem;
  }

  .timeline::before {
    left: 30px;
    transform: none;
  }

  .timeline-step,
  .timeline-step.reverse {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    padding-left: 72px;
    position: relative;
  }

  .timeline-step .content,
  .timeline-step .image-box {
    width: 100%;
  }

  .circle {
    left: 0;
    transform: none;
    width: 54px;
    height: 54px;
    font-size: 1.15rem;
  }

  .timeline-step .image-box {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .tbl, table.pricing {
    min-width: 100%;
  }

  .tbl thead th, .pricing thead th,
  .tbl td, .pricing td {
    padding: 0.7rem;
    font-size: 0.92rem;
    white-space: nowrap;
  }

  .steps-timeline .glow-text {
    font-size: 2rem;
  }

  .steps-timeline .section-sub {
    margin-bottom: 3rem;
  }

  .glass-card {
    padding: 1.4rem;
    border-radius: 20px;
  }

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

  .float-img {
    width: min(180px, 100%);
  }

  .pricing-table-wrap {
    overflow: visible;
  }

  table.pricing {
    display: block;
    border: 0;
    box-shadow: none;
    background: transparent;
    width: 100%;
  }

  .pricing thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .pricing tbody {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    width: 100%;
  }

  .pricing tbody tr {
    display: block;
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    background: color-mix(in srgb, var(--bg) 92%, var(--or-100) 8%);
    box-shadow: var(--shadow-sm);
  }

  .pricing tbody td {
    display: grid;
    grid-template-columns: minmax(128px, 44%) minmax(0, 1fr);
    gap: 0.75rem;
    align-items: center;
    white-space: normal;
    border-top: 1px solid var(--line);
    width: 100%;
    padding: 0.9rem 1rem;
  }

  .pricing tbody td:first-child {
    border-top: 0;
    background: color-mix(in srgb, var(--or-100) 45%, var(--bg));
  }

  .pricing tbody td::before {
    content: attr(data-label);
    font-weight: 700;
    color: var(--ink-900);
  }
}

@media (max-width: 480px) {
  .timeline-step,
  .timeline-step.reverse {
    padding-left: 58px;
    gap: 1.2rem;
  }

  .timeline::before {
    left: 24px;
  }

  .circle {
    width: 46px;
    height: 46px;
    font-size: 1rem;
  }

  .steps-timeline {
    padding: 70px 0;
  }

  .pricing tbody td {
    grid-template-columns: minmax(110px, 42%) minmax(0, 1fr);
    gap: 0.5rem;
  }
}

/* ============ EDUCATION & TOOLS ============ */
.edu-tools { background: var(--card-solid); position: relative; padding: 5rem 0; }
.edu-split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }

.edu-panel {
  position: relative; border-radius: 18px; overflow: hidden; min-height: 380px;
  color: #fff; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); background-size: cover;
  background-position: center; transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.edu-panel:first-child { background-image: url("https://images.unsplash.com/photo-1556761175-4b46a572b786?w=1200"); }
.edu-panel:last-child { background-image: url("https://images.unsplash.com/photo-1559526324-593bc073d938?w=1200"); }
.edu-panel:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 20px 40px rgba(16, 185, 129, 0.2); }

.edu-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)); z-index: 1; }
.edu-content { position: relative; z-index: 2; padding: 2rem; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; }
.edu-content h3 { font-size: 1.5rem; margin-bottom: 0.8rem; font-weight: 700; color: #fff; }
.edu-content ul { list-style: none; padding: 0; margin-bottom: 1.25rem; }
.edu-content ul li { margin-bottom: 0.6rem; line-height: 1.5; color: #e5e7eb; }

/* ============ LUXURY TESTIMONIALS ============ */
.testimonials { background: var(--bg); padding: 100px 0; position: relative; overflow: hidden; }

.testi-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 600px; height: 600px; background: radial-gradient(circle, rgba(251, 191, 36, 0.08) 0%, transparent 70%);
  z-index: 0; pointer-events: none;
}

.testimonials .glow-text {
  background: linear-gradient(135deg, var(--ink-100), #fbbf24);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  text-align: center; font-size: 2.8rem; font-weight: 800;
}

.glass-premium {
  background: var(--glass-bg); backdrop-filter: blur(15px); border: 1px solid var(--glass-border);
  border-radius: 24px; padding: 2.5rem; height: 100%; position: relative;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-premium:hover {
  background: var(--glass-hover); border-color: rgba(251, 191, 36, 0.4);
  transform: translateY(-10px) scale(1.02); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2), 0 0 20px rgba(251, 191, 36, 0.1);
}

.card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.stars { color: #fbbf24; letter-spacing: 2px; font-size: 0.9rem; }
.quote-mark {
  font-size: 4rem; font-family: serif; line-height: 1;
  background: linear-gradient(180deg, rgba(251, 191, 36, 0.5), transparent);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  position: absolute; right: 20px; top: 10px;
}

.glass-premium p { color: var(--ink-700); font-size: 1.1rem; line-height: 1.7; font-style: italic; margin-bottom: 2rem; position: relative; z-index: 1; }

.trader-info { display: flex; align-items: center; gap: 1rem; }
.img-wrapper { position: relative; padding: 3px; background: linear-gradient(135deg, #bf953f, #fcf6ba); border-radius: 50%; }
.trader-info img { width: 55px; height: 55px; border-radius: 50%; border: 2px solid var(--bg); display: block; }
.trader-info h4 { color: var(--ink-100); font-weight: 700; margin: 0; font-size: 1.1rem; }
.trader-info span { color: #fbbf24; font-size: 0.85rem; opacity: 0.8; }

.swiper-pagination-bullet { background: var(--ink-500) !important; opacity: 0.4; }
.swiper-pagination-bullet-active { background: #fbbf24 !important; opacity: 1 !important; width: 25px !important; border-radius: 10px !important; }

/* ============ FOOTER ============ */
.primefx-footer {
  background: var(--prime-dark); color: #cbd5e1; font-family: "Inter", sans-serif;
  padding: 2rem 1rem 1.2rem; display: flex; flex-direction: column; align-items: center; text-align: center;
}

.primefx-footer-inner { width: 100%; max-width: 1200px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.primefx-brand { flex: 1 1 260px; min-width: 200px; }
.primefx-logo { display: flex; align-items: center; gap: 0.5rem; justify-content: center; margin-bottom: 0.3rem; }
.primefx-badge {
  background: linear-gradient(135deg, var(--prime-orange), #cc3300); color: #fff; width: 36px; height: 36px;
  border-radius: 8px; display: grid; place-items: center; font-weight: 700; box-shadow: 0 0 10px rgba(255, 106, 0, 0.3);
}

.primefx-logotxt { font-weight: 700; color: #fff; font-size: 1.1rem; }
.primefx-logotxt span { color: var(--prime-orange); }
.primefx-desc { font-size: 0.85rem; color: #94a3b8; line-height: 1.4; max-width: 320px; margin: 0 auto 0.5rem; }
.primefx-links { flex: 2 1 500px; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0.5rem 1rem; justify-content: center; }
.primefx-col h4 { color: #fff; font-size: 0.9rem; margin-bottom: 0.25rem; }
.primefx-col ul { list-style: none; padding: 0; margin: 0; }
.primefx-col li { margin: 0.15rem 0; }
.primefx-col a { text-decoration: none; color: #cbd5e1; font-size: 0.84rem; }
.primefx-col a:hover { color: var(--prime-orange); }
.primefx-bottom { width: 100%; border-top: 1px solid rgba(255, 255, 255, 0.08); margin-top: 0.8rem; padding-top: 0.6rem; font-size: 0.8rem; color: #94a3b8; line-height: 1.4; }
.primefx-bottom p { margin: 0.2rem 0; }
.primefx-risk { font-size: 0.75rem; color: #64748b; }
.primefx-riskbar {
  background: #111827; color: #d1d5db; font-size: 0.8rem; padding: 0.6rem 0.8rem; text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05); border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.primefx-riskbar strong { color: var(--prime-orange); }

/* ============ MEDIA QUERIES ============ */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { transform: none; margin-top: 1.5rem; }
  .platform-block { flex-direction: column !important; text-align: center; }
  .platform-image { order: 2; width: 100%; }
  .platform-text { order: 1; width: 100%; }
}
@media (max-width: 1024px) {
  .primefx-footer-inner { justify-content: center; text-align: center; gap: 0.8rem; }
  .primefx-brand { margin-bottom: 0.4rem; }
  .primefx-links { gap: 0.4rem 0.8rem; }
}
@media (max-width: 900px) {
  .primefx-container { grid-template-columns: 1fr; text-align: center; }
  .primefx-image { max-width: 320px; margin: 2rem auto 0; }
  .edu-split { grid-template-columns: 1fr; }
  .edu-panel { min-height: 300px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 800px) {
  .cta>div, .ccta>div { grid-template-columns: 1fr !important; text-align: center; }
  .cta img, .ccta img { margin-top: 1rem; }
}
@media (max-width: 768px) {
  .belt-grid { grid-template-columns: repeat(2, 1fr); text-align: center; }
  .metric { justify-content: center; }
  .swiper-slide { width: 100% !important; }
  .primefx-links { grid-template-columns: repeat(3, 1fr); gap: 0.3rem 0.6rem; }
  .instrument { height: 220px; }
}
@media (max-width: 600px) { .instruments-grid { grid-template-columns: 1fr; } details.faq summary { font-size: 0.95rem; } }
@media (max-width: 560px) { .belt-grid, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
@media (max-width: 480px) {
  .btn, .btn-primary, .btn-ghost { white-space: normal; padding-left: 0.8rem; padding-right: 0.8rem; }
  .hero-grid h1 { font-size: 1.8rem; }
  .split, .grid-3, .tools-grid, .security-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 420px) { .primefx-links { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .cta, .ccta { grid-template-columns: 1.2fr 0.8fr; } }
@media (prefers-reduced-motion: reduce) { .fx-icon, .fx-shape { animation: none !important; } }

/* ============ ANIMATIONS ============ */
@keyframes spin { to { transform: rotate(1turn); } }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes floatY { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-12px); } }
@keyframes glowPulse { from { box-shadow: 0 0 8px var(--or-400); } to { box-shadow: 0 0 22px var(--or-600); } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 8px rgba(249, 115, 22, 0.3); } 50% { box-shadow: 0 0 22px rgba(249, 115, 22, 0.7); } }
@keyframes primefx-floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes floating { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-20px) rotate(2deg); } }
@keyframes moveLR { 0% { transform: translateX(0); opacity: 0; } 10% { opacity: 0.9; } 100% { transform: translateX(120vw); opacity: 0; } }
@keyframes moveRL { 0% { transform: translateX(0); opacity: 0; } 10% { opacity: 0.9; } 100% { transform: translateX(-120vw); opacity: 0; } }
@keyframes moveBT { 0% { transform: translateY(0) translateX(0); opacity: 0; } 10% { opacity: 0.9; } 100% { transform: translateY(-120vh) translateX(40px); opacity: 0; } }
@keyframes fallDown { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: 0.7; } 100% { transform: translateY(120vh); opacity: 0; } }
@keyframes diagUp { 0% { transform: translate(0, 0); opacity: 0; } 10% { opacity: 0.7; } 100% { transform: translate(-120vw, -120vh); opacity: 0; } }
@keyframes diagDown { 0% { transform: translate(0, 0); opacity: 0; } 10% { opacity: 0.7; } 100% { transform: translate(120vw, 120vh); opacity: 0; } }
@keyframes spiralDrop { 0% { transform: rotate(0deg) translateY(0); opacity: 0; } 20% { opacity: 0.8; } 100% { transform: rotate(360deg) translateY(120vh); opacity: 0; } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }

/* =====================================
   TRADE ASSETS — DARK/LIGHT PREMIUM TABLE
===================================== */
.ta-section {
  font-family: 'DM Sans', sans-serif; background: var(--ta-bg);
  padding: 90px 40px 100px; position: relative; overflow: hidden;
  border-top: 1px solid rgba(108, 60, 225, 0.1); color: var(--ink-100); transition: background 0.3s;
}

.ta-grid-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(108, 60, 225, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(108, 60, 225, 0.04) 1px, transparent 1px);
  background-size: 60px 60px; pointer-events: none;
}

.ta-orb { position: absolute; border-radius: 50%; pointer-events: none; animation: taOrb 12s ease-in-out infinite alternate; }
.ta-orb1 { width: 500px; height: 500px; top: -200px; right: -100px; background: radial-gradient(circle, rgba(108, 60, 225, 0.14), transparent 70%); }
.ta-orb2 { width: 400px; height: 400px; bottom: -150px; left: -100px; background: radial-gradient(circle, rgba(79, 70, 229, 0.1), transparent 70%); animation-delay: -6s; }
@keyframes taOrb { from { transform: scale(1) } to { transform: scale(1.2) translate(20px, 15px) } }

.ta-inner { max-width: 1100px; margin: 0 auto; position: relative; z-index: 1; }
.ta-header { margin-bottom: 40px; }
.ta-label {
  display: inline-block; padding: 5px 16px; background: rgba(108, 60, 225, 0.12);
  border: 1px solid rgba(108, 60, 225, 0.28); border-radius: 24px; font-size: 11px;
  font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #a78bfa; margin-bottom: 14px;
}
.ta-title { font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 900; letter-spacing: -1.5px; line-height: 1.15; margin-bottom: 12px; color: var(--ink-100); }
.ta-grad {
  background: linear-gradient(135deg, #a78bfa, #6c3ce1, #06b6d4); background-size: 200%;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; animation: taGrad 4s ease infinite alternate;
}
@keyframes taGrad { from { background-position: 0% } to { background-position: 100% } }
.ta-sub { font-size: 0.95rem; color: var(--ink-600); line-height: 1.7; }

.ta-card {
  background: var(--ta-card); border: 1px solid var(--ta-border); border-radius: 24px;
  overflow: hidden; box-shadow: 0 0 80px rgba(108, 60, 225, 0.08), inset 0 0 40px rgba(108, 60, 225, 0.02); position: relative;
}
.ta-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, #6c3ce1, #a855f7, #06b6d4); background-size: 200%; animation: taShimmer 3s linear infinite;
}
@keyframes taShimmer { 0% { background-position: -200% } 100% { background-position: 200% } }

.ta-ticker { background: rgba(108, 60, 225, 0.06); border-bottom: 1px solid rgba(108, 60, 225, 0.12); padding: 10px 0; overflow: hidden; }
.ta-ticker-track { display: inline-flex; gap: 0; animation: taTicker 30s linear infinite; white-space: nowrap; }
@keyframes taTicker { from { transform: translateX(0) } to { transform: translateX(-25%) } }
.ta-tick { display: inline-block; padding: 0 24px; font-size: 12px; font-weight: 700; letter-spacing: 0.5px; }
.ta-up { color: #4ade80; } .ta-down { color: #f87171; }

.ta-table-head { display: grid; grid-template-columns: 2.5fr 1fr 1.4fr 1.2fr 1fr; padding: 14px 24px; border-bottom: 1px solid var(--line); background: var(--glass-bg); }
.ta-th { font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-500); }
.ta-th-cat { text-align: right; }

.ta-row {
  display: grid; grid-template-columns: 2.5fr 1fr 1.4fr 1.2fr 1fr; padding: 18px 24px;
  border-bottom: 1px solid var(--line); align-items: center; transition: all 0.3s ease; position: relative; cursor: default;
}
.ta-row::before {
  content: ''; position: absolute; inset: 0; background: radial-gradient(circle 200px at var(--mx, 50%) 50%, rgba(108, 60, 225, 0.07), transparent);
  opacity: 0; transition: opacity 0.3s; pointer-events: none;
}
.ta-row:hover::before { opacity: 1; }
.ta-row:hover { background: var(--glass-hover); }
.ta-row:last-of-type { border-bottom: none; }

.ta-td-inst { display: flex; align-items: center; gap: 10px; }
.ta-flag-wrap { width: 54px; height: 34px; border-radius: 0; overflow: hidden; flex-shrink: 0; border: none; box-shadow: none; position: relative; background: transparent; }
.ta-flag { width: 100%; height: 100%; object-fit: contain; transition: transform 0.3s; }
.ta-row:hover .ta-flag { transform: scale(1.05); }
.ta-flag-fallback { width: 100%; height: 100%; border-radius: 0; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; letter-spacing: 0.5px; }
.ta-inst-info { display: flex; flex-direction: column; gap: 3px; }
.ta-sym-row { display: flex; align-items: center; gap: 8px; }
.ta-sym { font-size: 0.9rem; font-weight: 800; color: var(--ink-100); letter-spacing: 0.3px; }
.ta-name { font-size: 0.75rem; color: var(--ink-600); }
.ta-sparkline { margin-left: auto; opacity: 0.7; transition: opacity 0.3s; }
.ta-row:hover .ta-sparkline { opacity: 1; }

.ta-lev-badge {
  display: inline-block; padding: 5px 12px; background: rgba(108, 60, 225, 0.12);
  border: 1px solid rgba(108, 60, 225, 0.22); border-radius: 8px; font-size: 0.82rem; font-weight: 700; color: #a78bfa; transition: all 0.2s;
}
.ta-row:hover .ta-lev-badge { background: rgba(108, 60, 225, 0.2); border-color: rgba(108, 60, 225, 0.4); box-shadow: 0 0 12px rgba(108, 60, 225, 0.2); }

.ta-td { display: flex; flex-direction: column; gap: 6px; }
.ta-spread { font-size: 0.9rem; font-weight: 700; color: var(--ink-100); }
.ta-spread-bar { display: block; height: 3px; background: rgba(150, 150, 150, 0.2); border-radius: 4px; overflow: hidden; width: 80px; }
.ta-spread-fill { display: block; height: 100%; border-radius: 4px; opacity: 0.7; transition: width 1s ease; }

.ta-swap { display: inline-flex; align-items: center; gap: 7px; font-size: 0.82rem; font-weight: 600; }
.ta-swap-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.ta-swap-ok { color: #4ade80; }
.ta-swap-ok .ta-swap-dot { background: #4ade80; box-shadow: 0 0 8px #4ade80; animation: taDotPulse 2s infinite; }
.ta-swap-no { color: var(--ink-600); }
.ta-swap-no .ta-swap-dot { background: var(--line); }
@keyframes taDotPulse { 0%, 100% { opacity: 1 } 50% { opacity: 0.5 } }

.ta-td-cat { align-items: flex-end; }
.ta-cat-chip {
  display: inline-block; padding: 6px 14px; border-radius: 8px; font-size: 0.82rem; font-weight: 700;
  text-decoration: none; background: rgba(var(--cc-rgb, 108, 60, 225), 0.1); border: 1px solid var(--cc, #6c3ce1);
  color: var(--cc, #a78bfa); transition: all 0.25s; opacity: 0.75; background: color-mix(in srgb, var(--cc, #6c3ce1) 12%, transparent);
}
.ta-row:hover .ta-cat-chip { opacity: 1; box-shadow: 0 0 14px color-mix(in srgb, var(--cc, #6c3ce1) 30%, transparent); transform: translateX(2px); }

.ta-card-footer { padding: 20px 24px; display: flex; justify-content: center; border-top: 1px solid var(--line); background: var(--glass-bg); }
.ta-view-btn {
  padding: 11px 36px; background: transparent; border: 1.5px solid rgba(108, 60, 225, 0.4);
  border-radius: 12px; color: #a78bfa; font-size: 0.88rem; font-weight: 700; cursor: pointer;
  font-family: inherit; transition: all 0.3s ease; position: relative; overflow: hidden;
}
.ta-view-btn::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(108, 60, 225, 0.15), transparent); opacity: 0; transition: opacity 0.3s; }
.ta-view-btn:hover::before { opacity: 1; }
.ta-view-btn:hover { border-color: rgba(108, 60, 225, 0.7); box-shadow: 0 0 20px rgba(108, 60, 225, 0.25); transform: translateY(-2px); }
.ta-disclaimer { margin-top: 16px; font-size: 0.78rem; color: var(--ink-600); }
.ta-reveal { opacity: 0; transform: translateY(32px); transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.ta-reveal.ta-show { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .ta-section { padding: 60px 16px; }
  .ta-table-head, .ta-row { grid-template-columns: 2fr 0.8fr 1fr 1fr 0.8fr; padding: 14px 16px; }
  .ta-th-inst, .ta-td-inst { gap: 10px; }
  .ta-flag-wrap { width: 48px; height: 30px; }
  .ta-sparkline { display: none; }
}
@media (max-width: 640px) {
  .ta-table-head { display: none; }
  .ta-row { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto auto; gap: 8px; padding: 16px; border-radius: 12px; margin: 4px 8px; background: var(--glass-bg); border: 1px solid var(--glass-border); }
  .ta-td-inst { grid-column: 1/-1; }
  .ta-td-cat { align-items: flex-start; }
  .ta-spread-bar { width: 60px; }
  .ta-card { border-radius: 16px; }
}

/* =====================================
   FOREX HEATMAP — DARK/LIGHT PREMIUM
===================================== */
.fh-section {
    font-family: 'DM Sans', sans-serif; background: var(--ta-bg); padding: 90px 40px 100px;
    position: relative; overflow: hidden; border-top: 1px solid rgba(108,60,225,0.1); color: var(--ink-100);
}

.fh-grid-bg {
    position: absolute; inset: 0; background-image: linear-gradient(rgba(108,60,225,0.04) 1px,transparent 1px), linear-gradient(90deg,rgba(108,60,225,0.04) 1px,transparent 1px);
    background-size: 60px 60px; pointer-events: none;
}

.fh-orb { position:absolute; border-radius:50%; pointer-events:none; animation:fhOrb 12s ease-in-out infinite alternate; }
.fh-orb1 { width:500px;height:500px;top:-200px;left:-150px;background:radial-gradient(circle,rgba(108,60,225,0.13),transparent 70%); }
.fh-orb2 { width:400px;height:400px;bottom:-150px;right:-100px;background:radial-gradient(circle,rgba(239,68,68,0.07),transparent 70%);animation-delay:-6s; }
@keyframes fhOrb { from{transform:scale(1)} to{transform:scale(1.2) translate(20px,15px)} }

.fh-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.fh-header { margin-bottom: 36px; display:flex; flex-direction:column; gap:6px; }
.fh-label { display:inline-block; padding:5px 16px; background:rgba(108,60,225,0.12); border:1px solid rgba(108,60,225,0.28); border-radius:24px; font-size:11px; font-weight:700; letter-spacing:2px; text-transform:uppercase; color:#a78bfa; width:fit-content; }
.fh-title { font-size:clamp(1.8rem,3vw,2.8rem); font-weight:900; letter-spacing:-1.5px; line-height:1.15; color:var(--ink-100); }
.fh-grad { background:linear-gradient(135deg,#a78bfa,#6c3ce1,#06b6d4); background-size:200%; -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; animation:fhGrad 4s ease infinite alternate; }
@keyframes fhGrad { from{background-position:0%} to{background-position:100%} }
.fh-sub { font-size:0.92rem; color:var(--ink-600); }
.fh-live-badge { display:inline-flex; align-items:center; gap:7px; padding:5px 14px; width:fit-content; background:rgba(74,222,128,0.08); border:1px solid rgba(74,222,128,0.2); border-radius:20px; font-size:11px; font-weight:700; letter-spacing:2px; color:#4ade80; }
.fh-live-dot { width:7px;height:7px;border-radius:50%;background:#4ade80;animation:fhPulse 1.5s infinite; }
@keyframes fhPulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(0.8)} }

.fh-card {
    background:var(--ta-card); border:1px solid var(--ta-border); border-radius:20px; overflow:hidden;
    box-shadow:0 0 80px rgba(108,60,225,0.1); position:relative;
}
.fh-card::before { content:'';position:absolute;top:0;left:0;right:0;height:2px; background:linear-gradient(90deg,#6c3ce1,#a855f7,#06b6d4); background-size:200%; animation:fhShimmer 3s linear infinite; }
@keyframes fhShimmer { 0%{background-position:-200%} 100%{background-position:200%} }

.fh-legend { display:flex; align-items:center; gap:20px; padding:14px 20px; border-bottom:1px solid var(--line); background:var(--glass-bg); flex-wrap:wrap; }
.fh-leg-item { display:flex; align-items:center; gap:6px; font-size:12px; font-weight:700; padding:4px 12px; border-radius:8px; }
.fh-leg-up { background:rgba(74,222,128,0.1); color:#4ade80; border:1px solid rgba(74,222,128,0.2); }
.fh-leg-dn { background:rgba(248,113,113,0.1); color:#f87171; border:1px solid rgba(248,113,113,0.2); }
.fh-leg-neu { background:var(--line); color:var(--ink-600); border:1px solid var(--line); }
.fh-leg-upd { margin-left:auto; font-size:11px; color:var(--ink-600); font-weight:500; }

.fh-table-wrap { overflow-x:auto; }
.fh-table { width:100%; border-collapse:separate; border-spacing:3px; padding:12px; }

.fh-th-empty { width:72px; }
.fh-col-head { padding:10px 6px; text-align:center; background:var(--glass-bg); border:1px solid var(--glass-border); border-radius:10px; min-width:100px; }
.fh-head-flag { width:28px; height:28px; border-radius:50%; object-fit:cover; display:block; margin:0 auto 4px; border:1.5px solid var(--glass-border); }
.fh-col-sym, .fh-row-sym { display:block; font-size:11px; font-weight:800; letter-spacing:1px; color:var(--ink-600); text-transform:uppercase; }

.fh-row-head { padding:8px; text-align:center; background:var(--glass-bg); border:1px solid var(--glass-border); border-radius:10px; white-space:nowrap; }

.fh-cell { padding:14px 10px; text-align:center; border-radius:10px; cursor:pointer; position:relative; overflow:hidden; transition:all 0.25s cubic-bezier(0.22,1,0.36,1); min-width:100px; border:1px solid transparent; }

.fh-cell-up { background: linear-gradient(135deg, rgba(22,163,74,0.75), rgba(16,185,129,0.65)); border-color: rgba(74,222,128,0.2); color: #fff !important; }
.fh-cell-up:hover { background: linear-gradient(135deg, rgba(22,163,74,0.95), rgba(16,185,129,0.85)); transform:scale(1.06) translateZ(0); box-shadow:0 6px 24px rgba(22,163,74,0.4); border-color:rgba(74,222,128,0.5); z-index:5; }
.fh-cell-dn { background: linear-gradient(135deg, rgba(185,28,28,0.75), rgba(239,68,68,0.65)); border-color: rgba(248,113,113,0.2); color: #fff !important; }
.fh-cell-dn:hover { background: linear-gradient(135deg, rgba(185,28,28,0.95), rgba(239,68,68,0.85)); transform:scale(1.06) translateZ(0); box-shadow:0 6px 24px rgba(239,68,68,0.4); border-color:rgba(248,113,113,0.5); z-index:5; }
.fh-cell-same { background: var(--glass-bg); border-color: var(--glass-border); cursor:default; }

.fh-cell-flash { animation:fhFlash 0.5s ease; }
@keyframes fhFlash { 0%{filter:brightness(1)} 30%{filter:brightness(1.8)} 100%{filter:brightness(1)} }

.fh-cell-arrow { display:block; font-size:9px; margin-bottom:3px; opacity:0.9; }
.fh-cell-up .fh-cell-arrow { color:#dcfce7; }
.fh-cell-dn .fh-cell-arrow { color:#fee2e2; }

.fh-cell-val { display:block; font-size:12px; font-weight:800; letter-spacing:0.3px; color:#fff; }
.fh-cell-dash { font-size:16px; color:var(--ink-500); font-weight:300; }

.fh-cell-ripple { position:absolute; inset:0; border-radius:10px; background:radial-gradient(circle at 50% 50%, rgba(255,255,255,0.15), transparent 60%); opacity:0; transition:opacity 0.3s; }
.fh-cell:hover .fh-cell-ripple { opacity:1; }

.fh-tooltip {
    position:absolute; z-index:100; background:var(--card-solid); border:1px solid rgba(108,60,225,0.4);
    border-radius:12px; padding:14px 18px; transform:translateX(-50%); pointer-events:none;
    opacity:0; transition:opacity 0.25s; backdrop-filter:blur(16px); box-shadow:0 8px 32px rgba(0,0,0,0.5);
    white-space:nowrap; min-width:140px; text-align:center; color: var(--ink-100);
}
.fh-tooltip.fh-tt-show { opacity:1; }
.fh-tt-pair { font-size:11px; font-weight:700; letter-spacing:1px; color:var(--ink-600); margin-bottom:4px; }
.fh-tt-val  { font-size:1.1rem; font-weight:900; color:var(--ink-100); letter-spacing:-0.3px; }
.fh-tt-dir  { font-size:11px; font-weight:700; margin-top:4px; }
.fh-tt-up   { color:#4ade80; }
.fh-tt-dn   { color:#f87171; }

.fh-disclaimer { margin-top:14px; font-size:0.78rem; color:var(--ink-600); }
.fh-reveal { opacity:0; transform:translateY(32px); transition:all 0.8s cubic-bezier(0.22,1,0.36,1); }
.fh-reveal.fh-show { opacity:1; transform:translateY(0); }

@media (max-width:900px) { .fh-section { padding:60px 16px; } .fh-cell { min-width:76px; padding:10px 6px; } .fh-cell-val { font-size:10px; } .fh-col-head, .fh-row-head { min-width:76px; } }
@media (max-width:600px) { .fh-cell { min-width:58px; padding:8px 4px; } .fh-cell-val { font-size:9px; } .fh-head-flag { width:22px; height:22px; } .fh-col-sym, .fh-row-sym { font-size:9px; } }

    .grey-label-section {
        padding: 80px 20px;
        background: var(--bg-soft, #0e0e0e); /* Aapke theme ke hisaab se */
        font-family: 'DM Sans', system-ui, sans-serif;
    }
    
    .gl-header {
        text-align: center;
        margin-bottom: 50px;
    }
    
    .gl-header h2 {
        font-size: clamp(2rem, 3vw, 3rem);
        color: var(--ink-100, #ffffff);
        margin-bottom: 15px;
        font-weight: 800;
    }
    
    .gl-header p {
        color: var(--ink-600, #a3a3a3);
        font-size: 1.1rem;
        max-width: 600px;
        margin: 0 auto;
    }

    .gl-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 30px;
        max-width: 1200px;
        margin: 0 auto;
    }

    .gl-card {
        background: var(--card-solid, #121212);
        border: 1px solid var(--line, #333);
        border-radius: 20px;
        padding: 30px;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        position: relative;
        overflow: hidden;
    }

    .gl-card:hover {
        transform: translateY(-10px);
        border-color: #fbbf24; /* Gold accent */
        box-shadow: 0 15px 35px rgba(251, 191, 36, 0.1);
    }

    .gl-icon-wrapper {
        width: 60px;
        height: 60px;
        background: rgba(251, 191, 36, 0.1);
        border: 1px solid rgba(251, 191, 36, 0.3);
        border-radius: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .gl-card h3 {
        color: var(--ink-100, #ffffff);
        font-size: 1.3rem;
        margin-bottom: 12px;
        font-weight: 700;
    }

    .gl-card p {
        color: var(--ink-600, #a3a3a3);
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .gl-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .gl-tag {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        color: #e5e7eb;
        font-size: 0.8rem;
        padding: 4px 12px;
        border-radius: 50px;
        font-weight: 500;
    }

    .gl-card:hover .gl-tag {
        border-color: rgba(251, 191, 36, 0.4);
        background: rgba(251, 191, 36, 0.05);
        color: #fbbf24;
    }
