:root {
      --c1: #4f46e5;
      --c2: #7c3aed;
      --c3: #06b6d4;
      --grid-line: rgba(255,255,255,0.035);
    }

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    html { scroll-behavior: smooth; }

    body {
      font-family: 'Space Grotesk', system-ui, sans-serif;
      background: #050508;
      color: #e2e8f0;
      overflow-x: hidden;
    }

    /* ─── GRID TEXTURE ─── */
    body::before {
      content: '';
      position: fixed;
      inset: 0;
      z-index: 0;
      background-image:
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
      background-size: 60px 60px;
      pointer-events: none;
    }

    /* ─── GLOW ORBS ─── */
    .orb {
      position: absolute;
      border-radius: 50%;
      filter: blur(100px);
      pointer-events: none;
      z-index: 0;
    }
    .orb-1 { width: 600px; height: 600px; background: rgba(79,70,229,0.15); top: -100px; left: -100px; }
    .orb-2 { width: 500px; height: 500px; background: rgba(6,182,212,0.10); top: 200px; right: -150px; }
    .orb-3 { width: 400px; height: 400px; background: rgba(124,58,237,0.12); bottom: 0; left: 30%; }

    /* ─── TYPOGRAPHY ─── */
    .mono { font-family: 'JetBrains Mono', monospace; }

    .gradient-text {
      background: linear-gradient(135deg, #a5b4fc 0%, #c084fc 40%, #67e8f9 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    /* ─── GLASS SURFACES ─── */
    .glass {
      background: rgba(255,255,255,0.03);
      backdrop-filter: blur(12px);
      border: 1px solid rgba(255,255,255,0.07);
    }

    .glass-hover {
      transition: all 0.3s ease;
    }
    .glass-hover:hover {
      background: rgba(255,255,255,0.055);
      border-color: rgba(255,255,255,0.12);
      transform: translateY(-2px);
    }

    /* ─── PILL BADGE ─── */
    .pill {
      font-family: 'JetBrains Mono', monospace;
      font-size: 11px;
      letter-spacing: 0.08em;
      padding: 4px 12px;
      border-radius: 100px;
      border: 1px solid rgba(165,180,252,0.25);
      color: #a5b4fc;
      background: rgba(79,70,229,0.08);
      display: inline-block;
    }

    /* ─── BUTTONS ─── */
    .btn-primary {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      background: linear-gradient(135deg, var(--c1), var(--c2), var(--c3));
      padding: 13px 28px;
      border-radius: 8px;
      font-weight: 600;
      font-size: 14px;
      color: #fff;
      border: none;
      cursor: pointer;
      position: relative;
      overflow: hidden;
      transition: opacity 0.2s, transform 0.2s;
    }
    .btn-primary:hover { opacity: 0.92; transform: translateY(-1px); }
    .btn-primary::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, transparent, rgba(255,255,255,0.08));
      pointer-events: none;
    }

    .btn-ghost {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 12px 24px;
      border-radius: 8px;
      font-size: 14px;
      font-weight: 500;
      color: #94a3b8;
      border: 1px solid rgba(255,255,255,0.09);
      background: transparent;
      cursor: pointer;
      transition: all 0.2s;
      text-decoration: none;
    }
    .btn-ghost:hover { color: #e2e8f0; border-color: rgba(255,255,255,0.18); background: rgba(255,255,255,0.04); }

    /* ─── NAV ─── */
    header {
      position: sticky;
      top: 0;
      z-index: 50;
      border-bottom: 1px solid rgba(255,255,255,0.05);
      background: rgba(5,5,8,0.8);
      backdrop-filter: blur(20px);
    }

    nav a {
      font-size: 13.5px;
      font-weight: 500;
      color: #94a3b8;
      text-decoration: none;
      transition: color 0.2s;
      letter-spacing: 0.01em;
    }
    nav a:hover { color: #e2e8f0; }

    /* ─── TERMINAL CARD ─── */
    .terminal {
      background: #0a0a0f;
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: 12px;
      overflow: hidden;
    }
    .terminal-bar {
      background: rgba(255,255,255,0.04);
      padding: 10px 16px;
      display: flex;
      align-items: center;
      gap: 8px;
      border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    .dot { width: 10px; height: 10px; border-radius: 50%; }
    .dot-r { background: #ff5f57; }
    .dot-y { background: #febc2e; }
    .dot-g { background: #28c840; }
    .terminal-body { padding: 20px 24px; font-family: 'JetBrains Mono', monospace; font-size: 13px; line-height: 1.8; }
    .t-prompt { color: #4ade80; }
    .t-cmd { color: #e2e8f0; }
    .t-output { color: #64748b; }
    .t-cyan { color: #67e8f9; }
    .t-purple { color: #c084fc; }
    .t-yellow { color: #fde68a; }
    .t-blink::after { content: '▋'; animation: blink 1.1s step-end infinite; color: #4ade80; }
    @keyframes blink { 50% { opacity: 0; } }

    /* ─── STAT PILL ─── */
    .stat-pill {
      background: rgba(5,5,8,0.9);
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: 10px;
      padding: 14px 18px;
    }

    /* ─── SERVICE CARDS ─── */
    .service-card {
      background: rgba(255,255,255,0.025);
      border: 1px solid rgba(255,255,255,0.07);
      border-radius: 12px;
      padding: 28px 24px;
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
    }
    .service-card::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(165,180,252,0.3), transparent);
      opacity: 0;
      transition: opacity 0.3s;
    }
    .service-card:hover { background: rgba(255,255,255,0.045); border-color: rgba(255,255,255,0.12); transform: translateY(-3px); }
    .service-card:hover::before { opacity: 1; }

    .icon-wrap {
      width: 48px; height: 48px;
      border-radius: 10px;
      display: flex; align-items: center; justify-content: center;
      margin-bottom: 20px;
    }

    /* ─── PROJECT CARDS ─── */
    .project-card {
      background: rgba(255,255,255,0.025);
      border: 1px solid rgba(255,255,255,0.07);
      border-radius: 12px;
      overflow: hidden;
      transition: all 0.3s ease;
    }
    .project-card:hover { border-color: rgba(255,255,255,0.15); transform: translateY(-2px); }
    .project-card img { width: 100%; height: 180px; object-fit: cover; display: block; }
    .project-card .content { padding: 20px; }

    /* ─── SECTION HEADING ─── */
    .section-tag {
      font-family: 'JetBrains Mono', monospace;
      font-size: 11px;
      letter-spacing: 0.15em;
      color: #6366f1;
      text-transform: uppercase;
      margin-bottom: 14px;
      display: flex; align-items: center; gap: 8px;
    }
    .section-tag::before {
      content: '';
      width: 20px; height: 1px;
      background: #6366f1;
    }

    /* ─── CONTACT FORM ─── */
    .form-field {
      display: flex;
      flex-direction: column;
      gap: 6px;
    }
    .form-field label { font-size: 12px; color: #64748b; font-family: 'JetBrains Mono', monospace; letter-spacing: 0.05em; }
    .form-field input,
    .form-field textarea {
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: 8px;
      padding: 11px 14px;
      color: #e2e8f0;
      font-family: 'Space Grotesk', sans-serif;
      font-size: 14px;
      transition: border-color 0.2s;
      outline: none;
      width: 100%;
    }
    .form-field input:focus,
    .form-field textarea:focus {
      border-color: rgba(99,102,241,0.5);
      background: rgba(99,102,241,0.06);
    }
    .form-field input::placeholder,
    .form-field textarea::placeholder { color: #334155; }

    /* ─── DIVIDER ─── */
    .divider {
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
      margin: 0;
    }

    /* ─── FOOTER ─── */
    footer { background: #030305; }

    /* ─── ANIMATIONS ─── */
    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(24px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    .fade-up { animation: fadeUp 0.7s ease both; }
    .delay-1 { animation-delay: 0.1s; }
    .delay-2 { animation-delay: 0.2s; }
    .delay-3 { animation-delay: 0.3s; }
    .delay-4 { animation-delay: 0.4s; }

    /* ─── MOBILE ─── */
    @media (max-width: 768px) {
      .hero-title { font-size: 2.2rem !important; }
    }