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

:root {
  --void: #04030f;
  --deep: #080618;
  --surface: #0d0c22;
  --card: #111028;
  --card-border: rgba(255,255,255,0.07);
  --text: #e8e4f8;
  --muted: #8b85b0;
  --faint: #3a3660;
  --sun: #f5a623;
  --sun-warm: #e8832a;
  --sun-glow: rgba(245, 166, 35, 0.15);
  --star: #c4b8ff;
  --star-bright: #a594f9;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--void);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.7;
}

/* ── CANVAS ── */
#bg-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.2rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(4, 3, 15, 0.75);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--sun);
  letter-spacing: -0.02em;
}
.nav-logo span { color: var(--star); }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--sun); }

/* ── MAIN ── */
main { position: relative; z-index: 1; }

section {
  padding: 6rem 0;
  max-width: 900px;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 100%;
  padding: 0 3rem;
  position: relative;
}
.hero-inner { max-width: 680px; }

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sun);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 30px; height: 1px;
  background: var(--sun);
  flex-shrink: 0;
}

h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: var(--text);
}
h1 .highlight {
  background: linear-gradient(135deg, var(--sun) 0%, #ff9e5e 50%, var(--star-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-size: 1rem;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.85;
  margin-bottom: 2.5rem;
  font-weight: 300;
  font-style: italic;
  border-left: 2px solid rgba(245,166,35,0.4);
  padding-left: 1rem;
}

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

.btn-primary {
  background: var(--sun);
  color: var(--void);
  border: none;
  padding: 0.75rem 1.8rem;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
  display: inline-block;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--faint);
  padding: 0.75rem 1.8rem;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s, transform 0.15s;
  display: inline-block;
}
.btn-ghost:hover { color: var(--text); border-color: var(--star); transform: translateY(-1px); }

/* ── SECTION HEADER ── */
.section-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sun);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--faint), transparent);
  max-width: 180px;
}
section.in-view .section-label { opacity: 1; transform: none; }

h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 3rem;
  line-height: 1.2;
  color: var(--text);
  position: relative;
  display: inline-block;
}
h2::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  height: 2px; width: 0;
  background: linear-gradient(to right, var(--sun), var(--star-bright));
  border-radius: 2px;
  transition: width 0.7s cubic-bezier(.22,1,.36,1);
}
section.in-view h2::after { width: 70px; }

/* ── ABOUT ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.about-text p {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 300;
  margin-bottom: 1.2rem;
  line-height: 1.8;
}
.about-text p strong { color: var(--text); font-weight: 500; }
.about-facts { display: flex; flex-direction: column; gap: 1rem; }

.fact-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 1.1rem 1.3rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.fact-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--sun);
  border-radius: 3px 0 0 3px;
}
.fact-card:hover { border-color: rgba(245,166,35,0.3); transform: translateX(3px); }
.fact-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.3rem;
}
.fact-value { font-size: 0.95rem; color: var(--text); font-weight: 400; }

/* ── SKILLS ── */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}
.skill-group {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 1.5rem;
  transition: border-color 0.2s, transform 0.25s, box-shadow 0.25s;
}
.skill-group:hover {
  border-color: rgba(245,166,35,0.25);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(90,50,210,0.12);
}
.skill-group-title {
  font-family: 'Syne', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sun);
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.skill-group-title svg { width: 13px; height: 13px; opacity: 0.8; }
.skill-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.skill-tag {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--muted);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 400;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
  cursor: default;
}
.skill-tag:hover {
  background: var(--sun-glow);
  color: var(--sun);
  border-color: rgba(245,166,35,0.3);
  transform: translateY(-2px) scale(1.06);
}

/* ── PROJECTS ── */
.projects-list { display: flex; flex-direction: column; gap: 2rem; }
.project-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.2s, box-shadow 0.25s;
}
.project-card:hover {
  border-color: rgba(165,148,249,0.25);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(90,50,210,0.18), 0 4px 20px rgba(0,0,0,0.4);
}
.project-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(245,166,35,0.4), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.project-card:hover::after { opacity: 1; }

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.8rem;
}
.project-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}
.project-badge {
  background: var(--sun-glow);
  border: 1px solid rgba(245,166,35,0.25);
  color: var(--sun);
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.25rem 0.7rem;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}
.project-role { font-size: 0.82rem; color: var(--star); margin-bottom: 0.9rem; font-weight: 400; letter-spacing: 0.02em; }
.project-desc { font-size: 0.92rem; color: var(--muted); line-height: 1.75; margin-bottom: 1.2rem; font-weight: 300; }
.project-contrib { margin-bottom: 1.3rem; }
.contrib-title {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 0.6rem;
  font-weight: 500;
}
.contrib-list { list-style: none; display: flex; flex-direction: column; gap: 0.35rem; }
.contrib-list li {
  font-size: 0.88rem;
  color: var(--muted);
  padding-left: 1.1rem;
  position: relative;
  font-weight: 300;
}
.contrib-list li::before { content: '›'; position: absolute; left: 0; color: var(--sun); font-weight: 600; }
.project-tech { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }
.tech-tag {
  background: rgba(165,148,249,0.1);
  border: 1px solid rgba(165,148,249,0.18);
  color: var(--star-bright);
  font-size: 0.78rem;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  font-weight: 400;
}
.project-link {
  margin-left: auto;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.2s;
}
.project-link:hover { color: var(--sun); }
.project-link svg { width: 13px; height: 13px; }

/* ── EDUCATION ── */
.edu-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.edu-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--sun-glow);
  border: 1px solid rgba(245,166,35,0.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 1.4rem;
}
.edu-info h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.2rem;
}
.edu-info .edu-uni { font-size: 0.9rem; color: var(--star); margin-bottom: 0.4rem; }
.edu-info .edu-spec { font-size: 0.85rem; color: var(--muted); font-weight: 300; margin-bottom: 0.6rem; }
.edu-info .edu-year { font-size: 0.78rem; color: var(--sun); font-weight: 500; letter-spacing: 0.08em; }

/* ── ACHIEVEMENTS ── */
.ach-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem; margin-bottom: 2.5rem; }
.ach-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 1.3rem 1.4rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.ach-card:hover {
  border-color: rgba(165,148,249,0.25);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(90,50,210,0.1);
}
.ach-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 0.1rem; line-height: 1; }
.ach-text { font-size: 0.88rem; color: var(--muted); line-height: 1.65; font-weight: 300; }
.ach-text strong { color: var(--text); font-weight: 500; }

.cert-row {
  display: flex; align-items: center; gap: 1rem;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 1rem 1.4rem;
}
.cert-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(0,215,120,0.1);
  border: 1px solid rgba(0,215,120,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.cert-name { font-size: 0.92rem; color: var(--text); font-weight: 400; }
.cert-source { font-size: 0.78rem; color: var(--muted); }

/* ── CONTACT ── */
#contact { text-align: center; }
.contact-desc { color: var(--muted); font-size: 1rem; max-width: 460px; margin: 0 auto 2.5rem; font-weight: 300; line-height: 1.8; }
.contact-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; }
.contact-link {
  display: flex; align-items: center; gap: 0.5rem;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 0.7rem 1.3rem;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  overflow: hidden; position: relative;
  transition: border-color 0.2s, color 0.2s, transform 0.15s;
}
.contact-link:hover { border-color: rgba(245,166,35,0.3); color: var(--text); transform: translateY(-2px); }
button.contact-link {
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
}
.contact-link svg { width: 16px; height: 16px; flex-shrink: 0; }
.contact-link::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
  transition: left 0.5s ease;
}
.contact-link:hover::before { left: 150%; }

/* ── FOOTER ── */
footer {
  text-align: center;
  padding: 2.5rem;
  font-size: 0.8rem;
  color: var(--faint);
  border-top: 1px solid rgba(255,255,255,0.05);
  position: relative; z-index: 1;
}
footer span { color: var(--sun); }

/* ── NEBULA ORBS ── */
.nebula-orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
  animation: floatOrb linear infinite;
  opacity: 0;
}
@keyframes floatOrb {
  0%   { transform: translate(0, 0) scale(1);      opacity: 0; }
  8%   { opacity: 1; }
  50%  { transform: translate(var(--dx), var(--dy)) scale(1.15); opacity: 0.85; }
  92%  { opacity: 1; }
  100% { transform: translate(0, 0) scale(1);      opacity: 0; }
}

/* ── ANIMATIONS ── */
.fade-in { opacity: 0; transform: translateY(40px); transition: opacity 0.8s cubic-bezier(.22,1,.36,1), transform 0.8s cubic-bezier(.22,1,.36,1); }
.fade-in.visible { opacity: 1; transform: none; }

@keyframes heroReveal {
  from { opacity: 0; transform: translateY(28px); filter: blur(6px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}
.hero-eyebrow { opacity: 0; animation: heroReveal 0.8s cubic-bezier(.22,1,.36,1) 0.1s forwards; }
h1            { opacity: 0; animation: heroReveal 0.9s cubic-bezier(.22,1,.36,1) 0.3s forwards; }
.hero-tagline { opacity: 0; animation: heroReveal 0.9s cubic-bezier(.22,1,.36,1) 0.5s forwards; }
.hero-cta     { opacity: 0; animation: heroReveal 0.9s cubic-bezier(.22,1,.36,1) 0.68s forwards; }

.nav-links a { position: relative; }
.nav-links a.active { color: var(--sun); }
.nav-links a.active::after {
  content: '';
  display: block;
  height: 1px;
  background: var(--sun);
  margin-top: 2px;
  animation: growLine 0.3s ease forwards;
}
@keyframes growLine { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.scroll-hint {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
  opacity: 0; animation: fadeInHint 1s ease 1.4s forwards;
}
@keyframes fadeInHint { to { opacity: 0.4; } }
.scroll-hint span { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); }
.scroll-hint-arrow {
  width: 18px; height: 18px;
  border-right: 1px solid var(--muted); border-bottom: 1px solid var(--muted);
  transform: rotate(45deg);
  animation: bounceArrow 1.4s ease-in-out infinite;
}
@keyframes bounceArrow {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50%       { transform: rotate(45deg) translateY(6px); }
}

@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  #hero { padding: 0 1.5rem; }
  .about-grid { grid-template-columns: 1fr; }
  section { padding: 4rem 1.5rem; }
  .edu-card { flex-direction: column; }
}    z-index: 0;
}

/* ── NAV ── */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 1.2rem 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(4, 3, 15, 0.75);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-logo {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--sun);
    letter-spacing: -0.02em;
}
.nav-logo span { 
    color: var(--star); 
}
.nav-links { 
    display: flex; 
    gap: 2.5rem; 
    list-style: none; 
}
.nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--sun); }

/* ── MAIN ── */
main { position: relative; z-index: 1; }

section {
    padding: 6rem 0;
    max-width: 900px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

/* ── HERO ── */
#hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 100%;
    padding: 0 3rem;
    position: relative;
}
.hero-inner { max-width: 680px; }

.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--sun);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}
.hero-eyebrow::before {
    content: '';
    display: inline-block;
    width: 30px; height: 1px;
    background: var(--sun);
    flex-shrink: 0;
}

h1 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2.8rem, 7vw, 5.2rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    color: var(--text);
}
h1 .highlight {
    background: linear-gradient(135deg, var(--sun) 0%, #ff9e5e 50%, var(--star-bright) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-tagline {
    font-size: 1rem;
    color: var(--muted);
    max-width: 520px;
    line-height: 1.85;
    margin-bottom: 2.5rem;
    font-weight: 300;
    font-style: italic;
    border-left: 2px solid rgba(245,166,35,0.4);
    padding-left: 1rem;
}

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

.btn-primary {
    background: var(--sun);
    color: var(--void);
    border: none;
    padding: 0.75rem 1.8rem;
    border-radius: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.15s;
    display: inline-block;
}
.btn-primary:hover { 
    opacity: 0.88; 
    transform: translateY(-1px); 
}

.btn-ghost {
    background: transparent;
    color: var(--muted);
    border: 1px solid var(--faint);
    padding: 0.75rem 1.8rem;
    border-radius: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.2s, border-color 0.2s, transform 0.15s;
    display: inline-block;
}
.btn-ghost:hover { 
    color: var(--text); 
    border-color: var(--star); 
    transform: translateY(-1px); 
}

/* ── SECTION HEADER ── */
.section-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--sun);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}
.section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, var(--faint), transparent);
    max-width: 180px;
}

h2 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 3rem;
    line-height: 1.2;
    color: var(--text);
}

/* ── ABOUT ── */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}
.about-text p {
    color: var(--muted);
    font-size: 1rem;
    font-weight: 300;
    margin-bottom: 1.2rem;
    line-height: 1.8;
}
.about-text p strong { 
    color: var(--text); 
    font-weight: 500; 
}
.about-facts { 
    display: flex; 
    flex-direction: column; 
    gap: 1rem; 
}

.fact-card {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 1.1rem 1.3rem;
    position: relative;
    overflow: hidden;
}
.fact-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--sun);
    border-radius: 3px 0 0 3px;
}
.fact-label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.3rem;
}
.fact-value { font-size: 0.95rem; 
    color: var(--text); 
    font-weight: 400; 
}

  /* ── SKILLS WITH ICONS ── */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}
.skill-group {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    padding: 1.5rem;
    transition: border-color 0.2s;
}
.skill-group:hover { 
    border-color: 
    rgba(245,166,35,0.25); 
}
.skill-group-title {
    font-family: 'Syne', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sun);
    margin-bottom: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.skill-group-title svg { 
    width: 13px; 
    height: 13px; 
    opacity: 0.8; 
}

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

.skill-tag {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--muted);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 400;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    cursor: default;
}
.skill-tag:hover {
    background: var(--sun-glow);
    color: var(--sun);
    border-color: rgba(245,166,35,0.3);
}

  /* ── PROJECTS ── */
.projects-list { 
    display: flex; 
    flex-direction: column; 
    gap: 2rem; 
}
.project-card {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: border-color 0.25s, transform 0.2s;
}
.project-card:hover { 
    border-color: 
    rgba(245,166,35,0.2); 
    transform: translateY(-2px); 
}
.project-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(245,166,35,0.4), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}
.project-card:hover::after { 
    opacity: 1; 
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.8rem;
}
.project-title {
    font-family: 'Syne', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.01em;
}
.project-badge {
    background: var(--sun-glow);
    border: 1px solid rgba(245,166,35,0.25);
    color: var(--sun);
    font-size: 0.72rem;
    font-weight: 500;
    padding: 0.25rem 0.7rem;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
}
.project-role { 
    font-size: 0.82rem; 
    color: var(--star); 
    margin-bottom: 0.9rem; 
    font-weight: 400; 
    letter-spacing: 0.02em; 
}
.project-desc { 
    font-size: 0.92rem; 
    color: var(--muted); 
    line-height: 1.75; 
    margin-bottom: 1.2rem; 
    font-weight: 300; 
}

.project-contrib { 
    margin-bottom: 1.3rem; 
}
.contrib-title {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    margin-bottom: 0.6rem;
    font-weight: 500;
}
.contrib-list { 
    list-style: none; 
    display: flex; 
    flex-direction: column; 
    gap: 0.35rem; 
}
.contrib-list li {
    font-size: 0.88rem;
    color: var(--muted);
    padding-left: 1.1rem;
    position: relative;
    font-weight: 300;
}
.contrib-list li::before { 
    content: '›'; 
    position: absolute; 
    left: 0; 
    color: var(--sun); 
    font-weight: 600; 
}

.project-tech { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 0.4rem; 
    align-items: center; 
}
.tech-tag {
    background: rgba(165,148,249,0.1);
    border: 1px solid rgba(165,148,249,0.18);
    color: var(--star-bright);
    font-size: 0.78rem;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-weight: 400;
}
.project-link {
    margin-left: auto;
    color: var(--muted);
    text-decoration: none;
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: color 0.2s;
}
.project-link:hover { 
    color: var(--sun); 
}
.project-link svg { 
    width: 13px; 
    height: 13px; 
}

/* ── EDUCATION ── */
.edu-card {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}
.edu-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: var(--sun-glow);
    border: 1px solid rgba(245,166,35,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.4rem;
}
.edu-info h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.2rem;
}
.edu-info .edu-uni { 
    font-size: 0.9rem; 
    color: var(--star); 
    margin-bottom: 0.4rem; 
}
.edu-info .edu-spec { 
    font-size: 0.85rem; 
    color: var(--muted); 
    font-weight: 300; 
    margin-bottom: 0.6rem; 
}
.edu-info .edu-year { 
    font-size: 0.78rem; 
    color: var(--sun); 
    font-weight: 500; 
    letter-spacing: 0.08em; 
}

  /* ── ACHIEVEMENTS ── */
.ach-grid { display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); 
    gap: 1.2rem; 
    margin-bottom: 2.5rem; 
}
.ach-card {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 1.3rem 1.4rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: border-color 0.2s;
}
.ach-card:hover { border-color: rgba(245,166,35,0.2); }
.ach-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 0.1rem; line-height: 1; }
.ach-text { font-size: 0.88rem; color: var(--muted); line-height: 1.65; font-weight: 300; }
.ach-text strong { color: var(--text); font-weight: 500; }

.cert-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 1rem 1.4rem;
}
.cert-icon {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: rgba(0,215,120,0.1);
    border: 1px solid rgba(0,215,120,0.15);
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; flex-shrink: 0;
}
.cert-name { font-size: 0.92rem; color: var(--text); font-weight: 400; }
.cert-source { font-size: 0.78rem; color: var(--muted); }

  /* ── CONTACT ── */
#contact { text-align: center; }
.contact-desc { color: var(--muted); font-size: 1rem; max-width: 460px; margin: 0 auto 2.5rem; font-weight: 300; line-height: 1.8; }
.contact-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; }
.contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 0.7rem 1.3rem;
    color: var(--muted);
    text-decoration: none;
    font-size: 0.88rem;
    transition: border-color 0.2s, color 0.2s, transform 0.15s;
}
.contact-link:hover { border-color: rgba(245,166,35,0.3); color: var(--text); transform: translateY(-2px); }
.contact-link svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ── FOOTER ── */
footer {
    text-align: center;
    padding: 2.5rem;
    font-size: 0.8rem;
    color: var(--faint);
    border-top: 1px solid rgba(255,255,255,0.05);
    position: relative; z-index: 1;
}
footer span { color: var(--sun); }

/* ── ANIMATIONS ── */
.fade-in { opacity: 0; transform: translateY(40px); transition: opacity 0.8s cubic-bezier(.22,1,.36,1), transform 0.8s cubic-bezier(.22,1,.36,1); }
.fade-in.visible { opacity: 1; transform: none; }

/* hero text reveal */
@keyframes heroReveal {
    from { opacity: 0; transform: translateY(28px); filter: blur(6px); }
    to   { opacity: 1; transform: none; filter: blur(0); }
}
.hero-eyebrow { opacity: 0; animation: heroReveal 0.8s cubic-bezier(.22,1,.36,1) 0.1s forwards; }
h1            { opacity: 0; animation: heroReveal 0.9s cubic-bezier(.22,1,.36,1) 0.3s forwards; }
.hero-tagline { opacity: 0; animation: heroReveal 0.9s cubic-bezier(.22,1,.36,1) 0.5s forwards; }
.hero-cta     { opacity: 0; animation: heroReveal 0.9s cubic-bezier(.22,1,.36,1) 0.68s forwards; }

/* nav link active indicator */
.nav-links a { position: relative; }
.nav-links a.active { color: var(--sun); }
.nav-links a.active::after {
    content: '';
    display: block;
    height: 1px;
    background: var(--sun);
    margin-top: 2px;
    animation: growLine 0.3s ease forwards;
}
@keyframes growLine { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.project-card:hover {
    border-color: rgba(165,148,249,0.25);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(90,50,210,0.18), 0 4px 20px rgba(0,0,0,0.4);
}

/* skill group hover lift */
.skill-group:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(90,50,210,0.12);
    transition: border-color 0.2s, transform 0.25s, box-shadow 0.25s;
}
.skill-group { transition: border-color 0.2s, transform 0.25s, box-shadow 0.25s; }

/* floating nebula orbs (CSS, behind content) */
.nebula-orb {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(80px);
    animation: floatOrb linear infinite;
    opacity: 0;
}
@keyframes floatOrb {
    0%   { transform: translate(0, 0) scale(1);      opacity: 0; }
    8%   { opacity: 1; }
    50%  { transform: translate(var(--dx), var(--dy)) scale(1.15); opacity: 0.85; }
    92%  { opacity: 1; }
    100% { transform: translate(0, 0) scale(1);      opacity: 0; }
}

/* section heading underline reveal */
h2 { position: relative; display: inline-block; }
h2::after {
    content: '';
    position: absolute;
    left: 0; bottom: -6px;
    height: 2px; width: 0;
    background: linear-gradient(to right, var(--sun), var(--star-bright));
    border-radius: 2px;
    transition: width 0.7s cubic-bezier(.22,1,.36,1);
}
section.in-view h2::after { width: 70px; }

/* section label slide in */
.section-label {
    opacity: 0;
    transform: translateX(-16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
section.in-view .section-label { opacity: 1; transform: none; }

  /* skill tag pop */
.skill-tag { transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s; }
.skill-tag:hover { transform: translateY(-2px) scale(1.06); }

/* ach card hover */
.ach-card {
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.ach-card:hover {
    border-color: rgba(165,148,249,0.25);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(90,50,210,0.1);
}

/* contact link shimmer */
.contact-link { overflow: hidden; position: relative; }
.contact-link::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    transition: left 0.5s ease;
}
.contact-link:hover::before { left: 150%; }

/* fact card hover */
.fact-card { transition: border-color 0.2s, transform 0.2s; }
.fact-card:hover { border-color: rgba(245,166,35,0.3); transform: translateX(3px); }

/* scroll indicator bounce */
.scroll-hint {
    position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
    opacity: 0; animation: fadeInHint 1s ease 1.4s forwards;
}

@keyframes fadeInHint { to { opacity: 0.4; } }
.scroll-hint span { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); }
.scroll-hint-arrow {
    width: 18px; height: 18px;
    border-right: 1px solid var(--muted); border-bottom: 1px solid var(--muted);
    transform: rotate(45deg);
    animation: bounceArrow 1.4s ease-in-out infinite;
}

@keyframes bounceArrow {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50%       { transform: rotate(45deg) translateY(6px); }
}

@media (max-width: 768px) {
    nav { padding: 1rem 1.5rem; }
    .nav-links { display: none; }
    #hero { padding: 0 1.5rem; }
    .about-grid { grid-template-columns: 1fr; }
    section { padding: 4rem 1.5rem; }
    .edu-card { flex-direction: column; }
}
