/* ========================================
   CLEARSKY CAPITAL - Global Styles
   Modern Geometric Design System v2
   ======================================== */

/* ==================
   PASSWORD PROTECTION
   ================== */
body.auth-locked {
  overflow: hidden;
  height: 100vh;
}

.auth-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.auth-overlay.auth-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.auth-backdrop {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 20, 60, 0.92);
  backdrop-filter: blur(30px) saturate(120%);
  -webkit-backdrop-filter: blur(30px) saturate(120%);
}

.auth-modal {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 420px;
  padding: 48px 40px;
  background: #fff;
  border: none;
  border-radius: 4px;
  border-left: none;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.3);
  animation: authModalIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes authModalIn {
  from { opacity: 0; transform: translateY(30px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.auth-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 8px;
  color: var(--color-text-primary);
}

.auth-subtitle {
  text-align: center;
  color: #64748b;
  font-size: 0.9rem;
  margin-bottom: 32px;
}

.auth-field {
  margin-bottom: 20px;
}

.auth-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: 'JetBrains Mono', 'SF Mono', monospace;
}

.auth-field input {
  width: 100%;
  padding: 16px 18px;
  background: #f0f4f8;
  border: 2px solid transparent;
  border-radius: 4px;
  color: #0A1628;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.auth-field input:focus {
  border-color: #00509E;
  box-shadow: 0 0 0 3px rgba(0, 80, 158, 0.1);
}

.auth-error {
  color: #dc2626;
  font-size: 0.82rem;
  text-align: center;
  margin-bottom: 16px;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.auth-error.visible {
  opacity: 1;
  max-height: 40px;
  margin-bottom: 16px;
}

.auth-submit {
  width: 100%;
  padding: 16px;
  background: var(--color-blue);
  border: none;
  border-radius: 4px;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
  letter-spacing: 0.04em;
}

.auth-submit:hover {
  background: var(--color-blue-dark);
  box-shadow: 0 8px 30px rgba(0, 80, 158, 0.3);
}

.auth-submit svg {
  width: 18px; height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes authShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-8px); }
  40% { transform: translateX(8px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

.auth-shake {
  animation: authShake 0.5s ease;
}

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

/* --- Design Tokens v2 --- */
:root {
  --color-bg-primary: #E6F2FF;
  --color-bg-secondary: #D6EBFF;
  --color-bg-card: #ffffff;
  --color-bg-card-hover: #ffffff;
  --color-bg-dark: #0A1628;

  --color-blue: #00509E;
  --color-blue-light: #2B7FD4;
  --color-blue-dark: #003A73;
  --color-green: #66CC66;
  --color-green-light: #88DD88;
  --color-green-dark: #4CAF4C;
  --color-gold: #FFD700;
  --color-gold-light: #FFE44D;
  --color-gold-dark: #CCA800;

  --gradient-brand: linear-gradient(135deg, var(--color-blue) 0%, var(--color-green) 100%);
  --gradient-brand-subtle: linear-gradient(135deg, rgba(0,80,158,0.04) 0%, rgba(102,204,102,0.02) 100%);
  --gradient-hero: linear-gradient(180deg, rgba(0,80,158,0.06) 0%, rgba(230,242,255,0) 60%);
  --gradient-card-border: linear-gradient(135deg, rgba(0,80,158,0.3), rgba(102,204,102,0.15));
  --gradient-gold: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 100%);

  --color-text-primary: #0A1628;
  --color-text-secondary: #3D5A80;
  --color-text-muted: #7A93B0;
  --color-border: rgba(0, 50, 100, 0.08);

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;

  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;

  --shadow-card: 0 1px 3px rgba(0,20,60,0.04), 0 4px 16px rgba(0,20,60,0.03);
  --shadow-card-hover: 0 8px 32px rgba(0,50,100,0.08), 0 2px 8px rgba(0,20,60,0.04);
  --shadow-glow-blue: 0 0 40px rgba(0,80,158,0.1);
  --shadow-glow-green: 0 0 40px rgba(102,204,102,0.08);
  --shadow-glow-gold: 0 0 30px rgba(255,215,0,0.1);

  --transition-fast: 0.2s ease;
  --transition-medium: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--color-bg-primary);
  color: var(--color-text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--color-blue);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover { color: var(--color-blue-dark); }

img { max-width: 100%; display: block; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-text-primary);
  letter-spacing: -0.02em;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Animated Circuit Grid Background --- */
.bg-grid {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.3;
  background-image:
    linear-gradient(rgba(0,80,158,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,80,158,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  animation: gridDrift 40s linear infinite;
}

@keyframes gridDrift {
  0% { background-position: 0 0; }
  100% { background-position: 48px 48px; }
}

/* Floating aurora orbs */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
}
.orb-1 {
  width: 700px; height: 700px;
  background: rgba(0,80,158,0.06);
  top: -200px; right: -200px;
  animation: orbFloat 25s ease-in-out infinite;
}
.orb-2 {
  width: 500px; height: 500px;
  background: rgba(102,204,102,0.04);
  bottom: 10%; left: -200px;
  animation: orbFloat 30s ease-in-out infinite reverse;
}
.orb-3 {
  width: 400px; height: 400px;
  background: rgba(255,215,0,0.03);
  top: 50%; right: -120px;
  animation: orbFloat 22s ease-in-out infinite 5s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.05); }
  66% { transform: translate(-20px, 30px) scale(0.95); }
}

/* ==================
   NAVIGATION
   ================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition-medium);
  backdrop-filter: blur(0px);
}

.navbar.scrolled {
  background: rgba(230, 242, 255, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--color-border);
  padding: 10px 0;
  box-shadow: 0 1px 20px rgba(0,20,60,0.04);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo img {
  height: 72px;
  width: auto;
}

.nav-logo span {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-text-primary);
  letter-spacing: -0.02em;
}

.nav-logo .logo-accent {
  color: var(--color-blue);
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0 auto;
}

.nav-links a {
  color: var(--color-text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  position: relative;
  transition: color var(--transition-fast);
  font-family: var(--font-heading);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--color-blue);
  transition: width var(--transition-medium);
}

.nav-links a:hover {
  color: var(--color-blue);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Dropdown Menu */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-dropdown > a .dropdown-arrow {
  font-size: 0.7rem;
  transition: transform var(--transition-fast);
}

.nav-dropdown:hover > a .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(8px);
  transition: all 0.25s ease;
  z-index: 100;
  list-style: none;
  box-shadow: 0 12px 40px rgba(0,20,60,0.1);
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  transition: all var(--transition-fast);
}

.dropdown-menu li a::after {
  display: none;
}

.dropdown-menu li a:hover {
  background: rgba(0,80,158,0.05);
  color: var(--color-blue);
  padding-left: 20px;
}

.nav-cta {
  margin-left: 12px;
  flex-shrink: 0;
  padding: 10px 28px;
  background: var(--color-blue);
  border: none;
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-medium);
  letter-spacing: 0.02em;
}

.nav-cta:hover {
  background: var(--color-blue-dark);
  box-shadow: 0 8px 25px rgba(0,80,158,0.2);
  color: #fff;
}

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  width: 24px; height: 2px;
  background: var(--color-text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ==================
   TICKER TAPE
   ================== */
.ticker-tape-wrapper {
  position: fixed;
  top: 104px;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(230, 242, 255, 0.88);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 1px 8px rgba(0,20,60,0.03);
}

.navbar.scrolled ~ .ticker-tape-wrapper {
  top: 92px;
}

/* ==================
   HERO
   ================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 160px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(230,242,255,0.9) 0%, rgba(230,242,255,0.85) 50%, rgba(230,242,255,0.95) 100%),
    url('assets/hero-bg.png') center/cover no-repeat;
}

/* Animated gradient background */
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0,80,158,0.08), transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(102,204,102,0.04), transparent 60%);
  pointer-events: none;
  animation: heroGradientShift 12s ease-in-out infinite;
}

/* Hero canvas for particles */
.hero-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Animated gold scan line */
.hero::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  opacity: 0.4;
  animation: scanLine 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

/* Animated horizontal grid lines */
.hero-grid-lines {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.hero-grid-lines .h-line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(0,80,158,0.05) 20%, rgba(0,80,158,0.08) 50%, rgba(0,80,158,0.05) 80%, transparent 100%);
}

.hero-grid-lines .h-line:nth-child(1) { top: 15%; animation: gridPulse 4s ease-in-out infinite 0s; }
.hero-grid-lines .h-line:nth-child(2) { top: 30%; animation: gridPulse 4s ease-in-out infinite 0.8s; }
.hero-grid-lines .h-line:nth-child(3) { top: 50%; animation: gridPulse 4s ease-in-out infinite 1.6s; }
.hero-grid-lines .h-line:nth-child(4) { top: 70%; animation: gridPulse 4s ease-in-out infinite 2.4s; }
.hero-grid-lines .h-line:nth-child(5) { top: 85%; animation: gridPulse 4s ease-in-out infinite 3.2s; }

.hero-grid-lines .v-line {
  position: absolute;
  top: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(0,80,158,0.04) 30%, rgba(0,80,158,0.06) 50%, rgba(0,80,158,0.04) 70%, transparent 100%);
}

.hero-grid-lines .v-line:nth-child(6) { left: 20%; animation: gridPulse 5s ease-in-out infinite 0.5s; }
.hero-grid-lines .v-line:nth-child(7) { left: 40%; animation: gridPulse 5s ease-in-out infinite 1.5s; }
.hero-grid-lines .v-line:nth-child(8) { left: 60%; animation: gridPulse 5s ease-in-out infinite 2.5s; }
.hero-grid-lines .v-line:nth-child(9) { left: 80%; animation: gridPulse 5s ease-in-out infinite 3.5s; }

/* Glow orb inside hero */
.hero-glow {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,80,158,0.06) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: heroGlowPulse 5s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes heroGradientShift {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes scanLine {
  0% { top: -5%; opacity: 0; }
  10% { opacity: 0.4; }
  90% { opacity: 0.4; }
  100% { top: 105%; opacity: 0; }
}

@keyframes gridPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

@keyframes heroGlowPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
  50% { transform: translate(-50%, -50%) scale(1.15); opacity: 0.8; }
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 160px);
}

.hero-content {
  text-align: left;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--color-bg-dark);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 28px;
  animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
  font-family: var(--font-mono);
}

.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--color-green);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
  box-shadow: 0 0 8px rgba(102,204,102,0.5);
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(102,204,102,0.5); }
  50% { opacity: 0.3; box-shadow: 0 0 2px rgba(102,204,102,0.1); }
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
  letter-spacing: -0.03em;
}

.gradient-text {
  background: linear-gradient(
    90deg,
    var(--color-blue) 0%,
    var(--color-blue-light) 25%,
    #FFD700 50%,
    var(--color-blue-light) 75%,
    var(--color-blue) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShimmer 4s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(102,204,102,0.3));
  position: relative;
}

@keyframes gradientShimmer {
  0% { background-position: 0% center; filter: drop-shadow(0 0 20px rgba(102,204,102,0.2)); }
  50% { background-position: 100% center; filter: drop-shadow(0 0 40px rgba(255,215,0,0.45)); }
  100% { background-position: 0% center; filter: drop-shadow(0 0 20px rgba(102,204,102,0.2)); }
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  max-width: 520px;
  margin: 0 0 36px;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.hero-trust {
  display: flex;
  gap: 24px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  font-family: var(--font-heading);
}

.hero-trust-item i {
  font-size: 1.1rem;
  color: var(--color-green);
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInRight 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.hero-img {
  width: 100%;
  max-width: 580px;
  border-radius: var(--radius-lg);
  box-shadow: 0 32px 80px rgba(0,20,60,0.12), 0 8px 24px rgba(0,20,60,0.06);
  animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--color-blue);
  border: none;
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-medium);
  letter-spacing: 0.02em;
}

.btn-primary:hover {
  background: var(--color-blue-dark);
  box-shadow: 0 12px 35px rgba(0,80,158,0.2);
  color: #fff;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: #fff;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text-secondary);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-medium);
  letter-spacing: 0.02em;
}

.btn-secondary:hover {
  border-color: var(--color-green);
  color: var(--color-blue);
  box-shadow: 0 8px 24px rgba(0,80,158,0.08);
}

/* Hero stats strip */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 72px;
  padding-top: 40px;
  border-top: 1px solid var(--color-border);
  animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}

.hero-stat {
  text-align: center;
}

.hero-stat .stat-value {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-blue);
}

.hero-stat .stat-label {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
  font-family: var(--font-mono);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

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

/* ==================
   SECTION COMMON
   ================== */
section {
  position: relative;
  z-index: 1;
  padding: 100px 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  font-family: var(--font-mono);
  background: var(--color-bg-dark);
  border: none;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
}

.section-label::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--color-green);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(102,204,102,0.5);
  animation: pulse 2s ease infinite;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 16px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.section-desc {
  color: var(--color-text-secondary);
  font-size: 1.05rem;
  max-width: 640px;
  line-height: 1.8;
}

.section-desc.center {
  margin: 0 auto;
  text-align: center;
}

.text-center {
  text-align: center;
}

/* ==================
   ABOUT / MANDATE
   ================== */
.about {
  background:
    linear-gradient(135deg, rgba(0,80,158,0.02) 25%, transparent 25%),
    linear-gradient(225deg, rgba(0,80,158,0.02) 25%, transparent 25%),
    linear-gradient(45deg, rgba(0,80,158,0.02) 25%, transparent 25%),
    linear-gradient(315deg, rgba(0,80,158,0.02) 25%, transparent 25%),
    var(--color-bg-primary);
  background-size: 40px 40px;
  background-position: 20px 0, 20px 0, 0 0, 0 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 48px;
}

.about-content p {
  color: var(--color-text-secondary);
  margin-bottom: 20px;
  font-size: 1rem;
  line-height: 1.85;
}

.about-content p:last-child {
  margin-bottom: 0;
}

.about-visual {
  position: relative;
}

.about-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border-left: none;
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 4px;
  background: var(--gradient-brand);
}

.about-card-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
}

.about-card-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.about-card-item:first-child {
  padding-top: 0;
}

.about-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--color-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  font-size: 1.2rem;
}

.about-card-item h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.about-card-item p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ==================
   MARKETS
   ================== */
.markets {
  background:
    radial-gradient(circle, rgba(0,80,158,0.04) 1px, transparent 1px),
    linear-gradient(180deg, var(--color-bg-secondary) 0%, rgba(230,242,255,0.6) 50%, var(--color-bg-secondary) 100%);
  background-size: 24px 24px, 100% 100%;
  position: relative;
}

.markets-list {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.market-row {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: all var(--transition-medium);
  box-shadow: var(--shadow-card);
  border-left: none;
  position: relative;
  overflow: hidden;
}

.market-row::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 4px;
  background: var(--gradient-brand);
  border-radius: 4px 0 0 4px;
}

.market-row:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateX(4px);
}

.market-row-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
  min-width: 0;
}

.market-row-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--color-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
  flex-shrink: 0;
  transition: all var(--transition-medium);
}

.market-row:hover .market-row-icon {
  background: var(--color-blue-dark);
}

.market-row-info {
  flex: 1;
  min-width: 0;
}

.market-row-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.market-row-header h3 {
  font-size: 1.05rem;
  font-weight: 700;
}

.market-row-tag {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--color-gold);
  background: var(--color-bg-dark);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.market-row-info p {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

.market-row-stats {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.market-stat-chip {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  background: rgba(0,80,158,0.05);
  color: var(--color-blue);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.market-stat-chip.accent {
  background: rgba(102,204,102,0.08);
  color: var(--color-green-dark);
}

/* ==================
   LIVE MARKET DATA
   ================== */
.live-markets {
  background:
    linear-gradient(0deg, rgba(0,80,158,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,80,158,0.015) 1px, transparent 1px),
    var(--color-bg-primary);
  background-size: 60px 60px;
  overflow: hidden;
}

.tv-ticker-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-bg-card);
  padding: 4px 0;
  box-shadow: var(--shadow-card);
}

.tv-charts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.tv-chart-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 8px;
  overflow: hidden;
  transition: all var(--transition-medium);
  box-shadow: var(--shadow-card);
}

.tv-chart-card:hover {
  border-color: rgba(0,80,158,0.15);
  box-shadow: var(--shadow-card-hover);
}

.tv-chart-card .tradingview-widget-container {
  border-radius: var(--radius-sm);
  overflow: hidden;
}

/* ==================
   FEATURES / SCALE
   ================== */
.features {
  background:
    linear-gradient(45deg, rgba(102,204,102,0.025) 25%, transparent 25%, transparent 75%, rgba(102,204,102,0.025) 75%),
    linear-gradient(45deg, rgba(102,204,102,0.025) 25%, transparent 25%, transparent 75%, rgba(102,204,102,0.025) 75%),
    var(--color-bg-secondary);
  background-size: 32px 32px;
  background-position: 0 0, 16px 16px;
}

.features-header {
  text-align: center;
  margin-bottom: 56px;
}

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

.feature-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  text-align: left;
  transition: all var(--transition-medium);
  position: relative;
  box-shadow: var(--shadow-card);
  border-left: none;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 4px;
  background: var(--gradient-brand);
  border-radius: 4px 0 0 4px;
}

.feature-card::after {
  display: none;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.feature-icon {
  width: 56px; height: 56px;
  margin: 0 0 20px;
  border-radius: var(--radius-sm);
  background: rgba(0,80,158,0.06);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--color-blue);
  transition: all var(--transition-medium);
}

.feature-card:hover .feature-icon {
  background: var(--color-blue);
  color: #fff;
}

.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--color-text-secondary);
  font-size: 0.88rem;
  line-height: 1.7;
}

.features-cta {
  text-align: center;
  margin-top: 48px;
}

/* ==================
   PILLARS
   ================== */
.pillars {
  background:
    linear-gradient(30deg, rgba(0,80,158,0.02) 12%, transparent 12.5%, transparent 87%, rgba(0,80,158,0.02) 87.5%, rgba(0,80,158,0.02)),
    linear-gradient(150deg, rgba(0,80,158,0.02) 12%, transparent 12.5%, transparent 87%, rgba(0,80,158,0.02) 87.5%, rgba(0,80,158,0.02)),
    linear-gradient(30deg, rgba(0,80,158,0.02) 12%, transparent 12.5%, transparent 87%, rgba(0,80,158,0.02) 87.5%, rgba(0,80,158,0.02)),
    linear-gradient(150deg, rgba(0,80,158,0.02) 12%, transparent 12.5%, transparent 87%, rgba(0,80,158,0.02) 87.5%, rgba(0,80,158,0.02)),
    var(--color-bg-primary);
  background-size: 80px 140px;
  background-position: 0 0, 0 0, 40px 70px, 40px 70px;
}

.pillars-intro {
  text-align: center;
  margin-bottom: 56px;
}

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

.pillar-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: all var(--transition-medium);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 4px;
  background: var(--gradient-brand);
  opacity: 1;
}

.pillar-card:hover {
  border-color: rgba(0,80,158,0.15);
  box-shadow: var(--shadow-card-hover);
}



.pillar-number {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-blue);
  line-height: 1;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: rgba(0,80,158,0.06);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pillar-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.pillar-card p {
  color: var(--color-text-secondary);
  font-size: 0.88rem;
  line-height: 1.7;
}

.pillars-cta {
  text-align: center;
  margin-top: 48px;
}

/* ==================
   TESTIMONIALS
   ================== */
.testimonials {
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 50px,
      rgba(0,80,158,0.015) 50px,
      rgba(0,80,158,0.015) 51px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 80px,
      rgba(0,80,158,0.01) 80px,
      rgba(0,80,158,0.01) 81px
    ),
    var(--color-bg-secondary);
  overflow: hidden;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 48px;
}

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

.testimonial-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  position: relative;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-medium);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.testimonial-card::before {
  content: '\201C';
  font-family: Georgia, serif;
  font-size: 5rem;
  color: rgba(0,80,158,0.06);
  position: absolute;
  top: 8px; right: 28px;
  line-height: 1;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.testimonial-card.featured {
  box-shadow: var(--shadow-card-hover);
}

.testimonial-card.featured::after {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 4px;
  background: var(--gradient-brand);
  border-radius: 4px 0 0 4px;
}

.testimonial-stars {
  color: var(--color-gold);
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial-card p {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  flex: 1;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  font-family: var(--font-mono);
  flex-shrink: 0;
}

.testimonial-info {
  display: flex;
  flex-direction: column;
}

.testimonial-name {
  font-weight: 700;
  font-size: 0.92rem;
  font-family: var(--font-heading);
  color: var(--color-text-primary);
}

.testimonial-role {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 2px;
}

.testimonials-bottom {
  margin-top: 48px;
}

.trust-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 32px 40px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.trust-badge {
  text-align: center;
}

.trust-number {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-blue);
  line-height: 1.2;
}

.trust-text {
  display: block;
  font-size: 0.72rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--font-mono);
  margin-top: 4px;
}

.trust-divider {
  width: 1px;
  height: 40px;
  background: var(--color-border);
}

/* ==================
   CTA SECTION
   ================== */
.cta-section {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(0,80,158,0.04), transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(102,204,102,0.03), transparent 50%),
    radial-gradient(ellipse at 50% 0%, rgba(255,215,0,0.02), transparent 40%),
    var(--color-bg-primary);
  position: relative;
}

.cta-box {
  background: var(--color-bg-dark);
  border: none;
  border-radius: var(--radius-lg);
  padding: 72px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 60% 50% at 30% 0%, rgba(0,80,158,0.15), transparent 60%),
    radial-gradient(ellipse 40% 40% at 80% 100%, rgba(102,204,102,0.08), transparent 50%);
  pointer-events: none;
}

.cta-box::after {
  display: none;
}

.cta-label {
  font-size: 0.72rem;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  position: relative;
  z-index: 1;
}

.cta-box h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 16px;
  font-weight: 900;
  color: #fff;
  position: relative;
  z-index: 1;
}

.cta-box p {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto 36px;
  position: relative;
  z-index: 1;
}

.cta-box .btn-primary {
  position: relative;
  z-index: 1;
  background: #fff;
  color: var(--color-blue);
}

.cta-box .btn-primary:hover {
  background: var(--color-gold);
  color: var(--color-bg-dark);
}

/* ==================
   FOOTER
   ================== */
.footer {
  background: #f0f6fc;
  border-top: 1px solid rgba(0, 50, 100, 0.08);
  padding: 60px 0 0;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand img {
  height: 66px;
  margin-bottom: 16px;
}

.footer-brand p {
  color: #7A93B0;
  font-size: 0.85rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #0A1628;
  margin-bottom: 20px;
  font-family: var(--font-mono);
  position: relative;
  padding-bottom: 12px;
}

.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 24px; height: 2px;
  background: var(--color-blue);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #5E7FA0;
  font-size: 0.88rem;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-blue);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #5E7FA0;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.footer-contact-item i {
  color: var(--color-blue-light);
  width: 18px;
  text-align: center;
}

.footer-bottom {
  border-top: 1px solid rgba(94,127,160,0.1);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  color: #5E7FA0;
  font-size: 0.8rem;
}

.footer-legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-legal a {
  color: #5E7FA0;
  font-size: 0.8rem;
}

.footer-legal a:hover {
  color: var(--color-blue);
}

.footer-disclaimer {
  padding: 24px 0;
  border-top: 1px solid rgba(94,127,160,0.1);
}

.footer-disclaimer p {
  color: #5E7FA0;
  font-size: 0.75rem;
  line-height: 1.65;
  max-width: 900px;
  text-align: center;
  margin: 0 auto;
}

/* ==================
   SCROLL ANIMATIONS
   ================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.85);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

.reveal-fade {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-fade.visible {
  opacity: 1;
}

/* ==================
   GTRANSLATE LANGUAGE SELECTOR
   ================== */
.nav-lang-selector {
  display: flex;
  align-items: center;
  border-bottom: none !important;
  position: relative;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 80, 158, 0.06);
  border: 1px solid rgba(0, 80, 158, 0.15);
  border-radius: 6px;
  padding: 6px 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
}

.lang-toggle i {
  font-size: 16px;
  color: var(--color-blue);
}

.lang-toggle .lang-arrow {
  opacity: 0.5;
  transition: transform 0.2s ease;
  width: 8px;
  height: 5px;
}

.lang-toggle:hover {
  border-color: rgba(0, 80, 158, 0.35);
  background: rgba(0, 80, 158, 0.1);
}

.nav-lang-selector.open .lang-toggle {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(0, 80, 158, 0.1);
}

.nav-lang-selector.open .lang-arrow {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 50, 100, 0.1);
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0,20,60,0.12);
  min-width: 160px;
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  z-index: 1100;
}

.nav-lang-selector.open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: block;
  padding: 8px 14px;
  color: var(--color-text-primary);
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.15s ease;
  border-bottom: none !important;
}

.lang-option:hover {
  background: rgba(0, 80, 158, 0.06);
  color: var(--color-blue);
}

.lang-option.active {
  background: rgba(0, 80, 158, 0.08);
  color: var(--color-blue);
  font-weight: 600;
}

.lang-option.active::before {
  content: '✓ ';
  font-size: 0.7rem;
}

/* ==================
   MOBILE LOGIN (hidden on desktop)
   ================== */
.mobile-login { display: none; }

/* ==================
   RESPONSIVE
   ================== */

/* --- Tablet --- */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .market-row-stats { flex-wrap: wrap; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .tv-charts-grid { grid-template-columns: repeat(2, 1fr); }
}

/* --- Mobile --- */
@media (max-width: 768px) {
  .navbar .nav-cta { display: none; }

  .hamburger { display: flex; z-index: 1002; position: relative; margin-right: 8px; }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(230, 242, 255, 0.97);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--color-border);
    padding: 16px 24px 24px;
    gap: 0;
    z-index: 1001;
    box-shadow: 0 20px 60px rgba(0,20,60,0.06);
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    text-align: center;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    border-bottom: 1px solid rgba(0,50,100,0.05);
  }

  .nav-links li:last-child {
    border-bottom: none;
  }

  .nav-links > li > a {
    display: block;
    padding: 14px 0;
    font-size: 1rem;
    color: var(--color-text-secondary);
    text-align: center;
  }

  .nav-links a::after { display: none !important; }

  /* Products dropdown on mobile */
  .nav-dropdown > a .dropdown-arrow {
    transition: transform 0.3s ease;
  }

  .dropdown-menu {
    position: static;
    transform: none !important;
    opacity: 1 !important;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    border: none;
    background: transparent;
    backdrop-filter: none;
    min-width: unset;
    box-shadow: none;
    transition: max-height 0.3s ease, visibility 0s 0.3s, padding 0.3s ease;
  }

  .nav-dropdown.open .dropdown-menu {
    visibility: visible;
    max-height: 300px;
    padding: 4px 0 8px 0;
    transition: max-height 0.3s ease, visibility 0s 0s, padding 0.3s ease;
  }

  .nav-dropdown.open > a .dropdown-arrow {
    transform: rotate(180deg);
  }

  .nav-dropdown:hover .dropdown-menu {
    visibility: hidden;
    max-height: 0;
    padding: 0;
  }
  .nav-dropdown.open:hover .dropdown-menu {
    visibility: visible;
    max-height: 300px;
    padding: 4px 0 8px 0;
  }

  .dropdown-menu li a {
    padding: 10px 12px;
    font-size: 0.9rem;
    text-align: center;
  }

  /* Mobile Login button inside menu */
  .mobile-login {
    display: block !important;
    padding: 24px 4px 12px !important;
    margin-top: 16px !important;
    border-top: 1px solid rgba(0,50,100,0.1) !important;
    border-bottom: none !important;
  }

  .mobile-login a,
  .nav-cta-mobile {
    display: block !important;
    text-align: center !important;
    padding: 18px 32px !important;
    margin: 0 !important;
    background: var(--color-blue) !important;
    border-radius: var(--radius-sm) !important;
    color: #fff !important;
    font-family: var(--font-heading) !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    letter-spacing: 0.02em !important;
    box-shadow: 0 6px 20px rgba(0,80,158,0.15) !important;
    transition: all 0.3s ease !important;
    position: relative !important;
  }

  .mobile-login a:hover,
  .nav-cta-mobile:hover {
    box-shadow: 0 10px 35px rgba(0,80,158,0.25) !important;
    background: var(--color-blue-dark) !important;
  }

  /* Grids */
  .hero-split { grid-template-columns: 1fr; gap: 40px; }
  .hero-content { text-align: center; }
  .hero-sub { margin: 0 auto 36px; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; flex-wrap: wrap; }
  .hero-img { max-width: 400px; }
  .hero-stats { flex-direction: column; gap: 24px; }
  .market-row { flex-direction: column; align-items: flex-start; }
  .market-row-stats { width: 100%; }
  .features-grid { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .tv-charts-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .cta-box { padding: 48px 24px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .trust-badges { flex-direction: column; gap: 20px; }
  .trust-divider { width: 60px; height: 1px; }
  section { padding: 64px 0; }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
  }
}

/* --- Small Mobile --- */
@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary { width: 100%; justify-content: center; }

  .nav-logo span { font-size: 1.1rem; }
  .nav-logo img { height: 56px; }

  .footer-legal { flex-direction: column; align-items: center; gap: 8px; }
}
