/* ================================================================
   PORTFOLIO — GLOBAL STYLES
   Dark mode glassmorphism premium design
   ================================================================ */

/* ── RESET & BASE ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #050811;
  --bg-2: #080d1a;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-h: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.08);
  --border-h: rgba(255, 255, 255, 0.18);

  --grad-a: #7c3aed;
  /* violet */
  --grad-b: #2563eb;
  /* blue   */
  --grad-c: #06b6d4;
  /* cyan   */

  --text-1: #f0f4ff;
  --text-2: #9ba7be;
  --text-3: #5a6580;

  --font-sans: 'Inter', sans-serif;
  --font-display: 'Space Grotesk', sans-serif;

  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text-1);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--grad-a);
  border-radius: 999px;
}

/* ── SELECTION ── */
::selection {
  background: rgba(124, 58, 237, 0.4);
}

/* ── CONTAINER ── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── GRADIENT TEXT ── */
.gradient-text {
  background: linear-gradient(135deg, var(--grad-a), var(--grad-b), var(--grad-c));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── SECTION BASE ── */
.section {
  padding: 120px 0;
  position: relative;
}

/* ── SECTION LABEL ── */
.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 24px;
  justify-content: flex-start;
}

.section-label.centered {
  justify-content: center;
}

.label-line {
  flex: 1;
  max-width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-h));
}

/* ── SECTION TITLE ── */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-1);
  margin-bottom: 48px;
}

.section-title.centered {
  text-align: center;
}

.section-subtitle {
  color: var(--text-3);
  font-size: 15px;
  line-height: 1.6;
  max-width: 700px;
  margin: -24px auto 48px;
}

.section-subtitle.centered {
  text-align: center;
}

.text-link {
  color: var(--grad-a);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.text-link:hover {
  color: var(--grad-c);
  text-decoration: underline;
}

.status-badge {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  color: var(--text-3) !important;
  cursor: default !important;
  opacity: 0.8;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--grad-a), var(--grad-b));
  color: #fff;
  box-shadow: 0 0 30px rgba(124, 58, 237, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(124, 58, 237, 0.55);
}

.btn-ghost {
  background: var(--surface);
  color: var(--text-1);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  border-color: var(--border-h);
  background: var(--surface-h);
  transform: translateY(-2px);
}

.btn-large {
  padding: 18px 40px;
  font-size: 17px;
}

/* ================================================================
   NAVIGATION
   ================================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
  padding: 0;
}

.nav.scrolled {
  background: rgba(5, 8, 17, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-1);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.logo-bracket {
  color: var(--grad-a);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: var(--text-2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--text-1);
}

.nav-cta {
  background: linear-gradient(135deg, var(--grad-a), var(--grad-b)) !important;
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600 !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-1);
  border-radius: 999px;
  transition: var(--transition);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  background: rgba(5, 8, 17, 0.97);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease;
}

.mobile-menu.open {
  max-height: 400px;
}

.mobile-menu a {
  display: block;
  padding: 16px 40px;
  color: var(--text-2);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}

.mobile-menu a:hover {
  color: var(--text-1);
}

/* ================================================================
   HERO
   ================================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 40px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

#particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  animation: float 8s ease-in-out infinite;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.25) 0%, transparent 70%);
  top: -100px;
  left: -100px;
  animation-delay: 0s;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.2) 0%, transparent 70%);
  top: 50%;
  right: -100px;
  animation-delay: 2.5s;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, transparent 70%);
  bottom: 0;
  left: 40%;
  animation-delay: 5s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-30px) scale(1.05);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 660px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.3);
  color: #a78bfa;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 28px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

.hero-greeting {
  font-size: 16px;
  color: var(--text-3);
  font-weight: 400;
  margin-bottom: 4px;
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 12px;
  letter-spacing: -1.5px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--text-2);
  line-height: 1.4;
  margin-bottom: 16px;
}

.typed-text {
  min-width: 260px;
  display: inline-block;
}

.cursor {
  color: var(--grad-a);
  animation: blink 1s step-end infinite;
  font-weight: 300;
}

.hero-tagline {
  font-size: 16px;
  color: var(--text-3);
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-tagline em {
  color: var(--text-2);
  font-style: normal;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--grad-a), var(--grad-c));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 12px;
  color: var(--text-3);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.hero-visual {
  position: absolute;
  right: 80px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

.avatar-ring {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.3) 0%, transparent 65%);
  animation: float 6s ease-in-out infinite;
}

.avatar-img {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(124, 58, 237, 0.4);
  position: relative;
  z-index: 1;
  box-shadow: 0 0 60px rgba(124, 58, 237, 0.3), inset 0 0 30px rgba(0, 0, 0, 0.5);
}

.avatar-orbit {
  position: absolute;
  inset: 0;
  animation: spin 15s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.orbit-item {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-h);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  animation: counter-spin 15s linear infinite;
}

@keyframes counter-spin {
  to {
    transform: rotate(-360deg);
  }
}

.orbit-1 {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.orbit-2 {
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

.orbit-3 {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.orbit-4 {
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-3);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  transition: color var(--transition);
  z-index: 1;
}

.scroll-indicator:hover {
  color: var(--text-2);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-3), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {

  0%,
  100% {
    opacity: 1;
    transform: scaleY(1);
  }

  50% {
    opacity: 0.3;
    transform: scaleY(0.8);
  }
}

/* ================================================================
   ABOUT
   ================================================================ */
.about {
  background: var(--bg-2);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 64px;
  align-items: start;
}

.about-text .section-title {
  margin-bottom: 24px;
}

.about-para {
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 18px;
}

.about-para strong {
  color: var(--text-1);
  font-weight: 600;
}

.about-para em {
  color: var(--text-1);
  font-style: normal;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.tag {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  transition: var(--transition);
}

.tag:hover {
  border-color: var(--border-h);
  color: var(--text-1);
}

.about-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mini-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  backdrop-filter: blur(20px);
  transition: var(--transition);
}

.mini-card:hover {
  border-color: rgba(124, 58, 237, 0.3);
  background: rgba(124, 58, 237, 0.05);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.1);
}

.mini-card-icon {
  font-size: 28px;
  margin-bottom: 10px;
}

.mini-card h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 6px;
}

.mini-card p {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.6;
}

/* ================================================================
   WHAT I DO
   ================================================================ */
.what-i-do {
  background: var(--bg);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.skill-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  backdrop-filter: blur(20px);
  overflow: hidden;
  transition: var(--transition);
  cursor: default;
}

.skill-card:hover {
  border-color: rgba(124, 58, 237, 0.4);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(124, 58, 237, 0.12);
}

.skill-card-glow {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, transparent 70%);
  top: -60px;
  right: -60px;
  transition: var(--transition);
  pointer-events: none;
}

.skill-card:hover .skill-card-glow {
  transform: scale(1.5);
}

.skill-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.skill-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 12px;
}

.skill-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 20px;
}

.skill-card em {
  color: var(--text-1);
  font-style: normal;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-tags span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(124, 58, 237, 0.25);
  color: #a78bfa;
}

/* ================================================================
   TECH STACK
   ================================================================ */
.tech-stack {
  background: var(--bg-2);
}

.stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.stack-group {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
}

.stack-group:hover {
  border-color: var(--border-h);
  background: var(--surface-h);
}

.stack-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 16px;
}

.stack-icon {
  font-size: 20px;
}

.stack-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  font-size: 12px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-2);
  transition: var(--transition);
}

.pill:hover {
  border-color: var(--border-h);
  color: var(--text-1);
}

/* ================================================================
   PROJECTS
   ================================================================ */
.projects {
  background: var(--bg);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

.project-card.featured {
  border-color: rgba(124, 58, 237, 0.3);
}

.project-card:hover {
  border-color: rgba(124, 58, 237, 0.5);
  transform: translateY(-6px);
  box-shadow: 0 24px 80px rgba(124, 58, 237, 0.15);
}

.project-card-inner {
  padding: 36px 32px;
}

.project-number {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.04);
  line-height: 1;
  margin-bottom: -16px;
  letter-spacing: -2px;
}

.project-header {
  margin-bottom: 16px;
}

.project-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(37, 99, 235, 0.2));
  border: 1px solid rgba(124, 58, 237, 0.3);
  color: #a78bfa;
}

.project-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.project-desc {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 20px;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.project-tech span {
  font-size: 12px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-3);
}

.project-outcome {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(6, 182, 212, 0.06);
  border: 1px solid rgba(6, 182, 212, 0.15);
  border-radius: var(--radius-sm);
}

.outcome-icon {
  font-size: 16px;
  flex-shrink: 0;
}

.project-outcome span:last-child {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.6;
}

.project-links {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.btn-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-1);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  background: var(--surface-h);
  border: 1px solid var(--border-h);
  transition: var(--transition);
}

.btn-link:hover {
  background: var(--grad-a);
  border-color: var(--grad-a);
  color: #fff;
}

.btn-link.secondary {
  background: transparent;
  color: var(--text-2);
}

.btn-link.secondary:hover {
  background: var(--surface-h);
  border-color: var(--border-h);
  color: var(--text-1);
}

/* ================================================================
   VISION
   ================================================================ */
.vision {
  background: var(--bg-2);
}

.vision-inner {
  position: relative;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.vision-glow-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(124, 58, 237, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.vision-quote {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 500;
  color: var(--text-2);
  line-height: 1.8;
  font-style: normal;
  margin-bottom: 24px;
  border: none;
  quotes: none;
}

.vision-sub {
  font-size: 15px;
  color: var(--text-3);
  line-height: 1.7;
}

/* ================================================================
   CONTACT
   ================================================================ */
.contact {
  background: var(--bg);
}

.contact-inner {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.contact-sub {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 40px;
}

.contact-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 28px;
  text-decoration: none;
  transition: var(--transition);
  text-align: left;
  min-width: 180px;
}

.contact-card:hover {
  border-color: rgba(124, 58, 237, 0.4);
  background: rgba(124, 58, 237, 0.06);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(124, 58, 237, 0.12);
}

.contact-card-icon {
  font-size: 26px;
}

.contact-card h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 2px;
}

.contact-card p {
  font-size: 13px;
  color: var(--text-3);
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-3);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-3);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--text-1);
}

/* ================================================================
   ANIMATIONS & SCROLL REVEAL
   ================================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
  .hero-visual {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-cards {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .mini-card {
    flex: 1;
    min-width: 200px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }

  .hero {
    padding: 120px 24px 80px;
  }

  .hero-stats {
    gap: 16px;
  }

  .stat-num {
    font-size: 1.5rem;
  }

  .section {
    padding: 80px 0;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .stack-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-cards {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .nav-inner {
    padding: 16px 24px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .stat-divider {
    display: none;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .stack-grid {
    grid-template-columns: 1fr;
  }
}