@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;
  --logo-gradient-start: #00f0ff;
  --logo-gradient-end: #ff7a00;
  --logo-axis-color: rgba(255, 255, 255, 0.4);

  /* 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: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-image: url('pexels-georgemorina-4960335.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

.hero-bg-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Horizontal dark overlay for text readability on the left */
  background:
    linear-gradient(90deg,
      rgba(10, 12, 16, 0.96) 0%,
      rgba(10, 12, 16, 0.88) 35%,
      rgba(10, 12, 16, 0.65) 60%,
      rgba(10, 12, 16, 0.30) 100%),
    /* Vertical fade — visible at top, darkens gradually toward bottom */
    linear-gradient(180deg,
      rgba(10, 12, 16, 0.0)  0%,
      rgba(10, 12, 16, 0.35) 40%,
      rgba(10, 12, 16, 0.70) 70%,
      rgba(10, 12, 16, 0.88) 100%);
}

/* Home Page Specific Background Gradient - Reduced Opacity */
body.home-page .hero-bg-wrapper::after {
  background:
    linear-gradient(90deg,
      rgba(10, 12, 16, 0.78) 0%,
      rgba(10, 12, 16, 0.68) 35%,
      rgba(10, 12, 16, 0.45) 60%,
      rgba(10, 12, 16, 0.15) 100%),
    linear-gradient(180deg,
      rgba(10, 12, 16, 0.0)  0%,
      rgba(10, 12, 16, 0.20) 40%,
      rgba(10, 12, 16, 0.50) 70%,
      rgba(10, 12, 16, 0.70) 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 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;
}

.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 40px 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 Logo Colors */
  --logo-spyy-color: #0c5494;
  --logo-fx-color: #df4d26;
  --logo-gradient-start: #007791;
  --logo-gradient-end: #d85c00;
  --logo-axis-color: rgba(13, 17, 23, 0.35);

  /* 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);
}

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);
  }
}

/* Hero Section – single centred column */
.hero-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  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 */


/* ═══════════════════════════════════════════════════
   SHARED SECTION UTILITIES
═══════════════════════════════════════════════════ */

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-red);
  margin-bottom: 20px;
}

.tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-red);
  display: inline-block;
  box-shadow: 0 0 8px var(--accent-red);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -1px;
  color: var(--text-light);
  margin-bottom: 40px;
}

.section-subtitle {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 56px;
  margin-top: -20px;
}

.gradient-text {
  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;
}

/* Ghost / Outline button */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  border-radius: 100px;
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-smooth);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--text-light);
  background: var(--glass-bg);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════
   ABOUT US SECTION
═══════════════════════════════════════════════════ */

.about-section {
  position: relative;
  padding: 60px 0 60px;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(10, 12, 16, 0.6) 50%,
    var(--bg-dark) 100%
  );
  overflow: hidden;
}

.about-section::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

/* Stats Row */
.about-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  border-radius: 20px;
  padding: 32px 48px;
  margin-bottom: 64px;
  width: fit-content;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0 48px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  background: linear-gradient(135deg, #00f0ff 0%, #ff7a00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  letter-spacing: -1px;
}

.stat-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  text-align: center;
  white-space: nowrap;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--glass-border);
  flex-shrink: 0;
}

/* Bio Layout */
.about-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: start;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.about-lead {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-light);
}

.about-body {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-muted);
}

.about-body strong {
  color: var(--text-light);
  font-weight: 600;
}

.broker-callout {
  border-left: 3px solid var(--accent, #f0a500);
  padding-left: 14px;
  color: var(--text-light);
  background: rgba(240, 165, 0, 0.05);
  border-radius: 0 6px 6px 0;
  padding-top: 10px;
  padding-bottom: 10px;
  margin-top: 4px;
}

.about-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.about-cta-btn {
  font-size: 14px;
}

/* Broker CTA Section */
.broker-cta-row {
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 20px;
}

.broker-cta-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-red);
  margin: 0;
}

.broker-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.broker-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid;
  transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
  letter-spacing: 0.02em;
}

.broker-btn .broker-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* Deriv — warm red/orange */
.broker-btn--deriv {
  color: #ff6b35;
  border-color: rgba(255, 107, 53, 0.4);
  background: rgba(255, 107, 53, 0.08);
}
.broker-btn--deriv:hover {
  background: rgba(255, 107, 53, 0.18);
  border-color: #ff6b35;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.25);
}

/* Weltrade — electric blue */
.broker-btn--weltrade {
  color: #4da6ff;
  border-color: rgba(77, 166, 255, 0.4);
  background: rgba(77, 166, 255, 0.08);
}
.broker-btn--weltrade:hover {
  background: rgba(77, 166, 255, 0.18);
  border-color: #4da6ff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(77, 166, 255, 0.25);
}

/* Exness — green */
.broker-btn--exness {
  color: #3dd68c;
  border-color: rgba(61, 214, 140, 0.4);
  background: rgba(61, 214, 140, 0.08);
}
.broker-btn--exness:hover {
  background: rgba(61, 214, 140, 0.18);
  border-color: #3dd68c;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(61, 214, 140, 0.25);
}


/* Pillar Cards */
.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pillar-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  border-radius: 16px;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: var(--transition-smooth);
}

.pillar-card:hover {
  border-color: rgba(0, 240, 255, 0.2);
  background: rgba(255, 255, 255, 0.07);
  transform: translateX(6px);
  box-shadow: -4px 0 20px rgba(0, 240, 255, 0.08);
}

.pillar-icon-wrap {
  width: 36px;
  height: 36px;
  background: rgba(0, 240, 255, 0.08);
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 4px;
}

.pillar-icon-wrap svg {
  width: 18px;
  height: 18px;
  stroke: #00f0ff;
}

.pillar-card h4 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-light);
}

.pillar-card p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Light theme overrides – About */
body.light-theme .about-section {
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(238, 242, 248, 0.6) 20%,
    var(--bg-dark) 60%
  );
}

body.light-theme .about-stats {
  background: rgba(0,0,0,0.03);
}

body.light-theme .pillar-card {
  background: rgba(0,0,0,0.025);
}

/* ═══════════════════════════════════════════════════
   SERVICES SECTION
═══════════════════════════════════════════════════ */

.services-section {
  padding: 60px 0 80px;
  background: var(--bg-dark);
  position: relative;
}

.services-section::before {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -200px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 122, 0, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.4), transparent);
  opacity: 0;
  transition: var(--transition-smooth);
}

.service-card:hover {
  border-color: rgba(0, 240, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.service-card:hover::after {
  opacity: 1;
}

.service-icon-wrap {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.1), rgba(255, 122, 0, 0.08));
  border: 1px solid rgba(0, 240, 255, 0.15);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.service-icon-wrap svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent-red);
}

.service-title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: -0.3px;
}

.service-desc {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-muted);
  flex: 1;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0;
  margin-top: 4px;
  border-top: 1px solid var(--glass-border);
  padding-top: 14px;
}

.service-features li {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-features li::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-red);
  flex-shrink: 0;
}

/* Light theme overrides – Services */
body.light-theme .service-card {
  background: rgba(0,0,0,0.02);
}

body.light-theme .service-card:hover {
  background: rgba(0,0,0,0.04);
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

/* Responsive */
@media (max-width: 1024px) {
  .section-title { font-size: 2.4rem; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .about-content { grid-template-columns: 1fr; gap: 48px; }
  .about-stats { padding: 24px 28px; flex-wrap: wrap; gap: 8px; }
  .stat-item { padding: 0 28px; }
}

@media (max-width: 768px) {
  .about-section, .services-section { padding: 50px 0; }
  .section-inner { padding: 0 24px; }
  .section-title { font-size: 2rem; }
  .services-grid { grid-template-columns: 1fr; }
  .about-stats { flex-direction: column; width: 100%; align-items: flex-start; gap: 16px; }
  .stat-divider { width: 100%; height: 1px; }
  .stat-item { align-items: flex-start; padding: 0; }
}

/* ═══════════════════════════════════════════════════
   SMOOTH SCROLLING & NAVIGATION
═══════════════════════════════════════════════════ */

html {
  scroll-behavior: smooth;
}

/* Offset so sections don't hide under the fixed header */
#hero, #about, #services, #contact {
  scroll-margin-top: 100px;
}

/* Active nav link indicator */
.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;
}

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

/* ═══════════════════════════════════════════════════
   ABOUT — REFINED LAYOUT
═══════════════════════════════════════════════════ */

/* Centered intro block above the stats */
.about-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.about-header .section-tag {
  justify-content: center;
}

.about-header .section-title {
  margin-bottom: 20px;
}

/* Override: lead paragraph inside header is lighter & centred */
.about-header .about-lead {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--text-muted);
  font-family: var(--font-body);
}

/* Full-width stats bar */
.about-stats {
  width: 100%;
  justify-content: space-evenly;
  margin-bottom: 64px;
}

/* Pillar card: horizontal layout (icon left, text right) */
.pillar-card {
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
}

.pillar-text h4 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 4px;
}

.pillar-text p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════
   SITE FOOTER
═══════════════════════════════════════════════════ */

.site-footer {
  background: var(--footer-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  z-index: 2;
  margin-top: 30px;
}

.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;
  }
}

/* ── Section Title Scroll Pop-Up Animations ── */
.section-title.anim-pop-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.section-title.anim-pop-up.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Light Theme Contrast Overrides */
body.light-theme .hero-title,
body.light-theme .gradient-text {
  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 shiftGradient {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* ── About Pillars spring pop-up transitions ── */
.pillar-card.anim-pop-up {
  opacity: 0;
  transform: scale(0.88) translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.pillar-card.anim-pop-up.revealed {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.about-pillars .pillar-card:nth-child(1) { transition-delay: 0s; }
.about-pillars .pillar-card:nth-child(2) { transition-delay: 0.15s; }
.about-pillars .pillar-card:nth-child(3) { transition-delay: 0.3s; }

/* ── Mobile Viewport Navigation & Chat Responsiveness ── */
@media (max-width: 768px) {
  body {
    padding-bottom: 90px !important;
  }

  .nav-capsule {
    display: flex !important; /* Override display: none from 1024px */
    position: fixed !important;
    bottom: 16px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: calc(100% - 32px) !important;
    max-width: 480px !important;
    height: 60px !important;
    background: rgba(10, 12, 16, 0.85) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 30px !important;
    padding: 0 12px !important;
    justify-content: space-around !important;
    align-items: center !important;
    z-index: 1000 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
  }

  .nav-capsule .nav-link {
    flex-direction: column !important;
    gap: 4px !important;
    font-size: 10px !important;
    padding: 6px 10px !important;
    border-radius: 20px !important;
    background: transparent !important;
    border: none !important;
    color: var(--text-muted) !important;
    height: auto !important;
  }

  .nav-capsule .nav-link svg.nav-icon {
    width: 18px !important;
    height: 18px !important;
  }

  .nav-capsule .nav-link svg.arrow-icon {
    display: none !important; /* Hide arrow on mobile bottom bar */
  }

  .nav-capsule .nav-link--active,
  .nav-capsule .nav-link:hover {
    color: var(--accent) !important;
    background: rgba(255, 255, 255, 0.04) !important;
  }

  /* Responsive Chat Widget adjustment for mobile screens */
  .chat-window {
    width: calc(100% - 32px) !important;
    right: 16px !important;
    left: 16px !important;
    bottom: 90px !important;
    height: 380px !important;
  }
}