* { margin: 0; padding: 0; box-sizing: border-box; }
    html { overflow-x: hidden; }
    body {
      background: #000000;
      font-family: 'Inter', sans-serif;
      color: #bbffbb;
      line-height: 1.5;
      min-height: 100vh;
      position: relative;
      overflow-x: hidden;
      scroll-behavior: smooth;
    }
    #matrix-canvas {
      position: fixed; top: 0; left: 0;
      width: 100%; height: 100%;
      z-index: 0; opacity: 0.28;
      pointer-events: none; filter: brightness(1.2);
    }
    /* -- Navbar -- */
    .navbar {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 200;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 4rem;
      height: 56px;
      background: rgba(0, 6, 0, 0.88);
      backdrop-filter: blur(14px);
      border-bottom: 1px solid #2eff7a44;
      box-shadow: 0 2px 24px rgba(0,255,100,0.12);
    }
    .nav-logo {
      font-family: 'JetBrains Mono', monospace;
      font-size: 1rem;
      font-weight: 700;
      color: #0f0;
      text-shadow: 0 0 8px #0f0;
      letter-spacing: 0.05em;
      white-space: nowrap;
    }
    .nav-logo span { color: #7aff7a; }
    .nav-links {
      display: flex;
      align-items: center;
      gap: 0.2rem;
      list-style: none;
    }
    .nav-links a {
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.78rem;
      font-weight: 500;
      color: #7aff7a;
      text-decoration: none;
      padding: 0.35rem 0.85rem;
      border-radius: 2rem;
      border: 1px solid transparent;
      transition: 0.2s;
      letter-spacing: 0.04em;
    }
    .nav-links a:hover {
      color: #fff;
      border-color: #0f0;
      box-shadow: 0 0 8px rgba(0,255,0,0.5);
      background: rgba(0,255,0,0.06);
    }
    .nav-links a.active { color: #0f0; border-color: #0f0; background: rgba(0,255,0,0.08); }
    /* divider between nav links and lang switcher */
    .nav-divider {
      width: 1px; height: 22px;
      background: #2eff7a55;
      margin: 0 0.6rem;
    }
    /* Language switcher (inside navbar) */
    .lang-switcher {
      display: flex;
      gap: 0.3rem;
    }
    .lang-btn {
      background: transparent;
      border: 1px solid transparent;
      color: #7aff7a;
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.78rem;
      font-weight: 600;
      padding: 0.28rem 0.7rem;
      border-radius: 2rem;
      cursor: pointer;
      transition: 0.2s;
      letter-spacing: 0.05em;
    }
    .lang-btn:hover { color: #fff; border-color: #0f0; box-shadow: 0 0 8px #0f0; }
    .lang-btn.active { background: #003300; border-color: #0f0; color: #0f0; box-shadow: 0 0 8px #0f0; }
    /* mobile book-a-call button in navbar — hidden on desktop */
    .nav-book-btn {
      display: none;
      align-items: center;
      background: none;
      border: 1px solid #2eff7a;
      color: #0f0;
      font-size: 1.1rem;
      padding: 0.3rem 0.6rem;
      border-radius: 0.5rem;
      cursor: pointer;
      transition: 0.2s;
    }
    .nav-book-btn:hover { box-shadow: 0 0 8px rgba(0,255,0,0.5); background: rgba(0,255,0,0.06); }
    .nav-book-btn span { display: none; }

    /* hamburger for mobile */
    .nav-toggle {
      display: none;
      background: none;
      border: 1px solid #2eff7a;
      color: #0f0;
      font-size: 1.1rem;
      padding: 0.3rem 0.6rem;
      border-radius: 0.5rem;
      cursor: pointer;
    }
    @media (max-width: 768px) {
      .nav-toggle { display: block; }
      .nav-book-btn { display: flex; }
      .nav-book-btn span { display: none; }
      .navbar {
        justify-content: space-between;
        position: relative;
      }
      .nav-logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
      }
      .nav-links {
        display: none;
        position: absolute;
        top: 56px; left: 0; right: 0;
        flex-direction: column;
        background: rgba(0,6,0,0.97);
        border-bottom: 1px solid #2eff7a44;
        padding: 1rem;
        gap: 0.4rem;
      }
      .nav-links.open { display: flex; }
      .nav-divider { display: none; }
    }
    .container {
      position: relative; z-index: 2;
      max-width: 1280px; width: 100%;
      margin: 5rem auto 2rem;
      background: rgba(0,5,0,0.75);
      backdrop-filter: blur(12px);
      border-radius: 2.5rem;
      border: 1px solid #2eff7a;
      box-shadow: 0 0 40px rgba(0,255,100,0.25), 0 0 0 1px #2eff7a55 inset;
      padding: 2.8rem 2.5rem;
      transition: box-shadow 0.3s;
    }
    .container:hover { box-shadow: 0 0 60px rgba(46,255,122,0.4); }
    h1, h2, h3 { font-weight: 600; letter-spacing: -0.02em; font-family: 'JetBrains Mono', monospace; }
    h1 {
      font-size: clamp(2.6rem,7vw,4rem); line-height: 1.1;
      background: linear-gradient(135deg,#b3ffb3,#0f0,#6eff8e);
      -webkit-background-clip: text; background-clip: text;
      color: transparent; text-shadow: 0 0 12px #0f0;
      animation: glitch 5s infinite;
    }
    @keyframes glitch {
      0%,100% { text-shadow: 0 0 8px #0f0, 0 0 2px #0f0; }
      95% { text-shadow: -1px 0 #0f0, 1px 0 #0f0; }
      96% { text-shadow: 1px 0 #0f0, -1px 0 #0f0; }
    }
    .subhead {
      font-size: 1.3rem; font-weight: 400; color: #9eff9e;
      font-family: 'JetBrains Mono', monospace;
      border-left: 4px solid #0f0; padding-left: 1rem; margin-bottom: 1.2rem;
    }
    h2 {
      font-size: 2.2rem; margin-bottom: 2rem;
      position: relative; display: inline-block;
      color: #b3ffb3; text-shadow: 0 0 5px #0f0;
    }
    h2::after {
      content: ''; position: absolute; bottom: -8px; left: 0;
      width: 90px; height: 3px;
      background: linear-gradient(90deg,#0f0,#9eff9e,#0f0);
      border-radius: 2px; transition: width 0.3s;
    }
    h2:hover::after { width: 140px; }
    h3 { font-size: 1.45rem; color: #f0fff0; margin-bottom: 0.5rem; }
    .card, .skill-cat, .exp-card, .ref-card, .edu-item, .lang-item {
      background: rgba(0,10,0,0.65); backdrop-filter: blur(6px);
      border: 1px solid #2eff7a; border-radius: 1.8rem; transition: 0.2s;
    }
    .card:hover, .skill-cat:hover, .exp-card:hover, .ref-card:hover {
      border-color: #7aff9e; box-shadow: 0 0 30px rgba(46,255,122,0.4); transform: translateY(-3px);
    }
    .hero {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 2.5rem; align-items: center;
      margin-bottom: 3rem; background: rgba(0,15,0,0.6);
      border-radius: 2.5rem; padding: 2rem 2.5rem;
      border: 1px solid #2eff7a; backdrop-filter: blur(6px);
    }
    .hero > * { min-width: 0; }
    .hero-img { flex: none; position: relative; overflow: hidden; border-radius: 1.5rem; align-self: start; }
    .hero-img img {
      width: 340px; max-width: 100%; height: auto;
      border-radius: 1.5rem;
      object-fit: cover; border: 2px solid #2eff7a;
      box-shadow: 0 0 30px rgba(0,255,100,0.3); transition: 0.2s;
      display: block;
    }
    .hero-img img:hover { transform: scale(1.02); border-color: #9eff9e; box-shadow: 0 0 45px #0f0; }

    /* Glasses light sweep effect — two lens overlays */
    .lens-overlay {
      position: absolute;
      top: 22%;
      height: 4%;
      border-radius: 40% 40% 45% 45%;
      pointer-events: none;
      overflow: hidden;
    }
    .lens-left  { left: 42.5%; width: 6%; }
    .lens-right { left: 51%; width: 6%; }

    .lens-overlay::after {
      content: '';
      position: absolute;
      top: 0; bottom: 0;
      left: -120%;
      width: 80%;
      background: linear-gradient(
        110deg,
        transparent 10%,
        rgba(0, 255, 160, 0.0)  25%,
        rgba(0, 255, 160, 1.0)  38%,
        rgba(255, 255, 255, 1.0) 46%,
        rgba(200, 255, 240, 1.0) 50%,
        rgba(255, 255, 255, 1.0) 54%,
        rgba(0, 255, 160, 1.0)  62%,
        rgba(0, 255, 160, 0.0)  75%,
        transparent 90%
      );
      mix-blend-mode: screen;
      filter: blur(0.5px);
      animation: lens-sweep 4.5s ease-in-out infinite;
      opacity: 0;
    }
    .lens-right::after { animation-delay: 0.18s; }

    @keyframes lens-sweep {
      0%          { left: -120%; opacity: 0; }
      8%          { opacity: 1; }
      60%         { left: 160%;  opacity: 1; }
      70%         { opacity: 0; }
      100%        { left: 160%;  opacity: 0; }
    }

    .contact-row { display: flex; flex-wrap: wrap; gap: 1rem 1.8rem; margin: 1.5rem 0 0.5rem; }
    .contact-item {
      display: flex; align-items: center; gap: 0.8rem;
      background: #001200aa; padding: 0.5rem 1.2rem;
      border-radius: 40px; border: 1px solid #2eff7a;
      font-family: 'JetBrains Mono', monospace; font-size: 0.9rem; color: #cdffcd;
    }
    .contact-item i { color: #0f0; font-size: 1rem; }
    .contact-item a { color: inherit; text-decoration: none; border-bottom: 1px dotted #0f0; }
    .contact-item a:hover { color: white; text-shadow: 0 0 4px #0f0; }
    .btn-download {
      display: inline-flex; align-items: center; gap: 0.8rem;
      background: #001e00; border: 1px solid #0f0; color: #aaffaa;
      padding: 0.7rem 1.8rem; border-radius: 60px;
      font-weight: 600; font-family: 'JetBrains Mono', monospace;
      margin-top: 1rem; transition: 0.2s; text-decoration: none;
    }
    .btn-download:hover { background: #003300; box-shadow: 0 0 20px #0f0; border-color: #9eff9e; transform: translateY(-2px); }
        .skills-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(250px,1fr)); gap: 2rem; margin-bottom: 3rem; }
    .skill-cat { padding: 1.8rem; }
    .skill-cat h4 { font-size: 1.3rem; display: flex; align-items: center; gap: 0.6rem; color: #ccffcc; margin-bottom: 1.2rem; }
    .skill-cat h4 i { color: #0f0; }
    .skill-tags { display: flex; flex-wrap: wrap; gap: 0.8rem; }
    .skill-tag {
      background: #002200cc; border: 1px solid #2eff7a;
      padding: 0.3rem 1.2rem; border-radius: 40px;
      font-size: 0.85rem; font-family: 'JetBrains Mono', monospace;
      color: #c5ffc5; transition: 0.15s;
    }
    .skill-tag:hover { background: #0f0; color: black; border-color: #0f0; box-shadow: 0 0 12px #0f0; }
    .exp-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(340px,1fr)); gap: 2rem; margin-bottom: 3rem; }
    .exp-card { overflow: hidden; background: rgba(0,10,0,0.7); }
    .exp-img { aspect-ratio: 1 / 1; overflow: hidden; border-bottom: 2px solid #0f0; }
    .exp-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; filter: brightness(0.85) contrast(1.1); }
    .exp-card:hover .exp-img img { transform: scale(1.07); }
    .exp-content { padding: 1.5rem 1.8rem 1.8rem; }
    .exp-title { font-size: 1.35rem; font-weight: 700; color: #ffffff; font-family: 'JetBrains Mono', monospace; }
    .exp-company { color: #8aff8a; font-family: monospace; margin: 0.2rem 0; }
    .exp-date { color: #9dff9d; font-size: 0.85rem; margin-bottom: 1rem; opacity: 0.8; }
    .exp-desc { list-style: none; }
    .exp-desc li { display: flex; gap: 0.8rem; margin-bottom: 0.5rem; font-size: 0.92rem; color: #d0ffd0; }
    .exp-desc li i { color: #0f0; font-size: 0.7rem; margin-top: 0.25rem; }
    .edu-lang { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 3rem; }
    @media (max-width: 650px) { .edu-lang { grid-template-columns: 1fr; } }
    .edu-item { padding: 1rem 1.5rem; margin-bottom: 1rem; border-left: 4px solid #0f0; }
    .edu-item strong { color: #ffffff; }
    .edu-item .date { color: #9aff9a; margin-left: 1rem; font-family: monospace; }
    .lang-item { display: flex; align-items: center; gap: 1rem; padding: 0.7rem 1.5rem; border-radius: 3rem; margin-bottom: 0.8rem; }
    .lang-name { font-weight: 600; min-width: 90px; color: #ceffce; }
    .ref-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(230px,1fr)); gap: 1.6rem; margin: 2rem 0 1rem; }
    .ref-card { padding: 1.5rem 1.3rem; background: rgba(0,12,0,0.7); }
    .ref-name { font-size: 1.2rem; font-weight: 700; color: white; }
    .ref-title { color: #8aff8a; font-family: monospace; margin: 0.2rem 0 0.8rem; }
    .ref-phone { display: flex; align-items: center; gap: 0.6rem; background: #002200; padding: 0.4rem 1rem; border-radius: 2rem; border: 1px dashed #0f0; }
    .ref-phone i { color: #0f0; }
    .image-note { margin-top: 3rem; padding-top: 1.2rem; border-top: 1px solid #2eff7a; text-align: center; font-family: 'JetBrains Mono', monospace; font-size: 0.8rem; color: #7aff7a; }
    .container > * { animation: fadeUp 0.5s ease backwards; }
    .hero { animation-delay: 0.05s; } .about-card { animation-delay: 0.1s; }
        .skills-grid { animation-delay: 0.15s; } .exp-grid { animation-delay: 0.2s; }
    .edu-lang { animation-delay: 0.25s; } .ref-grid { animation-delay: 0.3s; }
    @keyframes fadeUp { 0% { opacity: 0; transform: translateY(12px); } 100% { opacity: 1; transform: translateY(0); } }
    .subhead::after { content: "_"; animation: blink 1s step-end infinite; margin-left: 5px; }
    @keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }

    /* Hero content column */
    .hero-content {
      display: flex;
      flex-direction: column;
      min-width: 0;
    }

    /* Hero terminal box */
    .hero-terminal {
      margin-top: 1.5rem;
      border-radius: 1rem;
      overflow: hidden;
      border: 1px solid #2eff7a22;
      background: rgba(0,8,0,0.5);
      padding: 1rem 1.2rem;
      flex: 1;
    }
    #hero-terminal-lines {
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.78rem;
      color: #3aff6a;
      line-height: 1.7;
      opacity: 0.75;
    }

    /* About card default padding */
    .card { padding: 2rem 2.5rem; }
    .about-p { font-size: 1.05rem; margin-bottom: 1rem; }
    .about-p-last { margin-bottom: 1.8rem; }

    /* Back to top */
    .back-to-top {
      position: fixed;
      bottom: 2rem; right: 2rem;
      z-index: 300;
      width: 46px; height: 46px;
      background: #001e00;
      border: 1px solid #0f0;
      border-radius: 50%;
      color: #0f0;
      font-size: 1.1rem;
      cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      opacity: 0; pointer-events: none;
      transition: opacity 0.3s, transform 0.2s, box-shadow 0.2s;
      box-shadow: 0 0 12px rgba(0,255,0,0.2);
    }
    .back-to-top.visible { opacity: 1; pointer-events: auto; }
    .back-to-top:hover { background: #003300; box-shadow: 0 0 22px #0f0; transform: translateY(-3px); }

    /* Available badge */
    .avail-badge {
      display: inline-flex; align-items: center; gap: 0.5rem;
      background: rgba(0,40,0,0.8); border: 1px solid #0f0;
      border-radius: 2rem; padding: 0.3rem 0.9rem;
      font-family: 'JetBrains Mono', monospace; font-size: 0.75rem;
      color: #7aff7a; margin-bottom: 0.8rem;
      box-shadow: 0 0 12px rgba(0,255,0,0.2);
    }
    .avail-dot {
      width: 8px; height: 8px; border-radius: 50%;
      background: #0f0; box-shadow: 0 0 6px #0f0;
      animation: pulse-dot 1.8s ease-in-out infinite;
    }
    @keyframes pulse-dot {
      0%,100% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.5; transform: scale(0.7); }
    }

    /* Floating book-a-call button */
    .float-book {
      position: fixed;
      bottom: 2rem; left: 2rem;
      z-index: 300;
      display: flex; align-items: center; gap: 0.6rem;
      background: #002200; border: 1px solid #0f0;
      color: #aaffaa; padding: 0.6rem 1.2rem;
      border-radius: 60px; cursor: pointer;
      font-family: 'JetBrains Mono', monospace; font-size: 0.8rem; font-weight: 600;
      box-shadow: 0 0 20px rgba(0,255,0,0.25);
      transition: 0.2s; text-decoration: none;
      opacity: 0; pointer-events: none;
      animation: floatIn 0.4s ease 1.5s forwards;
    }
    @keyframes floatIn { to { opacity: 1; pointer-events: auto; } }
    .float-book:hover { background: #003300; box-shadow: 0 0 30px #0f0; transform: translateY(-2px); }
    .float-book i { color: #0f0; }

    /* Tools & Stack section */
    .stack-section { margin-bottom: 3rem; }
    .stack-grid { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1rem; }
    .stack-tag {
      display: flex; align-items: center; gap: 0.5rem;
      background: rgba(0,12,0,0.7); border: 1px solid #2eff7a55;
      padding: 0.4rem 1rem; border-radius: 2rem;
      font-family: 'JetBrains Mono', monospace; font-size: 0.82rem;
      color: #9eff9e; transition: 0.15s;
    }
    .stack-tag:hover { border-color: #0f0; color: #fff; box-shadow: 0 0 10px rgba(0,255,0,0.3); }
    .stack-tag i { color: #0f0; font-size: 0.85rem; }

    /* Language dot indicators */
    .lang-dots { display: flex; gap: 4px; margin-left: auto; }
    .lang-dot {
      width: 10px; height: 10px; border-radius: 50%;
      border: 1px solid #2eff7a;
    }
    .lang-dot.filled { background: #0f0; box-shadow: 0 0 5px #0f0; border-color: #0f0; }

    /* cv-dropdown */
    .cv-dropdown { position: relative; display: inline-block; margin-top: 1rem; }
    .cv-dropdown .btn-download { margin-top: 0; }
    .cv-options {
      display: none; position: absolute;
      top: calc(100% + 10px); left: 0;
      background: rgba(0,8,0,0.96); backdrop-filter: blur(14px);
      border: 1px solid #2eff7a; border-radius: 1.2rem;
      overflow: hidden; min-width: 220px; z-index: 100;
      box-shadow: 0 0 30px rgba(0,255,100,0.25);
    }
    .cv-dropdown.open .cv-options { display: block; animation: cvFadeIn 0.18s ease forwards; }
    @keyframes cvFadeIn { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:translateY(0); } }
    .cv-options a {
      display: flex; align-items: center; gap: 0.8rem;
      padding: 0.85rem 1.4rem; color: #9eff9e; text-decoration: none;
      font-family: 'JetBrains Mono', monospace; font-size: 0.88rem;
      font-weight: 500; letter-spacing: 0.04em;
      border-bottom: 1px solid rgba(46,255,122,0.13);
      transition: background 0.15s, color 0.15s;
    }
    .cv-options a:last-child { border-bottom: none; }
    .cv-options a:hover { background: rgba(0,255,100,0.08); color: #fff; box-shadow: inset 3px 0 0 #0f0; }
    .cv-options a i { color: #0f0; font-size: 1rem; text-shadow: 0 0 6px #0f0; }

    /* KPI Stats bar */
    .stats-bar {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1px;
      background: #2eff7a22;
      border: 1px solid #2eff7a33;
      border-radius: 1.5rem;
      overflow: hidden;
      margin-bottom: 3rem;
    }
    .stat-item {
      background: rgba(0,10,0,0.7);
      padding: 1.6rem 1rem;
      text-align: center;
      transition: background 0.2s;
    }
    .stat-item:hover { background: rgba(0,30,0,0.8); }
    .stat-num {
      font-family: 'JetBrains Mono', monospace;
      font-size: 2.4rem; font-weight: 700;
      color: #0f0; text-shadow: 0 0 16px #0f0;
      line-height: 1;
    }
    .stat-label {
      font-size: 0.8rem; color: #7aff7a;
      font-family: 'JetBrains Mono', monospace;
      margin-top: 0.4rem; opacity: 0.85;
    }

    /* Services section */
    .services-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 1.5rem;
      margin-bottom: 3rem;
    }
    .service-card {
      background: rgba(0,10,0,0.65);
      border: 1px solid #2eff7a44;
      border-radius: 1.5rem;
      padding: 1.8rem;
      transition: 0.25s;
      position: relative;
      overflow: hidden;
    }
    .service-card::before {
      content: '';
      position: absolute; top: 0; left: 0; right: 0;
      height: 2px;
      background: linear-gradient(90deg, transparent, #0f0, transparent);
      opacity: 0; transition: opacity 0.3s;
    }
    .service-card:hover { border-color: #0f0; box-shadow: 0 0 30px rgba(0,255,0,0.2); transform: translateY(-4px); }
    .service-card:hover::before { opacity: 1; }
    .service-icon {
      width: 52px; height: 52px;
      background: rgba(0,255,0,0.08);
      border: 1px solid #2eff7a55;
      border-radius: 1rem;
      display: flex; align-items: center; justify-content: center;
      font-size: 1.4rem; color: #0f0;
      margin-bottom: 1rem;
      text-shadow: 0 0 10px #0f0;
    }
    .service-title {
      font-family: 'JetBrains Mono', monospace;
      font-size: 1rem; font-weight: 700;
      color: #e0ffe0; margin-bottom: 0.6rem;
    }
    .service-desc {
      font-size: 0.88rem; color: #9eff9e; line-height: 1.6;
    }
    .service-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1rem; }
    .service-tag {
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.72rem; color: #5aff5a;
      background: rgba(0,255,0,0.06);
      border: 1px solid #2eff7a33;
      padding: 0.2rem 0.7rem; border-radius: 2rem;
    }

    /* Why me section */
    .why-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 1.2rem;
      margin-bottom: 3rem;
    }
    .why-item {
      background: rgba(0,8,0,0.6);
      border: 1px solid #2eff7a33;
      border-radius: 1.2rem;
      padding: 1.4rem;
      display: flex; gap: 1rem; align-items: flex-start;
      transition: 0.2s;
    }
    .why-item:hover { border-color: #0f0; background: rgba(0,20,0,0.7); }
    .why-icon { color: #0f0; font-size: 1.3rem; margin-top: 0.1rem; flex-shrink: 0; text-shadow: 0 0 8px #0f0; }
    .why-text strong { display: block; font-family: 'JetBrains Mono', monospace; font-size: 0.9rem; color: #e0ffe0; margin-bottom: 0.3rem; }
    .why-text span { font-size: 0.83rem; color: #8aff8a; line-height: 1.5; }

    /* Process section */
    .process-steps {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 0;
      margin-bottom: 3rem;
      position: relative;
    }
    .process-step {
      background: rgba(0,10,0,0.6);
      border: 1px solid #2eff7a33;
      padding: 1.6rem 1.4rem;
      text-align: center;
      position: relative;
      transition: 0.2s;
    }
    .process-step:not(:last-child)::after {
      content: '→';
      position: absolute; right: -0.6rem; top: 50%;
      transform: translateY(-50%);
      color: #0f0; font-size: 1.2rem; z-index: 2;
    }
    .process-step:hover { background: rgba(0,25,0,0.8); border-color: #0f0; }
    .process-num {
      font-family: 'JetBrains Mono', monospace;
      font-size: 2rem; font-weight: 700;
      color: #0f0; opacity: 0.3; line-height: 1;
    }
    .process-title {
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.88rem; font-weight: 700;
      color: #e0ffe0; margin: 0.5rem 0 0.4rem;
    }
    .process-desc { font-size: 0.8rem; color: #7aff7a; line-height: 1.5; }

    /* Scroll reveal */
    .reveal {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .reveal.visible { opacity: 1; transform: translateY(0); }

    /* Section divider */
    .section-divider {
      border: none;
      border-top: 1px solid #2eff7a22;
      margin: 0.5rem 0 3rem;
    }

    /* Improved exp-card type badge */
    .exp-type {
      display: inline-block;
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.68rem;
      padding: 0.15rem 0.7rem;
      border-radius: 2rem;
      border: 1px solid #2eff7a55;
      color: #5aff5a;
      background: rgba(0,255,0,0.05);
      margin-bottom: 0.5rem;
    }

    /* Blog section */
    .blog-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 1.8rem;
      margin-bottom: 3rem;
    }
    .blog-card {
      background: rgba(0,10,0,0.65);
      border: 1px solid #2eff7a33;
      border-radius: 1.5rem;
      overflow: hidden;
      transition: 0.25s;
      display: flex; flex-direction: column;
      text-decoration: none;
    }
    .blog-card:hover { border-color: #0f0; box-shadow: 0 0 30px rgba(0,255,0,0.2); transform: translateY(-4px); }
    .blog-card-header {
      padding: 1.6rem 1.6rem 0;
    }
    .blog-tag {
      display: inline-block;
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.68rem; font-weight: 600;
      padding: 0.2rem 0.8rem; border-radius: 2rem;
      border: 1px solid #2eff7a55; color: #5aff5a;
      background: rgba(0,255,0,0.06); margin-bottom: 0.8rem;
      text-transform: uppercase; letter-spacing: 0.06em;
    }
    .blog-card-title {
      font-family: 'JetBrains Mono', monospace;
      font-size: 1rem; font-weight: 700;
      color: #e0ffe0; line-height: 1.4; margin-bottom: 0.7rem;
    }
    .blog-card-excerpt {
      font-size: 0.85rem; color: #8aff8a; line-height: 1.6;
      padding: 0 1.6rem;
    }
    .blog-card-footer {
      margin-top: auto;
      padding: 1rem 1.6rem 1.4rem;
      display: flex; align-items: center; justify-content: space-between;
      border-top: 1px solid #2eff7a22; margin-top: 1rem;
    }
    .blog-card-date {
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.72rem; color: #5aff5a; opacity: 0.8;
    }
    .blog-card-read {
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.72rem; color: #0f0;
    }

    /* Improved footer */
    .site-footer {
      margin-top: 3rem;
      padding: 1.5rem 0 0.5rem;
      border-top: 1px solid #2eff7a33;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.78rem;
      color: #5aff5a;
    }
    .footer-links { display: flex; gap: 1.2rem; flex-wrap: wrap; }
    .footer-links a { color: #7aff7a; text-decoration: none; transition: color 0.2s; }
    .footer-links a:hover { color: #0f0; text-shadow: 0 0 6px #0f0; }

    /* =============================================
       MOBILE — 768px and below
       ============================================= */
    @media (max-width: 768px) {

      /* Reduce matrix noise */
      #matrix-canvas { opacity: 0.12 !important; }

      /* Navbar */
      .navbar { padding: 0 1rem; }

      /* Outer container — flush to screen edges, safe padding inside */
      .container {
        margin: 4rem 0 1.5rem;
        padding: 1.2rem 1rem;
        border-radius: 1rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
      }

      /* Hero — vertical stack */
      .hero {
        display: flex !important;
        flex-direction: column !important;
        padding: 1.2rem 1rem;
        gap: 1rem;
        border-radius: 1rem;
        margin-bottom: 1.5rem;
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
      }

      /* Hero content — full width, no overflow */
      .hero-content {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        min-width: 0 !important;
        align-items: flex-start;
      }

      /* Profile image — centered above text */
      .hero-img {
        order: -1;
        width: 100%;
        text-align: center;
      }
      .hero-img img {
        width: min(260px, 72vw) !important;
        height: auto !important;
        border-radius: 1.2rem !important;
        margin: 0 auto !important;
        display: block !important;
        object-fit: cover !important;
      }

      /* Typography — scale down aggressively */
      h1 {
        font-size: clamp(1.4rem, 6.5vw, 2rem) !important;
        line-height: 1.2 !important;
        word-break: break-word;
      }
      h2 { font-size: 1.3rem; margin-bottom: 1rem; }
      h3 { font-size: 1rem; }
      .subhead {
        font-size: 0.78rem !important;
        padding-left: 0.6rem !important;
        border-left-width: 3px !important;
        word-break: break-word;
        white-space: normal !important;
      }

      /* Contact row — full width stacked */
      .contact-row {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.5rem !important;
        margin: 0.8rem 0 0.5rem !important;
        width: 100% !important;
      }
      .contact-item {
        width: 100% !important;
        font-size: 0.78rem !important;
        padding: 0.5rem 0.9rem !important;
        border-radius: 0.7rem !important;
        box-sizing: border-box !important;
        word-break: break-all;
        justify-content: flex-start !important;
      }

      /* CV dropdown — full width */
      .cv-dropdown {
        width: 100% !important;
        display: block !important;
        margin-top: 0.8rem !important;
      }
      .cv-dropdown .btn-download {
        width: 100% !important;
        justify-content: center !important;
        padding: 0.7rem 1rem !important;
        font-size: 0.85rem !important;
        box-sizing: border-box !important;
      }
      .cv-options {
        position: static !important;
        width: 100% !important;
        min-width: unset !important;
        border-radius: 0.8rem !important;
        margin-top: 0.4rem !important;
      }

      /* Terminal box — compact */
      .hero-terminal {
        margin-top: 1rem !important;
        padding: 0.8rem !important;
        flex: none !important;
        width: 100% !important;
        box-sizing: border-box !important;
      }
      #hero-terminal-lines {
        font-size: 0.68rem !important;
        line-height: 1.6 !important;
      }

      /* About card */
      .card {
        padding: 1.2rem 1rem !important;
        box-sizing: border-box !important;
        width: 100% !important;
      }
      .about-p { font-size: 0.92rem !important; }

      /* About buttons — stacked full width */
      .about-btns {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0.6rem !important;
        width: 100% !important;
      }
      .about-btns .btn-download {
        width: 100% !important;
        justify-content: center !important;
        margin-top: 0 !important;
        padding: 0.7rem 1rem !important;
        font-size: 0.85rem !important;
        box-sizing: border-box !important;
      }

      /* Stats bar — 2 cols */
      .stats-bar { grid-template-columns: repeat(2, 1fr) !important; }
      .stat-num { font-size: 1.7rem; }
      .stat-label { font-size: 0.7rem; }
      .stat-item { padding: 1.1rem 0.5rem; }

      /* All grids — single column */
      .services-grid,
      .skills-grid,
      .why-grid,
      .exp-grid,
      .blog-grid { grid-template-columns: 1fr !important; gap: 1rem !important; }

      /* Process — 2 cols */
      .process-steps { grid-template-columns: 1fr 1fr !important; }
      .process-step:not(:last-child)::after { display: none !important; }

      /* Refs — 2 cols */
      .ref-grid { grid-template-columns: 1fr 1fr !important; gap: 0.8rem !important; }
      .ref-card { padding: 1rem !important; }

      /* Edu-lang — stacked */
      .edu-lang { grid-template-columns: 1fr !important; gap: 1.5rem !important; }

      /* Footer */
      .site-footer { flex-direction: column !important; align-items: flex-start !important; gap: 0.6rem !important; font-size: 0.72rem !important; }

      /* Floating buttons */
      .float-book { bottom: 1rem; left: 1rem; font-size: 0.72rem; padding: 0.5rem 0.9rem; }
      .back-to-top { bottom: 1rem; right: 1rem; width: 38px; height: 38px; font-size: 0.9rem; }

      /* Booking modal */
      #bkModal { padding: 0 !important; }
      #bkBox {
        width: 95% !important;
        max-width: 95% !important;
        padding: 1.2rem 1rem !important;
        margin: 1rem auto !important;
        border-radius: 1rem !important;
        box-sizing: border-box !important;
      }
    }

    /* =============================================
       MOBILE — 480px and below
       ============================================= */
    @media (max-width: 480px) {

      .navbar { padding: 0 0.75rem; }

      .container {
        margin: 3.8rem 0 1rem;
        padding: 1rem 0.85rem;
      }

      .hero { padding: 1rem 0.85rem; }
      .hero-img img { width: min(220px, 68vw) !important; height: auto !important; }

      h1 { font-size: clamp(1.25rem, 7vw, 1.7rem) !important; }
      h2 { font-size: 1.15rem !important; margin-bottom: 0.9rem !important; }
      .subhead { font-size: 0.72rem !important; }

      .contact-item { font-size: 0.74rem !important; padding: 0.45rem 0.8rem !important; }

      .stat-num { font-size: 1.4rem !important; }
      .stat-label { font-size: 0.62rem !important; }
      .stat-item { padding: 0.9rem 0.3rem !important; }

      .process-steps { grid-template-columns: 1fr !important; }
      .ref-grid { grid-template-columns: 1fr !important; }

      .service-card { padding: 1rem !important; }
      .why-item { padding: 0.9rem !important; }
      .exp-content { padding: 0.9rem 1rem 1rem !important; }
      .skill-cat { padding: 1.1rem !important; }

      .stack-tag { font-size: 0.7rem !important; padding: 0.22rem 0.55rem !important; }

      .blog-card-header { padding: 1rem 1rem 0 !important; }
      .blog-card-excerpt { padding: 0 1rem !important; font-size: 0.8rem !important; }
      .blog-card-footer { padding: 0.7rem 1rem 1rem !important; }

      /* Float book — icon only */
      .float-book span { display: none !important; }
      .float-book { padding: 0 !important; border-radius: 50% !important; width: 42px !important; height: 42px !important; justify-content: center !important; left: 0.8rem !important; bottom: 0.8rem !important; }
      .back-to-top { right: 0.8rem !important; bottom: 0.8rem !important; }

      #bkBox { width: 98% !important; padding: 1rem 0.8rem !important; margin: 0.5rem auto !important; }
    }
