/* MOVEMENT MANAGEMENT UK — Design System v2 | Brand: #0cc0df */
:root {
  --color-bg: #0a0a0f;
  --color-surface: #0f1118;
  --color-surface-alt: #141620;
  --color-surface-elevated: #1a1c2a;
  --color-border: #1e2235;
  --color-border-light: #282d45;
  --color-accent: #0cc0df;
  --color-accent-light: #3dd4ed;
  --color-accent-dark: #0a9bb5;
  --color-accent-glow: rgba(12, 192, 223, 0.15);
  --color-text: #e2e4ea;
  --color-text-secondary: #858a9f;
  --color-text-muted: #4e5268;
  --color-white: #f5f5f7;
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Instrument Serif', serif;
  --font-ui: 'Outfit', sans-serif;
  --text-xs: clamp(0.7rem, 0.65rem + 0.25vw, 0.8rem);
  --text-sm: clamp(0.8rem, 0.75rem + 0.25vw, 0.9rem);
  --text-base: clamp(0.95rem, 0.9rem + 0.25vw, 1.05rem);
  --text-lg: clamp(1.1rem, 1rem + 0.5vw, 1.3rem);
  --text-xl: clamp(1.3rem, 1.1rem + 1vw, 1.7rem);
  --text-2xl: clamp(1.6rem, 1.3rem + 1.5vw, 2.2rem);
  --text-3xl: clamp(2rem, 1.5rem + 2.5vw, 3.2rem);
  --text-4xl: clamp(2.6rem, 1.8rem + 4vw, 4.8rem);
  --text-5xl: clamp(3.2rem, 2rem + 5vw, 6rem);
  --space-xs: 4px; --space-sm: 8px; --space-md: 16px; --space-lg: 24px;
  --space-xl: 32px; --space-2xl: 48px; --space-3xl: 64px; --space-4xl: 96px; --space-5xl: 128px;
  --max-width: 1340px;
  --nav-height: 72px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 600ms;
  --shadow-accent: 0 4px 30px rgba(12, 192, 223, 0.12);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-height) + env(safe-area-inset-top, 0px)); }
body { font-family: var(--font-ui); font-size: var(--text-base); font-weight: 400; line-height: 1.65; color: var(--color-text); background: var(--color-bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { content: ''; position: fixed; inset: 0; opacity: 0.02; pointer-events: none; z-index: 9999; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 300; line-height: 1.1; letter-spacing: -0.03em; color: var(--color-white); }
h1 { font-size: var(--text-5xl); } h2 { font-size: var(--text-3xl); } h3 { font-size: var(--text-2xl); } h4 { font-size: var(--text-xl); }
.serif-heading { font-family: var(--font-body); font-weight: 400; font-style: italic; }
.accent-text { color: var(--color-accent); }
.text-muted { color: var(--color-text-secondary); }
.text-upper { text-transform: uppercase; letter-spacing: 0.14em; font-size: var(--text-xs); font-weight: 600; }

.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 var(--space-lg); }
@media (min-width: 768px) { .container { padding: 0 var(--space-2xl); } }
.section { padding: var(--space-4xl) 0; }
.section-sm { padding: var(--space-3xl) 0; }

/* Decorative */
.accent-line { height: 1px; background: linear-gradient(90deg, transparent, var(--color-accent), transparent); opacity: 0.3; }

/* NAV */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: calc(var(--nav-height) + env(safe-area-inset-top, 0px)); padding-top: env(safe-area-inset-top, 0px); display: flex; align-items: center; transition: background-color var(--duration-normal), border-color var(--duration-normal); border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(10,10,15,0.98); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom-color: var(--color-border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 var(--space-lg); }
@media (min-width: 768px) { .nav-inner { padding: 0 var(--space-2xl); } }
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 28px; width: auto; }
.nav-links { display: none; gap: var(--space-xl); align-items: center; }
@media (min-width: 768px) { .nav-links { display: flex; } }
.nav-links a { font-size: var(--text-sm); font-weight: 500; color: var(--color-text-secondary); transition: color var(--duration-fast); position: relative; padding: var(--space-xs) 0; }
.nav-links a::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 1px; background: var(--color-accent); transition: width var(--duration-normal) var(--ease-out); }
.nav-links a:hover, .nav-links a.active { color: var(--color-white); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { font-size: var(--text-sm) !important; font-weight: 600 !important; color: var(--color-accent) !important; border: 1px solid var(--color-accent); padding: var(--space-sm) var(--space-lg) !important; border-radius: 2px; transition: background var(--duration-fast), color var(--duration-fast) !important; }
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--color-accent) !important; color: var(--color-bg) !important; }
.nav-toggle { display: flex; flex-direction: column; gap: 5px; padding: var(--space-sm); z-index: 110; }
@media (min-width: 768px) { .nav-toggle { display: none; } }
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--color-white); transition: transform var(--duration-normal) var(--ease-out), opacity var(--duration-fast); }
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -5px); }
.mobile-menu { position: fixed; inset: 0; z-index: 99; background: rgba(10,10,15,0.97); backdrop-filter: blur(20px); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: var(--space-xl); opacity: 0; pointer-events: none; transition: opacity var(--duration-normal); }
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-menu a { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 300; color: var(--color-text-secondary); transition: color var(--duration-fast); }
.mobile-menu a:hover { color: var(--color-accent); }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-sm); font-family: var(--font-ui); font-size: var(--text-sm); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 14px var(--space-xl); border: 1px solid transparent; border-radius: 2px; transition: all var(--duration-fast); cursor: pointer; white-space: nowrap; }
.btn-primary { background: var(--color-accent); color: var(--color-bg); border-color: var(--color-accent); }
.btn-primary:hover { background: var(--color-accent-light); box-shadow: var(--shadow-accent); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--color-white); border-color: var(--color-border-light); }
.btn-outline:hover { border-color: var(--color-accent); color: var(--color-accent); }

/* HERO */
.hero { position: relative; min-height: 100vh; display: flex; align-items: flex-end; padding-bottom: var(--space-4xl); overflow: hidden; }
.hero-video-wrap { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-video-wrap video { width: 100%; height: 100%; object-fit: cover; }
.hero-video-wrap::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(10,10,15,0.35) 0%, rgba(10,10,15,0.5) 30%, rgba(10,10,15,0.75) 60%, var(--color-bg) 100%); }
.hero-video-wrap::before { content: ''; position: absolute; inset: 0; z-index: 1; background: repeating-linear-gradient(to bottom, transparent, transparent 2px, rgba(10,10,15,0.03) 2px, rgba(10,10,15,0.03) 4px); pointer-events: none; }
.hero-content { position: relative; z-index: 2; max-width: 800px; }
.hero-label { display: inline-flex; align-items: center; gap: var(--space-sm); font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-accent); margin-bottom: var(--space-lg); }
.hero-label::before { content: ''; width: 24px; height: 1px; background: var(--color-accent); }
.hero h1 { margin-bottom: var(--space-lg); }
.hero-sub { font-family: var(--font-body); font-size: var(--text-xl); font-style: italic; color: var(--color-text-secondary); line-height: 1.5; margin-bottom: var(--space-2xl); max-width: 560px; }
.hero-actions { display: flex; gap: var(--space-md); flex-wrap: wrap; }
.hero-scroll { position: absolute; bottom: var(--space-xl); left: 50%; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: var(--space-sm); color: var(--color-text-muted); font-size: var(--text-xs); letter-spacing: 0.1em; text-transform: uppercase; animation: hfloat 2s ease-in-out infinite; }
.hero-scroll-line { width: 1px; height: 32px; background: linear-gradient(to bottom, var(--color-accent), transparent); }
@keyframes hfloat { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(6px); } }

/* SECTION HEADERS */
.section-header { margin-bottom: var(--space-3xl); }
.section-header-center { text-align: center; }
.section-header .text-upper { color: var(--color-accent); margin-bottom: var(--space-md); display: block; }
.section-header h2 { margin-bottom: var(--space-md); }
.section-header p { color: var(--color-text-secondary); max-width: 540px; font-size: var(--text-lg); line-height: 1.6; }
.section-header-center p { margin: 0 auto; }

/* STATS */
.stats-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--color-border); }
@media (min-width: 768px) { .stats-row { grid-template-columns: repeat(4, 1fr); } }
.stat { text-align: center; padding: var(--space-2xl) var(--space-md); background: var(--color-bg); }
.stat-number { font-family: var(--font-display); font-size: var(--text-3xl); font-weight: 300; color: var(--color-accent); line-height: 1; margin-bottom: var(--space-sm); }
.stat-label { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-text-secondary); }

/* IMAGE STRIP */
.image-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
@media (min-width: 768px) { .image-strip { grid-template-columns: repeat(5, 1fr); } }
.image-strip img { width: 100%; aspect-ratio: 1; object-fit: cover; filter: grayscale(20%); transition: filter var(--duration-normal), transform var(--duration-slow) var(--ease-out); }
.image-strip img:hover { filter: grayscale(0%); transform: scale(1.03); }

/* ABOUT SPLIT */
.about-split { display: grid; grid-template-columns: 1fr; gap: var(--space-3xl); align-items: center; }
@media (min-width: 768px) { .about-split { grid-template-columns: 1fr 1fr; } }
.about-text p { color: var(--color-text-secondary); font-size: var(--text-lg); line-height: 1.7; margin-bottom: var(--space-lg); }
.about-image-wrap { position: relative; border-radius: 3px; overflow: hidden; }
.about-image-wrap::before { content: ''; position: absolute; top: -1px; left: -1px; width: 60px; height: 60px; z-index: 2; border-top: 2px solid var(--color-accent); border-left: 2px solid var(--color-accent); }
.about-image-wrap::after { content: ''; position: absolute; bottom: -1px; right: -1px; width: 60px; height: 60px; z-index: 2; border-bottom: 2px solid var(--color-accent); border-right: 2px solid var(--color-accent); }

/* SERVICES */
.services-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-lg); }
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card { padding: var(--space-lg); border: 1px solid var(--color-border); border-radius: 3px; transition: border-color var(--duration-normal), transform var(--duration-normal) var(--ease-out); background: var(--color-surface); position: relative; overflow: hidden; }
@media (min-width: 768px) { .service-card { padding: var(--space-2xl); } }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--color-accent), transparent); opacity: 0; transition: opacity var(--duration-normal); }
.service-card:hover { border-color: var(--color-accent); transform: translateY(-6px); }
.service-card:hover::before { opacity: 1; }
.service-card-icon { width: 40px; height: 40px; margin-bottom: var(--space-lg); color: var(--color-accent); }
.service-card h3 { font-size: var(--text-xl); font-weight: 400; margin-bottom: var(--space-md); }
.service-card p { color: var(--color-text-secondary); font-size: var(--text-sm); line-height: 1.7; }

/* ATHLETE FILTERS */
.athlete-filters {
  margin-bottom: var(--space-2xl);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: var(--space-lg) var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.filter-group {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}
.filter-label {
  font-family: var(--font-ui);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-text-muted);
  min-width: 72px;
  font-weight: 600;
  flex-shrink: 0;
}
.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.filter-btn {
  padding: 7px 18px;
  border-radius: 100px;
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-text-secondary);
  font-size: 13px;
  font-family: var(--font-ui);
  font-weight: 400;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  line-height: 1;
}
.filter-btn:hover {
  border-color: var(--color-accent-dark);
  color: var(--color-text);
  background: rgba(12, 192, 223, 0.06);
}
.filter-btn.active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-bg);
  font-weight: 600;
}
.filter-divider {
  height: 1px;
  background: var(--color-border);
  margin: 2px 0;
}
.filter-count {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--color-text-muted);
  font-weight: 400;
  padding-top: 4px;
}
.filter-count span {
  color: var(--color-accent);
  font-weight: 700;
  font-size: 15px;
}
.athlete-card.filter-hidden { display: none; }
.athlete-no-results { grid-column: 1 / -1; text-align: center; padding: var(--space-2xl) var(--space-lg); }
.athlete-no-results p { color: var(--color-text-muted); margin-bottom: var(--space-lg); font-size: var(--text-lg); }
@media (max-width: 768px) {
  .athlete-filters { padding: var(--space-md) var(--space-lg); gap: 12px; }
  .filter-group { flex-direction: column; align-items: flex-start; gap: 8px; }
  .filter-label { min-width: unset; }
  .filter-btn { padding: 6px 14px; font-size: 12px; }
}
@media (max-width: 480px) {
  .athlete-filters { padding: var(--space-md); border-radius: 10px; }
  .filter-btn { padding: 5px 12px; font-size: 11px; }
}

/* ATHLETE CARDS */
.athlete-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
@media (min-width: 640px) { .athlete-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); } }
@media (min-width: 1024px) { .athlete-grid { grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); } }
.athlete-card { position: relative; overflow: hidden; border-radius: 3px; aspect-ratio: 3 / 4; cursor: pointer; display: block; }
.athlete-card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); transition: transform var(--duration-slow) var(--ease-out), filter var(--duration-slow) var(--ease-out); }
.athlete-card:hover .athlete-card-img { transform: scale(1.06); filter: grayscale(0%); }
.athlete-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,10,15,0.9) 0%, rgba(10,10,15,0.2) 45%, transparent 65%); display: flex; flex-direction: column; justify-content: flex-end; padding: var(--space-lg); }
.athlete-card:hover .athlete-card-overlay { background: linear-gradient(to top, rgba(10,10,15,0.95) 0%, rgba(10,10,15,0.4) 50%, rgba(10,10,15,0.15) 70%); }
.athlete-card-name { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 400; color: var(--color-white); line-height: 1.2; margin-bottom: 2px; }
.athlete-card-location { font-size: var(--text-xs); color: var(--color-text-muted); letter-spacing: 0.04em; text-transform: uppercase; transition: color var(--duration-fast); }
.athlete-card:hover .athlete-card-location { color: var(--color-accent); }
.athlete-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--color-accent); transform: scaleX(0); transform-origin: left; transition: transform var(--duration-normal) var(--ease-out); }
.athlete-card:hover::after { transform: scaleX(1); }
.athlete-card-arrow { position: absolute; top: var(--space-md); right: var(--space-md); width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; opacity: 0; transform: translate(-8px, 8px); transition: opacity var(--duration-normal) var(--ease-out), transform var(--duration-normal) var(--ease-out); color: var(--color-accent); }
.athlete-card:hover .athlete-card-arrow { opacity: 1; transform: translate(0, 0); }

/* CLIENT LOGOS - Animated scrolling strip */
.client-bar { padding: var(--space-3xl) 0; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); overflow: hidden; }
.client-bar-label { text-align: center; margin-bottom: var(--space-xl); }
.client-logos-scroll { overflow: hidden; position: relative; }
.client-logos-scroll::before,
.client-logos-scroll::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.client-logos-scroll::before {
  left: 0;
  background: linear-gradient(to right, var(--color-bg), transparent);
}
.client-logos-scroll::after {
  right: 0;
  background: linear-gradient(to left, var(--color-bg), transparent);
}
.client-logos-track {
  display: flex;
  align-items: center;
  gap: var(--space-3xl);
  width: max-content;
  animation: logo-slide 8s linear infinite;
}
.client-logos-scroll:hover .client-logos-track {
  animation-play-state: paused;
}
@keyframes logo-slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.client-logos-track img {
  height: 100px !important;
  width: auto !important;
  max-width: none;
  opacity: 0.45;
  filter: brightness(0) invert(1);
  transition: opacity var(--duration-fast);
  flex-shrink: 0;
  display: inline-block;
}
@media (min-width: 768px) {
  .client-logos-track img { height: 130px !important; }
}
.client-logos-track img:hover { opacity: 0.9; }

/* IMAGE BAND */
.image-band { position: relative; height: 40vh; min-height: 280px; overflow: hidden; }
.image-band img { width: 100%; height: 100%; object-fit: cover; }
.image-band::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, var(--color-bg), transparent 30%, transparent 70%, var(--color-bg)); }

/* CTA */
.cta-section { position: relative; padding: var(--space-5xl) 0; text-align: center; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 50%, var(--color-accent-glow) 0%, transparent 60%), var(--color-surface); z-index: 0; }
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { margin-bottom: var(--space-md); }
.cta-section p { color: var(--color-text-secondary); font-size: var(--text-lg); margin-bottom: var(--space-2xl); max-width: 480px; margin-left: auto; margin-right: auto; }

/* FOOTER */
.footer { border-top: 1px solid var(--color-border); padding: var(--space-3xl) 0 var(--space-2xl); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-2xl); margin-bottom: var(--space-3xl); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-brand p { color: var(--color-text-secondary); font-size: var(--text-sm); line-height: 1.7; max-width: 320px; margin-top: var(--space-md); }
.footer-brand img { height: 24px; width: auto; }
.footer-col h4 { font-size: var(--text-sm); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-white); margin-bottom: var(--space-md); }
.footer-col a { display: block; font-size: var(--text-sm); color: var(--color-text-secondary); padding: var(--space-xs) 0; transition: color var(--duration-fast); }
.footer-col a:hover { color: var(--color-accent); }
.footer-bottom { display: flex; flex-direction: column; gap: var(--space-md); padding-top: var(--space-xl); border-top: 1px solid var(--color-border); font-size: var(--text-xs); color: var(--color-text-muted); }
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; } }
.footer-social { display: flex; gap: var(--space-md); padding-right: 60px; }
.footer-social a { color: var(--color-text-muted); transition: color var(--duration-fast); }
.footer-social a:hover { color: var(--color-accent); }
.footer-social svg { width: 18px; height: 18px; }

/* PROFILE */
.profile-hero { padding-top: calc(var(--nav-height) + var(--space-3xl)); padding-bottom: var(--space-3xl); }
.profile-header { display: grid; grid-template-columns: 1fr; gap: var(--space-2xl); }
@media (min-width: 768px) { .profile-header { grid-template-columns: 1fr 1fr; gap: var(--space-3xl); } }
.profile-image-main { aspect-ratio: 3 / 4; width: 100%; object-fit: cover; border-radius: 3px; }
.profile-info { display: flex; flex-direction: column; justify-content: center; }
.profile-back { display: inline-flex; align-items: center; gap: var(--space-sm); font-size: var(--text-sm); color: var(--color-text-secondary); margin-bottom: var(--space-xl); transition: color var(--duration-fast); }
.profile-back:hover { color: var(--color-accent); }
.profile-back svg { width: 16px; height: 16px; }
.profile-name { font-size: var(--text-4xl); margin-bottom: var(--space-lg); }
.profile-meta { display: flex; flex-wrap: wrap; gap: var(--space-lg); margin-bottom: var(--space-xl); }
.profile-meta-item { display: flex; flex-direction: column; gap: 2px; }
.profile-meta-label { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-text-muted); }
.profile-meta-value { font-size: var(--text-base); color: var(--color-white); }
.profile-bio { color: var(--color-text-secondary); font-size: var(--text-lg); line-height: 1.7; margin-bottom: var(--space-xl); }
.profile-section { margin-bottom: var(--space-2xl); }
.profile-section h3 { font-size: var(--text-lg); font-weight: 500; margin-bottom: var(--space-md); color: var(--color-accent); }
.profile-section p { color: var(--color-text-secondary); line-height: 1.7; }
.profile-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-md); margin-top: var(--space-3xl); }
@media (min-width: 768px) { .profile-gallery { grid-template-columns: repeat(3, 1fr); } }
.profile-gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 3px; transition: transform var(--duration-slow) var(--ease-out); cursor: pointer; }
.profile-gallery img:hover { transform: scale(1.02); }

/* FORMS */
.form-section { padding-top: calc(var(--nav-height) + var(--space-3xl)); }
.form-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-3xl); }
@media (min-width: 768px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.form-group { margin-bottom: var(--space-lg); }
.form-label { display: block; font-size: var(--text-sm); font-weight: 500; color: var(--color-text-secondary); margin-bottom: var(--space-sm); }
.form-input, .form-textarea, .form-select { width: 100%; padding: 14px var(--space-md); font-family: var(--font-ui); font-size: var(--text-base); color: var(--color-white); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 2px; transition: border-color var(--duration-fast); outline: none; }
.form-input:focus, .form-textarea:focus, .form-select:focus { border-color: var(--color-accent); box-shadow: 0 0 0 3px var(--color-accent-glow); }
.form-input::placeholder, .form-textarea::placeholder { color: var(--color-text-muted); }
.form-textarea { min-height: 140px; resize: vertical; }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23858a9f' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }

/* Checkbox grid for multi-select */
.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xs);
}
@media (min-width: 480px) { .checkbox-grid { grid-template-columns: 1fr 1fr; } }
.check-option {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 10px var(--space-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 2px;
  cursor: pointer;
  transition: border-color var(--duration-fast), background var(--duration-fast);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}
.check-option:hover { border-color: var(--color-border-light); background: var(--color-surface-alt); }
.check-option:has(input:checked) {
  border-color: var(--color-accent);
  background: rgba(12, 192, 223, 0.06);
  color: var(--color-white);
}
.check-option input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--color-accent);
  flex-shrink: 0;
  cursor: pointer;
}
.check-option span { line-height: 1.3; }

.page-hero { padding-top: calc(var(--nav-height) + var(--space-4xl)); padding-bottom: var(--space-3xl); }
.page-hero h1 { font-size: var(--text-4xl); margin-bottom: var(--space-md); }
.page-hero p { color: var(--color-text-secondary); font-size: var(--text-xl); max-width: 560px; }
.error-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; }
.error-code { font-family: var(--font-display); font-size: clamp(6rem, 15vw, 14rem); font-weight: 300; color: var(--color-border); line-height: 1; margin-bottom: var(--space-lg); }

/* SCROLL REVEAL */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--duration-slow) var(--ease-out), transform var(--duration-slow) var(--ease-out); }
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; } .reveal-delay-2 { transition-delay: 0.2s; } .reveal-delay-3 { transition-delay: 0.3s; } .reveal-delay-4 { transition-delay: 0.4s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

.scroll-top { position: fixed; bottom: var(--space-xl); right: var(--space-xl); width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: var(--color-surface-elevated); border: 1px solid var(--color-border); border-radius: 2px; color: var(--color-text-secondary); opacity: 0; pointer-events: none; transition: opacity var(--duration-normal), color var(--duration-fast), border-color var(--duration-fast); z-index: 50; }
.scroll-top.visible { opacity: 1; pointer-events: all; }
.scroll-top:hover { color: var(--color-accent); border-color: var(--color-accent); }
.scroll-top svg { width: 18px; height: 18px; }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(10,10,15,0.95); display: flex; align-items: center; justify-content: center; padding: var(--space-xl); opacity: 0; pointer-events: none; transition: opacity var(--duration-normal); cursor: pointer; }
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: 3px; }
.lightbox-close { position: absolute; top: var(--space-xl); right: var(--space-xl); width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; color: var(--color-text-secondary); transition: color var(--duration-fast); cursor: pointer; }
.lightbox-close:hover { color: var(--color-white); }

.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Video positioning fix */
.hero-video-wrap video { position: relative; z-index: 0; }
.image-band { position: relative; }
.image-band video { position: absolute; inset: 0; z-index: 0; }
.image-band::after { z-index: 1; }

/* Image strip hover overlay with name */
.image-strip { overflow: hidden; }
.image-strip img { position: relative; }

/* Enhanced service card number */
.service-card-num {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 300;
  color: var(--color-border);
  line-height: 1;
  margin-bottom: var(--space-sm);
  transition: color var(--duration-normal);
}
@media (min-width: 768px) {
  .service-card-num { font-size: var(--text-4xl); margin-bottom: var(--space-md); }
}
.service-card:hover .service-card-num {
  color: var(--color-accent-glow);
}

/* ========== ANIMATED GLOW LINE ========== */
.glow-line {
  height: 1px;
  position: relative;
  overflow: hidden;
}
.glow-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  animation: glow-sweep 4s ease-in-out infinite;
}
@keyframes glow-sweep {
  0% { left: -50%; }
  100% { left: 100%; }
}

/* ========== FLOATING ACCENT SHAPES ========== */
.float-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.04;
  filter: blur(60px);
  background: var(--color-accent);
}

/* ========== ANIMATED BORDER CARD ========== */
.glow-border {
  position: relative;
  background: var(--color-surface);
  border-radius: 4px;
  overflow: hidden;
}
.glow-border::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 6px;
  background: conic-gradient(from 0deg, transparent 0%, var(--color-accent) 10%, transparent 20%);
  animation: border-spin 6s linear infinite;
  z-index: -1;
  opacity: 0;
  transition: opacity var(--duration-normal);
}
.glow-border:hover::before {
  opacity: 1;
}
@keyframes border-spin {
  100% { transform: rotate(360deg); }
}
.glow-border > * {
  position: relative;
  z-index: 1;
}
.glow-border-inner {
  background: var(--color-surface);
  border-radius: 3px;
  padding: var(--space-lg);
}
@media (min-width: 768px) {
  .glow-border-inner { padding: var(--space-2xl); }
}

/* ========== SPLIT FEATURE (enhanced about) ========== */
.split-feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: center;
}
@media (min-width: 768px) {
  .split-feature { grid-template-columns: 1fr 1fr; gap: var(--space-3xl); }
}
.split-feature-reversed { direction: rtl; }
.split-feature-reversed > * { direction: ltr; }
.split-feature-image {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
}
.split-feature-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}
.split-feature-image:hover img {
  transform: scale(1.03);
}
/* Animated corner brackets */
.split-feature-image::before {
  content: '';
  position: absolute;
  top: var(--space-md); left: var(--space-md);
  width: 40px; height: 40px;
  border-top: 2px solid var(--color-accent);
  border-left: 2px solid var(--color-accent);
  z-index: 2;
  transition: all var(--duration-normal) var(--ease-out);
}
.split-feature-image::after {
  content: '';
  position: absolute;
  bottom: var(--space-md); right: var(--space-md);
  width: 40px; height: 40px;
  border-bottom: 2px solid var(--color-accent);
  border-right: 2px solid var(--color-accent);
  z-index: 2;
  transition: all var(--duration-normal) var(--ease-out);
}
.split-feature-image:hover::before {
  width: 60px; height: 60px;
  top: var(--space-sm); left: var(--space-sm);
}
.split-feature-image:hover::after {
  width: 60px; height: 60px;
  bottom: var(--space-sm); right: var(--space-sm);
}

/* ========== ENHANCED CTA with particles ========== */
.cta-section {
  position: relative;
  overflow: hidden;
}
.cta-section::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 600px; height: 600px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(12,192,223,0.08) 0%, transparent 70%);
  animation: cta-pulse 4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes cta-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
  50% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

/* ========== ENHANCED SERVICE CARDS ========== */
.service-card {
  position: relative;
}
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 3px;
  background: radial-gradient(circle at 50% 0%, var(--color-accent-glow) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--duration-normal);
  pointer-events: none;
}
.service-card:hover::after {
  opacity: 1;
}

/* ========== NUMBER COUNTER GLOW ========== */
.stat-number {
  text-shadow: 0 0 40px rgba(12, 192, 223, 0.2);
}

/* ========== ANIMATED IMAGE STRIP ========== */
.image-strip-scroll {
  overflow: hidden;
  position: relative;
}
.image-strip-scroll::before,
.image-strip-scroll::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 60px;
  z-index: 2;
  pointer-events: none;
}
.image-strip-scroll::before {
  left: 0;
  background: linear-gradient(to right, var(--color-bg), transparent);
}
.image-strip-scroll::after {
  right: 0;
  background: linear-gradient(to left, var(--color-bg), transparent);
}
.image-strip-track {
  display: flex;
  gap: 4px;
  width: max-content;
  animation: strip-scroll 40s linear infinite;
}
.image-strip-scroll:hover .image-strip-track {
  animation-play-state: paused;
}
@keyframes strip-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.image-strip-track img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 3px;
  filter: grayscale(15%);
  transition: filter var(--duration-normal), transform var(--duration-slow) var(--ease-out);
}
@media (min-width: 768px) {
  .image-strip-track img {
    width: 220px;
    height: 220px;
  }
}
.image-strip-track img:hover {
  filter: grayscale(0%);
  transform: scale(1.04);
  z-index: 1;
}


/* ========== ATHLETE PROFILES v3 ========== */
.profile-page { padding-top: var(--nav-height); }

.profile-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  min-height: 70vh;
}
@media (min-width: 768px) {
  .profile-top {
    grid-template-columns: 1fr 1fr;
  }
}

.profile-img-col {
  position: relative;
  overflow: hidden;
  min-height: 50vh;
}
.profile-img-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.profile-back-pill {
  position: absolute;
  top: var(--space-lg);
  left: var(--space-lg);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-white);
  background: rgba(10,10,15,0.6);
  backdrop-filter: blur(8px);
  padding: var(--space-sm) var(--space-md);
  border-radius: 2px;
  border: 1px solid rgba(255,255,255,0.08);
  transition: border-color var(--duration-fast);
  text-decoration: none;
}
.profile-back-pill:hover { border-color: var(--color-accent); }
.profile-back-pill svg { width: 14px; height: 14px; }

.profile-info-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-2xl) var(--space-xl);
}
@media (min-width: 768px) {
  .profile-info-col { padding: var(--space-3xl) var(--space-2xl); }
}
.profile-info-col h1 {
  font-size: clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: var(--space-sm);
}
.profile-location-tag {
  display: inline-block;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  font-weight: 500;
  margin-bottom: var(--space-xl);
}
.profile-quick-stats {
  display: flex;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-border);
}
.profile-qs-item {}
.profile-qs-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  margin-bottom: 2px;
}
.profile-qs-value {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-white);
}
.profile-bio-short {
  font-size: var(--text-base);
  line-height: 1.75;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-xl);
}
.profile-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* Detail blocks below the hero */
.profile-details {
  padding: var(--space-3xl) 0;
}
.profile-detail-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}
@media (min-width: 768px) {
  .profile-detail-row { grid-template-columns: 1fr 1fr; }
}
.profile-block {
  padding: var(--space-xl);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 3px;
}
.profile-block h3 {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--color-border);
}
.profile-block p {
  font-size: var(--text-sm);
  line-height: 1.8;
  color: var(--color-text-secondary);
}

/* Gallery */
.profile-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xs);
}
@media (min-width: 768px) {
  .profile-gallery-grid { grid-template-columns: repeat(4, 1fr); }
}
.profile-gallery-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 2px;
  cursor: pointer;
  filter: grayscale(10%);
  transition: filter var(--duration-normal), transform var(--duration-slow) var(--ease-out);
}
.profile-gallery-grid img:hover {
  filter: grayscale(0%);
  transform: scale(1.02);
}

/* ========== INTRO LOADING SCREEN ========== */
/* Intro video overlay */
.intro-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 9998;
  background: #000;
  overflow: hidden;
  opacity: 1;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.intro-overlay.intro-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.intro-overlay.intro-hidden { display: none; }

.intro-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Reduced motion: skip everything */
@media (prefers-reduced-motion: reduce) {
  .intro-overlay { display: none !important; }
}

/* ========== FLIP CARDS ========== */
.flip-card {
  perspective: 1200px;
  height: 380px;
}
@media (max-width: 767px) {
  .flip-card { height: 320px; }
}
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transform-style: preserve-3d;
}
.flip-card:hover .flip-card-inner,
.flip-card.flipped .flip-card-inner {
  transform: rotateY(180deg);
}
.flip-card-front,
.flip-card-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  border-radius: 3px;
  overflow: hidden;
  transform-style: flat;
}

/* Front: image background */
.flip-card-front {
  z-index: 2;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  transform: rotateY(0deg);
}
.flip-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,15,0.92) 0%, rgba(10,10,15,0.4) 40%, rgba(10,10,15,0.15) 100%);
}
.flip-card-content {
  position: relative;
  z-index: 1;
  padding: var(--space-xl);
  width: 100%;
}
.flip-card-content .service-card-num {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 300;
  color: rgba(255,255,255,0.15);
  line-height: 1;
  margin-bottom: var(--space-sm);
}
@media (min-width: 768px) {
  .flip-card-content .service-card-num { font-size: var(--text-4xl); margin-bottom: var(--space-md); }
}
.flip-card-content .service-card-icon {
  width: 36px;
  height: 36px;
  margin-bottom: var(--space-md);
  color: var(--color-accent);
}
.flip-card-content h3 {
  font-size: var(--text-xl);
  font-weight: 400;
  color: var(--color-white);
}

/* Back: info */
.flip-card-back {
  transform: rotateY(180deg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.flip-card-back h3 {
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--color-border);
}
.flip-card-back p {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--color-text-secondary);
}

/* Flip card mobile hint */
@media (max-width: 767px) {
  .flip-card-front::before {
    content: 'Tap to flip';
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    z-index: 3;
    font-size: var(--text-xs);
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    pointer-events: none;
  }
}

/* ================================================================
   PREMIUM ANIMATIONS — 21st.dev Inspired Effects
   Added 12 March 2026
   ================================================================ */

/* ========== SCROLL PROGRESS BAR ========== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light), var(--color-accent));
  z-index: 9999;
  transition: none;
  box-shadow: 0 0 8px rgba(12, 192, 223, 0.4);
}

/* ========== CURSOR GLOW ========== */
.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(12, 192, 223, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  opacity: 0;
}
.cursor-glow.active { opacity: 1; }
@media (max-width: 767px) { .cursor-glow { display: none; } }
@media (prefers-reduced-motion: reduce) { .cursor-glow { display: none; } }

/* ========== TEXT SHIMMER ========== */
.text-shimmer {
  background: linear-gradient(
    110deg,
    var(--color-white) 0%,
    var(--color-white) 40%,
    var(--color-accent-light) 50%,
    var(--color-white) 60%,
    var(--color-white) 100%
  );
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: text-shimmer-sweep 4s ease-in-out infinite;
}
@keyframes text-shimmer-sweep {
  0% { background-position: 100% center; }
  100% { background-position: -100% center; }
}
@media (prefers-reduced-motion: reduce) {
  .text-shimmer {
    background: none;
    -webkit-text-fill-color: var(--color-white);
  }
}

/* ========== TEXT SCRAMBLE ========== */
.text-scramble {
  font-variant-numeric: tabular-nums;
}

/* ========== MAGNETIC BUTTON ========== */
.btn-magnetic {
  transition: all var(--duration-fast), transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

/* ========== BUTTON GLOW + RIPPLE ========== */
.btn-primary {
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
  opacity: 0;
  transition: opacity 0.3s;
  z-index: -1;
  filter: blur(12px);
}
.btn-primary:hover::before {
  opacity: 0.5;
}
.btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0);
  animation: btn-ripple-expand 0.6s ease-out forwards;
  pointer-events: none;
}
@keyframes btn-ripple-expand {
  to { transform: scale(4); opacity: 0; }
}

/* ========== SPOTLIGHT CARD ========== */
.athlete-card {
  --spotlight-x: 50%;
  --spotlight-y: 50%;
  --spotlight-opacity: 0;
}
.athlete-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: 3px;
  background: radial-gradient(
    350px circle at var(--spotlight-x) var(--spotlight-y),
    rgba(12, 192, 223, 0.12) 0%,
    transparent 100%
  );
  opacity: var(--spotlight-opacity);
  transition: opacity 0.3s;
  pointer-events: none;
}

/* ========== BORDER BEAM ========== */
.flip-card-inner .flip-card-front::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 3px;
  padding: 1px;
  background: conic-gradient(
    from var(--beam-angle, 0deg),
    transparent 0%,
    var(--color-accent) 5%,
    transparent 10%,
    transparent 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
  z-index: 5;
}
.flip-card:hover .flip-card-inner .flip-card-front::after {
  opacity: 1;
  animation: border-beam-spin 3s linear infinite;
}
@keyframes border-beam-spin {
  to { --beam-angle: 360deg; }
}
@property --beam-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

/* ========== AURORA GLOW (CTA) ========== */
.aurora-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.aurora-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.12;
  will-change: transform;
}
.aurora-orb-1 {
  width: 500px;
  height: 500px;
  background: var(--color-accent);
  top: -20%;
  left: 20%;
  animation: aurora-float-1 8s ease-in-out infinite;
}
.aurora-orb-2 {
  width: 400px;
  height: 400px;
  background: var(--color-accent-light);
  bottom: -10%;
  right: 15%;
  animation: aurora-float-2 10s ease-in-out infinite;
}
.aurora-orb-3 {
  width: 300px;
  height: 300px;
  background: #0a9bb5;
  top: 30%;
  left: 60%;
  animation: aurora-float-3 12s ease-in-out infinite;
}
@keyframes aurora-float-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(80px, 40px) scale(1.1); }
  66% { transform: translate(-40px, -20px) scale(0.9); }
}
@keyframes aurora-float-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-60px, -30px) scale(1.15); }
  66% { transform: translate(50px, 20px) scale(0.95); }
}
@keyframes aurora-float-3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-70px, 50px) scale(1.2); }
}
@media (prefers-reduced-motion: reduce) {
  .aurora-orb { animation: none !important; }
}

/* ========== FLOATING PARTICLES ========== */
.particles-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 50%;
  opacity: 0;
  animation: particle-float var(--particle-duration, 6s) var(--particle-delay, 0s) ease-in-out infinite;
}
@keyframes particle-float {
  0% { opacity: 0; transform: translateY(0) translateX(0); }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  100% { opacity: 0; transform: translateY(-100vh) translateX(var(--particle-drift, 20px)); }
}
@media (prefers-reduced-motion: reduce) {
  .particle { display: none; }
}

/* ========== SPLIT TEXT REVEAL ========== */
.split-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px) rotateX(-40deg);
  transition: opacity 0.5s, transform 0.5s;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}
.split-text-revealed .split-char {
  opacity: 1;
  transform: translateY(0) rotateX(0deg);
}
@media (prefers-reduced-motion: reduce) {
  .split-char { opacity: 1; transform: none; transition: none; }
}

/* ========== IMAGE CLIP REVEAL ========== */
.clip-reveal {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.clip-reveal.revealed {
  clip-path: inset(0 0 0 0);
}
.clip-reveal-right {
  clip-path: inset(0 0 0 100%);
  transition: clip-path 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.clip-reveal-right.revealed {
  clip-path: inset(0 0 0 0);
}
@media (prefers-reduced-motion: reduce) {
  .clip-reveal, .clip-reveal-right { clip-path: none; }
}

/* ========== ENHANCED NAV ========== */
.nav-logo img {
  transition: filter 0.3s;
}
.nav-logo:hover img {
  filter: drop-shadow(0 0 8px rgba(12, 192, 223, 0.4));
}
.nav-links a {
  position: relative;
  overflow: hidden;
}
.nav-links a::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-accent);
  transform: translateX(-50%) scale(0);
  transition: transform 0.3s var(--ease-out);
}
.nav-links a:hover::before {
  transform: translateX(-50%) scale(1);
}

/* ========== STAGGERED STAT REVEAL ========== */
.stat {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.stats-row.revealed .stat {
  opacity: 1;
  transform: translateY(0);
}
.stats-row.revealed .stat:nth-child(1) { transition-delay: 0s; }
.stats-row.revealed .stat:nth-child(2) { transition-delay: 0.12s; }
.stats-row.revealed .stat:nth-child(3) { transition-delay: 0.24s; }
.stats-row.revealed .stat:nth-child(4) { transition-delay: 0.36s; }

/* ========== HERO PARALLAX ========== */
.hero-video-wrap video,
.hero-video-wrap img {
  transition: transform 0.1s linear;
  will-change: transform;
}

/* ========== ENHANCED GLOW LINE ========== */
.glow-line {
  position: relative;
  overflow: hidden;
}
.glow-line::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

/* ========== TYPING CURSOR FOR HERO SUB ========== */
.hero-sub-typed::after {
  content: '|';
  display: inline-block;
  color: var(--color-accent);
  animation: blink-cursor 0.8s step-end infinite;
  margin-left: 2px;
  font-style: normal;
}
@keyframes blink-cursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ========== HOVER LIFT FOR ALL INTERACTIVE ELEMENTS ========== */
.btn-outline {
  position: relative;
  overflow: hidden;
}
.btn-outline::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(12, 192, 223, 0.08) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-outline:hover::before {
  opacity: 1;
}

/* ========== FOOTER LINK SLIDE ========== */
.footer-col a {
  position: relative;
  overflow: hidden;
}
.footer-col a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--color-accent);
  transform: translateX(-101%);
  transition: transform 0.3s var(--ease-out);
}
.footer-col a:hover::after {
  transform: translateX(0);
}

/* ========== ENHANCED LIGHTBOX ========== */
.lightbox img {
  transition: transform 0.3s var(--ease-out);
}
.lightbox.open img {
  animation: lightbox-zoom-in 0.3s var(--ease-out) forwards;
}
@keyframes lightbox-zoom-in {
  from { transform: scale(0.9); opacity: 0.5; }
  to { transform: scale(1); opacity: 1; }
}

/* ========== SMOOTH SCROLL TOP BUTTON ========== */
.scroll-top {
  transition: opacity var(--duration-normal), color var(--duration-fast), border-color var(--duration-fast), transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.scroll-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 20px rgba(12, 192, 223, 0.15);
}

/* ========== PROFILE PAGE IMAGE TILT ========== */
.profile-img-col img {
  transition: transform 0.4s var(--ease-out);
}

/* ========== ANIMATED GRADIENT BORDER ON FOCUS ========== */
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-image: linear-gradient(135deg, var(--color-accent), var(--color-accent-light)) 1;
}

/* ========== SECTION DIVIDER PULSE ========== */
.glow-line::after {
  background: linear-gradient(90deg, transparent, var(--color-accent), var(--color-accent-light), var(--color-accent), transparent);
  height: 1px;
  box-shadow: 0 0 12px rgba(12, 192, 223, 0.3);
}
