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

:root {
  --bg-base:        #eef0f4;
  --bg-primary:     #f5f5f7;
  --bg-secondary:   #ffffff;
  --bg-tertiary:    #f2f2f7;

  --glass-bg:       rgba(255, 255, 255, 0.65);
  --glass-border:   rgba(255, 255, 255, 0.88);
  --glass-shadow:   0 8px 32px rgba(0,0,0,0.07), inset 0 1px 0 rgba(255,255,255,0.92);

  --separator:      rgba(0, 0, 0, 0.07);
  --separator-opaque: #d2d2d7;

  --label:          #1d1d1f;
  --label-2:        #6e6e73;
  --label-3:        #aeaeb2;
  --label-4:        #c7c7cc;

  --blue:           #0071e3;
  --blue-hover:     #0077ed;
  --blue-bg:        rgba(0, 113, 227, 0.08);
  --blue-border:    rgba(0, 113, 227, 0.18);

  --shadow-xs:  0 1px 4px rgba(0,0,0,0.05);
  --shadow-sm:  0 4px 16px rgba(0,0,0,0.06);
  --shadow-md:  0 8px 30px rgba(0,0,0,0.08);
  --shadow-lg:  0 16px 48px rgba(0,0,0,0.1);
  --shadow-xl:  0 24px 64px rgba(0,0,0,0.12);

  --radius-xl:  22px;
  --radius-lg:  18px;
  --radius-md:  12px;
  --radius-sm:  10px;
  --radius-xs:   8px;
  --radius-pill: 980px;

  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);

  --font: -apple-system, 'SF Pro Display', 'Plus Jakarta Sans',
          BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background-color: var(--bg-base);
  color: var(--label);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }
img  { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font: inherit; }

::-webkit-scrollbar       { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--label-4); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--label-3); }

/* ═══════════════════════════════════════════
   BACKGROUND SCENE
═══════════════════════════════════════════ */
.bg-scene {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
}

.bg-orb-1 {
  width: 800px; height: 800px;
  top: -280px; left: -220px;
  background: radial-gradient(circle at center, rgba(0,113,227,0.1) 0%, transparent 65%);
  filter: blur(70px);
}

.bg-orb-2 {
  width: 700px; height: 700px;
  bottom: -180px; right: -180px;
  background: radial-gradient(circle at center, rgba(94,92,230,0.09) 0%, transparent 65%);
  filter: blur(70px);
}

.bg-orb-3 {
  width: 600px; height: 600px;
  top: 42%; left: 52%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at center, rgba(50,173,230,0.07) 0%, transparent 65%);
  filter: blur(80px);
}

/* ═══════════════════════════════════════════
   GLASSMORPHISM
═══════════════════════════════════════════ */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
  position: relative;
  overflow: hidden;
}

/* ═══════════════════════════════════════════
   LAYOUT
═══════════════════════════════════════════ */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}

.section {
  padding: 110px 0;
  position: relative;
}

.section-frosted {
  background: rgba(255, 255, 255, 0.28);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--label);
}

.section-subtitle {
  color: var(--label-2);
  font-size: 1rem;
  margin-top: 14px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  font-weight: 400;
}

/* ═══════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}

.btn-primary:hover {
  background: var(--blue-hover);
  box-shadow: 0 4px 16px rgba(0,113,227,0.28);
}

.btn-outline {
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--label);
  border: 1px solid rgba(0,0,0,0.1);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.9);
  box-shadow: var(--shadow-sm);
}

.btn-full { width: 100%; justify-content: center; }

.btn-link {
  color: var(--blue);
  font-weight: 500;
  font-size: 0.88rem;
  transition: opacity var(--transition);
}

.btn-link:hover { opacity: 0.65; }

/* ═══════════════════════════════════════════
   TAGS
═══════════════════════════════════════════ */
.tag {
  display: inline-block;
  font-size: 0.73rem;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: rgba(0,0,0,0.05);
  border: 1px solid var(--separator);
  color: var(--label-2);
  letter-spacing: 0.01em;
}

.tag-accent {
  background: var(--blue-bg);
  border-color: var(--blue-border);
  color: var(--blue);
}

/* ═══════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 12px 0;
  background: rgba(238, 240, 244, 0.78);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
  background: rgba(238, 240, 244, 0.92);
  box-shadow: 0 1px 24px rgba(0,0,0,0.07);
}

.nav-container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--label);
  letter-spacing: -0.02em;
}

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

.nav-links a {
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 400;
  color: var(--label-2);
  transition: all var(--transition);
  letter-spacing: -0.01em;
}

.nav-links a:hover {
  color: var(--label);
  background: rgba(0,0,0,0.05);
}

.nav-cta {
  font-weight: 500 !important;
  color: var(--blue) !important;
  padding: 6px 15px !important;
}

.nav-cta:hover {
  background: var(--blue-bg) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--label-2);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 28px 90px;
}

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

.hero-greeting {
  font-size: 0.82rem;
  color: var(--blue);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero-name {
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
  background: linear-gradient(
    135deg,
    var(--label) 0%,
    var(--label) 38%,
    #0071e3 52%,
    var(--label) 66%,
    var(--label) 100%
  );
  background-size: 280% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: name-shimmer 9s ease-in-out infinite;
}

.hero-roles {
  font-size: 1.05rem;
  color: var(--label-2);
  margin-bottom: 20px;
  min-height: 1.8em;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.typewriter { color: var(--label); font-weight: 600; }

.hero-description {
  color: var(--label-2);
  font-size: 1rem;
  max-width: 440px;
  margin-bottom: 34px;
  line-height: 1.75;
  font-weight: 400;
}

.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Profile */
.hero-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: relative;
}

.profile-ring {
  position: relative;
  width: 248px;
  height: 248px;
}

.profile-ring::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    rgba(0,113,227,0.5),
    rgba(0,113,227,0.08),
    rgba(0,113,227,0.5)
  );
  animation: spin 8s linear infinite;
  z-index: 0;
}

.profile-ring::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--bg-base);
  z-index: 1;
}

@keyframes spin { to { transform: rotate(360deg); } }

.profile-photo {
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  overflow: hidden;
  z-index: 2;
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.profile-initials {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  font-size: 3.2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--label-3);
}

.hero-badges {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 230px;
}

.badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.88);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  font-size: 0.79rem;
  font-weight: 500;
  color: var(--label-2);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,0.9);
  transition: all var(--transition);
}

.badge:hover {
  color: var(--label);
  box-shadow: 0 6px 24px rgba(0,0,0,0.09), inset 0 1px 0 #fff;
}

.badge-icon {
  color: var(--blue);
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
}

.scroll-arrow {
  width: 18px;
  height: 18px;
  border-right: 1.5px solid var(--label-3);
  border-bottom: 1.5px solid var(--label-3);
  transform: rotate(45deg);
  animation: bounce 2.2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0);   opacity: 0.35; }
  50%       { transform: rotate(45deg) translateY(5px); opacity: 0.7; }
}

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

.about-lead {
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--label);
  margin-bottom: 18px;
  line-height: 1.45;
  letter-spacing: -0.025em;
}

.about-text p {
  color: var(--label-2);
  margin-bottom: 14px;
  line-height: 1.8;
  font-size: 0.96rem;
}

.about-text strong { color: var(--label); font-weight: 600; }

.about-stats {
  display: flex;
  gap: 32px;
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid var(--separator);
}

.stat-item { display: flex; flex-direction: column; gap: 2px; }

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.05em;
  color: var(--label);
  line-height: 1;
}

.stat-label {
  font-size: 0.76rem;
  color: var(--label-2);
  font-weight: 400;
}

.about-timeline {
  padding: 28px 30px;
}

.timeline-title {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--label-3);
  margin-bottom: 24px;
}

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

.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 8px; bottom: 8px;
  width: 1px;
  background: var(--separator-opaque);
}

.timeline-item { position: relative; padding-bottom: 26px; }
.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: -24px; top: 6px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue);
  border: 2px solid rgba(255,255,255,0.85);
  box-shadow: 0 0 0 2px var(--blue-border);
}

.timeline-date {
  font-size: 0.72rem;
  color: var(--blue);
  font-weight: 600;
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 3px;
}

.timeline-content h4 {
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 2px;
  color: var(--label);
  letter-spacing: -0.015em;
}

.timeline-content p {
  font-size: 0.82rem;
  color: var(--label-2);
  line-height: 1.5;
}

/* ═══════════════════════════════════════════
   SKILLS
═══════════════════════════════════════════ */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.skill-card {
  padding: 28px 30px;
  transition: all var(--transition);
  cursor: default;
  position: relative;
  overflow: hidden;
}

.skill-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 56px rgba(0,0,0,0.1), inset 0 1px 0 #fff;
}

.skill-icon-svg {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--blue-bg);
  border: 1px solid var(--blue-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--blue);
  flex-shrink: 0;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-card:hover .skill-icon-svg {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  box-shadow: 0 6px 20px rgba(0,113,227,0.32);
  transform: scale(1.08) rotate(-4deg);
}

.skill-card h3 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--label);
  letter-spacing: -0.015em;
}

.skill-tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* ═══════════════════════════════════════════
   EXPERIENCE
═══════════════════════════════════════════ */
.experience-list { display: flex; flex-direction: column; gap: 12px; }

.exp-card {
  padding: 26px 28px;
  transition: all var(--transition);
}

.exp-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 56px rgba(0,0,0,0.09), inset 0 1px 0 #fff;
}

.exp-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}

.exp-logo {
  width: 42px; height: 42px;
  border-radius: var(--radius-xs);
  background: rgba(0,113,227,0.07);
  border: 1px solid rgba(0,113,227,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--blue);
  flex-shrink: 0;
  letter-spacing: 0.03em;
}

.exp-logo-purple { color: #5e5ce6; background: rgba(94,92,230,0.07);  border-color: rgba(94,92,230,0.15); }
.exp-logo-pink   { color: #ff375f; background: rgba(255,55,95,0.07);   border-color: rgba(255,55,95,0.15); }
.exp-logo-cyan   { color: #32ade6; background: rgba(50,173,230,0.07);  border-color: rgba(50,173,230,0.15); }

.exp-meta { flex: 1; }

.exp-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--label);
  margin-bottom: 1px;
  letter-spacing: -0.02em;
}

.exp-company {
  font-size: 0.83rem;
  color: var(--blue);
  font-weight: 500;
  margin-bottom: 2px;
}

.exp-date {
  font-size: 0.73rem;
  color: var(--label-3);
  letter-spacing: 0.01em;
}

.exp-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(52,199,89,0.08);
  border: 1px solid rgba(52,199,89,0.18);
  color: #248a3d;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

.exp-badge::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #34c759;
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}

.exp-bullets { list-style: none; margin-bottom: 12px; }

.exp-bullets li {
  position: relative;
  padding-left: 14px;
  font-size: 0.86rem;
  color: var(--label-2);
  margin-bottom: 5px;
  line-height: 1.6;
}

.exp-bullets li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--label-4);
}

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

/* ═══════════════════════════════════════════
   PROJECTS
═══════════════════════════════════════════ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.project-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all var(--transition);
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.11), inset 0 1px 0 #fff;
}

.project-thumb {
  height: 148px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.project-thumb-gradient-1 { background: linear-gradient(145deg, rgba(0,113,227,0.07), rgba(0,113,227,0.03)); }
.project-thumb-gradient-2 { background: linear-gradient(145deg, rgba(94,92,230,0.07), rgba(94,92,230,0.03)); }
.project-thumb-gradient-3 { background: linear-gradient(145deg, rgba(50,173,230,0.07), rgba(50,173,230,0.03)); }

.project-thumb-icon {
  color: var(--blue);
  opacity: 0.65;
}

.project-body  { padding: 20px 20px 12px; flex: 1; }

.project-title {
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
  color: var(--label);
}

.project-desc {
  font-size: 0.82rem;
  color: var(--label-2);
  margin-bottom: 12px;
  line-height: 1.6;
}

.project-tags { display: flex; flex-wrap: wrap; gap: 5px; }

.project-footer {
  padding: 12px 20px 18px;
  border-top: 1px solid rgba(0,0,0,0.05);
  margin-top: auto;
}

.projects-note {
  text-align: center;
  color: var(--label-3);
  font-size: 0.84rem;
}

/* ═══════════════════════════════════════════
   EDUCATION
═══════════════════════════════════════════ */
.education-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 40px;
}

.edu-card {
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: all var(--transition);
}

.edu-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.09), inset 0 1px 0 #fff;
}

.edu-icon-svg {
  width: 40px; height: 40px;
  border-radius: var(--radius-xs);
  background: var(--blue-bg);
  border: 1px solid var(--blue-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}

.edu-period {
  font-size: 0.7rem;
  color: var(--blue);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 3px;
}

.edu-body h3 {
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 3px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--label);
}

.edu-body p { font-size: 0.78rem; color: var(--label-2); }

.certs-title {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--label-3);
  margin-bottom: 14px;
}

.certs-grid { display: flex; flex-direction: column; gap: 8px; }

.cert-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  transition: all var(--transition);
}

.cert-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08), inset 0 1px 0 #fff;
}

.cert-icon-svg {
  width: 36px; height: 36px;
  border-radius: var(--radius-xs);
  background: var(--blue-bg);
  border: 1px solid var(--blue-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}

.cert-item h4 {
  font-size: 0.87rem;
  font-weight: 600;
  margin-bottom: 1px;
  letter-spacing: -0.01em;
  color: var(--label);
}

.cert-item p { font-size: 0.76rem; color: var(--label-2); }

/* ═══════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  align-items: start;
}

.contact-links { display: flex; flex-direction: column; gap: 10px; }

.contact-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  transition: all var(--transition);
  text-decoration: none;
}

.contact-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.09), inset 0 1px 0 #fff;
}

.contact-link-icon-svg {
  width: 42px; height: 42px;
  border-radius: var(--radius-xs);
  background: var(--blue-bg);
  border: 1px solid var(--blue-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}

.contact-link-label {
  display: block;
  font-size: 0.68rem;
  color: var(--label-3);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.contact-link-value {
  display: block;
  font-size: 0.86rem;
  color: var(--label);
  font-weight: 500;
}

.contact-form { padding: 30px 32px; }

.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--label-2);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(0,0,0,0.09);
  border-radius: var(--radius-sm);
  color: var(--label);
  font-family: var(--font);
  font-size: 0.88rem;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  outline: none;
  resize: vertical;
  -webkit-font-smoothing: antialiased;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--label-4); }

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  background: rgba(255,255,255,0.92);
  box-shadow: 0 0 0 3px rgba(0,113,227,0.12);
}

.form-note {
  text-align: center;
  font-size: 0.82rem;
  color: var(--label-2);
  margin-top: 12px;
  min-height: 1.2em;
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.footer {
  padding: 28px 0;
  border-top: 1px solid var(--separator);
  text-align: center;
  position: relative;
  z-index: 1;
}

.footer p     { font-size: 0.8rem; color: var(--label-3); }
.footer a     { color: var(--label-2); transition: color var(--transition); }
.footer a:hover { color: var(--label); }
.footer-sub   { margin-top: 4px; font-size: 0.74rem; }

/* ═══════════════════════════════════════════
   HERO GLASS BOXES + FROSTED OVERLAY
═══════════════════════════════════════════ */
.hero-glass-boxes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.glass-box {
  position: absolute;
  border-radius: 20px;
}

.glass-box-1 {
  width: 310px; height: 190px;
  top: 6%; left: 3%;
  transform: rotate(-11deg);
  background: linear-gradient(135deg, rgba(0,113,227,0.22), rgba(0,113,227,0.06));
  border: 1px solid rgba(0,113,227,0.3);
  box-shadow: 0 12px 40px rgba(0,113,227,0.14), inset 0 1px 0 rgba(255,255,255,0.35);
  animation: box-drift-1 18s ease-in-out infinite;
}

.glass-box-2 {
  width: 230px; height: 290px;
  top: -8%; right: 12%;
  transform: rotate(9deg);
  background: linear-gradient(135deg, rgba(94,92,230,0.2), rgba(94,92,230,0.05));
  border: 1px solid rgba(94,92,230,0.28);
  box-shadow: 0 12px 40px rgba(94,92,230,0.12), inset 0 1px 0 rgba(255,255,255,0.3);
  animation: box-drift-2 24s ease-in-out infinite;
}

.glass-box-3 {
  width: 200px; height: 200px;
  bottom: 8%; left: 28%;
  transform: rotate(22deg);
  background: linear-gradient(135deg, rgba(50,173,230,0.18), rgba(50,173,230,0.04));
  border: 1px solid rgba(50,173,230,0.25);
  box-shadow: 0 10px 32px rgba(50,173,230,0.1), inset 0 1px 0 rgba(255,255,255,0.3);
  animation: box-drift-3 20s ease-in-out infinite;
}

.glass-box-4 {
  width: 260px; height: 150px;
  bottom: 4%; right: 4%;
  transform: rotate(-7deg);
  background: linear-gradient(135deg, rgba(0,113,227,0.15), rgba(255,255,255,0.06));
  border: 1px solid rgba(0,113,227,0.2);
  box-shadow: 0 8px 28px rgba(0,113,227,0.1), inset 0 1px 0 rgba(255,255,255,0.28);
  animation: box-drift-4 22s ease-in-out infinite;
}

.glass-box-5 {
  width: 150px; height: 230px;
  top: 38%; left: 52%;
  transform: rotate(16deg);
  background: linear-gradient(135deg, rgba(94,92,230,0.14), rgba(0,113,227,0.08));
  border: 1px solid rgba(94,92,230,0.2);
  box-shadow: 0 8px 28px rgba(94,92,230,0.1), inset 0 1px 0 rgba(255,255,255,0.25);
  animation: box-drift-5 26s ease-in-out infinite;
}

.glass-box-6 {
  width: 180px; height: 130px;
  top: 20%; right: 2%;
  transform: rotate(-18deg);
  background: linear-gradient(135deg, rgba(0,113,227,0.12), rgba(94,92,230,0.08));
  border: 1px solid rgba(0,113,227,0.18);
  box-shadow: 0 6px 24px rgba(0,113,227,0.08), inset 0 1px 0 rgba(255,255,255,0.22);
  animation: box-drift-2 30s ease-in-out infinite reverse;
}

/* Frosted overlay — sits above glass boxes, blurs everything behind it */
.hero-frosted-overlay {
  position: absolute;
  inset: 0;
  backdrop-filter: blur(52px) saturate(140%);
  -webkit-backdrop-filter: blur(52px) saturate(140%);
  background: rgba(238, 240, 244, 0.22);
  z-index: 2;
  pointer-events: none;
}

/* Ambient shapes sit above the frosted glass so they're sharp */
.hero-ambient {
  z-index: 3;
}

/* ═══════════════════════════════════════════
   SCROLL PROGRESS
═══════════════════════════════════════════ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2.5px;
  background: linear-gradient(90deg, var(--blue), rgba(94,92,230,0.85));
  transform: scaleX(0);
  transform-origin: left;
  z-index: 200;
  border-radius: 0 2px 2px 0;
}

/* ═══════════════════════════════════════════
   GLASS GLOW — mouse spotlight
═══════════════════════════════════════════ */
.glass-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255,255,255,0.22) 0%, transparent 68%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 0;
}

/* ═══════════════════════════════════════════
   HERO AMBIENT DECORATIONS
═══════════════════════════════════════════ */
.hero-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.ambient-ring {
  position: absolute;
  border-radius: 50%;
}

.ambient-ring-1 {
  width: 420px; height: 420px;
  top: -90px; right: 4%;
  border: 1px solid rgba(0,113,227,0.09);
}

.ambient-ring-2 {
  width: 260px; height: 260px;
  bottom: 60px; left: 2%;
  border: 1px solid rgba(94,92,230,0.08);
}

.ambient-ring-3 {
  width: 170px; height: 170px;
  top: 20%; right: 24%;
  border: 1px solid rgba(0,113,227,0.06);
}

.ambient-dot {
  position: absolute;
  border-radius: 50%;
}

.ambient-dot-1 {
  width: 6px; height: 6px;
  background: rgba(0,113,227,0.38);
  top: 28%; right: 21%;
  box-shadow: 0 0 8px rgba(0,113,227,0.3);
}

.ambient-dot-2 {
  width: 4px; height: 4px;
  background: rgba(94,92,230,0.32);
  bottom: 28%; left: 46%;
  box-shadow: 0 0 6px rgba(94,92,230,0.25);
}

.ambient-dot-3 {
  width: 5px; height: 5px;
  background: rgba(0,113,227,0.28);
  top: 62%; right: 37%;
  box-shadow: 0 0 7px rgba(0,113,227,0.2);
}

/* ═══════════════════════════════════════════
   ICON CONTAINERS — hover glow
═══════════════════════════════════════════ */
.edu-icon-svg,
.cert-icon-svg,
.contact-link-icon-svg {
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.edu-card:hover .edu-icon-svg,
.cert-item:hover .cert-icon-svg {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  box-shadow: 0 4px 14px rgba(0,113,227,0.28);
  transform: scale(1.06);
}

.contact-link:hover .contact-link-icon-svg {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  box-shadow: 0 4px 14px rgba(0,113,227,0.28);
  transform: scale(1.06) rotate(-4deg);
}

/* ═══════════════════════════════════════════
   TAG — hover lift
═══════════════════════════════════════════ */
.tag {
  transition: all 0.18s ease;
  cursor: default;
}

.tag:hover {
  border-color: var(--blue-border);
  color: var(--blue);
  transform: translateY(-1px);
}

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 80px 0; }

  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 1;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    flex-direction: column;
    justify-content: center;
    background: rgba(238, 240, 244, 0.97);
    backdrop-filter: blur(24px) saturate(200%);
    -webkit-backdrop-filter: blur(24px) saturate(200%);
    border-bottom: none;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 99;
    gap: 10px;
    overflow: hidden;
  }

  .nav-links.open { opacity: 1; pointer-events: all; }
  .nav-links a    { font-size: 1.1rem; padding: 12px 24px; }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 44px;
  }

  .hero-image       { order: -1; }
  .hero-description { margin-left: auto; margin-right: auto; }
  .hero-actions     { justify-content: center; }
  .hero-roles       { justify-content: center; }
  .profile-ring     { width: 200px; height: 200px; }
  .hero-badges      { align-items: center; }

  .about-grid    { grid-template-columns: 1fr; gap: 36px; }
  .about-stats   { gap: 24px; }
  .skills-grid   { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .education-grid{ grid-template-columns: 1fr; }
  .contact-grid  { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-name    { font-size: 2.1rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .about-stats  { flex-direction: column; gap: 16px; }
  .exp-header   { flex-wrap: wrap; }
}
