/* ===============================================================
   LOW-PROFILE PORTFOLIO — Design System & Styles
   =============================================================== */

/* ── Variables ── */
:root {
  --bg: #080c10;
  --bg-2: #0d1117;
  --bg-3: #111820;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.08);
  --border-2: rgba(255, 255, 255, 0.14);

  --accent: #7c3aed;
  /* violet */
  --accent-2: #06b6d4;
  /* cyan   */
  --accent-3: #f59e0b;
  /* amber  */

  --text: #e8edf5;
  --text-2: #8892a4;
  --text-3: #4c5668;

  --font-sans: 'Space Grotesk', 'Inter', sans-serif;
  --font-mono: 'Space Mono', monospace;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);

  --nav-h: 72px;
}

/* ── Reset ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img,
svg {
  display: block;
}

/* ── Particle Canvas ── */
#particleCanvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
}

/* ── Custom Cursor ── */
.cursor {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.08s var(--ease-out-expo), border-color 0.3s, background 0.2s, width 0.25s var(--ease-out-expo), height 0.25s var(--ease-out-expo);
  mix-blend-mode: exclusion;
}

.cursor.hovering {
  width: 60px;
  height: 60px;
  background: rgba(124, 58, 237, 0.12);
  border-color: var(--accent-2);
}

.cursor-dot {
  width: 5px;
  height: 5px;
  background: var(--accent-2);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: transform 0.03s linear;
  box-shadow: 0 0 8px var(--accent-2);
}

@media (pointer: coarse) {

  .cursor,
  .cursor-dot {
    display: none;
  }
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  height: var(--nav-h);
  transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(8, 12, 16, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: var(--border);
}

.nav-logo {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.logo-bracket {
  color: var(--accent);
}

.logo-text {
  color: var(--text);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-2);
  letter-spacing: 0.04em;
  position: relative;
  transition: color 0.2s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent-2);
  transition: width 0.3s var(--ease-out-expo);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(8, 12, 16, 0.97);
  backdrop-filter: blur(24px);
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu ul {
  text-align: center;
}

.mobile-menu li {
  margin-bottom: 2.5rem;
}

.mobile-link {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-2);
  transition: color 0.2s;
}

.mobile-link:hover {
  color: var(--accent-2);
}

/* ── Container ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 3rem);
}

/* ── Sections ── */
.section {
  padding: clamp(5rem, 12vw, 9rem) 0;
  position: relative;
}

/* Section Label */
.section-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.label-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-2);
  letter-spacing: 0.1em;
}

.label-text {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-3);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* Section Title */
.section-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 2rem;
}

/* ── Hero ── */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: var(--nav-h) clamp(1.5rem, 5vw, 4rem) 0;
}

.hero-noise {
  position: absolute;
  inset: -50%;
  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)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.4;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  animation: floatGlow 14s ease-in-out infinite;
}

.hero-glow-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.22) 0%, transparent 70%);
  top: -15%;
  left: -10%;
  animation-delay: 0s;
}

.hero-glow-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, transparent 70%);
  bottom: -10%;
  right: -5%;
  animation-delay: -5s;
}

.hero-glow-3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
  top: 40%;
  left: 55%;
  animation-delay: -9s;
}

@keyframes floatGlow {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(3%, 5%) scale(1.05);
  }

  66% {
    transform: translate(-3%, -4%) scale(0.97);
  }
}

.hero-content {
  max-width: 720px;
  z-index: 1;
  text-align: left;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 0.8rem;
  color: var(--text-2);
  margin-bottom: 2rem;
  backdrop-filter: blur(8px);
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
  }

  50% {
    box-shadow: 0 0 0 7px rgba(34, 197, 94, 0.08);
  }
}

.hero-name {
  font-size: clamp(3rem, 9vw, 6.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}

.name-line {
  display: block;
  color: var(--text-2);
  font-weight: 400;
  font-size: 0.6em;
}

.name-highlight {
  display: block;
  background: linear-gradient(135deg, #e8edf5 20%, var(--accent) 80%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  font-weight: 500;
  color: var(--text-2);
  margin-bottom: 1rem;
  min-height: 2.2em;
}

.typed-wrapper {
  color: var(--accent-2);
}

#typed {
  font-weight: 700;
}

.typed-cursor {
  display: inline-block;
  animation: blink 1s step-end infinite;
  color: var(--accent-2);
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-3);
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.25s var(--ease-out-expo);
  letter-spacing: 0.02em;
}

.btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s;
}

.btn:hover svg {
  transform: translate(3px, -3px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 24px rgba(124, 58, 237, 0.35);
}

.btn-primary:hover {
  background: #6d28d9;
  box-shadow: 0 0 40px rgba(124, 58, 237, 0.5);
  transform: translateY(-2px);
}

.btn-ghost {
  background: var(--surface);
  color: var(--text-2);
  border: 1px solid var(--border-2);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: var(--surface-2);
  color: var(--text);
  transform: translateY(-2px);
}

/* Hero scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 1;
  opacity: 0.4;
  animation: fadeIn 2s 1.5s both;
}

.scroll-line {
  width: 1.5px;
  height: 48px;
  background: linear-gradient(to bottom, var(--accent-2), transparent);
  animation: scrollDrop 1.8s ease-in-out infinite;
}

.hero-scroll-hint span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-3);
  font-family: var(--font-mono);
}

@keyframes scrollDrop {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
  }

  50.01% {
    transform: scaleY(1);
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* ── About ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-desc {
  color: var(--text-2);
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
  line-height: 1.75;
}

.about-desc strong {
  color: var(--text);
  font-weight: 600;
}

.about-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}

.stat-suffix {
  color: var(--accent-2);
  font-size: 1.4rem;
  font-weight: 700;
  margin-left: 1px;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

/* About Visual */
.about-card-wrapper {
  position: relative;
}

.about-card {
  border-radius: 24px;
  border: 1px solid var(--border-2);
  background: var(--surface);
  backdrop-filter: blur(12px);
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out-expo), border-color 0.3s;
}

.about-card:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 58, 237, 0.4);
}

.card-glow {
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle at 50% 30%, rgba(124, 58, 237, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.profile-ring {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  animation: spinRing 8s linear infinite;
}

@keyframes spinRing {
  to {
    transform: rotate(360deg);
  }
}

.profile-circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-icon {
  width: 60%;
  color: var(--text-3);
}

.card-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.tag {
  font-size: 0.78rem;
  font-weight: 500;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 12px;
  color: var(--text-2);
}

/* Floating badges */
.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(8, 12, 16, 0.85);
  border: 1px solid var(--border-2);
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  animation: floatBadge 4s ease-in-out infinite;
}

.fb-1 {
  top: -16px;
  right: -16px;
  animation-delay: 0s;
}

.fb-2 {
  bottom: -16px;
  left: -16px;
  animation-delay: -2s;
}

@keyframes floatBadge {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* ── Skills ── */
.skills {
  background: var(--bg-2);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.skill-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.8rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out-expo), border-color 0.3s, box-shadow 0.35s;
  animation-delay: calc(var(--i) * 0.08s);
}

.skill-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}

.skill-card:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 58, 237, 0.35);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(124, 58, 237, 0.1);
}

.skill-card:hover::before {
  opacity: 1;
}

.skill-icon {
  width: 44px;
  height: 44px;
  background: var(--surface-2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.skill-icon svg {
  width: 22px;
  height: 22px;
  color: var(--accent-2);
}

.skill-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.skill-desc {
  font-size: 0.87rem;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 1.2rem;
}

.skill-tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.skill-tags span {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent-2);
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 6px;
  padding: 3px 8px;
  font-family: var(--font-mono);
}

/* ── Projects ── */
.projects-list {
  margin-top: 3rem;
}

.project-item {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.3s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
  animation-delay: calc(var(--i) * 0.1s);
}

.project-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--surface);
  border-radius: 12px;
  opacity: 0;
  transform: scaleX(0.98);
  transition: opacity 0.3s, transform 0.3s;
}

.project-item:hover {
  padding-left: 1.5rem;
}

.project-item:hover::before {
  opacity: 1;
  transform: scaleX(1);
}

.project-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 120px;
}

.project-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
}

.project-tags-row {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.ptag {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-3);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2px 8px;
  font-family: var(--font-mono);
  transition: color 0.3s, border-color 0.3s;
}

.project-item:hover .ptag {
  color: var(--accent-2);
  border-color: rgba(6, 182, 212, 0.25);
}

.project-content {
  flex: 1;
  position: relative;
  z-index: 1;
}

.project-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.4rem;
  transition: color 0.2s;
}

.project-item:hover .project-title {
  color: var(--accent-2);
}

.project-desc {
  font-size: 0.9rem;
  color: var(--text-3);
  line-height: 1.65;
}

.project-arrow {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s;
  position: relative;
  z-index: 1;
}

.project-arrow svg {
  width: 18px;
  height: 18px;
  color: var(--text-3);
  transition: color 0.3s;
}

.project-item:hover .project-arrow {
  background: var(--accent);
  border-color: var(--accent);
  transform: rotate(0deg) scale(1.1);
}

.project-item:hover .project-arrow svg {
  color: #fff;
}

/* ── Contact ── */
.contact {
  background: var(--bg-2);
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(124, 58, 237, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.contact-title {
  margin-bottom: 0;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-sub {
  font-size: 1.05rem;
  color: var(--text-2);
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: all 0.3s var(--ease-out-expo);
  group: true;
}

.contact-link:hover {
  background: var(--surface-2);
  border-color: var(--border-2);
  transform: translateX(6px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.cl-icon {
  width: 40px;
  height: 40px;
  background: var(--surface-2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.3s;
}

.cl-icon svg {
  width: 18px;
  height: 18px;
  color: var(--accent-2);
}

.contact-link:hover .cl-icon {
  background: rgba(124, 58, 237, 0.15);
}

.cl-text {
  flex: 1;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.2s;
}

.contact-link:hover .cl-text {
  color: var(--text);
}

.cl-arrow {
  font-size: 1.1rem;
  color: var(--text-3);
  transition: color 0.2s, transform 0.2s;
}

.contact-link:hover .cl-arrow {
  color: var(--accent-2);
  transform: translate(2px, -2px);
}

/* ── Footer ── */
.footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--text-3);
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--text-3);
}

.footer-back-top a {
  font-size: 0.82rem;
  color: var(--text-3);
  font-family: var(--font-mono);
  transition: color 0.2s;
}

.footer-back-top a:hover {
  color: var(--accent-2);
}

/* ── Scroll Reveal Animations ── */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal-left {
  transform: translateX(-40px);
}

.reveal-right {
  transform: translateX(40px);
}

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* Stagger delays for skill/project cards */
.skills-grid .skill-card:nth-child(1) .reveal-up {
  transition-delay: 0.05s;
}

.skills-grid .skill-card:nth-child(2) .reveal-up {
  transition-delay: 0.10s;
}

.skills-grid .skill-card:nth-child(3) .reveal-up {
  transition-delay: 0.15s;
}

/* ── Gradient Text Utility ── */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-visual {
    order: -1;
  }

  .about-card-wrapper {
    max-width: 320px;
    margin: 0 auto;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .nav-links {
    display: none;
  }

  .nav-menu-btn {
    display: flex;
  }
}

@media (max-width: 600px) {
  .skills-grid {
    grid-template-columns: 1fr;
  }

  .project-item {
    flex-wrap: wrap;
  }

  .hero-name {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .about-stats {
    gap: 1.5rem;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}