/* ============================================================
   MAIN STYLESHEET — Abdulrahman Abdulmannan Al Awar
   Premium National Talent Intelligence Platform
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --primary-dark: #0a0e27;
  --secondary-dark: #111842;
  --accent-gold: #c9a84c;
  --accent-gold-light: #e8d48b;
  --accent-gold-dark: #a68a3e;
  --text-white: #f0f0f0;
  --text-muted: #8892b0;
  --text-light: #b0b8d0;
  --glass-bg: rgba(17, 24, 66, 0.85);
  --glass-border: rgba(201, 168, 76, 0.2);
  --glass-border-light: rgba(255, 255, 255, 0.06);
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: all 0.2s ease;

  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 5rem;
  --space-3xl: 8rem;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.4);
  --shadow-gold: 0 4px 25px rgba(201, 168, 76, 0.2);

  --z-bg: -1;
  --z-content: 1;
  --z-nav: 1000;
  --z-overlay: 2000;
  --z-modal: 3000;
  --z-password: 4000;
}


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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--primary-dark);
  color: var(--text-white);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: top center;
}

a {
  color: var(--accent-gold);
  text-decoration: none;
  transition: var(--transition-smooth);
}

a:hover {
  color: var(--accent-gold-light);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  outline: none;
}

::selection {
  background: var(--accent-gold);
  color: var(--primary-dark);
}


/* ============================================================
   TYPOGRAPHY SCALE
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-white);
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.3rem, 3vw, 2rem);
}

h4 {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
}

h5 {
  font-size: 1.15rem;
}

h6 {
  font-size: 1rem;
}

p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
  line-height: 1.7;
}

.lead {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.gold-text {
  color: var(--accent-gold);
}

.white-text {
  color: var(--text-white);
}

.accent-underline {
  position: relative;
  display: inline-block;
}

.accent-underline::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-gold), transparent);
  border-radius: 2px;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-gold);
  margin-bottom: var(--space-sm);
  display: inline-block;
}

.section-title {
  margin-bottom: var(--space-lg);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: var(--space-xl);
  line-height: 1.7;
}

/* Section header block */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent-gold);
  margin-bottom: 12px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
}

.section-header .header-line {
  width: 50px;
  height: 3px;
  background: var(--accent-gold);
  margin: 16px auto 0;
  border-radius: 2px;
}


/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

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

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-column { display: flex; flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }

.gap-xs { gap: var(--space-xs); }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.section-padding {
  padding: 100px 0;
}


/* ============================================================
   PASSWORD PROTECTION SCREEN
   ============================================================ */
.password-screen {
  position: fixed;
  inset: 0;
  z-index: var(--z-password);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-dark);
  overflow: hidden;
}

.password-screen .network-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.password-container {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: var(--space-xl);
  max-width: 480px;
  width: 100%;
}

.password-logo {
  margin-bottom: var(--space-xl);
}

.password-logo h1 {
  font-size: 1.6rem;
  font-family: var(--font-heading);
  color: var(--accent-gold);
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.password-logo p {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--text-muted);
  margin: 0;
}

.password-crest {
  width: 88px;
  height: 88px;
  margin: 0 auto var(--space-xl);
  border: 2px solid var(--glass-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  box-shadow: var(--shadow-gold);
  animation: pulseGold 3s ease-in-out infinite;
}

.password-crest svg {
  width: 38px;
  height: 38px;
  fill: var(--accent-gold);
}

.password-field-wrapper {
  position: relative;
  margin-bottom: var(--space-lg);
}

.password-input {
  width: 100%;
  padding: 16px 24px;
  font-size: 1rem;
  letter-spacing: 0.15em;
  color: var(--text-white);
  background: rgba(17, 24, 66, 0.6);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  transition: var(--transition-smooth);
  text-align: center;
}

.password-input::placeholder {
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.password-input:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15), 0 0 30px rgba(201, 168, 76, 0.1);
}

.password-input.error {
  border-color: #e74c3c;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.2), 0 0 20px rgba(231, 76, 60, 0.1);
  animation: shake 0.5s ease-in-out;
}

.password-input.success {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.3), 0 0 60px rgba(201, 168, 76, 0.25);
}

.password-submit {
  width: 100%;
  padding: 14px 24px;
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--primary-dark);
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.password-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 168, 76, 0.35);
}

.password-submit:active {
  transform: translateY(0);
}

.password-error-msg {
  color: #e74c3c;
  font-size: 0.85rem;
  margin-top: var(--space-sm);
  opacity: 0;
  transition: opacity 0.3s ease;
  min-height: 1.2em;
}

.password-error-msg.visible {
  opacity: 1;
}

.password-hint {
  margin-top: var(--space-2xl);
  font-size: 0.72rem;
  color: var(--text-muted);
  opacity: 0.4;
}

/* Password glow orbs */
.password-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.07) 0%, transparent 70%);
  pointer-events: none;
  animation: passwordGlow 5s ease-in-out infinite;
}

.password-glow-1 {
  top: 15%;
  left: 5%;
}

.password-glow-2 {
  bottom: 10%;
  right: 5%;
  animation-delay: -2.5s;
}

.password-glow-3 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  animation-delay: -1s;
  opacity: 0.5;
}

/* Password transition overlay */
.password-transition {
  position: fixed;
  inset: 0;
  z-index: 5000;
  background: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.password-transition.active {
  opacity: 1;
  pointer-events: all;
}

.password-transition .spinner {
  width: 44px;
  height: 44px;
  border: 3px solid var(--glass-border);
  border-top-color: var(--accent-gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}


/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  background: rgba(10, 14, 39, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.nav-logo:hover {
  color: var(--accent-gold-light);
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-logo-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--accent-gold);
}

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

.nav-links a {
  position: relative;
  font-size: 0.84rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--accent-gold);
  background: rgba(201, 168, 76, 0.08);
}

.nav-links a.active {
  color: var(--accent-gold);
  background: rgba(201, 168, 76, 0.1);
}

/* Hamburger toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: calc(var(--z-nav) + 1);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-white);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav panel */
.nav-mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  height: 100vh;
  z-index: var(--z-nav);
  background: rgba(10, 14, 39, 0.97);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  flex-direction: column;
  padding: 100px 30px 30px;
  gap: 4px;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.4);
  border-left: 1px solid var(--glass-border);
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.nav-mobile-overlay.open {
  display: flex;
}

.nav-mobile-overlay a {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
  width: 100%;
  text-align: left;
}

.nav-mobile-overlay a:hover,
.nav-mobile-overlay a.active {
  color: var(--accent-gold);
  background: rgba(201, 168, 76, 0.1);
}


/* ============================================================
   HERO SECTIONS
   ============================================================ */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--primary-dark);
}

.hero-full {
  min-height: 100vh;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.hero-bg-cover img {
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 14, 39, 0.7) 0%,
    rgba(10, 14, 39, 0.85) 60%,
    rgba(10, 14, 39, 0.95) 100%
  );
  z-index: 1;
}

.hero-overlay-radial {
  background: radial-gradient(
    ellipse at center,
    rgba(10, 14, 39, 0.6) 0%,
    rgba(10, 14, 39, 0.9) 70%,
    rgba(10, 14, 39, 0.97) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 24px 80px;
  max-width: 800px;
}

.hero-content h1 {
  margin-bottom: 16px;
}

.hero-content h1 span {
  color: var(--accent-gold);
}

.hero-content p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.65);
  max-width: 600px;
  margin: 0 auto;
}

.hero-divider {
  width: 60px;
  height: 3px;
  background: var(--accent-gold);
  margin: 20px auto;
  border-radius: 2px;
}

.hero-cta {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  justify-content: center;
  margin-top: var(--space-xl);
}

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

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  opacity: 0.4;
  animation: floatUpDown 2.5s ease-in-out infinite;
}

.hero-scroll-indicator span {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}

.hero-scroll-indicator .arrow {
  width: 18px;
  height: 18px;
  border-right: 2px solid var(--accent-gold);
  border-bottom: 2px solid var(--accent-gold);
  transform: rotate(45deg);
}

/* Hero split layout */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  min-height: 100vh;
  padding-top: 100px;
}

.hero-split-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-split-image .image-frame {
  position: relative;
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg);
}

.hero-split-image .image-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: top center;
  display: block;
}


/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
  color: var(--primary-dark);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
  color: var(--primary-dark);
}

.btn-outline {
  background: transparent;
  color: var(--accent-gold);
  border: 2px solid var(--accent-gold);
}

.btn-outline:hover {
  background: var(--accent-gold);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  padding: 8px 16px;
  text-transform: none;
  letter-spacing: 0;
}

.btn-ghost:hover {
  color: var(--accent-gold);
}

.btn-pill {
  border-radius: var(--radius-full);
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}


/* ============================================================
   SECTION LAYOUTS
   ============================================================ */
.section {
  padding: var(--space-3xl) 0;
  position: relative;
}

.section-dark {
  background: var(--primary-dark);
}

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

.section-gradient {
  background: linear-gradient(180deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
}

.section-gradient-reverse {
  background: linear-gradient(180deg, var(--secondary-dark) 0%, var(--primary-dark) 100%);
}

.section-dark .section-header h2 {
  color: var(--text-white);
}

.section-dark .section-header p {
  color: rgba(255, 255, 255, 0.6);
}

/* Divider lines */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
  margin: var(--space-2xl) 0;
}

.gold-line {
  width: 60px;
  height: 3px;
  background: var(--accent-gold);
  border-radius: 2px;
  margin-bottom: var(--space-lg);
}

.gold-line-center {
  margin-left: auto;
  margin-right: auto;
}

/* Grid layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

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

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

.grid-asymmetric {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-xl);
  align-items: center;
}

.grid-asymmetric-reverse {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

/* Two-column content */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.split-section-center {
  align-items: center;
}


/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 36px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 168, 76, 0.4);
  box-shadow: var(--shadow-gold);
}

.card-light {
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-sm);
}

.card-light:hover {
  box-shadow: var(--shadow-md);
}

.card-light h3,
.card-light h4 {
  color: var(--primary-dark);
}

.card-light p {
  color: #5a5a7a;
}

.card-gold {
  border-top: 3px solid var(--accent-gold);
}

.card-sm {
  padding: var(--space-lg);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary-dark);
  font-size: 1.5rem;
}

.card-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--primary-dark);
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: var(--space-sm);
}

.card h4 {
  font-size: 1.05rem;
  margin-bottom: var(--space-sm);
}

.card p {
  font-size: 0.93rem;
}

/* Stat card */
.stat-card {
  text-align: center;
  padding: 40px 20px;
  background: var(--glass-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  border-bottom: 3px solid var(--accent-gold);
  transition: var(--transition-smooth);
}

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

.stat-card-light {
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-sm);
  border-bottom: 3px solid var(--accent-gold);
}

.stat-card-light:hover {
  box-shadow: var(--shadow-md);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--accent-gold);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-card-light .stat-number {
  color: var(--accent-gold-dark);
}

.stat-label {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.stat-card-light .stat-label {
  color: #6a6a8a;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

/* Profile card */
.profile-card {
  text-align: center;
}

.profile-card .profile-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto var(--space-md);
  border: 2px solid var(--glass-border);
  background: var(--secondary-dark);
}

.profile-card .profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Profile section (biography) */
.profile-section {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 60px;
  align-items: start;
}

.profile-image-wrapper {
  position: relative;
}

.profile-image-wrapper img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  object-position: top center;
}

.profile-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 12px;
  border: 2px solid var(--accent-gold);
  border-radius: var(--radius-lg);
  pointer-events: none;
  opacity: 0.3;
  z-index: -1;
  transform: translate(12px, 12px);
}

.profile-details h2 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.profile-details .title-role {
  color: var(--accent-gold);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 24px;
}

.profile-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}

.meta-item {
  padding: 14px 18px;
  background: rgba(201, 168, 76, 0.06);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent-gold);
}

.meta-item .meta-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.meta-item .meta-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-white);
}

/* Feature card with number */
.feature-card {
  position: relative;
}

.feature-card .feature-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(201, 168, 76, 0.12);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

/* Quote card / quote block */
.quote-card {
  border-left: 3px solid var(--accent-gold);
  padding-left: var(--space-xl);
}

.quote-card blockquote {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--text-white);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.quote-card cite {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--accent-gold);
}

.quote-block {
  background: linear-gradient(135deg, var(--primary-dark), var(--secondary-dark));
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.quote-block::before {
  content: '\201C';
  position: absolute;
  top: 20px;
  left: 30px;
  font-size: 8rem;
  font-family: var(--font-heading);
  color: rgba(201, 168, 76, 0.08);
  line-height: 1;
}

.quote-block blockquote {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--text-white);
  font-style: italic;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}

.quote-block cite {
  color: var(--accent-gold);
  font-style: normal;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
}


/* ============================================================
   IMAGE CONTAINERS — Full cover with face-safe positioning
   ============================================================ */
.image-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--secondary-dark);
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.image-container-portrait {
  aspect-ratio: 3 / 4;
}

.image-container-landscape {
  aspect-ratio: 16 / 10;
}

.image-container-square {
  aspect-ratio: 1 / 1;
}

.image-container-wide {
  aspect-ratio: 21 / 9;
}

/* Image with border frame */
.image-frame {
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.image-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--secondary-dark);
  border: 1px solid var(--glass-border);
  transition: var(--transition-smooth);
}

.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: top center;
  background: var(--secondary-dark);
  transition: var(--transition-smooth);
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.gallery-item:hover img {
  transform: scale(1.03);
}

.gallery-caption {
  padding: 16px 20px;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}


/* ============================================================
   TIMELINE
   ============================================================ */
.timeline {
  position: relative;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent-gold), var(--accent-gold-dark), var(--accent-gold));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 20px 50px 40px;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
  padding-right: 50px;
  padding-left: 20px;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
  padding-left: 50px;
  padding-right: 20px;
}

.timeline-dot {
  position: absolute;
  width: 18px;
  height: 18px;
  background: var(--accent-gold);
  border: 4px solid var(--primary-dark);
  border-radius: 50%;
  top: 28px;
  z-index: 2;
  box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.2);
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -9px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -9px;
}

.timeline-card {
  background: var(--glass-bg);
  padding: 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  transition: var(--transition-smooth);
}

.timeline-card:hover {
  border-color: rgba(201, 168, 76, 0.4);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.timeline-card-light {
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-sm);
}

.timeline-card-light:hover {
  box-shadow: var(--shadow-md);
}

.timeline-date {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.timeline-card h3 {
  font-size: 1.12rem;
  margin-bottom: 10px;
}

.timeline-card p {
  font-size: 0.92rem;
  line-height: 1.7;
}

/* Simple left-aligned timeline */
.timeline-simple {
  position: relative;
  padding-left: 40px;
}

.timeline-simple::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15px;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent-gold), var(--glass-border), transparent);
}

.timeline-simple .timeline-item {
  width: 100%;
  left: auto;
  padding: 0 0 var(--space-xl) 0;
  text-align: left;
}

.timeline-simple .timeline-dot {
  left: -33px;
  top: 6px;
  width: 12px;
  height: 12px;
  border: 3px solid var(--primary-dark);
  box-shadow: 0 0 0 2px var(--accent-gold);
}

/* Horizontal timeline */
.timeline-horizontal {
  display: flex;
  overflow-x: auto;
  gap: var(--space-xl);
  padding: var(--space-lg) 0;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-gold) var(--secondary-dark);
}

.timeline-horizontal::-webkit-scrollbar {
  height: 4px;
}

.timeline-horizontal::-webkit-scrollbar-track {
  background: var(--secondary-dark);
}

.timeline-horizontal::-webkit-scrollbar-thumb {
  background: var(--accent-gold);
  border-radius: 2px;
}

.timeline-h-item {
  min-width: 240px;
  flex-shrink: 0;
  text-align: center;
  position: relative;
  padding-top: var(--space-lg);
}

.timeline-h-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-gold);
}


/* ============================================================
   INFOGRAPHICS
   ============================================================ */

/* Pipeline / funnel (horizontal arrows) */
.infographic-pipeline {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0;
  padding: 40px 0;
  overflow-x: auto;
}

.pipeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 10px;
  min-width: 120px;
  flex: 1 1 0;
  position: relative;
}

.pipeline-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 10px;
  box-shadow: var(--shadow-gold);
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.pipeline-step h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.pipeline-step p {
  font-size: 0.72rem;
  color: var(--text-muted);
  max-width: 120px;
  margin: 0;
}

.pipeline-arrow {
  font-size: 1.2rem;
  color: var(--accent-gold);
  margin: 0 2px;
  flex-shrink: 0;
}

/* Vertical pipeline */
.pipeline-vertical {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.pipeline-vertical-stage {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  transition: var(--transition-smooth);
}

.pipeline-vertical-stage:hover {
  border-color: var(--accent-gold);
}

.pipeline-stage-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-gold);
  min-width: 50px;
  text-align: center;
}

.pipeline-connector {
  width: 2px;
  height: 24px;
  background: var(--accent-gold);
  margin-left: 38px;
  opacity: 0.3;
}

/* Ecosystem / hub-spoke diagram */
.ecosystem {
  position: relative;
  width: 100%;
  max-width: 600px;
  aspect-ratio: 1;
  margin: 0 auto;
}

.ecosystem-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
  box-shadow: 0 0 40px rgba(201, 168, 76, 0.3);
}

.ecosystem-center span {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.2;
}

.ecosystem-node {
  position: absolute;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.7rem;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.ecosystem-node:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  transform: scale(1.1);
}

/* Progress bars */
.progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
  overflow: hidden;
  margin-top: var(--space-sm);
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-light));
  border-radius: 3px;
  transition: width 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  width: 0;
}

/* Donut chart */
.donut-chart {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: conic-gradient(
    var(--accent-gold) 0deg,
    var(--accent-gold) var(--donut-value, 270deg),
    rgba(255, 255, 255, 0.05) var(--donut-value, 270deg),
    rgba(255, 255, 255, 0.05) 360deg
  );
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.donut-chart::after {
  content: '';
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--primary-dark);
}

.donut-chart span {
  position: relative;
  z-index: 1;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-gold);
}


/* ============================================================
   SVG ICON STYLING
   ============================================================ */
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.icon-sm { width: 16px; height: 16px; }
.icon-md { width: 24px; height: 24px; }
.icon-lg { width: 32px; height: 32px; }
.icon-xl { width: 48px; height: 48px; }

.icon-gold { color: var(--accent-gold); }
.icon-muted { color: var(--text-muted); }
.icon-white { color: var(--text-white); }

.icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-circle svg {
  width: 20px;
  height: 20px;
  fill: var(--accent-gold);
}

.icon-circle-lg {
  width: 72px;
  height: 72px;
}

.icon-circle-lg svg {
  width: 32px;
  height: 32px;
}


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--secondary-dark);
  border-top: 1px solid var(--glass-border);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 30px;
}

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

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-wrap: wrap;
  gap: 40px;
}

.footer-brand .footer-logo {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.88rem;
  max-width: 320px;
  line-height: 1.7;
  color: var(--text-muted);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition-smooth);
}

.footer-social a:hover {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: var(--primary-dark);
}

.footer-social a svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer-links h4 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-white);
  margin-bottom: 16px;
}

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

.footer-links ul li a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-links ul li a:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
  margin: 0;
}

.footer-bottom a {
  color: var(--accent-gold);
}

.footer-bottom a:hover {
  color: var(--accent-gold-light);
}


/* ============================================================
   CONTACT FORM
   ============================================================ */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 14px 18px;
  font-size: 0.95rem;
  color: var(--text-white);
  background: rgba(17, 24, 66, 0.5);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  transition: var(--transition-smooth);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.5;
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
}

.form-error {
  font-size: 0.78rem;
  color: #e74c3c;
  margin-top: var(--space-xs);
}

.form-success {
  padding: var(--space-lg);
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: var(--radius-md);
  text-align: center;
  color: var(--accent-gold);
}


/* ============================================================
   TAGS & BADGES
   ============================================================ */
.tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.73rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-full);
  background: rgba(201, 168, 76, 0.1);
  color: var(--accent-gold);
  border: 1px solid rgba(201, 168, 76, 0.2);
}

.tag-white {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  border-color: rgba(255, 255, 255, 0.1);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 500;
  border-radius: var(--radius-full);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
}

.badge-gold {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}


/* ============================================================
   TABS
   ============================================================ */
.tabs {
  display: flex;
  gap: var(--space-xs);
  border-bottom: 1px solid var(--glass-border);
  margin-bottom: var(--space-xl);
  overflow-x: auto;
}

.tab-btn {
  padding: 12px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  border: none;
  background: none;
  cursor: pointer;
  position: relative;
  white-space: nowrap;
  transition: var(--transition-smooth);
}

.tab-btn:hover {
  color: var(--text-white);
}

.tab-btn.active {
  color: var(--accent-gold);
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-gold);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.4s ease;
}


/* ============================================================
   ACCORDION
   ============================================================ */
.accordion-item {
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-lg);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-white);
  background: var(--glass-bg);
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: left;
}

.accordion-header:hover {
  color: var(--accent-gold);
}

.accordion-header .accordion-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.accordion-item.open .accordion-header .accordion-icon {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.accordion-item.open .accordion-body {
  max-height: 600px;
}

.accordion-body-inner {
  padding: var(--space-md) var(--space-lg) var(--space-lg);
}


/* ============================================================
   PAGE TRANSITION OVERLAY
   ============================================================ */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--primary-dark);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.page-transition.active {
  opacity: 1;
  pointer-events: all;
}


/* ============================================================
   SCROLL REVEAL CLASSES
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Stagger delays for grid children */
.stagger-children > *:nth-child(1) { transition-delay: 0.05s; }
.stagger-children > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children > *:nth-child(3) { transition-delay: 0.15s; }
.stagger-children > *:nth-child(4) { transition-delay: 0.2s; }
.stagger-children > *:nth-child(5) { transition-delay: 0.25s; }
.stagger-children > *:nth-child(6) { transition-delay: 0.3s; }
.stagger-children > *:nth-child(7) { transition-delay: 0.35s; }
.stagger-children > *:nth-child(8) { transition-delay: 0.4s; }
.stagger-children > *:nth-child(9) { transition-delay: 0.45s; }
.stagger-children > *:nth-child(10) { transition-delay: 0.5s; }


/* ============================================================
   KEYFRAME ANIMATIONS
   ============================================================ */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

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

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

@keyframes expandWidth {
  from { width: 0; }
  to { width: 60px; }
}

@keyframes networkPulse {
  0%, 100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.5);
  }
}

@keyframes nodeConnect {
  0% {
    stroke-dashoffset: 100;
    opacity: 0;
  }
  50% {
    opacity: 0.6;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 0;
  }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-6px); }
  20%, 40%, 60%, 80% { transform: translateX(6px); }
}

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

@keyframes passwordGlow {
  0%, 100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.15);
  }
}

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

@keyframes pulseGold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 168, 76, 0.3); }
  50% { box-shadow: 0 0 0 15px rgba(201, 168, 76, 0); }
}

@keyframes borderGlow {
  0%, 100% { border-color: var(--glass-border); }
  50% { border-color: var(--accent-gold); }
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Shimmer text */
.shimmer-text,
.gold-shimmer {
  background: linear-gradient(
    90deg,
    var(--accent-gold) 0%,
    var(--accent-gold-light) 25%,
    var(--accent-gold) 50%,
    var(--accent-gold-light) 75%,
    var(--accent-gold) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4s linear infinite;
}

/* Hero content entry animations */
.hero-content h1 {
  animation: fadeInUp 0.9s ease-out 0.2s both;
}

.hero-divider {
  animation: expandWidth 0.6s ease-out 0.6s both;
}

.hero-content p {
  animation: fadeInUp 0.9s ease-out 0.8s both;
}

.hero-cta {
  animation: fadeInUp 0.9s ease-out 1s both;
}


/* ============================================================
   NETWORK BACKGROUND (CSS fallback)
   ============================================================ */
.network-bg-css {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: var(--z-bg);
}

.network-dot {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-gold);
  opacity: 0.2;
  animation: networkPulse 4s ease-in-out infinite;
}

/* Canvas container for JS network */
.network-canvas {
  position: absolute;
  inset: 0;
  z-index: var(--z-bg);
}

.network-canvas canvas {
  width: 100%;
  height: 100%;
  display: block;
}


/* ============================================================
   MISCELLANEOUS COMPONENTS
   ============================================================ */

/* Divider with text */
.divider-text {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin: var(--space-xl) 0;
}

.divider-text::before,
.divider-text::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--glass-border);
}

.divider-text span {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  white-space: nowrap;
}

/* Tooltip */
.tooltip {
  position: relative;
}

.tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 12px;
  font-size: 0.73rem;
  color: var(--text-white);
  background: var(--secondary-dark);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.tooltip:hover::after {
  opacity: 1;
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
  z-index: 50;
  cursor: pointer;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
}

.back-to-top:hover {
  background: var(--accent-gold);
  color: var(--primary-dark);
  border-color: var(--accent-gold);
}

.back-to-top svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Loading skeleton */
.skeleton {
  background: linear-gradient(90deg, var(--secondary-dark) 25%, rgba(201, 168, 76, 0.05) 50%, var(--secondary-dark) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-md);
}

.skeleton-text {
  height: 16px;
  margin-bottom: var(--space-sm);
  width: 100%;
}

.skeleton-text:last-child {
  width: 60%;
}

.skeleton-heading {
  height: 28px;
  width: 70%;
  margin-bottom: var(--space-md);
}

.skeleton-image {
  aspect-ratio: 16 / 10;
  width: 100%;
}

/* List with gold bullets */
.list-gold li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.list-gold li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-gold);
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--accent-gold);
}

.breadcrumb .separator {
  color: var(--glass-border);
}


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

/* Tablet — 1024px */
@media (max-width: 1024px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100vh;
    background: rgba(10, 14, 39, 0.97);
    flex-direction: column;
    padding: 80px 30px 30px;
    gap: 4px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    border-left: 1px solid var(--glass-border);
    z-index: var(--z-nav);
  }

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

  .nav-links a {
    font-size: 1rem;
    padding: 12px 16px;
    width: 100%;
    text-align: left;
  }

  .nav-toggle {
    display: flex;
  }

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

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

  .grid-asymmetric,
  .grid-asymmetric-reverse {
    grid-template-columns: 1fr;
  }

  .split-section {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .hero-split {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 120px;
  }

  .hero-split-image {
    order: -1;
  }

  .hero-split-image .image-frame {
    max-width: 360px;
    margin: 0 auto;
  }

  .profile-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .profile-image-wrapper {
    max-width: 350px;
    margin: 0 auto;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    width: 100%;
    left: 0;
    padding-left: 56px;
    padding-right: 20px;
    text-align: left;
  }

  .timeline-item:nth-child(odd) {
    text-align: left;
    padding-left: 56px;
    padding-right: 20px;
  }

  .timeline-dot,
  .timeline-item:nth-child(odd) .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot {
    left: 11px;
    right: auto;
  }

  .ecosystem {
    max-width: 400px;
  }

  .ecosystem-node {
    width: 70px;
    height: 70px;
    font-size: 0.6rem;
  }

  .ecosystem-center {
    width: 100px;
    height: 100px;
  }
}

/* Mobile large — 768px */
@media (max-width: 768px) {
  .section-padding {
    padding: 70px 0;
  }

  .hero {
    min-height: 55vh;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

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

  .profile-meta {
    grid-template-columns: 1fr;
  }

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

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

  .infographic-pipeline {
    flex-direction: row;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .pipeline-step {
    min-width: 90px;
    padding: 12px 6px;
  }

  .pipeline-icon {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
  }

  .pipeline-step h4 {
    font-size: 0.65rem;
  }

  .pipeline-step p {
    font-size: 0.6rem;
    max-width: 85px;
  }

  .pipeline-arrow {
    font-size: 1rem;
    margin: 0 1px;
  }

  .quote-block {
    padding: 40px 24px;
  }

  .footer-top {
    flex-direction: column;
  }

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

  .tabs {
    gap: 0;
  }

  .tab-btn {
    padding: 10px 14px;
    font-size: 0.8rem;
  }
}

/* Mobile small — 480px */
@media (max-width: 480px) {
  .grid-4 {
    grid-template-columns: 1fr;
  }

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

  .stat-number {
    font-size: 2.4rem;
  }

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

  .card {
    padding: 24px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.82rem;
  }

  .password-container {
    padding: var(--space-lg);
  }

  .password-logo h1 {
    font-size: 1.3rem;
  }

  .password-input {
    padding: 14px 18px;
    font-size: 0.9rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta .btn {
    text-align: center;
    justify-content: center;
  }
}


/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {
  .navbar,
  .password-screen,
  .network-canvas,
  .network-bg-css,
  .back-to-top,
  .page-transition,
  .hero-network {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  h1, h2, h3, h4, h5, h6 {
    color: #000;
  }

  p, .lead {
    color: #333;
  }

  .card {
    border: 1px solid #ddd;
    background: #fff;
  }

  .section {
    padding: 2rem 0;
  }
}
