@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  /* Colors */
  --bg-dark: #0a0c10;
  --bg-darker: #050608;
  --accent-red: #f0a236;
  --accent-red-hover: #15150c;
  --accent-red-glow: rgba(255, 68, 79, 0.4);
  --text-light: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.7);
  --text-dim: rgba(255, 255, 255, 0.45);

  /* Logo Colors */
  --logo-spyy-color: #3fa9f5;
  --logo-fx-color: #ff5722;

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-bg-hover: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.08);

  /* Navigation Variables */
  --nav-bg: rgba(15, 18, 26, 0.65);
  --nav-border: rgba(255, 255, 255, 0.08);
  --nav-border-hover: rgba(255, 255, 255, 0.2);
  --nav-link-hover: rgba(255, 255, 255, 0.08);
  --nav-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
  --nav-shadow-hover: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
  --glass-blur: blur(20px);

  /* Fonts */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.15s ease;

  /* Shared Footer Background with transparency */
  --footer-bg: linear-gradient(to bottom, rgba(10, 12, 16, 0.6) 0%, rgba(5, 6, 8, 0.75) 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-light);
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Background Image Overlay Container */
.hero-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-image: url('pexels-mikhail-nilov-9159069.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-bg-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Dark gradient that fades from very dark on the left (text protection) to lighter on the right */
  background: linear-gradient(90deg,
      rgba(10, 12, 16, 0.98) 0%,
      rgba(10, 12, 16, 0.92) 30%,
      rgba(10, 12, 16, 0.75) 55%,
      rgba(10, 12, 16, 0.4) 100%);
}

/* Header & Navigation */
header {
  width: 100%;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 36px; /* Offset to fit the live ticker bar at the top */
  left: 0;
  z-index: 100;
  background: linear-gradient(to bottom, rgba(10, 12, 16, 0.5) 0%, transparent 100%);
  backdrop-filter: blur(5px);
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

.logo-spyy {
  color: var(--logo-spyy-color);
  transition: var(--transition-smooth);
}

.logo-fx {
  color: var(--logo-fx-color);
  font-style: italic;
  margin-left: 2px;
  transition: var(--transition-smooth);
}

.logo-chart-icon {
  width: 28px;
  height: 28px;
  margin-left: 8px;
  color: var(--accent-red, #f0a236);
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
  transition: var(--transition-smooth);
}

.logo:hover .logo-chart-icon {
  transform: translateY(-2px) scale(1.08);
}


.logo-traders {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  color: var(--text-light);
  margin-left: 8px;
  opacity: 0.9;
}

/* Glassmorphic Nav Capsule */
.nav-capsule {
  display: flex;
  align-items: center;
  background: var(--nav-bg);
  border: 1px solid var(--nav-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  padding: 6px 12px;
  border-radius: 100px;
  box-shadow: var(--nav-shadow);
  transition: var(--transition-smooth);
}

.nav-capsule:hover {
  border-color: var(--nav-border-hover);
  box-shadow: var(--nav-shadow-hover);
}

.nav-link {
  color: var(--text-light);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 100px;
  transition: var(--transition-fast), transform 0.1s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link:hover {
  background: var(--nav-link-hover);
}

.nav-link:active {
  transform: scale(0.94);
}

.nav-link--active {
  background: var(--nav-link-hover) !important;
  color: var(--text-light) !important;
  animation: activeNavBubble 0.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.nav-link svg.nav-icon {
  width: 15px;
  height: 15px;
  opacity: 0.8;
  transition: var(--transition-fast);
  stroke: currentColor;
  flex-shrink: 0;
}

.nav-link:hover svg.nav-icon {
  opacity: 1;
  transform: translateY(-0.5px);
}

.nav-link svg.arrow-icon {
  width: 12px;
  height: 12px;
  opacity: 0.7;
  transition: var(--transition-fast);
  margin-left: -2px;
}

.nav-link:hover svg.arrow-icon {
  transform: translate(1px, -1px);
  opacity: 1;
}

/* Hero Nav Capsule (below subtitle) */
.hero-nav-capsule {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  padding: 10px 16px;
  border-radius: 100px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
  margin-top: 0;
  transition: transform 0.3s var(--transition-smooth), border-color 0.3s, box-shadow 0.3s;
  align-self: center;
  /* Hidden until JS triggers the pop-in */
  opacity: 0;
  transform: translateY(18px) scale(0.88);
  filter: blur(6px);
  pointer-events: none;
}

/* JS adds this class to trigger the entrance */
.hero-nav-capsule.pop-in-ready {
  animation:
    capsulePopIn 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) forwards,
    capsuleGlow 4s ease-in-out infinite alternate 0.75s;
  pointer-events: auto;
}

.hero-nav-capsule.pop-in-ready:hover {
  transform: translateY(-2px) scale(1.02);
  border-color: rgba(0, 255, 136, 0.5);
  box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.55), 0 0 20px rgba(0, 255, 136, 0.35);
}

.hero-nav-link {
  color: var(--text-light);
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  padding: 16px 30px;
  border-radius: 100px;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  /* Each link starts invisible for stagger */
  opacity: 0;
  transform: translateY(8px);
}

/* Staggered link reveal — triggered by capsule's pop-in-ready class */
.hero-nav-capsule.pop-in-ready .hero-nav-link:nth-child(1) {
  animation: capsuleLinkReveal 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) 0.45s forwards;
}
.hero-nav-capsule.pop-in-ready .hero-nav-link:nth-child(2) {
  animation: capsuleLinkReveal 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) 0.58s forwards;
}
.hero-nav-capsule.pop-in-ready .hero-nav-link:nth-child(3) {
  animation: capsuleLinkReveal 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) 0.71s forwards;
}

.hero-nav-link:hover {
  background: rgba(255, 255, 255, 0.08);
}

.hero-nav-link svg.nav-icon {
  width: 20px;
  height: 20px;
  opacity: 0.8;
  transition: var(--transition-fast);
  stroke: currentColor;
  flex-shrink: 0;
}

.hero-nav-link:hover svg.nav-icon {
  opacity: 1;
  transform: translateY(-0.5px);
}

.hero-nav-link svg.arrow-icon {
  width: 16px;
  height: 16px;
  opacity: 0.7;
  transition: var(--transition-fast);
  margin-left: -2px;
}

.hero-nav-link:hover svg.arrow-icon {
  transform: translate(1px, -1px);
  opacity: 1;
}

@media (max-width: 600px) {
  .hero-nav-capsule {
    flex-direction: column;
    border-radius: 20px;
    align-items: flex-start;
  }
}


.nav-lang {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  position: relative;
}

.nav-lang svg.globe-icon {
  width: 14px;
  height: 14px;
}

/* Dropdown styling for Language */
.lang-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  background: var(--nav-bg);
  border: 1px solid var(--nav-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: 12px;
  padding: 8px;
  min-width: 120px;
  box-shadow: var(--nav-shadow);
  display: flex;
  flex-direction: column;
  z-index: 101;
  opacity: 0;
  transform: translateY(-8px) scale(0.95);
  pointer-events: none;
  transition: opacity 0.2s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.lang-dropdown.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.nav-lang .dropdown-icon {
  transition: transform 0.2s ease;
}

.nav-lang.active .dropdown-icon {
  transform: rotate(180deg);
}

.lang-option {
  padding: 8px 12px;
  color: var(--text-light);
  font-size: 13px;
  text-decoration: none;
  border-radius: 6px;
  transition: var(--transition-fast);
}

.lang-option:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Buttons */
.btn-cta {
  background-color: var(--accent-red);
  color: var(--text-light);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 100px;
  transition: var(--transition-smooth);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 68, 79, 0.3);
  display: inline-block;
}

.btn-cta:hover {
  background-color: var(--accent-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--accent-red-glow);
}

.btn-cta:active {
  transform: translateY(0);
}

/* Main / Hero Content */
main {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 120px 40px 80px 80px;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
}

.hero-content {
  max-width: 650px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  animation: fadeInUp 1s ease-out;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 4.8rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1.5px;
  background: linear-gradient(120deg, #00f0ff 0%, #00ff88 30%, #ff7a00 50%, #00ff88 70%, #00f0ff 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: shiftGradient 6s linear infinite;
}

.hero-subtitle {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 580px;
}

.hero-actions {
  margin-top: 10px;
}

.hero-actions .btn-cta {
  padding: 16px 36px;
  font-size: 16px;
}

/* Bottom Trustpilot Bar */
.trustpilot-bar {
  background-color: #06080b;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 18px 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-light);
  z-index: 10;
}

.stars-container {
  display: flex;
  gap: 4px;
}

.star {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 20px;
  height: 20px;
  background-color: #00b67a;
  color: #ffffff;
  font-size: 12px;
  font-weight: bold;
}

.trustpilot-text {
  font-weight: 400;
  opacity: 0.95;
  display: flex;
  align-items: center;
  gap: 8px;
}

.trustpilot-bold {
  font-weight: 600;
}

.trustpilot-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 15px;
  margin-left: 4px;
}

.trustpilot-star-icon {
  color: #00b67a;
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Floating Action Widgets */
.floating-widgets {
  position: fixed;
  bottom: 80px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 99;
}

.floating-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.floating-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.floating-btn svg {
  width: 26px;
  height: 26px;
}

.btn-chat {
  color: #0c1017 !important;
}
.btn-chat svg {
  fill: #0c1017;
}

.btn-whatsapp {
  color: #25d366 !important;
}
.btn-whatsapp svg {
  fill: #25d366;
}

/* Chat Window Widget */
.chat-window {
  position: fixed;
  bottom: 150px;
  right: 24px;
  width: 320px;
  height: 420px;
  background: rgba(15, 18, 26, 0.85);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 99;
  transform: translateY(30px) scale(0.9);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.chat-window.active {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.chat-header {
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-agent-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--accent-red);
  color: var(--text-light);
  font-family: var(--font-heading);
  font-weight: 800;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
}

.chat-agent-name {
  font-size: 14px;
  font-weight: 600;
}

.chat-agent-status {
  font-size: 11px;
  color: #00b67a;
  display: flex;
  align-items: center;
  gap: 6px;
}

.chat-agent-status::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: #00b67a;
  border-radius: 50%;
}

.chat-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: var(--transition-fast);
}

.chat-close-btn:hover {
  color: var(--text-light);
}

.chat-messages {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13px;
  line-height: 1.4;
}

.message {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 12px;
}

.bot-msg {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-light);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}

.user-msg {
  background: var(--accent-red);
  color: var(--text-light);
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

.chat-input-area {
  padding: 12px;
  border-top: 1px solid var(--glass-border);
  display: flex;
  gap: 8px;
  background: rgba(0, 0, 0, 0.2);
}

.chat-input-area input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--text-light);
  font-size: 13px;
  font-family: var(--font-body);
  outline: none;
  transition: var(--transition-fast);
}

.chat-input-area input:focus {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
}

.chat-input-area button {
  background: var(--accent-red);
  color: var(--text-light);
  border: none;
  border-radius: 8px;
  width: 34px;
  height: 34px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.chat-input-area button:hover {
  background: var(--accent-red-hover);
  transform: scale(1.05);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  main {
    padding: 140px 40px 60px 40px;
  }

  .hero-title {
    font-size: 3.8rem;
  }

  .nav-capsule {
    display: none;
    /* Hide on tablets and mobile, can use a hamburger or just rely on the CTA */
  }

  header {
    padding: 20px 24px;
  }
}

@media (max-width: 768px) {
  body {
    background-position: 70% center;
    /* Adjust background focal point */
  }

  .hero-bg-wrapper::after {
    /* Stronger vertical overlay on mobile */
    background: linear-gradient(180deg,
        rgba(10, 12, 16, 0.95) 0%,
        rgba(10, 12, 16, 0.85) 60%,
        rgba(10, 12, 16, 0.98) 100%);
  }

  main {
    padding: 120px 24px 60px 24px;
    align-items: flex-start;
  }

  .hero-title {
    font-size: 2.8rem;
    letter-spacing: -1px;
  }

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

  .trustpilot-bar {
    flex-direction: column;
    text-align: center;
    gap: 8px;
    padding: 16px 20px;
  }

  .floating-widgets {
    bottom: 120px;
    /* Adjust so it doesn't block the Trustpilot stack */
    right: 16px;
  }

  .floating-btn {
    width: 48px;
    height: 48px;
  }

  .floating-btn svg {
    width: 22px;
    height: 22px;
  }
}

/* Theme Toggle Button Styles */
.header-actions-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.theme-toggle-btn {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  color: var(--text-light);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.theme-toggle-btn:hover {
  background: var(--glass-bg-hover);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.05);
}

.theme-toggle-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  transition: var(--transition-fast);
}

/* Toggle icon display: Moon in dark mode, Sun in light mode */
.theme-toggle-btn .sun-icon {
  display: none;
}

.theme-toggle-btn .moon-icon {
  display: block;
}

/* Light Theme Variables and Styling Overrides */
body.light-theme {
  --bg-dark: #f5f7fb;
  --bg-darker: #eef2f8;
  --text-light: #0d1117;
  --text-muted: rgba(13, 17, 23, 0.75);
  --text-dim: rgba(13, 17, 23, 0.5);
  
  --glass-bg: rgba(0, 0, 0, 0.04);
  --glass-bg-hover: rgba(0, 0, 0, 0.07);
  --glass-border: rgba(0, 0, 0, 0.08);

  --footer-bg: linear-gradient(to bottom, rgba(245, 247, 251, 0.6) 0%, rgba(238, 242, 248, 0.75) 100%);

  /* Light Theme Navigation Variables */
  --nav-bg: rgba(255, 255, 255, 0.75);
  --nav-border: rgba(0, 0, 0, 0.08);
  --nav-border-hover: rgba(0, 0, 0, 0.18);
  --nav-link-hover: rgba(0, 0, 0, 0.06);
  --nav-shadow: 0 8px 32px 0 rgba(13, 17, 23, 0.08);
  --nav-shadow-hover: 0 8px 32px 0 rgba(13, 17, 23, 0.12);

  /* Light Theme Logo Colors */
  --logo-spyy-color: #0c5494;
  --logo-fx-color: #df4d26;
}

body.light-theme .hero-bg-wrapper::after {
  background: linear-gradient(
    90deg,
    rgba(245, 247, 251, 0.98) 0%,
    rgba(245, 247, 251, 0.94) 30%,
    rgba(245, 247, 251, 0.78) 55%,
    rgba(245, 247, 251, 0.45) 100%
  );
}

body.light-theme .logo-traders {
  color: #0d1117;
}

body.light-theme .theme-toggle-btn .sun-icon {
  display: block;
}

body.light-theme .theme-toggle-btn .moon-icon {
  display: none;
}

body.light-theme .theme-toggle-btn {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

body.light-theme .theme-toggle-btn:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  border-color: rgba(0, 0, 0, 0.15);
}

body.light-theme .footer-disclaimer {
  border-bottom-color: rgba(0, 0, 0, 0.06);
  color: var(--text-dim);
}

body.light-theme .footer-disclaimer strong {
  color: var(--text-muted);
}

body.light-theme .footer-copyright,
body.light-theme .footer-bottom-note {
  color: var(--text-dim);
}

body.light-theme .trustpilot-bar {
  background-color: #eef2f8;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

body.light-theme .chat-window {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

body.light-theme .chat-header {
  background: rgba(0, 0, 0, 0.02);
}

body.light-theme .bot-msg {
  background: rgba(0, 0, 0, 0.04);
}

/* Scrolling Live Forex Ticker Bar */
.ticker-wrap {
  width: 100%;
  overflow: hidden;
  background: rgba(5, 6, 8, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 101;
  padding: 8px 0;
  height: 36px;
  display: flex;
  align-items: center;
}

.ticker {
  display: flex;
  white-space: nowrap;
  animation: ticker-slide 35s linear infinite;
  gap: 50px;
}

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

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.ticker-pair {
  color: var(--text-light);
}

.ticker-val {
  font-family: var(--font-body);
}

.ticker-val.up {
  color: #00b67a;
}

.ticker-val.down {
  color: var(--accent-red);
}

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

/* Divided Hero Section Grid Layout */
.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 80px;
  align-items: center;
  width: 100%;
}

/* Feature Highlight Badges */
.hero-badges {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  padding: 8px 16px;
  border-radius: 12px;
  width: fit-content;
  backdrop-filter: blur(5px);
  transition: var(--transition-smooth);
}

.badge-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateX(4px);
}

.badge-icon {
  width: 16px;
  height: 16px;
  color: var(--accent-red);
  stroke: currentColor;
  flex-shrink: 0;
}

.badge-item span {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}

/* Interactive Calculator Styling */
.hero-calculator-card {
  display: flex;
  justify-content: flex-end;
  animation: fadeInUp 1.2s ease-out;
}

.calc-card-glass {
  background: rgba(15, 18, 26, 0.55);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: 24px;
  padding: 32px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  transition: var(--transition-smooth);
}

.calc-card-glass:hover {
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  transform: translateY(-4px);
}

.calc-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}

.calc-subtitle {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 24px;
}

.calc-slider-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calc-slider-header {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
}

.calc-val-display {
  color: var(--accent-red);
  font-weight: 700;
}

.calc-range-input {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

.calc-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-red);
  cursor: pointer;
  box-shadow: 0 0 10px var(--accent-red-glow);
  transition: var(--transition-fast);
}

.calc-range-input::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  background: var(--accent-red-hover);
}

.calc-divider {
  height: 1px;
  background: var(--glass-border);
  margin: 20px 0;
}

.calc-result-box {
  background: rgba(255, 68, 79, 0.05);
  border: 1px dashed rgba(255, 68, 79, 0.25);
  border-radius: 16px;
  padding: 18px;
  text-align: center;
  margin-bottom: 24px;
}

.result-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  display: block;
  margin-bottom: 4px;
}

.result-amount-wrap {
  display: flex;
  justify-content: center;
  align-items: baseline;
  color: var(--text-light);
}

.result-currency {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent-red);
  margin-right: 2px;
}

.result-amount {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 800;
  color: var(--text-light);
  letter-spacing: -1px;
  font-feature-settings: "tnum";
}

.result-subtext {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 6px;
}

.calc-btn {
  width: 100%;
  text-align: center;
  padding: 14px 20px;
  font-size: 13px;
}

/* Light Theme Overrides for New Components */
body.light-theme .ticker-wrap {
  background: rgba(245, 247, 251, 0.85);
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

body.light-theme .ticker-pair {
  color: #0d1117;
}

body.light-theme .badge-item {
  background: rgba(0, 0, 0, 0.02);
}

body.light-theme .badge-item:hover {
  background: rgba(0, 0, 0, 0.04);
}

body.light-theme .badge-item span {
  color: #0d1117;
}

body.light-theme .calc-card-glass {
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

body.light-theme .calc-range-input {
  background: rgba(0, 0, 0, 0.06);
}

body.light-theme .calc-result-box {
  background: rgba(255, 68, 79, 0.03);
}

/* Media Queries updates for Ticker and Calculator */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-calculator-card {
    justify-content: center;
  }
}

/* ===================== Site Footer ===================== */
.site-footer {
  background: var(--footer-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  z-index: 2;
  margin-top: 40px;
}

.footer-accent-line {
  height: 1px;
  background: linear-gradient(90deg,
      transparent 0%,
      var(--accent-red) 30%,
      var(--accent-red) 70%,
      transparent 100%);
  opacity: 0.4;
}

.site-footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 28px;
  padding: 24px 64px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Brand Column */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 0.02em;
}

.footer-logo-accent {
  color: var(--accent-red);
}

.footer-tagline {
  font-size: 0.7rem;
  color: var(--text-dim);
  line-height: 1.4;
  max-width: 280px;
}

/* Social Icons */
.footer-socials {
  display: flex;
  gap: 8px;
  margin-top: 2px;
}

.footer-social-btn {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  transition: var(--transition-smooth);
  text-decoration: none;
}

.footer-social-btn svg {
  width: 13px;
  height: 13px;
}

@keyframes fsbBounce {
  0%   { transform: translateY(0) scale(1); }
  40%  { transform: translateY(-6px) scale(1.08); }
  65%  { transform: translateY(-3px) scale(1.04); }
  100% { transform: translateY(-5px) scale(1.06); }
}

.footer-social-btn:hover {
  animation: fsbBounce 0.35s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

/* Platform brand colours on hover */
.fsb-instagram:hover { background: rgba(225, 48, 108, 0.14); border-color: rgba(225, 48, 108, 0.35); color: #E1306C; box-shadow: 0 6px 20px rgba(225, 48, 108, 0.25); }
.fsb-telegram:hover  { background: rgba(42, 171, 238, 0.14); border-color: rgba(42, 171, 238, 0.35); color: #2AABEE; box-shadow: 0 6px 20px rgba(42, 171, 238, 0.25); }
.fsb-whatsapp:hover  { background: rgba(37, 211, 102, 0.14); border-color: rgba(37, 211, 102, 0.35); color: #25D366; box-shadow: 0 6px 20px rgba(37, 211, 102, 0.25); }
.fsb-tiktok:hover    { background: rgba(255, 255, 255, 0.10); border-color: rgba(255, 255, 255, 0.25); color: #ffffff; box-shadow: 0 6px 20px rgba(255, 255, 255, 0.12); }
.fsb-email:hover     { background: rgba(240, 162, 54, 0.14); border-color: rgba(240, 162, 54, 0.35); color: var(--accent-red); box-shadow: 0 6px 20px rgba(240, 162, 54, 0.25); }
.fsb-facebook:hover  { background: rgba(24, 119, 242, 0.14); border-color: rgba(24, 119, 242, 0.35); color: #1877F2; box-shadow: 0 6px 20px rgba(24, 119, 242, 0.25); }
.fsb-youtube:hover   { background: rgba(255, 0, 0, 0.14); border-color: rgba(255, 0, 0, 0.35); color: #FF0000; box-shadow: 0 6px 20px rgba(255, 0, 0, 0.25); }

/* Link Columns */
.footer-links-title {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 8px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* Quick Links double column grid layout */
.site-footer-inner > div:nth-child(2) .footer-links-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px 16px;
}

.footer-link {
  font-size: 0.78rem;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
  display: inline-block;
}

.footer-link:hover {
  color: var(--accent-red);
  padding-left: 4px;
}

/* Disclaimer */
.footer-disclaimer {
  padding: 8px 64px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.15);
  line-height: 1.45;
}

.footer-disclaimer strong {
  color: rgba(255, 255, 255, 0.24);
  font-weight: 600;
}

/* Bottom bar */
.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 64px;
}

.footer-copyright,
.footer-bottom-note {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.18);
}

/* Footer responsive */
@media (max-width: 1024px) {
  .site-footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 24px 32px 18px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-disclaimer,
  .footer-bottom-bar {
    padding-left: 32px;
    padding-right: 32px;
  }
}

@media (max-width: 600px) {
  .site-footer-inner {
    grid-template-columns: 1fr;
    padding: 20px 20px 16px;
  }

  .footer-bottom-bar {
    flex-direction: column;
    gap: 6px;
    text-align: center;
    padding: 8px 20px;
  }

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

/* ===================== Reviews Section ===================== */
.reviews-section {
  position: relative;
  z-index: 2;
  background: transparent;
}

.reviews-container {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 100px 40px 120px;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.reviews-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.reviews-subtitle {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent-red);
}

.reviews-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -1px;
  background: linear-gradient(120deg, #00f0ff 0%, #00ff88 30%, #ff7a00 50%, #00ff88 70%, #00f0ff 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: shiftGradient 6s linear infinite;
  display: inline-block;
}

.reviews-header-line {
  width: 60px;
  height: 3px;
  background-color: var(--accent-red);
  border-radius: 2px;
  margin-top: 8px;
}

/* Reviews Carousel Slider */
.reviews-slider-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.reviews-track-container {
  overflow: hidden;
  width: 100%;
  padding: 12px 4px;
}

.reviews-track {
  display: flex;
  gap: 32px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;     /* Firefox */
}

.reviews-track::-webkit-scrollbar {
  display: none;             /* Chrome, Safari, Opera */
}

.review-card {
  flex: 0 0 390px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: 24px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: var(--transition-smooth);
}

.review-card:hover {
  transform: translateY(-8px);
  border-color: rgba(240, 162, 54, 0.3);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.45);
  background: var(--glass-bg-hover);
}

/* Slider Nav Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(15, 18, 26, 0.7);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.slider-arrow svg {
  width: 20px;
  height: 20px;
}

.slider-arrow:hover {
  background: var(--accent-red);
  border-color: var(--accent-red);
  box-shadow: 0 0 15px rgba(240, 162, 54, 0.4);
  transform: translateY(-50%) scale(1.1);
}

.arrow-left {
  left: -24px;
}

.arrow-right {
  right: -24px;
}

.review-stars {
  color: var(--accent-red);
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.review-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  flex-grow: 1;
}

/* Card footer containing user info and action counters */
.review-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 18px;
  margin-top: auto;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-red);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.review-user-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.review-user-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-light);
}

.review-user-title {
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* Action Buttons (Like / Share Forward) */
.review-actions {
  display: flex;
  gap: 8px;
}

.action-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-dim);
  font-size: 0.8rem;
  font-family: var(--font-body);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
}

.action-btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  transition: var(--transition-fast);
}

.action-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-light);
  border-color: rgba(255, 255, 255, 0.15);
}

/* Specific Active/Hover Colors */
.btn-like.active {
  background: rgba(240, 162, 54, 0.1);
  border-color: rgba(240, 162, 54, 0.3);
  color: var(--accent-red);
}

.btn-like.active svg {
  fill: var(--accent-red);
}

.btn-like:hover {
  color: var(--accent-red);
}

.btn-share:hover {
  color: #00b67a;
}

/* Light Theme Overrides */
body.light-theme .review-card {
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

body.light-theme .review-card:hover {
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.07);
}

body.light-theme .review-footer {
  border-top-color: rgba(0, 0, 0, 0.05);
}

body.light-theme .slider-arrow {
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-light);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

body.light-theme .action-btn {
  background: rgba(0, 0, 0, 0.02);
}

body.light-theme .action-btn:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #0d1117;
}

/* Responsive constraints */
@media (max-width: 1024px) {
  .review-card {
    flex: 0 0 310px;
    padding: 28px;
  }
  
  .reviews-title {
    font-size: 2.4rem;
  }
  
  .reviews-container {
    padding: 80px 24px 100px;
  }
  
  .slider-arrow {
    display: none; /* Rely on native swipe on mobile */
  }
  
  .reviews-track {
    gap: 20px;
    padding-bottom: 12px;
  }
}

/* ── Additional Animations & Light Theme Overrides ── */

@keyframes shiftGradient {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

@keyframes capsuleGlow {
  0% {
    border-color: rgba(0, 240, 255, 0.15);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4), 0 0 8px rgba(0, 240, 255, 0.1);
  }
  100% {
    border-color: rgba(0, 255, 136, 0.35);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.45), 0 0 16px rgba(0, 255, 136, 0.25);
  }
}

/* Light Theme Contrast Overrides */
body.light-theme .hero-title,
body.light-theme .reviews-title {
  background: linear-gradient(120deg, #007791 0%, #00a86b 30%, #e65100 50%, #00a86b 70%, #007791 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

@keyframes activeNavBubble {
  0% { transform: scale(0.92); opacity: 0.85; }
  100% { transform: scale(1); opacity: 1; }
}

/* Capsule spring pop-in */
@keyframes capsulePopIn {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.88);
    filter: blur(6px);
  }
  40% {
    opacity: 1;
    filter: blur(0px);
  }
  70% {
    transform: translateY(-4px) scale(1.03);
  }
  85% {
    transform: translateY(2px) scale(0.99);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0px);
  }
}

/* Individual nav link slide-up reveal */
@keyframes capsuleLinkReveal {
  0% {
    opacity: 0;
    transform: translateY(10px) scale(0.92);
  }
  60% {
    transform: translateY(-2px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}