/* ============================================
   DESIGN SYSTEM — CYBERPUNK NEON PORTFOLIO
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=JetBrains+Mono:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* --- CSS Variables --- */
:root {
  /* Colors */
  --bg-primary: #06080f;
  --bg-secondary: #0c1020;
  --bg-tertiary: #111730;
  --bg-card: rgba(15, 22, 45, 0.65);
  --bg-glass: rgba(15, 22, 45, 0.45);

  --text-primary: #e8ecf4;
  --text-secondary: #8892b0;
  --text-muted: #4a5578;

  --neon-cyan: #00f0ff;
  --neon-violet: #b44aff;
  --neon-magenta: #ff2d75;
  --neon-green: #00ff88;

  --gradient-primary: linear-gradient(135deg, #00f0ff 0%, #b44aff 50%, #ff2d75 100%);
  --gradient-subtle: linear-gradient(135deg, rgba(0, 240, 255, 0.1) 0%, rgba(180, 74, 255, 0.1) 100%);
  --gradient-glow: radial-gradient(ellipse at 50% 0%, rgba(0, 240, 255, 0.15) 0%, transparent 60%);

  /* Typography */
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Spacing */
  --section-padding: clamp(80px, 12vh, 140px);
  --container-max: 1200px;
  --container-pad: clamp(20px, 5vw, 80px);

  /* Borders */
  --border-subtle: 1px solid rgba(0, 240, 255, 0.1);
  --border-glow: 1px solid rgba(0, 240, 255, 0.3);

  /* Shadows */
  --glow-cyan: 0 0 20px rgba(0, 240, 255, 0.15), 0 0 60px rgba(0, 240, 255, 0.05);
  --glow-violet: 0 0 20px rgba(180, 74, 255, 0.15), 0 0 60px rgba(180, 74, 255, 0.05);
  --glow-strong: 0 0 30px rgba(0, 240, 255, 0.3), 0 0 80px rgba(0, 240, 255, 0.1);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--neon-cyan) var(--bg-secondary);
}

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

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb {
  background: var(--neon-cyan);
  border-radius: 3px;
}

::selection {
  background: rgba(0, 240, 255, 0.3);
  color: var(--text-primary);
}

a { color: var(--neon-cyan); text-decoration: none; transition: var(--transition-fast); }
a:hover { color: var(--neon-violet); }

img { max-width: 100%; height: auto; display: block; }

/* --- Container --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* --- Custom Cursor --- */
.cursor-glow {
  position: fixed;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  mix-blend-mode: screen;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.5) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, opacity 0.3s;
}

.cursor-glow.hover {
  width: 60px;
  height: 60px;
}

/* === NOISE OVERLAY === */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  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='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* === AMBIENT GLOW ORBS === */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: -1;
}

.ambient-glow--cyan {
  width: 500px;
  height: 500px;
  background: rgba(0, 240, 255, 0.06);
  top: -100px;
  right: -100px;
  animation: float-orb 12s ease-in-out infinite;
}

.ambient-glow--violet {
  width: 400px;
  height: 400px;
  background: rgba(180, 74, 255, 0.05);
  bottom: 20%;
  left: -100px;
  animation: float-orb 15s ease-in-out infinite reverse;
}

.ambient-glow--magenta {
  width: 350px;
  height: 350px;
  background: rgba(255, 45, 117, 0.04);
  top: 50%;
  right: 10%;
  animation: float-orb 18s ease-in-out infinite;
}

@keyframes float-orb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* =============================
   NAVIGATION
   ============================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition-medium);
}

.nav.scrolled {
  background: rgba(6, 8, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: var(--border-subtle);
  padding: 14px 0;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.nav__logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

.nav__logo span {
  font-weight: 300;
  opacity: 0.7;
}

.nav__social {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav__social-link {
  color: var(--text-secondary);
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
}

.nav__social-link:hover {
  color: var(--neon-cyan);
  transform: translateY(-2px);
}

.nav__social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.nav__hamburger {
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
  z-index: 1001;
}

.nav__hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition-medium);
  border-radius: 2px;
}

.nav__hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  background: var(--neon-cyan);
}

.nav__hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav__hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
  background: var(--neon-cyan);
}

/* Full-screen overlay menu */
.nav__overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(6, 8, 15, 0.97);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-medium);
}

.nav__overlay.active {
  opacity: 1;
  visibility: visible;
}

.nav__overlay-links {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nav__overlay-links li {
  overflow: hidden;
}

.nav__overlay-links a {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 10px 30px;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), color var(--transition-fast);
  position: relative;
}

.nav__overlay.active .nav__overlay-links a {
  transform: translateY(0);
}

.nav__overlay-links li:nth-child(1) a { transition-delay: 0.1s; }
.nav__overlay-links li:nth-child(2) a { transition-delay: 0.15s; }
.nav__overlay-links li:nth-child(3) a { transition-delay: 0.2s; }
.nav__overlay-links li:nth-child(4) a { transition-delay: 0.25s; }
.nav__overlay-links li:nth-child(5) a { transition-delay: 0.3s; }
.nav__overlay-links li:nth-child(6) a { transition-delay: 0.35s; }

.nav__overlay-links a:hover {
  color: var(--neon-cyan);
  text-shadow: 0 0 30px rgba(0, 240, 255, 0.5);
}

.nav__overlay-links a::before {
  content: attr(data-number);
  position: absolute;
  left: -40px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--neon-cyan);
  font-weight: 400;
}

/* =============================
   HERO SECTION
   ============================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero__canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-top: 80px;
}

.hero__greeting {
  font-family: var(--font-mono);
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  color: var(--neon-cyan);
  margin-bottom: 16px;
  letter-spacing: 2px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideUp 0.6s 0.3s forwards;
}

.hero__name {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 12px;
  letter-spacing: -2px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientShift 4s ease infinite, fadeSlideUp 0.6s 0.5s forwards;
  opacity: 0;
  transform: translateY(20px);
}

.hero__tagline {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.15;
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideUp 0.6s 0.7s forwards;
}

.hero__description {
  max-width: 540px;
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideUp 0.6s 0.9s forwards;
}

.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideUp 0.6s 1.1s forwards;
}

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

@keyframes fadeSlideUp {
  to { opacity: 1; transform: translateY(0); }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition-medium);
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--gradient-primary);
  color: var(--bg-primary);
  border: none;
  box-shadow: var(--glow-cyan);
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--glow-strong);
  color: var(--bg-primary);
}

.btn--outline {
  background: transparent;
  color: var(--neon-cyan);
  border: var(--border-glow);
}

.btn--outline:hover {
  background: rgba(0, 240, 255, 0.1);
  color: var(--neon-cyan);
  transform: translateY(-3px);
  box-shadow: var(--glow-cyan);
}

/* Hero scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeSlideUp 0.6s 1.5s forwards;
}

.hero__scroll-text {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: var(--gradient-primary);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.5); opacity: 0.4; }
}

/* =============================
   SECTION COMMON
   ============================= */
.section {
  padding: var(--section-padding) 0;
  position: relative;
}

.section__header {
  margin-bottom: 60px;
}

.section__number {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--neon-cyan);
  letter-spacing: 3px;
  margin-bottom: 8px;
  display: block;
}

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 20px;
}

.section__title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 240, 255, 0.3) 0%, transparent 100%);
  max-width: 300px;
}

/* Divider between sections */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(0, 240, 255, 0.2) 50%, transparent 100%);
  margin: 0 auto;
}

/* =============================
   ABOUT SECTION
   ============================= */
.about__tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 32px;
  border-bottom: 1px solid rgba(0, 240, 255, 0.1);
  flex-wrap: wrap;
}

.about__tab {
  padding: 12px 24px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-secondary);
  cursor: pointer;
  border: none;
  background: none;
  position: relative;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.5px;
}

.about__tab:hover {
  color: var(--neon-cyan);
}

.about__tab.active {
  color: var(--neon-cyan);
}

.about__tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--neon-cyan);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.about__tab-icon {
  width: 16px;
  height: 16px;
  opacity: 0.7;
}

.about__panel {
  display: none;
  animation: fadeIn 0.4s ease;
}

.about__panel.active {
  display: block;
}

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

.about__content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.about__text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.9;
}

.about__text p {
  margin-bottom: 16px;
}

.about__highlight {
  color: var(--neon-cyan);
  font-weight: 500;
}

/* Skills grid in about */
.about__skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.about__skill-tag {
  padding: 10px 16px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: var(--border-subtle);
  border-radius: 6px;
  text-align: center;
  transition: var(--transition-fast);
  cursor: default;
}

.about__skill-tag:hover {
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  box-shadow: var(--glow-cyan);
  transform: translateY(-2px);
}

/* =============================
   PROJECTS SECTION
   ============================= */
.projects__grid {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.project-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.project-card.reveal {
  opacity: 1;
  transform: translateY(0);
}

.project-card:nth-child(even) {
  direction: rtl;
}

.project-card:nth-child(even) > * {
  direction: ltr;
}

.project-card__image-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: var(--border-subtle);
  background: var(--bg-card);
  aspect-ratio: 16/10;
}

.project-card__image-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.1) 0%, rgba(180, 74, 255, 0.1) 100%);
  z-index: 1;
  opacity: 0.6;
  transition: var(--transition-medium);
}

.project-card__image-wrapper:hover::before {
  opacity: 0;
}

.project-card__image-wrapper:hover {
  box-shadow: var(--glow-cyan);
  border-color: rgba(0, 240, 255, 0.3);
}

.project-card__image-wrapper:hover img {
  transform: scale(1.05);
}

.project-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-card__label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--neon-cyan);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.project-card__title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.project-card__description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

.project-card__tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.project-card__tech-tag {
  padding: 5px 14px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
  border: var(--border-subtle);
  border-radius: 20px;
  background: var(--bg-card);
  transition: var(--transition-fast);
}

.project-card__tech-tag:hover {
  color: var(--neon-cyan);
  border-color: var(--neon-cyan);
}

.project-card__links {
  display: flex;
  gap: 20px;
}

.project-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.project-card__link:hover {
  color: var(--neon-cyan);
  transform: translateY(-2px);
}

.project-card__link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* =============================
   TERMINAL SECTION
   ============================= */
.terminal {
  background: var(--bg-card);
  border: var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--glow-cyan);
}

.terminal__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: var(--border-subtle);
}

.terminal__dots {
  display: flex;
  gap: 8px;
}

.terminal__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.terminal__dot--red { background: #ff5f57; }
.terminal__dot--yellow { background: #ffbd2e; }
.terminal__dot--green { background: #28c840; }

.terminal__title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  flex: 1;
  text-align: center;
}

.terminal__mode {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--neon-green);
  letter-spacing: 1px;
}

.terminal__body {
  padding: 24px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.9;
  color: var(--text-secondary);
  min-height: 300px;
  position: relative;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 1px,
    rgba(0, 240, 255, 0.015) 1px,
    rgba(0, 240, 255, 0.015) 2px
  );
}

.terminal__line {
  margin-bottom: 4px;
  opacity: 0;
  transform: translateX(-10px);
  animation: terminalFadeIn 0.3s forwards;
}

.terminal__line--prompt {
  color: var(--neon-cyan);
}

.terminal__line--command {
  color: var(--text-primary);
}

.terminal__line--output {
  color: var(--text-secondary);
  padding-left: 16px;
}

.terminal__line--success {
  color: var(--neon-green);
}

.terminal__line--error {
  color: var(--neon-magenta);
}

.terminal__line--highlight {
  color: var(--neon-violet);
}

.terminal__cursor {
  display: inline-block;
  width: 8px;
  height: 16px;
  background: var(--neon-cyan);
  animation: blink 1s step-end infinite;
  vertical-align: middle;
}

@keyframes blink {
  50% { opacity: 0; }
}

@keyframes terminalFadeIn {
  to { opacity: 1; transform: translateX(0); }
}

/* CRT Overlay */
.terminal::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 240, 255, 0.02) 2px,
    rgba(0, 240, 255, 0.02) 4px
  );
  pointer-events: none;
  z-index: 1;
}

/* =============================
   SKILLS SECTION
   ============================= */
.skills__categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.skills__category {
  background: var(--bg-card);
  border: var(--border-subtle);
  border-radius: 12px;
  padding: 32px;
  transition: var(--transition-medium);
  position: relative;
  overflow: hidden;
}

.skills__category::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: var(--transition-medium);
}

.skills__category:hover::before {
  transform: scaleX(1);
}

.skills__category:hover {
  border-color: rgba(0, 240, 255, 0.2);
  box-shadow: var(--glow-cyan);
  transform: translateY(-4px);
}

.skills__category-icon {
  font-size: 1.5rem;
  margin-bottom: 16px;
  display: block;
}

.skills__category-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.skills__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skills__tag {
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
  background: rgba(0, 240, 255, 0.05);
  border: 1px solid rgba(0, 240, 255, 0.08);
  border-radius: 4px;
  transition: var(--transition-fast);
  cursor: default;
}

.skills__tag:hover {
  color: var(--neon-cyan);
  border-color: rgba(0, 240, 255, 0.3);
  background: rgba(0, 240, 255, 0.1);
}

/* =============================
   CONTACT SECTION
   ============================= */
.contact {
  text-align: center;
}

.contact__subtitle {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--neon-cyan);
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.contact__title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.contact__text {
  max-width: 540px;
  margin: 0 auto 40px;
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.contact__email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--neon-cyan);
  padding: 16px 36px;
  border: var(--border-glow);
  border-radius: 8px;
  margin-bottom: 50px;
  transition: var(--transition-medium);
}

.contact__email:hover {
  background: rgba(0, 240, 255, 0.1);
  box-shadow: var(--glow-strong);
  color: var(--neon-cyan);
  transform: translateY(-3px);
}

.contact__socials {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
}

.contact__social-link {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: var(--border-subtle);
  border-radius: 50%;
  color: var(--text-secondary);
  transition: var(--transition-medium);
}

.contact__social-link:hover {
  color: var(--neon-cyan);
  border-color: var(--neon-cyan);
  box-shadow: var(--glow-cyan);
  transform: translateY(-4px);
}

.contact__social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* =============================
   FOOTER
   ============================= */
.footer {
  padding: 40px 0;
  border-top: 1px solid rgba(0, 240, 255, 0.05);
  text-align: center;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer__status {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer__status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon-green);
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
  animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.footer__credit {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.footer__credit a {
  color: var(--neon-cyan);
}

/* =============================
   SCROLL REVEAL ANIMATIONS
   ============================= */
.reveal-element {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-element.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for children */
.reveal-stagger > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger > *:nth-child(3) { transition-delay: 0.15s; }
.reveal-stagger > *:nth-child(4) { transition-delay: 0.2s; }
.reveal-stagger > *:nth-child(5) { transition-delay: 0.25s; }
.reveal-stagger > *:nth-child(6) { transition-delay: 0.3s; }

/* =============================
   RESPONSIVE
   ============================= */
@media (max-width: 900px) {
  .project-card {
    grid-template-columns: 1fr;
  }

  .project-card:nth-child(even) {
    direction: ltr;
  }

  .nav__social {
    display: none;
  }

  .cursor-glow {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero__ctas {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .about__tabs {
    gap: 0;
  }

  .about__tab {
    padding: 10px 16px;
    font-size: 0.8rem;
  }

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

  .contact__socials {
    gap: 16px;
  }

  .contact__social-link {
    width: 44px;
    height: 44px;
  }

  .hero__scroll {
    display: none;
  }
}
