/* ================================================================
   INDUSTRIAL PURITY — Design System
   Portfolio: Jhon Clinton Y. N. M
   ================================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ================================================================
   1. DESIGN TOKENS (CSS Custom Properties)
   ================================================================ */
:root {
  /* ---- Colors ---- */
  --surface:                 #f9f9ff;
  --surface-dim:             #cfdaf2;
  --surface-bright:          #f9f9ff;
  --surface-container-lowest:#ffffff;
  --surface-container-low:   #f0f3ff;
  --surface-container:       #e7eeff;
  --surface-container-high:  #dee8ff;
  --surface-container-highest:#d8e3fb;
  --on-surface:              #111c2d;
  --on-surface-variant:      #3f484c;
  --inverse-surface:         #263143;
  --inverse-on-surface:      #ecf1ff;
  --outline:                 #6f787d;
  --outline-variant:         #bec8cd;
  --surface-tint:            #006781;

  --primary:                 #005a71;
  --on-primary:              #ffffff;
  --primary-container:       #0e7490;
  --on-primary-container:    #d3f1ff;
  --inverse-primary:         #81d1f0;

  --secondary:               #006c49;
  --on-secondary:            #ffffff;
  --secondary-container:     #6cf8bb;
  --on-secondary-container:  #00714d;

  --tertiary:                #4e5356;
  --on-tertiary:             #ffffff;
  --tertiary-container:      #666b6f;
  --on-tertiary-container:   #e8edf1;

  --error:                   #ba1a1a;
  --on-error:                #ffffff;

  --primary-fixed:           #b9eaff;
  --primary-fixed-dim:       #81d1f0;
  --secondary-fixed:         #6ffbbe;
  --secondary-fixed-dim:     #4edea3;

  --background:              #f9f9ff;
  --on-background:           #111c2d;

  /* ---- Typography ---- */
  --font-family:             'Inter', system-ui, -apple-system, sans-serif;

  /* ---- Spacing ---- */
  --space-base:              8px;
  --container-max:           1280px;
  --gutter:                  24px;
  --section-padding:         96px;
  --card-gap:                32px;

  /* ---- Rounded ---- */
  --radius-sm:               0.125rem;
  --radius:                  0.25rem;
  --radius-md:               0.375rem;
  --radius-lg:               0.5rem;
  --radius-xl:               0.75rem;
  --radius-full:             9999px;

  /* ---- Shadows ---- */
  --shadow-card:             0px 1px 3px rgba(17, 28, 45, 0.06);
  --shadow-card-hover:       0px 4px 20px rgba(14, 116, 144, 0.08);
  --shadow-nav:              0px 1px 12px rgba(17, 28, 45, 0.06);

  /* ---- Transitions ---- */
  --transition-fast:         150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base:         200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth:       400ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow:         600ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--on-surface);
  background-color: var(--background);
  overflow-x: hidden;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--primary-container);
}

img {
  max-width: 100%;
  display: block;
}

ul, ol {
  list-style: none;
}

/* ================================================================
   3. TYPOGRAPHY
   ================================================================ */
.display-xl {
  font-family: var(--font-family);
  font-size: 60px;
  font-weight: 800;
  line-height: 72px;
  letter-spacing: -0.02em;
}

.headline-lg {
  font-family: var(--font-family);
  font-size: 36px;
  font-weight: 700;
  line-height: 44px;
  letter-spacing: -0.01em;
}

.headline-md {
  font-family: var(--font-family);
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
}

.body-lg {
  font-family: var(--font-family);
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
}

.body-md {
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.label-caps {
  font-family: var(--font-family);
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.mono-label {
  font-family: var(--font-family);
  font-size: 13px;
  font-weight: 500;
  line-height: 18px;
}

/* ================================================================
   4. LAYOUT
   ================================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section {
  padding: var(--section-padding) 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-container);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 2px;
  background: var(--primary-container);
  border-radius: var(--radius-full);
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 44px;
  letter-spacing: -0.01em;
  color: var(--on-surface);
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  color: var(--on-surface-variant);
  max-width: 640px;
}

/* ================================================================
   5. NAVIGATION — Glassmorphism
   ================================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 var(--gutter);
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

.navbar.scrolled {
  background: rgba(249, 249, 255, 0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: var(--shadow-nav);
  border-bottom: 1px solid rgba(17, 28, 45, 0.06);
}

.navbar-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--on-surface);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo .logo-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: var(--primary-container);
  display: inline-block;
  animation: pulse-dot 2s ease-in-out infinite;
}

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

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

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--on-surface-variant);
  transition: color var(--transition-base);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-container);
  border-radius: var(--radius-full);
  transition: width var(--transition-base);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--primary);
  color: var(--on-primary) !important;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  transition: background var(--transition-base), transform var(--transition-fast);
}

.nav-cta:hover {
  background: var(--primary-container);
  color: var(--on-primary) !important;
  transform: translateY(-1px);
}

.nav-cta::after {
  display: none !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--on-surface);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ================================================================
   6. HERO
   ================================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 72px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -100px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 116, 144, 0.06) 0%, transparent 70%);
  pointer-events: none;
  animation: float-orb 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 108, 73, 0.04) 0%, transparent 70%);
  pointer-events: none;
  animation: float-orb 10s ease-in-out infinite reverse;
}

@keyframes float-orb {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(30px, -20px); }
  66% { transform: translate(-20px, 15px); }
}

/* --- Two-column layout --- */
.hero-layout {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-content {
  max-width: 580px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--surface-container);
  border: 1px solid var(--outline-variant);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 24px;
  animation: fade-in-up 0.6s var(--transition-slow) both;
}

.hero-badge .badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--secondary);
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero-name {
  font-size: 56px;
  font-weight: 800;
  line-height: 66px;
  letter-spacing: -0.02em;
  color: var(--on-surface);
  margin-bottom: 10px;
  animation: fade-in-up 0.6s var(--transition-slow) 0.1s both;
}

.hero-name .name-accent {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-container) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title {
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
  color: var(--on-surface-variant);
  margin-bottom: 16px;
  animation: fade-in-up 0.6s var(--transition-slow) 0.2s both;
}

.hero-description {
  font-size: 16px;
  line-height: 26px;
  color: var(--on-surface-variant);
  margin-bottom: 24px;
  animation: fade-in-up 0.6s var(--transition-slow) 0.3s both;
}

/* Quick contact info rows */
.hero-info-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
  animation: fade-in-up 0.6s var(--transition-slow) 0.35s both;
}

.hero-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--on-surface-variant);
  font-weight: 500;
}

.hero-info-item svg {
  color: var(--primary-container);
  flex-shrink: 0;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  animation: fade-in-up 0.6s var(--transition-slow) 0.4s both;
}

.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--outline-variant);
  animation: fade-in-up 0.6s var(--transition-slow) 0.5s both;
}

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

.stat-number {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--primary);
  line-height: 1.2;
}

.stat-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--on-surface-variant);
  margin-top: 4px;
}

/* --- Profile photo column --- */
.hero-photo-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fade-in-up 0.8s var(--transition-slow) 0.2s both;
}

.hero-photo-bg {
  position: absolute;
  inset: -24px;
  border-radius: 40% 60% 55% 45% / 45% 40% 60% 55%;
  background: linear-gradient(135deg, rgba(14,116,144,0.08) 0%, rgba(0,108,73,0.06) 100%);
  animation: morph-shape 10s ease-in-out infinite;
}

.hero-photo-ring {
  position: absolute;
  inset: -8px;
  border-radius: 40% 60% 55% 45% / 45% 40% 60% 55%;
  border: 2px solid rgba(14,116,144,0.15);
  animation: morph-shape 10s ease-in-out infinite;
}

@keyframes morph-shape {
  0%, 100% { border-radius: 40% 60% 55% 45% / 45% 40% 60% 55%; }
  25% { border-radius: 55% 45% 40% 60% / 60% 55% 45% 40%; }
  50% { border-radius: 45% 55% 60% 40% / 40% 60% 55% 45%; }
  75% { border-radius: 60% 40% 45% 55% / 55% 45% 40% 60%; }
}

.hero-photo {
  position: relative;
  width: 100%;
  max-width: 420px;
  height: 520px;
  object-fit: cover;
  object-position: center top;
  border-radius: 32px;
  display: block;
  box-shadow: 0 24px 60px rgba(0, 90, 113, 0.14), 0 4px 16px rgba(0,0,0,0.06);
}

/* Floating info badges on photo */
.hero-float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface-container-lowest);
  border: 1px solid rgba(17, 28, 45, 0.08);
  border-radius: var(--radius-lg);
  padding: 12px 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  animation: float-card 4s ease-in-out infinite;
  backdrop-filter: blur(8px);
  min-width: 180px;
}

.hero-float-badge--top {
  top: 10%;
  left: -60px;
  animation-delay: 0s;
}

.hero-float-badge--bottom {
  bottom: 12%;
  right: -52px;
  animation-delay: 1.8s;
}

@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hfb-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  background: rgba(14,116,144,0.1);
  color: var(--primary-container);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hfb-icon--green {
  background: rgba(0,108,73,0.1);
  color: var(--secondary);
}

.hfb-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--on-surface);
  line-height: 1.3;
}

.hfb-sub {
  font-size: 11px;
  color: var(--on-surface-variant);
  margin-top: 2px;
}

/* ================================================================
   7. BUTTONS
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-family);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--on-primary);
}

.btn-primary:hover {
  background: var(--primary-container);
  color: var(--on-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 90, 113, 0.2);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--on-primary);
  transform: translateY(-2px);
}

.btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ================================================================
   8. ABOUT SECTION
   ================================================================ */
.about {
  background: var(--surface-container-lowest);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-text p {
  font-size: 18px;
  line-height: 28px;
  color: var(--on-surface-variant);
  margin-bottom: 24px;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}

.highlight-card {
  padding: 20px;
  background: var(--surface-container-low);
  border: 1px solid rgba(17, 28, 45, 0.06);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.highlight-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}

.highlight-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: rgba(14, 116, 144, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: var(--primary-container);
}

.highlight-card h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--on-surface);
  margin-bottom: 4px;
}

.highlight-card p {
  font-size: 13px;
  line-height: 18px;
  color: var(--on-surface-variant);
  margin-bottom: 0;
}

.about-visual {
  position: relative;
}

/* ---- Career Dashboard Card ---- */
.about-dashboard {
  background: var(--surface-container-lowest);
  border: 1px solid rgba(17, 28, 45, 0.07);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 2px 24px rgba(17, 28, 45, 0.05);
}

/* Top row: availability + location */
.adb-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.adb-availability {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(0, 108, 73, 0.07);
  border: 1px solid rgba(0, 108, 73, 0.15);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  color: var(--secondary);
}

.adb-avail-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--secondary);
  animation: pulse-dot 2s ease-in-out infinite;
}

.adb-avail-text {
  font-size: 12px;
}

.adb-location {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 500;
  color: var(--on-surface-variant);
}

/* Stats row */
.adb-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--surface-container-low);
  border-radius: var(--radius-lg);
  padding: 16px 12px;
  justify-content: space-around;
}

.adb-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.adb-stat-num {
  font-size: 26px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  line-height: 1;
}

.adb-stat-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--on-surface-variant);
  text-align: center;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.adb-stat-divider {
  width: 1px;
  height: 32px;
  background: var(--outline-variant);
  flex-shrink: 0;
}

/* Section labels */
.adb-section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-surface-variant);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--outline-variant);
}

/* Mini timeline */
.adb-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.adb-tl-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  position: relative;
  padding-bottom: 14px;
}

.adb-tl-item:last-child {
  padding-bottom: 0;
}

/* Vertical connecting line */
.adb-tl-item::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 14px;
  width: 1px;
  height: calc(100% - 6px);
  background: var(--outline-variant);
}

.adb-tl-item:last-child::before {
  display: none;
}

.adb-tl-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 3px;
  border: 2px solid;
  position: relative;
  z-index: 1;
}

.adb-tl-dot--teal {
  background: var(--primary-container);
  border-color: var(--primary-container);
}

.adb-tl-dot--green {
  background: var(--secondary);
  border-color: var(--secondary);
}

.adb-tl-dot--slate {
  background: var(--tertiary-container);
  border-color: var(--outline);
}

.adb-tl-content {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.adb-tl-role {
  font-size: 13px;
  font-weight: 600;
  color: var(--on-surface);
  line-height: 1.3;
}

.adb-tl-co {
  font-size: 11px;
  color: var(--on-surface-variant);
  line-height: 1.4;
}

/* Competency tags */
.adb-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.adb-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: all var(--transition-base);
}

.adb-tag--teal {
  background: rgba(14, 116, 144, 0.07);
  color: var(--primary);
  border-color: rgba(14, 116, 144, 0.15);
}

.adb-tag--green {
  background: rgba(0, 108, 73, 0.07);
  color: var(--secondary);
  border-color: rgba(0, 108, 73, 0.15);
}

.adb-tag--slate {
  background: rgba(78, 83, 86, 0.07);
  color: var(--tertiary);
  border-color: rgba(78, 83, 86, 0.15);
}

/* Certification row at bottom */
.adb-cert-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 4px;
}

.adb-cert-item {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 1;
  min-width: 130px;
  padding: 10px 12px;
  background: var(--surface-container-low);
  border: 1px solid rgba(0, 108, 73, 0.12);
  border-radius: var(--radius);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--on-surface-variant);
  transition: all var(--transition-base);
}

.adb-cert-item:hover {
  background: rgba(0, 108, 73, 0.05);
  color: var(--secondary);
  border-color: rgba(0, 108, 73, 0.2);
}

.adb-cert-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  background: rgba(0, 108, 73, 0.08);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ================================================================
   9. EDUCATION SECTION
   ================================================================ */
.education {
  background: var(--background);
}

.education-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
}

.edu-card {
  background: var(--surface-container-lowest);
  border: 1px solid rgba(17, 28, 45, 0.06);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
}

.edu-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-container) 100%);
}

.edu-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.edu-period {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(14, 116, 144, 0.06);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

.edu-degree {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--primary-container);
  margin-bottom: 8px;
}

.edu-institution {
  font-size: 22px;
  font-weight: 700;
  color: var(--on-surface);
  line-height: 1.3;
  margin-bottom: 16px;
}

.edu-thesis {
  padding: 16px;
  background: var(--surface-container-low);
  border-radius: var(--radius);
  border-left: 3px solid var(--primary-container);
}

.edu-thesis-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-surface-variant);
  margin-bottom: 6px;
}

.edu-thesis p {
  font-size: 14px;
  line-height: 20px;
  color: var(--on-surface-variant);
}

/* ================================================================
   10. EXPERIENCE SECTION — Timeline
   ================================================================ */
.experience {
  background: var(--surface-container-lowest);
}

.timeline {
  position: relative;
  margin-top: 48px;
  padding-left: 44px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15px;
  width: 2px;
  height: 100%;
  background: var(--outline-variant);
  border-radius: var(--radius-full);
}

.timeline-item {
  position: relative;
  padding-bottom: 48px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-node {
  position: absolute;
  left: -44px;
  top: 4px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface-container-lowest);
  border: 2px solid var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: all var(--transition-base);
}

.timeline-node::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--secondary);
}

.timeline-item:hover .timeline-node {
  background: var(--secondary);
  box-shadow: 0 0 0 6px rgba(0, 108, 73, 0.12);
}

.timeline-item:hover .timeline-node::after {
  background: var(--on-secondary);
}

.timeline-card {
  background: var(--surface-container-lowest);
  border: 1px solid rgba(17, 28, 45, 0.06);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  transition: all var(--transition-base);
}

.timeline-item:hover .timeline-card {
  border-color: rgba(0, 108, 73, 0.15);
  box-shadow: var(--shadow-card-hover);
}

.timeline-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 8px;
}

.timeline-company {
  font-size: 20px;
  font-weight: 700;
  color: var(--on-surface);
  line-height: 1.3;
}

.timeline-location {
  font-size: 13px;
  color: var(--on-surface-variant);
  margin-top: 2px;
}

.timeline-period {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(0, 108, 73, 0.06);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--secondary);
  white-space: nowrap;
}

.timeline-role {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  color: var(--primary-container);
  margin-bottom: 14px;
}

.timeline-desc {
  font-size: 15px;
  line-height: 24px;
  color: var(--on-surface-variant);
}

.timeline-desc ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.timeline-desc li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  line-height: 22px;
}

.timeline-desc li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-container);
}

/* ================================================================
   11. SKILLS SECTION — Tag Chips
   ================================================================ */
.skills {
  background: var(--background);
}

.skills-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
}

.skills-panel {
  background: var(--surface-container-lowest);
  border: 1px solid rgba(17, 28, 45, 0.06);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition-base);
}

.skills-panel:hover {
  box-shadow: var(--shadow-card-hover);
}

.skills-panel-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.skills-panel-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.skills-panel-icon--teal {
  background: rgba(14, 116, 144, 0.08);
  color: var(--primary-container);
}

.skills-panel-icon--green {
  background: rgba(0, 108, 73, 0.08);
  color: var(--secondary);
}

.skills-panel-icon--slate {
  background: rgba(78, 83, 86, 0.08);
  color: var(--tertiary);
}

.skills-panel-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--on-surface);
  letter-spacing: -0.01em;
}

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

.skill-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  border: 1px solid transparent;
  transition: all var(--transition-base);
  cursor: default;
}

.skill-tag::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.6;
  flex-shrink: 0;
}

.skill-tag--teal {
  background: rgba(14, 116, 144, 0.07);
  color: var(--primary);
  border-color: rgba(14, 116, 144, 0.15);
}

.skill-tag--teal:hover {
  background: rgba(14, 116, 144, 0.14);
  border-color: rgba(14, 116, 144, 0.3);
}

.skill-tag--green {
  background: rgba(0, 108, 73, 0.07);
  color: var(--secondary);
  border-color: rgba(0, 108, 73, 0.15);
}

.skill-tag--green:hover {
  background: rgba(0, 108, 73, 0.14);
  border-color: rgba(0, 108, 73, 0.3);
}

.skill-tag--slate {
  background: rgba(78, 83, 86, 0.07);
  color: var(--tertiary);
  border-color: rgba(78, 83, 86, 0.15);
}

.skill-tag--slate:hover {
  background: rgba(78, 83, 86, 0.14);
  border-color: rgba(78, 83, 86, 0.3);
}

/* ================================================================
   12. CERTIFICATIONS / COURSES
   ================================================================ */
.certifications {
  background: var(--surface-container-lowest);
}

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

.cert-card {
  background: var(--surface-container-lowest);
  border: 1px solid rgba(17, 28, 45, 0.06);
  border-top: 4px solid var(--secondary);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cert-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.cert-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: rgba(0, 108, 73, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
}

.cert-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--on-surface);
  line-height: 1.4;
}

.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: rgba(14, 116, 144, 0.06);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--primary);
  align-self: flex-start;
}

/* ================================================================
   13. ORGANIZATION SECTION
   ================================================================ */
.organization {
  background: var(--background);
}

.org-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 48px;
}

.org-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--surface-container-lowest);
  border: 1px solid rgba(17, 28, 45, 0.06);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  transition: all var(--transition-base);
}

.org-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(14, 116, 144, 0.12);
}

.org-year {
  padding: 6px 14px;
  background: rgba(14, 116, 144, 0.06);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
}

.org-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--on-surface);
  line-height: 1.5;
}

/* ================================================================
   14. CONTACT / FOOTER
   ================================================================ */
.contact {
  background: var(--inverse-surface);
  color: var(--inverse-on-surface);
  padding: 80px 0;
}

.contact-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.contact .section-label {
  color: var(--inverse-primary);
}

.contact .section-label::before {
  background: var(--inverse-primary);
}

.contact .section-title {
  color: var(--inverse-on-surface);
}

.contact .section-subtitle {
  color: rgba(236, 241, 255, 0.7);
  margin: 0 auto 40px;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  color: var(--inverse-on-surface);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition-base);
}

.contact-link:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
  color: var(--inverse-on-surface);
}

.contact-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.footer-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 32px;
}

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

.footer-copy {
  font-size: 13px;
  color: rgba(236, 241, 255, 0.5);
}

.footer-made {
  font-size: 13px;
  color: rgba(236, 241, 255, 0.5);
}

/* ================================================================
   15. SCROLL ANIMATIONS
   ================================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================================================================
   16. RESPONSIVE
   ================================================================ */

/* Tablet */
@media (max-width: 1024px) {
  :root {
    --section-padding: 72px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-photo-wrapper {
    order: -1;
  }

  .hero-photo {
    max-width: 360px;
    height: 420px;
    margin: 0 auto;
  }

  .hero-float-badge--top {
    left: -10px;
    top: 5%;
  }

  .hero-float-badge--bottom {
    right: -10px;
    bottom: 8%;
  }

  .hero-name {
    font-size: 44px;
    line-height: 52px;
  }

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

  .about-visual {
    order: -1;
    max-height: 400px;
  }

  .about-image-wrapper {
    aspect-ratio: 16 / 9;
  }

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

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

  .hero-stats {
    gap: 32px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --section-padding: 56px;
    --gutter: 20px;
  }

  .navbar-inner {
    height: 64px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    flex-direction: column;
    background: var(--surface-container-lowest);
    padding: 100px 32px 40px;
    gap: 24px;
    transition: right var(--transition-smooth);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.1);
    align-items: flex-start;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    font-size: 16px;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    padding-top: 64px;
    min-height: auto;
    padding-bottom: 48px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-photo-wrapper {
    order: -1;
  }

  .hero-photo {
    max-width: 280px;
    height: 320px;
    margin: 0 auto;
  }

  .hero-float-badge {
    display: none;
  }

  .hero-name {
    font-size: 36px;
    line-height: 44px;
  }

  .hero-title {
    font-size: 18px;
    line-height: 26px;
  }

  .hero-description {
    font-size: 15px;
    line-height: 24px;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 24px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .skills-panels {
    grid-template-columns: 1fr;
  }

  .btn {
    justify-content: center;
  }

  .section-title {
    font-size: 28px;
    line-height: 36px;
  }

  .about-highlights {
    grid-template-columns: 1fr;
  }

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

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

  .timeline {
    padding-left: 36px;
  }

  .timeline::before {
    left: 11px;
  }

  .timeline-node {
    left: -36px;
    width: 24px;
    height: 24px;
  }

  .timeline-node::after {
    width: 8px;
    height: 8px;
  }

  .timeline-card {
    padding: 20px;
  }

  .timeline-header {
    flex-direction: column;
    gap: 8px;
  }

  .contact-links {
    flex-direction: column;
    align-items: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .about-float-card {
    display: none;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .hero-name {
    font-size: 30px;
    line-height: 38px;
  }

  .stat-number {
    font-size: 28px;
  }
}

/* Mobile nav overlay */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(17, 28, 45, 0.3);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
  z-index: 999;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}
