/* ═══════════════════════════════════════════
   PORTFOLIO — style.css
   Dark theme · Navy · White · Gray · Black
═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&family=JetBrains+Mono:wght@300;400;500&display=swap');

/* ── TOKENS ─────────────────────────────── */
:root {
  --bg:           #060a10;
  --bg-1:         #0b1120;
  --bg-2:         #0f1829;
  --bg-3:         #131f33;
  --bg-card:      #101828;
  --bg-card-2:    #141e30;
  --border:       rgba(255,255,255,0.06);
  --border-2:     rgba(255,255,255,0.10);

  --navy:         #0e1f3b;
  --navy-mid:     #152a4e;
  --navy-light:   #1a3666;

  --white:        #ffffff;
  --off-white:    #e8edf5;
  --gray-50:      #f0f3f8;
  --gray-100:     #d8dde8;
  --gray-300:     #8a94a8;
  --gray-500:     #4e5668;
  --gray-700:     #2a3040;

  --black:        #020408;

  --accent:       #2b7fff;
  --accent-2:     #4d9fff;
  --accent-cyan:  #00d4ff;
  --accent-green: #00e5a0;
  --accent-warn:  #ff6b35;
  --accent-purple:#9b6dff;

  --code-bg:      #070d17;
  --code-line:    #0c1420;
  --code-string:  #00e5a0;
  --code-kw:      #4d9fff;
  --code-fn:      #ff9d4d;
  --code-comment: #3a5070;
  --code-type:    #c084fc;
  --code-num:     #ff9d4d;

  --radius:       12px;
  --radius-lg:    20px;
  --radius-xl:    28px;

  --shadow-sm:    0 2px 8px rgba(0,0,0,0.4);
  --shadow-md:    0 8px 32px rgba(0,0,0,0.5);
  --shadow-lg:    0 24px 64px rgba(0,0,0,0.6);
  --shadow-blue:  0 0 40px rgba(43,127,255,0.15);
}

/* ── RESET ──────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html                   { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--off-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
button { font-family: inherit; }
ul { list-style: none; }
::-webkit-scrollbar       { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--bg-3); border-radius: 3px; }

/* ── KEYFRAMES ──────────────────────────── */
@keyframes pulse     { 0%,100%{opacity:1} 50%{opacity:.35} }
@keyframes fadeInUp  { from{opacity:0;transform:translateY(28px)} to{opacity:1;transform:translateY(0)} }
@keyframes shimmer   { from{background-position:200% 0} to{background-position:-200% 0} }
@keyframes spin      { to{transform:rotate(360deg)} }
@keyframes floatY    { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }

.fade-in   { animation: fadeInUp .65s ease forwards; }
.fd1       { animation-delay:.08s; opacity:0; }
.fd2       { animation-delay:.18s; opacity:0; }
.fd3       { animation-delay:.28s; opacity:0; }
.fd4       { animation-delay:.40s; opacity:0; }

/* ═══════════════════════════════════════════
   NAV
═══════════════════════════════════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 64px;
  background: rgba(6,10,16,.88);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
}

.logo-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgb(91, 142, 240), rgb(167, 139, 255));
}

.nav-logo {
  font-family: monospace;
  font-weight: 800; font-size: 1.25rem;
  color: var(--white);
  cursor: pointer; 
  display: flex;
  align-items: center; 
  gap: 7px;
  letter-spacing: -.01em;
}
.nav-logo em { color: var(--accent); font-style: normal; }

.nav-links { display: flex; align-items: center; gap: 2px; }

.nav-links a,
.nav-links button {
  font-size: .85rem; font-weight: 500;
  color: var(--gray-300);
  background: none; border: none; cursor: pointer;
  padding: 7px 15px; border-radius: 8px;
  transition: color .18s, background .18s;
}
.nav-links a:hover,
.nav-links button:hover    { color: var(--white); background: rgba(255,255,255,.06); }
.nav-links a.active,
.nav-links button.active   { color: var(--accent); background: rgba(43,127,255,.12); }

.nav-cta {
  background: var(--accent)     !important;
  color: var(--white)           !important;
  padding: 7px 18px             !important;
  border-radius: 8px            !important;
}
.nav-cta:hover { background: var(--accent-2) !important; }

/* ═══════════════════════════════════════════
   PAGE SYSTEM
═══════════════════════════════════════════ */
.page         { display: none; }
.page.active  { display: block; }

/* ═══════════════════════════════════════════
   SHARED COMPONENTS
═══════════════════════════════════════════ */

/* Section wrapper */
.section       { padding: 100px 48px; }
.section-inner { max-width: 1200px; margin: 0 auto; }

/* Tag chip */
.section-tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: .72rem; font-weight: 500;
  color: var(--accent);
  background: rgba(43,127,255,.12);
  border: 1px solid rgba(43,127,255,.2);
  padding: 5px 13px; border-radius: 100px;
  margin-bottom: 18px;
}

/* Headings */
.section-title {
  font-family: monospace;
  font-weight: 800;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--white);
  line-height: 1.08; margin-bottom: 18px;
  letter-spacing: -.02em;
}
.section-title .dim { color: var(--gray-300); }

.section-subtitle {
  font-size: 1.02rem; color: var(--gray-300);
  line-height: 1.75; max-width: 580px;
}

/* Buttons */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: var(--white);
  font-family: monospace; font-weight: 700; font-size: .88rem;
  padding: 13px 28px; border-radius: 10px;
  border: none; cursor: pointer; transition: all .2s;
}
.btn-primary:hover { background: var(--accent-2); transform: translateY(-2px); box-shadow: var(--shadow-blue); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.06);
  color: var(--off-white);
  font-family: monospace; font-weight: 700; font-size: .88rem;
  padding: 13px 28px; border-radius: 10px;
  border: 1px solid var(--border-2); cursor: pointer;
  transition: all .2s;
}
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); }

/* Divider */
.divider {
  height: 1px; background: var(--border);
  margin: 0;
}

/* Code block */
.code-block {
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0 0 24px;
  overflow-x: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: .73rem; line-height: 1.95;
}
.code-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 20px;
  background: rgba(255,255,255,.025);
  border-bottom: 1px solid var(--border);
  margin-bottom: 18px;
}
.code-header-file { font-size: .7rem; color: var(--gray-500); }
.code-header-dots { display: flex; gap: 6px; }
.dot             { width: 10px; height: 10px; border-radius: 50%; }
.dot-r           { background: #ff5f56; }
.dot-y           { background: #ffbd2e; }
.dot-g           { background: #27c93f; }
.code-block > *:not(.code-header) { padding-left: 24px; padding-right: 24px; }

/* Syntax */
.c-comment { color: var(--code-comment); }
.c-kw      { color: var(--code-kw); }
.c-fn      { color: var(--code-fn); }
.c-str     { color: var(--code-string); }
.c-num     { color: var(--code-num); }
.c-prop    { color: var(--off-white); }
.c-type    { color: var(--code-type); }

/* Inline mini code */
.mini-code {
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  font-family: 'JetBrains Mono', monospace;
  font-size: .7rem; line-height: 1.9;
}

/* Tag pills on cards */
.tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: .68rem; font-weight: 500;
  padding: 4px 11px; border-radius: 100px;
}
.tag-blue   { background: rgba(43,127,255,.15);  color: #6fb3ff; border: 1px solid rgba(43,127,255,.2); }
.tag-green  { background: rgba(0,229,160,.1);    color: #00e5a0; border: 1px solid rgba(0,229,160,.2); }
.tag-orange { background: rgba(255,107,53,.12);  color: #ff9d6b; border: 1px solid rgba(255,107,53,.2); }
.tag-purple { background: rgba(155,109,255,.12); color: #c4a3ff; border: 1px solid rgba(155,109,255,.2); }

/* Back button */
.back-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .875rem; color: var(--gray-300);
  background: none; border: none; cursor: pointer;
  margin-bottom: 32px; transition: color .2s;
  font-family: 'DM Sans', sans-serif;
}
.back-btn:hover { color: var(--white); }

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  background: var(--bg);
  display: flex; align-items: center;
  padding: 80px 48px 60px;
  position: relative; overflow: hidden;
}

/* grid overlay */
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 44px 44px;
}

/* glow orbs */
.hero-orb {
  position: absolute; border-radius: 50%;
  pointer-events: none; filter: blur(80px);
}
.hero-orb-1 { width:700px; height:700px; top:-220px; right:-180px; background: rgba(43,127,255,.12); }
.hero-orb-2 { width:500px; height:500px; bottom:-180px; left:80px;  background: rgba(0,212,255,.07); }
.hero-orb-3 { width:300px; height:300px; top:30%;  left:40%;        background: rgba(155,109,255,.06); }

.hero-inner {
  position: relative; z-index:1;
  max-width: 1200px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}

/* ── Hero left ── */
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: .73rem; color: var(--accent-green);
  background: rgba(0,229,160,.08);
  border: 1px solid rgba(0,229,160,.18);
  padding: 6px 14px; border-radius: 100px;
  margin-bottom: 28px;
}
.hero-badge::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 8px var(--accent-green);
  animation: pulse 2s infinite;
}

.hero-name {
  font-family: monospace;
  font-weight: 800;
  font-size: clamp(3.2rem, 5.5vw, 5.5rem);
  color: var(--white); line-height: 1.0;
  letter-spacing: -.03em;
  margin-bottom: 8px;
}
.hero-name .hl { color: var(--accent); }

.hero-role {
  font-family: monospace;
  font-weight: 600;
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  color: var(--gray-300); margin-bottom: 24px;
}

.hero-desc {
  font-size: 1rem; color: var(--gray-300); line-height: 1.8;
  max-width: 450px; margin-bottom: 40px;
}

.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-stats {
  display: flex; gap: 40px; margin-top: 52px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.stat-num {
  font-family: monospace;
  font-weight: 800; font-size: 2rem; color: var(--white);
}
.stat-num span { color: var(--accent); }
.stat-lbl { font-size: .78rem; color: var(--gray-500); margin-top: 2px; letter-spacing: .03em; }

/* ── Hero right ── */
.hero-right { display: flex; flex-direction: column; gap: 16px; }

.hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 6px;
}
.hero-card-inner {
  border-radius: 22px; overflow: hidden;
  background: linear-gradient(135deg, var(--bg-2) 0%, #162244 50%, var(--bg-1) 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.hero-avatar {
  width: 130px; height: 130px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-cyan) 100%);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: 2.8rem; color: var(--white);
  box-shadow: 0 0 60px rgba(43,127,255,.4);
  animation: floatY 4s ease-in-out infinite;
}

.hero-card-badge {
  position: absolute; bottom: 14px; left: 14px; right: 14px;
  background: rgba(6,10,16,.8); backdrop-filter: blur(12px);
  border: 1px solid var(--border-2);
  border-radius: 12px; padding: 12px 16px;
  display: flex; align-items: center; justify-content: space-between;
}
.badge-name {
  font-family: monospace; 
  font-weight: 700;
  color: var(--white); 
  font-size: .95rem;
}
.badge-role { font-size: .73rem; color: var(--accent-cyan); margin-top: 1px; }
.avail-dot {
  display: flex; align-items: center; gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: .7rem; color: var(--accent-green);
}
.avail-dot::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 10px var(--accent-green);
  animation: pulse 2s infinite;
}

.hero-snippet {
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: .7rem; line-height: 1.9;
}
.hero-snippet .ln { color: var(--code-comment); min-width: 18px; display: inline-block; text-align:right; margin-right:14px; user-select:none; }

/* ═══════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════ */
.about-section { background: var(--bg-1); }

.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
  margin-top: 60px;
}

.about-text p {
  font-size: .97rem; color: var(--gray-300);
  line-height: 1.82; margin-bottom: 20px;
}
.about-text strong { color: var(--white); font-weight: 600; }

.skill-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.pill {
  font-family: 'JetBrains Mono', monospace; font-size: .73rem;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border-2);
  color: var(--gray-300);
  padding: 6px 14px; border-radius: 100px; cursor: default;
  transition: all .2s;
}
.pill:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }

/* info cards */
.info-stack { display: flex; flex-direction: column; gap: 12px; }
.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  display: flex; align-items: center; gap: 16px;
  transition: border-color .2s;
}
.info-card:hover { border-color: var(--border-2); }
.info-icon {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  background: rgba(43,127,255,.1); border: 1px solid rgba(43,127,255,.15);
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
}
.info-lbl   { font-size: .86rem; color: var(--gray-500); margin-bottom: 2px; font-family:'JetBrains Mono',monospace; }
.info-val   {  font-weight: 500; color: var(--off-white); }

/* ═══════════════════════════════════════════
   SKILLS
═══════════════════════════════════════════ */
.skills-section { background: var(--bg); }

.skills-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 14px; margin-top: 60px;
}

.skill-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  transition: all .3s; cursor: default;
}
.skill-card:hover {
  border-color: rgba(43,127,255,.3);
  background: rgba(43,127,255,.06);
  transform: translateY(-5px);
  box-shadow: var(--shadow-blue);
}
.skill-card-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: rgba(43,127,255,.12); border: 1px solid rgba(43,127,255,.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 16px;
}
.skill-card-title {
  font-family: monospace;
  font-weight: 700; font-size: 1.1rem; color: var(--white);
  margin-bottom: 10px;
}
.skill-card-list {
  font-family: 'JetBrains Mono', monospace;
  font-size: .68rem; color: var(--gray-500); line-height: 2;
}
.skill-card-list em { color: var(--accent-cyan); font-style: normal; }

/* ═══════════════════════════════════════════
   PROJECTS
═══════════════════════════════════════════ */
.projects-section { background: var(--bg-1); }

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

.proj-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden; cursor: pointer;
  transition: all .3s;
}
.proj-card:hover {
  transform: translateY(-7px);
  border-color: var(--border-2);
  box-shadow: var(--shadow-lg);
}

.proj-thumb {
  height: 190px; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.proj-thumb-code {
  position: absolute; inset: 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: .62rem; color: rgba(255,255,255,.22);
  padding: 18px 20px; line-height: 1.85;
  white-space: pre;
}
.proj-thumb-badge {
  position: absolute; top: 14px; right: 14px;
  font-family: 'JetBrains Mono', monospace; font-size: .65rem;
  background: rgba(0,0,0,.55); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.1); color: var(--gray-300);
  padding: 3px 10px; border-radius: 100px;
}

.proj-body { padding: 22px; }
.proj-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.proj-title {
  font-family: monospace; 
  font-weight: 700; font-size: 1.1rem;
  color: var(--white); margin-bottom: 8px;
}
.proj-desc {
  font-size: .85rem; color: var(--gray-300);
  line-height: 1.72; margin-bottom: 18px;
}
.proj-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; border-top: 1px solid var(--border);
}
.proj-link {
  font-size: .8rem; font-weight: 500; color: var(--accent);
  display: flex; align-items: center; gap: 5px;
  background: none; border: none; cursor: pointer;
  font-family: 'DM Sans', sans-serif; transition: color .2s;
}
.proj-link:hover { color: var(--accent-2); }
.proj-year {
  font-family: 'JetBrains Mono', monospace;
  font-size: .67rem; color: var(--gray-500);
}

/* ═══════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════ */
.contact-section { background: var(--bg); }

.contact-layout {
  display: grid; grid-template-columns: 1fr 1.25fr;
  gap: 80px; margin-top: 60px; align-items: start;
}

.contact-items { display: flex; flex-direction: column; gap: 22px; }
.contact-item  { display: flex; align-items: center; gap: 16px; }
.contact-icon {
  width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0;
  background: rgba(43,127,255,.1); border: 1px solid rgba(43,127,255,.18);
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
}
.contact-lbl   { font-size: .73rem; color: var(--gray-500); margin-bottom: 2px; font-family:'JetBrains Mono',monospace; }
.contact-val   { font-size: .92rem; font-weight: 500; color: var(--off-white); }

.contact-val a {
  text-decoration: none;
  color: #ffffff; /* Or your preferred base color */
  transition: all 0.3s ease;
  display: inline-block;
}

.contact-val a:hover {
  color: #2b7fff; /* A "code" green, or pick your brand color */
  text-shadow: 0 0 8px rgba(0, 255, 0, 0.5); /* Subtle glow */
  transform: translateX(5px); /* Small shift to the right */
}
.contact-lbl {
  color: #666;
  font-family: monospace;
  margin-bottom: 4px;
}

.socials { display: flex; gap: 10px; margin-top: 8px; }
.social {
  width: 42px; height: 42px; border-radius: 10px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border-2);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .2s; color: var(--gray-300);
  font-family: 'JetBrains Mono', monospace; 
  font-weight: 500;
}
.social:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }

.fa-github{
  font-size: x-large;
}
.fa-linkedin{
  font-size: x-large;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.form-group label {
  font-size: .78rem; font-weight: 500; color: var(--gray-300);
  font-family: 'JetBrains Mono', monospace;
}
.form-group input,
.form-group textarea {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  color: var(--off-white);
  font-family: 'DM Sans', sans-serif; font-size: .88rem;
  padding: 11px 15px; border-radius: 8px; outline: none;
  transition: border-color .2s; resize: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-500); }
.form-group input:focus,
.form-group textarea:focus         { border-color: var(--accent); }
.form-group textarea               { min-height: 110px; }

.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--accent); color: var(--white);
  font-family: monospace; 
  font-weight: 700;
  font-size: .92rem; 
  border: none; 
  border-radius: 10px;
  cursor: pointer; 
  transition: all .2s; 
  margin-top: 6px;
  display: flex; 
  align-items: center; 
  justify-content: 
  center; gap: 8px;
}
.form-submit:hover { background: var(--accent-2); transform: translateY(-2px); }
.form-submit.sent  { background: var(--accent-green); color: var(--bg); }

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
footer {
  background: var(--black);
  padding: 30px 48px;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--border);
}
.footer-copy {
  font-family: 'JetBrains Mono', monospace; font-size: .73rem; color: var(--gray-500);
}
.footer-copy span { color: var(--accent); }
.footer-note {
  font-family: 'JetBrains Mono', monospace; font-size: .68rem; color: var(--code-comment);
}

/* ═══════════════════════════════════════════
   RESUME PAGE
═══════════════════════════════════════════ */
.resume-hero {
  background: var(--bg-1);
  padding: 120px 48px 80px;
  border-bottom: 1px solid var(--border);
}
.resume-hero-inner { max-width: 900px; margin: 0 auto; }

.resume-hero h1 {
  font-family: monospace; font-weight: 800;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  color: var(--white); letter-spacing: -.02em; margin-bottom: 10px;
}
.resume-hero .sub   { font-size: .95rem; color: var(--gray-300); margin-bottom: 6px; }
.resume-hero .meta  { font-family:'JetBrains Mono',monospace; font-size:.73rem; color: var(--gray-500); }

.resume-dl {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: var(--white);
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: .88rem;
  padding: 12px 22px; border-radius: 10px; border: none;
  cursor: pointer; transition: all .2s; margin-top: 28px;
}
.resume-dl:hover { background: var(--accent-2); transform: translateY(-2px); }

.resume-body   { padding: 80px 48px; background: var(--bg); }
.resume-inner  { max-width: 900px; margin: 0 auto; }
.resume-block  { margin-bottom: 60px; }

.resume-block-header {
  display: flex; align-items: center; gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}
.resume-block-icon {
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--bg-card); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-size: .9rem;
}
.resume-block-title {
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--white);
}

.resume-entry {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px; 
  margin-bottom: 60px;
  display: grid; grid-template-columns: 1fr auto; gap: 20px;
  transition: border-color .2s;
}
.resume-entry:hover { border-color: var(--border-2); }

.entry-title   { font-family:'Syne',sans-serif; font-weight:700; color:var(--white); font-size:1rem; margin-bottom:4px; }
.entry-company { font-size:.83rem; color:var(--accent); font-weight:500; margin-bottom:12px; font-family:'JetBrains Mono',monospace; }
.entry-desc    { font-size:.84rem; color:var(--gray-300); line-height:1.72; }
.entry-desc li { margin-bottom: 5px; padding-left: 16px; position: relative; }
.entry-desc li::before { content:'—'; color:var(--gray-500); position:absolute; left:0; }
.entry-date    { font-family:'JetBrains Mono',monospace; font-size:.68rem; white-space:nowrap; padding-top:3px; }

.skill-bars-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.skill-bar-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px 18px;
}
.skill-bar-name { font-size:.85rem; font-weight:500; color:var(--off-white); margin-bottom:10px; }
.bar-track { height:3px; background:rgba(255,255,255,.07); border-radius:2px; }
.bar-fill  { height:100%; border-radius:2px; background:linear-gradient(90deg,var(--accent),var(--accent-cyan)); }

/* ═══════════════════════════════════════════
   PROJECT DETAIL
═══════════════════════════════════════════ */
.proj-detail-hero {
  background: var(--bg-1);
  padding: 120px 48px 70px;
  border-bottom: 1px solid var(--border);
}
.proj-detail-hero-inner { max-width: 1100px; margin: 0 auto; }

.proj-detail-tags   { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:20px; }
.proj-detail-title  {
  font-family: monospace; font-weight:800;
  font-size:clamp(2.2rem,4vw,3.4rem); color:var(--white);
  line-height:1.07; margin-bottom:18px; letter-spacing:-.02em;
}
.proj-detail-desc   { font-size:1.05rem; color:var(--gray-300); line-height:1.8; max-width:640px; margin-bottom:36px; }

.proj-meta-bar {
  display:flex; gap:28px; flex-wrap:wrap;
  padding: 22px 26px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.proj-meta-item label { display:block; font-family:'JetBrains Mono',monospace; font-size:.67rem; color:var(--gray-500); margin-bottom:4px; }
.proj-meta-item span  { font-size:.88rem; font-weight:500; color:var(--off-white); }

.proj-content      { max-width: 1100px; margin: 0 auto; padding: 70px 48px 100px; }
.proj-section-h    { font-family: monospace; font-weight:700; font-size:1.3rem; color:var(--white); margin-bottom:18px; margin-top:52px; }
.proj-section-h:first-child { margin-top:0; }
.proj-text         { font-size:.94rem; color:var(--gray-300); line-height:1.82; margin-bottom:18px; }

.proj-img-ph {
  width:100%; height:320px; border-radius:var(--radius-lg);
  display:flex; align-items:center; justify-content:center;
  font-family:'JetBrains Mono',monospace; font-size:.85rem;
  color:rgba(255,255,255,.25); margin-bottom:40px;
  border: 1px solid var(--border);
}

.feature-list { display:flex; flex-direction:column; gap:11px; margin-bottom:32px; }
.feature-list li {
  display:flex; align-items:flex-start; gap:12px;
  font-size:.9rem; color:var(--gray-300);
}
.feature-list li::before { content:'→'; color:var(--accent); font-weight:700; flex-shrink:0; margin-top:1px; }

.proj-action-row { display:flex; gap:12px; margin-top:24px; }

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width:1100px) {
  .skills-grid   { grid-template-columns:repeat(2,1fr); }
  .projects-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:820px) {
  nav { padding:0 20px; }
  .section { padding:60px 20px; }
  .hero { padding:80px 20px 60px; }
  .hero-inner      { grid-template-columns:1fr; gap:40px; }
  .hero-right      { order:-1; }
  .about-grid      { grid-template-columns:1fr; gap:36px; }
  .skills-grid     { grid-template-columns:1fr; }
  .projects-grid   { grid-template-columns:1fr; }
  .contact-layout  { grid-template-columns:1fr; gap:36px; }
  .form-row        { grid-template-columns:1fr; }
  .resume-hero     { padding:100px 20px 60px; }
  .resume-body     { padding:60px 20px; }
  .resume-entry    { grid-template-columns:1fr; }
  .skill-bars-grid { grid-template-columns:1fr 1fr; }
  .proj-detail-hero { padding:100px 20px 60px; }
  .proj-content    { padding:60px 20px 80px; }
  footer { padding:22px 20px; flex-direction:column; gap:8px; text-align:center; }
}
