/* ===========================
   CSS Variables
   =========================== */
:root {
  --gold: #d4af37;
  --gold-bright: #f0c843;
  --gold-dark: #9c8329;
  --gold-subtle: rgba(212, 175, 55, 0.1);
  --gold-border: rgba(212, 175, 55, 0.15);
  --gold-border-hover: rgba(212, 175, 55, 0.4);
  --black: #050505;
  --surface-1: #0a0a0a;
  --surface-2: #111111;
  --surface-3: #1a1a1a;
  --text-primary: #ffffff;
  --text-secondary: #d1d5db;
  --text-muted: #6b7280;
  --radius: 12px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===========================
   Reset & Base
   =========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--black);
  color: var(--text-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

/* ===========================
   Scroll Progress Bar
   =========================== */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  z-index: 9999;
  transition: width 0.08s linear;
}

/* ===========================
   Container
   =========================== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===========================
   Section spacing
   =========================== */
section { padding: 6rem 0; }

/* ===========================
   Section label (eyebrow)
   =========================== */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

/* ===========================
   Section title
   =========================== */
.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: white;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

/* ===========================
   Gold bar accent
   =========================== */
.gold-bar {
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

/* ===========================
   Buttons
   =========================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.875rem 2rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #000;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  z-index: 0;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(212,175,55,0.35); }
.btn-primary:hover::after { opacity: 1; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.875rem 2rem;
  background: transparent;
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.18);
  transition: all 0.3s var(--ease);
}
.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

/* ===========================
   Glass cards
   =========================== */
.glass-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius);
  transition: border-color 0.3s ease, transform 0.3s var(--ease), box-shadow 0.3s ease, background 0.3s ease;
  position: relative;
  overflow: hidden;
}
.glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.35), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.glass-card:hover {
  border-color: var(--gold-border-hover);
  transform: translateY(-5px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.5), 0 0 0 1px rgba(212,175,55,0.06);
  background: rgba(255,255,255,0.04);
}
.glass-card:hover::before { opacity: 1; }

/* ===========================
   Icon circle
   =========================== */
.icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gold-subtle);
  border: 1px solid rgba(212,175,55,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.glass-card:hover .icon-circle {
  background: rgba(212,175,55,0.18);
  border-color: rgba(212,175,55,0.5);
  box-shadow: 0 0 20px rgba(212,175,55,0.15);
}

/* ===========================
   Hero
   =========================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  background: var(--black);
}

/* Subtle grid */
.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(212,175,55,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,175,55,0.035) 1px, transparent 1px);
  background-size: 72px 72px;
}
.hero-grid::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, transparent 30%, var(--black) 80%);
}

/* Floating orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(90px);
}
.orb-1 {
  width: 550px; height: 550px;
  background: radial-gradient(circle, rgba(212,175,55,0.11) 0%, transparent 70%);
  top: -180px; left: -180px;
  animation: orbFloat1 30s ease-in-out infinite;
}
.orb-2 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(212,175,55,0.07) 0%, transparent 70%);
  bottom: -60px; right: -60px;
  animation: orbFloat2 24s ease-in-out infinite;
}
.orb-3 {
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(240,200,67,0.09) 0%, transparent 70%);
  top: 50%; left: 55%;
  animation: orbFloat3 18s ease-in-out infinite;
}
@keyframes orbFloat1 {
  0%,100% { transform: translate(0,0); }
  33%  { transform: translate(70px, 50px); }
  66%  { transform: translate(-30px, 90px); }
}
@keyframes orbFloat2 {
  0%,100% { transform: translate(0,0); }
  50% { transform: translate(-55px, -70px); }
}
@keyframes orbFloat3 {
  0%,100% { transform: translate(-50%,-50%) scale(1); }
  50% { transform: translate(-50%,-50%) scale(1.35); opacity: 0.5; }
}

/* Shimmer sweep */
.hero-gold-overlay {
  position: absolute; inset: 0;
  pointer-events: none; z-index: 1;
  background: linear-gradient(105deg, transparent 40%, rgba(212,175,55,0.055) 50%, transparent 60%);
  animation: shimmerSweep 9s linear infinite;
}
@keyframes shimmerSweep {
  0%   { transform: translateX(-100%) skewX(-15deg); }
  100% { transform: translateX(200%) skewX(-15deg); }
}

.hero-content { position: relative; z-index: 2; max-width: 860px; padding: 0 2rem; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 2rem;
  opacity: 0; animation: fadeUp 0.8s ease forwards 0.2s;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: ''; display: block; width: 36px; height: 1px;
  background: var(--gold); opacity: 0.6;
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 5.25rem);
  font-weight: 700; line-height: 1.06;
  color: white; letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
  opacity: 0; animation: fadeUp 0.8s ease forwards 0.4s;
}
.hero-title .gold-text {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 50%, var(--gold) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: goldShift 4s linear infinite;
}
@keyframes goldShift {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary); max-width: 640px;
  margin: 0 auto 2.5rem; line-height: 1.75;
  opacity: 0; animation: fadeUp 0.8s ease forwards 0.6s;
}

.hero-actions {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center;
  opacity: 0; animation: fadeUp 0.8s ease forwards 0.8s;
}

.hero-scroll {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0; animation: fadeUp 0.8s ease forwards 1.2s;
}
.hero-scroll span { font-size: 0.65rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); }
.scroll-line {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: 0.25; transform: scaleY(1); }
  50% { opacity: 0.9; transform: scaleY(0.75); }
}

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

/* ===========================
   Stats section
   =========================== */
.stats-section {
  padding: 4rem 0;
  background: var(--surface-1);
  border-top: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--gold-border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-divider {
  width: 1px;
  background: var(--gold-border);
  align-self: center;
  height: 48px;
}
.stat-number {
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ===========================
   Founder photo
   =========================== */
.founder-photo-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gold-border);
}
.founder-photo-wrap img {
  width: 100%; display: block;
  transition: transform 0.7s var(--ease);
}
.founder-photo-wrap:hover img { transform: scale(1.03); }
.founder-photo-wrap::after {
  content: '';
  position: absolute; inset: 0;
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: var(--radius);
  pointer-events: none;
}

/* Credential list */
.credential {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.credential:last-child { border-bottom: none; padding-bottom: 0; }
.credential-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0; margin-top: 7px;
}
.credential-text { font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.5; }

/* ===========================
   Info cards (languages, expertise)
   =========================== */
.info-card {
  background: var(--surface-2);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius);
  padding: 2rem;
}
.info-card h3 {
  font-size: 0.75rem; font-weight: 700;
  color: var(--gold); letter-spacing: 0.14em;
  text-transform: uppercase; margin-bottom: 1.25rem;
}
.info-card li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.9rem; color: var(--text-secondary);
}
.info-card li:last-child { border-bottom: none; }
.info-card ul { list-style: none; }

/* ===========================
   Methodology timeline
   =========================== */
.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 27px;
  left: calc(16.66% + 14px);
  right: calc(16.66% + 14px);
  height: 1px;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright), var(--gold));
  opacity: 0.25;
}
.timeline-step { text-align: center; padding: 0 1.5rem 2rem; }
.timeline-number {
  width: 54px; height: 54px; border-radius: 50%;
  border: 1px solid var(--gold); color: var(--gold);
  font-size: 1.125rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem; position: relative; z-index: 1;
  transition: all 0.3s ease; background: var(--black);
}
.timeline-step:hover .timeline-number {
  background: var(--gold); color: black;
  box-shadow: 0 0 32px rgba(212,175,55,0.4);
}
.timeline-step h3 {
  font-size: 1.2rem; font-weight: 700; color: white; margin-bottom: 0.5rem;
}
.timeline-step p { font-size: 0.9rem; color: var(--text-muted); }

/* ===========================
   Video
   =========================== */
.video-container {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gold-border);
  box-shadow: 0 24px 60px rgba(0,0,0,0.6);
}
.video-container video { width: 100%; display: block; }
.video-controls {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1rem 1.25rem 1.25rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  display: flex; align-items: center; gap: 0.75rem;
  opacity: 0; transition: opacity 0.3s ease;
}
.video-container:hover .video-controls { opacity: 1; }
.play-pause {
  background: rgba(212,175,55,0.15);
  border: 1px solid rgba(212,175,55,0.3);
  color: var(--gold); border-radius: 50%;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0;
  transition: all 0.2s ease;
}
.play-pause:hover { background: var(--gold); color: black; border-color: var(--gold); }
.progress-track {
  flex: 1; height: 3px; background: rgba(255,255,255,0.18);
  border-radius: 2px; cursor: pointer;
}
.progress {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  border-radius: 2px; width: 0%;
  pointer-events: none;
}
.current-time, .duration { font-size: 0.72rem; color: rgba(255,255,255,0.65); white-space: nowrap; }

/* ===========================
   Blockquote
   =========================== */
blockquote {
  position: relative;
  padding: 2.5rem 2rem 2rem 3.5rem;
  border-left: 2px solid var(--gold);
  background: rgba(212,175,55,0.03);
  border-radius: 0 var(--radius) var(--radius) 0;
}
blockquote::before {
  content: '\201C';
  position: absolute; top: 0.5rem; left: 1rem;
  font-size: 5rem; color: var(--gold); line-height: 1;
  opacity: 0.35; font-family: Georgia, serif;
}

/* ===========================
   CTA section
   =========================== */
.cta-section {
  position: relative; overflow: hidden;
  background: var(--surface-1);
  border-top: 1px solid var(--gold-border);
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(212,175,55,0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* ===========================
   Sector cards (index page links)
   =========================== */
.sector-card {
  display: block; text-decoration: none;
  background: var(--surface-2);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  transition: all 0.3s var(--ease);
  position: relative; overflow: hidden;
}
.sector-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.sector-card:hover {
  border-color: var(--gold-border-hover);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.sector-card:hover::after { transform: scaleX(1); }
.sector-card h3 { font-size: 1.5rem; font-weight: 700; color: white; margin-bottom: 0.75rem; }
.sector-card p { font-size: 0.9375rem; color: var(--text-muted); line-height: 1.65; }
.sector-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--gold); font-size: 0.875rem; font-weight: 600;
  margin-top: 1.5rem;
  transition: gap 0.2s ease;
}
.sector-card:hover .sector-arrow { gap: 10px; }

/* ===========================
   Animations (scroll-triggered)
   =========================== */
[data-animate] {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-animate="slide-up"]    { transform: translateY(32px); }
[data-animate="slide-down"]  { transform: translateY(-32px); }
[data-animate="slide-left"]  { transform: translateX(40px); }
[data-animate="slide-right"] { transform: translateX(-40px); }
[data-animate="fade-in"]     { transform: none; }
[data-animate="scale-in"]    { transform: scale(0.93); }
[data-animate="stagger"] li {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-animate].animated,
[data-animate] li.animated {
  opacity: 1;
  transform: none;
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline::before { display: none; }
}
@media (max-width: 768px) {
  section { padding: 4rem 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .timeline { grid-template-columns: 1fr; }
  .section-title { font-size: 1.75rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-title { letter-spacing: -0.01em; }
  blockquote { padding: 2rem 1.5rem 1.5rem 2.5rem; }
}
@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
}
