/* ==========================================================================
   RITISSHA S — PORTFOLIO STYLES
   Design tokens: near-black tech base + violet/cyan neural accent
   Type: Sora (display) / Inter (body) / JetBrains Mono (utility)
   ========================================================================== */

/* ---------- 1. TOKENS ---------- */
:root {
  --bg-primary: #0A0A0F;
  --bg-secondary: #12121B;
  --bg-elevated: #16161F;

  --glass-bg: rgba(255, 255, 255, 0.045);
  --glass-border: rgba(255, 255, 255, 0.09);
  --glass-border-hover: rgba(255, 255, 255, 0.18);

  --accent-violet: #7C5CFC;
  --accent-violet-soft: rgba(124, 92, 252, 0.15);
  --accent-cyan: #22D3EE;
  --accent-cyan-soft: rgba(34, 211, 238, 0.15);
  --accent-gradient: linear-gradient(135deg, #7C5CFC 0%, #22D3EE 100%);

  --text-primary: #F5F5F7;
  --text-secondary: #C4C4CE;
  --text-muted: #8A8A96;

  --success: #34D399;

  --font-display: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-height: 76px;
}

/* ---------- 2. RESET ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

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

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
input, textarea { font-family: inherit; }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.mono { font-family: var(--font-mono); }
.accent-dot { color: var(--accent-cyan); }

/* ---------- 3. BACKDROP: gradient + neural network canvas ---------- */
.bg-gradient {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(124, 92, 252, 0.22), transparent 60%),
    radial-gradient(ellipse 70% 50% at 90% 20%, rgba(34, 211, 238, 0.16), transparent 60%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(124, 92, 252, 0.14), transparent 60%),
    var(--bg-primary);
  background-size: 200% 200%;
  animation: gradientShift 18s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 0%, 100% 0%, 50% 100%, 0 0; }
  50% { background-position: 20% 20%, 80% 30%, 60% 80%, 0 0; }
}

.bg-network {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.5;
  pointer-events: none;
}

/* ---------- 4. CURSOR GLOW ---------- */
.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 92, 252, 0.12), transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  will-change: transform;
}

@media (hover: none) {
  .cursor-glow { display: none; }
}

/* ---------- 5. LOADING SCREEN ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner { text-align: center; }

.loader-mark {
  margin: 0 auto 20px;
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); opacity: 0.7; }
}

.loader-text {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}

.loader-dots { color: var(--accent-cyan); }

.loader-bar {
  width: 180px;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.loader-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--accent-gradient);
  transition: width 1.4s var(--ease);
}

/* ---------- 6. NAVIGATION ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(10, 10, 15, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--glass-border);
}

.nav-container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}

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

.nav-link {
  font-size: 14px;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
  transition: color 0.25s var(--ease);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-gradient);
  transition: width 0.3s var(--ease);
}

.nav-link:hover { color: var(--text-primary); }
.nav-link:hover::after { width: 100%; }

.nav-cta {
  padding: 8px 18px;
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  color: var(--text-primary);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.nav-cta::after { display: none; }
.nav-cta:hover { border-color: var(--accent-cyan); background: var(--accent-cyan-soft); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  z-index: 101;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 7. FLOATING SOCIALS ---------- */
.floating-socials {
  position: fixed;
  left: 28px;
  bottom: 28px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  color: var(--text-secondary);
  transition: transform 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
  animation: floatIcon 4s ease-in-out infinite;
}
.social-icon:nth-child(2) { animation-delay: 0.6s; }
.social-icon:nth-child(3) { animation-delay: 1.2s; }
.social-icon:nth-child(4) { animation-delay: 1.8s; }

@keyframes floatIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.social-icon:hover {
  color: var(--bg-primary);
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
  transform: translateY(-4px) scale(1.08);
}

@media (max-width: 768px) {
  .floating-socials { display: none; }
}

/* ---------- 8. GLASS UTILITY ---------- */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-radius: var(--radius-md);
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

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

/* ---------- 9. SCROLL REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 10. BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #0A0A0F;
  box-shadow: 0 0 0 0 rgba(124, 92, 252, 0.5);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -4px rgba(124, 92, 252, 0.5);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
}
.btn-ghost:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
  background: var(--accent-cyan-soft);
}

.btn-full { width: 100%; justify-content: center; }

.btn-small {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn-small:hover { background: rgba(255, 255, 255, 0.16); transform: translateY(-2px); }

.btn-small-outline {
  background: transparent;
  border: 1px solid var(--glass-border);
}
.btn-small-outline:hover {
  border-color: var(--accent-violet);
  background: var(--accent-violet-soft);
}

/* ---------- 11. HERO ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: var(--nav-height);
}

.hero-container {
  max-width: 1080px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
}

.hero-eyebrow {
  color: var(--accent-cyan);
  font-size: 13px;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.hero-name {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-role {
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  color: var(--text-secondary);
  margin-bottom: 22px;
  min-height: 1.6em;
}

.typed-role { color: var(--text-primary); font-family: var(--font-mono); font-weight: 500; }

.typed-cursor {
  display: inline-block;
  color: var(--accent-cyan);
  animation: blink 0.9s step-end infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.hero-summary {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 36px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

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

.hero-photo-ring {
  position: relative;
  width: min(320px, 78vw);
  aspect-ratio: 1 / 1;
  border-radius: 32px;
  padding: 3px;
  background: var(--accent-gradient);
  background-size: 200% 200%;
  animation: ringShift 6s ease-in-out infinite;
}

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

.hero-photo-ring::after {
  content: '';
  position: absolute;
  inset: -18px;
  border-radius: 40px;
  background: var(--accent-gradient);
  filter: blur(38px);
  opacity: 0.35;
  z-index: -1;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
  display: block;
  background: var(--bg-secondary);
}

.hero-photo-badge {
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 9px 18px;
  font-size: 11.5px;
  color: var(--accent-cyan);
  white-space: nowrap;
  border-radius: 100px;
}

.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 38px;
  border: 1px solid var(--glass-border);
  border-radius: 20px;
}
.scroll-indicator span {
  display: block;
  width: 4px;
  height: 8px;
  background: var(--accent-cyan);
  border-radius: 2px;
  margin: 7px auto 0;
  animation: scrollDown 1.8s ease-in-out infinite;
}
@keyframes scrollDown {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(12px); opacity: 0; }
  100% { opacity: 0; }
}

/* ---------- 12. COUNTERS ---------- */
.counters {
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  padding: 48px 0;
  background: rgba(255, 255, 255, 0.015);
}

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

.counter-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.counter-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
  display: block;
}

/* ---------- 13. SECTION SHARED ---------- */
.section { padding: 110px 0; }

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-violet);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 48px;
  max-width: 640px;
}

.section-subtitle {
  color: var(--text-muted);
  margin-top: -32px;
  margin-bottom: 40px;
  font-size: 15px;
}

/* ---------- 13B. ANIMATED INTRO / VIDEO PLAYER ---------- */
.video-player {
  overflow: hidden;
  padding: 0;
}

.video-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  background:
    radial-gradient(ellipse 70% 60% at 30% 20%, rgba(124, 92, 252, 0.25), transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(34, 211, 238, 0.18), transparent 60%),
    var(--bg-secondary);
  overflow: hidden;
}

.scene {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}
.scene.active { opacity: 1; }

.scene-inner { text-align: center; max-width: 640px; }
.scene-center { display: flex; flex-direction: column; align-items: center; gap: 6px; }

.scene-avatar-ring {
  width: clamp(64px, 12vw, 92px);
  height: clamp(64px, 12vw, 92px);
  border-radius: 50%;
  padding: 2.5px;
  background: var(--accent-gradient);
  margin-bottom: 14px;
  opacity: 0;
  transform: scale(0.7);
}
.scene-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  background: var(--bg-secondary);
}
.scene.active .scene-avatar-ring {
  animation: sceneAvatarIn 0.6s var(--ease) 0s forwards;
}
@keyframes sceneAvatarIn {
  from { opacity: 0; transform: scale(0.7); }
  to { opacity: 1; transform: scale(1); }
}

.scene-eyebrow {
  color: var(--accent-cyan);
  font-size: clamp(11px, 1.6vw, 13px);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
  opacity: 0;
}
.scene.active .scene-eyebrow { animation: sceneFadeUp 0.6s var(--ease) 0.05s forwards; }

.scene-name {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5.5vw, 3.2rem);
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0;
}
.scene.active .scene-name { animation: sceneFadeUp 0.7s var(--ease) 0.25s forwards; }

.scene-tagline {
  color: var(--text-secondary);
  font-size: clamp(12px, 2vw, 15px);
  margin-top: 10px;
  opacity: 0;
}
.scene.active .scene-tagline { animation: sceneFadeUp 0.6s var(--ease) 0.55s forwards; }

.scene-heading {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3.6vw, 2rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
  opacity: 0;
}
.scene.active .scene-heading { animation: sceneFadeUp 0.6s var(--ease) 0.2s forwards; }

.scene-orbit {
  position: relative;
  width: min(280px, 60vw);
  height: min(280px, 60vw);
  margin-top: 24px;
}
.orbit-chip {
  position: absolute;
  top: 50%; left: 50%;
  padding: 7px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  white-space: nowrap;
  opacity: 0;
  transform-origin: center;
}
.scene.active .orbit-chip {
  animation: orbitIn 0.6s var(--ease) forwards;
  animation-delay: calc(0.2s + var(--i) * 0.12s);
  --angle: calc(var(--i) * 72deg);
  transform: rotate(var(--angle)) translate(120px) rotate(calc(-1 * var(--angle)));
}
@keyframes orbitIn {
  from { opacity: 0; transform: rotate(var(--angle)) translate(20px) rotate(calc(-1 * var(--angle))) scale(0.6); }
  to { opacity: 1; transform: rotate(var(--angle)) translate(120px) rotate(calc(-1 * var(--angle))) scale(1); }
}

.scene-chip-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
  max-width: 480px;
}
.scene-chip {
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 12.5px;
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--glass-border);
  opacity: 0;
  transform: translateY(10px);
}
.scene.active .scene-chip {
  animation: sceneFadeUp 0.45s var(--ease) forwards;
}
.scene.active .scene-chip:nth-child(1) { animation-delay: 0.15s; }
.scene.active .scene-chip:nth-child(2) { animation-delay: 0.27s; }
.scene.active .scene-chip:nth-child(3) { animation-delay: 0.39s; }
.scene.active .scene-chip:nth-child(4) { animation-delay: 0.51s; }
.scene.active .scene-chip:nth-child(5) { animation-delay: 0.63s; }
.scene.active .scene-chip:nth-child(6) { animation-delay: 0.75s; }
.scene.active .scene-chip:nth-child(7) { animation-delay: 0.87s; }

.scene-project-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(420px, 84vw);
}
.scene-project-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-border);
  font-size: 13.5px;
  text-align: left;
  opacity: 0;
  transform: translateX(-16px);
}
.scene-project-card span {
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  font-size: 12px;
}
.scene.active .scene-project-card { animation: sceneSlideIn 0.5s var(--ease) forwards; }
.scene.active .scene-project-card:nth-child(1) { animation-delay: 0.15s; }
.scene.active .scene-project-card:nth-child(2) { animation-delay: 0.4s; }
.scene.active .scene-project-card:nth-child(3) { animation-delay: 0.65s; }

.scene-stats {
  display: flex;
  gap: 40px;
  margin-top: 20px;
}
.scene-stats div { display: flex; flex-direction: column; align-items: center; opacity: 0; }
.scene-stats strong {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.scene-stats span { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.scene.active .scene-stats div { animation: sceneFadeUp 0.5s var(--ease) forwards; }
.scene.active .scene-stats div:nth-child(1) { animation-delay: 0.15s; }
.scene.active .scene-stats div:nth-child(2) { animation-delay: 0.35s; }
.scene.active .scene-stats div:nth-child(3) { animation-delay: 0.55s; }

.scene-cta-sub {
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-size: clamp(12px, 2vw, 14px);
  margin-top: 12px;
  opacity: 0;
}
.scene.active .scene-cta-sub { animation: sceneFadeUp 0.5s var(--ease) 0.5s forwards; }

@keyframes sceneFadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes sceneSlideIn {
  from { opacity: 0; transform: translateX(-16px); }
  to { opacity: 1; transform: translateX(0); }
}

.video-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-top: 1px solid var(--glass-border);
}

.video-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-primary);
  flex-shrink: 0;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.video-btn:hover { background: var(--accent-gradient); color: var(--bg-primary); transform: scale(1.06); }

.video-progress {
  flex: 1;
  height: 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  overflow: hidden;
}
.video-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--accent-gradient);
  border-radius: 4px;
}

.video-time {
  font-size: 12px;
  color: var(--text-muted);
  flex-shrink: 0;
  min-width: 74px;
  text-align: right;
}

@media (max-width: 600px) {
  .video-time { min-width: auto; font-size: 11px; }
  .video-controls { gap: 10px; padding: 12px 14px; }
  .scene-orbit { transform: scale(0.85); }
}

/* ---------- 14. ABOUT ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: start;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 18px;
  font-size: 15.5px;
}

.about-card { padding: 28px; }
.about-card-title {
  font-family: var(--font-display);
  font-size: 15px;
  margin-bottom: 18px;
  color: var(--text-primary);
}

.about-facts li {
  display: flex;
  justify-content: space-between;
  padding: 11px 0;
  border-top: 1px solid var(--glass-border);
  font-size: 13.5px;
}
.about-facts li:first-child { border-top: none; }
.about-facts li span { color: var(--text-muted); }
.about-facts li strong { color: var(--text-primary); font-weight: 600; text-align: right; }

/* ---------- 15. TIMELINE ---------- */
.timeline { position: relative; padding-left: 28px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 5px; top: 6px; bottom: 6px;
  width: 1px;
  background: linear-gradient(var(--accent-violet), var(--accent-cyan));
  opacity: 0.4;
}

.timeline-item { position: relative; }

.timeline-dot {
  position: absolute;
  left: -28px; top: 8px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--accent-gradient);
  box-shadow: 0 0 0 4px rgba(124, 92, 252, 0.15);
}

.timeline-content { padding: 28px; }
.timeline-date { color: var(--accent-cyan); font-size: 12.5px; }
.timeline-content h3 {
  font-family: var(--font-display);
  font-size: 19px;
  margin: 10px 0 4px;
}
.timeline-org { color: var(--text-secondary); font-size: 14px; margin-bottom: 12px; }
.timeline-desc { color: var(--text-muted); font-size: 14.5px; margin-bottom: 18px; }
.timeline-tags { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- 16. TAGS ---------- */
.tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-border);
}

.tag-soft {
  padding: 8px 16px;
  font-size: 13px;
}

/* ---------- 17. SKILLS ---------- */
.skill-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.filter-btn {
  padding: 9px 18px;
  border-radius: 100px;
  border: 1px solid var(--glass-border);
  font-size: 13px;
  color: var(--text-muted);
  transition: all 0.3s var(--ease);
}
.filter-btn:hover { color: var(--text-primary); border-color: var(--glass-border-hover); }
.filter-btn.active {
  color: var(--bg-primary);
  background: var(--accent-gradient);
  border-color: transparent;
  font-weight: 600;
}

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

.skill-card {
  padding: 20px;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}
.skill-card:hover { transform: translateY(-4px); border-color: var(--accent-violet); }
.skill-card.filtered-out { display: none; }

.skill-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.skill-icon { font-size: 18px; }
.skill-name { font-size: 14px; font-weight: 500; flex: 1; }
.skill-pct { font-size: 12px; color: var(--accent-cyan); }

.skill-bar {
  height: 5px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 4px;
  overflow: hidden;
}
.skill-bar-fill {
  height: 100%;
  width: 0%;
  border-radius: 4px;
  background: var(--accent-gradient);
  transition: width 1.2s var(--ease);
}

/* ---------- 18. PROJECTS ---------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-violet);
  box-shadow: 0 20px 40px -20px rgba(124, 92, 252, 0.4);
}

.project-image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid var(--glass-border);
}
.project-placeholder-svg {
  width: 100%; height: 100%;
  transition: transform 0.5s var(--ease);
}
.project-card:hover .project-placeholder-svg { transform: scale(1.06); }

.project-tag-float {
  position: absolute;
  top: 12px; right: 12px;
  padding: 5px 12px;
  font-size: 11px;
  border-radius: 100px;
  background: rgba(10, 10, 15, 0.6);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
  color: var(--accent-cyan);
}

.project-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.project-body h3 { font-family: var(--font-display); font-size: 18px; margin-bottom: 10px; }
.project-body p { color: var(--text-muted); font-size: 14px; margin-bottom: 16px; flex: 1; }
.project-tech { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 20px; }
.project-links { display: flex; gap: 10px; }

/* ---------- 19. CERTIFICATIONS ---------- */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.cert-card {
  padding: 28px;
  text-align: center;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}
.cert-card:hover { transform: translateY(-4px); border-color: var(--accent-cyan); }
.cert-icon { font-size: 30px; margin-bottom: 14px; }
.cert-card h3 { font-family: var(--font-display); font-size: 16px; margin-bottom: 6px; }
.cert-issuer { color: var(--accent-cyan); font-size: 12.5px; }

/* ---------- 20. LEADERSHIP ---------- */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  margin-bottom: 36px;
}
.leadership-card {
  padding: 24px;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}
.leadership-card:hover { transform: translateY(-4px); border-color: var(--accent-violet); }
.leadership-icon { font-size: 24px; margin-bottom: 12px; }
.leadership-card h3 { font-family: var(--font-display); font-size: 15px; margin-bottom: 6px; }
.leadership-card p { color: var(--text-muted); font-size: 13.5px; }

.soft-skills { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- 21. GOALS ---------- */
.goals-card {
  padding: 40px;
  max-width: 780px;
}
.goals-card p { color: var(--text-secondary); font-size: 16.5px; line-height: 1.8; }
.goals-card strong { color: var(--text-primary); }

/* ---------- 22. CONTACT ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}

.contact-info { display: flex; flex-direction: column; gap: 14px; }

.contact-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  font-size: 14.5px;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), background 0.3s var(--ease);
}
.contact-row:hover {
  border-color: var(--accent-cyan);
  transform: translateX(4px);
  background: var(--accent-cyan-soft);
}
.contact-icon {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.contact-form { padding: 30px; }
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-family: var(--font-mono);
}
.form-row input, .form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  font-size: 14px;
  resize: vertical;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--accent-violet);
  background: rgba(255, 255, 255, 0.06);
}
.form-row input::placeholder, .form-row textarea::placeholder { color: var(--text-muted); }

.form-status {
  margin-top: 14px;
  font-size: 13px;
  color: var(--success);
  text-align: center;
  min-height: 18px;
}

/* ---------- 23. FOOTER ---------- */
.footer {
  border-top: 1px solid var(--glass-border);
  padding: 32px 0;
}
.footer-inner {
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

/* ---------- 24. BACK TO TOP ---------- */
.back-to-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-primary);
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.35s var(--ease);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--accent-gradient); color: var(--bg-primary); border-color: transparent; }

/* ---------- 25. FOCUS STATES ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
}

/* ---------- 26. RESPONSIVE ---------- */
@media (max-width: 900px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-container { grid-template-columns: 1fr; text-align: center; gap: 48px; }
  .hero-photo-wrap { order: -1; }
  .hero-summary { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(10, 10, 15, 0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    transform: translateY(-140%);
    transition: transform 0.4s var(--ease);
    padding: 12px 24px 24px;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { width: 100%; }
  .nav-link { display: block; padding: 14px 0; width: 100%; border-bottom: 1px solid var(--glass-border); }
  .nav-cta { margin-top: 12px; text-align: center; }

  .counters-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .skills-grid { grid-template-columns: 1fr 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
  .back-to-top { right: 18px; bottom: 18px; }
}

@media (max-width: 480px) {
  .skills-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .container { padding: 0 18px; }
}
