/* ============================================
   NORTHEN TRADING LABS — Design System
   ============================================ */

:root {
  --bg-primary: #0a0e1a;
  --bg-secondary: #121826;
  --bg-card: #151c2d;
  --bg-card-hover: #1c263b;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(99, 179, 237, 0.25);

  --blue: #3b82f6;
  --blue-light: #60a5fa;
  --blue-dim: rgba(59, 130, 246, 0.12);
  --purple: #8b5cf6;
  --purple-dim: rgba(139, 92, 246, 0.1);
  --indigo: #6366f1;

  --text-primary: #f0f4ff;
  --text-secondary: rgba(220, 230, 255, 0.6);
  --text-muted: rgba(200, 215, 255, 0.35);
  --text-label: rgba(99, 179, 237, 0.8);

  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   RESET & BASE
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

::selection {
  background: rgba(99, 102, 241, 0.3);
  color: #fff;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

em {
  font-style: italic;
  color: var(--blue-light);
}

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

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

.nav.scrolled {
  background: rgba(4, 5, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  transition: opacity var(--transition);
}

.nav-logo:hover {
  opacity: 0.85;
}

.nav-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.15));
}

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

.nav-link {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
  transition: color var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--blue-light);
  transition: width var(--transition);
}

.nav-link:hover {
  color: var(--text-primary);
}

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

.nav-cta {
  font-size: 13px;
  font-weight: 500;
  color: var(--blue-light);
  border: 1px solid rgba(96, 165, 250, 0.3);
  border-radius: 6px;
  padding: 8px 20px;
  letter-spacing: 0.04em;
  transition: all var(--transition);
}

.nav-cta:hover {
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(96, 165, 250, 0.6);
  color: #fff;
}

.nav-dropdown { position: relative; }
.nav-dropdown-toggle { display: flex; align-items: center; gap: 4px; }
.nav-dropdown-toggle svg { transition: transform var(--transition); }
.nav-dropdown:hover .nav-dropdown-toggle svg { transform: rotate(180deg); }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(12, 18, 32, 0.96);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px 0 8px;
  min-width: 180px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  z-index: 100;
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu li { list-style: none; }
.nav-dropdown-menu a {
  display: block;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.nav-dropdown-menu a:hover {
  color: var(--text-primary);
  background: rgba(59, 130, 246, 0.08);
}

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

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-secondary);
  transition: var(--transition);
  border-radius: 2px;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

#particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(59, 130, 246, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 85% 50%, rgba(139, 92, 246, 0.07) 0%, transparent 70%);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  padding-top: 120px;
  padding-bottom: 120px;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-label);
  margin-bottom: 36px;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-light);
  animation: pulse-dot 2.5s ease-in-out infinite;
}

@keyframes pulse-dot {

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

  50% {
    opacity: 0.5;
    transform: scale(0.7);
  }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 600;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 32px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--blue-light) 0%, var(--purple) 55%, var(--indigo) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 52px;
  letter-spacing: 0.01em;
}

.br-desktop {
  display: block;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #fff;
  background: linear-gradient(135deg, var(--blue) 0%, var(--indigo) 100%);
  border-radius: var(--radius-sm);
  padding: 14px 30px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 4px 24px rgba(59, 130, 246, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.4);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 30px;
  transition: all var(--transition);
}

.btn-ghost:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.03);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: fade-float 3s ease-in-out infinite;
}

@keyframes fade-float {

  0%,
  100% {
    opacity: 0.5;
    transform: translate(-50%, 0);
  }

  50% {
    opacity: 1;
    transform: translate(-50%, -6px);
  }
}

.scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, transparent, var(--blue-light));
  border-radius: 1px;
}

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

.section-alt {
  background: var(--bg-secondary);
}

.section-header {
  max-width: 680px;
  margin-bottom: 80px;
}

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-label);
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 0;
}

.section-body {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 480px;
  margin-top: 20px;
  line-height: 1.75;
}

.section-body-center {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ============================================
   BUILDING GRID
   ============================================ */
.building-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.building-card {
  background: var(--bg-primary);
  padding: 48px;
  transition: background var(--transition);
  position: relative;
}

.building-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue-dim), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.building-card:hover {
  background: var(--bg-card-hover);
}

.building-card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--blue-dim);
  border: 1px solid rgba(59, 130, 246, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-light);
  margin-bottom: 28px;
}

.building-card h3 {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.building-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ============================================
   NEURAL DIVIDER
   ============================================ */
.neural-divider {
  height: 160px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom, var(--bg-primary), var(--bg-secondary));
}

#neural-canvas {
  width: 100%;
  height: 100%;
}

/* ============================================
   TECHNOLOGIES
   ============================================ */
.tech-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 80px;
  align-items: start;
}

.tech-left {
  position: sticky;
  top: 120px;
}

.tech-left .section-body {
  max-width: 300px;
}

.tech-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.tech-item {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: start;
  gap: 24px;
  padding: 32px 36px;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
  position: relative;
}

.tech-item:last-child {
  border-bottom: none;
}

.tech-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--blue), var(--purple));
  opacity: 0;
  transition: opacity var(--transition);
}

.tech-item:hover {
  background: rgba(255, 255, 255, 0.02);
}

.tech-item:hover::before {
  opacity: 1;
}

.tech-num {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  padding-top: 3px;
}

.tech-content h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.tech-content p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.tech-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-light);
  background: var(--blue-dim);
  border: 1px solid rgba(99, 179, 237, 0.15);
  border-radius: 4px;
  padding: 4px 10px;
  white-space: nowrap;
  align-self: start;
  margin-top: 2px;
}

/* ============================================
   APPROACH
   ============================================ */
.approach-inner {
  display: flex;
  flex-direction: column;
  gap: 72px;
}

.approach-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.approach-text p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
}

.approach-text p:last-child {
  margin-bottom: 0;
}

.approach-pillars {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.pillar {
  display: flex;
  gap: 24px;
  align-items: start;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.pillar:hover {
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.02);
}

.pillar-num {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-light);
  background: var(--blue-dim);
  border: 1px solid rgba(99, 179, 237, 0.2);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pillar-body h4 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.pillar-body p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.72;
}

/* ============================================
   VISION
   ============================================ */
.section-vision {
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.section-vision::before {
  content: '';
  position: absolute;
  top: 0;
  right: -200px;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.vision-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.vision-left .section-title {
  margin-bottom: 0;
}

.vision-quote {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 400;
  font-style: italic;
  color: var(--blue-light);
  line-height: 1.5;
  margin-bottom: 36px;
  padding-left: 24px;
  border-left: 2px solid rgba(96, 165, 250, 0.4);
}

.vision-right p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

.vision-right p:last-of-type {
  margin-bottom: 44px;
}

.vision-stats {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.stat-item {
  flex: 1;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.stat-label {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
}

/* ============================================
   CAPABILITY SECTION (Accordion)
   ============================================ */
.capability-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 900px;
  margin: 72px auto 48px;
}

.acc-item {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}

.acc-item.active {
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.03);
}

.acc-header {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 32px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: var(--text-primary);
  transition: all var(--transition);
}

.acc-title-wrap {
  display: flex;
  align-items: center;
  gap: 24px;
}

.acc-num {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-light);
  background: var(--blue-dim);
  border: 1px solid rgba(96, 165, 250, 0.15);
  padding: 4px 8px;
  border-radius: 4px;
}

.acc-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
}

.acc-icon {
  width: 24px;
  height: 24px;
  position: relative;
  opacity: 0.6;
}
.acc-icon::before, .acc-icon::after {
  content: '';
  position: absolute;
  background: var(--text-primary);
  transition: transform var(--transition);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.acc-icon::before { width: 14px; height: 1.5px; }
.acc-icon::after { height: 14px; width: 1.5px; }

.acc-item:hover .acc-icon { opacity: 1; }

.acc-item.active .acc-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}
.acc-item.active .acc-icon::before {
  background: var(--blue-light);
}

.acc-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.acc-inner {
  padding: 0 40px 48px 40px;
}

.acc-desc {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 720px;
  margin-bottom: 32px;
  padding-left: 64px;
}

.acc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding-left: 64px;
}

.acc-col h4 {
  font-family: var(--font-heading);
  font-size: 14px;
  color: var(--text-primary);
  margin-bottom: 20px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  opacity: 0.9;
}

.acc-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.acc-list li {
  position: relative;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  padding-left: 20px;
}
.acc-list li::before {
  content: '\2014';
  position: absolute;
  left: 0;
  color: var(--blue-light);
  opacity: 0.6;
  font-weight: bold;
}
.acc-list li strong {
  color: var(--text-primary);
  font-weight: 500;
}

.capability-statement {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  padding: 24px 0 0;
}

.capability-statement p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  font-style: italic;
}

/* ============================================
   TEAM
   ============================================ */
.section-header.center-header {
  margin: 0 auto 80px;
  text-align: center;
}

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

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  opacity: 0;
  transition: opacity var(--transition);
}

.team-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.team-card:hover::before {
  opacity: 1;
}

.team-avatar {
  position: relative;
  width: 64px;
  height: 64px;
}

.avatar-initials {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-dim), var(--purple-dim));
  border: 1px solid rgba(99, 179, 237, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--blue-light);
  letter-spacing: 0.05em;
}

.avatar-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(99, 179, 237, 0.1);
  animation: rotate-ring 8s linear infinite;
}

@keyframes rotate-ring {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.team-info h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.team-role {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-label);
  margin-bottom: 14px;
}

.team-info p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.73;
}

/* ============================================
   CONTACT
   ============================================ */
.section-contact {
  position: relative;
  overflow: hidden;
}

.contact-inner {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.contact-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(59, 130, 246, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.contact-content .section-label {
  margin-bottom: 24px;
  display: block;
}

.contact-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 28px;
}

.contact-body {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 52px;
}

.contact-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 500;
  color: var(--blue-light);
  border: 1px solid rgba(96, 165, 250, 0.3);
  border-radius: var(--radius);
  padding: 18px 36px;
  transition: all var(--transition);
  letter-spacing: -0.01em;
  position: relative;
  overflow: hidden;
}

.contact-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.08));
  opacity: 0;
  transition: opacity var(--transition);
}

.contact-cta:hover {
  border-color: rgba(96, 165, 250, 0.6);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(59, 130, 246, 0.2);
}

.contact-cta:hover::before {
  opacity: 1;
}

.contact-cta svg {
  flex-shrink: 0;
  transition: transform var(--transition);
  position: relative;
}

.contact-cta:hover svg {
  transform: translate(3px, -3px);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-subtext {
  margin-top: 24px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 80px;
  position: relative;
}

.about-timeline::before {
  content: '';
  position: absolute;
  left: 120px;
  top: 32px;
  bottom: 32px;
  width: 1px;
  background: linear-gradient(to bottom, var(--blue-dim), var(--purple-dim), transparent);
}

.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0 48px;
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.timeline-item:last-child {
  border-bottom: none;
}

.timeline-marker {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-top: 4px;
  position: relative;
}

.timeline-marker::after {
  content: '';
  position: absolute;
  right: -54px;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
  border: 2px solid var(--bg-secondary);
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.5);
}

.timeline-year {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-label);
}

.timeline-content {
  padding-top: 0;
}

.timeline-content h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.timeline-content p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.82;
  margin-bottom: 16px;
}

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

.timeline-content strong {
  color: var(--text-primary);
  font-weight: 600;
}

.timeline-content em {
  color: var(--blue-light);
  font-style: italic;
}

/* Market Trader photo gallery */
.about-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  aspect-ratio: 3/4;
  transition: all var(--transition);
  cursor: pointer;
  position: relative;
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(4, 5, 10, 0.6) 100%);
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: sepia(15%) contrast(0.95);
  transition: all var(--transition);
}

.gallery-item:hover img {
  filter: sepia(0%) contrast(1);
  transform: scale(1.03);
}

/* Family quote */
.about-family {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 52px 60px;
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(12, 18, 32, 0.5) 100%);
  position: relative;
  overflow: hidden;
}

.about-family::before {
  content: '\201C';
  position: absolute;
  top: -20px;
  left: 40px;
  font-size: 200px;
  font-family: var(--font-heading);
  color: var(--blue-dim);
  line-height: 1;
  pointer-events: none;
  opacity: 0.5;
}

.family-quote blockquote {
  font-family: var(--font-heading);
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 400;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.65;
  max-width: 820px;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.family-quote cite {
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--text-label);
  font-style: normal;
  position: relative;
  z-index: 1;
}

/* Team photo avatars */
.team-avatar-photo {
  width: 72px;
  height: 72px;
  position: relative;
}

.avatar-photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  display: block;
  border: 2px solid rgba(99, 179, 237, 0.2);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 36px 0;
  background: var(--bg-primary);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-left {
  display: flex;
  align-items: center;
}

.footer-logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
  display: block;
  opacity: 0.7;
  transition: opacity var(--transition);
}

.footer-logo-img:hover {
  opacity: 1;
}

.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
}

.footer-links { font-size: 12px; }
.footer-links a { color: var(--text-secondary); transition: color var(--transition); margin: 0 6px; }
.footer-links a:hover { color: var(--text-primary); }

.footer-disclaimer {
  font-size: 11px;
  color: var(--text-muted);
  opacity: 0.6;
}

/* ============================================
   ANIMATIONS
   ============================================ */
.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left {
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-up.visible,
.reveal-left.visible {
  opacity: 1;
  transform: none;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .tech-layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .tech-left {
    position: static;
  }

  .approach-content {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .vision-inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }

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

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

  .capability-card:nth-child(3n) {
    border-right: 1px solid rgba(255, 255, 255, 0.06);
  }

  .capability-card:nth-child(2n) {
    border-right: none;
  }

  .capability-card:nth-child(n+5) {
    border-bottom: none;
  }

  .capability-card:nth-child(n+4) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 24px;
  }

  .nav-inner {
    padding: 0 24px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    background: rgba(8, 12, 20, 0.98);
    backdrop-filter: blur(20px);
    padding: 80px 32px 40px;
    gap: 24px;
    border-left: 1px solid var(--border);
    transform: translateX(100%);
    transition: transform var(--transition);
  }

  .nav-links.open {
    display: flex;
    transform: translateX(0);
  }

  .nav-toggle {
    display: flex;
  }

  .nav-dropdown-menu { display: none; position: static; transform: none; background: none; border: none; box-shadow: none; backdrop-filter: none; padding: 4px 0 0 16px; min-width: 0; }
  .nav-dropdown.open .nav-dropdown-menu { display: block; }
  .nav-dropdown:hover .nav-dropdown-menu { display: none; }
  .nav-dropdown.open:hover .nav-dropdown-menu { display: block; }
  .nav-dropdown-menu a { padding: 6px 0; font-size: 12px; }

  .section {
    padding: 80px 0;
  }

  .hero-inner {
    padding-top: 100px;
    padding-bottom: 80px;
  }

  .hero-title {
    font-size: 44px;
  }

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

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }

  .tech-item {
    grid-template-columns: 1fr;
  }

  .tech-num {
    display: none;
  }

  .tech-tag {
    justify-self: start;
  }

  .br-desktop {
    display: none;
  }

  .vision-stats {
    flex-direction: column;
  }

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

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

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

  .capability-card:nth-child(2n) {
    border-right: none;
  }

  .capability-card:nth-child(n+4) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .capability-card:last-child {
    border-bottom: none;
  }

  .capability-card {
    padding: 36px 28px;
  }

  .acc-grid { grid-template-columns: 1fr; gap: 28px; }
  .acc-header { padding: 20px 24px; }
  .acc-inner { padding: 0 24px 24px; }
  .acc-desc { padding-left: 0; }
  .acc-grid { padding-left: 0; }

  /* About responsive */
  .about-timeline::before {
    display: none;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 36px 0;
  }

  .timeline-marker {
    align-items: flex-start;
  }

  .timeline-marker::after {
    display: none;
  }

  .about-family {
    padding: 36px 28px;
  }

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

@media (max-width: 480px) {
  .hero-title {
    font-size: 36px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .building-card {
    padding: 32px 24px;
  }

  .tech-item {
    padding: 24px;
  }

  .contact-cta {
    font-size: 14px;
    padding: 16px 24px;
  }

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

  .about-family {
    padding: 28px 20px;
  }

  .family-quote blockquote {
    font-size: 16px;
  }
}
