/* ═══════════════════════════════════════════════════════════════
   PREMIUM PROFESSIONAL PORTFOLIO — Joker Color Palette Edition
   Style: Dark SaaS / Premium Tech
   Palette: Deep Slate / Emerald / Amber Gold / Crimson / Violet
   Typography: Outfit (Headings) + Inter (Body) + JetBrains Mono (Code)
   ═══════════════════════════════════════════════════════════════ */

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

/* ── Design Tokens ─────────────────────────────────────────── */
:root {
  /* Premium Dark SaaS Backgrounds */
  --bg: #030712;         /* Almost black */
  --bg2: #090e1a;        /* Very dark blue-slate */
  --bg3: #0f172a;        /* Slate 900 */
  --surface: #1e293b;    /* Slate 800 (Cards) */
  --surface2: #334155;   /* Slate 700 (Hover) */

  /* Soft Glass Borders */
  --border: rgba(255, 255, 255, 0.08);
  --border2: rgba(255, 255, 255, 0.15);

  /* Vibrant Accents from Joker Image */
  --accent-emerald: #10b981; 
  --accent-gold: #f59e0b;    
  --accent-crimson: #ef4444; 
  --accent-violet: #8b5cf6;  

  /* Vibrant Glows */
  --glow-emerald: rgba(16, 185, 129, 0.25);
  --glow-gold: rgba(245, 158, 11, 0.25);
  --glow-crimson: rgba(239, 68, 68, 0.25);
  --glow-violet: rgba(139, 92, 246, 0.25);
  
  /* Text */
  --text: #f8fafc;       /* Slate 50 */
  --text-mid: #cbd5e1;   /* Slate 300 */
  --text-dim: #94a3b8;   /* Slate 400 */

  /* Fonts */
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-corm: 'Outfit', sans-serif; /* Replaced serif with modern sans */

  /* Nav */
  --nav-bg: rgba(3, 7, 18, 0.7);
  --nav-text: #f8fafc;

  /* Layout */
  --content-max: 1100px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-size: 16px;
  font-weight: 400;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: hidden;
  cursor: none;
  line-height: 1.6;
}

/* ── Film Grain Overlay ────────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 102;
  opacity: 0.03; /* Slightly softer for professional look */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

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

ul, ol {
  list-style: none;
}

/* ── Custom Cursor ─────────────────────────────────────────── */
#cursor {
  position: fixed;
  width: 10px;
  height: 10px;
  background: var(--accent-emerald);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 12px var(--glow-emerald);
  transition: width .15s, height .15s, background .15s;
}

#cursor-ring {
  position: fixed;
  width: 32px;
  height: 32px;
  border: 1.5px solid rgba(16, 185, 129, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width .22s, height .22s, border-color .2s;
}

body:has(a:hover) #cursor,
body:has(button:hover) #cursor,
body:has(.chip:hover) #cursor {
  width: 18px;
  height: 18px;
  background: var(--accent-gold);
  box-shadow: 0 0 16px var(--glow-gold);
}

body:has(a:hover) #cursor-ring,
body:has(button:hover) #cursor-ring,
body:has(.chip:hover) #cursor-ring {
  width: 50px;
  height: 50px;
  border-color: rgba(245, 158, 11, 0.45);
}

/* ── Scroll Progress Bar ───────────────────────────────────── */
#scroll-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-emerald), var(--accent-gold), var(--accent-crimson));
  z-index: 300;
  width: 0%;
  box-shadow: 0 0 8px var(--glow-emerald);
}

/* ── Navigation ────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 60px;
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-logo a {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 1px;
  color: var(--accent-gold);
  text-shadow: 0 0 24px var(--glow-gold);
  text-decoration: none;
  cursor: none;
  text-transform: uppercase;
}

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

.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-mid);
  text-decoration: none;
  transition: color .2s;
  position: relative;
  cursor: none;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  transition: width .3s ease;
  border-radius: 2px;
}

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

.nav-links a:hover::after {
  width: 100%;
}

/* ── Hero Section ──────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 60px 80px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(100px);
  opacity: 0.15;
}

.hero-orb-1 {
  width: 600px;
  height: 600px;
  background: var(--accent-emerald);
  right: -200px;
  top: 50%;
  transform: translateY(-50%);
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: var(--accent-crimson);
  right: 100px;
  top: 10%;
}

.hero-orb-3 {
  width: 300px;
  height: 300px;
  background: var(--accent-violet);
  right: 250px;
  top: 60%;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero-tag {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  animation: fadeUp .8s ease both;
  background: rgba(16, 185, 129, 0.1);
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid var(--glow-emerald);
  width: fit-content;
}

.hero-tag::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6.5vw, 5.5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 20px;
  animation: fadeUp .8s .08s ease both;
}

.hero-name .pre-text {
  color: var(--text-dim);
  font-size: 0.5em;
  display: block;
  letter-spacing: 0;
  font-weight: 500;
  margin-bottom: 8px;
}

.hero-name .highlight {
  background: linear-gradient(135deg, var(--accent-emerald), var(--accent-gold), var(--accent-crimson));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  text-shadow: 0 0 48px var(--glow-gold);
}

.hero-name .surname {
  display: block;
  font-size: 0.75em;
  color: var(--text);
}

.hero-role {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--text-mid);
  letter-spacing: 1px;
  margin-bottom: 28px;
  animation: fadeUp .8s .16s ease both;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-role::before {
  content: '';
  width: 40px;
  height: 2px;
  background: var(--accent-gold);
}

.hero-desc {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-mid);
  max-width: 520px;
  margin-bottom: 40px;
  animation: fadeUp .8s .24s ease both;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp .8s .32s ease both;
}

.hero-stats {
  position: absolute;
  right: 60px;
  bottom: 80px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-end;
  animation: fadeUp .8s .4s ease both;
}

.stat {
  text-align: right;
  max-width: 260px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--accent-gold);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -1px;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-dim);
  line-height: 1.6;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn-primary {
  padding: 14px 32px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 1px;
  background: var(--accent-emerald);
  color: var(--bg);
  border: none;
  border-radius: var(--radius-sm);
  text-decoration: none;
  display: inline-block;
  transition: all .3s ease;
  cursor: none;
  font-weight: 700;
  box-shadow: 0 4px 20px var(--glow-emerald);
}

.btn-primary:hover {
  background: #059669;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--glow-emerald);
}

.btn-secondary {
  padding: 14px 32px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 1px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border: 1px solid var(--border2);
  border-radius: var(--radius-sm);
  text-decoration: none;
  display: inline-block;
  transition: all .3s ease;
  cursor: none;
  font-weight: 500;
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  border-color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.05);
  color: var(--accent-emerald);
  transform: translateY(-2px);
}

/* ── Ticker Marquee ────────────────────────────────────────── */
.ticker-wrap {
  background: var(--bg3);
  overflow: hidden;
  padding: 12px 0;
  white-space: nowrap;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.ticker-inner {
  display: inline-block;
  animation: ticker 25s linear infinite;
}

.ticker-item {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-mid);
  padding: 0 32px;
  font-weight: 500;
}

.ticker-sep {
  color: var(--accent-violet);
  padding: 0 6px;
  font-size: 0.9em;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Section Base ──────────────────────────────────────────── */
section {
  padding: 120px 60px;
  position: relative;
}

.section-inner {
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--accent-emerald);
  font-weight: 500;
}

.section-label::before {
  content: '';
  width: 32px;
  height: 2px;
  background: currentColor;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 64px;
  color: var(--text);
  cursor: none;
}

/* ── About Section ─────────────────────────────────────────── */
#about {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.about-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-mid);
  margin-bottom: 20px;
  font-weight: 300;
}

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

.skill-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.chip {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: all .3s ease;
  cursor: none;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border2);
  color: var(--text-mid);
  font-weight: 500;
}

/* Vibrant Chip Variants */
.chip.chip-emerald {
  color: var(--text);
  border-color: rgba(16, 185, 129, 0.3);
}
.chip.chip-emerald:hover {
  background: var(--glow-emerald);
  border-color: var(--accent-emerald);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px var(--glow-emerald);
}

.chip.chip-gold {
  color: var(--text);
  border-color: rgba(245, 158, 11, 0.3);
}
.chip.chip-gold:hover {
  background: var(--glow-gold);
  border-color: var(--accent-gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px var(--glow-gold);
}

.chip.chip-crimson {
  color: var(--text);
  border-color: rgba(239, 68, 68, 0.3);
}
.chip.chip-crimson:hover {
  background: var(--glow-crimson);
  border-color: var(--accent-crimson);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px var(--glow-crimson);
}

.chip.chip-violet {
  color: var(--text);
  border-color: rgba(139, 92, 246, 0.3);
}
.chip.chip-violet:hover {
  background: var(--glow-violet);
  border-color: var(--accent-violet);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px var(--glow-violet);
}

/* ── Terminal Card ─────────────────────────────────────────── */
.terminal-card {
  background: rgba(3, 7, 18, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border2);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 40px var(--glow-violet);
}

.terminal-header {
  background: rgba(255, 255, 255, 0.02);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}

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

.t-dot:nth-child(1) { background: #ff5f56; }
.t-dot:nth-child(2) { background: #ffbd2e; }
.t-dot:nth-child(3) { background: #27c93f; }

.t-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  margin: 0 auto;
  font-weight: 500;
}

.terminal-body {
  padding: 32px 24px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 2.2;
  color: var(--text-mid);
}

.t-line {
  display: flex;
  gap: 12px;
}

.t-prompt { color: var(--accent-emerald); font-weight: 500; }
.t-cmd { color: var(--accent-gold); font-weight: 500; }
.t-output { padding-left: 20px; }
.t-key { color: var(--accent-crimson); }
.t-val { color: var(--text); }

.cursor-blink {
  animation: blink 1s step-end infinite;
}

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

/* ── Experience Section ────────────────────────────────────── */
#experience {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

#experience .section-label {
  color: var(--accent-gold);
}

.exp-timeline {
  position: relative;
  padding-left: 20px;
}

.exp-timeline::before {
  content: '';
  position: absolute;
  left: 39px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--glow-gold), transparent);
}

.exp-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 48px;
  margin-bottom: 64px;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.6s ease;
}

.exp-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.exp-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.60rem;
  color: var(--text);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 4px;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px var(--glow-gold);
  z-index: 2;
}

.exp-item:hover .exp-dot {
  background: var(--accent-gold);
  color: var(--bg);
  box-shadow: 0 0 25px var(--accent-gold);
}

.exp-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border2);
  border-radius: var(--radius-md);
  padding: 32px 40px;
  transition: all .3s ease;
}

.exp-card:hover {
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 20px var(--glow-gold);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-4px);
}

.exp-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.exp-org {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

.exp-date {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 12px;
  border-radius: 999px;
}

.exp-role {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--accent-gold);
  margin-bottom: 16px;
}

.exp-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-mid);
  margin-bottom: 24px;
}

.exp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.exp-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  color: var(--text-dim);
}

/* ── Projects Bento Grid ───────────────────────────────────── */
#projects {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
}

#projects .section-label {
  color: var(--accent-violet);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: all .4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  opacity: 0;
  transform: translateY(20px);
  min-height: 320px;
  justify-content: space-between;
}

.project-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.project-card.feat {
  grid-column: span 2;
}

.project-card:hover {
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-8px);
  z-index: 10;
}

/* Colorful Project Overlays */
.project-card.proj-emerald:hover { border-color: var(--accent-emerald); box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 30px var(--glow-emerald); }
.project-card.proj-emerald:hover .project-num { color: var(--accent-emerald); opacity: 0.8; }
.project-card.proj-emerald:hover .project-arrow { color: var(--accent-emerald); }

.project-card.proj-violet:hover { border-color: var(--accent-violet); box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 30px var(--glow-violet); }
.project-card.proj-violet:hover .project-num { color: var(--accent-violet); opacity: 0.8; }
.project-card.proj-violet:hover .project-arrow { color: var(--accent-violet); }

.project-card.proj-crimson:hover { border-color: var(--accent-crimson); box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 30px var(--glow-crimson); }
.project-card.proj-crimson:hover .project-num { color: var(--accent-crimson); opacity: 0.8; }
.project-card.proj-crimson:hover .project-arrow { color: var(--accent-crimson); }

.project-card.proj-gold:hover { border-color: var(--accent-gold); box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 30px var(--glow-gold); }
.project-card.proj-gold:hover .project-num { color: var(--accent-gold); opacity: 0.8; }
.project-card.proj-gold:hover .project-arrow { color: var(--accent-gold); }

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}

.project-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--border2);
  line-height: 1;
  transition: all .3s;
}

.project-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-mid);
  transition: all .3s;
  transform: translate(-10px, 10px);
  opacity: 0;
}

.project-card:hover .project-arrow {
  opacity: 1;
  transform: translate(0, 0);
  background: rgba(255,255,255,0.1);
}

.project-stack {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 1px;
  color: var(--text-dim);
  margin-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 16px;
}

.project-card.feat .project-title {
  font-size: 2.2rem;
}

.project-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-mid);
}

/* ── Education Section ─────────────────────────────────────── */
#education {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

#education .section-label {
  color: var(--accent-emerald);
}

.edu-banner {
  display: grid;
  grid-template-columns: 4px 1fr auto;
  align-items: stretch;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border2);
  border-radius: var(--radius-md);
  overflow: hidden;
  opacity: 0;
  transform: translateY(14px);
  transition: all .3s ease;
  margin-bottom: 24px;
}

.edu-banner.visible {
  opacity: 1;
  transform: translateY(0);
}

.edu-banner:hover {
  background: rgba(255,255,255,0.04);
  transform: translateX(8px);
}

.edu-banner-bar {
  width: 4px;
  background: var(--border2);
  position: relative;
  align-self: stretch;
}

.edu-banner-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .7s ease;
}

.edu-banner.visible .edu-banner-bar::after {
  transform: scaleY(1);
}

/* Dynamic Edu Banner Bars */
.edu-banner.edu-emerald .edu-banner-bar::after { background: var(--accent-emerald); }
.edu-banner.edu-emerald:hover { border-color: rgba(16, 185, 129, 0.3); box-shadow: 0 0 30px var(--glow-emerald); }

.edu-banner.edu-gold .edu-banner-bar::after { background: var(--accent-gold); }
.edu-banner.edu-gold:hover { border-color: rgba(245, 158, 11, 0.3); box-shadow: 0 0 30px var(--glow-gold); }

.edu-banner-body {
  padding: 32px 40px;
  display: flex;
  align-items: center;
  gap: 52px;
  flex-wrap: wrap;
}

.edu-year {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 1px;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.edu-degree {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 8px;
}

.edu-inst {
  font-size: 1rem;
  color: var(--text-mid);
  margin-bottom: 16px;
}

.edu-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.edu-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border2);
  color: var(--text-mid);
  background: rgba(255, 255, 255, 0.03);
}

.edu-banner-gpa {
  padding: 32px 40px;
  border-left: 1px solid var(--border2);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
  flex-shrink: 0;
  background: rgba(0,0,0,0.1);
}

.edu-gpa-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -1px;
}

.edu-banner.edu-emerald .edu-gpa-num { color: var(--accent-emerald); }
.edu-banner.edu-gold .edu-gpa-num { color: var(--accent-gold); }

.edu-gpa-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-dim);
}

.edu-gpa-track {
  margin-top: 12px;
  height: 4px;
  width: 140px;
  background: rgba(255,255,255,0.05);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.edu-gpa-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.5s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
}

.edu-banner.edu-emerald .edu-gpa-fill { background: var(--accent-emerald); box-shadow: 0 0 10px var(--accent-emerald); }
.edu-banner.edu-gold .edu-gpa-fill { background: var(--accent-gold); box-shadow: 0 0 10px var(--accent-gold); }

.edu-banner.visible .edu-gpa-fill {
  transform: scaleX(1);
}

/* ── Certifications Section ────────────────────────────────── */
#certifications {
  background: var(--bg3);
  border-bottom: 1px solid var(--border);
}

.cert-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.cert-banner {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border2);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: all .3s ease;
  opacity: 0;
  transform: translateY(14px);
}

.cert-banner.visible {
  opacity: 1;
  transform: translateY(0);
}

.cert-banner:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.04);
}

.cert-banner.cert-violet:hover { border-color: rgba(139, 92, 246, 0.4); box-shadow: 0 10px 30px rgba(0,0,0,0.3), 0 0 20px var(--glow-violet); }
.cert-banner.cert-emerald:hover { border-color: rgba(16, 185, 129, 0.4); box-shadow: 0 10px 30px rgba(0,0,0,0.3), 0 0 20px var(--glow-emerald); }
.cert-banner.cert-crimson:hover { border-color: rgba(239, 68, 68, 0.4); box-shadow: 0 10px 30px rgba(0,0,0,0.3), 0 0 20px var(--glow-crimson); }
.cert-banner.cert-gold:hover { border-color: rgba(245, 158, 11, 0.4); box-shadow: 0 10px 30px rgba(0,0,0,0.3), 0 0 20px var(--glow-gold); }

.cert-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cert-banner.cert-violet .cert-icon { background: var(--glow-violet); color: var(--accent-violet); }
.cert-banner.cert-emerald .cert-icon { background: var(--glow-emerald); color: var(--accent-emerald); }
.cert-banner.cert-crimson .cert-icon { background: var(--glow-crimson); color: var(--accent-crimson); }
.cert-banner.cert-gold .cert-icon { background: var(--glow-gold); color: var(--accent-gold); }

.cert-content {
  flex: 1;
}

.cert-issuer {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.cert-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
  color: var(--text);
}

.cert-desc {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ── Contact Section ───────────────────────────────────────── */
#contact {
  background: var(--bg);
  text-align: center;
  padding-bottom: 120px;
  border-bottom: 1px solid var(--border);
}

#contact .section-label {
  color: var(--accent-crimson);
  justify-content: center;
}

#contact .section-label::before {
  display: none;
}

.contact-big {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 24px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.contact-big .accent {
  background: linear-gradient(135deg, var(--accent-emerald), var(--accent-crimson));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-sub {
  font-size: 1.1rem;
  color: var(--text-dim);
  font-weight: 300;
}

.contact-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 56px;
}

.contact-link {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  padding: 16px 32px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border2);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all .3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: none;
  background: rgba(255,255,255,0.02);
}

.contact-link:hover {
  color: var(--bg);
  background: var(--accent-emerald);
  border-color: var(--accent-emerald);
  box-shadow: 0 10px 30px var(--glow-emerald);
  transform: translateY(-4px);
}

/* ── Footer ────────────────────────────────────────────────── */
footer {
  background: var(--nav-bg);
  border-top: 2px solid var(--accent-emerald);
  color: var(--text-dim);
  padding: 32px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

footer span:last-child {
  color: var(--accent-gold);
}

/* ── Reveal Animation ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s ease, transform .8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .project-card.feat {
    grid-column: span 2;
  }
}

@media (max-width: 900px) {
  #cursor,
  #cursor-ring {
    display: none;
  }

  body {
    cursor: auto;
  }

  nav {
    padding: 16px 20px;
  }

  .nav-links {
    display: none;
  }

  section {
    padding: 80px 20px;
  }

  .hero-stats {
    display: none;
  }

  #hero {
    padding: 120px 20px 80px;
  }
  
  .hero-name {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .exp-timeline::before {
    display: none;
  }

  .exp-item {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .exp-dot {
    display: none;
  }

  .exp-card {
    padding: 24px;
  }

  .edu-banner {
    grid-template-columns: 4px 1fr;
  }

  .edu-banner-gpa {
    display: none;
  }

  .edu-banner-body {
    padding: 24px;
    gap: 20px;
  }

  .cert-list {
    grid-template-columns: 1fr;
  }

  footer {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding: 24px 20px;
  }
}

@media (max-width: 560px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-card.feat,
  .project-card.full {
    grid-column: span 1;
  }
  
  .project-card {
    padding: 24px;
  }

  .contact-big {
    font-size: clamp(2rem, 8vw, 3rem);
  }
}
