 *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --bg: #0d0d0f;
    --bg2: #13131a;
    --bg3: #1a1a24;
    --border: rgba(255,255,255,0.08);
    --border2: rgba(255,255,255,0.14);
    --text: #f0f0f2;
    --muted: #8888a0;
    --hint: #55556a;
    --purple: #7f77dd;
    --purple-light: #afa9ec;
    --teal: #1d9e75;
    --teal-light: #5dcaa5;
    --amber: #ef9f27;
    --blue: #378add;
    --green: #639922;
    --coral: #d85a30;
    --jenkins: #d33833;
    --jenkins-light: #f5918d;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-pill: 20px;
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-size: 15px;
  }

  a { color: inherit; text-decoration: none; }

  nav {
    position: sticky; top: 0; z-index: 100;
    background: rgba(13,13,15,0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0 2rem;
    display: flex; align-items: center; justify-content: space-between;
    height: 56px;
  }
  .nav-logo { font-size: 15px; font-weight: 600; color: var(--text); letter-spacing: -0.3px; }
  .nav-logo span { color: var(--purple-light); }
  .nav-links { display: flex; gap: 4px; }
  .nav-links a { font-size: 13px; color: var(--muted); padding: 6px 12px; border-radius: var(--radius-sm); transition: all 0.15s; }
  .nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.05); }
  .nav-cta { font-size: 13px; padding: 7px 16px; border-radius: var(--radius-sm); border: 1px solid var(--border2); color: var(--text); cursor: pointer; background: transparent; transition: all 0.15s; }
  .nav-cta:hover { background: rgba(255,255,255,0.07); }

  .hero { max-width: 900px; margin: 0 auto; padding: 80px 2rem 60px; }
  .hero-profile { display: flex; align-items: center; gap: 28px; margin-bottom: 32px; }
  .hero-photo-wrap { position: relative; flex-shrink: 0; }
  .hero-photo {
    width: 100px; height: 100px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    border: 3px solid transparent;
    background: linear-gradient(var(--bg), var(--bg)) padding-box,
                linear-gradient(135deg, #7f77dd, #1d9e75) border-box;
    display: block;
  }
  .hero-status {
    position: absolute; bottom: 4px; right: 4px;
    width: 16px; height: 16px; border-radius: 50%;
    background: var(--teal-light);
    border: 2px solid var(--bg);
    animation: pulse-dot 2s infinite;
  }
  @keyframes pulse-dot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.7;transform:scale(0.9)} }
  .hero-intro .name { font-size: 22px; font-weight: 600; color: var(--text); margin-bottom: 3px; }
  .hero-intro .role { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
  .hero-intro .loc { font-size: 12px; color: var(--hint); display: flex; align-items: center; gap: 5px; }
  .hero h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 700; letter-spacing: -1.5px; line-height: 1.1; margin-bottom: 20px; }
  .hero h1 .hl { color: var(--purple-light); }
  .hero p { font-size: 16px; color: var(--muted); max-width: 560px; margin-bottom: 32px; line-height: 1.7; }
  .hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
  .badge { font-size: 12px; padding: 5px 12px; border-radius: var(--radius-pill); border: 1px solid; font-weight: 500; }
  .badge-purple { border-color: rgba(127,119,221,0.4); color: var(--purple-light); background: rgba(127,119,221,0.08); }
  .badge-teal   { border-color: rgba(29,158,117,0.4);  color: var(--teal-light);   background: rgba(29,158,117,0.08); }
  .badge-amber  { border-color: rgba(239,159,39,0.4);  color: var(--amber);        background: rgba(239,159,39,0.08); }
  .badge-blue   { border-color: rgba(55,138,221,0.4);  color: var(--blue);         background: rgba(55,138,221,0.08); }
  .badge-coral  { border-color: rgba(216,90,48,0.4);   color: #f0997b;             background: rgba(216,90,48,0.08); }
  .badge-green  { border-color: rgba(99,153,34,0.4);   color: #97c459;             background: rgba(99,153,34,0.08); }
  .badge-jenkins{ border-color: rgba(211,56,51,0.4);   color: var(--jenkins-light);background: rgba(211,56,51,0.08); }
  .hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
  .btn-primary { padding: 10px 22px; border-radius: var(--radius-sm); background: var(--purple); color: #fff; font-size: 14px; font-weight: 500; border: none; cursor: pointer; transition: all 0.15s; }
  .btn-primary:hover { background: #9088e8; }
  .btn-outline { padding: 10px 22px; border-radius: var(--radius-sm); background: transparent; color: var(--muted); font-size: 14px; border: 1px solid var(--border2); cursor: pointer; transition: all 0.15s; }
  .btn-outline:hover { color: var(--text); background: rgba(255,255,255,0.04); }

  .section { max-width: 900px; margin: 0 auto; padding: 60px 2rem; border-top: 1px solid var(--border); }
  .sec-label { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--purple-light); margin-bottom: 6px; }
  .sec-title { font-size: 26px; font-weight: 700; letter-spacing: -0.5px; color: var(--text); margin-bottom: 32px; }

  .stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-bottom: 40px; }
  .stat-card { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; }
  .stat-card .val { font-size: 28px; font-weight: 700; color: var(--text); }
  .stat-card .lbl { font-size: 12px; color: var(--muted); margin-top: 3px; }

  .exp-item { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; display: flex; gap: 20px; margin-bottom: 12px; transition: border-color 0.2s; }
  .exp-item:hover { border-color: var(--border2); }
  .exp-icon { width: 40px; height: 40px; border-radius: var(--radius-sm); background: rgba(127,119,221,0.15); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 18px; }
  .exp-body h3 { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 3px; }
  .exp-body .company { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
  .exp-body ul { list-style: none; padding: 0; }
  .exp-body ul li { font-size: 13px; color: var(--muted); padding: 3px 0 3px 16px; position: relative; line-height: 1.5; }
  .exp-body ul li::before { content: ''; position: absolute; left: 0; top: 10px; width: 5px; height: 5px; border-radius: 50%; background: var(--purple); }
  .exp-body ul li.jenkins-bullet::before { background: var(--jenkins); }
  .exp-date { font-size: 11px; padding: 3px 10px; border-radius: var(--radius-pill); background: rgba(127,119,221,0.12); color: var(--purple-light); border: 1px solid rgba(127,119,221,0.2); white-space: nowrap; height: fit-content; margin-left: auto; flex-shrink: 0; }

  .proj-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
  .proj-card { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; cursor: pointer; transition: all 0.2s; display: flex; flex-direction: column; gap: 10px; }
  .proj-card:hover { border-color: var(--border2); transform: translateY(-2px); }
  .proj-card.jenkins-card { border-color: rgba(211,56,51,0.25); }
  .proj-card.jenkins-card:hover { border-color: rgba(211,56,51,0.5); box-shadow: 0 0 20px rgba(211,56,51,0.08); }
  .proj-card .proj-icon { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; }
  .proj-card h3 { font-size: 14px; font-weight: 600; color: var(--text); }
  .proj-card p { font-size: 13px; color: var(--muted); line-height: 1.55; flex: 1; }
  .tag-row { display: flex; flex-wrap: wrap; gap: 5px; }
  .tag { font-size: 11px; padding: 2px 8px; border-radius: 4px; background: rgba(255,255,255,0.05); color: var(--hint); border: 1px solid var(--border); }
  .tag-jenkins { font-size: 11px; padding: 2px 8px; border-radius: 4px; background: rgba(211,56,51,0.1); color: var(--jenkins-light); border: 1px solid rgba(211,56,51,0.25); }

  .pipeline-diagram { background: var(--bg2); border: 1px solid rgba(211,56,51,0.25); border-radius: var(--radius); padding: 28px 24px; margin-bottom: 32px; overflow-x: auto; }
  .pipeline-label { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--jenkins-light); margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
  .pipeline-label::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--jenkins); animation: pulse-dot 1.5s infinite; }
  .pipeline-stages { display: flex; align-items: center; gap: 0; flex-wrap: nowrap; min-width: max-content; }
  .p-stage { display: flex; flex-direction: column; align-items: center; gap: 6px; }
  .p-stage-box { background: var(--bg3); border: 1px solid var(--border2); border-radius: 8px; padding: 10px 14px; font-size: 12px; font-weight: 500; color: var(--text); white-space: nowrap; text-align: center; min-width: 90px; position: relative; transition: border-color 0.2s; }
  .p-stage-box:hover { border-color: var(--jenkins); }
  .p-stage-box .stage-icon { font-size: 16px; display: block; margin-bottom: 4px; }
  .p-stage-label { font-size: 10px; color: var(--muted); }
  .p-arrow { width: 28px; height: 2px; background: linear-gradient(90deg, var(--jenkins), rgba(211,56,51,0.3)); position: relative; flex-shrink: 0; }
  .p-arrow::after { content: '▶'; position: absolute; right: -6px; top: -7px; color: var(--jenkins); font-size: 10px; }
  .p-stage-box.success { border-color: rgba(29,158,117,0.4); }
  .p-stage-box.active { border-color: var(--jenkins); box-shadow: 0 0 12px rgba(211,56,51,0.2); }

  .skills-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
  .skill-item { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; }
  .skill-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
  .skill-name { font-size: 13px; font-weight: 500; color: var(--text); }
  .skill-pct { font-size: 12px; color: var(--muted); }
  .bar-track { height: 4px; background: rgba(255,255,255,0.07); border-radius: 2px; overflow: hidden; }
  .bar-fill { height: 4px; border-radius: 2px; transition: width 1s ease; }

  .edu-card { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; display: flex; gap: 18px; align-items: flex-start; }
  .edu-icon { width: 42px; height: 42px; border-radius: var(--radius-sm); background: rgba(29,158,117,0.15); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 20px; }
  .edu-body h3 { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
  .edu-body .univ { font-size: 13px; color: var(--muted); }
  .edu-body .year { font-size: 12px; color: var(--hint); margin-top: 4px; }

  .contact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
  .contact-card { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; display: flex; gap: 14px; align-items: center; cursor: pointer; transition: all 0.2s; text-decoration: none; }
  .contact-card:hover { border-color: var(--border2); transform: translateY(-1px); }
  .contact-card .c-icon { width: 38px; height: 38px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
  .contact-card .c-label { font-size: 11px; color: var(--hint); margin-bottom: 2px; }
  .contact-card .c-val { font-size: 13px; font-weight: 500; color: var(--text); }

  footer { text-align: center; padding: 40px 2rem; border-top: 1px solid var(--border); font-size: 13px; color: var(--hint); }

  @media (max-width: 600px) {
    nav { padding: 0 1rem; }
    .nav-links { display: none; }
    .hero { padding: 50px 1.2rem 40px; }
    .hero-profile { flex-direction: column; align-items: flex-start; gap: 16px; }
    .section { padding: 40px 1.2rem; }
    .exp-item { flex-wrap: wrap; }
    .exp-date { margin-left: 0; }
    .pipeline-stages { gap: 0; }
  }

  .fade-in { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
  .fade-in.visible { opacity: 1; transform: none; }
