/* =========================================================
   Abhishek Rawat — Premium Portfolio Stylesheet
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600&display=swap');

/* ─── CSS Custom Properties ─────────────────────────────── */
:root {
  /* Dark Mode (default) */
  --bg:           #050A18;
  --bg-alt:       #080E20;
  --surface:      #0D1526;
  --surface-2:    #111D35;
  --border:       rgba(79, 142, 247, 0.18);
  --border-light: rgba(79, 142, 247, 0.08);
  --text:         #F0F4FF;
  --text-muted:   #8899BB;
  --text-soft:    #5C6E9A;
  --blue:         #4F8EF7;
  --violet:       #8B5CF6;
  --blue-deep:    #2563EB;
  --violet-deep:  #7C3AED;
  --glow-blue:    rgba(79, 142, 247, 0.25);
  --glow-violet:  rgba(139, 92, 246, 0.25);
  --card-shadow:  0 4px 32px rgba(0,0,0,0.4);
  --nav-bg:       rgba(5, 10, 24, 0.8);
  --orb-opacity:  0.18;
  --grid-color:   rgba(79, 142, 247, 0.06);
}

[data-theme="light"] {
  --bg:           #F2F5FF;
  --bg-alt:       #E8EDF9;
  --surface:      #FFFFFF;
  --surface-2:    #F0F4FF;
  --border:       rgba(37, 99, 235, 0.2);
  --border-light: rgba(37, 99, 235, 0.1);
  --text:         #0D1526;
  --text-muted:   #4A5A7A;
  --text-soft:    #8899BB;
  --blue:         #2563EB;
  --violet:       #7C3AED;
  --blue-deep:    #1D4ED8;
  --violet-deep:  #6D28D9;
  --glow-blue:    rgba(37, 99, 235, 0.15);
  --glow-violet:  rgba(124, 58, 237, 0.15);
  --card-shadow:  0 4px 32px rgba(37, 99, 235, 0.1);
  --nav-bg:       rgba(242, 245, 255, 0.85);
  --orb-opacity:  0.12;
  --grid-color:   rgba(37, 99, 235, 0.05);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.4s ease, color 0.4s ease;
}

/* ─── Typography Utilities ──────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.15;
}

.gradient-text {
  background: linear-gradient(135deg, var(--blue), var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 1rem;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 520px;
}

/* ─── Layout Utilities ──────────────────────────────────── */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 100px 0;
}

/* ─── Navigation ─────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.4s ease;
}

nav.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  padding: 0.75rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  position: relative;
  transition: color 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  transform: scaleX(0);
  transition: transform 0.3s ease;
  border-radius: 2px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Theme Toggle */
.theme-toggle {
  width: 48px;
  height: 26px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  background: var(--surface);
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  padding: 3px;
}

.theme-toggle-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

[data-theme="light"] .theme-toggle-thumb {
  transform: translateX(22px);
}

.nav-cta {
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  color: #fff !important;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: opacity 0.3s, transform 0.2s;
}

.nav-cta:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ─── Hero Section ──────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 0;
}

/* Grid background */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 20%, transparent 70%);
  pointer-events: none;
}

/* Gradient orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: var(--orb-opacity);
  animation: floatOrb 8s ease-in-out infinite;
}

.orb-1 {
  width: 500px; height: 500px;
  background: var(--blue);
  top: -100px; right: -100px;
  animation-delay: 0s;
}

.orb-2 {
  width: 400px; height: 400px;
  background: var(--violet);
  bottom: -80px; left: -80px;
  animation-delay: -3s;
}

.orb-3 {
  width: 250px; height: 250px;
  background: var(--blue);
  top: 40%; left: 30%;
  animation-delay: -6s;
  opacity: calc(var(--orb-opacity) * 0.5);
}

@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(20px, -25px) scale(1.05); }
  66%       { transform: translate(-15px, 15px) scale(0.97); }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  min-height: 100vh;
  padding: 100px 0 60px;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border: 1px solid var(--border);
  border-radius: 50px;
  background: var(--surface);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}

.hero-badge .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  animation: pulse 2s ease-in-out infinite;
}

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

.hero-name {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.hero-name .gradient-text {
  display: block;
}

.hero-typewriter {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  min-height: 2rem;
}

.typewriter-text {
  background: linear-gradient(135deg, var(--blue), var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cursor-blink {
  color: var(--blue);
  -webkit-text-fill-color: var(--blue);
  animation: blink 0.8s step-end infinite;
}

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

.hero-tagline {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 440px;
  line-height: 1.7;
}

.hero-tagline strong {
  color: var(--text);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.btn-primary {
  padding: 0.85rem 2rem;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.3s;
  box-shadow: 0 4px 20px var(--glow-blue);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px var(--glow-blue);
}

.btn-ghost {
  padding: 0.85rem 2rem;
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: all 0.3s;
}

.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--glow-blue);
}

.hero-socials {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.3s;
  backdrop-filter: blur(8px);
}

.social-link:hover {
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: 0 0 16px var(--glow-blue);
  transform: translateY(-2px);
}

/* Hero visual */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.node-network {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1;
}

/* ─── About Section ─────────────────────────────────────── */
#about {
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 1.8rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--glow-blue), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.stat-card:hover {
  border-color: var(--border);
  box-shadow: var(--card-shadow);
  transform: translateY(-4px);
}

.stat-card:hover::before { opacity: 1; }

.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.about-content .section-title { margin-bottom: 1.25rem; }

.about-text {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about-text strong { color: var(--text); font-weight: 600; }

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.tag {
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  border: 1px solid var(--border);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--surface);
  transition: all 0.3s;
}

.tag:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--glow-blue);
}

/* ─── Skills Section ─────────────────────────────────────── */
#skills {
  position: relative;
}

.skills-header { text-align: center; margin-bottom: 4rem; }
.skills-header .section-sub { margin: 0 auto; }

.skills-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.skill-category {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.skill-category::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--violet));
  opacity: 0;
  transition: opacity 0.3s;
}

.skill-category:hover {
  border-color: var(--border);
  box-shadow: var(--card-shadow);
  transform: translateY(-4px);
}

.skill-category:hover::after { opacity: 1; }

.skill-cat-icon {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}

.skill-cat-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.2rem;
}

.skill-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-badge {
  padding: 0.3rem 0.8rem;
  border-radius: 6px;
  background: var(--surface-2);
  border: 1px solid var(--border-light);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.3s;
  cursor: default;
}

.skill-badge:hover {
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: 0 0 12px var(--glow-blue);
  transform: translateY(-2px);
}

/* ─── Experience Section ─────────────────────────────────── */
#experience {
  background: var(--bg-alt);
}

.exp-header { margin-bottom: 4rem; }

.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--blue), var(--violet), transparent);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
}

.timeline-item:last-child { margin-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: -2.6rem;
  top: 1.5rem;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  box-shadow: 0 0 0 4px var(--bg-alt), 0 0 12px var(--glow-blue);
}

.exp-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-left: 3px solid transparent;
  border-image: linear-gradient(to bottom, var(--blue), var(--violet)) 1;
  border-radius: 0 16px 16px 0;
  padding: 1.8rem 2rem;
  transition: all 0.3s ease;
}

.exp-card:hover {
  box-shadow: var(--card-shadow);
  transform: translateX(4px);
}

.exp-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.exp-role {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.15rem;
}

.exp-company {
  font-size: 0.9rem;
  color: var(--blue);
  font-weight: 500;
}

.exp-date {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.8rem;
  border-radius: 6px;
  background: var(--surface-2);
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
}

.exp-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.exp-bullets li {
  display: flex;
  gap: 0.6rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.exp-bullets li::before {
  content: '→';
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 0.05rem;
}

.exp-domains {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
}

.domain-tag {
  padding: 0.2rem 0.65rem;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.domain-tag.blue {
  background: rgba(79, 142, 247, 0.12);
  color: var(--blue);
  border: 1px solid rgba(79, 142, 247, 0.25);
}

.domain-tag.violet {
  background: rgba(139, 92, 246, 0.12);
  color: var(--violet);
  border: 1px solid rgba(139, 92, 246, 0.25);
}

/* ─── Projects Section ───────────────────────────────────── */
#projects {
  position: relative;
}

.proj-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.project-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 1.8rem;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
  cursor: default;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--violet));
  transform: scaleX(0);
  transition: transform 0.35s ease;
}

.project-card:hover {
  border-color: var(--border);
  box-shadow: var(--card-shadow), 0 0 40px var(--glow-violet);
  transform: translateY(-6px);
}

.project-card:hover::before { transform: scaleX(1); }

.project-card.featured {
  border-color: var(--border);
  background: var(--surface-2);
}

.proj-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.proj-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.proj-duration {
  padding: 0.2rem 0.6rem;
  border-radius: 5px;
  background: var(--surface-2);
  font-size: 0.72rem;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.proj-domain {
  font-size: 0.75rem;
  color: var(--blue);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.proj-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.proj-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.stack-pill {
  padding: 0.2rem 0.6rem;
  border-radius: 5px;
  font-size: 0.72rem;
  font-weight: 500;
  background: var(--surface-2);
  color: var(--text-soft);
  border: 1px solid var(--border-light);
}

/* ─── Achievements Section ───────────────────────────────── */
#achievements {
  background: var(--bg-alt);
}

.ach-header { text-align: center; margin-bottom: 3.5rem; }

.ach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.ach-card {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 1.6rem;
  transition: all 0.3s;
}

.ach-card:hover {
  border-color: var(--border);
  box-shadow: var(--card-shadow);
  transform: translateY(-3px);
}

.ach-icon {
  font-size: 2rem;
  flex-shrink: 0;
  width: 52px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--surface-2);
}

.ach-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.ach-sub {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ─── Contact Section ────────────────────────────────────── */
#contact {
  position: relative;
  text-align: center;
  overflow: hidden;
}

.contact-orb {
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow-violet) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.contact-inner { position: relative; z-index: 2; }

.contact-heading {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  margin-bottom: 1rem;
}

.contact-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 0 auto 3rem;
  max-width: 500px;
}

.contact-tiles {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.contact-tile {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.8rem;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s;
  min-width: 180px;
  justify-content: center;
}

.contact-tile:hover {
  border-color: var(--blue);
  box-shadow: 0 0 28px var(--glow-blue);
  transform: translateY(-4px);
  color: var(--blue);
}

.contact-tile-icon {
  font-size: 1.2rem;
}

.contact-tile-label { font-size: 0.75rem; color: var(--text-soft); }

/* ─── Footer ─────────────────────────────────────────────── */
footer {
  padding: 1.5rem 0;
  border-top: 1px solid var(--border-light);
  text-align: center;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-text {
  font-size: 0.82rem;
  color: var(--text-soft);
}

.footer-brand {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Scroll Animations ──────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }

/* divider */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 0 auto;
  max-width: 400px;
}

/* ─── Mobile Nav Menu ────────────────────────────────────── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--bg);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s;
}

.mobile-menu a:hover { color: var(--blue); }

.mobile-close {
  position: absolute;
  top: 1.5rem; right: 2rem;
  font-size: 2rem;
  cursor: pointer;
  color: var(--text-muted);
  background: none;
  border: none;
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner      { grid-template-columns: 1fr; text-align: center; padding-top: 120px; }
  .hero-visual     { display: none; }
  .hero-actions    { justify-content: center; }
  .hero-socials    { justify-content: center; }
  .hero-badge      { margin: 0 auto 1.5rem; }
  .hero-tagline    { margin: 0 auto 2.5rem; }

  .about-grid      { grid-template-columns: 1fr; gap: 3rem; }

  .nav-links       { display: none; }
  .hamburger       { display: flex; }

  .proj-header     { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  section          { padding: 70px 0; }
  .stats-grid      { grid-template-columns: 1fr 1fr; }
  .contact-tiles   { flex-direction: column; align-items: center; }
  .footer-inner    { flex-direction: column; text-align: center; }
}
