/* ════════════════════════════════════════
   VARIABLES
════════════════════════════════════════ */
:root {
  --bg:             #0d1117;
  --surface:        #161b22;
  --surface-2:      #1c2128;
  --border:         #30363d;
  --border-subtle:  #21262d;

  --cyan:           #00d4ff;
  --cyan-dim:       rgba(0, 212, 255, 0.10);
  --cyan-glow:      rgba(0, 212, 255, 0.25);
  --purple:         #a855f7;
  --purple-dim:     rgba(168, 85, 247, 0.10);
  --green:          #3fb950;
  --amber:          #d29922;

  --text:           #e6edf3;
  --text-muted:     #8b949e;
  --text-subtle:    #484f58;

  --font-mono:      'JetBrains Mono', 'Courier New', monospace;
  --font-body:      'Outfit', system-ui, sans-serif;

  --nav-h:          64px;
  --radius:         10px;
  --radius-lg:      16px;
  --ease:           0.25s ease;
}

/* ════════════════════════════════════════
   RESET + BASE
════════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

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

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
strong { color: var(--text); font-weight: 600; }
em { color: var(--cyan); font-style: normal; }

/* ════════════════════════════════════════
   SCROLLBAR
════════════════════════════════════════ */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-subtle); }

/* ════════════════════════════════════════
   CUSTOM CURSOR
════════════════════════════════════════ */
.cursor,
.cursor-trail {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  border-radius: 50%;
  z-index: 9999;
  will-change: transform;
}

.cursor {
  width: 8px;
  height: 8px;
  background: var(--cyan);
  transition: width 0.2s ease, height 0.2s ease, background 0.2s ease;
  z-index: 10000;
}

.cursor.hover {
  width: 16px;
  height: 16px;
  background: rgba(0, 212, 255, 0.4);
}

.cursor-trail {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(0, 212, 255, 0.3);
  transition: border-color 0.2s ease, width 0.2s ease, height 0.2s ease;
}

.cursor-trail.hover {
  border-color: rgba(0, 212, 255, 0.6);
  width: 40px;
  height: 40px;
}

@media (hover: none) {
  .cursor, .cursor-trail { display: none; }
  body { cursor: auto; }
}

/* ════════════════════════════════════════
   NAVIGATION
════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background var(--ease), border-color var(--ease);
}

.nav.scrolled {
  background: rgba(13, 17, 23, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: -0.02em;
  transition: opacity var(--ease);
}
.nav-logo:hover { opacity: 0.65; }

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  position: relative;
  transition: color var(--ease);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--cyan);
  transition: width var(--ease);
}

.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.nav-menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  cursor: none;
}

.nav-menu span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-muted);
  transition: var(--ease);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 8px 24px 20px;
  border-top: 1px solid var(--border-subtle);
  background: rgba(13, 17, 23, 0.96);
  backdrop-filter: blur(20px);
}

.nav-mobile.open { display: flex; }

.nav-mobile-link {
  padding: 13px 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-subtle);
  transition: color var(--ease);
}
.nav-mobile-link:last-child { border-bottom: none; }
.nav-mobile-link:hover { color: var(--cyan); }

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

/* ════════════════════════════════════════
   HERO
════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0, 212, 255, 0.065) 1px, transparent 1px);
  background-size: 48px 48px;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

.hero-glow--cyan {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 65%);
  top: -220px;
  right: -150px;
  animation: pulse-orb 9s ease-in-out infinite;
}

.hero-glow--purple {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.09) 0%, transparent 65%);
  bottom: -150px;
  left: -80px;
  animation: pulse-orb 12s ease-in-out infinite reverse;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, transparent 35%, var(--bg) 80%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  padding-top: calc(var(--nav-h) + 24px);
  width: 100%;
}

/* Hero tag badge */
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--cyan);
  letter-spacing: 0.06em;
  margin-bottom: 36px;
  opacity: 0;
  animation: fade-up 0.6s ease forwards 0.15s;
}

.hero-tag-pulse {
  width: 7px;
  height: 7px;
  background: var(--cyan);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
}

.hero-tag-pulse::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid var(--cyan);
  animation: ping 1.8s ease-out infinite;
}

/* Hero name */
.hero-name {
  font-family: var(--font-mono);
  font-size: clamp(3rem, 8.5vw, 6.5rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 24px;
}

.hero-prefix {
  color: var(--cyan);
  opacity: 0;
  animation: fade-in 0.3s ease forwards 0.75s;
}

.blink-cursor {
  color: var(--cyan);
  font-weight: 300;
  animation: blink 0.85s step-end infinite;
  transition: opacity 0.4s ease;
}

.blink-cursor.done { opacity: 0; animation: none; }

/* Hero text reveals */
.hero-role {
  font-family: var(--font-mono);
  font-size: clamp(0.9rem, 2.2vw, 1.2rem);
  color: var(--text-muted);
  margin-bottom: 18px;
  letter-spacing: 0.04em;
}

.hero-role::before {
  content: '// ';
  color: var(--text-subtle);
}

.hero-desc {
  font-size: clamp(1rem, 1.8vw, 1.1rem);
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 40px;
  max-width: 460px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 72px;
}

.hero-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.hero-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Scroll indicator */
.hero-scroll {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-scroll-text {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

.hero-scroll-line {
  width: 56px;
  height: 1px;
  background: var(--border);
  position: relative;
  overflow: hidden;
}

.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  animation: scan-line 2.4s ease-in-out infinite 2s;
}

/* ════════════════════════════════════════
   BUTTONS
════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: all var(--ease);
  cursor: none;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--cyan);
  color: var(--bg);
  font-weight: 600;
  border-color: var(--cyan);
}
.btn-primary:hover {
  background: #22deff;
  box-shadow: 0 0 28px rgba(0, 212, 255, 0.45);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border);
}
.btn-ghost:hover {
  color: var(--cyan);
  border-color: rgba(0, 212, 255, 0.5);
  background: var(--cyan-dim);
  transform: translateY(-2px);
}

/* ════════════════════════════════════════
   SECTIONS (SHARED)
════════════════════════════════════════ */
.section { padding: 100px 0; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 52px;
}

.section-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--cyan);
  letter-spacing: 0.12em;
}

.section-title {
  font-size: clamp(1.6rem, 3.8vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px; left: 0;
  width: 28px; height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  border-radius: 2px;
}

/* ════════════════════════════════════════
   SCROLL REVEAL
════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ════════════════════════════════════════
   ABOUT
════════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 18px;
  font-size: 1.02rem;
}

.about-text .reveal { transition-delay: 0.08s; }

.about-stats {
  margin-top: 32px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  overflow: hidden;
}

.stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 16px;
  border-bottom: 1px solid var(--border-subtle);
}
.stat:last-child { border-bottom: none; }

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-subtle);
  letter-spacing: 0.06em;
}

.stat-value {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

.stat-active {
  color: var(--green);
  font-size: 0.8rem;
}

/* ════════════════════════════════════════
   TERMINAL
════════════════════════════════════════ */
.terminal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 0.83rem;
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.45);
}

.terminal-titlebar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 16px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}

.t-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
}
.t-red    { background: #ff5f57; }
.t-yellow { background: #febc2e; }
.t-green  { background: #28c840; }

.t-title {
  margin-left: auto;
  font-size: 0.7rem;
  color: var(--text-subtle);
  letter-spacing: 0.03em;
}

.terminal-body {
  padding: 20px 22px;
  line-height: 1.9;
}

.t-line { display: block; }

.t-ps1 { color: var(--cyan); user-select: none; }
.t-cmd { color: var(--text); }
.t-out { color: var(--text-muted); }
.t-accent { color: var(--cyan) !important; }
.t-gap { height: 6px; }

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

/* ════════════════════════════════════════
   SKILLS
════════════════════════════════════════ */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.skill-group {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 22px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease, border-color var(--ease), box-shadow var(--ease);
}

.skill-group.visible {
  opacity: 1;
  transform: translateY(0);
}

.skill-group:hover {
  border-color: rgba(0, 212, 255, 0.25);
  box-shadow: 0 4px 24px rgba(0, 212, 255, 0.05);
}

.skill-category {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.skill-category::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 1px;
  background: var(--cyan);
  flex-shrink: 0;
}

.skill-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.skill-pill {
  padding: 4px 11px;
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  font-size: 0.78rem;
  color: var(--text-muted);
  transition: all var(--ease);
  cursor: none;
}

.skill-pill:hover {
  border-color: rgba(0, 212, 255, 0.4);
  color: var(--cyan);
  background: var(--cyan-dim);
}

/* ════════════════════════════════════════
   PROJECTS
════════════════════════════════════════ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
}

.project-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease, border-color var(--ease), box-shadow var(--ease);
  cursor: none;
}

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

/* top accent line */
.project-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, var(--cyan) 50%, transparent 95%);
  opacity: 0;
  transition: opacity var(--ease);
}

.project-card:hover {
  border-color: rgba(0, 212, 255, 0.28);
  box-shadow: 0 0 48px rgba(0, 212, 255, 0.07), 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: translateY(-5px);
}

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

.project-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.project-icon {
  width: 36px;
  height: 36px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  margin-bottom: 4px;
}

.project-name {
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  flex: 1;
}

.project-badge {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 100px;
  flex-shrink: 0;
  margin-top: 2px;
}

.badge-live {
  background: rgba(63, 185, 80, 0.1);
  color: var(--green);
  border: 1px solid rgba(63, 185, 80, 0.28);
}

.badge-dev {
  background: rgba(210, 153, 34, 0.1);
  color: var(--amber);
  border: 1px solid rgba(210, 153, 34, 0.28);
}

.project-desc {
  color: var(--text-muted);
  font-size: 0.89rem;
  line-height: 1.72;
  flex: 1;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tech-pill {
  padding: 3px 9px;
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  font-size: 0.72rem;
  color: var(--text-subtle);
  font-family: var(--font-mono);
}

.project-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 7px;
  transition: all var(--ease);
  cursor: none;
}

.project-link:hover {
  color: var(--cyan);
  border-color: rgba(0, 212, 255, 0.4);
  background: var(--cyan-dim);
}

/* ════════════════════════════════════════
   CONTACT
════════════════════════════════════════ */
.contact-section { padding-bottom: 120px; }

.contact-card {
  position: relative;
  text-align: center;
  padding: 80px 48px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.contact-bg-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(0, 212, 255, 0.055) 0%, transparent 70%);
  pointer-events: none;
}

.contact-card .section-num {
  display: block;
  margin-bottom: 10px;
}

.contact-heading {
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 16px;
  position: relative;
}

.contact-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 400px;
  margin: 0 auto 40px;
  line-height: 1.75;
}

.contact-links {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ════════════════════════════════════════
   SUBSECTION TITLE
════════════════════════════════════════ */
.subsection-title {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.subsection-title::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  border-radius: 2px;
  flex-shrink: 0;
}

/* ════════════════════════════════════════
   ROADMAP
════════════════════════════════════════ */
.roadmap-section {
  margin-top: 72px;
  padding-top: 56px;
  border-top: 1px solid var(--border-subtle);
}

.roadmap-list {
  position: relative;
  padding-left: 120px;
}

.roadmap-list::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 88px;
  width: 1px;
  background: linear-gradient(to bottom, var(--cyan), var(--purple), transparent);
  opacity: 0.35;
}

.roadmap-item {
  position: relative;
  display: flex;
  gap: 28px;
  margin-bottom: 36px;
  align-items: flex-start;
}

.roadmap-item:last-child {
  margin-bottom: 0;
}

.roadmap-node {
  position: absolute;
  left: -120px;
  display: flex;
  align-items: center;
  gap: 10px;
  top: 4px;
}

.roadmap-year {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.06em;
  width: 36px;
  text-align: right;
  flex-shrink: 0;
}

.roadmap-dot {
  width: 9px;
  height: 9px;
  background: var(--cyan);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(0, 212, 255, 0.6);
  position: relative;
  left: 17px;
}

.roadmap-content {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 18px 22px;
  flex: 1;
  transition: border-color var(--ease);
}

.roadmap-content:hover {
  border-color: rgba(0, 212, 255, 0.25);
}

.roadmap-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.roadmap-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}

@media (max-width: 640px) {
  .roadmap-list {
    padding-left: 20px;
  }

  .roadmap-list::before {
    left: 0;
  }

  .roadmap-node {
    left: -20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .roadmap-year {
    display: none;
  }

  .roadmap-dot {
    left: -4px;
  }
}

/* ════════════════════════════════════════
   EDUCATION
════════════════════════════════════════ */
.education-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.edu-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 28px 32px;
  transition: border-color var(--ease), box-shadow var(--ease);
}

.edu-card:hover {
  border-color: rgba(0, 212, 255, 0.25);
  box-shadow: 0 4px 24px rgba(0, 212, 255, 0.05);
}

.edu-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.edu-institution {
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.edu-degree {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.edu-years {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--cyan);
  letter-spacing: 0.06em;
  white-space: nowrap;
  padding: 4px 12px;
  background: var(--cyan-dim);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 100px;
  flex-shrink: 0;
}

.edu-courses {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

/* ════════════════════════════════════════
   CERTIFICATIONS
════════════════════════════════════════ */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.cert-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease, border-color var(--ease), box-shadow var(--ease);
  cursor: none;
}

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

.cert-card:hover {
  border-color: rgba(168, 85, 247, 0.3);
  box-shadow: 0 4px 24px rgba(168, 85, 247, 0.06);
}

.cert-icon {
  font-size: 1.6rem;
  line-height: 1;
}

.cert-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

.cert-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.cert-issuer {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--purple);
  letter-spacing: 0.06em;
}

.cert-date {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-subtle);
  letter-spacing: 0.04em;
}

/* ════════════════════════════════════════
   CONTACT BUTTON VARIANTS
════════════════════════════════════════ */
.btn-linkedin {
  background: rgba(10, 102, 194, 0.12);
  color: #58a6ff;
  border-color: rgba(10, 102, 194, 0.35);
}
.btn-linkedin:hover {
  background: rgba(10, 102, 194, 0.22);
  border-color: rgba(88, 166, 255, 0.6);
  color: #79b8ff;
  transform: translateY(-2px);
}

.btn-phone {
  background: rgba(63, 185, 80, 0.1);
  color: var(--green);
  border-color: rgba(63, 185, 80, 0.3);
}
.btn-phone:hover {
  background: rgba(63, 185, 80, 0.18);
  border-color: rgba(63, 185, 80, 0.6);
  transform: translateY(-2px);
}

.btn-resume {
  background: rgba(168, 85, 247, 0.1);
  color: var(--purple);
  border-color: rgba(168, 85, 247, 0.3);
}
.btn-resume:hover {
  background: rgba(168, 85, 247, 0.18);
  border-color: rgba(168, 85, 247, 0.6);
  transform: translateY(-2px);
}

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 24px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--cyan);
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-subtle);
}

/* ════════════════════════════════════════
   KEYFRAMES
════════════════════════════════════════ */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

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

@keyframes ping {
  0%         { transform: scale(1); opacity: 1; }
  75%, 100%  { transform: scale(2.8); opacity: 0; }
}

@keyframes pulse-orb {
  0%, 100% { opacity: 1;   transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(1.06); }
}

@keyframes scan-line {
  0%   { left: -100%; }
  100% { left: 200%;  }
}

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .contact-section { padding-bottom: 80px; }

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

  .contact-card { padding: 52px 24px; }

  .hero-name { letter-spacing: -0.03em; }
  .br-desktop { display: none; }

  .footer-inner {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
}

@media (max-width: 400px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
