/* ═══ DESIGN TOKENS ═══ */
:root {
  --bg: #050508;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.07);
  --text: #f0f0f5;
  --text-secondary: rgba(240, 240, 245, 0.75);
  --text-muted: rgba(240, 240, 245, 0.5);
  --accent: #6366f1;
  --accent-light: #818cf8;
  --accent-glow: rgba(99, 102, 241, 0.4);
  --cyan: #22d3ee;
  --cyan-glow: rgba(34, 211, 238, 0.3);
  --emerald: #34d399;
  --rose: #fb7185;
  --amber: #fbbf24;
  --glass: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-hover: rgba(99, 102, 241, 0.5);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 0.4s var(--ease);
}

/* ═══ RESET ═══ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%
}

body {
  font-family: 'Inter', 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ═══ CURSOR GLOW ═══ */
.cursor-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.08), transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  will-change: transform;
}

/* ═══ NOISE OVERLAY ═══ */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.03;
  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");
}

/* ═══ MESH BACKGROUND ═══ */
.mesh-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden
}

.mesh-gradient {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
  will-change: transform
}

.mesh-1 {
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.2), transparent 70%);
  top: -20%;
  left: -10%;
  animation: meshFloat1 25s ease-in-out infinite
}

.mesh-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.15), transparent 70%);
  bottom: -15%;
  right: -10%;
  animation: meshFloat2 30s ease-in-out infinite
}

.mesh-3 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(251, 113, 133, 0.1), transparent 70%);
  top: 40%;
  left: 50%;
  animation: meshFloat3 20s ease-in-out infinite
}

@keyframes meshFloat1 {

  0%,
  100% {
    transform: translate(0, 0) scale(1)
  }

  50% {
    transform: translate(80px, 60px) scale(1.1)
  }
}

@keyframes meshFloat2 {

  0%,
  100% {
    transform: translate(0, 0) scale(1)
  }

  50% {
    transform: translate(-60px, -40px) scale(1.15)
  }
}

@keyframes meshFloat3 {

  0%,
  100% {
    transform: translate(0, 0) scale(1)
  }

  50% {
    transform: translate(-80px, 50px) scale(0.9)
  }
}

/* ═══ ASCII BG ═══ */
.ascii-art {
  position: fixed;
  inset: 0;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 14px;
  line-height: 12px;
  letter-spacing: -0.05em;
  white-space: pre;
  width: 100vw;
  height: 100vh;
  color: var(--accent);
  opacity: 0;
  text-shadow: 0 0 6px var(--accent-glow);
  animation: asciiReveal 3s ease-out 0.5s forwards;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  transform: scale(1.1);
  transition: font-size 0.3s ease;
}

@keyframes asciiReveal {
  0% {
    opacity: 0;
    filter: brightness(2)
  }

  100% {
    opacity: 0.15;
    filter: brightness(1)
  }
}

#particles-canvas {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none
}

/* ═══ SCROLL PROGRESS ═══ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  z-index: 1000;
  background: linear-gradient(90deg, var(--accent), var(--cyan), var(--rose));
  transition: width 0.1s linear;
  box-shadow: 0 0 10px var(--accent-glow);
}

/* ═══ FLOATING NAV ═══ */
.floating-nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  background: rgba(5, 5, 8, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  padding: 0;
  transition: all 0.4s var(--ease);
  width: auto;
  max-width: calc(100% - 32px);
}

.floating-nav.scrolled {
  background: rgba(5, 5, 8, 0.9);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5)
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px
}

.nav-logo {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}

.logo-bracket {
  color: var(--accent);
  font-weight: 400
}

.nav-links {
  display: flex;
  gap: 4px;
  margin: 0 12px
}

.nav-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 100px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08)
}

.nav-cta {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 100px;
  white-space: nowrap;
  background: linear-gradient(135deg, var(--accent), #4f46e5);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}

.nav-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 20px var(--accent-glow)
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
  z-index: 201
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.4s var(--ease)
}

.mobile-menu-btn.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg)
}

.mobile-menu-btn.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0)
}

.mobile-menu-btn.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg)
}

/* ═══ PREMIUM DROPDOWN MOBILE MENU ═══ */
.mobile-menu {
  position: fixed;
  top: 70px;
  left: 50%;
  z-index: 199;
  width: calc(280% - 30px);
  max-width: 420px;
  transform: translateX(-50%) translateY(-12px) scale(0.97);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.4s var(--ease);
  transform-origin: top center;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}

.mobile-menu-panel {
  background: rgba(12, 12, 18, 0.92);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 80px rgba(99, 102, 241, 0.08);
}

.mobile-menu-accent {
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--cyan), var(--rose), var(--accent));
  background-size: 200% 100%;
  animation: menuAccentShift 4s linear infinite;
}

@keyframes menuAccentShift {
  0% {
    background-position: 0% 50%
  }

  100% {
    background-position: 200% 50%
  }
}

/* ─── Links ─── */
.mobile-menu-links {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mobile-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text);
  transition: all 0.35s var(--ease);
  position: relative;
  opacity: 0;
  transform: translateX(-12px);
}

.mobile-menu.open .mobile-link {
  opacity: 1;
  transform: translateX(0)
}

.mobile-menu.open .mobile-link:nth-child(1) {
  transition-delay: 0.06s
}

.mobile-menu.open .mobile-link:nth-child(2) {
  transition-delay: 0.1s
}

.mobile-menu.open .mobile-link:nth-child(3) {
  transition-delay: 0.14s
}

.mobile-menu.open .mobile-link:nth-child(4) {
  transition-delay: 0.18s
}

.mobile-menu.open .mobile-link:nth-child(5) {
  transition-delay: 0.22s
}

.mobile-menu.open .mobile-link:nth-child(6) {
  transition-delay: 0.26s
}

.mobile-link:hover,
.mobile-link:active {
  background: rgba(99, 102, 241, 0.1);
}

.mobile-link:active {
  transform: scale(0.98)
}

.mobile-link-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  min-width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 8px;
  flex-shrink: 0;
  transition: all 0.3s var(--ease);
}

.mobile-link:hover .mobile-link-num {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 4px 12px var(--accent-glow);
}

.mobile-link-content {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex: 1;
  min-width: 0;
}

.mobile-link-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
}

.mobile-link:hover .mobile-link-title {
  color: var(--accent-light)
}

.mobile-link-sub {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.3s ease;
}

.mobile-link:hover .mobile-link-sub {
  color: var(--text-secondary)
}

.mobile-link-arrow {
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: all 0.3s var(--ease);
  opacity: 0;
  transform: translateX(-6px);
}

.mobile-link:hover .mobile-link-arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--accent-light);
}

/* ─── Footer ─── */
.mobile-menu-footer {
  padding: 12px 16px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.4s var(--ease) 0.3s;
}

.mobile-menu.open .mobile-menu-footer {
  opacity: 1;
  transform: translateY(0)
}

.mobile-socials {
  display: flex;
  gap: 6px
}

.mobile-socials a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.3s var(--ease);
}

.mobile-socials a svg {
  width: 16px;
  height: 16px
}

.mobile-socials a:hover {
  color: var(--accent-light);
  background: rgba(99, 102, 241, 0.12);
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-2px);
}

.mobile-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--accent), #4f46e5);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 4px 20px var(--accent-glow);
  transition: all 0.35s var(--ease);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.mobile-cta:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 30px var(--accent-glow);
}

/* ═══ SECTIONS ═══ */
.section {
  position: relative;
  z-index: 10;
  padding: 120px 0
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px
}

.section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 64px
}

.section-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  padding: 6px 14px;
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 100px;
  letter-spacing: 0.05em;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em
}

.section-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--glass-border), transparent)
}

/* ═══ HERO ═══ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 40px 80px;
  position: relative;
  z-index: 10;
}

.hero-content {
  max-width: 1300px;
  width: 100%
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center
}

.hero-text {
  text-align: left
}

/* Hero Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.7s var(--ease) 0.2s forwards;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--emerald);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(52, 211, 153, 0.6);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1)
  }

  50% {
    opacity: 0.5;
    transform: scale(1.4)
  }
}

.hero-badge span {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.08em;
  text-transform: uppercase
}

/* Hero Title */
.hero-title {
  font-size: clamp(42px, 7vw, 82px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.35s forwards;
}

.hero-title .line-1 {
  display: block;
  color: var(--text)
}

.hero-title .line-2 {
  display: block;
  background: linear-gradient(135deg, var(--accent-light), var(--cyan), var(--rose));
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 6s ease-in-out infinite;
  filter: drop-shadow(0 0 30px var(--accent-glow));
}

@keyframes shimmer {

  0%,
  100% {
    background-position: 0% 50%
  }

  50% {
    background-position: 100% 50%
  }
}

/* Hero Roles */
.hero-roles {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.45s forwards;
}

.role-tag {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-light);
  padding: 6px 16px;
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 100px;
  background: rgba(99, 102, 241, 0.08);
}

.role-divider {
  color: var(--text-muted);
  font-size: 11px
}

/* Hero Quote */
.hero-quote {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--text-secondary);
  margin-bottom: 20px;
  padding: 24px 28px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  font-style: italic;
  line-height: 1.7;
  position: relative;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.5s forwards;
  transition: all 0.35s ease;
}

.hero-quote:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3)
}

.hero-quote::before {
  content: "" ";position:absolute;top:12px;left:20px;font-size:48px;font-weight:900;
 color:rgba(99, 102, 241, 0.15);
  font-family: Georgia, serif;
  line-height: 1;
  pointer-events: none;
}

.hero-desc {
  font-size: clamp(15px, 1.8vw, 17px);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 0 32px;
  line-height: 1.8;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.55s forwards;
}

.hero-desc strong {
  color: var(--text);
  font-weight: 700
}

.hero-desc em {
  color: var(--accent-light);
  font-style: normal;
  font-weight: 600
}

/* Hero CTA */
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.65s forwards;
}

/* Buttons */
.btn {
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.35s var(--ease);
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #4f46e5);
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px var(--accent-glow)
}

.btn-ghost {
  background: var(--glass);
  color: var(--text);
  border: 1px solid var(--glass-border);
}

.btn-ghost:hover {
  background: var(--bg-card-hover);
  border-color: var(--glass-border-hover);
  transform: translateY(-3px)
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--glass-border);
}

.btn-outline:hover {
  background: var(--glass);
  border-color: var(--glass-border-hover);
  transform: translateY(-2px)
}

.btn-sm {
  padding: 10px 20px;
  font-size: 13px
}

.btn-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease
}

.btn:hover .btn-icon {
  transform: translateX(3px)
}

/* Hero Socials */
.hero-socials {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.75s forwards;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  transition: all 0.35s var(--ease);
}

.social-link svg {
  width: 20px;
  height: 20px
}

.social-link:hover {
  color: var(--accent-light);
  border-color: var(--glass-border-hover);
  transform: translateY(-3px);
  background: var(--bg-card-hover)
}

/* Hero Photo */
.hero-photo-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative
}

.photo-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center
}

.photo-ring {
  position: absolute;
  width: 400px;
  height: 480px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(99, 102, 241, 0.2);
  animation: ringPulse 4s ease-in-out infinite;
}

.photo-ring--2 {
  width: 420px;
  height: 500px;
  border-color: rgba(34, 211, 238, 0.1);
  animation: ringPulse 4s ease-in-out infinite 2s;
}

@keyframes ringPulse {

  0%,
  100% {
    opacity: 0.5;
    transform: scale(1)
  }

  50% {
    opacity: 1;
    transform: scale(1.02)
  }
}

.photo-frame {
  width: 360px;
  height: 440px;
  border-radius: var(--radius-lg);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 80px var(--accent-glow);
  background-image: url("./me.jpeg");
  background-size: cover;
  background-position: 20% 30%;
  opacity: 0;
  animation: photoReveal 1s var(--ease) 0.5s forwards;
}

@keyframes photoReveal {
  0% {
    opacity: 0;
    transform: scale(0.95) translateY(20px)
  }

  100% {
    opacity: 1;
    transform: scale(1) translateY(0)
  }
}

.photo-badge {
  margin-top: 20px;
  padding: 8px 20px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.8s forwards;
}

/* Floating Cards */
.floating-card {
  position: absolute;
  padding: 14px 18px;
  background: rgba(5, 5, 8, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 2;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 1s forwards;
}

.floating-card--1 {
  top: 15%;
  left: -10%
}

.floating-card--2 {
  bottom: 20%;
  right: -10%
}

.floating-num {
  font-size: 22px;
  font-weight: 800;
  color: var(--accent-light)
}

.floating-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 1.5s forwards;
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid var(--glass-border);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-wheel {
  width: 3px;
  height: 8px;
  background: var(--accent-light);
  border-radius: 2px;
  animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
  0% {
    transform: translateY(0);
    opacity: 1
  }

  100% {
    transform: translateY(10px);
    opacity: 0
  }
}

.scroll-indicator span {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em
}

/* ═══ ABOUT ═══ */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 20px
}

.identity-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 12px
}

.identity-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 20px 14px;
  text-align: center;
  transition: all 0.35s var(--ease);
  cursor: default;
}

.identity-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--glass-border-hover);
  transform: translateY(-4px)
}

.identity-icon {
  font-size: 32px;
  margin-bottom: 10px
}

.identity-card h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px
}

.identity-card p {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.5
}

.about-text {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.85;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 20px;
  transition: all 0.35s ease;
}

.about-text:hover {
  border-color: var(--glass-border-hover)
}

.about-text strong {
  color: var(--text);
  font-weight: 700
}

.about-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 12px
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
}

.detail-item:hover {
  border-color: var(--glass-border-hover);
  transform: translateX(4px)
}

.detail-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 600
}

.detail-value {
  font-size: 13px;
  color: var(--text);
  font-weight: 600
}

/* Code Window */
.about-visual {
  position: sticky;
  top: 100px;
  height: calc(100vh - 300px);
  display: flex;
  flex-direction: column
}

.code-window {
  background: rgba(10, 10, 14, 0.9);
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.35s ease;
}

.code-window:hover {
  border-color: var(--glass-border-hover)
}

.code-header {
  display: flex;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.3)
}

.code-dots {
  display: flex;
  gap: 7px
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%
}

.dot-red {
  background: #ff5f57
}

.dot-yellow {
  background: #febc2e
}

.dot-green {
  background: #28c840
}

.code-filename {
  margin-left: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-muted)
}

.code-block {
  padding: 24px;
  font-size: 12px;
  line-height: 2;
  font-family: 'JetBrains Mono', monospace;
  overflow: auto;
  flex: 1;
  color: #d4d4d8;
  background: transparent;
}

.code-block::-webkit-scrollbar {
  width: 6px;
  height: 6px
}

.code-block::-webkit-scrollbar-track {
  background: transparent
}

.code-block::-webkit-scrollbar-thumb {
  background: var(--glass-border);
  border-radius: 3px
}

.code-keyword {
  color: #c084fc;
  font-weight: 600
}

.code-var {
  color: #86efac
}

.code-key {
  color: #fbbf24
}

.code-string {
  color: #86efac
}

.code-num,
.code-boolean {
  color: #c084fc;
  font-weight: 700
}

.code-comment {
  color: #525268;
  font-style: italic
}

.code-function {
  color: #67e8f9;
  font-weight: 600
}

.code-class {
  color: #fda4af;
  font-weight: 700
}

.code-this {
  color: #c084fc;
  font-weight: 600
}

/* ═══ SKILLS ═══ */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px
}

.skill-category {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.skill-category::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--cyan));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.skill-category:hover {
  background: var(--bg-card-hover);
  border-color: var(--glass-border-hover);
  transform: translateY(-4px)
}

.skill-category:hover::before {
  opacity: 1
}

.skill-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), #4f46e5);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px var(--accent-glow);
}

.skill-icon-wrap svg {
  width: 24px;
  height: 24px;
  color: #fff
}

.skill-category h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px
}

.skill-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.5
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px
}

.skill-tag {
  padding: 6px 14px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.skill-tag:hover {
  border-color: var(--glass-border-hover);
  color: var(--accent-light);
  background: rgba(99, 102, 241, 0.1);
  transform: translateY(-2px)
}

/* ═══ WORK TIMELINE ═══ */
.work-timeline {
  position: relative;
  padding-left: 40px
}

.timeline-line {
  position: absolute;
  left: 14px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--cyan), transparent);
}

.work-card {
  position: relative;
  margin-bottom: 32px
}

.work-dot {
  position: absolute;
  left: -33px;
  top: 24px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg);
  box-shadow: 0 0 12px var(--accent-glow);
  z-index: 2;
}

.work-inner {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.4s var(--ease);
}

.work-inner:hover {
  background: var(--bg-card-hover);
  border-color: var(--glass-border-hover);
  transform: translateX(8px)
}

.work-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap
}

.work-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 100px;
}

.work-badge.current {
  background: rgba(52, 211, 153, 0.12);
  color: var(--emerald);
  border: 1px solid rgba(52, 211, 153, 0.3)
}

.work-badge.founder {
  background: rgba(99, 102, 241, 0.12);
  color: var(--accent-light);
  border: 1px solid rgba(99, 102, 241, 0.3)
}

.work-badge.dev {
  background: rgba(34, 211, 238, 0.12);
  color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, 0.3)
}

.work-badge.freelance {
  background: rgba(251, 191, 36, 0.12);
  color: var(--amber);
  border: 1px solid rgba(251, 191, 36, 0.3)
}

.work-period {
  font-size: 12px;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace
}

.work-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px
}

.work-company {
  font-size: 13px;
  color: var(--accent-light);
  font-weight: 600;
  margin-bottom: 12px
}

.work-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px
}

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px
}

.work-tags span {
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 500;
  border-radius: 100px;
  background: rgba(99, 102, 241, 0.08);
  color: var(--accent-light);
  border: 1px solid rgba(99, 102, 241, 0.15);
  transition: all 0.3s ease;
}

.work-tags span:hover {
  background: rgba(99, 102, 241, 0.15);
  transform: translateY(-1px)
}

/* ═══ CONTENT ═══ */
.content-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px
}

.content-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.4s var(--ease);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.content-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--glass-border-hover);
  transform: translateY(-4px)
}

.card-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 0, 0, 0.06), transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s;
}

.youtube-card:hover .card-glow {
  opacity: 1
}

.youtube-card {
  border-color: rgba(255, 50, 50, 0.15)
}

.youtube-card:hover {
  border-color: rgba(255, 50, 50, 0.4)
}

.content-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.youtube-icon {
  background: linear-gradient(135deg, #ff0000, #cc0000);
  box-shadow: 0 8px 24px rgba(255, 0, 0, 0.2)
}

.tech-icon {
  background: linear-gradient(135deg, var(--accent), #4f46e5);
  box-shadow: 0 8px 24px var(--accent-glow)
}

.photo-icon {
  background: linear-gradient(135deg, var(--cyan), #0891b2);
  box-shadow: 0 8px 24px var(--cyan-glow)
}

.content-icon svg {
  color: #fff
}

.content-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px
}

.content-handle {
  font-size: 12px;
  color: var(--accent-light);
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  margin-bottom: 12px
}

.content-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 18px;
  flex-grow: 1
}

.content-stats {
  display: flex;
  gap: 28px;
  margin-bottom: 20px
}

.stat {
  display: flex;
  flex-direction: column
}

.stat-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em
}

.stat-plus {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent-light)
}

.stat-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600
}

.topic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px
}

.topic-tags span {
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 500;
  border-radius: 100px;
  background: var(--glass);
  color: var(--text-secondary);
  border: 1px solid var(--glass-border);
  transition: all 0.3s ease;
}

.topic-tags span:hover {
  border-color: var(--glass-border-hover);
  color: var(--accent-light);
  transform: translateY(-2px)
}

/* ═══ RESEARCH ═══ */
.research-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: start
}

.research-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.research-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-2px)
}

.research-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px
}

.publication-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.25);
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  color: var(--emerald);
}

.publication-badge svg {
  width: 16px;
  height: 16px
}

.journal-badge {
  padding: 8px 18px;
  background: linear-gradient(135deg, var(--accent), #4f46e5);
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}

.research-title {
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--glass-border);
}

.authors-section {
  margin-bottom: 20px
}

.authors-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 10px
}

.authors-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px
}

.author {
  padding: 6px 14px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: var(--text-secondary);
  transition: all 0.3s ease;
  cursor: default;
}

.author:hover {
  border-color: var(--glass-border-hover);
  color: var(--text)
}

.author.highlight {
  background: linear-gradient(135deg, var(--accent), #4f46e5);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 4px 16px var(--accent-glow);
}

.affiliation-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: rgba(99, 102, 241, 0.05);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}

.affiliation-box svg {
  width: 20px;
  height: 20px;
  color: var(--accent-light);
  flex-shrink: 0
}

.affiliation-box span {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6
}

.doi-box {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.doi-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em
}

.doi-link {
  flex: 1;
  min-width: 180px;
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent-light);
  text-decoration: none;
  transition: color 0.3s;
}

.doi-link:hover {
  color: var(--cyan)
}

.btn-view-paper {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: linear-gradient(135deg, var(--accent), #4f46e5);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}

.btn-view-paper svg {
  width: 14px;
  height: 14px
}

.btn-view-paper:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--accent-glow)
}

.abstract-section {
  margin-bottom: 24px
}

.abstract-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--glass-border)
}

.abstract-header svg {
  width: 20px;
  height: 20px;
  color: var(--accent-light)
}

.abstract-header span {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em
}

.abstract-content {
  display: flex;
  flex-direction: column;
  gap: 14px
}

.abstract-content p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-secondary);
  text-align: justify
}

.abstract-content strong {
  color: var(--text);
  font-weight: 700
}

.key-finding {
  display: flex;
  gap: 14px;
  padding: 18px;
  background: rgba(52, 211, 153, 0.06);
  border: 1px solid rgba(52, 211, 153, 0.2);
  border-radius: var(--radius);
  margin-top: 8px;
}

.key-finding svg {
  width: 24px;
  height: 24px;
  color: var(--emerald);
  flex-shrink: 0
}

.key-finding p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-secondary)
}

.key-finding strong {
  color: var(--emerald);
  font-weight: 700
}

.keywords-section {
  margin-bottom: 24px
}

.keywords-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 10px;
  display: block
}

.keywords-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px
}

.keyword-tag {
  padding: 6px 14px;
  background: rgba(192, 132, 252, 0.08);
  border: 1px solid rgba(192, 132, 252, 0.2);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.keyword-tag:hover {
  background: rgba(192, 132, 252, 0.15);
  border-color: rgba(192, 132, 252, 0.4);
  color: var(--text);
  transform: translateY(-2px)
}

.publication-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--glass-border)
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
}

.meta-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent-light);
  flex-shrink: 0
}

.meta-item span {
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 500
}

.meta-item:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-2px)
}

/* Research Visual */
.research-visual {
  position: sticky;
  top: 100px
}

.visual-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: all 0.4s var(--ease);
}

.visual-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-4px)
}

.visual-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--cyan), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px var(--cyan-glow);
}

.visual-icon svg {
  width: 32px;
  height: 32px;
  color: #fff
}

.visual-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center
}

.impact-stats {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px
}

.impact-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  transition: all 0.3s var(--ease);
  cursor: default;
}

.impact-stat:hover {
  border-color: var(--glass-border-hover);
  transform: translateX(4px)
}

.impact-stat.highlight {
  background: rgba(52, 211, 153, 0.06);
  border-color: rgba(52, 211, 153, 0.2)
}

.stat-number {
  font-size: 28px;
  font-weight: 800;
  line-height: 1
}

.impact-stat.highlight .stat-number {
  color: var(--emerald);
  text-shadow: 0 0 20px rgba(52, 211, 153, 0.4)
}

.special-issue-badge {
  display: flex;
  gap: 14px;
  padding: 18px;
  background: rgba(192, 132, 252, 0.06);
  border: 1px solid rgba(192, 132, 252, 0.2);
  border-radius: var(--radius);
  margin-top: auto;
}

.special-issue-badge svg {
  width: 28px;
  height: 28px;
  color: rgba(192, 132, 252, 0.8);
  flex-shrink: 0
}

.special-issue-badge span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: rgba(192, 132, 252, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px
}

.special-issue-badge p {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0
}

/* ═══ CONTACT ═══ */
.contact-content {
  max-width: 100%
}

.contact-desc {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 40px;
  text-align: center
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 28px 16px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--text-secondary);
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.contact-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--glass-border-hover);
  color: var(--text);
  transform: translateY(-6px)
}

.contact-card.linkedin:hover {
  border-color: #0077b5;
  box-shadow: 0 8px 30px rgba(0, 119, 181, 0.2)
}

.contact-card.github:hover {
  border-color: #6e5494;
  box-shadow: 0 8px 30px rgba(110, 84, 148, 0.2)
}

.contact-card.youtube:hover {
  border-color: #ff0000;
  box-shadow: 0 8px 30px rgba(255, 0, 0, 0.2)
}

.contact-card.facebook:hover {
  border-color: #1877f2;
  box-shadow: 0 8px 30px rgba(24, 119, 242, 0.2)
}

.contact-card.whatsapp:hover {
  border-color: #25d366;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.2)
}

.contact-card.telegram:hover {
  border-color: #0088cc;
  box-shadow: 0 8px 30px rgba(0, 136, 204, 0.2)
}

.contact-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s ease;
}

.contact-card:hover .contact-icon {
  background: var(--accent);
  border-color: var(--accent)
}

.contact-card:hover .contact-icon svg {
  color: #fff
}

.contact-card svg {
  transition: color 0.3s ease
}

.contact-card span {
  font-size: 13px;
  font-weight: 600
}

/* ═══ FOOTER ═══ */
.footer {
  position: relative;
  z-index: 10;
  padding: 40px 0;
  border-top: 1px solid var(--glass-border);
}

.footer-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center
}

.footer-logo {
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px
}

.footer p {
  font-size: 13px;
  color: var(--text-muted)
}

.footer-copy {
  font-size: 12px
}

/* ═══ ANIMATIONS ═══ */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px)
  }

  100% {
    opacity: 1;
    transform: translateY(0)
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0
  }

  100% {
    opacity: 1
  }
}

/* Section reveal */
.section {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease)
}

.section[data-visible="true"] {
  opacity: 1;
  transform: translateY(0)
}

.hero {
  opacity: 0;
  animation: fadeIn 1s var(--ease) 0.2s forwards
}

.hero[data-visible="true"] {
  opacity: 1;
  transform: none
}

/* ═══ RESPONSIVE ═══ */
@media(max-width:1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center
  }

  .hero-text {
    text-align: center
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto
  }

  .hero-cta,
  .hero-socials,
  .hero-roles {
    justify-content: center
  }

  .nav-links {
    display: none
  }

  .nav-cta {
    display: none
  }

  .mobile-menu-btn {
    display: flex
  }

  .floating-nav {
    border-radius: var(--radius)
  }

  /* Hero: photo on top, text below */
  .hero-grid {
    display: flex;
    flex-direction: column-reverse
  }

  .hero-photo-section {
    order: 2;
    margin-top: 20px
  }

  .photo-frame {
    width: 280px;
    height: 340px
  }

  .photo-ring {
    width: 310px;
    height: 370px
  }

  .photo-ring--2 {
    width: 330px;
    height: 390px
  }

  .floating-card--1 {
    left: 5%
  }

  .floating-card--2 {
    right: 5%
  }

  .photo-badge {
    margin-top: 14px;
    font-size: 12px;
    padding: 6px 16px
  }

  /* ASCII art gets smaller on tablet */
  .ascii-art {
    font-size: 10px;
    line-height: 9px
  }

  .about-grid {
    grid-template-columns: 1fr
  }

  .about-visual {
    position: static;
    height: auto
  }

  .code-window {
    height: 450px
  }

  .identity-cards {
    grid-template-columns: repeat(2, 1fr)
  }

  .skills-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .content-grid {
    grid-template-columns: 1fr
  }

  .research-wrapper {
    grid-template-columns: 1fr
  }

  .research-visual {
    position: static
  }

  .publication-meta {
    grid-template-columns: 1fr
  }

  .contact-grid {
    grid-template-columns: repeat(3, 1fr)
  }
}

@media (max-width: 480px) {

  .container {
    padding: 0 10px;
    max-width: 100%;
    overflow-x: hidden;
  }

  /* ─── About section mobile fix ─── */
  .about-grid {
    gap: 32px;
  }

  .about-content {
    max-width: 100%;
    overflow: hidden;
  }

  .about-text {
    padding: 14px;
    font-size: 14px;
    word-break: break-word;
  }

  .about-details {
    gap: 10px;
    grid-template-columns: 1fr;
  }

  .detail-value {
    word-break: break-word;
  }

  .detail-item {
    padding: 12px;
  }

  .identity-cards {
    grid-template-columns: (2, 1fr);
  }

  .identity-card {
    padding: 16px 12px;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .work-timeline {
    padding-left: 30px;
  }

  .work-dot {
    left: -23px;
  }

  .research-card {
    padding: 18px;
  }

  .publication-meta {
    grid-template-columns: 1fr;
  }

  .doi-box {
    flex-direction: column;
    gap: 10px;
  }

  .doi-link {
    min-width: auto;
    width: 100%;
  }

  .btn-view-paper {
    width: 100%;
    justify-content: center;
  }

  /* ─── Code ─── */
  .code-window {
    height: 380px;
    max-width: 100%;
  }

  .code-block {
    padding: 16px;
    font-size: 11px;
    overflow-x: auto;
    word-break: break-all;
  }

  /* ─── HERO ─── */
  .hero {
    padding: 92px 16px 36px;
    min-height: auto;
    align-items: flex-start;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-grid {
    display: flex;
    flex-direction: column-reverse;
    gap: 20px;
    text-align: center;
  }

  .hero-photo-section {
    margin-top: 20px;
    margin-bottom: 4px;
  }

  .photo-wrapper {
    transform: none;
  }

  .photo-frame {
    width: 240px;
    height: 300px;
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), 0 0 60px var(--accent-glow);
  }

  .photo-ring {
    width: 268px;
    height: 328px;
    border-radius: var(--radius-lg);
  }

  .photo-ring--2 {
    width: 288px;
    height: 348px;
    border-radius: var(--radius-lg);
  }

  .photo-badge {
    margin-top: 14px;
    font-size: 11px;
    padding: 6px 16px;
  }

  .hero-badge {
    margin-bottom: 14px;
    padding: 6px 16px;
  }

  .hero-badge span {
    font-size: 11px;
    letter-spacing: 0.06em;
  }

  .badge-dot {
    width: 7px;
    height: 7px;
  }

  .hero-title {
    font-size: clamp(30px, 8vw, 44px);
    margin-bottom: 12px;
    line-height: 1.05;
  }

  .hero-roles {
    gap: 6px;
    margin-bottom: 10px;
  }

  .role-tag {
    font-size: 10px;
    padding: 4px 12px;
  }

  .role-divider {
    display: none;
  }
.hero-text{
  padding: 0 10px;
}
  .hero-quote {
    padding: 14px 18px 14px 22px;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 12px;
    text-align: left;
  }

  .hero-quote::before {
    font-size: 32px;
    top: 6px;
    left: 12px;
  }

  .hero-quote br {
    display: none;
  }

  .hero-desc {
    font-size: 13px;
    line-height: 1.65;
    margin-bottom: 18px;
    max-width: 100%;
    text-align: center;
  }

  .hero-cta {
    gap: 10px;
  }

  .hero-cta .btn {
    padding: 12px 22px;
    font-size: 13px;
  }

  .hero-socials {
    margin-top: 18px;
    gap: 10px;
  }

  .social-link {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .social-link svg {
    width: 18px;
    height: 18px;
  }

  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .contact-card {
    padding: 20px 12px;
  }
.section {
 
  padding: 100px 0;
}
  .section-header {
    flex-wrap: wrap;
    margin-bottom: 40px;
  }

  .section-title {
    font-size: clamp(22px, 5vw, 30px);
  }

  /* ─── ASCII ─── */
  .ascii-art {
    font-size: 5px;
    line-height: 4.5px;
    letter-spacing: -0.1em;
  }

  /* Hide decorative */
 
}



.floating-card--1 {
  top: 5%;
  left: -20%;
}

.floating-card--2 {
  bottom: 20%;
  right: -15%;
}
  .scroll-indicator {
    display: none;
  }




/* Reduce motion */
@media(prefers-reduced-motion:reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important
  }
}