/* ============================================================
   DBECKBEN — Matrix Tech Dark Theme
   ============================================================ */

/* ─── CSS Variables ─── */
:root {
  --green: #00ff41;
  --green-dim: #00cc33;
  --green-glow: rgba(0, 255, 65, 0.15);
  --cyan: #00d4ff;
  --cyan-dim: #00a8cc;
  --purple: #9d4edd;
  --pink: #f72585;

  --bg-base: #050a0e;
  --bg-secondary: #0a1520;
  --bg-card: #0d1f2d;
  --bg-card-hover: #112435;
  --bg-glass: rgba(13, 31, 45, 0.6);

  --border: rgba(0, 255, 65, 0.12);
  --border-hover: rgba(0, 255, 65, 0.35);

  --text-primary: #e8f4f0;
  --text-secondary: rgba(232, 244, 240, 0.6);
  --text-muted: rgba(232, 244, 240, 0.35);

  --font-mono: 'Share Tech Mono', 'Roboto Mono', monospace;
  --font-body: 'Outfit', sans-serif;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
  --shadow-glow: 0 0 20px rgba(0, 255, 65, 0.2);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
  --radius: 12px;
  --radius-sm: 6px;
}

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

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

body {
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.7;
  /* cursor: none; ← removed to keep normal cursor visible */
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* button { cursor: none; } ← removed */
::selection {
  background: var(--green);
  color: #000;
}

/* ─── Matrix Canvas ─── */
#matrix-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.04;
  pointer-events: none;
}

/* ─── Custom Cursor ─── */
/* Main cursor dot — visible green crosshair style */
.cursor-dot {
  position: fixed;
  width: 10px;
  height: 10px;
  background: var(--green);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-80%, -80%);
  z-index: 10000;
  transition: transform 0.08s ease, width 0.2s ease, height 0.2s ease, background 0.2s ease;
  box-shadow: 0 0 8px var(--green), 0 0 16px rgba(0, 255, 65, 0.4);
  mix-blend-mode: normal;
}

.cursor-dot.clicking {
  transform: translate(-50%, -50%) scale(0.6);
  background: #fff;
}

.cursor-dot.hovering {
  width: 16px;
  height: 16px;
  background: transparent;
  border: 2px solid var(--green);
  box-shadow: 0 0 12px var(--green);
}

/* ─── Cursor Trail — Full-screen matrix overlay ─── */
.cursor-trail {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 9998;
}

/* Ambient glow */
.cursor-glow {
  position: fixed;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 255, 65, 0.05) 0%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9998;
  transition: none;
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: var(--bg-base);
}

::-webkit-scrollbar-thumb {
  background: var(--green-dim);
  border-radius: 2px;
}

/* ─── Container ─── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: var(--transition);
  border: none;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.05) 100%);
  opacity: 0;
  transition: var(--transition);
}

.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dim) 100%);
  color: #000;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0, 255, 65, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 255, 65, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--green);
  border: 1px solid var(--border-hover);
}

.btn-outline:hover {
  background: var(--green-glow);
  border-color: var(--green);
  transform: translateY(-2px);
}

.btn-nav {
  background: transparent;
  color: var(--green);
  border: 1px solid var(--border-hover);
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
}

.btn-nav:hover {
  background: var(--green);
  color: #000;
}

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

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(5, 10, 14, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.1em;
}

.logo-bracket {
  color: var(--green);
  opacity: 0.7;
}

.logo-text {
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.logo-text img {
  height: 1.2em;
  width: auto;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.25rem;
  margin-left: auto;
}

.nav-link {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-secondary);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  letter-spacing: 0.02em;
}

.nav-link:hover,
.nav-link.active {
  color: var(--green);
  background: var(--green-glow);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 0.5rem;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--green);
  border-radius: 1px;
  transition: var(--transition);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding: 8rem 2rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-content {
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(0, 255, 65, 0.06);
  border: 1px solid rgba(0, 255, 65, 0.2);
  border-radius: 100px;
  padding: 0.35rem 1rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--green);
  letter-spacing: 0.05em;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(0, 255, 65, 0.4);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(0, 255, 65, 0);
  }
}

.hero-greeting {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

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

.name-line {
  display: block;
  color: var(--text-primary);
}

.name-line.accent {
  color: var(--green);
}

.hero-role {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 1.7rem;
}

.role-prefix {
  color: var(--green);
}

.role-text {
  color: var(--cyan);
}

.role-cursor {
  color: var(--green);
  animation: blink 1s infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.hero-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-desc strong {
  color: var(--text-primary);
}

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

.hero-stats {
  display: flex;
  gap: 0;
  align-items: center;
}

.stat-item {
  text-align: center;
  padding: 0 1.5rem;
}

.stat-item:first-child {
  padding-left: 0;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--green);
  font-family: var(--font-mono);
  line-height: 1;
}

.stat-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.2rem;
  font-family: var(--font-mono);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ─── Hero Visual ─── */
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  position: relative;
}

.avatar-wrapper {
  position: relative;
  width: 260px;
  height: 260px;
}

.avatar-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  animation: spin-ring linear infinite;
}

.ring-1 {
  inset: -15px;
  border-color: rgba(0, 255, 65, 0.3);
  animation-duration: 15s;
}

.ring-2 {
  inset: -28px;
  border-color: rgba(0, 212, 255, 0.15);
  animation-duration: 25s;
  animation-direction: reverse;
}

.ring-3 {
  inset: -42px;
  border-color: rgba(0, 255, 65, 0.08);
  animation-duration: 35s;
  border-style: dashed;
}

@keyframes spin-ring {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.avatar-frame {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(0, 255, 65, 0.4);
  position: relative;
  box-shadow: 0 0 40px rgba(0, 255, 65, 0.2);
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) contrast(1.1);
}

.avatar-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 255, 65, 0.1) 100%);
}

.avatar-badge {
  position: absolute;
  bottom: -5px;
  right: -5px;
  background: var(--green);
  color: #000;
  border-radius: 100px;
  padding: 0.3rem 0.7rem;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  box-shadow: 0 4px 15px rgba(0, 255, 65, 0.4);
}

/* ─── Terminal Card ─── */
.terminal-card {
  width: 100%;
  max-width: 360px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card), 0 0 30px rgba(0, 255, 65, 0.05);
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--border);
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red {
  background: #ff5f57;
}

.dot-yellow {
  background: #febc2e;
}

.dot-green {
  background: #28c840;
}

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-left: 0.5rem;
}

.terminal-body {
  padding: 1rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.terminal-line {
  display: flex;
  gap: 0.5rem;
  line-height: 1.6;
}

.t-prompt {
  color: var(--green);
}

.t-cmd {
  color: var(--cyan);
}

.t-out {
  color: var(--text-secondary);
}

.t-green {
  color: var(--green);
}

.t-cursor {
  color: var(--green);
  animation: blink 1s infinite;
}

/* ─── Scroll Indicator ─── */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  animation: float 2.5s ease-in-out infinite;
  z-index: 1;
}

.scroll-mouse {
  width: 22px;
  height: 36px;
  border: 1.5px solid rgba(0, 255, 65, 0.3);
  border-radius: 11px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-wheel {
  width: 3px;
  height: 8px;
  background: var(--green);
  border-radius: 2px;
  animation: scroll-down 2s infinite;
}

@keyframes scroll-down {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  100% {
    transform: translateY(10px);
    opacity: 0;
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(-8px);
  }
}

/* ============================================================
   SECTIONS — Common
   ============================================================ */
.section {
  padding: 7rem 0;
  position: relative;
  z-index: 1;
}

.section:nth-child(even) {
  background: linear-gradient(180deg, transparent 0%, rgba(13, 31, 45, 0.4) 50%, transparent 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--green);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.accent {
  color: var(--green);
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-para {
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 1.25rem;
}

.about-para strong {
  color: var(--text-primary);
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1.5rem 0 2rem;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.8rem;
  transition: var(--transition);
}

.highlight-item:hover {
  border-color: var(--green);
  background: var(--green-glow);
  color: var(--text-primary);
}

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

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: var(--transition);
  cursor: default;
}

.info-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 255, 65, 0.1);
}

.info-card-icon {
  font-size: 1.8rem;
}

.info-card-content h4 {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--font-mono);
  margin-bottom: 0.25rem;
}

.info-card-content p {
  font-size: 0.92rem;
  color: var(--text-primary);
  font-weight: 600;
}

/* ============================================================
   SKILLS
   ============================================================ */
.skills-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.skill-category {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: var(--transition);
}

.skill-category:hover {
  border-color: var(--border-hover);
}

.category-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.skill-tag {
  background: rgba(0, 255, 65, 0.06);
  border: 1px solid rgba(0, 255, 65, 0.15);
  color: var(--green);
  border-radius: var(--radius-sm);
  padding: 0.3rem 0.7rem;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  letter-spacing: 0.03em;
  transition: var(--transition-fast);
  cursor: default;
}

.skill-tag:hover {
  background: var(--green);
  color: #000;
  transform: translateY(-2px);
}

/* ─── Proficiency Bars ─── */
.proficiency-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.proficiency-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  font-family: var(--font-mono);
}

.proficiency-bars {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.bar-item {}

.bar-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.bar-percent {
  font-family: var(--font-mono);
  color: var(--green);
  font-weight: 700;
}

.bar-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green) 0%, var(--cyan) 100%);
  border-radius: 2px;
  width: 0%;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.bar-fill::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green);
}

/* ============================================================
   PROJECTS
   ============================================================ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.project-card.featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

.project-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 255, 65, 0.08);
}

.project-img-wrap {
  position: relative;
  overflow: hidden;
  background: var(--bg-secondary);
  min-height: 200px;
}

.project-card.featured .project-img-wrap {
  min-height: 280px;
}

.project-img-placeholder {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(0, 255, 65, 0.03) 100%);
  position: relative;
  overflow: hidden;
  transition: filter 0.4s ease, transform 0.4s ease;
}

.project-card:hover .project-img-placeholder {
  filter: blur(5px);
  transform: scale(1.05);
}

.project-img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(0, 255, 65, 0.06) 100%);
}

.project-code-bg {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: rgba(0, 255, 65, 0.5);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.5rem;
  position: relative;
  z-index: 1;
}

.project-code-bg .green {
  color: var(--green);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 14, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-links {
  display: flex;
  gap: 1rem;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-hover);
  color: var(--green);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-family: var(--font-mono);
  transition: var(--transition-fast);
}

.project-link:hover {
  background: var(--green);
  color: #000;
}

.project-info {
  padding: 1.5rem;
}

.project-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.project-tag {
  background: rgba(0, 255, 65, 0.08);
  border: 1px solid rgba(0, 255, 65, 0.15);
  color: var(--green);
  border-radius: 100px;
  padding: 0.2rem 0.7rem;
  font-size: 0.7rem;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}

.project-year {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-left: auto;
}

.project-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.project-desc {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

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

.project-stack span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--cyan);
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 4px;
  padding: 0.2rem 0.5rem;
}

.projects-cta {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.contact-intro {
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.contact-intro strong {
  color: var(--text-primary);
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  transition: var(--transition);
}

.contact-item:hover {
  border-color: var(--border-hover);
  transform: translateX(6px);
}

.contact-item-icon {
  width: 42px;
  height: 42px;
  background: var(--green-glow);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  flex-shrink: 0;
}

.contact-label {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--font-mono);
  margin-bottom: 0.2rem;
}

.contact-value {
  font-size: 0.9rem;
  color: var(--text-primary);
  font-weight: 500;
}

/* ─── Form ─── */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
  transition: var(--transition-fast);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0, 255, 65, 0.08);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-success {
  display: none;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(0, 255, 65, 0.08);
  border: 1px solid rgba(0, 255, 65, 0.25);
  border-radius: var(--radius-sm);
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  text-align: center;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
  position: relative;
  z-index: 1;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.footer-tagline {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
  letter-spacing: 0.03em;
}

.footer-links a:hover {
  color: var(--green);
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.footer-social a:hover {
  color: var(--green);
  border-color: var(--border-hover);
  background: var(--green-glow);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.footer-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--green);
}

.status-dot {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

/* ============================================================
   ANIMATIONS — Intersection Observer
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 {
  transition-delay: 0.1s;
}

.fade-in-delay-2 {
  transition-delay: 0.2s;
}

.fade-in-delay-3 {
  transition-delay: 0.3s;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 7rem;
    gap: 3rem;
    text-align: center;
  }

  .hero-desc {
    max-width: 100%;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    width: 100%;
  }

  .scroll-indicator {
    display: none;
  }

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

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(5, 10, 14, 0.98);
    backdrop-filter: blur(20px);
    padding: 5rem 2rem 2rem;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border);
    z-index: 998;
  }

  .nav-toggle {
    display: flex;
  }

  .btn-nav {
    display: none;
  }

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

  .project-card.featured {
    grid-column: 1;
    grid-template-columns: 1fr;
  }

  .about-highlights {
    grid-template-columns: 1fr;
  }

  .about-cards {
    grid-template-columns: 1fr 1fr;
  }

  .hero-name {
    font-size: clamp(2.8rem, 10vw, 4rem);
  }

  .section {
    padding: 5rem 0;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.25rem;
  }

  .about-cards {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .stat-divider {
    display: none;
  }
}

/* ─── Glitch Effect ─── */
@keyframes glitch {

  0%,
  100% {
    clip-path: inset(0 0 100% 0);
  }

  10% {
    clip-path: inset(8% 0 78% 0);
    transform: translate(-2px);
  }

  20% {
    clip-path: inset(50% 0 40% 0);
    transform: translate(2px);
  }

  30% {
    clip-path: inset(30% 0 60% 0);
  }

  40% {
    clip-path: inset(80% 0 5% 0);
    transform: translate(-1px);
  }

  50% {
    clip-path: inset(60% 0 25% 0);
    transform: translate(1px);
  }
}

/* ============================================================
   SCROLL REVEAL — Fade Up System
   ============================================================ */

/* Base state — hidden before reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-reveal="fade-up"] {
  opacity: 0;
  transform: translateY(50px);
}

[data-reveal="fade-left"] {
  opacity: 0;
  transform: translateX(-50px);
}

[data-reveal="fade-right"] {
  opacity: 0;
  transform: translateX(50px);
}

[data-reveal="fade-scale"] {
  opacity: 0;
  transform: scale(0.88);
}

[data-reveal="fade-down"] {
  opacity: 0;
  transform: translateY(-30px);
}

/* Revealed state */
[data-reveal].revealed {
  opacity: 1;
  transform: none;
}

/* Staggered delay utilities */
[data-delay="100"] {
  transition-delay: 0.1s;
}

[data-delay="150"] {
  transition-delay: 0.15s;
}

[data-delay="200"] {
  transition-delay: 0.2s;
}

[data-delay="250"] {
  transition-delay: 0.25s;
}

[data-delay="300"] {
  transition-delay: 0.3s;
}

[data-delay="400"] {
  transition-delay: 0.4s;
}

[data-delay="500"] {
  transition-delay: 0.5s;
}

[data-delay="600"] {
  transition-delay: 0.6s;
}

/* Section header entrance */
.section-header[data-reveal].revealed .section-label,
.section-header[data-reveal].revealed .section-title {
  opacity: 1;
  transform: none;
}