/* ─── DESIGN SYSTEM ─────────────────────────────── */
    :root {
      --ink:       #0a0a0f;
      --ink-2:     #111118;
      --ink-3:     #1a1a26;
      --line:      rgba(255,255,255,0.07);
      --text:      #e8e8f0;
      --muted:     #8585cf;
      --lime:      #8e3bb4;
      --lime-dim:  #660155;
      --white:     #ffffff;
      --radius:    12px;
      --radius-lg: 20px;
      --font-head: 'Syne', sans-serif;
      --font-body: 'DM Sans', sans-serif;
      --font-mono: 'JetBrains Mono', monospace;
      --max:       1160px;
    }

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

    body {
      font-family: var(--font-body);
      background: var(--ink);
      color: var(--text);
      overflow-x: hidden;
      line-height: 1.6;
    }

    /* ─── NOISE OVERLAY ─────────────────────────────── */
    body::before {
      content: '';
      position: fixed;
      inset: 0;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
      pointer-events: none;
      z-index: 1000;
      opacity: 0.5;
    }

    /* ─── SCROLL PROGRESS ───────────────────────────── */
    #progress {
      position: fixed;
      top: 0; left: 0;
      height: 2px;
      background: var(--lime);
      z-index: 9999;
      width: 0%;
      transition: width 0.1s linear;
    }

    /* ─── LAYOUT ────────────────────────────────────── */
    .wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
    .section-py { padding: 100px 0; }
    .section-sm { padding: 64px 0; }

    /* ─── EYEBROW ───────────────────────────────────── */
    .eyebrow {
      font-family: var(--font-mono);
      font-size: 0.72rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--lime);
      display: inline-flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 14px;
    }
    .eyebrow::before {
      content: '';
      display: block;
      width: 20px;
      height: 1px;
      background: var(--lime);
    }

    /* ─── HEADINGS ──────────────────────────────────── */
    h1, h2, h3 {
      font-family: var(--font-head);
      font-weight: 800;
      line-height: 1.08;
      letter-spacing: -0.01em;
    }
    h1 { font-size: clamp(3rem, 7vw, 6rem); }
    h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
    h3 { font-size: 1.25rem; font-weight: 700; }

    .lime { color: var(--lime); }
    .muted { color: var(--muted); }

    /* ─── NAVBAR ────────────────────────────────────── */
    nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 500;
      padding: 20px 0;
      transition: background 0.3s, padding 0.3s, border-color 0.3s;
      border-bottom: 1px solid transparent;
    }
    nav.scrolled {
      background: rgba(10,10,15,0.92);
      backdrop-filter: blur(20px);
      padding: 14px 0;
      border-color: var(--line);
    }
    .nav-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .nav-logo {
      font-family: var(--font-head);
      font-size: 1.35rem;
      font-weight: 800;
      color: var(--white);
      text-decoration: none;
      letter-spacing: -0.02em;
    }
    .nav-logo span { color: var(--lime); }
    .nav-links {
      display: flex;
      align-items: center;
      gap: 32px;
      list-style: none;
    }
    .nav-links a {
      font-size: 0.88rem;
      font-weight: 500;
      color: var(--muted);
      text-decoration: none;
      transition: color 0.2s, text-shadow 0.2s;
      letter-spacing: 0.02em;
    }
    .nav-links a:hover {
      color: var(--white);
      text-shadow: 0 0 20px rgba(232, 255, 107, 0.3);
    }
    .nav-cta {
      background: var(--lime);
      color: var(--ink) !important;
      padding: 9px 20px;
      border-radius: 6px;
      font-weight: 700 !important;
      font-size: 0.85rem !important;
      transition: background 0.2s, transform 0.15s, box-shadow 0.2s !important;
      box-shadow: 0 4px 16px rgba(232, 255, 107, 0.2) !important;
    }
    .nav-cta:hover {
      background: var(--lime-dim) !important;
      transform: translateY(-2px);
      box-shadow: 0 6px 24px rgba(232, 255, 107, 0.3) !important;
    }

    /* hamburger */
    .ham { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
    .ham span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
    .ham.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .ham.open span:nth-child(2) { opacity: 0; }
    .ham.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    /* mobile drawer */
    .mob-nav {
      display: none;
      position: fixed;
      top: 0; right: 0; bottom: 0;
      width: min(320px, 85vw);
      background: var(--ink-2);
      border-left: 1px solid var(--line);
      z-index: 490;
      flex-direction: column;
      padding: 100px 32px 40px;
      gap: 8px;
      transform: translateX(100%);
      transition: transform 0.35s cubic-bezier(.4,0,.2,1);
    }
    .mob-nav.open { transform: translateX(0); display: flex; }
    .mob-nav a {
      font-family: var(--font-head);
      font-size: 1.4rem;
      font-weight: 700;
      color: var(--muted);
      text-decoration: none;
      padding: 10px 0;
      border-bottom: 1px solid var(--line);
      transition: color 0.2s;
    }
    .mob-nav a:hover { color: var(--lime); }
    .overlay { display: none; position: fixed; inset: 0; z-index: 489; background: rgba(0,0,0,0.5); }
    .overlay.open { display: block; }

    /* ─── HERO ──────────────────────────────────────── */
    #home {
      min-height: 100svh;
      display: flex;
      align-items: center;
      position: relative;
      padding-top: 80px;
      overflow: hidden;
    }
    /* grid lines bg */
    #home::after {
      content: '';
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
      background-size: 60px 60px;
      mask-image: radial-gradient(ellipse at 60% 40%, black 0%, transparent 70%);
    }
    .hero-glow {
      position: absolute;
      width: 600px; height: 600px;
      background: radial-gradient(circle, rgba(232,255,107,0.08) 0%, transparent 70%);
      top: -100px; right: -100px;
      pointer-events: none;
    }
    .hero-glow-2 {
      position: absolute;
      width: 400px; height: 400px;
      background: radial-gradient(circle, rgba(100,80,255,0.06) 0%, transparent 70%);
      bottom: 0; left: -50px;
      pointer-events: none;
    }
    .hero-inner {
      position: relative;
      z-index: 2;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 60px;
      align-items: center;
      width: 100%;
    }
    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(232,255,107,0.08);
      border: 1px solid rgba(232,255,107,0.2);
      border-radius: 100px;
      padding: 6px 14px 6px 8px;
      font-size: 0.78rem;
      font-family: var(--font-mono);
      color: var(--lime);
      margin-bottom: 24px;
      animation: slideInDown 0.8s cubic-bezier(0.33, 0.66, 0.66, 1);
    }
    @keyframes slideInDown {
      from {
        opacity: 0;
        transform: translateY(-20px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
    .hero-badge .dot {
      width: 8px; height: 8px;
      background: var(--lime);
      border-radius: 50%;
      animation: pulse 2s infinite;
    }
    @keyframes pulse {
      0%, 100% { box-shadow: 0 0 0 0 rgba(232,255,107,0.4); }
      50% { box-shadow: 0 0 0 6px rgba(232,255,107,0); }
    }
    .hero-h1 {
      margin-bottom: 20px;
      animation: fadeInUp 1s cubic-bezier(0.33, 0.66, 0.66, 1);
    }
    .hero-h1 em {
      font-style: normal;
      color: var(--lime);
      display: block;
    }
    .hero-sub {
      font-size: 1.1rem;
      color: var(--muted);
      max-width: 460px;
      line-height: 1.7;
      margin-bottom: 36px;
      animation: fadeInUp 1s cubic-bezier(0.33, 0.66, 0.66, 1) 0.2s backwards;
    }
    .hero-sub strong { color: var(--text); }
    .btn-row {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
      animation: fadeInUp 1s cubic-bezier(0.33, 0.66, 0.66, 1) 0.4s backwards;
    }
    .btn-primary {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: var(--lime);
      color: var(--ink);
      font-family: var(--font-head);
      font-weight: 700;
      font-size: 0.9rem;
      padding: 13px 26px;
      border-radius: var(--radius);
      text-decoration: none;
      transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
      border: none;
      cursor: pointer;
      box-shadow: 0 8px 20px rgba(232, 255, 107, 0.15);
    }
    .btn-primary:hover {
      transform: translateY(-3px);
      background: var(--lime-dim);
      box-shadow: 0 12px 28px rgba(232, 255, 107, 0.25);
    }
    .btn-primary:active {
      transform: translateY(-1px);
    }
    .btn-outline {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: transparent;
      color: var(--text);
      font-family: var(--font-head);
      font-weight: 600;
      font-size: 0.9rem;
      padding: 12px 24px;
      border-radius: var(--radius);
      text-decoration: none;
      border: 1px solid var(--line);
      transition: border-color 0.2s, transform 0.2s, background 0.2s, color 0.2s;
      cursor: pointer;
    }
    .btn-outline:hover {
      border-color: var(--lime);
      transform: translateY(-2px);
      background: rgba(232, 255, 107, 0.05);
      color: var(--lime);
    }

    /* hero stats */
    .hero-stats {
      display: flex;
      gap: 32px;
      margin-top: 48px;
      padding-top: 40px;
      border-top: 1px solid var(--line);
      animation: fadeInUp 1s ease 0.4s backwards;
    }
    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(20px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
    .stat-num {
      font-family: var(--font-head);
      font-size: 2rem;
      font-weight: 800;
      color: var(--white);
      line-height: 1;
    }
    .stat-num span { color: var(--lime); }
    .stat-label {
      font-size: 0.8rem;
      color: var(--muted);
      margin-top: 4px;
    }

    /* hero right: terminal card */
    .hero-terminal {
      background: var(--ink-2);
      border: 1px solid var(--line);
      border-radius: var(--radius-lg);
      overflow: hidden;
      box-shadow: 0 40px 100px rgba(0,0,0,0.6), inset 0 1px 0 rgba(232, 255, 107, 0.05);
      font-family: var(--font-mono);
      transition: transform 0.6s cubic-bezier(0.33, 0.66, 0.66, 1), box-shadow 0.6s cubic-bezier(0.33, 0.66, 0.66, 1);
    }
    @media (hover: hover) {
      .hero-right:hover .hero-terminal {
        transform: translateY(-8px);
        box-shadow: 0 60px 120px rgba(0,0,0,0.7), inset 0 1px 0 rgba(232, 255, 107, 0.1);
      }
    }
    .terminal-bar {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 14px 18px;
      background: var(--ink-3);
      border-bottom: 1px solid var(--line);
    }
    .t-dot { width: 12px; height: 12px; border-radius: 50%; }
    .t-dot.r { background: #ff5f57; }
    .t-dot.y { background: #febc2e; }
    .t-dot.g { background: #28c840; }
    .t-title { font-size: 0.75rem; color: var(--muted); margin-left: 8px; }
    .terminal-body { padding: 24px; font-size: 0.82rem; line-height: 1.9; }
    .t-line { display: flex; }
    .t-prompt { color: var(--lime); margin-right: 10px; user-select: none; }
    .t-cmd { color: var(--text); }
    .t-out { color: var(--muted); padding-left: 20px; }
    .t-key { color: #7dd3fc; }
    .t-val { color: #86efac; }
    .t-str { color: #fca5a5; }
    .t-cursor {
      display: inline-block;
      width: 8px; height: 14px;
      background: var(--lime);
      animation: blink 1s step-end infinite;
      vertical-align: middle;
      margin-left: 2px;
    }
    @keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }

    /* floating chip */
    .hero-chip {
      position: absolute;
      bottom: -18px;
      right: 24px;
      background: var(--ink-3);
      border: 1px solid var(--line);
      border-radius: 10px;
      padding: 10px 16px;
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 0.8rem;
      color: var(--text);
      white-space: nowrap;
      box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    }
    .chip-icon { font-size: 1.1rem; }

    /* ─── ABOUT ─────────────────────────────────────── */
    #about { background: var(--ink-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
    .about-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px;
      align-items: center;
    }
    .about-text p {
      color: var(--muted);
      line-height: 1.8;
      margin-bottom: 18px;
      font-size: 0.95rem;
    }
    .about-text p strong { color: var(--text); }
    .about-checks {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
      margin-top: 28px;
    }
    .check-item {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 0.88rem;
      color: var(--muted);
    }
    .check-item .ci {
      width: 24px; height: 24px;
      background: rgba(232,255,107,0.08);
      border: 1px solid rgba(232,255,107,0.2);
      border-radius: 6px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.65rem;
      color: var(--lime);
      flex-shrink: 0;
    }

    /* photo placeholder */
    .photo-box {
      position: relative;
    }
    .photo-frame {
      width: 100%;
      aspect-ratio: 4/5;
      background: var(--ink-3);
      border: 1px solid var(--line);
      border-radius: var(--radius-lg);
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      position: relative;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(232, 255, 107, 0.1);
    }
    .photo-frame img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.6s cubic-bezier(0.33, 0.66, 0.66, 1);
    }
    .photo-box:hover .photo-frame img {
      transform: scale(1.05);
    }
    .photo-frame .ph-icon {
      font-size: 6rem;
      color: var(--muted);
      opacity: 0.3;
    }
    .photo-tag {
      position: absolute;
      bottom: -20px;
      left: -20px;
      background: var(--lime);
      color: var(--ink);
      border-radius: 12px;
      padding: 14px 20px;
      font-family: var(--font-head);
      font-weight: 800;
      box-shadow: 0 12px 40px rgba(232, 255, 107, 0.25);
      transition: transform 0.3s, box-shadow 0.3s;
    }
    .photo-box:hover .photo-tag {
      transform: translateY(-4px) translateX(-4px);
      box-shadow: 0 16px 48px rgba(232, 255, 107, 0.35);
    }
    .photo-tag .big { font-size: 1.6rem; line-height: 1; }
    .photo-tag .sm { font-size: 0.7rem; opacity: 0.7; }
    .photo-deco {
      position: absolute;
      top: -16px;
      right: -16px;
      width: 80px; height: 80px;
      border: 2px solid rgba(232,255,107,0.25);
      border-radius: 50%;
      animation: spin 8s linear infinite;
    }
    @keyframes spin {
      from { transform: rotate(0deg); }
      to { transform: rotate(360deg); }
    }

    /* ─── SKILLS ────────────────────────────────────── */
    #skills { background: var(--ink-3); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
    .skills-intro { max-width: 560px; margin-bottom: 60px; }
    .skills-intro p { color: var(--muted); margin-top: 14px; }

    .skills-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
    }
    .skill-card {
      background: var(--ink-2);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      padding: 24px 20px;
      text-align: center;
      transition: border-color 0.25s, transform 0.25s, background 0.25s, box-shadow 0.25s;
      cursor: default;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    .skill-card:hover {
      border-color: rgba(232,255,107,0.3);
      transform: translateY(-6px);
      background: var(--ink-3);
      box-shadow: 0 8px 24px rgba(232, 255, 107, 0.15);
    }
    .skill-card .sk-icon {
      font-size: 2rem;
      margin-bottom: 10px;
      display: block;
    }
    .skill-card h4 {
      font-family: var(--font-head);
      font-size: 0.9rem;
      font-weight: 700;
      color: var(--text);
    }
    .skill-card .sk-level {
      font-family: var(--font-mono);
      font-size: 0.68rem;
      color: var(--muted);
      margin-top: 4px;
    }

    /* skill bar row */
    .bar-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px 60px;
      margin-top: 56px;
    }
    .bar-item {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    .bar-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 8px;
    }
    .bar-name { font-size: 0.85rem; color: var(--text); font-weight: 500; }
    .bar-pct { font-family: var(--font-mono); font-size: 0.75rem; color: var(--lime); }
    .bar-track {
      height: 3px;
      background: var(--line);
      border-radius: 2px;
      overflow: hidden;
    }
    .bar-fill {
      height: 100%;
      background: linear-gradient(90deg, var(--lime), var(--lime-dim));
      border-radius: 2px;
      width: 0%;
      transition: width 1.2s cubic-bezier(.4,0,.2,1);
    }

    /* ─── SERVICES ──────────────────────────────────── */
    #services { background: var(--ink-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
      margin-top: 52px;
    }
    .srv-card {
      background: var(--ink);
      border: 1px solid var(--line);
      border-radius: var(--radius-lg);
      padding: 36px 28px;
      transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
      position: relative;
      overflow: hidden;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }
    .srv-card::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 2px;
      background: var(--lime);
      opacity: 0;
      transition: opacity 0.3s;
    }
    .srv-card:hover {
      border-color: rgba(232,255,107,0.2);
      transform: translateY(-6px);
      box-shadow: 0 12px 32px rgba(232, 255, 107, 0.12);
    }
    .srv-card:hover::before { opacity: 1; }
    .srv-icon {
      width: 48px; height: 48px;
      background: rgba(232,255,107,0.08);
      border: 1px solid rgba(232,255,107,0.15);
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.3rem;
      margin-bottom: 20px;
    }
    .srv-card h3 { font-size: 1.15rem; margin-bottom: 10px; color: var(--white); }
    .srv-card p { color: var(--muted); font-size: 0.9rem; line-height: 1.7; margin-bottom: 20px; }
    .srv-list { list-style: none; }
    .srv-list li {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 0.85rem;
      color: var(--muted);
      padding: 5px 0;
      border-bottom: 1px solid var(--line);
    }
    .srv-list li:last-child { border-bottom: none; }
    .srv-list li::before {
      content: '→';
      color: var(--lime);
      font-size: 0.75rem;
    }

    /* ─── PROJECTS ──────────────────────────────────── */
    #portfolio { background: var(--ink-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 60px 0; }
    .proj-header {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      margin-bottom: 48px;
      flex-wrap: wrap;
      gap: 20px;
    }
    .proj-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
    }
    .proj-card {
      background: var(--ink-2);
      border: 1px solid var(--line);
      border-radius: var(--radius-lg);
      overflow: hidden;
      transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
      display: flex;
      flex-direction: column;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }
    .proj-card:hover {
      transform: translateY(-8px);
      border-color: rgba(232,255,107,0.2);
      box-shadow: 0 16px 40px rgba(232, 255, 107, 0.15);
    }
    .proj-thumb {
      aspect-ratio: 16/9;
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }
    .proj-thumb-icon {
      font-size: 3rem;
      color: rgba(255,255,255,0.12);
    }
    .proj-thumb .proj-links {
      position: absolute;
      inset: 0;
      background: rgba(10,10,15,0.8);
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
      opacity: 0;
      transition: opacity 0.25s;
    }
    .proj-card:hover .proj-links { opacity: 1; }
    .proj-link-btn {
      width: 44px; height: 44px;
      background: var(--lime);
      color: var(--ink);
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1rem;
      text-decoration: none;
      font-weight: 700;
      transition: transform 0.15s, box-shadow 0.15s;
      box-shadow: 0 4px 12px rgba(232, 255, 107, 0.2);
    }
    .proj-link-btn:hover {
      transform: scale(1.15);
      box-shadow: 0 6px 20px rgba(232, 255, 107, 0.35);
    }
    .proj-body { padding: 24px; flex: 1; }
    .proj-tag {
      font-family: var(--font-mono);
      font-size: 0.68rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--lime);
      display: flex;
      align-items: center;
      gap: 6px;
      margin-bottom: 10px;
    }
    .proj-body h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--white); }
    .proj-body p { color: var(--muted); font-size: 0.85rem; line-height: 1.65; margin-bottom: 16px; }
    .tech-row { display: flex; flex-wrap: wrap; gap: 6px; }
    .tech-pill {
      font-family: var(--font-mono);
      font-size: 0.68rem;
      padding: 4px 10px;
      background: var(--ink-3);
      border: 1px solid var(--line);
      border-radius: 100px;
      color: var(--muted);
    }

    /* netlify badge on project */
    .netlify-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-family: var(--font-mono);
      font-size: 0.65rem;
      color: #00c7b7;
      margin-top: 12px;
    }
    .netlify-badge::before {
      content: '⬡';
      color: #00c7b7;
    }

    /* ─── PROJECT PRICING & CTA ─────────────────────── */
    .project-package {
      display: flex;
      flex-direction: column;
      gap: 8px;
      margin-bottom: 16px;
      padding-top: 16px;
      border-top: 1px solid var(--line);
    }
    .project-price {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 0.95rem;
      font-weight: 600;
      color: var(--lime);
    }
    .project-price strong { color: var(--lime); }
    .project-summary {
      font-size: 0.8rem;
      color: var(--muted);
      line-height: 1.55;
      font-style: italic;
    }
    .proj-cta {
      margin-top: 16px;
      display: flex;
      gap: 8px;
    }
    .proj-cta .btn-primary {
      flex: 1;
      padding: 10px 16px;
      font-size: 0.85rem;
      text-align: center;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      border: none;
      white-space: nowrap;
    }
    .proj-cta .btn-primary:hover {
      transform: translateY(-2px);
    }

    /* ─── EXPERIENCE ────────────────────────────────── */
    #experience { background: var(--ink-2); border-top: 1px solid var(--line); }
    .exp-layout {
      display: grid;
      grid-template-columns: 1fr 2fr;
      gap: 80px;
    }
    .timeline { position: relative; }
    .timeline::before {
      content: '';
      position: absolute;
      left: 0;
      top: 0;
      bottom: 0;
      width: 1px;
      background: linear-gradient(to bottom, var(--lime), transparent);
    }
    .tl-item {
      position: relative;
      padding-left: 28px;
      padding-bottom: 40px;
    }
    .tl-item:last-child { padding-bottom: 0; }
    .tl-dot {
      position: absolute;
      left: -5px;
      top: 6px;
      width: 10px; height: 10px;
      background: var(--lime);
      border-radius: 50%;
      box-shadow: 0 0 0 3px rgba(232,255,107,0.15);
    }
    .tl-period {
      font-family: var(--font-mono);
      font-size: 0.72rem;
      color: var(--lime);
      letter-spacing: 0.08em;
      margin-bottom: 4px;
    }
    .tl-org {
      font-size: 0.8rem;
      color: var(--muted);
      margin-bottom: 8px;
    }
    .tl-item h3 { font-size: 1.05rem; margin-bottom: 10px; }
    .tl-item p { color: var(--muted); font-size: 0.875rem; line-height: 1.7; margin-bottom: 14px; }
    .tl-tags { display: flex; flex-wrap: wrap; gap: 6px; }
    .tl-tag {
      font-size: 0.72rem;
      padding: 3px 10px;
      background: rgba(232,255,107,0.07);
      border: 1px solid rgba(232,255,107,0.15);
      border-radius: 4px;
      color: var(--lime);
      font-family: var(--font-mono);
    }

    /* ─── TESTIMONIALS ──────────────────────────────── */
    #testimonials { background: var(--ink-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 60px 0; }
    .testi-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
      margin-top: 52px;
    }
    .testi-card {
      background: var(--ink-2);
      border: 1px solid var(--line);
      border-radius: var(--radius-lg);
      padding: 32px 28px;
      position: relative;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    }
    .testi-card:hover {
      transform: translateY(-4px);
      border-color: rgba(232, 255, 107, 0.15);
      box-shadow: 0 8px 24px rgba(232, 255, 107, 0.1);
    }
    .testi-quote {
      font-family: var(--font-head);
      font-size: 3.5rem;
      color: var(--lime);
      line-height: 1;
      margin-bottom: 12px;
      opacity: 0.4;
    }
    .testi-body {
      color: var(--muted);
      font-size: 0.9rem;
      line-height: 1.75;
      margin-bottom: 24px;
    }
    .testi-author { display: flex; align-items: center; gap: 14px; }
    .testi-av {
      width: 42px; height: 42px;
      background: var(--ink-3);
      border: 1px solid var(--line);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: var(--font-head);
      font-size: 0.8rem;
      font-weight: 800;
      color: var(--lime);
    }
    .testi-name { font-weight: 600; font-size: 0.9rem; }
    .testi-role { font-size: 0.78rem; color: var(--muted); margin-top: 2px; }
    .stars { color: var(--lime); font-size: 0.75rem; margin-bottom: 14px; letter-spacing: 2px; }

    /* ─── CONTACT ───────────────────────────────────── */
    #contact { background: var(--ink-2); border-top: 1px solid var(--line); }
    .contact-grid {
      display: grid;
      grid-template-columns: 1fr 1.5fr;
      gap: 60px;
      align-items: start;
    }
    .contact-info h2 { margin-bottom: 14px; }
    .contact-info p { color: var(--muted); line-height: 1.75; margin-bottom: 36px; }
    .clink {
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 14px 0;
      border-bottom: 1px solid var(--line);
      text-decoration: none;
      color: var(--muted);
      font-size: 0.88rem;
      transition: color 0.2s, padding-left 0.2s;
    }
    .clink:hover {
      color: var(--lime);
      padding-left: 8px;
    }
    .clink:last-child { border-bottom: none; }
    .clink-icon {
      width: 36px; height: 36px;
      background: rgba(232,255,107,0.06);
      border: 1px solid var(--line);
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.95rem;
      color: var(--lime);
      flex-shrink: 0;
    }

    /* form */
    .form-wrap {
      background: var(--ink);
      border: 1px solid var(--line);
      border-radius: var(--radius-lg);
      padding: 40px;
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(232, 255, 107, 0.05);
    }
    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    .fg {
      display: flex;
      flex-direction: column;
      gap: 6px;
      margin-bottom: 16px;
    }
    .fg label {
      font-size: 0.78rem;
      font-family: var(--font-mono);
      color: var(--muted);
      letter-spacing: 0.06em;
    }
    .fg input, .fg textarea, .fg select {
      background: var(--ink-2);
      border: 1px solid var(--line);
      border-radius: 8px;
      padding: 12px 16px;
      color: var(--text);
      font-family: var(--font-body);
      font-size: 0.9rem;
      outline: none;
      transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
      width: 100%;
    }
    .fg input:focus, .fg textarea:focus, .fg select:focus {
      border-color: var(--lime);
      background: var(--ink-3);
      box-shadow: 0 0 0 3px rgba(232, 255, 107, 0.1);
    }
    .fg textarea { resize: vertical; min-height: 120px; }
    .fg select option { background: var(--ink-2); }
    .form-feedback {
      margin-top: 14px;
      font-size: 0.85rem;
      padding: 12px 16px;
      border-radius: 8px;
      display: none;
    }
    .form-feedback.ok { background: rgba(232,255,107,0.08); border: 1px solid rgba(232,255,107,0.2); color: var(--lime); display: block; }
    .form-feedback.err { background: rgba(255,80,80,0.08); border: 1px solid rgba(255,80,80,0.2); color: #ff8080; display: block; }

    /* ─── NETLIFY BANNER ────────────────────────────── */
    .netlify-banner {
      background: rgba(0,199,183,0.05);
      border: 1px solid rgba(0,199,183,0.15);
      border-radius: var(--radius-lg);
      padding: 40px;
      margin-top: 60px;
      display: flex;
      align-items: center;
      gap: 32px;
      box-shadow: 0 4px 16px rgba(0, 199, 183, 0.08);
    }
    .nlf-icon { font-size: 2.5rem; color: #00c7b7; flex-shrink: 0; }
    .nlf-text h3 { font-size: 1.1rem; color: var(--white); margin-bottom: 6px; }
    .nlf-text p { color: var(--muted); font-size: 0.875rem; line-height: 1.6; }
    .nlf-text code {
      font-family: var(--font-mono);
      font-size: 0.8rem;
      background: var(--ink-3);
      padding: 3px 8px;
      border-radius: 4px;
      color: #00c7b7;
      border: 1px solid rgba(0,199,183,0.2);
    }
    .nlf-steps { margin-top: 10px; list-style: none; }
    .nlf-steps li {
      font-size: 0.83rem;
      color: var(--muted);
      padding: 3px 0;
      display: flex;
      gap: 10px;
    }
    .nlf-steps li::before {
      content: attr(data-n);
      color: #00c7b7;
      font-family: var(--font-mono);
      font-size: 0.72rem;
      min-width: 18px;
    }

    /* ─── FOOTER ────────────────────────────────────── */
    footer {
      border-top: 1px solid var(--line);
      padding: 48px 0 32px;
    }
    .footer-top {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 40px;
      margin-bottom: 40px;
    }
    .footer-logo { font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; margin-bottom: 12px; }
    .footer-logo span { color: var(--lime); }
    .footer-tagline { color: var(--muted); font-size: 0.85rem; line-height: 1.65; max-width: 280px; }
    .footer-col h5 {
      font-family: var(--font-mono);
      font-size: 0.72rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--lime);
      margin-bottom: 16px;
    }
    .footer-col a {
      display: block;
      color: var(--muted);
      text-decoration: none;
      font-size: 0.875rem;
      padding: 5px 0;
      transition: color 0.2s;
    }
    .footer-col a:hover { color: var(--text); }
    .footer-bottom {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding-top: 28px;
      border-top: 1px solid var(--line);
      flex-wrap: wrap;
      gap: 16px;
    }
    .footer-copy { font-size: 0.8rem; color: var(--muted); }
    .footer-socials { display: flex; gap: 8px; }
    .social-btn {
      width: 36px; height: 36px;
      background: var(--ink-2);
      border: 1px solid var(--line);
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--muted);
      text-decoration: none;
      font-size: 0.85rem;
      transition: color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
    }
    .social-btn:hover {
      color: var(--lime);
      border-color: rgba(232,255,107,0.3);
      transform: translateY(-3px);
      box-shadow: 0 4px 12px rgba(232, 255, 107, 0.15);
    }

    #backTop {
      position: fixed;
      bottom: 28px;
      right: 28px;
      width: 44px; height: 44px;
      background: var(--lime);
      color: var(--ink);
      border: none;
      border-radius: 10px;
      cursor: pointer;
      font-size: 1rem;
      display: none;
      align-items: center;
      justify-content: center;
      z-index: 400;
      transition: transform 0.2s, box-shadow 0.2s;
      box-shadow: 0 4px 16px rgba(232, 255, 107, 0.2);
    }
    #backTop.show { display: flex; }
    #backTop:hover {
      transform: translateY(-4px);
      box-shadow: 0 8px 24px rgba(232, 255, 107, 0.35);
    }

    /* ─── REVEAL ANIMATIONS ─────────────────────────── */
    [data-reveal] {
      opacity: 1;
      transform: none;
      transition: opacity 0.7s ease, transform 0.7s ease;
    }
    [data-reveal].visible {
      opacity: 1;
      transform: none;
    }

    /* ─── RESPONSIVE ────────────────────────────────── */
    @media (max-width: 900px) {
      .nav-links { display: none; }
      .ham { display: flex; }
      .hero-inner { grid-template-columns: 1fr; }
      .hero-terminal { display: none; }
      .about-grid, .exp-layout, .contact-grid { grid-template-columns: 1fr; }
      .footer-top { grid-template-columns: 1fr 1fr; }
      .skills-grid { grid-template-columns: repeat(3, 1fr); }
      .services-grid, .proj-grid, .testi-grid { grid-template-columns: 1fr; }
      .bar-row { grid-template-columns: 1fr; }
      .form-row { grid-template-columns: 1fr; }
      .about-checks { grid-template-columns: 1fr; }
    }
    @media (max-width: 600px) {
      .skills-grid { grid-template-columns: repeat(2, 1fr); }
      .footer-top { grid-template-columns: 1fr; }
      .netlify-banner { flex-direction: column; gap: 16px; }
    }

    /* ─── BELZAC CHATBOT ────────────────────────────── */
    #chatbot-toggle {
      position: fixed;
      bottom: 24px;
      right: 24px;
      width: 60px;
      height: 60px;
      background: linear-gradient(135deg, var(--lime), var(--lime-dim));
      border: none;
      border-radius: 50%;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.5rem;
      z-index: 998;
      box-shadow: 0 4px 16px rgba(232, 255, 107, 0.3);
      transition: all 0.3s ease;
      animation: bounce 2s infinite;
    }
    #chatbot-toggle:hover {
      transform: scale(1.08);
      box-shadow: 0 6px 24px rgba(232, 255, 107, 0.4);
    }
    @keyframes bounce {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-8px); }
    }
    #chatbot-toggle.open {
      animation: none;
    }

    #chatbot-window {
      position: fixed;
      bottom: 100px;
      right: 24px;
      width: 360px;
      max-height: 600px;
      background: var(--ink-2);
      border: 1px solid var(--line);
      border-radius: var(--radius-lg);
      display: flex;
      flex-direction: column;
      z-index: 998;
      box-shadow: 0 20px 60px rgba(0,0,0,0.5);
      transform: scale(0.8) translateY(20px);
      opacity: 0;
      pointer-events: none;
      transition: all 0.3s ease;
    }
    #chatbot-window.open {
      transform: scale(1) translateY(0);
      opacity: 1;
      pointer-events: all;
    }

    #chatbot-header {
      background: linear-gradient(135deg, var(--lime), var(--lime-dim));
      padding: 18px 20px;
      border-bottom: 1px solid var(--line);
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    }
    #chatbot-header h3 {
      margin: 0;
      color: var(--ink);
      font-size: 1.1rem;
    }
    #chatbot-header .close-btn {
      background: none;
      border: none;
      color: var(--ink);
      font-size: 1.2rem;
      cursor: pointer;
      transition: transform 0.2s;
    }
    #chatbot-header .close-btn:hover {
      transform: rotate(90deg);
    }

    #chatbot-messages {
      flex: 1;
      overflow-y: auto;
      padding: 16px;
      display: flex;
      flex-direction: column;
      gap: 12px;
      max-height: 380px;
    }
    #chatbot-messages::-webkit-scrollbar {
      width: 6px;
    }
    #chatbot-messages::-webkit-scrollbar-track {
      background: var(--ink-3);
    }
    #chatbot-messages::-webkit-scrollbar-thumb {
      background: var(--lime);
      border-radius: 3px;
    }

    .chatbot-message {
      display: flex;
      gap: 8px;
      animation: fadeIn 0.3s ease;
    }
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(10px); }
      to { opacity: 1; transform: translateY(0); }
    }
    .message-bot {
      justify-content: flex-start;
    }
    .message-user {
      justify-content: flex-end;
    }
    .message-content {
      max-width: 75%;
      padding: 10px 14px;
      border-radius: 8px;
      word-wrap: break-word;
      font-size: 0.9rem;
      line-height: 1.4;
    }
    .message-bot .message-content {
      background: var(--ink-3);
      color: var(--text);
      border-left: 2px solid var(--lime);
    }
    .message-user .message-content {
      background: var(--lime);
      color: var(--ink);
      border-radius: 8px;
    }

    .message-buttons {
      display: flex;
      flex-direction: column;
      gap: 6px;
      margin-top: 6px;
    }
    .quick-reply {
      background: rgba(232, 255, 107, 0.1);
      border: 1px solid rgba(232, 255, 107, 0.3);
      color: var(--lime);
      padding: 8px 12px;
      border-radius: 6px;
      font-size: 0.8rem;
      cursor: pointer;
      transition: all 0.2s;
      text-align: left;
    }
    .quick-reply:hover {
      background: rgba(232, 255, 107, 0.2);
      border-color: var(--lime);
    }

    #chatbot-input-area {
      padding: 12px;
      border-top: 1px solid var(--line);
      display: flex;
      gap: 8px;
    }
    #chatbot-input {
      flex: 1;
      background: var(--ink-3);
      border: 1px solid var(--line);
      color: var(--text);
      padding: 10px 12px;
      border-radius: 6px;
      font-family: var(--font-body);
      font-size: 0.9rem;
      transition: border-color 0.2s;
    }
    #chatbot-input:focus {
      outline: none;
      border-color: var(--lime);
    }
    #chatbot-input::placeholder {
      color: var(--muted);
    }
    #chatbot-send {
      background: var(--lime);
      color: var(--ink);
      border: none;
      width: 36px;
      height: 36px;
      border-radius: 6px;
      cursor: pointer;
      font-size: 1.1rem;
      transition: all 0.2s;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    #chatbot-send:hover {
      transform: scale(1.05);
      box-shadow: 0 2px 8px rgba(232, 255, 107, 0.3);
    }

    .whatsapp-cta {
      background: rgba(37, 211, 102, 0.1);
      border: 1px solid rgba(37, 211, 102, 0.3);
      color: #25d366;
      padding: 10px 14px;
      border-radius: 6px;
      font-size: 0.85rem;
      cursor: pointer;
      transition: all 0.2s;
      text-align: center;
      text-decoration: none;
      display: block;
      margin-top: 8px;
    }
    .whatsapp-cta:hover {
      background: rgba(37, 211, 102, 0.2);
      border-color: #25d366;
    }

    @media (max-width: 480px) {
      #chatbot-window {
        width: calc(100vw - 32px);
        max-height: 70vh;
        bottom: 80px;
      }
      .message-content {
        max-width: 85%;
      }
    }