@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
  --primary-navy: #081628;
  --primary-green: #00ba5f;
  --primary-green-glow: rgba(0, 186, 95, 0.4);
  --glass-bg: rgba(255, 255, 255, 0.45);
  --glass-border: rgba(255, 255, 255, 0.65);
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Elms Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #f7f9fa;
  color: var(--primary-navy);
  overflow-x: hidden;
  user-select: none;
  -webkit-font-smoothing: antialiased;
}

/* Global Smooth Scroll Padding (ensures fixed frosted navbar never obscures section headings) */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 140px;
}

.market-category-section {
  scroll-margin-top: 140px;
}

/* Logo Sub-Nav Interactive Asset Class Tags (FOREX | GOLD | INDICES | CRYPTO) */
.sub-nav-tag {
  color: #64748b;
  transition: color 0.18s ease, transform 0.18s ease;
  display: inline-block;
  cursor: pointer;
  padding: 0 1px;
}

.sub-nav-tag:hover {
  color: #00ba5f;
  transform: translateY(-0.5px);
}

/* Typography Rules */
h1,
h2,
h3,
h4,
h5,
h6,
.font-heading {
  font-family: 'Momo Trust Display', sans-serif;
}

p,
ul,
ol,
li,
.font-sans,
.font-body,
.description {
  font-family: 'Elms Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Glassmorphism Classes - Silky Frosted Glass (matched to Image 2) */
.glass-nav {
  position: relative;
  isolation: isolate;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.52) 0%, rgba(255, 255, 255, 0.36) 100%);
  backdrop-filter: blur(28px) saturate(180%) contrast(95%);
  -webkit-backdrop-filter: blur(28px) saturate(180%) contrast(95%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow:
    0 12px 32px -6px rgba(8, 22, 40, 0.07),
    0 2px 6px 0 rgba(0, 0, 0, 0.02),
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 1px 0 rgba(255, 255, 255, 0.3);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#main-nav .glass-btn {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: rgba(255, 255, 255, 0.65);
}

.glass-btn {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(175, 190, 205, 0.55);
  box-shadow:
    0 6px 20px -2px rgba(0, 0, 0, 0.06),
    inset 0 1px 2px 0 rgba(255, 255, 255, 0.95);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-btn:hover {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(0, 186, 95, 0.6);
  color: #056a36;
  box-shadow:
    0 12px 30px -5px rgba(0, 186, 95, 0.25),
    0 0 15px 0 rgba(0, 186, 95, 0.15),
    inset 0 1px 3px 0 rgba(255, 255, 255, 1);
  transform: translateY(-2px);
}

/* Green Action Button */
.btn-green {
  background: linear-gradient(135deg, #00c853 0%, #00a843 100%);
  box-shadow: 0 4px 18px 0 rgba(0, 200, 83, 0.38);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-green:hover {
  background: linear-gradient(135deg, #02df5d 0%, #00b548 100%);
  box-shadow: 0 6px 25px 0 rgba(0, 200, 83, 0.55);
  transform: translateY(-1.5px) scale(1.02);
}

/* Nav Item Link Effects */
.nav-link {
  position: relative;
  transition: all 0.25s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: #00ba5f;
  border-radius: 2px;
  transition: all 0.25s ease;
  transform: translateX(-50%);
  opacity: 0;
}

.nav-link:hover::after {
  width: 80%;
  opacity: 1;
}

/* Shimmer animation on button */
@keyframes buttonShimmer {
  0% {
    transform: translateX(-150%) skewX(-20deg);
  }

  100% {
    transform: translateX(250%) skewX(-20deg);
  }
}

.shimmer-effect {
  position: relative;
  overflow: hidden;
}

.shimmer-effect::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(255, 255, 255, 0.6) 50%,
      transparent 100%);
  animation: buttonShimmer 4s infinite ease-in-out;
  pointer-events: none;
}

/* WebGL Canvas */
#webgl-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
  z-index: 10;
}

/* Tooltip for 3D candlestick interaction */
#market-tooltip {
  position: absolute;
  pointer-events: none;
  z-index: 50;
  background: rgba(12, 26, 46, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 186, 95, 0.4);
  color: #fff;
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 12px;
  transform: translate(-50%, -120%);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), 0 0 15px rgba(0, 186, 95, 0.2);
}

#market-tooltip.active {
  opacity: 1;
  transform: translate(-50%, -135%);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Glassmorphism Mobile Navigation Drawer */
.glass-mobile-drawer {
  position: relative;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow:
    0 24px 48px -12px rgba(8, 22, 40, 0.12),
    0 4px 14px 0 rgba(0, 0, 0, 0.03);
  animation: mobileMenuSlideDown 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes mobileMenuSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.985);
  }

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

.mobile-nav-item {
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-item:hover {
  transform: translateX(4px);
}

/* Three-dot & Close Icon Toggle Display Fix */
#close-x-icon.hidden,
#three-dots-icon.hidden {
  display: none !important;
}

/* =========================================================
   Continuation Section: Glassmorphism Stat Tiles & Sections
   ========================================================= */

.stats-continuation-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #f7f9fc;
}

.stats-bg-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.stats-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Glassmorphism Stat Cards Base */
.glass-stat-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 325px;
  min-height: 295px;
  border-radius: 28px;
  padding: 2.25rem 1.6rem;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.4s ease,
    border-color 0.4s ease;
  transform-style: preserve-3d;
  perspective: 1000px;
}

/* Card Top Specular Edge Highlight */
.glass-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 48%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0) 100%);
  border-radius: 28px 28px 0 0;
  pointer-events: none;
  z-index: 1;
}

/* Dynamic Interactive Glare Sheen */
.card-glare {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
  background: radial-gradient(circle 240px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.55), transparent 75%);
  z-index: 2;
}

.glass-stat-card:hover .card-glare {
  opacity: 1;
}

/* Card 1 & 3: White Frosted Glass Tile */
.glass-stat-white {
  background: rgba(255, 255, 255, 0.46);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  box-shadow:
    0 24px 50px -15px rgba(8, 22, 40, 0.09),
    0 6px 18px -4px rgba(8, 22, 40, 0.04),
    inset 0 1px 2px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 2px 0 rgba(255, 255, 255, 0.4);
}

.glass-stat-white:hover {
  transform: translateY(-8px) scale(1.025);
  background: rgba(255, 255, 255, 0.65);
  border-color: rgba(255, 255, 255, 0.98);
  box-shadow:
    0 35px 70px -15px rgba(8, 22, 40, 0.15),
    0 12px 28px -5px rgba(0, 186, 95, 0.15),
    inset 0 1px 3px 0 rgba(255, 255, 255, 1);
}

/* Card 2: Vibrant Mint/Emerald Glass Tile */
.glass-stat-green {
  background: linear-gradient(145deg, rgba(125, 226, 162, 0.88) 0%, rgba(96, 214, 142, 0.92) 100%);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1.5px solid rgba(255, 255, 255, 0.72);
  box-shadow:
    0 25px 55px -12px rgba(0, 186, 95, 0.38),
    0 6px 20px -4px rgba(0, 186, 95, 0.22),
    inset 0 1px 2px 0 rgba(255, 255, 255, 0.85),
    inset 0 -1px 2px 0 rgba(255, 255, 255, 0.3);
}

.glass-stat-green:hover {
  transform: translateY(-8px) scale(1.025);
  background: linear-gradient(145deg, rgba(138, 238, 174, 0.94) 0%, rgba(105, 225, 150, 0.96) 100%);
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow:
    0 36px 72px -12px rgba(0, 186, 95, 0.52),
    0 14px 30px -4px rgba(0, 186, 95, 0.32),
    inset 0 1px 3px 0 rgba(255, 255, 255, 0.98);
}

/* Stat Card Content Hierarchy */
.glass-stat-card .stat-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.glass-stat-card .stat-value {
  font-family: 'Momo Trust Display', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  letter-spacing: -0.03em;
  line-height: 1;
}

.glass-stat-card .stat-label {
  font-family: 'Momo Trust Display', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  letter-spacing: -0.02em;
}

/* Feature Micro Cards */
.feature-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  box-shadow:
    0 10px 30px -5px rgba(8, 22, 40, 0.04),
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.9);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(0, 186, 95, 0.5);
  box-shadow:
    0 20px 40px -10px rgba(0, 186, 95, 0.15),
    inset 0 1px 2px 0 rgba(255, 255, 255, 1);
}

/* =========================================================
   Account Types Section Styles
   ========================================================= */

.account-card {
  position: relative;
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1.5px solid rgba(226, 232, 240, 0.9);
  border-radius: 28px;
  box-shadow:
    0 16px 40px -12px rgba(8, 22, 40, 0.05),
    0 2px 6px 0 rgba(0, 0, 0, 0.02),
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.95);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.account-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 186, 95, 0.5);
  box-shadow:
    0 24px 50px -12px rgba(8, 22, 40, 0.1),
    0 0 24px 0 rgba(0, 186, 95, 0.14),
    inset 0 1px 2px 0 rgba(255, 255, 255, 1);
}

/* Featured / Most Popular Account Card */
.account-card-popular {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(244, 253, 248, 0.96) 100%);
  border: 2px solid rgba(0, 186, 95, 0.78);
  box-shadow:
    0 24px 60px -10px rgba(0, 186, 95, 0.22),
    0 4px 16px 0 rgba(0, 0, 0, 0.03),
    inset 0 1px 2px 0 rgba(255, 255, 255, 1);
}

.account-card-popular:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 186, 95, 1);
  box-shadow:
    0 32px 70px -10px rgba(0, 186, 95, 0.34),
    0 0 30px 2px rgba(0, 186, 95, 0.22),
    inset 0 1px 3px 0 rgba(255, 255, 255, 1);
}

/* VIP Account Card */
.account-card-vip {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 246, 255, 0.97) 100%);
  border: 2px solid rgba(59, 130, 246, 0.7);
  box-shadow:
    0 24px 60px -10px rgba(59, 130, 246, 0.18),
    0 4px 16px 0 rgba(0, 0, 0, 0.03),
    inset 0 1px 2px 0 rgba(255, 255, 255, 1);
}

.account-card-vip:hover {
  transform: translateY(-8px);
  border-color: rgba(37, 99, 235, 1);
  box-shadow:
    0 32px 70px -10px rgba(37, 99, 235, 0.3),
    0 0 30px 2px rgba(59, 130, 246, 0.22),
    inset 0 1px 3px 0 rgba(255, 255, 255, 1);
}

/* Premium Gold Account Card */
.account-card-premium {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 251, 235, 0.97) 100%);
  border: 2px solid rgba(217, 119, 6, 0.7);
  box-shadow:
    0 24px 60px -10px rgba(217, 119, 6, 0.2),
    0 4px 16px 0 rgba(0, 0, 0, 0.03),
    inset 0 1px 2px 0 rgba(255, 255, 255, 1);
}

.account-card-premium:hover {
  transform: translateY(-8px);
  border-color: rgba(217, 119, 6, 1);
  box-shadow:
    0 32px 70px -10px rgba(217, 119, 6, 0.34),
    0 0 30px 2px rgba(217, 119, 6, 0.25),
    inset 0 1px 3px 0 rgba(255, 255, 255, 1);
}

/* Nav regular typography refinement */
.nav-link-regular {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 13px;
  position: relative;
  transition: all 0.2s ease;
}

/* =========================================================
   Why Trade With Us - Glassmorphism Bento Grid
   ========================================================= */

.bento-card-green {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(145deg, rgba(0, 186, 95, 0.88) 0%, rgba(2, 128, 64, 0.94) 100%);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1.5px solid rgba(255, 255, 255, 0.38);
  border-radius: 28px;
  padding: 2.25rem 2rem;
  box-shadow:
    0 22px 48px -12px rgba(0, 186, 95, 0.32),
    0 6px 18px 0 rgba(0, 0, 0, 0.04),
    inset 0 1px 2px 0 rgba(255, 255, 255, 0.65),
    inset 0 -1px 2px 0 rgba(0, 0, 0, 0.15);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-card-green:hover {
  transform: translateY(-6px);
  background: linear-gradient(145deg, rgba(2, 204, 104, 0.92) 0%, rgba(3, 142, 72, 0.96) 100%);
  border-color: rgba(255, 255, 255, 0.65);
  box-shadow:
    0 30px 65px -12px rgba(0, 186, 95, 0.48),
    0 0 28px 2px rgba(0, 186, 95, 0.28),
    inset 0 1px 3px 0 rgba(255, 255, 255, 0.85);
}

.bento-card-green::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 48%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0) 100%);
  border-radius: 28px 28px 0 0;
  pointer-events: none;
}

.bento-card-image {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  box-shadow:
    0 20px 45px -12px rgba(8, 22, 40, 0.08),
    0 4px 14px 0 rgba(0, 0, 0, 0.03),
    inset 0 1px 2px 0 rgba(255, 255, 255, 0.95);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-card-image:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 186, 95, 0.65);
  box-shadow:
    0 28px 60px -12px rgba(0, 186, 95, 0.25),
    0 0 22px 0 rgba(0, 186, 95, 0.16),
    inset 0 1px 3px 0 rgba(255, 255, 255, 1);
}

.bento-card-image img {
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-card-image:hover img {
  transform: scale(1.05);
}

.bento-floating-tag {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow:
    0 12px 28px -6px rgba(8, 22, 40, 0.14),
    0 2px 6px 0 rgba(0, 0, 0, 0.03),
    inset 0 1px 1px 0 rgba(255, 255, 255, 1);
}

/* Bento Image Tile Gradient Overlay & Typography */
.bento-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 22, 40, 0.04) 0%, rgba(8, 22, 40, 0.42) 45%, rgba(8, 22, 40, 0.93) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem 1.6rem;
  z-index: 2;
  transition: background 0.4s ease;
}

.bento-card-image:hover .bento-image-overlay {
  background: linear-gradient(180deg, rgba(8, 22, 40, 0.02) 0%, rgba(8, 22, 40, 0.48) 40%, rgba(8, 22, 40, 0.96) 100%);
}

/* Sticky / Fixed Navigation Following on Scroll */
#site-header {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    padding 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.3s ease;
}

#site-header.nav-scrolled {
  padding-top: 0.5rem;
}

/* Disappear when reaching footer */
#site-header.nav-hidden {
  transform: translateY(-115%);
  opacity: 0;
  pointer-events: none;
}

#site-header.nav-scrolled #main-nav {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.60) 0%, rgba(255, 255, 255, 0.44) 100%);
  backdrop-filter: blur(32px) saturate(190%) contrast(95%);
  -webkit-backdrop-filter: blur(32px) saturate(190%) contrast(95%);
  border: 1px solid rgba(255, 255, 255, 0.80);
  box-shadow:
    0 16px 40px -6px rgba(8, 22, 40, 0.10),
    0 2px 8px 0 rgba(0, 0, 0, 0.03),
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.95);
}

/* Hero Bull Artwork Responsive Framing - Framed to pass behind navbar like reference Image 2 */
.hero-bull-img {
  object-position: 58% top;
  transform: scale(1.05);
  transform-origin: top right;
}

@media (min-width: 640px) {
  .hero-bull-img {
    object-position: 68% top;
    transform: scale(1.07);
    transform-origin: top right;
  }
}

@media (min-width: 1024px) {
  .hero-bull-img {
    object-position: 80% top;
    transform: scale(1.09);
    transform-origin: top right;
  }
}

/* Ensure Hero CTA button is always rock-solid and visible */
#hero-cta {
  opacity: 1 !important;
  visibility: visible !important;
  display: inline-flex !important;
}

/* =========================================================
   About Page (about.html)
   ========================================================= */

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Stat card supporting caption (about page expanded tiles) */
.glass-stat-card .stat-caption {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 0.8rem;
  line-height: 1.55;
  margin-top: 0.9rem;
  max-width: 250px;
}

/* Detail metric pill (inside expanded stat sections) */
.about-metric {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 18px;
  padding: 1.1rem 1.2rem;
  box-shadow: 0 8px 22px -10px rgba(8, 22, 40, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.95);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-metric:hover {
  border-color: rgba(0, 186, 95, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -12px rgba(0, 186, 95, 0.2), inset 0 1px 1px rgba(255, 255, 255, 1);
}

/* Big outlined section number */
.about-index {
  font-family: 'Momo Trust Display', sans-serif;
  font-size: 5.5rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(0, 186, 95, 0.35);
  letter-spacing: -0.04em;
  user-select: none;
}

/* Milestone Timeline */
.about-timeline {
  position: relative;
}

.about-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 15px;
  width: 2px;
  background: linear-gradient(180deg, rgba(0, 186, 95, 0) 0%, rgba(0, 186, 95, 0.55) 10%, rgba(0, 186, 95, 0.55) 90%, rgba(0, 186, 95, 0) 100%);
}

@media (min-width: 768px) {
  .about-timeline::before {
    left: 50%;
    transform: translateX(-50%);
  }
}

.timeline-dot {
  position: absolute;
  left: 7px;
  top: 1.6rem;
  width: 18px;
  height: 18px;
  border-radius: 9999px;
  background: #ffffff;
  border: 4px solid #00ba5f;
  box-shadow: 0 0 0 6px rgba(0, 186, 95, 0.14);
  z-index: 2;
}

@media (min-width: 768px) {
  .timeline-dot {
    left: 50%;
    transform: translateX(-50%);
  }
}

/* =========================================================
   Contact Page (contact.html)
   ========================================================= */

/* Body disables selection globally; contact details & inputs must stay selectable */
.selectable,
.contact-input {
  user-select: text;
  -webkit-user-select: text;
}

.contact-label {
  display: block;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #475569;
  margin-bottom: 0.45rem;
}

.contact-input {
  width: 100%;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 0.92rem;
  color: #081628;
  background: rgba(255, 255, 255, 0.75);
  border: 1.5px solid rgba(203, 213, 225, 0.9);
  border-radius: 14px;
  padding: 0.8rem 1rem;
  outline: none;
  box-shadow: inset 0 1px 2px rgba(8, 22, 40, 0.03);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-input::placeholder {
  color: #94a3b8;
}

.contact-input:hover {
  border-color: rgba(0, 186, 95, 0.45);
}

.contact-input:focus {
  background: #ffffff;
  border-color: #00ba5f;
  box-shadow: 0 0 0 4px rgba(0, 186, 95, 0.14);
}

.contact-input.is-invalid {
  border-color: #ef4444;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12);
}

select.contact-input {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2300ba5f' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
  cursor: pointer;
}

.field-error {
  display: none;
  font-size: 0.72rem;
  font-weight: 600;
  color: #dc2626;
  margin-top: 0.35rem;
}

.field-error.is-visible {
  display: block;
}

/* Live desk status dot */
.status-dot {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  background: #00ba5f;
}

.status-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 9999px;
  border: 2px solid rgba(0, 186, 95, 0.55);
  animation: statusPulse 1.8s ease-out infinite;
}

.status-dot.is-closed {
  background: #f59e0b;
}

.status-dot.is-closed::after {
  border-color: rgba(245, 158, 11, 0.55);
}

@keyframes statusPulse {
  0% {
    transform: scale(0.6);
    opacity: 1;
  }

  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

/* FAQ accordion */
.faq-item {
  background: rgba(255, 255, 255, 0.7);
  border: 1.5px solid rgba(226, 232, 240, 0.9);
  border-radius: 18px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.faq-item:hover,
.faq-item[open] {
  border-color: rgba(0, 186, 95, 0.45);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 30px -14px rgba(0, 186, 95, 0.22);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item .faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 186, 95, 0.1);
  color: #00ba5f;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  background: #00ba5f;
  color: #ffffff;
}

/* Spinner for submit button */
@keyframes btnSpin {
  to {
    transform: rotate(360deg);
  }
}

.btn-spinner {
  width: 16px;
  height: 16px;
  border-radius: 9999px;
  border: 2.5px solid rgba(255, 255, 255, 0.45);
  border-top-color: #ffffff;
  animation: btnSpin 0.7s linear infinite;
}