/* ============================================================
   TRADE MASTERS PREMIUM — LANDING PAGE v3.0
   GOD MODE: Premium Dark · Consistent · No White Breaks
   ============================================================ */

/* ════════════════════════════════════════════════════════════
   CRITICAL: GLOBAL DARK FOUNDATION
   Forces every section/element to inherit the deep dark theme.
   Prevents the browser from showing white/light backgrounds.
   ════════════════════════════════════════════════════════════ */
html, body {
  background: var(--clr-bg-primary) !important;
  color: var(--clr-text-primary);
}

/* Every section gets the unified seamless transparent background */
section,
.section,
.section-sm,
footer,
.footer,
.trust-bar,
.payment-process-section,
.contact-section,
.testimonials-ribbon-section,
.scrolly-container {
  background: transparent !important;
  background-color: transparent !important;
  position: relative;
}

/* Offscreen section rendering optimization (huge FPS and load boost) */
#features,
#algo-showcase,
#pricing,
#testimonials,
#faq,
#contact,
footer {
  content-visibility: auto;
  contain-intrinsic-size: 700px;
}

/* Section background variants — all unified */
.section--darker  { background: transparent !important; }
.section--card    { background: transparent !important; }

/* Make trust bar match exactly */
.trust-bar { background: transparent !important; }

/* Payment process section */
.payment-process-section { background: transparent !important; }

/* Separators between sections */
section + section::before,
.section + .section::before {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,229,255,0.08), rgba(157,110,255,0.06), transparent);
  margin-bottom: 0;
}

/* ====================================================
   NAVBAR — GLASSMORPHIC FLOATING (120 FPS GPU ACCELERATED)
==================================================== */
.navbar {
  position: fixed;
  top: 14px; left: 0; right: 0;
  margin-inline: auto;
  width: calc(100% - 32px);
  max-width: 1240px;
  z-index: var(--z-nav);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  background: rgba(8, 12, 24, 0.88) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  transform: translate3d(0, 0, 0);
  will-change: transform, border-color, box-shadow;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.navbar::after {
  display: none;
}

.navbar.scrolled,
.navbar:hover {
  transform: translate3d(0, -2px, 0);
  background: rgba(6, 9, 20, 0.95) !important;
  border-color: rgba(0, 229, 255, 0.3) !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 229, 255, 0.12) !important;
}

.navbar.scrolled .nav-inner,
.navbar:hover .nav-inner { position: relative; z-index: 1; }

.nav-inner {
  height: 60px;
  gap: var(--space-8);
  position: relative;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity var(--t-fast);
}
.nav-logo:hover { opacity: 0.85; }

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 12px rgba(0,229,255,0.5));
  animation: logo-float 4s ease-in-out infinite;
  flex-shrink: 0;
}
.logo-svg {
  width: 32px;
  height: 32px;
  display: block;
}
@keyframes logo-float {
  0%, 100% { filter: drop-shadow(0 0 12px rgba(0,229,255,0.5)); transform: translateY(0); }
  50%       { filter: drop-shadow(0 0 18px rgba(0,229,255,0.85)); transform: translateY(-2px); }
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--fs-lg);
  letter-spacing: -0.03em;
  color: var(--clr-text-primary);
}
.logo-tag {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Nav Logo status badge */
.nav-logo-status {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 8px;
  font-weight: 800;
  color: var(--clr-emerald);
  background: rgba(0, 255, 163, 0.08);
  border: 1px solid rgba(0, 255, 163, 0.18);
  padding: 2px 6px;
  border-radius: var(--radius-full);
  letter-spacing: 0.08em;
  margin-left: 4px;
  box-shadow: 0 0 10px rgba(0, 255, 163, 0.05);
}
.nav-logo-status .status-pulse {
  width: 5px;
  height: 5px;
  background: var(--clr-emerald);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--clr-emerald);
  animation: logo-status-glow 1.8s infinite ease-in-out;
}
@keyframes logo-status-glow {
  0%, 100% { opacity: 0.6; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.1); }
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  list-style: none;
}
.nav-link {
  padding: 8px 16px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--clr-text-secondary);
  border-radius: var(--radius-full);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  position: relative;
  border: 1px solid transparent;
}
.nav-link::after {
  display: none;
}
.nav-link:hover,
.nav-link.active {
  color: var(--clr-cyan);
  background: rgba(0, 229, 255, 0.05);
  border-color: rgba(0, 229, 255, 0.1);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.02);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  cursor: pointer;
  border-radius: var(--radius-md);
  background: var(--clr-bg-glass);
  border: 1px solid var(--clr-border-soft);
  transition: all var(--t-fast);
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--clr-text-primary);
  border-radius: 2px;
  transition: all var(--t-base);
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.hamburger:hover { border-color: var(--clr-border-cyan); box-shadow: 0 0 16px rgba(0,229,255,0.1); }

@media (max-width: 1023px) {
  .hamburger { display: flex; }
  .hide-tablet { display: none !important; }
}

/* ---- MOBILE MENU ---- */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  z-index: calc(var(--z-nav) - 1);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-base);
}
.menu-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu {
  position: fixed;
  top: 0; right: 0;
  width: min(340px, 92vw);
  height: 100dvh;
  background: rgba(8, 12, 20, 0.97);
  backdrop-filter: blur(32px);
  border-left: 1px solid var(--clr-border-soft);
  z-index: var(--z-nav);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  transform: translateX(100%);
  transition: transform var(--t-slow);
  overflow-y: auto;
}
.mobile-menu::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 240px;
  background: radial-gradient(ellipse at top right, rgba(0,229,255,0.08) 0%, transparent 65%);
  pointer-events: none;
}
.mobile-menu.open { transform: translateX(0); }

.mobile-menu-header { flex-shrink: 0; }

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}
.mobile-nav-list a {
  display: block;
  padding: var(--space-3) var(--space-4);
  font-size: var(--fs-md);
  font-weight: 500;
  color: var(--clr-text-secondary);
  border-radius: var(--radius-md);
  transition: all var(--t-fast);
}
.mobile-nav-list a:hover {
  color: var(--clr-text-primary);
  background: var(--clr-bg-glass);
  padding-left: var(--space-6);
}

.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════
   QUANTUM TRADE PANEL (QTP) — NEXT-GEN MOBILE NAVIGATION
   v1.0 | Full-Screen Immersive Menu System
   ═══════════════════════════════════════════════════════════ */

/* ── QTP Trigger Button ── */
.qtp-trigger {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(8, 14, 28, 0.9);
  border: 1px solid rgba(0, 229, 255, 0.25);
  cursor: pointer;
  outline: none;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.qtp-trigger::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 120%, rgba(0,229,255,0.12) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.qtp-trigger:hover::before,
.qtp-trigger:focus-visible::before { opacity: 1; }
.qtp-trigger:hover {
  border-color: rgba(0, 229, 255, 0.5);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.2), 0 4px 16px rgba(0, 0, 0, 0.5);
}
.qtp-trigger:active { transform: scale(0.94); }

.qtp-icon-bars {
  width: 22px;
  height: 22px;
  color: #fff;
  display: block;
}

.qtp-bar {
  transform-origin: center;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Morphed state when panel is open */
.qtp-trigger.is-open .qtp-bar-1 {
  transform: translateY(6px) rotate(45deg);
  stroke: #00E5FF;
}
.qtp-trigger.is-open .qtp-bar-2 {
  opacity: 0;
  transform: scaleX(0);
}
.qtp-trigger.is-open .qtp-bar-3 {
  transform: translateY(-6px) rotate(-45deg);
  stroke: #00E5FF;
}
.qtp-trigger.is-open {
  border-color: rgba(0, 229, 255, 0.6);
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.25), 0 4px 16px rgba(0, 0, 0, 0.5);
}

/* ── QTP Mobile Avatar ── */
.qtp-mobile-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00E5FF 0%, #9D6EFF 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
  color: #030408;
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.35);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  flex-shrink: 0;
}
.qtp-mobile-avatar:hover {
  transform: scale(1.08);
  box-shadow: 0 0 22px rgba(0, 229, 255, 0.55);
}

/* ── QTP Backdrop Overlay ── */
.qtp-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 4, 10, 0.72);
  z-index: 9998;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s ease;
  will-change: opacity;
}
.qtp-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

/* ── QTP Main Panel (Instant & Ultra-Smooth Mobile Navigation) ── */
.qtp-panel {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: 100%;
  height: 100vh;
  height: 100dvh;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  background: #03060E;
  border-left: 1px solid rgba(0, 229, 255, 0.25);
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.85);
  overflow: hidden;
  transform: translate3d(100%, 0, 0);
  pointer-events: none;
  transition: transform 0.18s cubic-bezier(0.1, 0.9, 0.2, 1);
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.qtp-panel.is-open {
  transform: translate3d(0, 0, 0);
  pointer-events: all;
}

/* ── QTP Particle Canvas ── */
.qtp-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
}

/* ── QTP Ambient Orbs ── */
.qtp-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  filter: blur(60px);
}
.qtp-orb-1 {
  width: 320px;
  height: 320px;
  top: -60px;
  right: -80px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.14) 0%, transparent 70%);
  animation: qtp-orb-drift 8s ease-in-out infinite alternate;
}
.qtp-orb-2 {
  width: 280px;
  height: 280px;
  bottom: 80px;
  left: -60px;
  background: radial-gradient(circle, rgba(157, 110, 255, 0.12) 0%, transparent 70%);
  animation: qtp-orb-drift 11s ease-in-out infinite alternate-reverse;
}
.qtp-orb-3 {
  width: 200px;
  height: 200px;
  top: 40%;
  right: 10%;
  background: radial-gradient(circle, rgba(0, 255, 163, 0.07) 0%, transparent 70%);
  animation: qtp-orb-drift 14s ease-in-out infinite alternate;
}
@keyframes qtp-orb-drift {
  0%   { transform: translate(0px, 0px) scale(1); }
  50%  { transform: translate(-20px, 15px) scale(1.1); }
  100% { transform: translate(15px, -20px) scale(0.9); }
}

/* ── QTP Header ── */
.qtp-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.qtp-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.qtp-logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 229, 255, 0.25);
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.2);
}
.qtp-logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.qtp-logo-text {
  display: flex;
  flex-direction: column;
}
.qtp-logo-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: #EFF4FF;
  letter-spacing: -0.02em;
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
}

.qtp-close {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: none;
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.qtp-close svg {
  width: 20px;
  height: 20px;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease;
}
.qtp-close:hover {
  background: rgba(255, 61, 90, 0.15);
  border-color: rgba(255, 61, 90, 0.4);
}
.qtp-close:hover svg { color: #FF3D5A; }
.qtp-close:active { transform: scale(0.92); }

/* ── QTP Nav List ── */
.qtp-nav {
  position: relative;
  z-index: 10;
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 16px 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.qtp-nav::-webkit-scrollbar { display: none; }

.qtp-nav-list {
  list-style: none;
  margin: 0;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Item stagger animation — fast immediate reveal */
.qtp-nav-item {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.14s ease, transform 0.14s cubic-bezier(0.16, 1, 0.3, 1);
}
.qtp-panel.is-open .qtp-nav-item {
  opacity: 1;
  transform: translateY(0);
}
.qtp-panel.is-open .qtp-nav-item[data-index="0"] { transition-delay: 0.02s; }
.qtp-panel.is-open .qtp-nav-item[data-index="1"] { transition-delay: 0.04s; }
.qtp-panel.is-open .qtp-nav-item[data-index="2"] { transition-delay: 0.06s; }
.qtp-panel.is-open .qtp-nav-item[data-index="3"] { transition-delay: 0.08s; }
.qtp-panel.is-open .qtp-nav-item[data-index="4"] { transition-delay: 0.10s; }
.qtp-panel.is-open .qtp-nav-item[data-index="5"] { transition-delay: 0.12s; }

.qtp-nav-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 16px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.qtp-nav-link:hover,
.qtp-nav-link:focus-visible {
  background: rgba(0, 229, 255, 0.06);
  border-color: rgba(0, 229, 255, 0.2);
  transform: translateX(4px);
}
.qtp-nav-link:active {
  background: rgba(0, 229, 255, 0.1);
  transform: scale(0.98);
}

.qtp-nav-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s ease;
}
.qtp-nav-icon svg {
  width: 20px;
  height: 20px;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.25s ease;
}
.qtp-nav-link:hover .qtp-nav-icon {
  background: rgba(0, 229, 255, 0.1);
  border-color: rgba(0, 229, 255, 0.3);
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.2);
}
.qtp-nav-link:hover .qtp-nav-icon svg { color: #00E5FF; }

.qtp-nav-content {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}
.qtp-nav-label {
  font-size: 1.05rem;
  font-weight: 700;
  color: #EFF4FF;
  letter-spacing: -0.01em;
  transition: color 0.25s ease;
}
.qtp-nav-desc {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 400;
  line-height: 1.3;
}
.qtp-nav-link:hover .qtp-nav-label { color: #00E5FF; }
.qtp-nav-link:hover .qtp-nav-desc { color: rgba(255, 255, 255, 0.7); }

.qtp-nav-arrow {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.4;
  transform: translateX(-2px);
  transition: opacity 0.2s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.qtp-nav-arrow svg {
  width: 16px;
  height: 16px;
  color: rgba(255, 255, 255, 0.6);
}
.qtp-nav-link:hover .qtp-nav-arrow,
.qtp-nav-link:focus-visible .qtp-nav-arrow {
  opacity: 1;
  transform: translateX(2px);
}
.qtp-nav-link:hover .qtp-nav-arrow svg {
  color: #00E5FF;
}

/* ── QTP Footer ── */
.qtp-footer {
  position: relative;
  z-index: 10;
  flex-shrink: 0;
  padding: 16px 22px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
}

/* Animated entry */
.qtp-footer {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0s, transform 0s;
}
.qtp-panel.is-open .qtp-footer {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s ease 0.5s, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.5s;
}

/* User Card */
.qtp-user-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.qtp-user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00E5FF 0%, #9D6EFF 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 800;
  color: #030408;
  flex-shrink: 0;
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.25);
}
.qtp-user-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex: 1;
  min-width: 0;
}
.qtp-user-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #EFF4FF;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.qtp-user-role {
  font-size: 0.7rem;
  color: #00FFA3;
  font-weight: 600;
}
.qtp-logout-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 61, 90, 0.08);
  border: 1px solid rgba(255, 61, 90, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
  text-decoration: none;
  color: rgba(255, 61, 90, 0.7);
}
.qtp-logout-btn svg { width: 16px; height: 16px; }
.qtp-logout-btn:hover {
  background: rgba(255, 61, 90, 0.15);
  border-color: rgba(255, 61, 90, 0.4);
  color: #FF3D5A;
}

/* Guest Card (Logged-out state) */
.qtp-guest-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(0, 229, 255, 0.05);
  border: 1px solid rgba(0, 229, 255, 0.15);
}
.qtp-guest-avatar {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(0, 229, 255, 0.12);
  border: 1px solid rgba(0, 229, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00E5FF;
  flex-shrink: 0;
}
.qtp-guest-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.qtp-guest-name {
  font-size: 0.86rem;
  font-weight: 700;
  color: #EFF4FF;
  letter-spacing: -0.01em;
}
.qtp-guest-badge {
  font-size: 0.72rem;
  font-weight: 600;
  color: #00FFA3;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* CTA Buttons */
.qtp-cta-group {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 10px;
}

.qtp-cta-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  border-radius: 14px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #030408;
  text-decoration: none;
  background: linear-gradient(135deg, #00E5FF 0%, #5B8DFF 50%, #9D6EFF 100%);
  background-size: 200% 100%;
  background-position: left center;
  box-shadow: 0 4px 20px rgba(0, 229, 255, 0.35);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: -0.01em;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.qtp-cta-primary:hover {
  background-position: right center;
  box-shadow: 0 6px 28px rgba(0, 229, 255, 0.5);
  transform: translateY(-1px);
}
.qtp-cta-primary:active { transform: scale(0.97); }
.qtp-cta-arrow {
  transition: transform 0.3s ease;
}
.qtp-cta-primary:hover .qtp-cta-arrow { transform: translateX(3px); }

.qtp-cta-ghost {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 14px;
  font-size: 0.92rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}
.qtp-cta-ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

/* Trust footer line */
.qtp-footer-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.67rem;
  color: rgba(255, 255, 255, 0.25);
  font-weight: 500;
  margin: 0;
}

/* ── QTP Swipe Handle Hint (visual) ── */
.qtp-panel::after {
  content: '';
  position: absolute;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 8px);
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.12);
  pointer-events: none;
  z-index: 100;
}

/* ── Page content lock and scrollbar suppression when QTP is open ── */
html.qtp-is-open,
body.qtp-is-open {
  overflow: hidden !important;
  overscroll-behavior: none !important;
}
html.qtp-is-open {
  scrollbar-width: none !important;
}
html.qtp-is-open::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
}

body.qtp-is-open .qtp-panel,
body.qtp-is-open .qtp-overlay {
  pointer-events: all !important;
}

/* ── Only show QTP trigger on tablet/mobile ── */
@media (min-width: 1024px) {
  .qtp-trigger,
  .qtp-mobile-avatar,
  .qtp-panel,
  .qtp-overlay { display: none !important; }
}

/* ====================================================
   HERO SECTION — NEXT LEVEL
==================================================== */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: transparent;
  overflow: hidden;
  padding-top: 104px;
}

/* Canvas particles */
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.6;
}

/* Advanced grid overlay */
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, black 10%, transparent 80%);
  pointer-events: none;
}

/* Orb decorations */
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: orb-drift 12s ease-in-out infinite alternate;
}
.hero::before {
  width: 600px; height: 600px;
  top: -200px; right: -150px;
  background: radial-gradient(circle, rgba(157,110,255,0.12) 0%, transparent 70%);
}
.hero::after {
  width: 500px; height: 500px;
  bottom: -100px; left: -100px;
  background: radial-gradient(circle, rgba(0,255,163,0.08) 0%, transparent 70%);
  animation-delay: -6s;
}
@keyframes orb-drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(30px, -20px) scale(1.08); }
}

/* Ambient glow for the top-left corner */
.hero-glow-left {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  width: 500px;
  height: 500px;
  top: -200px;
  left: -150px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.08) 0%, transparent 70%);
  animation: orb-drift-left 12s ease-in-out infinite alternate;
  z-index: 0;
}

@keyframes orb-drift-left {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-30px, 20px) scale(1.06); }
}

/* Advanced top corner metadata & brackets */
.hero-corner-decor {
  position: absolute;
  top: 24px;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 1; /* Render behind fixed floating navbar if overlap occurs */
}

.corner-decor-left,
.corner-decor-right {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.corner-line-svg {
  display: block;
  opacity: 0.8;
}

.corner-metadata {
  font-size: 8.5px;
  color: rgba(138, 153, 173, 0.5);
  letter-spacing: 0.15em;
  line-height: 1.7;
  margin-top: 6px;
}

.corner-metadata .pulse-text {
  color: #00FFA3;
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 700;
}

.corner-metadata .decor-dot {
  width: 4px;
  height: 4px;
  background-color: #00FFA3;
  border-radius: 50%;
  box-shadow: 0 0 8px #00FFA3;
  display: inline-block;
  animation: logo-status-glow 1.5s infinite ease-in-out;
}

@media (max-width: 1530px) {
  .hero-corner-decor {
    display: none !important;
  }
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-16);
  flex: 1;
  padding-top: var(--space-10);
  padding-bottom: var(--space-16);
  position: relative;
  z-index: 1;
}

/* ── Ticker Tape ── */
.ticker-wrap {
  grid-column: 1 / -1;
  overflow: hidden;
  border: 1px solid var(--clr-border-soft);
  border-radius: var(--radius-full);
  background: rgba(12, 18, 32, 0.7);
  backdrop-filter: blur(16px);
  padding: var(--space-2) 0;
  box-shadow: 0 0 0 1px rgba(0,229,255,0.06) inset;
}
.ticker-track {
  display: flex;
  gap: var(--space-10);
  animation: ticker 40s linear infinite;
  width: max-content;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  white-space: nowrap;
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: 0 var(--space-4);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}
.ticker-item > span:first-child {
  color: var(--clr-text-muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
@keyframes ticker {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

/* ── Hero Content ── */
.hero-content {
  display: flex;
  flex-direction: column;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 16px 6px 8px;
  background: rgba(12, 18, 32, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  width: fit-content;
  margin-bottom: var(--space-5);
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.avatar-group {
  display: flex;
  align-items: center;
}
.avatar-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  font-weight: 800;
  color: var(--clr-text-primary);
  border: 2px solid #05070D;
  margin-left: -10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  font-family: var(--font-heading);
}
.avatar-circle:first-child {
  margin-left: 0;
}
.avatar-1 { background: linear-gradient(135deg, #00E5FF, #9D6EFF); }
.avatar-2 { background: linear-gradient(135deg, #00FFA3, #00E5FF); }
.avatar-3 { background: linear-gradient(135deg, #FFD700, #FFA500); }
.avatar-plus { 
  background: rgba(255, 255, 255, 0.1); 
  border-color: rgba(255, 255, 255, 0.15); 
  color: var(--clr-cyan);
}

.trust-badge-text {
  font-size: clamp(0.75rem, 1.8vw, 0.85rem);
  font-weight: 600;
  color: var(--clr-text-secondary);
  letter-spacing: 0.01em;
  padding-left: 4px;
}
.trust-badge-text strong {
  color: var(--clr-cyan);
  font-weight: 800;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5.2vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-4);
}

.hero-subtext {
  font-size: clamp(0.95rem, 2.2vw, 1.08rem);
  color: var(--clr-text-secondary);
  margin-bottom: var(--space-6);
  max-width: 520px;
  line-height: 1.65;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-10);
}

/* ── Premium CTA Animations ── */
.btn-premium-cta {
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.25), 0 0 40px rgba(157, 110, 255, 0.15);
  border: 1px solid rgba(0, 229, 255, 0.4) !important;
  animation: cta-pulse 3s infinite ease-in-out;
  transition: all var(--t-base) !important;
}

.btn-premium-cta::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-25deg);
  animation: cta-shimmer 6s infinite ease-in-out;
}

@keyframes cta-pulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.25), 0 0 40px rgba(157, 110, 255, 0.15);
    border-color: rgba(0, 229, 255, 0.4) !important;
  }
  50% {
    box-shadow: 0 0 35px rgba(0, 229, 255, 0.45), 0 0 60px rgba(157, 110, 255, 0.3);
    border-color: rgba(0, 229, 255, 0.7) !important;
  }
}

@keyframes cta-shimmer {
  0% { left: -100%; }
  30% { left: 150%; }
  100% { left: 150%; }
}

/* Stats row */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(12, 18, 32, 0.7);
  border: 1px solid var(--clr-border-soft);
  border-radius: var(--radius-xl);
  width: fit-content;
  overflow: hidden;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card);
}
.hero-stat {
  text-align: center;
  padding: var(--space-4) var(--space-6);
}
.hero-stat:not(:last-child) {
  border-right: 1px solid var(--clr-border-soft);
}
.hero-stat .stat-value {
  font-size: var(--fs-2xl);
  font-weight: 800;
  font-family: var(--font-heading);
  line-height: 1;
}
.hero-stat .stat-label {
  font-size: 10px;
  color: var(--clr-text-muted);
  margin-top: 3px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.hero-stat-divider { display: none; }

/* ── Hero Chart Card ── */
/* ── Hero Mockup Terminal Grid ── */
.hero-mockup-wrap {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin-left: auto;
  z-index: 1;
  font-family: var(--font-body) !important;
}
.hero-mockup-wrap h4 {
  font-family: var(--font-body) !important;
  letter-spacing: -0.01em;
}

/* Decorative background circle */
.hero-mockup-wrap::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.mockup-main-card {
  width: 100%;
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(12, 18, 32, 0.6);
  backdrop-filter: blur(24px) saturate(180%);
  border-radius: 20px;
  padding: var(--space-5);
  box-shadow: var(--shadow-card), 0 24px 60px rgba(0, 0, 0, 0.5);
  transform-style: preserve-3d;
  transform: translateZ(0);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease, filter 0.6s ease;
}
.mockup-main-card:hover {
  transform: translateZ(0);
}

.mockup-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: var(--space-3);
  margin-bottom: var(--space-4);
}
.mockup-header-title {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--clr-text-secondary);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.mockup-dot {
  width: 6px;
  height: 6px;
  background: var(--clr-emerald);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--clr-emerald);
  animation: logo-status-glow 1.5s infinite ease-in-out;
}
.mockup-window-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.mockup-window-dot.red    { background: #FF5F56; }
.mockup-window-dot.yellow { background: #FFBD2E; }
.mockup-window-dot.green  { background: #27C93F; }

.mockup-chart-info {
  margin-bottom: var(--space-2);
}
.mockup-chart-svg {
  width: 100%;
  height: 140px;
  overflow: visible;
}

.mockup-footer {
  margin-top: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: var(--space-3);
}
.mockup-badge-pulse {
  font-size: 9px;
  font-family: var(--font-mono);
  color: var(--clr-cyan);
  display: flex;
  align-items: center;
  gap: 4px;
}
.mockup-badge-pulse .badge-dot {
  width: 5px;
  height: 5px;
  background: var(--clr-cyan);
  border-radius: 50%;
  animation: logo-status-glow 2s infinite ease-in-out;
}

/* Coordinated 3D Scene Wrapper */
.hero-mockup-wrap {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin-left: auto;
  z-index: 2;
  width: 100%;
  max-width: 640px;
}


/* Inner 3D Container for rotating elements in unison */
.mockup-3d-inner {
  position: relative;
  width: 100%;
  transform-style: preserve-3d;
  transform: rotateY(-8deg) rotateX(4deg);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Rotate scene to flat and scale slightly on overall hover */
.hero-mockup-wrap:hover .mockup-3d-inner {
  transform: rotateY(0deg) rotateX(0deg) scale(1.03);
}

/* Floating Card Wrappers - Controls 3D coordinates, shifts, and focus states */
.mockup-floating-card-wrapper {
  position: absolute;
  z-index: 10;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease, filter 0.6s ease;
}

/* Floating Cards Custom Positions & Base Z-Planes (Default tilt states) */
.card-winrate-wrapper {
  top: -20px;
  right: -30px;
  transform: translate3d(0, 0, 30px);
}
.card-pnl-wrapper {
  bottom: -20px;
  left: -40px;
  transform: translate3d(0, 0, 35px);
}
.card-signal-wrapper {
  bottom: 20px;
  right: -25px;
  transform: translate3d(0, 0, 30px);
}

/* Parallax expansion shift when the mockup terminal is hovered (spreads them out) */
.hero-mockup-wrap:hover .card-winrate-wrapper {
  transform: translate3d(30px, -20px, 60px);
}
.hero-mockup-wrap:hover .card-pnl-wrapper {
  transform: translate3d(-35px, 20px, 70px);
}
.hero-mockup-wrap:hover .card-signal-wrapper {
  transform: translate3d(10px, 15px, 65px);
}

/* Hovering a specific wrapper pulls it further forward and scales it */
.mockup-floating-card-wrapper:hover {
  z-index: 50;
}
.hero-mockup-wrap:hover .card-winrate-wrapper:hover {
  transform: translate3d(40px, -30px, 110px) scale(1.08);
}
.hero-mockup-wrap:hover .card-pnl-wrapper:hover {
  transform: translate3d(-45px, 30px, 120px) scale(1.08);
}
.hero-mockup-wrap:hover .card-signal-wrapper:hover {
  transform: translate3d(15px, 20px, 115px) scale(1.08);
}

/* Coordinated Focus States: Dim/Blur other elements when a floating card is focused */
.mockup-3d-inner:has(.mockup-floating-card-wrapper:hover) .mockup-floating-card-wrapper:not(:hover) {
  opacity: 0.45;
  filter: blur(1.5px) saturate(0.6);
}
.mockup-3d-inner:has(.mockup-floating-card-wrapper:hover) .mockup-main-card {
  opacity: 0.8;
  filter: saturate(0.7) blur(0.5px);
}

/* Card Body Layout and Interactive Styling */
.mockup-floating-card {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: 14px 20px;
  border-radius: 18px;
  background: rgba(10, 16, 28, 0.88);
  backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
}

/* Individual card interactive glows */
.card-winrate:hover {
  border-color: rgba(0, 229, 255, 0.4);
  box-shadow: 0 15px 40px rgba(0, 229, 255, 0.15), 0 0 20px rgba(0, 229, 255, 0.05) inset;
  background: rgba(12, 20, 36, 0.95);
}
.card-pnl:hover {
  border-color: rgba(0, 255, 163, 0.4);
  box-shadow: 0 15px 40px rgba(0, 255, 163, 0.15), 0 0 20px rgba(0, 255, 163, 0.05) inset;
  background: rgba(12, 20, 36, 0.95);
}
.card-signal:hover {
  border-color: rgba(0, 229, 255, 0.35);
  box-shadow: 0 15px 40px rgba(0, 229, 255, 0.15), 0 0 20px rgba(0, 229, 255, 0.05) inset;
  background: rgba(12, 20, 36, 0.95);
}

/* Float Animations applied inside wrappers to not collide with translate3d positioning */
.card-winrate {
  animation: float-winrate 6s ease-in-out infinite alternate;
}
@keyframes float-winrate {
  from { transform: translateY(0); }
  to   { transform: translateY(-8px); }
}

.card-pnl {
  animation: float-pnl 7s ease-in-out infinite alternate-reverse;
}
@keyframes float-pnl {
  from { transform: translateY(0); }
  to   { transform: translateY(10px); }
}

.card-signal {
  flex-direction: column;
  align-items: stretch;
  width: 230px;
  padding: 16px;
  animation: float-signal 5s ease-in-out infinite alternate;
}
@keyframes float-signal {
  from { transform: translateY(0); }
  to   { transform: translateY(-6px); }
}

/* ---- Advanced P&L Components ---- */
.pnl-left {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.pnl-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: rgba(0, 255, 163, 0.08);
  border: 1px solid rgba(0, 255, 163, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pnl-arrow {
  color: var(--clr-emerald);
  font-size: 10px;
  transition: transform 0.4s ease;
}
.card-pnl:hover .pnl-arrow {
  transform: scale(1.25) translateY(-2px);
}
.pnl-sparkline-container {
  margin-left: auto;
  opacity: 0.85;
  transition: transform 0.4s ease, opacity 0.4s ease;
}
.card-pnl:hover .pnl-sparkline-container {
  transform: scale(1.05);
  opacity: 1;
}
.pnl-sparkline path {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: draw-line 2.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes draw-line {
  to { stroke-dashoffset: 0; }
}
.pulse-point {
  animation: pulse-dot-active 1.5s infinite ease-in-out;
}
@keyframes pulse-dot-active {
  0%, 100% { r: 2; opacity: 0.6; }
  50% { r: 3.5; opacity: 1; filter: drop-shadow(0 0 4px #00FFA3); }
}

/* ---- Option Signal Progress Bar ---- */
.signal-progress-bar-wrap {
  margin-top: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.signal-progress-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.signal-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--clr-red) 0%, var(--clr-emerald) 100%);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(0, 255, 163, 0.4);
  transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}
/* Trigger fill animation on hover of signal card */
.card-signal:hover .signal-progress-fill {
  width: 65%; /* represent mid-target range */
}
.signal-progress-labels {
  font-size: 8px;
  font-family: var(--font-mono);
  color: var(--clr-text-secondary);
}
.sl-label {
  color: var(--clr-red);
}
.tgt-label {
  color: var(--clr-emerald);
}
.card-signal .badge-red {
  transition: all 0.3s ease;
}
.card-signal:hover .badge-red {
  background: rgba(255, 61, 90, 0.2);
  box-shadow: 0 0 10px rgba(255, 61, 90, 0.3);
}

/* Light Theme Support for 3D Mockup */
[data-theme="light"] .mockup-main-card {
}
[data-theme="light"] .mockup-floating-card {
}
[data-theme="light"] .card-winrate:hover {
}
[data-theme="light"] .card-pnl:hover {
}
[data-theme="light"] .card-signal:hover {
}
[data-theme="light"] .mockup-header-title {
}
[data-theme="light"] .mockup-header {
}
[data-theme="light"] .mockup-footer {
}

/* Scroll indicator */
.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  padding-bottom: var(--space-8);
  color: var(--clr-text-muted);
  font-size: var(--fs-xs);
  animation: float 2.5s ease-in-out infinite;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  position: relative;
  z-index: 1;
}
.scroll-dot {
  width: 22px;
  height: 36px;
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-full);
  position: relative;
}
.scroll-dot::after {
  content: '';
  position: absolute;
  top: 5px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 8px;
  background: var(--grad-brand);
  border-radius: var(--radius-full);
  animation: scroll-dot 2s ease infinite;
}
@keyframes scroll-dot {
  0%   { top: 5px; opacity: 1; }
  100% { top: 18px; opacity: 0; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

/* ====================================================
   TRUST BAR (between hero & features)
==================================================== */
.trust-bar {
  background: var(--clr-bg-secondary);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
  position: relative;
  overflow: hidden;
}
.trust-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(0,229,255,0.03), transparent);
  animation: scan 3s linear infinite;
}
@keyframes scan {
  from { transform: translateX(-100%); }
  to   { transform: translateX(100%); }
}
.trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}
.trust-logo {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  transition: all var(--t-base);
}
.trust-logo:hover {
  color: var(--clr-text-secondary);
  border-color: var(--clr-border-soft);
}

/* ====================================================
   SECTION SEPARATORS (Glowing Lines)
==================================================== */
.section-sep {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(0,229,255,0.15) 30%, rgba(157,110,255,0.15) 70%, transparent 100%);
  margin: 0;
}

/* ====================================================
   FEATURES SECTION
==================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.feature-card {
  padding: var(--space-8);
  background: linear-gradient(145deg, rgba(18,26,46,0.55) 0%, rgba(8,12,20,0.8) 100%);
  border: 1px solid var(--clr-border-soft);
  border-radius: var(--radius-xl);
  transition: all var(--t-base);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.feature-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-brand);
  opacity: 0;
  transition: opacity var(--t-base);
}
.feature-card:hover {
  background: linear-gradient(145deg, rgba(22,32,55,0.7) 0%, rgba(10,14,24,0.9) 100%);
  border-color: var(--clr-border-cyan);
  box-shadow: var(--shadow-card), var(--shadow-cyan);
  transform: translateY(-5px);
}
.feature-card:hover::after { opacity: 1; }

.feature-icon-wrapper {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: flex-start;
  background: transparent;
  border: none;
}
.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: rgba(0,229,255,0.06);
  border: 1px solid rgba(0,229,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-cyan);
  transition: all var(--t-base);
  flex-shrink: 0;
}
.feature-card:hover .feature-icon {
  background: rgba(0,229,255,0.12);
  box-shadow: 0 0 24px rgba(0,229,255,0.2);
  transform: scale(1.05);
}
.feature-card h3 {
  font-size: var(--fs-lg);
  font-weight: 700;
}
.feature-card p {
  font-size: var(--fs-sm);
  color: var(--clr-text-secondary);
  line-height: 1.75;
  flex: 1;
}
.feature-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--clr-cyan);
  width: fit-content;
  background: transparent;
  border: none;
  margin-top: auto;
}
.feature-stat {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  margin-top: auto;
  padding-top: var(--space-4);
  border-top: 1px solid var(--clr-border);
}

/* ====================================================
   PRICING SECTION
==================================================== */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
}
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--clr-bg-glass);
  border: 1px solid var(--clr-border-soft);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--t-base);
}
.toggle-slider::before {
  content: '';
  position: absolute;
  width: 20px; height: 20px;
  left: 3px; top: 3px;
  background: var(--clr-text-muted);
  border-radius: 50%;
  transition: all var(--t-base);
}
.toggle-switch input:checked + .toggle-slider {
  background: rgba(0,229,255,0.15);
  border-color: var(--clr-cyan);
}
.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(24px);
  background: var(--clr-cyan);
  box-shadow: 0 0 10px rgba(0,229,255,0.5);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
  align-items: stretch;
  justify-content: center;
}

.pricing-card {
  background: linear-gradient(165deg, rgba(18,26,46,0.75) 0%, rgba(8,12,20,0.95) 100%);
  border: 1px solid var(--clr-border-soft);
  border-radius: var(--radius-xl);
  padding: var(--space-6) var(--space-6) var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  position: relative;
  transition: all var(--t-base);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

/* Subtle background glow per card */
.pricing-card::before {
  content: '';
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 200px; height: 120px;
  border-radius: 50%;
  background: rgba(0, 229, 255, 0.04);
  filter: blur(30px);
  pointer-events: none;
}

.pricing-card:hover {
  border-color: var(--clr-border-cyan);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.6), var(--shadow-cyan);
}

.pricing-card--popular {
  border-color: var(--clr-cyan);
  box-shadow: 0 10px 30px rgba(0,229,255,0.08), inset 0 0 60px rgba(0,229,255,0.03);
  background: linear-gradient(165deg, rgba(0,60,80,0.2) 0%, rgba(8,12,20,0.98) 100%);
}
.pricing-card--popular::before {
  background: rgba(0,229,255,0.08);
}
.pricing-card--popular:hover {
  border-color: var(--clr-cyan);
  box-shadow: 0 20px 50px rgba(0,229,255,0.2), var(--shadow-cyan);
}

.pricing-card--elite {
  border-color: rgba(255,215,0,0.3);
  background: linear-gradient(165deg, rgba(50,35,0,0.2) 0%, rgba(8,12,20,0.98) 100%);
}
.pricing-card--elite::before { background: rgba(255,215,0,0.06); }
.pricing-card--elite:hover {
  border-color: var(--clr-gold);
  box-shadow: 0 20px 50px rgba(255,215,0,0.18), var(--shadow-gold);
}

.pricing-card--indicator {
  border-color: rgba(157, 110, 255, 0.3);
  background: linear-gradient(165deg, rgba(80,0,100,0.15) 0%, rgba(8,12,20,0.98) 100%);
}
.pricing-card--indicator::before { background: rgba(157, 110, 255, 0.08); }
.pricing-card--indicator:hover {
  border-color: #9D6EFF;
  box-shadow: 0 20px 50px rgba(157,110,255,0.18), 0 0 30px rgba(157, 110, 255, 0.15);
}

.popular-badge {
  position: absolute;
  top: 12px;
  right: 16px;
  background: linear-gradient(135deg, #00E5FF 0%, #7B5FFF 100%);
  color: #05070D;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0,229,255,0.3);
  letter-spacing: 0.04em;
}

.elite-badge {
  position: absolute;
  top: 12px;
  right: 16px;
  background: var(--grad-gold);
  color: #05070D;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(255,215,0,0.3);
  letter-spacing: 0.04em;
}

.pricing-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-4);
}
.pricing-tier-name {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.price-currency { font-size: var(--fs-xl); font-weight: 700; }
.price-amount {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1;
}
.price-strikethrough {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  text-decoration: line-through;
  font-weight: 500;
  margin-bottom: -4px;
}
.price-period { font-size: var(--fs-sm); color: var(--clr-text-secondary); }
.pricing-desc { font-size: var(--fs-sm); color: var(--clr-text-secondary); line-height: 1.6; }

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex: 1;
  margin: var(--space-4) 0;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--fs-sm);
}
.feat-included { color: var(--clr-text-primary); }
.feat-included svg { color: var(--clr-emerald); flex-shrink: 0; }
.feat-excluded { color: var(--clr-text-muted); }
.feat-excluded svg { color: var(--clr-text-muted); flex-shrink: 0; }

/* ── Interactive Pricing Tabs ── */
.pricing-tabs-wrapper {
  display: flex;
  justify-content: center;
  margin: var(--space-6) 0 var(--space-8);
  width: 100%;
}
.pricing-tabs-container {
  background: rgba(10, 16, 30, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px;
  border-radius: 100px;
  display: flex;
  gap: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  max-width: 100%;
}
.pricing-tab-btn {
  padding: 10px 22px;
  border-radius: 100px;
  font-size: 0.84rem;
  font-weight: 700;
  color: rgba(220, 230, 245, 0.75);
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
}
.pricing-tab-btn .tab-btn-title {
  font-weight: 800;
  letter-spacing: 0.2px;
}
.pricing-tab-btn:hover {
  color: #EFF4FF;
  background: rgba(255, 255, 255, 0.04);
}
.pricing-tab-btn:active {
  transform: scale(0.97);
}
.pricing-tab-btn.active {
  color: #EFF4FF;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
.pricing-tab-btn.active[data-group="indicator"] {
  background: linear-gradient(135deg, #9D6EFF 0%, #7B5FFF 100%);
  color: #FFFFFF;
  border-color: rgba(157, 110, 255, 0.5);
  box-shadow: 0 6px 24px rgba(157, 110, 255, 0.45), 0 0 12px rgba(157, 110, 255, 0.3);
}
.pricing-tab-btn.active[data-group="indicator"] .tab-badge.purple {
  background: rgba(0, 0, 0, 0.3);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.3);
}
.pricing-tab-btn.active[data-group="vip"] {
  background: var(--grad-gold);
  color: #05070D;
  border-color: rgba(255, 215, 0, 0.5);
  box-shadow: var(--shadow-gold);
}
.pricing-tab-btn.active[data-group="vip"] .tab-badge.gold {
  background: rgba(0, 0, 0, 0.25);
  color: #FFD700;
  border-color: rgba(0, 0, 0, 0.3);
}
.pricing-tab-btn.active[data-group="trial"] {
  background: var(--grad-brand);
  color: #05070D;
  border-color: rgba(0, 229, 255, 0.5);
  box-shadow: var(--shadow-cyan);
}
.pricing-tab-btn.active[data-group="trial"] .tab-badge.cyan {
  background: rgba(0, 0, 0, 0.25);
  color: #00E5FF;
  border-color: rgba(0, 0, 0, 0.3);
}
.pricing-tab-btn.active[data-group="algo_bot"] {
  background: linear-gradient(135deg, #FF6B00 0%, #FF3D5A 100%);
  color: #FFFFFF;
  border-color: rgba(255, 107, 0, 0.5);
  box-shadow: 0 6px 24px rgba(255, 107, 0, 0.4);
}
.pricing-tab-btn.active[data-group="algo_bot"] .tab-badge.orange {
  background: rgba(0, 0, 0, 0.3);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.3);
}
.tab-badge {
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 100px;
  letter-spacing: 0.04em;
  line-height: 1;
}
.tab-badge.gold {
  background: rgba(255, 215, 0, 0.12);
  color: #FFD700;
  border: 1px solid rgba(255, 215, 0, 0.25);
}
.tab-badge.cyan {
  background: rgba(0, 229, 255, 0.12);
  color: #00E5FF;
  border: 1px solid rgba(0, 229, 255, 0.25);
}
.tab-badge.purple {
  background: rgba(157, 110, 255, 0.15);
  color: #B388FF;
  border: 1px solid rgba(157, 110, 255, 0.35);
}
.tab-badge.orange {
  background: rgba(255, 107, 0, 0.15);
  color: #FF6B00;
  border: 1px solid rgba(255, 107, 0, 0.3);
}

@keyframes pricing-card-appear {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ── Save / Discount Tags ── */
.save-tag {
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  background: rgba(0, 255, 163, 0.1);
  color: #00FFA3;
  border: 1px solid rgba(0, 255, 163, 0.2);
  border-radius: 4px;
}
.save-tag.gold {
  background: rgba(255, 215, 0, 0.1);
  color: #FFD700;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

/* ── Glowing Buttons ── */
.btn-glowing-cyan {
  box-shadow: var(--shadow-cyan);
}
.btn-glowing-cyan:hover {
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.4);
}
.btn-glowing-gold {
  box-shadow: var(--shadow-gold);
}
.btn-glowing-gold:hover {
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.4);
}

/* ── Comparison Drawer ── */
.compare-drawer {
  max-height: 1000px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 1;
  margin-top: var(--space-8);
}
.compare-drawer.collapsed {
  max-height: 0;
  opacity: 0;
  pointer-events: none;
}
.compare-table-wrap {
  background: linear-gradient(145deg, rgba(15,20,35,0.7) 0%, rgba(8,10,18,0.9) 100%);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-xl);
  overflow-x: auto;
  box-shadow: var(--shadow-lg);
  padding: var(--space-2);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: var(--fs-sm);
  min-width: 600px;
}
.compare-table th, .compare-table td {
  padding: var(--space-4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}
.compare-table th {
  font-family: var(--font-heading);
  font-weight: 700;
  color: #EFF4FF;
  border-bottom: 2px solid rgba(255, 255, 255, 0.08);
}
.compare-table tr:hover td {
  background: rgba(255, 255, 255, 0.01);
}
.compare-table td:first-child {
  font-weight: 600;
  color: #EFF4FF;
}
.compare-table td:not(:first-child) {
  text-align: center;
  color: var(--clr-text-secondary);
}
.compare-table th:not(:first-child) {
  text-align: center;
}

.guarantee-bar {
  padding: var(--space-6);
  background: rgba(0,229,255,0.04);
  border: 1px solid var(--clr-border-cyan);
  border-radius: var(--radius-lg);
  flex-wrap: wrap;
  gap: var(--space-4);
}

/* ====================================================
   PAYMENT PROCESS
==================================================== */
.payment-process-section {
  background: var(--clr-bg-secondary);
  position: relative;
  overflow: hidden;
}
.payment-process-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,229,255,0.2), rgba(157,110,255,0.2), transparent);
}

.payment-steps {
  display: flex;
  align-items: stretch;
  gap: var(--space-4);
  margin-bottom: var(--space-12);
  overflow-x: auto;
  padding: var(--space-4) 0;
  scrollbar-width: none;
}
.payment-steps::-webkit-scrollbar { display: none; }

.payment-step {
  flex: 1;
  min-width: 200px;
  background: linear-gradient(135deg, rgba(18,26,46,0.5) 0%, rgba(5,7,13,0.85) 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 2.25rem 1.5rem 1.5rem;
  text-align: center;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.payment-step::before {
  content: '';
  position: absolute;
  top: -80px; left: 50%;
  transform: translateX(-50%);
  width: 140px; height: 80px;
  border-radius: 50%;
  background: rgba(0, 229, 255, 0.0);
  filter: blur(25px);
  transition: background 0.35s ease;
  pointer-events: none;
}
.payment-step:nth-child(1):hover::before { background: rgba(0, 229, 255, 0.08); }
.payment-step:nth-child(3):hover::before { background: rgba(157, 110, 255, 0.08); }
.payment-step:nth-child(5):hover::before { background: rgba(0, 255, 163, 0.08); }
.payment-step:nth-child(7):hover::before { background: rgba(255, 215, 0, 0.08); }

.payment-step:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
}
.payment-step:nth-child(1):hover { border-color: rgba(0, 229, 255, 0.35); box-shadow: 0 20px 45px rgba(0, 229, 255, 0.08), 0 0 15px rgba(0, 229, 255, 0.05); }
.payment-step:nth-child(3):hover { border-color: rgba(157, 110, 255, 0.35); box-shadow: 0 20px 45px rgba(157, 110, 255, 0.08), 0 0 15px rgba(157, 110, 255, 0.05); }
.payment-step:nth-child(5):hover { border-color: rgba(0, 255, 163, 0.35); box-shadow: 0 20px 45px rgba(0, 255, 163, 0.08), 0 0 15px rgba(0, 255, 163, 0.05); }
.payment-step:nth-child(7):hover { border-color: rgba(255, 215, 0, 0.35); box-shadow: 0 20px 45px rgba(255, 215, 0, 0.08), 0 0 15px rgba(255, 215, 0, 0.05); }

.step-num {
  position: absolute;
  top: 14px; left: 14px;
  font-size: 0.65rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  transition: all 0.35s ease;
}
.payment-step:hover .step-num {
  color: #EFF4FF;
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
}

.step-icon {
  font-size: 2.2rem;
  margin-bottom: var(--space-4);
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.step-svg {
  transition: filter 0.35s ease;
}
.payment-step:hover .step-icon {
  transform: scale(1.12) translateY(-2px);
}
.payment-step:nth-child(1):hover .step-svg { filter: drop-shadow(0 0 12px rgba(0, 229, 255, 0.6)); }
.payment-step:nth-child(3):hover .step-svg { filter: drop-shadow(0 0 12px rgba(157, 110, 255, 0.6)); }
.payment-step:nth-child(5):hover .step-svg { filter: drop-shadow(0 0 12px rgba(0, 255, 163, 0.6)); }
.payment-step:nth-child(7):hover .step-svg { filter: drop-shadow(0 0 12px rgba(255, 215, 0, 0.6)); }

.payment-step h3 {
  font-size: var(--fs-md);
  margin-bottom: 0.5rem;
  font-weight: 700;
  color: #EFF4FF;
}
.payment-step p {
  font-size: 0.8rem;
  color: var(--clr-text-secondary);
  line-height: 1.6;
}

.step-connector {
  font-size: 1.5rem;
  color: var(--clr-text-muted);
  flex-shrink: 0;
  align-self: center;
  user-select: none;
  animation: step-arrow-pulse 2.5s infinite ease-in-out;
}
@keyframes step-arrow-pulse {
  0%, 100% { transform: translateX(0); opacity: 0.2; color: var(--clr-text-muted); }
  50% { transform: translateX(6px); opacity: 0.7; color: var(--clr-cyan); text-shadow: 0 0 8px rgba(0, 229, 255, 0.4); }
}

.payment-methods { text-align: center; }
.pay-icons {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-6);
}
.pay-icon-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-6);
  background: var(--clr-bg-glass);
  border: 1px solid var(--clr-border-soft);
  border-radius: var(--radius-lg);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--clr-text-secondary);
  transition: all var(--t-base);
  min-width: 85px;
  backdrop-filter: blur(10px);
}
.pay-icon-card:hover {
  border-color: var(--clr-border-cyan);
  color: var(--clr-text-primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.trust-security-row { flex-wrap: wrap; }

/* ====================================================
   PERFORMANCE SECTION
==================================================== */
.performance-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}
.perf-card { display: block; }
.perf-card-header { margin-bottom: var(--space-5); }
.perf-numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  background: rgba(5,7,13,0.8);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  border: 1px solid var(--clr-border);
}
.perf-numbers > div {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  font-size: var(--fs-sm);
  font-weight: 600;
}
.overall-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.testimonials-ribbon-section {
  padding: var(--space-10) 0 var(--space-14);
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  position: relative;
  z-index: 2;
}

/* ── Section header row ── */
.testi-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
  flex-wrap: wrap;
}
.testi-header-row .section-label { margin-bottom: var(--space-2); }
.testi-header-row .section-title { margin: 0; }

/* ── Write Review CTA Button ── */
.btn-write-review {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 100px;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 1px solid rgba(0, 229, 255, 0.35);
  background: rgba(0, 229, 255, 0.06);
  color: var(--clr-cyan);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.btn-write-review::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0,229,255,0.15) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.btn-write-review:hover {
  border-color: rgba(0,229,255,0.7);
  background: rgba(0, 229, 255, 0.12);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 32px rgba(0,229,255,0.2), 0 0 0 1px rgba(0,229,255,0.15);
}
.btn-write-review:hover::before { opacity: 1; }
.btn-write-review:active { transform: translateY(0) scale(0.98); }
.btn-write-review svg { flex-shrink: 0; }

/* ════════════════════════════════════════════════
   REVIEW SUBMISSION MODAL
════════════════════════════════════════════════ */
.review-modal-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(3, 5, 12, 0.96);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(16px, env(safe-area-inset-top, 16px)) 16px max(16px, env(safe-area-inset-bottom, 16px)) 16px;
  opacity: 0;
  pointer-events: none;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
  transition: opacity 0.35s ease;
}
.review-modal-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}
.review-modal {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  background: linear-gradient(145deg, rgba(14,22,42,0.99) 0%, rgba(6,10,20,0.99) 100%);
  border: 1px solid rgba(0,229,255,0.18);
  border-radius: 24px;
  padding: var(--space-8);
  box-shadow:
    0 40px 100px rgba(0,0,0,0.8),
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 0 60px rgba(0,229,255,0.04);
  transform: translateY(28px) scale(0.96);
  transition: transform 0.45s cubic-bezier(0.34, 1.4, 0.64, 1), opacity 0.35s ease;
  opacity: 0;
  margin: auto;
}
.review-modal-overlay.is-open .review-modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.review-modal-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--clr-text-secondary);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 16px;
  line-height: 1;
  z-index: 15;
}
.review-modal-close:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
  transform: rotate(90deg);
}

/* Header */
.review-modal-header { margin-bottom: var(--space-6); }
.review-modal-header .modal-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-cyan);
  margin-bottom: var(--space-2);
  display: flex;
  align-items: center;
  gap: 8px;
}
.review-modal-header .modal-eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px; height: 2px;
  background: var(--clr-cyan);
  border-radius: 2px;
}
.review-modal-header h3 {
  font-size: clamp(1.3rem, 3vw, 1.6rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 var(--space-1);
  line-height: 1.2;
}
.review-modal-header p {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  margin: 0;
}

/* Star rating picker */
.review-star-row { margin-bottom: var(--space-5); }
.review-star-row label {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--clr-text-secondary);
  margin-bottom: var(--space-2);
}
.star-picker {
  display: flex;
  gap: 6px;
  flex-direction: row-reverse;
  justify-content: flex-end;
}
.star-picker input[type="radio"] { display: none; }
.star-picker label {
  font-size: 28px;
  color: rgba(255,255,255,0.15);
  cursor: pointer;
  transition: color 0.15s ease, transform 0.2s cubic-bezier(0.34,1.56,0.64,1);
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
  margin: 0;
  padding: 2px;
  line-height: 1;
}
.star-picker label:hover,
.star-picker label:hover ~ label,
.star-picker input[type="radio"]:checked ~ label {
  color: var(--clr-gold);
}
.star-picker label:hover { transform: scale(1.25); }

/* Form fields */
.review-field {
  margin-bottom: var(--space-4);
  position: relative;
}
.review-field label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--clr-text-secondary);
  margin-bottom: var(--space-2);
}
.review-field .field-optional {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--clr-text-muted);
  background: rgba(255,255,255,0.05);
  padding: 2px 7px;
  border-radius: 20px;
  margin-left: auto;
}
.review-field input,
.review-field textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 12px;
  color: #fff;
  font-family: inherit;
  font-size: var(--fs-sm);
  padding: 13px 16px;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  outline: none;
  resize: none;
  box-sizing: border-box;
}
.review-field input::placeholder,
.review-field textarea::placeholder { color: rgba(255,255,255,0.2); }
.review-field input:focus,
.review-field textarea:focus {
  border-color: rgba(0,229,255,0.5);
  background: rgba(0,229,255,0.04);
  box-shadow: 0 0 0 3px rgba(0,229,255,0.08);
}
.review-field.has-error input,
.review-field.has-error textarea {
  border-color: rgba(255, 80, 80, 0.5);
  background: rgba(255,60,60,0.04);
}
.review-field.has-error input:focus,
.review-field.has-error textarea:focus {
  box-shadow: 0 0 0 3px rgba(255,60,60,0.1);
}

/* Error message */
.review-field-error {
  display: none;
  font-size: 11px;
  color: #ff6b6b;
  margin-top: 6px;
  padding-left: 4px;
  animation: errShake 0.35s ease;
}
.review-field.has-error .review-field-error { display: block; }

@keyframes errShake {
  0%,100% { transform: translateX(0); }
  20% { transform: translateX(-5px); }
  50% { transform: translateX(5px); }
  80% { transform: translateX(-3px); }
}

/* Character counter */
.char-counter {
  position: absolute;
  bottom: 10px; right: 14px;
  font-size: 10px;
  color: var(--clr-text-muted);
  pointer-events: none;
  transition: color 0.2s ease;
}
.char-counter.is-near { color: #f5a623; }
.char-counter.is-over { color: #ff6b6b; }

/* Action buttons */
.review-modal-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-6);
}
.btn-review-cancel {
  flex: 0 0 auto;
  padding: 13px 22px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.1);
  background: transparent;
  color: var(--clr-text-secondary);
  font-size: var(--fs-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}
.btn-review-cancel:hover {
  background: rgba(255,255,255,0.06);
  color: #fff;
}
.btn-review-submit {
  flex: 1;
  padding: 14px 24px;
  border-radius: 100px;
  border: none;
  background: var(--grad-brand);
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
}
.btn-review-submit::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.2s ease;
}
.btn-review-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(0,229,255,0.3);
}
.btn-review-submit:hover::after { background: rgba(255,255,255,0.06); }
.btn-review-submit:active { transform: translateY(0); }
.btn-review-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.btn-review-submit .btn-spinner {
  display: none;
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.btn-review-submit.is-loading .btn-text { display: none; }
.btn-review-submit.is-loading .btn-spinner { display: block; }

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

/* Success state */
.review-success-state {
  display: none;
  text-align: center;
  padding: var(--space-6) 0;
}
.review-success-state.is-visible { display: block; }
.review-form-body.is-hidden { display: none; }

.review-success-icon {
  width: 70px; height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0,229,255,0.15) 0%, rgba(0,178,124,0.15) 100%);
  border: 1px solid rgba(0,229,255,0.3);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--space-5);
  font-size: 32px;
  animation: successPop 0.6s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes successPop {
  0% { transform: scale(0.3); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.review-success-state h4 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 var(--space-2);
}
.review-success-state p {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  margin: 0;
  line-height: 1.7;
}

/* Responsive */
@media (max-width: 560px) {
  .testi-header-row { flex-direction: column; align-items: flex-start; }
  .review-modal-overlay {
    padding: max(12px, env(safe-area-inset-top, 12px)) 10px max(12px, env(safe-area-inset-bottom, 12px)) 10px;
    align-items: flex-start;
  }
  .review-modal {
    padding: 24px 18px;
    border-radius: 20px;
    max-height: calc(100dvh - 20px);
  }
  .review-modal-actions { flex-direction: column-reverse; }
  .btn-review-cancel, .btn-review-submit { width: 100%; }
}

/* ═══════════════════════════════════════════════════════
   LIGHT THEME ADAPTATION — SHARE REVIEW MODAL
   Ensures crisp luxury presentation when light theme is active
   ═══════════════════════════════════════════════════════ */
[data-theme="light"] .review-modal-overlay {
  background: rgba(15, 23, 42, 0.48) !important;
  backdrop-filter: blur(24px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
}

[data-theme="light"] .review-modal {
  background: #FFFFFF !important;
  border: 1px solid rgba(2, 132, 199, 0.25) !important;
  box-shadow:
    0 35px 90px rgba(15, 23, 42, 0.18),
    0 4px 14px rgba(2, 132, 199, 0.08),
    0 0 0 1px rgba(226, 232, 240, 0.9) inset !important;
  color: #0F172A !important;
}

[data-theme="light"] .review-modal-close {
  background: #F1F5F9 !important;
  border: 1px solid #E2E8F0 !important;
  color: #64748B !important;
}

[data-theme="light"] .review-modal-close:hover {
  background: #E2E8F0 !important;
  color: #0F172A !important;
}

[data-theme="light"] .review-modal-header .modal-eyebrow {
  color: #0284C7 !important;
}

[data-theme="light"] .review-modal-header .modal-eyebrow::before {
  background: #0284C7 !important;
}

[data-theme="light"] .review-modal-header h3 {
  color: #0F172A !important;
}

[data-theme="light"] .review-modal-header p {
  color: #64748B !important;
}

[data-theme="light"] .review-star-row label,
[data-theme="light"] .review-field label {
  color: #334155 !important;
}

[data-theme="light"] .star-picker label {
  color: #CBD5E1 !important;
}

[data-theme="light"] .star-picker label:hover,
[data-theme="light"] .star-picker label:hover ~ label,
[data-theme="light"] .star-picker input[type="radio"]:checked ~ label {
  color: #F59E0B !important;
}

[data-theme="light"] .review-field .field-optional {
  background: #F1F5F9 !important;
  border: 1px solid #E2E8F0 !important;
  color: #64748B !important;
}

[data-theme="light"] .review-field input,
[data-theme="light"] .review-field textarea {
  background: #F8FAFC !important;
  border: 1px solid #CBD5E1 !important;
  color: #0F172A !important;
}

[data-theme="light"] .review-field input::placeholder,
[data-theme="light"] .review-field textarea::placeholder {
  color: #94A3B8 !important;
}

[data-theme="light"] .review-field input:focus,
[data-theme="light"] .review-field textarea:focus {
  background: #FFFFFF !important;
  border-color: #0284C7 !important;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15) !important;
}

[data-theme="light"] .review-field.has-error input,
[data-theme="light"] .review-field.has-error textarea {
  background: #FFF5F5 !important;
  border-color: #EF4444 !important;
}

[data-theme="light"] .review-field-error {
  color: #DC2626 !important;
}

[data-theme="light"] .char-counter {
  color: #94A3B8 !important;
}

[data-theme="light"] .btn-review-cancel {
  border: 1px solid #CBD5E1 !important;
  background: #F1F5F9 !important;
  color: #334155 !important;
}

[data-theme="light"] .btn-review-cancel:hover {
  background: #E2E8F0 !important;
  color: #0F172A !important;
}

[data-theme="light"] .review-success-icon {
  background: linear-gradient(135deg, rgba(2,132,199,0.12) 0%, rgba(16,185,129,0.14) 100%) !important;
  border: 1px solid rgba(2,132,199,0.3) !important;
}

[data-theme="light"] .review-success-state h4 {
  color: #0F172A !important;
}

[data-theme="light"] .review-success-state p {
  color: #64748B !important;
}


.ribbon-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
@media (max-width: 1023px) {
  .ribbon-inner {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-inline: auto;
  }
}
.testi-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  position: relative;
}
.testi-card::after {
  content: '"';
  position: absolute;
  top: var(--space-4);
  right: var(--space-6);
  font-size: 5rem;
  line-height: 1;
  color: rgba(0,229,255,0.06);
  font-family: Georgia, serif;
  pointer-events: none;
}
.testi-stars {
  color: var(--clr-gold);
  font-size: var(--fs-md);
  letter-spacing: 2px;
}
.testi-card p {
  font-size: var(--fs-sm);
  color: var(--clr-text-secondary);
  line-height: 1.8;
  flex: 1;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-top: var(--space-4);
  border-top: 1px solid var(--clr-border);
}
.testi-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--grad-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xs);
  font-weight: 800;
  color: var(--clr-text-inverse);
  flex-shrink: 0;
  box-shadow: 0 0 16px rgba(0,229,255,0.25);
}

/* ====================================================
   FAQ SECTION
==================================================== */
.accordion {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.accordion-item {
  background: linear-gradient(145deg, rgba(18,26,46,0.55) 0%, rgba(8,12,20,0.8) 100%);
  border: 1px solid var(--clr-border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--t-base), box-shadow var(--t-base);
  box-shadow: var(--shadow-sm);
}
.accordion-item.open {
  border-color: var(--clr-border-cyan);
  box-shadow: 0 0 20px rgba(0,229,255,0.06);
}
.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) var(--space-6);
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--clr-text-primary);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: var(--space-4);
  transition: color var(--t-fast);
}
.accordion-header:hover { color: var(--clr-cyan); }

.accordion-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0,229,255,0.08);
  border: 1px solid rgba(0,229,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-lg);
  color: var(--clr-cyan);
  flex-shrink: 0;
  transition: all var(--t-base);
  line-height: 1;
}
.accordion-item.open .accordion-icon {
  transform: rotate(45deg);
  background: rgba(0,229,255,0.15);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-slow);
}
.accordion-body p {
  padding: 0 var(--space-6) var(--space-6);
  font-size: var(--fs-sm);
  line-height: 1.85;
  color: var(--clr-text-secondary);
}

/* ====================================================
   CONTACT SECTION
==================================================== */
.contact-section {
  background: var(--clr-bg-secondary);
  position: relative;
  overflow: hidden;
}
.contact-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(157,110,255,0.3), rgba(0,229,255,0.3), transparent);
}
.contact-section::after {
  content: '';
  position: absolute;
  bottom: -200px; right: -150px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(157,110,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-8);
  position: relative;
  z-index: 1;
}
.contact-card {
  border-radius: var(--radius-xl);
}

/* ====================================================
   FOOTER — PRODUCTION GRADE
==================================================== */
.footer {
  background: transparent;
  border-top: 1px solid var(--clr-border);
  padding-block: var(--space-16) var(--space-8);
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 300px;
  background: radial-gradient(ellipse at top, rgba(0,229,255,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
  position: relative;
  z-index: 1;
}
.footer-brand .nav-logo { margin-bottom: var(--space-2); }
.footer-links-col h4 {
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--clr-text-muted);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--clr-border);
}
.footer-links-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.footer-links-col a {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  transition: color var(--t-fast);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
.footer-links-col a::before {
  content: '→';
  opacity: 0;
  transform: translateX(-6px);
  transition: all var(--t-fast);
  color: var(--clr-cyan);
  font-size: var(--fs-xs);
}
.footer-links-col a:hover {
  color: var(--clr-text-secondary);
}
.footer-links-col a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-6);
  border-top: 1px solid var(--clr-border);
  flex-wrap: wrap;
  gap: var(--space-4);
  position: relative;
  z-index: 1;
}
.footer-badges { display: flex; gap: var(--space-3); flex-wrap: wrap; }

/* ====================================================
   LIVE MARKET DATA STRIP (Floating bottom)
==================================================== */
.market-strip {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: calc(var(--z-nav) - 2);
  height: 36px;
  background: rgba(5,7,13,0.92);
  border-top: 1px solid var(--clr-border);
  display: flex;
  align-items: center;
  overflow: hidden;
  backdrop-filter: blur(20px);
}

/* ====================================================
   SECTION BACKGROUND PATTERNS
==================================================== */
.bg-dots {
  background-image: radial-gradient(rgba(0,229,255,0.08) 1px, transparent 1px);
  background-size: 32px 32px;
}

.section-dark {
  background: var(--clr-bg-secondary);
  position: relative;
}
.section-dark::before,
.section-dark::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 1px;
}
.section-dark::before {
  top: 0;
  background: linear-gradient(90deg, transparent, rgba(0,229,255,0.12), transparent);
}
.section-dark::after {
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(157,110,255,0.1), transparent);
}

/* ====================================================
   ANIMATED COUNTER
==================================================== */
[data-target] {
  font-variant-numeric: tabular-nums;
}

/* ====================================================
   RESPONSIVE MEDIA QUERIES
==================================================== */
@media (max-width: 1279px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
}

@media (max-width: 1023px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-10);
  }
  .hero-content { align-items: center; }
  .hero-badge,
  .hero-cta,
  .hero-stats    { justify-content: center; }
  .hero-subtext  { margin-inline: auto; }
  .hero-chart-wrap,
  .hero-mockup-wrap { display: none; }
  .pricing-grid  { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .pricing-card--popular { transform: none; }
  .pricing-card--popular:hover { transform: translateY(-6px); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .overall-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid  { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  /* --- Mobile Navbar Layout & Precision Fit Fix --- */
  .navbar {
    top: 10px !important;
    left: 10px !important;
    right: 10px !important;
    width: calc(100% - 20px) !important;
    max-width: calc(100% - 20px) !important;
    margin-inline: auto !important;
    padding: 6px 10px !important;
    box-sizing: border-box !important;
  }
  .navbar .container {
    padding-inline: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .nav-inner {
    height: 48px !important;
    gap: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .nav-logo {
    gap: 6px !important;
    flex-shrink: 1 !important;
    min-width: 0 !important;
  }
  .logo-icon {
    width: 28px !important;
    height: 28px !important;
  }
  .logo-svg {
    width: 28px !important;
    height: 28px !important;
  }
  .logo-name {
    font-size: 0.95rem !important;
    white-space: nowrap !important;
    letter-spacing: -0.01em !important;
  }
  .mobile-controls-wrap {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    flex-shrink: 0 !important;
  }
  .mobile-theme-quick-btn {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    border-radius: 10px !important;
    padding: 0 !important;
  }
  .mobile-theme-quick-btn svg {
    width: 17px !important;
    height: 17px !important;
  }
  .qtp-mobile-avatar {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    font-size: 11px !important;
    font-weight: 800 !important;
  }
  .qtp-trigger {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    border-radius: 10px !important;
  }
  .qtp-icon-bars {
    width: 18px !important;
    height: 18px !important;
  }
  .nav-logo-status {
    display: none !important;
  }

  /* --- Mobile Starting Section Spacing & Polish --- */
  .hero {
    min-height: auto;
    padding-top: calc(108px + env(safe-area-inset-top, 0px));
    padding-bottom: var(--space-8);
  }
  .hero-container {
    gap: 18px;
    padding-top: 0;
    padding-bottom: 16px;
  }
  .ticker-wrap {
    margin-top: 8px;
    margin-bottom: 12px;
    padding: 7px 0;
    background: rgba(6, 10, 20, 0.85);
    border: 1px solid rgba(0, 229, 255, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 0 15px rgba(0, 229, 255, 0.06);
  }
  .hero-badge {
    margin-bottom: 14px;
  }
  .hero-headline {
    letter-spacing: -0.03em;
    font-size: clamp(1.95rem, 6.8vw, 2.65rem);
    line-height: 1.15;
    margin-bottom: 14px;
  }
  .hero-subtext {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 22px;
    max-width: 460px;
  }
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    max-width: 360px;
    margin-inline: auto;
    margin-bottom: 26px;
  }
  .hero-cta .btn {
    justify-content: center;
  }

  /* Sleek Institutional 3-Column Horizontal Stat Pill */
  .hero-stats {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    width: 100% !important;
    max-width: 480px !important;
    margin-inline: auto !important;
    padding: 12px 6px !important;
    background: rgba(8, 13, 24, 0.75) !important;
    border: 1px solid rgba(255, 255, 255, 0.09) !important;
    border-radius: var(--radius-xl) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    gap: 0 !important;
  }
  .hero-stats .hero-stat {
    border-bottom: none !important;
    border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 6px 8px !important;
    text-align: center !important;
    width: auto !important;
  }
  .hero-stats .hero-stat:last-child {
    border-right: none !important;
  }
  .hero-stat .stat-value {
    font-size: 1.35rem !important;
    line-height: 1.1 !important;
    font-weight: 800 !important;
  }
  .hero-stat .stat-label {
    font-size: 9px !important;
    letter-spacing: 0.05em !important;
    margin-top: 4px !important;
    white-space: normal !important;
    line-height: 1.25 !important;
  }

  .features-grid { grid-template-columns: 1fr; }
  .performance-grid { grid-template-columns: 1fr; }
  .perf-numbers  { grid-template-columns: repeat(2, 1fr); }
  .payment-steps { flex-direction: column; align-items: stretch; }
  .step-connector { transform: rotate(90deg); align-self: center; }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 479px) {
  /* Ensure ample clearance below floating pill navbar on small phones */
  .hero {
    padding-top: calc(114px + env(safe-area-inset-top, 0px));
  }
  .ticker-wrap {
    margin-top: 10px;
    margin-bottom: 14px;
  }

  /* Hide the status badge completely on very small screens to fit the logo and hamburger */
  .nav-logo-status {
    display: none !important;
  }

  .footer-grid   { grid-template-columns: 1fr; }
  .overall-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .pay-icons     { gap: var(--space-3); }
}

/* ====================================================
   MICRO ANIMATION UTILITIES
==================================================== */
@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(0,229,255,0.15); }
  50%       { box-shadow: 0 0 40px rgba(0,229,255,0.3); }
}
.glow-pulse { animation: glow-pulse 3s ease-in-out infinite; }

@keyframes gradient-shift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.gradient-animate {
  background-size: 200% 200%;
  animation: gradient-shift 4s ease infinite;
}

/* Number ticker font */
.stat-value, .price-amount {
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum';
}

/* ====================================================
   PERFORMANCE CARD COLOR OVERRIDES
==================================================== */
.perf-card.glass-card:hover {
  border-color: var(--clr-border-green);
  box-shadow: var(--shadow-card), var(--shadow-green);
}

/* ====================================================
   ACCORDION ACTIVE LINE
==================================================== */
.accordion-item.open .accordion-header {
  color: var(--clr-cyan);
}

/* ====================================================
   CONTACT FORM ENHANCED
==================================================== */
.contact-form-card {
  border-color: var(--clr-border-cyan);
}

/* Social link buttons in footer */
.btn-social {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-bg-glass);
  border: 1px solid var(--clr-border-soft);
  color: var(--clr-text-muted);
  font-size: var(--fs-sm);
  transition: all var(--t-base);
}

/* ====================================================
   MOBILE CONTROLS & AVATAR
   ==================================================== */
.mobile-controls-wrap {
  display: none !important;
  align-items: center;
  gap: 12px;
}
.mobile-profile-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.mobile-profile-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00E5FF 0%, #9D6EFF 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  color: #030408;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
  transition: transform var(--t-fast);
}
.mobile-profile-avatar:hover {
  transform: scale(1.05);
}

@media (max-width: 1023px) {
  .mobile-controls-wrap {
    display: inline-flex !important;
  }
}

/* ====================================================
   CAPSULE USER DROPDOWN (DESKTOP)
   ==================================================== */
.user-dropdown-wrapper {
  position: relative;
  display: inline-block;
  z-index: 101;
}

.user-dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 6px;
  background: var(--clr-bg-glass);
  border: 1px solid var(--clr-border-soft);
  border-radius: 30px;
  color: var(--clr-text-primary);
  cursor: pointer;
  font-family: inherit;
  transition: all var(--t-fast);
  outline: none;
}

.user-dropdown-btn:hover,
.user-dropdown-wrapper.active .user-dropdown-btn {
  border-color: var(--clr-border-cyan);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.user-dropdown-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00E5FF 0%, #9D6EFF 100%) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: #030408 !important;
  box-shadow: 0 0 8px rgba(0, 229, 255, 0.25);
}

.user-dropdown-name {
  font-size: var(--fs-xs);
  font-weight: 600;
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dropdown-chevron {
  color: var(--clr-text-muted);
  transition: transform var(--t-fast) ease;
}

.user-dropdown-wrapper.active .dropdown-chevron {
  transform: rotate(180deg);
  color: var(--clr-cyan);
}

.user-dropdown-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 220px;
  background: #080C18 !important;
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 48px rgba(0,0,0,0.85), 0 0 25px rgba(0, 229, 255, 0.08);
  padding: var(--space-2) 0;
  display: none;
  flex-direction: column;
  z-index: 102;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity var(--t-base) ease, transform var(--t-base) ease;
}

.user-dropdown-wrapper.active .user-dropdown-menu {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.dropdown-user-info {
  padding: var(--space-2) var(--space-4) var(--space-1);
}

.dropdown-user-email {
  font-size: var(--fs-2xs);
  color: var(--clr-text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dropdown-divider {
  border: none;
  border-bottom: 1px solid var(--clr-border-soft);
  margin: var(--space-2) 0;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: var(--space-2) var(--space-4);
  font-size: var(--fs-xs);
  color: var(--clr-text-secondary);
  text-decoration: none;
  transition: all var(--t-fast);
}

.dropdown-item svg {
  color: var(--clr-text-muted);
  transition: color var(--t-fast);
}

.dropdown-item:hover {
  background: rgba(0, 229, 255, 0.08);
  color: var(--clr-cyan);
}

.dropdown-item:hover svg {
  color: var(--clr-cyan);
}

.dropdown-item.text-danger:hover {
  background: rgba(255, 61, 90, 0.08);
  color: var(--clr-red);
}

.dropdown-item.text-danger:hover svg {
  color: var(--clr-red);
}

/* ---- Real-Time Supercharts Mockup Styles ---- */
.indicator-toggles {
  display: flex;
  gap: 6px;
  align-items: center;
}
.indicator-btn {
  font-size: 9px !important;
  font-family: var(--font-mono);
  font-weight: 700;
  padding: 3px 8px !important;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--clr-text-secondary);
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  line-height: 1;
}
.indicator-btn:hover {
  color: var(--clr-text-primary);
  border-color: rgba(0, 229, 255, 0.2);
  background: rgba(0, 229, 255, 0.04);
}
.indicator-btn.active {
  color: var(--clr-cyan) !important;
  border-color: var(--clr-cyan) !important;
  background: rgba(0, 229, 255, 0.08);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.15), inset 0 0 5px rgba(0, 229, 255, 0.1);
}

/* ====================================================
   APPLE-STYLE CINEMATIC 3D SCROLL SHOWCASE (v5.0)
   True Scroll-Driven 3D Spatial Fly-Through
==================================================== */
.scrolly-container {
  position: relative;
  height: 280vh;
  min-height: 2200px;
  background: var(--clr-bg-primary, #030408);
  margin: 0;
  padding: 0;
}

.scrolly-sticky-viewport {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

/* Full Bleed Canvas Stage */
.scrolly-canvas-stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.scrolly-canvas-stage canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Top Unified Apple Bar */
.scrolly-top-bar {
  position: absolute;
  top: 76px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 900px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  z-index: 20;
  pointer-events: auto;
}

.scrolly-brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(8, 12, 22, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #EFF4FF;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.cinematic-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00FFA3;
  box-shadow: 0 0 10px #00FFA3;
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

.scrolly-stage-tabs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: rgba(6, 9, 18, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
}

.scrolly-stage-tab {
  padding: 5px 14px;
  border-radius: var(--radius-full);
  background: transparent;
  border: 1px solid transparent;
  color: rgba(239, 244, 255, 0.5);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  white-space: nowrap;
}

.scrolly-stage-tab:hover {
  color: #EFF4FF;
}

.scrolly-stage-tab.active {
  background: rgba(0, 229, 255, 0.12);
  border-color: rgba(0, 229, 255, 0.4);
  color: #00E5FF;
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.2);
}

.scrolly-skip-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(8, 12, 22, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  color: rgba(239, 244, 255, 0.65);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.scrolly-skip-link:hover {
  color: #00E5FF;
  border-color: rgba(0, 229, 255, 0.3);
  background: rgba(8, 12, 22, 0.95);
}

/* Centered Cross-Fading Overlays */
.scrolly-overlays-container {
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
}

.scrolly-overlay-layer {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 740px;
  padding: 20px 28px;
  border-radius: 24px;
  background: radial-gradient(ellipse at center, rgba(5, 7, 13, 0.85) 0%, rgba(5, 7, 13, 0.5) 65%, transparent 100%);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition:
    opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.scrolly-tag-pill {
  display: inline-flex;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #00E5FF;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.3);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.scrolly-hero-title {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.12;
  color: #EFF4FF;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
}

.scrolly-hero-sub {
  font-size: 1.05rem;
  color: rgba(239, 244, 255, 0.68);
  max-width: 480px;
  line-height: 1.5;
}

/* Narrative Card (Apple Frame 00:04 style) */
/* Narrative Card (Cinematic Finale Reveal) */
.scrolly-narrative-card {
  top: 50%;
  left: 50%;
  bottom: auto;
  transform: translate(-50%, -50%);
  max-width: 760px;
  width: calc(100% - 32px);
  z-index: 50;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.scrolly-narrative-card.cinematic-revealed {
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: translate(-50%, -50%) !important;
  animation: narrativeEntrance 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes narrativeEntrance {
  0% {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 20px)) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

.scrolly-narrative-card .scrolly-card-inner {
  background: #080C16 !important; /* 100% solid opaque, zero transparency bleed-through */
  opacity: 1 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1.5px solid rgba(0, 229, 255, 0.45) !important;
  border-radius: 24px;
  padding: 30px 38px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.98), 0 0 50px rgba(0, 229, 255, 0.25) !important;
  text-align: left;
  pointer-events: auto;
  position: relative;
  z-index: 50;
  overflow: hidden;
}

.scrolly-narrative-card .scrolly-card-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #00E5FF, #00FFA3, #9D6EFF);
  box-shadow: 0 0 15px rgba(0, 255, 163, 0.8);
}

.scrolly-apple-paragraph {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #EFF4FF;
  margin-bottom: 20px;
  font-weight: 500;
}

.scrolly-card-cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.scrolly-pnl-chip {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.scrolly-pnl-chip .chip-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(239, 244, 255, 0.45);
  letter-spacing: 0.08em;
  font-weight: 700;
}

.scrolly-pnl-chip .chip-val {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 800;
}

/* Bottom Timeline & Status Bar */
.scrolly-bottom-bar {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 20;
  pointer-events: auto;
}

.scrolly-timeline-track {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: height 0.2s ease;
}

.scrolly-timeline-track:hover {
  height: 5px;
  background: rgba(255, 255, 255, 0.16);
}

.scrolly-timeline-progress {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #00E5FF, #00FFA3);
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.6);
  transition: width 0.04s linear;
}

.scrolly-bottom-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: rgba(239, 244, 255, 0.55);
  letter-spacing: 0.04em;
}

.scrolly-live-speed {
  color: #00FFA3;
}

.scrolly-step-label {
  color: #00E5FF;
}

/* Viewport ambient border glow when section is active */
.scrolly-sticky-viewport::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(0, 229, 255, 0);
  pointer-events: none;
  z-index: 2;
  transition: border-color 0.8s ease;
}

.scrolly-container.section-active .scrolly-sticky-viewport::after {
  border-color: rgba(0, 229, 255, 0.06);
}

/* ====================================================
   INSTITUTIONAL INDICATOR LAB SIMULATOR (v3.0)
==================================================== */
.sim-lab-showcase-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto var(--space-8);
}

.sim-lab-card {
  background: rgba(6, 9, 18, 0.92);
  border: 1px solid rgba(0, 229, 255, 0.22);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.7), 0 0 45px rgba(0, 229, 255, 0.1);
  position: relative;
  width: 100%;
}

.sim-lab-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(8, 12, 24, 0.7);
  flex-wrap: wrap;
  gap: 12px;
}

.sim-asset-tabs {
  display: flex;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  padding: 4px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.05);
  max-width: 100%;
}

.sim-asset-tab {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  color: rgba(239, 244, 255, 0.6);
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.sim-asset-tab:hover {
  color: #EFF4FF;
}

.sim-asset-tab.active {
  background: #00E5FF;
  color: #05070D;
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.4);
}

.sim-controls-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sim-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid rgba(0, 229, 255, 0.25);
  background: rgba(0, 229, 255, 0.08);
  color: #00E5FF;
  cursor: pointer;
  transition: all 0.25s ease;
}

.sim-btn:hover {
  background: rgba(0, 229, 255, 0.2);
  border-color: #00E5FF;
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.25);
}

.sim-btn.active {
  background: rgba(0, 255, 163, 0.15);
  border-color: #00FFA3;
  color: #00FFA3;
}

.sim-canvas-viewport {
  position: relative;
  height: 480px;
  width: 100%;
  background: #03050A;
}

.sim-canvas-viewport canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.sim-floating-ticker {
  position: absolute;
  top: 16px;
  left: 20px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(6, 9, 16, 0.85);
  backdrop-filter: blur(12px);
  padding: 6px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.sim-ticker-name {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: #EFF4FF;
}

.sim-ticker-price {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 800;
  color: #00E5FF;
}

.sim-ticker-change {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #00FFA3;
}

.sim-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.05);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.sim-stat-box {
  background: rgba(6, 9, 18, 0.95);
  padding: 16px 20px;
  text-align: center;
}

.sim-stat-label {
  font-size: 11px;
  font-family: var(--font-mono);
  color: rgba(239, 244, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.sim-stat-value {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 800;
  color: #EFF4FF;
}

.sim-stat-value.text-emerald {
  color: #00FFA3;
  text-shadow: 0 0 12px rgba(0, 255, 163, 0.35);
}

.sim-stat-value.text-cyan {
  color: #00E5FF;
  text-shadow: 0 0 12px rgba(0, 229, 255, 0.35);
}

/* Scrollytelling & Indicator Simulator Responsive */
@media (max-width: 1080px) {
  .sim-stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .sim-canvas-viewport {
    height: 420px;
  }
}

@media (max-width: 768px) {
  .sim-canvas-viewport {
    height: 360px;
  }
  .scrolly-container {
    height: 180vh !important;
    min-height: auto !important;
    max-height: none !important;
    position: relative !important;
  }
  .scrolly-sticky-viewport {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    height: 100vh !important;
    height: 100dvh !important;
    width: 100% !important;
    max-width: 100vw !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10 !important;
  }
  .scrolly-canvas-stage {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 1 !important;
  }
  .scrolly-canvas-stage canvas {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
  }
  .scrolly-top-bar {
    top: 76px !important;
    width: calc(100% - 20px) !important;
    gap: 6px !important;
    z-index: 30 !important;
  }
  .scrolly-brand-pill {
    font-size: 9px;
    padding: 4px 8px;
    gap: 5px;
  }
  .scrolly-stage-tabs {
    padding: 2px;
    gap: 2px;
  }
  .scrolly-stage-tab {
    font-size: 8.5px;
    padding: 3px 7px;
  }
  .scrolly-skip-link {
    font-size: 9.5px;
    padding: 4px 8px;
    gap: 3px;
  }
  .scrolly-overlay-layer {
    padding: 14px 16px !important;
    max-width: calc(100% - 24px) !important;
    width: 100% !important;
    border-radius: 18px !important;
  }
  .scrolly-hero-title {
    font-size: clamp(1.4rem, 5.2vw, 1.85rem) !important;
    line-height: 1.18 !important;
    margin-bottom: 6px !important;
  }
  .scrolly-hero-sub {
    font-size: 0.80rem !important;
    max-width: 280px !important;
    line-height: 1.35 !important;
  }
  .scrolly-tag-pill {
    font-size: 10px !important;
    padding: 3px 10px !important;
    margin-bottom: 8px !important;
  }
  .scrolly-narrative-card {
    top: 50% !important;
    left: 50% !important;
    bottom: auto !important;
    transform: translate(-50%, -50%) !important;
    padding: 0 10px !important;
    max-width: calc(100% - 20px) !important;
    width: 100% !important;
  }
  .scrolly-narrative-card .scrolly-card-inner {
    padding: 16px 18px !important;
    border-radius: 20px !important;
    background: #080C16 !important;
  }
  .scrolly-apple-paragraph {
    font-size: 0.80rem !important;
    line-height: 1.38 !important;
    margin-bottom: 10px !important;
  }
  .scrolly-card-cta-row {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
  }
  .scrolly-card-cta-row .btn {
    width: 100% !important;
    justify-content: center !important;
    font-size: 0.85rem !important;
    padding: 8px 14px !important;
  }
  .scrolly-bottom-bar {
    bottom: 14px !important;
    width: calc(100% - 24px) !important;
    gap: 6px !important;
    z-index: 30 !important;
  }
  .scrolly-bottom-meta {
    font-size: 8.5px !important;
  }
  .scrolly-mid-metrics {
    flex-direction: column !important;
    gap: 6px !important;
    margin-top: 10px !important;
  }
  .scrolly-mid-metric {
    padding: 6px 12px !important;
  }
  .scrolly-mid-metric strong {
    font-size: 0.90rem !important;
  }
  .sim-lab-header {
    flex-direction: column;
    align-items: stretch;
    padding: 12px 14px;
    gap: 10px;
  }
  .sim-asset-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    padding: 3px;
    width: 100%;
    max-width: 100%;
    border-radius: var(--radius-full);
    box-sizing: border-box;
  }
  .sim-asset-tab {
    font-size: 9.5px;
    padding: 6px 2px;
    text-align: center;
    white-space: nowrap;
    width: 100%;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .sim-floating-ticker {
    left: 10px;
    right: 10px;
    top: 10px;
    padding: 6px 10px;
    gap: 8px;
    justify-content: space-between;
  }
  .sim-ticker-name {
    font-size: 11px;
  }
  .sim-ticker-price {
    font-size: 12px;
  }
  .sim-ticker-change {
    font-size: 10px;
  }
  .sim-stats-bar {
    grid-template-columns: 1fr;
  }
}

/* Pricing Tabs Responsive (Clean 2x2 Grid with Easy Tap-Targets on Mobile/Tablet) */
@media (max-width: 900px) {
  .pricing-tabs-wrapper {
    padding: 0 12px;
    width: 100%;
    margin-bottom: var(--space-6);
  }
  .pricing-tabs-container {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    border-radius: 18px !important;
    padding: 8px !important;
    width: 100% !important;
    max-width: 540px !important;
    box-sizing: border-box;
  }
  .pricing-tab-btn {
    padding: 10px 8px !important;
    border-radius: 12px !important;
    font-size: 0.8rem !important;
    justify-content: center !important;
    text-align: center !important;
    flex-direction: column !important;
    gap: 5px !important;
    width: 100% !important;
    min-height: 52px !important;
  }
}

@media (max-width: 480px) {
  .pricing-tabs-container {
    grid-template-columns: 1fr 1fr !important;
    gap: 6px !important;
    padding: 6px !important;
    border-radius: 16px !important;
  }
  .pricing-tab-btn {
    font-size: 0.74rem !important;
    padding: 8px 4px !important;
    gap: 4px !important;
    min-height: 50px !important;
  }
  .pricing-tab-btn .tab-btn-title {
    font-size: 0.76rem !important;
    font-weight: 800 !important;
  }
  .tab-badge {
    font-size: 8.5px !important;
    padding: 2px 7px !important;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   PREMIUM MOTION LAYER v4.0 — Apple-Grade Animations
   ═══════════════════════════════════════════════════════════════════ */

/* ── Hero Headline Word Split ── */
.hero-headline {
  overflow: visible;
}

.hero-headline .word-reveal-unit,
.section-heading .word-reveal-unit {
  display: inline-block;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-headline.revealed .word-reveal-unit,
.section-heading.revealed .word-reveal-unit {
  opacity: 1;
  transform: none;
}

/* ── Feature Cards — Spring Lift ── */
.feature-card {
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.35s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.feature-card:hover {
  transform: translateY(-8px) !important;
}

.feature-card:hover .feature-icon {
  transform: scale(1.12) rotate(-4deg);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

/* ── Pricing Cards — Spring Lift ── */
.pricing-card {
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.pricing-card:hover {
  transform: translateY(-10px) !important;
}

/* ── Testimonial Cards — Depth Shift ── */
.testi-card {
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.testi-card:hover {
  transform: translateY(-6px) scale(1.01) !important;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 30px rgba(255,215,0,0.08) !important;
}

/* ── Payment Steps — Spring Lift ── */
.payment-step {
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.payment-step:hover {
  transform: translateY(-10px) !important;
}

/* ── Accordion — Spring Easing ── */
.accordion-body {
  transition: max-height 0.55s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.accordion-icon {
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
              background 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

/* ── Nav Link — Premium Hover ── */
.nav-link {
  transition:
    color 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.25s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

/* ── Pay Icon Cards ── */
.pay-icon-card {
  transition:
    transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
    border-color 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.3s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.pay-icon-card:hover {
  transform: translateY(-5px) scale(1.04) !important;
}

/* ── Trust Logo ── */
.trust-logo {
  transition:
    color 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.trust-logo:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 20px rgba(0,229,255,0.08) !important;
}

/* ── Hero Badge Hover ── */
.hero-badge {
  transition:
    transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.hero-badge:hover {
  transform: scale(1.03) !important;
  box-shadow: 0 8px 30px rgba(0,229,255,0.12) !important;
}

/* ── Ticker Track — Smooth Pause on Hover ── */
.ticker-wrap:hover .ticker-track {
  animation-play-state: paused;
}

/* ── Sim Controls ── */
.sim-btn {
  transition:
    background 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.sim-btn:hover {
  transform: translateY(-2px) !important;
}

/* ── Section Tag Pill ── */
.section-tag {
  transition:
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.section-tag:hover {
  transform: scale(1.05) !important;
  box-shadow: 0 0 20px rgba(0,229,255,0.15) !important;
}

/* ── Scroll Indicator ── */
@keyframes scroll-float-silk {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%       { transform: translateY(-10px); opacity: 0.6; }
}

.scroll-indicator {
  animation: scroll-float-silk 2.8s cubic-bezier(0.22, 1, 0.36, 1) infinite !important;
}

/* ── Hero Stat Hover Glow ── */
.hero-stat {
  transition: background 0.35s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.hero-stat:hover {
  background: rgba(0,229,255,0.04) !important;
}

/* ── CTA Shimmer Enhancement ── */
.btn-premium-cta::after {
  transition: left 0s;
}

.btn-premium-cta:hover::after {
  left: 150% !important;
  transition: left 0.7s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

/* ── Mockup 3D Inner — Silk Transition ── */
.mockup-3d-inner {
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

/* ── Floating Card Wrappers ── */
.mockup-floating-card-wrapper {
  transition:
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.5s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

/* ── Reduced Motion Override ── */
@media (prefers-reduced-motion: reduce) {
  .hero-headline .word-reveal-unit,
  .section-heading .word-reveal-unit {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .feature-card:hover,
  .pricing-card:hover,
  .testi-card:hover,
  .payment-step:hover {
    transform: none !important;
  }

  .scroll-indicator {
    animation: none !important;
  }

  .ticker-wrap:hover .ticker-track {
    animation-play-state: running;
  }
}
