/* ======================================================
   STAR CHAIN CAPITAL — Design System
   Colors: Gold #F59E0B / Purple #8B5CF6 / Dark #0F172A
   Fonts: Orbitron (headings) / Exo 2 (body)
   Style: Dark OLED + Glassmorphism + Glow Effects
   ====================================================== */

/* ---- Design Tokens ---- */
:root {
  /* Easing */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
  /* Durations */
  --duration-instant: 100ms;
  --duration-fast: 200ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;
  --duration-entrance: 800ms;
  /* Colors (normalize — single source of truth) */
  --gold: #F59E0B;
  --gold-light: #FBBF24;
  --gold-dark: #D97706;
  --purple: #8B5CF6;
  --purple-light: #A78BFA;
  --bg-deep: #0A0F1E;
  --bg-surface: #0F172A;
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --text-dim: #475569;
  --border-subtle: rgba(255, 255, 255, 0.06);
}

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

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

body {
  font-family: "Exo 2", sans-serif;
  background: var(--bg-deep);
  color: #e2e8f0;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--duration-fast) var(--ease-out-quart);
}

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

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

.gradient-text {
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-alt {
  background: linear-gradient(135deg, #8b5cf6, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Animations ---- */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity var(--duration-entrance) var(--ease-out-expo),
    transform var(--duration-entrance) var(--ease-out-expo);
  transition-delay: var(--delay, 0s);
  will-change: transform, opacity;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Focus States (a11y) ---- */
:focus-visible {
  outline: 2px solid #F59E0B;
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---- Reduced Motion (a11y) ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .fade-up {
    opacity: 1;
    transform: none;
  }
}

/* ======== NAVBAR ======== */
.navbar {
  position: fixed;
  top: 16px;
  left: 16px;
  right: 16px;
  z-index: 1000;
  background: rgba(10, 15, 30, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 0 24px;
  transition:
    background var(--duration-normal) var(--ease-out-quart),
    box-shadow var(--duration-normal) var(--ease-out-quart);
}

.navbar.scrolled {
  background: rgba(10, 15, 30, 0.9);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.5px;
  color: #f8fafc;
  cursor: pointer;
}

/* Delight: logo spin on hover */
.logo-icon {
  width: 32px;
  height: 32px;
  transition: transform var(--duration-slow) var(--ease-out-expo);
}

.nav-logo:hover .logo-icon {
  transform: rotate(360deg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 8px;
  transition:
    color var(--duration-fast) var(--ease-out-quart),
    background var(--duration-fast) var(--ease-out-quart);
  cursor: pointer;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: #F59E0B;
  border-radius: 1px;
  transition: width var(--duration-normal) var(--ease-out-expo), left var(--duration-normal) var(--ease-out-expo);
}

.nav-link:hover::after {
  width: 60%;
  left: 20%;
}

.nav-link {
  position: relative;
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.nav-link-cta {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #0a0f1e !important;
  font-weight: 600;
  margin-left: 8px;
  border-radius: 8px;
}

.nav-link-cta:hover {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #f8fafc;
  border-radius: 2px;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

/* ======== HERO ======== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

#particleCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 80% 60% at 50% 40%,
      rgba(139, 92, 246, 0.12) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 60% 50% at 30% 60%,
      rgba(245, 158, 11, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse 50% 40% at 80% 30%,
      rgba(139, 92, 246, 0.06) 0%,
      transparent 40%
    );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 100px;
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #f59e0b;
  margin-bottom: 32px;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.1);
  transition: all var(--duration-normal) var(--ease-out-expo);
  cursor: default;
}

.hero-badge:hover {
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.25);
  transform: translateY(-2px);
}


.hero-badge svg {
  animation: badgeIconPulse 2.5s infinite ease-in-out;
}

@keyframes badgeIconPulse {
  0%, 100% { 
    transform: scale(1); 
    filter: drop-shadow(0 0 2px rgba(245, 158, 11, 0.4)); 
  }
  50% { 
    transform: scale(1.15); 
    filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.8)); 
  }
}

.hero-title {
  font-family: "Orbitron", sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: 24px;
  letter-spacing: -0.5px;
  position: relative;
}

/* Title lines */
.title-line {
  display: inline;
  color: var(--text-primary);
}

/* Title highlight keywords */
.title-highlight {
  display: inline-block;
  position: relative;
  padding: 0 4px;
}

.title-highlight-text {
  position: relative;
  z-index: 1;
}

.real-assets .title-highlight-text {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(245, 158, 11, 0.3));
}

.global-capital .title-highlight-text {
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.3));
}

/* Glowing underline under highlight words */
.title-highlight::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 2px;
  opacity: 0.7;
}

.real-assets::after {
  background: linear-gradient(90deg, var(--gold), transparent);
  animation: underlinePulse 3s ease-in-out infinite;
}

.global-capital::after {
  background: linear-gradient(90deg, transparent, var(--purple));
  animation: underlinePulse 3s ease-in-out infinite 1.5s;
}

@keyframes underlinePulse {
  0%, 100% { opacity: 0.4; transform: scaleX(0.8); }
  50% { opacity: 1; transform: scaleX(1); }
}

/* Commodity icons floating around keywords */
.title-highlight-icons {
  position: absolute;
  inset: -20px -30px;
  pointer-events: none;
  z-index: 0;
}

.commodity-icon {
  position: absolute;
  font-size: 1rem;
  opacity: 0;
  animation: iconFloat 8s ease-in-out infinite;
}

.commodity-icon:nth-child(1) {
  top: -15px; left: -20px;
  animation-delay: 0s;
}
.commodity-icon:nth-child(2) {
  top: -10px; right: -25px;
  animation-delay: 2s;
}
.commodity-icon:nth-child(3) {
  bottom: -15px; left: 10px;
  animation-delay: 4s;
}
.commodity-icon:nth-child(4) {
  bottom: -10px; right: -15px;
  animation-delay: 6s;
}

@keyframes iconFloat {
  0%, 100% {
    opacity: 0;
    transform: translateY(10px) scale(0.6);
  }
  15%, 85% {
    opacity: 0.6;
    transform: translateY(-5px) scale(1);
  }
  50% {
    opacity: 0.9;
    transform: translateY(-12px) scale(1.1);
  }
}

/* Chain arrow connector between title lines */
.title-connector {
  display: inline-block;
  vertical-align: middle;
  margin: 0 12px;
}

.chain-arrow {
  width: 100px;
  height: 24px;
  animation: chainPulse 3s ease-in-out infinite;
}

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

/* Commodity ticker bar */
.hero-keyword-ticker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 100px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.ticker-item {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: color var(--duration-fast) var(--ease-out-quart);
  animation: tickerGlow 6s ease-in-out infinite;
}

.ticker-item:nth-child(1) { animation-delay: 0s; }
.ticker-item:nth-child(3) { animation-delay: 0.75s; }
.ticker-item:nth-child(5) { animation-delay: 1.5s; }
.ticker-item:nth-child(7) { animation-delay: 2.25s; }
.ticker-item:nth-child(9) { animation-delay: 3s; }
.ticker-item:nth-child(11) { animation-delay: 3.75s; }
.ticker-item:nth-child(13) { animation-delay: 4.5s; }
.ticker-item:nth-child(15) { animation-delay: 5.25s; }

@keyframes tickerGlow {
  0%, 100% { color: var(--text-muted); }
  50% { color: var(--gold); text-shadow: 0 0 12px rgba(245, 158, 11, 0.4); }
}

.ticker-dot {
  color: rgba(255, 255, 255, 0.15);
  font-size: 0.8rem;
}

/* Globe canvas */
#globeCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 20px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: "Exo 2", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #0a0f1e;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.25);
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.btn-primary:hover {
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.4);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0) scale(0.97);
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.3);
  transition-duration: var(--duration-instant);
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e2e8f0;
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.btn-ghost:hover {
  border-color: rgba(139, 92, 246, 0.4);
  background: rgba(139, 92, 246, 0.08);
  color: #a78bfa;
  transform: translateY(-2px);
}

.btn-ghost:active {
  transform: translateY(0) scale(0.97);
  transition-duration: var(--duration-instant);
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

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

.stat-number {
  display: block;
  font-family: "Orbitron", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #f59e0b;
  text-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
}

.stat-label {
  font-size: 0.8rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(245, 158, 11, 0.3),
    transparent
  );
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: float 3s ease-in-out infinite;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, #f59e0b, transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

.scroll-indicator span {
  font-size: 0.7rem;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 2px;
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}

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

/* Auto-stop scroll indicator when scrolling begins */
.scroll-indicator {
  transition: opacity var(--duration-slow) var(--ease-out-expo);
}

body.scrolled .scroll-indicator {
  opacity: 0;
  pointer-events: none;
}

/* ======== SECTIONS ======== */
.section {
  padding: 120px 0;
  position: relative;
}

.section-alt {
  background: rgba(15, 23, 42, 0.5);
}

.section-alt::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(139, 92, 246, 0.2),
    transparent
  );
}

.section-alt::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(139, 92, 246, 0.2),
    transparent
  );
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--purple);
  margin-bottom: 16px;
  /* Delight: subtle shimmer on section tags */
  background: linear-gradient(
    90deg,
    var(--purple) 0%,
    var(--purple-light) 40%,
    var(--gold) 50%,
    var(--purple-light) 60%,
    var(--purple) 100%
  );
  background-size: 250% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: tagShimmer 6s ease-in-out infinite;
}

@keyframes tagShimmer {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

.section-title {
  font-family: "Orbitron", sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 20px;
  line-height: 1.3;
}

.section-desc {
  font-size: 1rem;
  color: #94a3b8;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ======== ABOUT CARDS ======== */
.about-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.about-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 32px 24px;
  transition:
    border-color var(--duration-normal) var(--ease-out-quart),
    transform var(--duration-normal) var(--ease-out-expo),
    box-shadow var(--duration-normal) var(--ease-out-quart);
  cursor: pointer;
}

.about-card:hover {
  border-color: rgba(245, 158, 11, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

/* Delight: icon color shift on card hover */
.about-card:hover .about-card-icon svg {
  stroke: var(--gold-light);
  filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.3));
  transition: all var(--duration-normal) var(--ease-out-quart);
}

.about-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 158, 11, 0.1);
  border-radius: 12px;
  margin-bottom: 20px;
}

.about-card-icon svg {
  width: 24px;
  height: 24px;
  stroke: #f59e0b;
}

.about-card h3 {
  font-family: "Orbitron", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #f8fafc;
  margin-bottom: 12px;
}

.about-card p {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.6;
}

/* ======== SERVICES FLOW ======== */
.services-flow {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.flow-step {
  flex: 1;
  min-width: 200px;
  max-width: 260px;
  text-align: center;
  padding: 24px 16px;
}

.flow-number {
  font-family: "Orbitron", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #f59e0b 0%, rgba(245, 158, 11, 0.2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.flow-step h4 {
  font-family: "Orbitron", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #f8fafc;
  margin-bottom: 10px;
}

.flow-step p {
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.6;
}

.flow-connector {
  display: flex;
  align-items: center;
  padding-top: 36px;
}

.flow-connector svg {
  width: 48px;
  height: 24px;
}

/* ======== ASSET TYPES ======== */
.assets-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.asset-category {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 36px;
  transition:
    border-color var(--duration-normal) var(--ease-out-quart),
    box-shadow var(--duration-normal) var(--ease-out-quart);
}

.asset-category:hover {
  border-color: rgba(139, 92, 246, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.asset-category-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.asset-icon-wrap {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 92, 246, 0.1);
  border-radius: 12px;
}

.asset-icon-wrap svg {
  width: 24px;
  height: 24px;
  stroke: #8b5cf6;
}

.asset-category-header h3 {
  font-family: "Orbitron", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #f8fafc;
}

.asset-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.asset-tag {
  display: inline-block;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  transition:
    border-color 0.25s ease,
    background 0.25s ease;
  cursor: default;
}

.asset-tag:hover {
  border-color: rgba(245, 158, 11, 0.3);
  background: rgba(245, 158, 11, 0.06);
  color: #f59e0b;
}

.asset-note {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.6;
}

/* ======== NETWORK ======== */
.network-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.network-card {
  text-align: center;
  padding: 36px 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  transition:
    border-color var(--duration-normal) var(--ease-out-quart),
    transform var(--duration-normal) var(--ease-out-expo),
    box-shadow var(--duration-normal) var(--ease-out-quart);
  cursor: pointer;
}

.network-card:hover {
  border-color: rgba(139, 92, 246, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.network-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  background: rgba(139, 92, 246, 0.1);
  border-radius: 16px;
}

.network-icon svg {
  width: 28px;
  height: 28px;
  stroke: #8b5cf6;
}

.network-card h3 {
  font-family: "Orbitron", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #f8fafc;
  margin-bottom: 10px;
}

.network-card p {
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.5;
}

/* ======== TRACK RECORD ======== */
.track-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.track-card {
  text-align: center;
  padding: 32px 20px;
  cursor: pointer;
}

.track-icon-ring {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border: 2px solid rgba(245, 158, 11, 0.2);
  border-radius: 50%;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.track-card:hover .track-icon-ring {
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.15);
}

.track-icon-ring svg {
  width: 24px;
  height: 24px;
  stroke: #f59e0b;
}

.track-card h4 {
  font-family: "Orbitron", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #f8fafc;
  margin-bottom: 10px;
}

.track-card p {
  font-size: 0.83rem;
  color: #94a3b8;
  line-height: 1.5;
}

/* ======== TEAM ======== */

/* Team Member Cards */
.team-members-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 72px;
}

.team-member-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  transition:
    border-color var(--duration-normal) var(--ease-out-quart),
    transform var(--duration-normal) var(--ease-out-expo),
    box-shadow var(--duration-normal) var(--ease-out-quart);
  cursor: pointer;
}

.team-member-card:hover {
  border-color: rgba(139, 92, 246, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.member-photo-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 24px;
}

.member-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 2px solid rgba(139, 92, 246, 0.3);
  transition:
    border-color var(--duration-normal) var(--ease-out-quart),
    transform var(--duration-normal) var(--ease-out-expo);
  position: relative;
  z-index: 1;
}

/* Delight: team photo subtle zoom on hover */
.team-member-card:hover .member-photo {
  border-color: rgba(245, 158, 11, 0.5);
  transform: scale(1.06);
}

.member-photo-glow {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    rgba(139, 92, 246, 0.2),
    rgba(245, 158, 11, 0.2),
    rgba(139, 92, 246, 0.2)
  );
  filter: blur(12px);
  opacity: 0;
  transition: opacity var(--duration-slow) var(--ease-out-quart);
  z-index: 0;
}

/* Delight: rotating glow ring on hover */
.team-member-card:hover .member-photo-glow {
  opacity: 1;
  animation: glowSpin 4s linear infinite;
}

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

.member-info {
  position: relative;
}

.member-name {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #F8FAFC;
  margin-bottom: 6px;
}

.member-title {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 500;
  color: #F59E0B;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
  padding: 4px 12px;
  background: rgba(245, 158, 11, 0.08);
  border-radius: 100px;
}

.member-bio {
  font-size: 0.83rem;
  color: #94A3B8;
  line-height: 1.65;
}

.team-overview {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  margin-bottom: 56px;
}

.team-stat-block {
  text-align: center;
}

.team-number-big {
  font-family: "Orbitron", sans-serif;
  font-size: 4rem;
  font-weight: 700;
  color: #f59e0b;
  text-shadow: 0 0 30px rgba(245, 158, 11, 0.25);
  line-height: 1;
}

.team-label {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.team-plus {
  font-family: "Orbitron", sans-serif;
  font-size: 2.5rem;
  color: #475569;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.expertise-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  transition:
    border-color 0.25s ease,
    background 0.25s ease;
  cursor: pointer;
}

.expertise-item:hover {
  border-color: rgba(245, 158, 11, 0.2);
  background: rgba(245, 158, 11, 0.04);
}

.expertise-item svg {
  width: 24px;
  height: 24px;
  stroke: #8b5cf6;
}

.expertise-item span {
  font-size: 0.78rem;
  font-weight: 500;
  color: #cbd5e1;
  text-align: center;
}

/* ======== ADVANTAGES ======== */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.advantage-card {
  position: relative;
  padding: 40px 36px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  overflow: hidden;
  transition:
    border-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
  cursor: pointer;
}

.advantage-card:hover {
  border-color: rgba(139, 92, 246, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.advantage-num {
  font-family: "Orbitron", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: rgba(139, 92, 246, 0.1);
  position: absolute;
  top: 16px;
  right: 24px;
  line-height: 1;
}

.advantage-card h3 {
  font-family: "Orbitron", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #f8fafc;
  margin-bottom: 12px;
}

.advantage-card p {
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* ======== VISION ======== */
.vision-content {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.vision-text {
  font-size: 1.05rem;
  color: #94a3b8;
  line-height: 2;
  margin-top: 8px;
}

.vision-text strong {
  color: #f59e0b;
  font-weight: 600;
}

/* ======== FOOTER ======== */
.footer {
  background: #060a14;
  padding: 80px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #f8fafc;
  margin-bottom: 16px;
  cursor: pointer;
}

.footer-desc {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.7;
  max-width: 320px;
}

.footer-contact h4,
.footer-links-col h4 {
  font-family: "Orbitron", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #f8fafc;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.contact-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  stroke: #8b5cf6;
}

.contact-item span {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.7;
  font-style: normal;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-links-col a {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 10px 0;  /* Adapt: increased touch target to ~44px */
  transition: color var(--duration-fast) var(--ease-out-quart);
  cursor: pointer;
}

.footer-links-col a:hover {
  color: var(--gold);
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
}

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

/* ======== RESPONSIVE ======== */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .network-grid,
  .track-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-members-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .expertise-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .flow-connector {
    display: none;
  }

  .services-flow {
    gap: 8px;
  }
}

@media (max-width: 768px) {
  .navbar {
    top: 8px;
    left: 8px;
    right: 8px;
    padding: 0 16px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(10, 15, 30, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 16px;
    flex-direction: column;
    gap: 4px;
  }

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

  .nav-toggle {
    display: flex;
  }

  .nav-link-cta {
    margin-left: 0;
    text-align: center;
    margin-top: 8px;
  }

  .hero {
    padding: 100px 16px 60px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .stat-divider {
    width: 40px;
    height: 1px;
  }

  .section {
    padding: 80px 0;
  }

  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .assets-wrapper {
    grid-template-columns: 1fr;
  }

  .network-grid,
  .track-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .advantages-grid {
    grid-template-columns: 1fr;
  }

  /* Adapt: 2-column team grid on mobile for better space use */
  .team-members-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .team-member-card {
    padding: 24px 16px;
  }

  .member-photo-wrap {
    width: 90px;
    height: 90px;
  }

  .member-photo {
    width: 90px;
    height: 90px;
  }

  .member-name {
    font-size: 0.85rem;
  }

  .member-title {
    font-size: 0.7rem;
    padding: 3px 8px;
  }

  .member-bio {
    font-size: 0.78rem;
    line-height: 1.55;
  }

  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-overview {
    gap: 24px;
  }

  .team-number-big {
    font-size: 3rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Adapt: minimum touch target 44px for footer links */
  .footer-links-col a {
    padding: 12px 0;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .services-flow {
    flex-direction: column;
    align-items: center;
  }

  .scroll-indicator {
    display: none;
  }

  /* Adapt: nav links need bigger touch targets on mobile */
  .nav-link {
    padding: 12px 16px;
    min-height: 44px;
  }
}

/* Adapt: landscape phone orientation */
@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    padding: 80px 24px 40px;
    min-height: auto;
  }

  .hero-stats {
    flex-direction: row;
    gap: 32px;
  }

  .stat-divider {
    width: 1px;
    height: 40px;
  }

  .team-members-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
}

@media (max-width: 480px) {
  /* Adapt: single column on very small screens */
  .team-members-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .network-grid,
  .track-grid {
    grid-template-columns: 1fr;
  }

  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .expertise-item {
    padding: 16px 8px;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 6px 16px;
  }
}
