@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Outfit:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg:       #080810;
  --surface:  #0d0d18;
  --surface2: #131324;
  --surface3: #1a1a2e;
  --border:   rgba(255,255,255,0.06);
  --border2:  rgba(255,255,255,0.1);

  --accent:   #6ee7d2;   /* teal-mint */
  --accent2:  #a78bfa;   /* soft violet */
  --accent3:  #f472b6;   /* pink */
  --accent4:  #fbbf24;   /* amber */

  --text:     #f0f0f8;
  --text2:    #b0b0c8;
  --muted:    #5c5c78;

  --glow-teal:   rgba(110,231,210,0.15);
  --glow-violet: rgba(167,139,250,0.15);

  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'Outfit', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  --radius: 12px;
  --radius-lg: 20px;
}

*,*::before,*::after { margin:0; padding:0; box-sizing:border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── GRAIN OVERLAY ── */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  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;
  z-index: 9998;
  opacity: 0.5;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent2); border-radius: 2px; }

/* ════════════════════════════════════════
   CUSTOM CURSOR
════════════════════════════════════════ */
#cursor {
  position: fixed;
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%,-50%);
  transition: transform 0.1s, background 0.2s;
  mix-blend-mode: difference;
}
#cursor-trail {
  position: fixed;
  width: 36px; height: 36px;
  border: 1.5px solid rgba(110,231,210,0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%,-50%);
  transition: width 0.3s, height 0.3s, border-color 0.3s;
}
#cursor.hover { transform: translate(-50%,-50%) scale(2.5); background: var(--accent2); }
#cursor-trail.hover { width: 56px; height: 56px; border-color: rgba(167,139,250,0.5); }

/* ════════════════════════════════════════
   NAV
════════════════════════════════════════ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 22px 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
}
nav.scrolled {
  padding: 14px 64px;
  background: rgba(8,8,16,0.85);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 40px rgba(0,0,0,0.4);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  color: var(--text);
}
.logo-dot { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--text2);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--accent2);
  opacity: 0.7;
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
  padding: 10px 24px;
  background: var(--accent) !important;
  color: var(--bg) !important;
  border-radius: 40px;
  font-weight: 600 !important;
  font-size: 0.82rem !important;
  transition: all 0.25s !important;
  gap: 8px !important;
}
.nav-cta:hover { background: #fff !important; transform: translateY(-2px); box-shadow: 0 8px 24px var(--glow-teal); }

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px; transition: 0.3s;
}

/* ════════════════════════════════════════
   HERO
════════════════════════════════════════ */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 64px 100px;
  position: relative;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.6;
}
.hero-noise {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 70% at 50% 50%, transparent 40%, var(--bg) 100%);
  z-index: 1;
}

.hero-content { position: relative; z-index: 2; }

.hero-top-row {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.8s 0.1s forwards;
}

.hero-badge {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 16px;
  background: rgba(110,231,210,0.08);
  border: 1px solid rgba(110,231,210,0.25);
  border-radius: 40px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(110,231,210,0.5); }
  50% { box-shadow: 0 0 0 5px rgba(110,231,210,0); }
}
.hero-location {
  font-size: 0.78rem;
  color: var(--muted);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

/* ── BIG NAME ── */
.hero-name {
  display: flex;
  flex-direction: column;
  gap: 0;
  opacity: 0;
  animation: fadeUp 0.8s 0.25s forwards;
  line-height: 0.88;
  margin-bottom: 32px;
}

.name-line {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 13vw, 10rem);
  letter-spacing: 0.02em;
  color: var(--text);
  display: block;
  cursor: default;
  transition: color 0.15s;
  position: relative;
}
.name-line-outline {
  color: transparent;
  -webkit-text-stroke: .5px rgba(0, 208, 255, 0.993);
  transition: -webkit-text-stroke-color 0.2s;
}
.name-line-outline:hover { -webkit-text-stroke-color: var(--accent2); }

/* Glitch effect */
.name-line.glitch {
  animation: glitch 0.5s linear;
}
@keyframes glitch {
  0%,100% { transform: translateX(0); filter: none; }
  20% { transform: translateX(-3px); filter: hue-rotate(60deg); }
  40% { transform: translateX(3px); filter: hue-rotate(-60deg); }
  60% { transform: translateX(-2px); }
  80% { transform: translateX(2px); }
}

.hero-descriptor {
  opacity: 0;
  animation: fadeUp 0.8s 0.4s forwards;
  margin-bottom: 24px;
}
.descriptor-track {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.descriptor-item {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text2);
  letter-spacing: 0.06em;
}
.separator { color: var(--accent2); font-weight: 300; }

.hero-sub {
  font-size: 1.08rem;
  color: var(--text2);
  max-width: 520px;
  font-weight: 300;
  line-height: 1.7;
  opacity: 0;
  animation: fadeUp 0.8s 0.55s forwards;
}

.hero-actions {
  margin-top: 48px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 0.7s forwards;
}

/* ── BUTTONS ── */
.btn-primary {
  padding: 14px 28px;
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px var(--glow-teal);
}
.btn-arrow {
  width: 28px; height: 28px;
  background: rgba(0,0,0,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  transition: transform 0.3s;
}
.btn-primary:hover .btn-arrow { transform: translateX(3px); }

.btn-ghost {
  padding: 14px 28px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border2);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
  background: rgba(110,231,210,0.04);
}

/* ── STATS ── */
.hero-stats {
  position: relative;
  z-index: 2;
  margin-top: 80px;
  display: flex;
  align-items: center;
  gap: 0;
  opacity: 0;
  animation: fadeUp 0.8s 0.85s forwards;
  background: rgba(13,13,24,0.6);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 40px;
  width: fit-content;
}
.stat-item { text-align: center; padding: 0 36px; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--accent);
  line-height: 1;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}
.stat-plus { font-size: 1.4rem; color: var(--accent2); }
.stat-label {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 5px;
  font-family: var(--font-mono);
}
.stat-divider {
  width: 1px;
  height: 50px;
  background: var(--border2);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 64px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeIn 1s 1.5s forwards;
}
.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--accent2), transparent);
  animation: scrollPulse 2s infinite;
}
@keyframes scrollPulse {
  0%,100% { transform: scaleY(1); opacity: 0.6; }
  50% { transform: scaleY(1.2); opacity: 1; }
}
.hero-scroll-hint span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

@keyframes fadeUp {
  from { opacity:0; transform: translateY(28px); }
  to   { opacity:1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity:0; } to { opacity:1; }
}

/* ════════════════════════════════════════
   SECTION COMMON
════════════════════════════════════════ */
section {
  padding: 110px 64px;
}
#about    { background: var(--surface); }
#skills   { background: var(--bg); }
#experience { background: var(--surface); }
#projects { background: var(--bg); }
#education { background: var(--surface); }
#contact  { background: var(--bg); }

.section-header {
  margin-bottom: 64px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.7s ease;
}
.section-header.visible { opacity:1; transform: translateY(0); }

.section-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  letter-spacing: 0.02em;
  color: var(--text);
  line-height: 0.95;
}

/* ════════════════════════════════════════
   ABOUT
════════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}

.about-photo-wrap {
  position: relative;
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.9s cubic-bezier(0.4,0,0.2,1);
}
.about-photo-wrap.visible { opacity:1; transform: translateX(0); }

.about-photo {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--surface2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border2);
  position: relative;
}
.about-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,16,0.6) 0%, transparent 50%);
  pointer-events: none;
}

.about-photo-frame {
  position: absolute;
  top: 20px; right: -20px;
  width: 100%; height: 100%;
  border: 1.5px solid var(--accent2);
  border-radius: var(--radius-lg);
  opacity: 0.25;
  pointer-events: none;
  z-index: -1;
}

.about-photo-tag {
  position: absolute;
  bottom: -16px;
  left: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: var(--surface3);
  border: 1px solid var(--border2);
  border-radius: 40px;
  font-size: 0.8rem;
  color: var(--accent4);
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.about-text-wrap {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.9s cubic-bezier(0.4,0,0.2,1) 0.15s;
}
.about-text-wrap.visible { opacity:1; transform: translateX(0); }

.about-bio {
  color: var(--text2);
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 28px;
  font-weight: 300;
}
.about-bio strong { color: var(--text); font-weight: 600; }

.about-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 40px;
  padding: 24px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.detail-item { display: flex; flex-direction: column; gap: 4px; }
.detail-key {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-family: var(--font-mono);
  display: flex; align-items: center; gap: 6px;
}
.detail-key i { font-size: 0.65rem; color: var(--accent2); }
.detail-val { font-size: 0.9rem; color: var(--text); font-weight: 500; }
.detail-val a { color: var(--accent); text-decoration: none; }
.detail-val a:hover { text-decoration: underline; }

/* ════════════════════════════════════════
   SKILLS / TECH STACK
════════════════════════════════════════ */
.icon-purple { background: rgba(167,139,250,0.15); color: var(--accent2); }
.icon-teal   { background: rgba(110,231,210,0.15); color: var(--accent); }
.icon-pink   { background: rgba(244,114,182,0.15); color: var(--accent3); }
.icon-orange { background: rgba(251,191,36,0.15);  color: var(--accent4); }

@keyframes floatA { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes floatB { 0%,100% { transform: translateY(-2px); } 50% { transform: translateY(6px); } }
@keyframes floatC { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes shimmerGlow {
  0%,100% { box-shadow: 0 4px 16px rgba(110,231,210,0.08); }
  50%     { box-shadow: 0 8px 28px rgba(110,231,210,0.3); }
}

.ts-section {
  margin-bottom: 60px;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.ts-section.visible { opacity:1; transform: translateY(0); }

.ts-section-label {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; margin-bottom: 36px;
}
.ts-section-label::before,
.ts-section-label::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border2) 80%);
}
.ts-section-label::after {
  background: linear-gradient(270deg, transparent, var(--border2) 80%);
}
.ts-section-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 18px 6px 10px;
  background: var(--surface3);
  border: 1px solid var(--border2);
  border-radius: 40px;
  white-space: nowrap;
}
.ts-section-icon {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; flex-shrink: 0;
}
.ts-section-pill > span {
  font-family: var(--font-mono);
  font-weight: 500; font-size: 0.72rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text2);
}

.ts-logo-grid {
  display: flex; flex-wrap: wrap;
  gap: 20px 24px; justify-content: center;
}

.ts-logo-card {
  display: flex; flex-direction: column;
  align-items: center; gap: 10px;
  width: 76px; cursor: default;
  opacity: 0;
  transform: translateY(20px) scale(0.85);
  transition: opacity 0.5s, transform 0.5s cubic-bezier(0.34,1.56,0.64,1);
}
.ts-logo-card.visible { opacity:1; transform: translateY(0) scale(1); }
.ts-logo-card.visible:nth-child(3n+1) .ts-logo-wrap { animation: floatA 3.8s ease-in-out infinite; }
.ts-logo-card.visible:nth-child(3n+2) .ts-logo-wrap { animation: floatB 4.4s ease-in-out 0.5s infinite; }
.ts-logo-card.visible:nth-child(3n)   .ts-logo-wrap { animation: floatC 3.6s ease-in-out 1s infinite; }

.ts-logo-wrap {
  width: 62px; height: 62px;
  border-radius: 18px;
  background: var(--surface3);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  padding: 10px; position: relative; overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.ts-logo-wrap::before {
  content: ''; position: absolute; inset: 0; border-radius: 18px;
  background: radial-gradient(circle at 50% 0%, rgba(255,255,255,0.07), transparent 65%);
  pointer-events: none;
}
.ts-logo-wrap::after {
  content: ''; position: absolute; inset: 0; border-radius: 18px;
  background: radial-gradient(circle at 50% 50%, rgba(110,231,210,0.18), transparent 70%);
  opacity: 0; transition: opacity 0.3s; pointer-events: none;
}
.ts-logo-card:hover .ts-logo-wrap {
  border-color: rgba(110,231,210,0.5);
  animation: shimmerGlow 1.4s ease-in-out infinite !important;
}
.ts-logo-card:hover .ts-logo-wrap::after { opacity: 1; }
.ts-logo-wrap svg { width:100%; height:100%; display:block; position:relative; z-index:1; }
.ts-logo-card > span {
  font-size: 0.66rem; color: var(--muted);
  text-align: center; line-height: 1.3;
  transition: color 0.2s; font-weight: 500;
  letter-spacing: 0.01em;
}
.ts-logo-card:hover > span { color: var(--accent); }

.ts-competencies {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
}
.ts-competency-tag {
  padding: 8px 20px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 40px;
  font-size: 0.82rem;
  color: var(--text2);
  font-weight: 500;
  cursor: default;
  opacity: 0; transform: scale(0.88);
  transition: opacity 0.4s, transform 0.4s cubic-bezier(0.34,1.56,0.64,1),
              background 0.25s, color 0.25s, border-color 0.25s;
}
.ts-competency-tag.visible { opacity:1; transform: scale(1); }
.ts-competency-tag:hover {
  background: rgba(110,231,210,0.08);
  border-color: var(--accent);
  color: var(--accent);
}

/* ════════════════════════════════════════
   EXPERIENCE
════════════════════════════════════════ */
.exp-item {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;
  padding: 48px 0;
  border-top: 1px solid var(--border);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.7s ease;
}
.exp-item.visible { opacity:1; transform: translateY(0); }
.exp-item:last-child { border-bottom: 1px solid var(--border); }

.exp-period {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.exp-company {
  font-size: 0.9rem;
  color: var(--text2);
  font-weight: 400;
  margin-bottom: 12px;
}
.exp-type {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(167,139,250,0.12);
  border: 1px solid rgba(167,139,250,0.3);
  color: var(--accent2);
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  font-family: var(--font-mono);
}

.exp-role {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.1;
}

.exp-bullets {
  list-style: none;
  display: flex; flex-direction: column; gap: 12px;
  margin-bottom: 28px;
}
.exp-bullets li {
  font-size: 0.94rem;
  color: var(--text2);
  line-height: 1.7;
  font-weight: 300;
  padding-left: 18px;
  position: relative;
}
.exp-bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 11px;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.7;
}
.exp-bullets li strong { color: var(--text); font-weight: 600; }

.exp-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.tech-pill {
  padding: 5px 14px;
  background: rgba(110,231,210,0.07);
  border: 1px solid rgba(110,231,210,0.2);
  color: var(--accent);
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
  font-family: var(--font-mono);
}

/* ════════════════════════════════════════
   PROJECTS
════════════════════════════════════════ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.project-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  opacity: 0;
  transform: translateY(24px);
  cursor: default;
}
.project-card.visible { opacity:1; transform: translateY(0); }
.project-card:hover {
  border-color: var(--border2);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}

.project-banner {
  height: 160px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.banner-purple { background: linear-gradient(135deg, #1a0a3d 0%, #0d0520 100%); }
.banner-teal   { background: linear-gradient(135deg, #041e20 0%, #020d10 100%); }
.banner-pink   { background: linear-gradient(135deg, #2a071a 0%, #150310 100%); }

.project-banner-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}
.project-banner-icon {
  position: relative; z-index: 1;
  font-size: 3.5rem;
  color: rgba(167,139,250,0.5);
  transition: all 0.3s;
}
.banner-teal .project-banner-icon { color: rgba(110,231,210,0.5); }
.banner-pink .project-banner-icon { color: rgba(244,114,182,0.5); }
.project-card:hover .project-banner-icon {
  color: rgba(167,139,250,0.9);
  transform: scale(1.1);
  filter: drop-shadow(0 0 20px currentColor);
}
.banner-teal .project-banner-icon:hover,
.project-card:hover .banner-teal .project-banner-icon { color: rgba(110,231,210,0.9); }
.project-card:hover .banner-pink .project-banner-icon { color: rgba(244,114,182,0.9); }

.project-number {
  position: absolute;
  top: 16px; right: 20px;
  font-family: var(--font-display);
  font-size: 3rem;
  color: rgba(255,255,255,0.05);
  letter-spacing: 0.02em;
  line-height: 1;
  z-index: 0;
}

.project-body { padding: 24px 24px 0; }
.project-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: 4px;
  transition: color 0.2s;
}
.project-card:hover .project-title { color: var(--accent); }
.project-subtitle {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.project-desc {
  font-size: 0.88rem;
  color: var(--text2);
  line-height: 1.75;
  font-weight: 300;
}

.project-footer {
  padding: 16px 24px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.project-tag-small {
  padding: 4px 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.72rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-weight: 500;
}
.project-card:hover .project-tag-small { border-color: var(--border2); color: var(--text2); }

/* ════════════════════════════════════════
   EDUCATION
════════════════════════════════════════ */
.edu-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
}

.edu-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.6s cubic-bezier(0.4,0,0.2,1);
}
.edu-card.visible { opacity:1; transform: translateY(0); }
.edu-card:hover { border-color: var(--border2); }

.edu-icon {
  width: 48px; height: 48px;
  background: rgba(110,231,210,0.1);
  color: var(--accent);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 20px;
}
.edu-period {
  font-family: var(--font-mono);
  font-size: 0.73rem;
  color: var(--accent2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.edu-school {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.1;
}
.edu-degree {
  font-size: 0.9rem;
  color: var(--text2);
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 20px;
}
.edu-badges {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px;
}
.edu-badge {
  padding: 5px 14px;
  background: rgba(251,191,36,0.1);
  border: 1px solid rgba(251,191,36,0.3);
  color: var(--accent4);
  border-radius: 40px;
  font-size: 0.76rem;
  font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
}
.capstone-box {
  padding: 16px 20px;
  background: rgba(167,139,250,0.06);
  border: 1px solid rgba(167,139,250,0.2);
  border-radius: 10px;
  font-size: 0.83rem;
  color: var(--text2);
  font-weight: 300;
  line-height: 1.7;
}
.capstone-box strong { color: var(--accent2); font-weight: 600; }

/* ════════════════════════════════════════
   CONTACT
════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-left {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.7s ease;
}
.contact-left.visible { opacity:1; transform: translateY(0); }

.contact-tagline {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  letter-spacing: 0.02em;
  line-height: 1.0;
  margin-bottom: 24px;
  color: var(--text);
}
.contact-tagline span { color: var(--accent); }

.contact-bio {
  color: var(--text2);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 40px;
  font-weight: 300;
}

.contact-links { display: flex; flex-direction: column; gap: 12px; }
.contact-link-item {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text);
  padding: 16px 20px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.25s;
}
.contact-link-item:hover {
  border-color: var(--accent);
  background: rgba(110,231,210,0.05);
  transform: translateX(4px);
}
.contact-link-item:hover .contact-arrow { transform: translateX(3px); opacity: 1; }

.contact-link-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(110,231,210,0.1);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-link-text { flex: 1; }
.contact-link-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2px;
}
.contact-link-value { font-size: 0.88rem; font-weight: 500; }
.contact-arrow { color: var(--accent); font-size: 0.8rem; opacity: 0; transition: all 0.25s; }

.contact-right {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.7s ease 0.15s;
}
.contact-right.visible { opacity:1; transform: translateY(0); }

.contact-form-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.71rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 9px;
}
.form-input {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.93rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(110,231,210,0.08);
}
.form-input::placeholder { color: var(--muted); }
textarea.form-input { min-height: 120px; resize: vertical; }

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 40px 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.08em;
}
.footer-brand span { color: var(--accent); }
.footer-copy { font-size: 0.8rem; color: var(--muted); font-family: var(--font-mono); }
.footer-socials { display: flex; gap: 10px; }
.social-btn {
  width: 38px; height: 38px;
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.2s;
}
.social-btn:hover { border-color: var(--accent); color: var(--accent); background: rgba(110,231,210,0.06); }

/* ════════════════════════════════════════
   TOAST
════════════════════════════════════════ */
.toast {
  position: fixed;
  bottom: 32px; right: 32px;
  z-index: 99999;
  display: flex; align-items: center; gap: 14px;
  padding: 16px 22px;
  border-radius: var(--radius);
  font-size: 0.9rem; font-weight: 500;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  transform: translateY(80px); opacity: 0;
  transition: all 0.4s cubic-bezier(0.34,1.56,0.64,1);
  pointer-events: none; max-width: 340px;
  backdrop-filter: blur(20px);
}
.toast.show { transform: translateY(0); opacity:1; pointer-events:auto; }
.toast.success {
  background: rgba(4,30,25,0.9);
  border: 1px solid rgba(110,231,210,0.4);
  color: var(--accent);
}
.toast.error {
  background: rgba(30,4,15,0.9);
  border: 1px solid rgba(244,114,182,0.4);
  color: var(--accent3);
}
.toast-icon { font-size: 1.1rem; flex-shrink: 0; }
.toast-msg { line-height: 1.4; }
.toast-msg strong { display: block; margin-bottom: 2px; }
.toast-msg span { font-size: 0.8rem; opacity: 0.7; font-weight: 400; }

/* ── BUTTON LOADING STATE ── */
.btn-primary.loading { opacity: 0.7; cursor: not-allowed; pointer-events: none; }
.btn-primary.loading .btn-text { display: none; }
.btn-primary .btn-spinner { display: none; }
.btn-primary.loading .btn-spinner { display: inline-flex; align-items: center; gap: 8px; }
@keyframes spin { to { transform: rotate(360deg); } }
.spinner-icon { animation: spin 0.8s linear infinite; }

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 1100px) {
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .edu-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  nav { padding: 18px 24px; }
  nav.scrolled { padding: 14px 24px; }
  .nav-links {
    display: none; flex-direction: column;
    position: absolute; top: 70px; left: 0; right: 0;
    background: rgba(8,8,16,0.97);
    padding: 20px; gap: 0;
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(24px);
  }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--border); }
  .nav-links li:last-child a { border-bottom: none; }
  .hamburger { display: flex; }
  #cursor, #cursor-trail { display: none; }

  #hero { padding: 120px 24px 80px; }
  section { padding: 80px 24px; }

  .hero-stats { padding: 20px 24px; width: 100%; justify-content: space-between; }
  .stat-item { padding: 0 12px; }

  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-photo { aspect-ratio: 4/3; max-width: 400px; }

  .exp-item { grid-template-columns: 1fr; gap: 20px; }
  .projects-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }

  footer { padding: 32px 24px; flex-direction: column; align-items: flex-start; }
}

@media (max-width: 580px) {
  .hero-stats {
    flex-wrap: wrap; gap: 0;
    justify-content: center;
  }
  .stat-item { padding: 12px 20px; }
  .stat-divider { width: 100%; height: 1px; }
  .about-details { grid-template-columns: 1fr; }
  .hero-scroll-hint { display: none; }
}

.desktop-br { display: block; }
@media (max-width: 600px) {
  .desktop-br { display: none; }
}
/* ════════════════════════════════════════
   UPDATES: WEB DESIGNER FOCUS
════════════════════════════════════════ */

/* ── RESUME DOWNLOAD BUTTON ── */
.btn-resume {
  border-color: rgba(167,139,250,0.4);
  color: var(--accent2);
  gap: 8px;
}
.btn-resume:hover {
  border-color: var(--accent2);
  color: var(--accent2);
  background: rgba(167,139,250,0.08);
  box-shadow: 0 8px 24px var(--glow-violet);
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: transparent;
  color: var(--accent2);
  border: 1px solid rgba(167,139,250,0.4);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s;
}
.btn-download:hover {
  border-color: var(--accent2);
  background: rgba(167,139,250,0.08);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px var(--glow-violet);
}

.about-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* ── SECTION SUBTITLE ── */
.section-subtitle {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 300;
  margin-top: 12px;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

/* ── PROJECT IMAGE SHOWCASE ── */
.project-card-wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  grid-template-rows: auto auto;
  align-items: start;
}
.project-card-wide .project-image-showcase {
  grid-row: span 2;
  height: 100%;
  min-height: 320px;
}
.project-card-wide .project-image-showcase .project-img-placeholder {
  height: 100%;
  min-height: 320px;
}
.project-card-wide .project-body { padding: 32px 28px 0; }
.project-card-wide .project-footer { padding: 16px 28px 24px; }
.project-card-wide .project-highlights {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px;
}
.highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--text2);
}
.highlight-item i { color: var(--accent); font-size: 0.75rem; }

/* ── IMAGE SHOWCASE CONTAINER ── */
.project-image-showcase {
  position: relative;
  background: var(--surface3);
  overflow: hidden;
  min-height: 220px;
}
.project-image-showcase img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.project-card:hover .project-image-showcase img {
  transform: scale(1.04);
}
.project-img-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 13px;
  background: rgba(10,10,20,0.75);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border2);
  border-radius: 40px;
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: var(--accent2);
  font-weight: 500;
  letter-spacing: 0.05em;
  z-index: 2;
}

/* ── IMAGE PLACEHOLDER ── */
.project-img-placeholder {
  width: 100%;
  min-height: 220px;
  height: 100%;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(255,255,255,0.012) 0px,
      rgba(255,255,255,0.012) 1px,
      transparent 1px,
      transparent 14px
    ),
    var(--surface3);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: background 0.3s;
}
.project-card:hover .project-img-placeholder {
  background:
    repeating-linear-gradient(
      45deg,
      rgba(110,231,210,0.025) 0px,
      rgba(110,231,210,0.025) 1px,
      transparent 1px,
      transparent 14px
    ),
    var(--surface2);
}
.placeholder-inner {
  text-align: center;
  padding: 24px;
  user-select: none;
}
.placeholder-icon {
  font-size: 2.5rem;
  color: rgba(167,139,250,0.3);
  display: block;
  margin-bottom: 14px;
  transition: color 0.3s, transform 0.3s;
}
.project-card:hover .placeholder-icon {
  color: rgba(167,139,250,0.6);
  transform: scale(1.1);
}
.placeholder-label {
  font-size: 0.82rem;
  color: var(--text2);
  font-weight: 500;
  margin-bottom: 6px;
}
.placeholder-hint {
  font-size: 0.72rem;
  color: var(--muted);
  font-family: var(--font-mono);
  letter-spacing: 0.03em;
}
.placeholder-filename {
  font-size: 0.65rem;
  color: rgba(110,231,210,0.25);
  font-family: var(--font-mono);
  margin-top: 8px;
  white-space: nowrap;
}

/* ── HOW TO ADD IMAGES GUIDE ── */
.project-img-guide {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 32px;
  padding: 20px 24px;
  background: rgba(167,139,250,0.05);
  border: 1px dashed rgba(167,139,250,0.25);
  border-radius: var(--radius);
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.6s ease;
}
.project-img-guide.visible { opacity:1; transform: translateY(0); }
.guide-icon {
  color: var(--accent4);
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.guide-text {
  font-size: 0.84rem;
  color: var(--text2);
  line-height: 1.7;
  font-weight: 300;
}
.guide-text strong { color: var(--text); font-weight: 600; }
.guide-text code {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  background: rgba(255,255,255,0.07);
  padding: 2px 7px;
  border-radius: 4px;
  color: var(--accent);
}

/* ── UPDATED ABOUT BIO SPACING ── */
.about-bio { margin-bottom: 18px; }
.about-bio:last-of-type { margin-bottom: 28px; }

/* ── EDUCATION GRID: 3 COLS ── */
.edu-grid {
  grid-template-columns: 1.4fr 1fr 1fr !important;
}

/* ════════════════════════════════════════
   RESPONSIVE UPDATES
════════════════════════════════════════ */
@media (max-width: 1024px) {
  .project-card-wide {
    grid-column: span 2;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }
  .project-card-wide .project-image-showcase { grid-row: auto; min-height: 240px; }
  .edu-grid { grid-template-columns: 1fr 1fr !important; }
}

@media (max-width: 768px) {
  .project-card-wide { grid-column: span 1; }
  .projects-grid { grid-template-columns: 1fr; }
  .edu-grid { grid-template-columns: 1fr !important; }
  .about-actions { flex-direction: column; align-items: flex-start; }
}


/* ════════════════════════════════════════
   PROJECT FILTER TABS
════════════════════════════════════════ */
.project-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.6s ease 0.1s;
}
.project-filters.visible { opacity: 1; transform: translateY(0); }

.pf-btn {
  padding: 8px 22px;
  background: transparent;
  border: 1px solid var(--border2);
  border-radius: 40px;
  color: var(--text2);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.22s;
  letter-spacing: 0.02em;
}
.pf-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(110,231,210,0.05);
}
.pf-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
  font-weight: 600;
}

/* ── REAL SCREENSHOT IMAGES IN CARDS ── */
.project-image-showcase img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.45s ease, object-position 0.45s ease;
}
.project-card:hover .project-image-showcase img {
  transform: scale(1.03);
  object-position: center;
}
.project-card-wide .project-image-showcase img {
  height: 100%;
  min-height: 320px;
}

/* screenshot overlay shimmer on hover */
.project-image-showcase::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(8,8,16,0.55) 100%);
  pointer-events: none;
  z-index: 1;
}

