/* ==========================================================================
   Combined BLOXtrade Styling System (global + components)
   ========================================================================== */

/* ==========================================================================
   Design Tokens & Global Styles for BLOXtrade
   ========================================================================== */

@font-face {
  font-family: 'Morganite';
  src: url('../assets/fonts/Morganite-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Morganite';
  src: url('../assets/fonts/Morganite-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Colors */
  --color-bg-primary: #ffffff;
  --color-bg-secondary: #f9faf9; /* Subtle off-white for contrast */
  --color-bg-dark: #1B2417; /* Main dark tone */
  --color-bg-dark-elevated: #242f1f;
  
  --color-text-primary: #1B2417;
  --color-text-secondary: #4a5c43;
  --color-text-muted: #657c5d;
  
  --color-text-inverse: #ffffff;
  --color-text-inverse-muted: #a3b89b;

  --color-accent: #81CD4E;
  --color-accent-hover: #61B12F;
  
  --color-border: rgba(27, 36, 23, 0.08);
  --color-border-inverse: rgba(255, 255, 255, 0.1);

  /* Typography */
  --font-family: 'Inter', sans-serif;
  --font-family-heading: 'Morganite', sans-serif;

  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;
  
  /* Radii */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Basics */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-family);
  color: var(--color-text-primary);
  background-color: var(--color-bg-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

img, svg {
  max-width: 100%;
  display: block;
}

* {
  min-width: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
  .eyebrow::before {
    display: none;
  }
  .eyebrow {
    justify-content: center;
    text-align: center;
    line-height: 1.4;
  }
}

.section {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
  position: relative;
}

.section-dark {
  background-color: var(--color-bg-dark);
  color: var(--color-text-inverse);
}

.section-secondary {
  background-color: var(--color-bg-secondary);
}

/* Typography Classes */
.h1, .h2, .h3, .h4 {
  font-family: var(--font-family-heading);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 0.9;
}

.h1 { font-size: clamp(4.5rem, 14vw, 12rem); }
.h2 { font-size: clamp(3rem, 9vw, 8.5rem); }
.h3 { font-size: clamp(2rem, 6vw, 5.5rem); }
.h4 { font-size: clamp(1.5rem, 4vw, 3.5rem); }

.eyebrow {
  font-family: var(--font-family-heading);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background-color: currentColor;
}

.body-large {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  color: var(--color-text-secondary);
  line-height: 1.5;
  font-weight: 300;
}

.section-dark .body-large,
.section-dark .eyebrow {
  color: var(--color-text-inverse-muted);
}

.text-accent {
  color: var(--color-accent);
}

/* Animation Utilities */
.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
  will-change: opacity, transform;
}

.reveal-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-scale.in-view {
  opacity: 1;
  transform: scale(1);
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }

/* Lenis smooth scroll */
html.lenis, html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
  .reveal-up, .reveal-scale {
    opacity: 1;
    transform: none;
  }
}


.bg-dark {
  background-color: var(--color-bg-dark) !important;
  color: var(--color-text-inverse) !important;
}


/* ==========================================================================
   Components section
   ========================================================================== */

/* ==========================================================================
   Components for BLOXtrade
   ========================================================================== */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 1.75rem;
  border-radius: var(--radius-md);
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: transparent;
  color: var(--color-text-primary);
  border: 1px solid rgba(27, 36, 23, 0.25);
  box-shadow: none;
  text-shadow: none;
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(27, 36, 23, 0.03), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s ease-in-out;
}
.btn-primary:hover {
  background: rgba(27, 36, 23, 0.02);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(115, 209, 61, 0.1);
  border-color: rgba(27, 36, 23, 0.6);
}
.btn-primary:hover::after {
  left: 200%;
}

.section-dark .btn-primary {
  background: transparent;
  color: var(--color-text-inverse);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: none;
  text-shadow: none;
}
.section-dark .btn-primary::after {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
}
.section-dark .btn-primary:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text-inverse);
  box-shadow: 0 6px 16px rgba(115, 209, 61, 0.15);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-text-primary);
  border-color: rgba(27, 36, 23, 0.25);
}
.btn-secondary:hover {
  background-color: var(--color-bg-secondary);
  transform: translateY(-2px);
}

.section-dark .btn-secondary {
  color: var(--color-text-inverse);
  border-color: rgba(255, 255, 255, 0.25);
}
.section-dark .btn-secondary:hover {
  background-color: rgba(255,255,255,0.05);
}

/* Button Icon Animation */
.btn-icon {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform var(--transition-fast);
}
.btn:hover .btn-icon {
  transform: translateX(4px);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.5rem 0;
  transition: background var(--transition-fast), padding var(--transition-fast);
}
.header.scrolled {
  background: rgba(11, 17, 10, 0.9); /* Dark green background */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: opacity var(--transition-fast);
}
.logo:hover {
  opacity: 0.8;
}
.logo img {
  height: 36px;
  width: auto;
  object-fit: contain;
  display: block;
}
.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}
.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}
.nav-link:hover {
  color: #ffffff;
}
.header-actions {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.lang-switcher {
  display: flex;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}
.lang-btn {
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: color var(--transition-fast);
}
.lang-btn.active, .lang-btn:hover {
  color: #ffffff;
}
.lang-sep {
  color: var(--color-border);
}

/* Split Grid Component */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
.split-grid-center {
  align-items: center;
}

/* Insights Grid Component */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 24px;
  height: 24px;
  position: relative;
}
.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #ffffff;
  position: absolute;
  transition: all var(--transition-fast);
}
.menu-toggle span:nth-child(1) { top: 6px; }
.menu-toggle span:nth-child(2) { top: 14px; }

/* Hero Section */
.hero {
  padding-top: 12rem;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero .eyebrow {
  justify-content: center;
}
.hero .h1 {
  margin-bottom: 2rem;
  color: #ffffff;
}
.hero .body-large {
  margin-bottom: 3rem;
  max-width: 600px;
  color: #d1d6d1; /* Platinum/Silver grey for readability on dark green */
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  justify-content: center;
}
.hero .btn-secondary {
  background-color: var(--color-accent);
  color: var(--color-bg-dark);
  border: none;
  font-weight: 700;
}
.hero .btn-secondary:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
}

.hero-map-dots {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.9) 1.5px, transparent 1.5px);
  background-size: 12px 12px;
  mask-image: url('../assets/images/earth-topology.webp');
  -webkit-mask-image: url('../assets/images/earth-topology.webp');
  mask-mode: luminance;
  -webkit-mask-mode: luminance;
  mask-size: 90% auto;
  -webkit-mask-size: 90% auto;
  mask-position: center top;
  -webkit-mask-position: center top;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  opacity: 0.15;
  animation: map-blink 6s infinite alternate ease-in-out;
  pointer-events: none;
  z-index: 2;
}

@media (max-width: 768px) {
  .hero-map-dots {
    mask-size: 180% auto;
    -webkit-mask-size: 180% auto;
    mask-position: center 20%;
    -webkit-mask-position: center 20%;
  }
}

@keyframes map-blink {
  0% { opacity: 0.15; }
  100% { opacity: 0.6; }
}
.hero-support {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  width: 100%;
  display: flex;
  justify-content: center;
}

/* Premium Fintech Aurora Grid */
.hero-mesh-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-color: #0b110a; /* Dark green theme */
  overflow: hidden;
}

/* 1. Subtle Animated Grid */
.hero-mesh-bg::before {
  display: none;
}

@keyframes grid-perspective {
  0% { transform: perspective(600px) rotateX(60deg) translateY(0); }
  100% { transform: perspective(600px) rotateX(60deg) translateY(80px); }
}

/* 2. Soft Auroras */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  z-index: 1;
  animation: aurora-float 25s ease-in-out infinite alternate;
  will-change: transform;
  pointer-events: none;
}

.hero-orb-1 {
  width: 80vw;
  height: 80vw;
  max-width: 800px;
  max-height: 800px;
  background: radial-gradient(circle, rgba(97, 177, 47, 0.12) 0%, rgba(97, 177, 47, 0.04) 50%, rgba(97, 177, 47, 0) 70%);
  top: -30%;
  left: -20%;
}

.hero-orb-2 {
  width: 60vw;
  height: 60vw;
  max-width: 600px;
  max-height: 600px;
  background: radial-gradient(circle, rgba(45, 64, 30, 0.15) 0%, rgba(45, 64, 30, 0.05) 50%, rgba(45, 64, 30, 0) 70%);
  bottom: -10%;
  right: -10%;
  animation-delay: -5s;
}

.hero-orb-3 {
  width: 50vw;
  height: 50vw;
  max-width: 500px;
  max-height: 500px;
  background: radial-gradient(circle, rgba(97, 177, 47, 0.08) 0%, rgba(97, 177, 47, 0.02) 50%, rgba(97, 177, 47, 0) 70%);
  top: 30%;
  left: 50%;
  animation-delay: -10s;
}

@keyframes aurora-float {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(3%, 5%) scale(1.05); }
  100% { transform: translate(-3%, 8%) scale(0.95); }
}

/* 3. Global Noise Texture for Matte Finish */
.hero-mesh-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.85" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)" opacity="0.03"/%3E%3C/svg%3E');
  z-index: 3;
  pointer-events: none;
}

/* Metrics Grid */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  border-top: 1px solid var(--color-border);
  padding-top: 4rem;
}
.metric-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.metric-value {
  font-family: var(--font-family);
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--color-text-primary);
}
.metric-label {
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  line-height: 1.4;
}

/* Infrastructure List */
.infra-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  color: var(--color-text-primary);
  font-weight: 500;
}
.infra-list li {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.icon-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(97, 177, 47, 0.15);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.step-item {
  background: var(--color-bg-primary);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: default;
  display: flex;
  flex-direction: column;
}
.step-img-wrapper {
  height: 200px;
  width: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
}
.step-item .step-number {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--color-accent);
  color: var(--color-bg-primary);
  font-family: var(--font-family-heading);
  font-size: 1.5rem;
  font-weight: 900;
  padding: 0.25rem 0.75rem;
  border-radius: 8px;
  transition: transform 0.4s ease;
}
.step-content {
  padding: 2rem;
  flex: 1;
}
.step-item h3 {
  color: var(--color-text);
}
.step-item p {
  color: var(--color-text-secondary);
}
.step-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.05);
}
.step-item:hover .step-number {
  transform: scale(1.05);
}

/* Marquee Ecosystem */
.marquee-wrapper {
  overflow: hidden;
  width: 100%;
  background: var(--color-bg-primary);
  padding: 3rem 0;
  border-bottom: 1px solid var(--color-border);
  position: relative;
}
/* Subtle fade gradients on edges for a premium feel */
.marquee-wrapper::before,
.marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  width: 15%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--color-bg-primary), rgba(255,255,255,0));
}
.marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--color-bg-primary), rgba(255,255,255,0));
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: scroll-marquee 50s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 6rem;
  padding-right: 6rem; /* Must match gap for seamless loop */
}

@keyframes scroll-marquee {
  to {
    transform: translateX(-50%);
  }
}

.marquee-item {
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.4;
  filter: grayscale(100%);
  transition: opacity 0.4s ease, filter 0.4s ease;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  color: var(--color-text-primary);
}

.marquee-item:hover {
  opacity: 1;
  filter: grayscale(0%);
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation-play-state: paused;
  }
}

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}
.bento-card {
  background: var(--color-bg-primary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 3rem 2rem;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.6s ease;
  will-change: transform, box-shadow;
}
.bento-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px -12px rgba(27, 36, 23, 0.08);
  border-color: rgba(27, 36, 23, 0.15);
}
.bento-card .h4 {
  margin-bottom: 1rem;
}
.bento-card p {
  color: var(--color-text-secondary);
  font-size: 1rem;
}

/* Problem Section Cards */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}
.problem-card {
  padding: 2rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--color-border-inverse);
  border-radius: var(--radius-sm);
  color: var(--color-text-inverse);
  transition: transform 0.4s ease, background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  will-change: transform, box-shadow;
}

.problem-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.06);
  border-color: var(--color-accent);
  box-shadow: 0 16px 32px rgba(0,0,0,0.3);
}

.problem-card-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform 0.4s ease, background 0.4s ease;
}

.problem-card:hover .problem-card-icon {
  transform: scale(1.15) rotate(5deg);
  background: var(--color-accent);
  color: var(--color-bg-primary);
}

/* Problem Section Layout */
.problem-section {
  overflow: hidden;
}

.problem-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.problem-text-col {
  max-width: 600px;
}

.problem-text-col .problem-grid {
  grid-template-columns: 1fr 1fr;
}

.problem-visual-col {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Globe Visualization */
.globe-wrapper {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 1;
}

.globe-wrapper canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.globe-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(97, 177, 47, 0.12) 0%, rgba(97, 177, 47, 0.04) 40%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: globe-pulse 4s ease-in-out infinite alternate;
}

@keyframes globe-pulse {
  0% { opacity: 0.6; transform: translate(-50%, -50%) scale(0.95); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
}

/* Comparison Cards */
.comparison-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.comp-card-legacy {
  padding: 2.5rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: rgba(0,0,0,0.02);
}

.comp-card-bloxtrade {
  padding: 2.5rem;
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, #2d401e, #1B2417);
  color: var(--color-text-inverse);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  position: relative;
}

.comp-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.comp-list li {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 1rem;
}

.comp-list-label {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.comp-card-legacy .comp-list-label {
  color: var(--color-text-muted);
}

.comp-card-bloxtrade .comp-list-label {
  color: var(--color-text-inverse-muted);
}

.comp-card-legacy .comp-list-value {
  color: var(--color-text-secondary);
  font-weight: 500;
}

.comp-card-bloxtrade .comp-list-value {
  color: #ffffff;
  font-weight: 500;
}

/* Footer */
.footer {
  background: var(--color-bg-dark);
  color: var(--color-text-inverse);
  padding: 6rem 0 3rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 3fr 2fr 2fr;
  gap: 4rem;
  margin-bottom: 6rem;
}
.footer-brand .logo {
  color: var(--color-text-inverse);
  margin-bottom: 1.5rem;
  display: block;
}
.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
}
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text-inverse-muted);
  transition: all var(--transition-fast);
}
.social-link:hover {
  background: var(--color-accent);
  color: var(--color-bg-primary);
  transform: translateY(-2px);
}
.social-link svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}
.footer-col-title {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  color: #61b12f; /* Olive Green from brand palette */
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.footer-links a {
  color: #ffffff; /* White links for better contrast */
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-block;
}
.footer-links a:hover {
  color: #fff;
  transform: translateX(4px);
}
.footer-legal {
  border-top: 1px solid var(--color-border-inverse);
  padding-top: 3rem;
  font-size: 0.75rem;
  color: var(--color-text-inverse-muted);
  line-height: 1.6;
}


/* Footer Brand Row */
.footer-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3rem;
}
.footer-brand-row .logo {
  margin-bottom: 0;
}
.footer-brand-row .social-links {
  margin-top: 0;
}

/* Footer Bottom Bar */
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-top: 2.5rem;
  padding-bottom: 3rem;
  border-top: 1px solid var(--color-border-inverse);
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-copyright {
  font-size: 0.875rem;
  color: var(--color-text-inverse-muted);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  font-size: 0.875rem;
  color: var(--color-text-inverse-muted);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: #fff;
}
\n/* Responsive Overrides */
@media (max-width: 1024px) {
  .hero-content {
    padding: 0 2rem;
  }
  .metrics-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .bento-card {
    grid-column: span 6;
  }
  .problem-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .problem-visual-col {
    order: -1;
  }
  .globe-wrapper {
    max-width: 400px;
  }
  .problem-text-col .problem-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .insights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links, 
  .header-actions .btn, 
  .header-actions .nav-link {
    display: none;
  }
  .nav-links.active {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--color-bg-dark);
    padding: 1.5rem 0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .nav-links.active .nav-link {
    margin: 0.5rem 2rem;
    font-size: 1rem;
    text-align: center;
  }
  .header-actions {
    gap: 1rem;
  }
  .menu-toggle {
    display: block;
    margin-left: 0.5rem;
  }
  .split-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-ctas {
    flex-direction: column;
  }
  .metrics-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .metric-item {
    text-align: center;
  }
  .bento-card {
    grid-column: span 12 !important;
  }
  .problem-text-col .problem-grid {
    grid-template-columns: 1fr;
  }
  .globe-wrapper {
    max-width: 320px;
  }
  .comparison-table th, .comparison-table td {
    padding: 1rem;
    font-size: 1rem;
  }
  .comparison-cards {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .footer-brand {
    grid-column: span 2;
  }
  .social-links {
    margin-top: 1.5rem;
  }
  .insights-grid {
    grid-template-columns: 1fr;
  }
  .footer-legal {
    text-align: left;
  }
}

/* Custom Classes added for layout requests */
.services-title-wrapper {
  display: flex;
  flex-direction: column;
}
.services-subtitle {
  font-family: var(--font-family);
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.3;
  margin-top: 0.5rem;
}
@media (min-width: 1024px) {
  .services-title-wrapper {
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
  }
  .services-subtitle {
    margin-top: 0;
  }
}

.partner-logo-box {
  width: 130px;
  height: 80px;
  background: transparent;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (min-width: 1024px) {
  .partner-logo-box {
    width: 200px;
    height: 120px;
  }
}

.solution-image {
  margin: 3rem 0;
  width: 100%;
  height: 300px;
  background-color: var(--color-bg-dark);
  position: relative;
  overflow: hidden;
}


@media (min-width: 768px) {
  .solution-image {
    height: 500px;
  }
  .solution-image::before {
    background-attachment: fixed;
  }
}
.solution-text-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1000px;
  margin: 3rem auto;
  text-align: center;
}
@media (min-width: 768px) {
  .solution-text-grid {
    grid-template-columns: 1fr 1fr;
    text-align: left;
    gap: 4rem;
  }
}
.bento-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.bento-card-header .bento-icon {
  margin-bottom: 0 !important;
}
.bento-card-header h3 {
  margin-bottom: 0;
  line-height: 1;
}


/* Forms */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-inverse-muted);
}
.form-input, .form-textarea {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1rem;
  color: white;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
  outline: none;
}
.form-input:focus, .form-textarea:focus {
  border-color: var(--color-accent);
  background-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 4px rgba(129, 205, 78, 0.1);
}
.form-textarea {
  min-height: 120px;
  resize: vertical;
}
.form-input::placeholder, .form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

/* Custom Footer Layout Override (Image 2 style) */
@media (min-width: 1024px) {
  .footer > .container {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    grid-template-areas:
      "brand grid"
      "legal grid"
      "bottom grid";
    gap: 0 6rem;
    align-items: start;
  }
  .footer-brand {
    grid-area: brand;
    margin-bottom: 2rem;
  }
  .footer-legal {
    grid-area: legal;
    margin-bottom: 0 !important;
    padding-bottom: 2rem !important;
  }
  .footer-bottom {
    grid-area: bottom;
    margin-top: 0 !important;
  }
  .footer-grid {
    grid-area: grid;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2rem;
    margin-bottom: 0 !important;
  }
}

/* Scroll offset for anchored sections to prevent headers from cutting off titles */
#infrastructure,
#company,
#solutions {
  scroll-margin-top: 100px;
}

