/* ============================================================
   Hitech Pro4rex — Trading Platform UI Upgrade
   ============================================================ */

/* ── Forex Ticker Bar ─────────────────────────────────────── */
.hp-ticker-bar {
  background: #060d1a;
  border-bottom: 1px solid #1a3050;
  display: flex;
  align-items: center;
  height: 38px;
  overflow: hidden;
  position: relative;
  z-index: 9999;
  width: 100%;
}
.hp-ticker-label {
  background: linear-gradient(135deg, #1a56db 0%, #0c3ba3 100%);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
  gap: 6px;
}
.hp-ticker-label::before {
  content: '';
  width: 7px;
  height: 7px;
  background: #22c55e;
  border-radius: 50%;
  display: inline-block;
  animation: hp-blink 1.4s ease-in-out infinite;
}
@keyframes hp-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}
.hp-ticker-scroll {
  overflow: hidden;
  flex: 1;
  mask-image: linear-gradient(to right, transparent 0, black 24px, black calc(100% - 24px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, black 24px, black calc(100% - 24px), transparent 100%);
}
.hp-ticker-items {
  display: flex;
  align-items: center;
  animation: hp-ticker-scroll 55s linear infinite;
  will-change: transform;
}
.hp-ticker-items:hover { animation-play-state: paused; }
.hp-tick {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 22px;
  font-size: 11.5px;
  color: #8fa8c8;
  font-family: 'Roboto', 'Consolas', monospace;
  border-right: 1px solid #1a3050;
  white-space: nowrap;
  cursor: default;
  transition: background 0.2s;
}
.hp-tick:hover { background: rgba(26,86,219,0.08); }
.hp-tick .hp-pair { font-weight: 600; color: #c8d8f0; font-size: 11px; }
.hp-tick .hp-price { color: #e2eaf8; font-weight: 700; }
.hp-tick .hp-change { font-style: normal; font-size: 10.5px; font-weight: 600; }
.hp-tick.up  .hp-change { color: #22c55e; }
.hp-tick.down .hp-change { color: #ef4444; }
.hp-tick.up  .hp-arr { color: #22c55e; }
.hp-tick.down .hp-arr { color: #ef4444; }
@keyframes hp-ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Managed Account Widget (replaces Super Bounty) ────────── */
.hp-account-widget {
  background: rgba(6, 13, 30, 0.72);
  border: 1px solid rgba(26, 86, 219, 0.35);
  border-radius: 10px;
  padding: 22px 20px 18px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hp-aw-label {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #1a78db;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.hp-aw-label::before {
  content: '';
  width: 6px; height: 6px;
  background: #22c55e;
  border-radius: 50%;
  animation: hp-blink 1.4s ease-in-out infinite;
}
.hp-aw-headline {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 16px;
  font-family: 'Work Sans', sans-serif;
}
.hp-aw-headline span {
  color: #22c55e;
  font-size: 28px;
}
.hp-aw-stats {
  display: flex;
  gap: 0;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 7px;
  overflow: hidden;
  margin-bottom: 16px;
}
.hp-aw-stat {
  flex: 1;
  padding: 10px 6px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.hp-aw-stat:last-child { border-right: none; }
.hp-aw-stat-value {
  font-size: 15px;
  font-weight: 700;
  color: #22c55e;
  font-family: 'Roboto', monospace;
}
.hp-aw-stat-label {
  font-size: 9px;
  color: #7a9cbe;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 2px;
}
.hp-aw-btn {
  display: block;
  text-align: center;
  background: linear-gradient(135deg, #1a56db 0%, #0e9f6e 100%);
  color: #fff !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 11px 20px;
  border-radius: 6px;
  text-decoration: none !important;
  margin-bottom: 16px;
  transition: opacity 0.2s, transform 0.15s;
}
.hp-aw-btn:hover { opacity: 0.9; transform: translateY(-1px); }
.hp-aw-pairs { display: flex; flex-direction: column; gap: 5px; }
.hp-aw-pair {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 10px;
  border-radius: 5px;
  background: rgba(255,255,255,0.04);
  font-size: 11px;
  font-family: 'Roboto', monospace;
}
.hp-aw-pair .hp-aw-pname { color: #8fa8c8; font-weight: 600; }
.hp-aw-pair .hp-aw-pprice { color: #e2eaf8; font-weight: 700; }
.hp-aw-pair.up  .hp-aw-pchg { color: #22c55e; }
.hp-aw-pair.down .hp-aw-pchg { color: #ef4444; }

/* ── Header top bar upgrade ───────────────────────────────── */
.header-top-text {
  font-size: 11.5px !important;
  letter-spacing: 0.5px;
  display: flex !important;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.header-top-text .hp-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  opacity: 0.9;
}
.header-top-text .hp-trust-item i { font-size: 11px; color: #69ced3; }

/* ── Hero credential badges ─────────────────────────────────── */
.hp-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 22px;
}
.hp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3px;
}
.hp-hero-badge i {
  color: #69ced3;
  font-size: 12px;
}

/* ── Stat counter boxes (hero stats) ─────────────────────── */
.hp-stats-row {
  display: flex;
  gap: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  margin: 18px 0 0;
}
.hp-stat-box {
  flex: 1;
  padding: 12px 8px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.1);
  background: rgba(0,0,0,0.25);
}
.hp-stat-box:last-child { border-right: none; }
.hp-stat-box .hp-sval {
  font-size: 20px;
  font-weight: 800;
  color: #69ced3;
  font-family: 'Work Sans', sans-serif;
}
.hp-stat-box .hp-slbl {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.55);
  margin-top: 2px;
}

/* ── CTA Section Upgrade ("Algorithmic Trading") ─────────── */
.hp-cta-section-dark {
  position: relative;
}

/* ── Global UI polish ─────────────────────────────────────── */
/* Slightly sharpen nav links */
.navbar-collapse .nav > li > a span {
  font-weight: 500;
  letter-spacing: 0.3px;
}
/* Get Started button glow */
li.mgt-highlight-bordered > a {
  box-shadow: 0 0 14px rgba(105,206,211,0.35);
  transition: box-shadow 0.3s !important;
}
li.mgt-highlight-bordered > a:hover {
  box-shadow: 0 0 22px rgba(105,206,211,0.6);
}
/* Section subtitle (OUR CORE / THE ADVANTAGE etc.) typography */
.mgt-header-block-subtitle {
  letter-spacing: 3px !important;
  font-weight: 700 !important;
  font-size: 11px !important;
}
/* Ratings — make numbers pop */
.mgt-header-block-title.text-font-weight-bold {
  font-family: 'Work Sans', sans-serif;
}
/* Footer polish */
footer .widget-title {
  letter-spacing: 1.5px;
  font-size: 11px !important;
}
/* Mobile: hide ticker label on small screens */
@media (max-width: 480px) {
  .hp-ticker-label { padding: 0 10px; letter-spacing: 0.5px; font-size: 9px; }
  .hp-tick { padding: 0 14px; font-size: 10.5px; }
  .hp-account-widget { padding: 16px 14px; }
}
