    :root {
      --neon-cyan: #00d4ff;
      --neon-blue: #0066ff;
      --neon-purple: #7c3aed;
      --dark-bg: #0a0e1a;
      --darker-bg: #060914;
      --card-bg: rgba(15, 23, 42, 0.6);
      --glass-border: rgba(0, 212, 255, 0.15);
      --text-primary: #f0f4f8;
      --text-secondary: #94a3b8;
      --text-muted: #64748b;
    }

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

    html { scroll-behavior: smooth; }

    body {
      font-family: 'Inter', sans-serif;
      background: var(--darker-bg);
      color: var(--text-primary);
      min-height: 100vh;
      overflow-x: hidden;
      position: relative;
    }

    ::selection {
      background: rgba(0, 212, 255, 0.25);
      color: #fff;
    }

    /* ============ Preloader ============ */
    #preloader {
      position: fixed;
      inset: 0;
      z-index: 10000;
      background: var(--darker-bg);
      display: flex;
      align-items: center;
      justify-content: center;
      transition: opacity 0.6s ease, visibility 0.6s ease;
    }
    #preloader.hidden {
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
    }
    .preloader-inner {
      text-align: center;
      display: flex;
      flex-direction: column;
      gap: 16px;
      align-items: center;
    }
    .preloader-name {
      font-family: 'JetBrains Mono', monospace;
      font-size: 22px;
      font-weight: 600;
      color: var(--neon-cyan);
      letter-spacing: 2px;
      text-shadow: 0 0 30px rgba(0, 212, 255, 0.6);
      animation: preloaderPulse 1.2s ease-in-out infinite;
    }
    .preloader-bar {
      width: 160px;
      height: 3px;
      border-radius: 2px;
      background: rgba(0, 212, 255, 0.15);
      overflow: hidden;
      position: relative;
    }
    .preloader-bar::after {
      content: '';
      position: absolute;
      inset: 0;
      width: 40%;
      background: linear-gradient(90deg, var(--neon-blue), var(--neon-cyan));
      border-radius: 2px;
      animation: preloaderSlide 1s ease-in-out infinite;
    }
    @keyframes preloaderPulse {
      0%, 100% { opacity: 0.6; }
      50% { opacity: 1; }
    }
    @keyframes preloaderSlide {
      0% { left: -40%; }
      100% { left: 100%; }
    }

    /* ============ Scroll progress ============ */
    #scrollProgress {
      position: fixed;
      top: 0;
      left: 0;
      height: 3px;
      width: 0;
      background: linear-gradient(90deg, var(--neon-blue), var(--neon-cyan), var(--neon-purple));
      box-shadow: 0 0 12px rgba(0, 212, 255, 0.7);
      z-index: 9000;
    }

    /* ============ Custom cursor ============ */
    .cursor-dot,
    .cursor-ring {
      position: fixed;
      top: 0;
      left: 0;
      border-radius: 50%;
      pointer-events: none;
      z-index: 9999;
      will-change: transform;
    }
    .cursor-dot {
      width: 6px;
      height: 6px;
      background: rgba(0, 212, 255, 0.9);
      box-shadow: 0 0 12px rgba(0, 212, 255, 0.8);
    }
    .cursor-ring {
      width: 40px;
      height: 40px;
      border: 1px solid rgba(0, 212, 255, 0.5);
      box-shadow: 0 0 20px rgba(0, 212, 255, 0.15), inset 0 0 20px rgba(0, 212, 255, 0.05);
      transition: width 0.25s ease, height 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
    }
    .cursor-ring.cursor-hover {
      width: 60px;
      height: 60px;
      border-color: rgba(0, 212, 255, 0.9);
    }
    .cursor-dot.cursor-hidden,
    .cursor-ring.cursor-hidden {
      opacity: 0;
    }
    @media (hover: none), (pointer: coarse) {
      .cursor-dot, .cursor-ring { display: none; }
    }

    /* ============ Background layers ============ */
    .bg-grid {
      position: fixed;
      top: 0; left: 0; width: 100%; height: 100%;
      background-image:
        linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
      background-size: 60px 60px;
      pointer-events: none;
      z-index: 0;
    }

    .bg-glow {
      position: fixed;
      width: 600px; height: 600px;
      border-radius: 50%;
      filter: blur(120px);
      opacity: 0.15;
      pointer-events: none;
      z-index: 0;
      animation: glowDrift 18s ease-in-out infinite alternate;
    }
    .bg-glow-1 { top: -200px; left: -200px; background: var(--neon-cyan); }
    .bg-glow-2 { bottom: -200px; right: -200px; background: var(--neon-blue); animation-delay: -6s; }
    .bg-glow-3 { top: 50%; left: 50%; transform: translate(-50%, -50%); background: var(--neon-purple); width: 400px; height: 400px; animation: none; }
    @keyframes glowDrift {
      0% { transform: translate(0, 0) scale(1); }
      100% { transform: translate(40px, 30px) scale(1.15); }
    }

    #particles {
      position: fixed;
      top: 0; left: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 0;
    }

    /* ============ Navigation ============ */
    .nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      display: flex; justify-content: space-between; align-items: center;
      padding: 16px 32px;
      background: rgba(6, 9, 20, 0.6);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border-bottom: 1px solid transparent;
      z-index: 100;
      transition: background 0.3s, border-color 0.3s, padding 0.3s;
    }
    .nav.scrolled {
      background: rgba(6, 9, 20, 0.9);
      border-bottom-color: var(--glass-border);
      padding: 12px 32px;
      box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    }

    .nav-logo {
      font-family: 'JetBrains Mono', monospace;
      font-size: 18px;
      font-weight: 600;
      color: var(--neon-cyan);
      text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
      transition: transform 0.3s;
    }
    .nav-logo:hover { transform: scale(1.05); }

    .nav-links {
      display: flex; gap: 32px;
      list-style: none;
    }

    .nav-links a {
      color: var(--text-secondary);
      text-decoration: none;
      font-size: 14px;
      font-weight: 500;
      transition: color 0.3s;
      position: relative;
    }

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

    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: -4px; left: 0;
      width: 0; height: 2px;
      background: var(--neon-cyan);
      transition: width 0.3s;
      box-shadow: 0 0 10px var(--neon-cyan);
    }

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

    .mobile-menu-btn {
      display: none;
      background: none;
      border: none;
      color: var(--neon-cyan);
      font-size: 24px;
      cursor: pointer;
    }

    /* ============ Sections ============ */
    .section {
      position: relative;
      z-index: 1;
      padding: 100px 32px;
      max-width: 1200px;
      margin: 0 auto;
    }

    /* ============ Hero ============ */
    .hero {
      min-height: 100vh;
      display: flex;
      align-items: center;
      padding-top: 120px;
    }

    .hero-content {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 60px;
      align-items: center;
      width: 100%;
    }

    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 6px 14px;
      border-radius: 20px;
      font-size: 12px;
      font-weight: 600;
      color: var(--neon-cyan);
      background: rgba(0, 212, 255, 0.08);
      border: 1px solid rgba(0, 212, 255, 0.25);
      margin-bottom: 20px;
    }
    .pulse-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #34d399;
      box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
      animation: pulseDot 1.8s infinite;
    }
    @keyframes pulseDot {
      0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6); }
      70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
      100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
    }

    .hero-text h1 {
      font-size: 52px;
      font-weight: 700;
      line-height: 1.12;
      margin-bottom: 18px;
    }
    .grad-text {
      background: linear-gradient(135deg, var(--neon-cyan) 0%, var(--neon-blue) 100%);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      color: transparent;
    }

    .hero-text .subtitle {
      font-family: 'JetBrains Mono', monospace;
      font-size: 18px;
      color: var(--neon-cyan);
      margin-bottom: 18px;
      text-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
      min-height: 26px;
    }

    .hero-text p {
      font-size: 16px;
      color: var(--text-secondary);
      line-height: 1.7;
      margin-bottom: 28px;
      max-width: 520px;
    }

    .hero-buttons {
      display: flex; gap: 16px;
      flex-wrap: wrap;
    }

    .btn {
      padding: 14px 32px;
      border-radius: 8px;
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      border: none;
      position: relative;
      overflow: hidden;
    }

    .btn-primary {
      background: linear-gradient(135deg, var(--neon-blue), var(--neon-cyan));
      color: white;
      box-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
    }

    .btn-primary:hover {
      transform: translateY(-3px);
      box-shadow: 0 0 45px rgba(0, 212, 255, 0.55);
    }
    .btn-primary::after {
      content: '';
      position: absolute;
      top: 0; left: -100%;
      width: 100%; height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
      transition: left 0.5s;
    }
    .btn-primary:hover::after { left: 100%; }

    .btn-secondary {
      background: transparent;
      color: var(--text-primary);
      border: 1px solid var(--glass-border);
    }

    .btn-secondary:hover {
      border-color: var(--neon-cyan);
      color: var(--neon-cyan);
      box-shadow: 0 0 20px rgba(0, 212, 255, 0.15);
      transform: translateY(-3px);
    }

    /* Hero socials */
    .hero-socials {
      display: flex;
      gap: 12px;
      margin-top: 24px;
    }
    .social-btn {
      width: 42px;
      height: 42px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 10px;
      background: var(--card-bg);
      border: 1px solid var(--glass-border);
      color: var(--text-secondary);
      transition: all 0.3s;
    }
    .social-btn:hover {
      color: var(--neon-cyan);
      border-color: var(--neon-cyan);
      transform: translateY(-4px);
      box-shadow: 0 8px 25px rgba(0, 212, 255, 0.2);
    }

    /* Avatar & Holographic Studio */
    .hero-visual {
      position: relative;
      height: 600px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .avatar-container {
      position: relative;
      width: 340px;
      height: 500px;
    }

    .avatar-figure {
      position: absolute;
      top: 50px;
      left: 50%;
      margin-left: -190px;
      width: 380px;
      height: 380px;
      z-index: 1;
      will-change: transform;
    }

    .avatar-ring {
      position: absolute;
      top: 10px; left: 10px;
      width: 360px; height: 360px;
      border-radius: 50%;
      background: conic-gradient(from 0deg, var(--neon-cyan), var(--neon-blue), var(--neon-purple), var(--neon-cyan));
      filter: blur(30px);
      opacity: 0.35;
      z-index: 0;
      animation: spin 10s linear infinite;
    }

    .avatar-orbit {
      position: absolute;
      top: 0; left: 0;
      width: 380px; height: 380px;
      border: 1px dashed rgba(0, 212, 255, 0.3);
      border-radius: 50%;
      z-index: 1;
      animation: spin 24s linear infinite;
    }
    .avatar-orbit::before {
      content: '';
      position: absolute;
      top: -5px; left: 50%;
      width: 10px; height: 10px;
      background: var(--neon-cyan);
      border-radius: 50%;
      box-shadow: 0 0 14px var(--neon-cyan);
    }

    .avatar-portrait {
      position: absolute;
      top: 20px; left: 20px;
      width: 340px; height: 340px;
      border-radius: 50%;
      z-index: 2;
      overflow: hidden;
      border: 3px solid rgba(0, 212, 255, 0.45);
      box-shadow: 0 0 60px rgba(0, 212, 255, 0.35), inset 0 0 40px rgba(0, 212, 255, 0.2);
    }
    .avatar-portrait img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    @keyframes spin {
      from { transform: rotate(0deg); }
      to { transform: rotate(360deg); }
    }

    /* Holographic interfaces */
    .holo-layer {
      position: absolute;
      z-index: 3;
      will-change: transform;
    }

    .holo-card {
      position: relative;
      min-width: 140px;
      background: rgba(0, 212, 255, 0.05);
      border: 1px solid var(--glass-border);
      border-radius: 8px;
      padding: 8px 12px;
      font-family: 'JetBrains Mono', monospace;
      font-size: 11px;
      color: var(--neon-cyan);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      box-shadow: 0 0 20px rgba(0, 212, 255, 0.1), inset 0 0 20px rgba(0, 212, 255, 0.05);
      animation: float 6s ease-in-out infinite;
    }

    .holo-card .holo-title {
      font-size: 10px;
      color: var(--text-muted);
      margin-bottom: 4px;
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    .holo-card .holo-value {
      font-size: 14px;
      font-weight: 600;
      color: var(--neon-cyan);
    }

    .holo-card .holo-bar {
      width: 100%; height: 3px;
      background: rgba(0, 212, 255, 0.2);
      border-radius: 2px;
      margin-top: 6px;
      overflow: hidden;
    }

    .holo-card .holo-bar-fill {
      height: 100%;
      background: linear-gradient(90deg, var(--neon-blue), var(--neon-cyan));
      border-radius: 2px;
      animation: barFill 3s ease-in-out infinite alternate;
    }

    @keyframes barFill {
      0% { width: 30%; }
      100% { width: 90%; }
    }

    .holo-1 { top: 90px; right: -40px; }
    .holo-2 { top: 200px; left: -70px; animation-delay: 1s; }
    .holo-3 { top: 310px; right: -30px; }
    .holo-4 { bottom: 110px; left: -50px; }
    .holo-5 { bottom: 30px; right: -20px; }
    .holo-layer > .holo-card { animation-delay: inherit; }
    .holo-2 > .holo-card { animation-delay: 1s; }
    .holo-3 > .holo-card { animation-delay: 2s; }
    .holo-4 > .holo-card { animation-delay: 0.5s; }
    .holo-5 > .holo-card { animation-delay: 1.5s; }

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

    /* Scroll indicator */
    .scroll-indicator {
      position: absolute;
      bottom: 36px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
      color: var(--text-muted);
      font-size: 12px;
      letter-spacing: 1px;
    }
    .scroll-mouse {
      width: 24px;
      height: 38px;
      border: 2px solid var(--text-muted);
      border-radius: 14px;
      display: flex;
      justify-content: center;
      padding-top: 6px;
    }
    .scroll-wheel {
      width: 3px;
      height: 8px;
      border-radius: 2px;
      background: var(--neon-cyan);
      animation: wheelScroll 1.6s ease-in-out infinite;
    }
    @keyframes wheelScroll {
      0% { transform: translateY(0); opacity: 1; }
      100% { transform: translateY(14px); opacity: 0; }
    }

    /* ============ Section titles ============ */
    .section-title {
      font-size: 36px;
      font-weight: 700;
      margin-bottom: 16px;
      background: linear-gradient(135deg, #fff 0%, var(--neon-cyan) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .section-subtitle {
      font-size: 16px;
      color: var(--text-secondary);
      margin-bottom: 48px;
      max-width: 600px;
      line-height: 1.6;
    }

    /* ============ About ============ */
    .about-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 60px;
      align-items: center;
    }

    .about-stats {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
    }

    .stat-card {
      background: var(--card-bg);
      border: 1px solid var(--glass-border);
      border-radius: 12px;
      padding: 24px;
      text-align: center;
      transition: box-shadow 0.3s, border-color 0.3s;
      transform-style: preserve-3d;
    }

    .stat-card:hover {
      border-color: var(--neon-cyan);
      box-shadow: 0 0 30px rgba(0, 212, 255, 0.15);
    }

    .stat-number {
      font-size: 36px;
      font-weight: 700;
      color: var(--neon-cyan);
      text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
      font-variant-numeric: tabular-nums;
    }

    .stat-label {
      font-size: 13px;
      color: var(--text-secondary);
      margin-top: 4px;
    }

    .about-text p {
      font-size: 15px;
      color: var(--text-secondary);
      line-height: 1.8;
      margin-bottom: 16px;
    }

    .about-text strong {
      color: var(--text-primary);
      font-weight: 600;
    }

    .about-quote {
      margin-top: 24px;
      padding: 16px 20px;
      border-left: 3px solid var(--neon-cyan);
      background: rgba(0, 212, 255, 0.06);
      border-radius: 0 10px 10px 0;
      font-style: italic;
      color: var(--text-primary);
      font-size: 15px;
    }

    /* ============ Experience Timeline ============ */
    .timeline {
      position: relative;
      max-width: 900px;
      margin: 0 auto;
    }
    .timeline::before {
      content: '';
      position: absolute;
      left: 50%;
      top: 0;
      bottom: 0;
      width: 2px;
      transform: translateX(-50%);
      background: linear-gradient(180deg, transparent, var(--neon-cyan), var(--neon-purple), transparent);
      box-shadow: 0 0 12px rgba(0, 212, 255, 0.3);
    }

    .timeline-item {
      position: relative;
      width: 50%;
      padding: 0 40px 56px;
    }
    .timeline-item:nth-child(odd) {
      left: 0;
      text-align: right;
    }
    .timeline-item:nth-child(even) {
      left: 50%;
    }

    .timeline-item::before {
      content: '';
      position: absolute;
      top: 6px;
      width: 14px;
      height: 14px;
      border-radius: 50%;
      background: var(--darker-bg);
      border: 3px solid var(--neon-cyan);
      box-shadow: 0 0 16px rgba(0, 212, 255, 0.8);
      z-index: 1;
    }
    .timeline-item:nth-child(odd)::before { right: -7px; }
    .timeline-item:nth-child(even)::before { left: -7px; }

    .timeline-card {
      background: var(--card-bg);
      border: 1px solid var(--glass-border);
      border-radius: 14px;
      padding: 20px 24px;
      transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    }
    .timeline-card:hover {
      transform: translateY(-4px);
      border-color: var(--neon-cyan);
      box-shadow: 0 12px 40px rgba(0, 212, 255, 0.12);
    }

    .timeline-period {
      font-family: 'JetBrains Mono', monospace;
      font-size: 12px;
      font-weight: 600;
      color: var(--neon-cyan);
      margin-bottom: 8px;
      letter-spacing: 1px;
    }
    .timeline-card h3 {
      font-size: 18px;
      font-weight: 600;
      margin-bottom: 8px;
      color: var(--text-primary);
    }
    .timeline-card p {
      font-size: 14px;
      color: var(--text-secondary);
      line-height: 1.65;
      margin-bottom: 12px;
    }
    .timeline-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }
    .timeline-item:nth-child(odd) .timeline-tags { justify-content: flex-end; }
    .timeline-tags span {
      padding: 3px 10px;
      border-radius: 6px;
      font-size: 11px;
      font-family: 'JetBrains Mono', monospace;
      background: rgba(0, 212, 255, 0.08);
      color: var(--neon-cyan);
      border: 1px solid rgba(0, 212, 255, 0.15);
    }

    /* ============ Tech Stack ============ */
    .tech-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
      gap: 20px;
    }

    .tech-card {
      background: var(--card-bg);
      border: 1px solid var(--glass-border);
      border-radius: 12px;
      padding: 24px 16px;
      text-align: center;
      transition: box-shadow 0.4s, border-color 0.4s;
      position: relative;
      overflow: hidden;
      cursor: pointer;
      transform-style: preserve-3d;
      will-change: transform;
    }

    .tech-card::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), transparent);
      opacity: 0;
      transition: opacity 0.4s;
    }

    .tech-card:hover::before {
      opacity: 1;
    }

    .tech-card:hover {
      border-color: var(--neon-cyan);
      box-shadow: 0 10px 40px rgba(0, 212, 255, 0.15);
    }

    .tech-icon {
      width: 48px; height: 48px;
      margin: 0 auto 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 12px;
      background: rgba(0, 212, 255, 0.1);
      border: 1px solid rgba(0, 212, 255, 0.2);
      font-family: 'JetBrains Mono', monospace;
      font-size: 20px;
      font-weight: 700;
      color: var(--neon-cyan);
      transition: transform 0.4s;
    }
    .tech-card:hover .tech-icon {
      transform: scale(1.15) rotate(-6deg);
    }

    .tech-name {
      font-size: 14px;
      font-weight: 600;
      color: var(--text-primary);
      margin-bottom: 4px;
    }

    .tech-desc {
      font-size: 11px;
      color: var(--text-muted);
    }

    /* ============ Projects ============ */
    .projects-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
      gap: 24px;
    }

    .project-card {
      background: var(--card-bg);
      border: 1px solid var(--glass-border);
      border-radius: 16px;
      overflow: hidden;
      transition: box-shadow 0.4s, border-color 0.4s;
      transform-style: preserve-3d;
      will-change: transform;
    }

    .project-card:hover {
      border-color: var(--neon-cyan);
      box-shadow: 0 20px 60px rgba(0, 212, 255, 0.12);
    }

    .project-header {
      padding: 24px 24px 0;
      display: flex; justify-content: space-between; align-items: flex-start;
    }

    .project-tag {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 4px 12px;
      border-radius: 20px;
      font-size: 11px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .project-tag.ai {
      background: rgba(124, 58, 237, 0.15);
      color: #a78bfa;
      border: 1px solid rgba(124, 58, 237, 0.3);
    }

    .project-tag.web {
      background: rgba(0, 212, 255, 0.15);
      color: var(--neon-cyan);
      border: 1px solid rgba(0, 212, 255, 0.3);
    }

    .project-tag.api {
      background: rgba(0, 102, 255, 0.15);
      color: #60a5fa;
      border: 1px solid rgba(0, 102, 255, 0.3);
    }

    .project-tag.ml {
      background: rgba(34, 197, 94, 0.15);
      color: #4ade80;
      border: 1px solid rgba(34, 197, 94, 0.3);
    }

    .project-tag.saas {
      background: rgba(245, 158, 11, 0.15);
      color: #fbbf24;
      border: 1px solid rgba(245, 158, 11, 0.3);
    }

    .project-body {
      padding: 16px 24px 24px;
    }

    .project-body h3 {
      font-size: 20px;
      font-weight: 600;
      margin-bottom: 8px;
      color: var(--text-primary);
    }

    .project-body p {
      font-size: 14px;
      color: var(--text-secondary);
      line-height: 1.6;
      margin-bottom: 16px;
    }

    .project-tech {
      display: flex; flex-wrap: wrap; gap: 8px;
    }

    .project-tech span {
      padding: 4px 10px;
      border-radius: 6px;
      font-size: 11px;
      font-family: 'JetBrains Mono', monospace;
      background: rgba(0, 212, 255, 0.08);
      color: var(--neon-cyan);
      border: 1px solid rgba(0, 212, 255, 0.15);
      transition: background 0.3s;
    }
    .project-tech span:hover {
      background: rgba(0, 212, 255, 0.2);
    }

    .project-footer {
      padding: 16px 24px;
      border-top: 1px solid var(--glass-border);
      display: flex; justify-content: space-between; align-items: center;
    }

    .project-stats {
      display: flex; gap: 16px;
      font-size: 12px;
      color: var(--text-muted);
    }

    .project-link {
      color: var(--neon-cyan);
      text-decoration: none;
      font-size: 13px;
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 4px;
      transition: gap 0.3s;
    }

    .project-link:hover {
      gap: 8px;
    }

    /* ============ Contact ============ */
    .contact-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 60px;
    }

    .contact-info h3 {
      font-size: 24px;
      font-weight: 600;
      margin-bottom: 16px;
    }

    .contact-info p {
      font-size: 15px;
      color: var(--text-secondary);
      line-height: 1.7;
      margin-bottom: 32px;
    }

    .contact-item {
      display: flex;
      align-items: center;
      gap: 16px;
      padding: 16px;
      background: var(--card-bg);
      border: 1px solid var(--glass-border);
      border-radius: 12px;
      margin-bottom: 12px;
      transition: all 0.3s;
      cursor: pointer;
      text-decoration: none;
      color: inherit;
    }

    .contact-item:hover {
      border-color: var(--neon-cyan);
      transform: translateX(5px);
    }

    .contact-icon {
      width: 44px; height: 44px;
      border-radius: 10px;
      background: rgba(0, 212, 255, 0.1);
      border: 1px solid rgba(0, 212, 255, 0.2);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--neon-cyan);
      flex-shrink: 0;
    }

    .contact-details h4 {
      font-size: 14px;
      font-weight: 600;
      color: var(--text-primary);
      margin-bottom: 2px;
    }

    .contact-details span {
      font-size: 13px;
      color: var(--text-muted);
    }

    .contact-form {
      background: var(--card-bg);
      border: 1px solid var(--glass-border);
      border-radius: 16px;
      padding: 32px;
      backdrop-filter: blur(10px);
    }

    .form-group {
      margin-bottom: 20px;
    }

    .form-group label {
      display: block;
      font-size: 13px;
      font-weight: 600;
      color: var(--text-secondary);
      margin-bottom: 8px;
    }

    .form-group input,
    .form-group textarea {
      width: 100%;
      padding: 12px 16px;
      background: rgba(0, 0, 0, 0.3);
      border: 1px solid var(--glass-border);
      border-radius: 8px;
      color: var(--text-primary);
      font-size: 14px;
      font-family: 'Inter', sans-serif;
      transition: all 0.3s;
    }

    .form-group input:focus,
    .form-group textarea:focus {
      outline: none;
      border-color: var(--neon-cyan);
      box-shadow: 0 0 20px rgba(0, 212, 255, 0.15);
    }

    .form-group input.error,
    .form-group textarea.error {
      border-color: #ef4444;
      box-shadow: 0 0 20px rgba(239, 68, 68, 0.2);
    }

    .form-group input.shake,
    .form-group textarea.shake {
      animation: shake 0.4s ease;
    }
    @keyframes shake {
      0%, 100% { transform: translateX(0); }
      25% { transform: translateX(-6px); }
      50% { transform: translateX(6px); }
      75% { transform: translateX(-3px); }
    }

    .form-group textarea {
      min-height: 120px;
      resize: vertical;
    }

    .form-btn {
      width: 100%;
    }
    .form-btn:disabled {
      opacity: 0.7;
      cursor: wait;
    }

    /* ============ Footer ============ */
    .footer {
      position: relative;
      z-index: 1;
      border-top: 1px solid var(--glass-border);
      padding: 40px 32px;
      text-align: center;
      color: var(--text-muted);
      font-size: 13px;
    }

    .footer-links {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 24px;
      margin-bottom: 16px;
    }

    .footer-links a,
    .footer-socials a {
      color: var(--text-secondary);
      text-decoration: none;
      font-size: 13px;
      transition: color 0.3s;
    }

    .footer-links a:hover,
    .footer-socials a:hover {
      color: var(--neon-cyan);
    }

    .footer-socials {
      display: flex;
      justify-content: center;
      gap: 20px;
      margin-bottom: 20px;
    }

    /* ============ Back to top ============ */
    #backToTop {
      position: fixed;
      bottom: 32px;
      right: 32px;
      width: 52px;
      height: 52px;
      border-radius: 50%;
      border: none;
      background: conic-gradient(var(--neon-cyan) calc(var(--p, 0) * 1%), rgba(255, 255, 255, 0.06) 0);
      color: var(--neon-cyan);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 95;
      opacity: 0;
      visibility: hidden;
      transform: translateY(20px);
      transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
      position: relative;
    }
    #backToTop::before {
      content: '';
      position: absolute;
      inset: 3px;
      border-radius: 50%;
      background: var(--darker-bg);
    }
    #backToTop svg {
      position: relative;
      z-index: 1;
      transition: transform 0.3s;
    }
    #backToTop.visible {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }
    #backToTop:hover svg {
      transform: translateY(-3px);
    }

    /* ============ Toast ============ */
    #toast {
      position: fixed;
      bottom: 32px;
      left: 50%;
      transform: translateX(-50%) translateY(20px);
      background: rgba(15, 23, 42, 0.95);
      border: 1px solid var(--neon-cyan);
      color: var(--text-primary);
      padding: 14px 24px;
      border-radius: 10px;
      font-size: 14px;
      box-shadow: 0 0 30px rgba(0, 212, 255, 0.2);
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
      z-index: 9500;
      max-width: 90vw;
      text-align: center;
    }
    #toast.show {
      opacity: 1;
      visibility: visible;
      transform: translateX(-50%) translateY(0);
    }
    #toast.error {
      border-color: #ef4444;
      box-shadow: 0 0 30px rgba(239, 68, 68, 0.2);
    }

    /* ============ Reveal animations ============ */
    .fade-in,
    .fade-left,
    .fade-right {
      opacity: 0;
    }

    .fade-in.visible {
      animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
      animation-delay: calc(var(--i, 0) * 70ms);
    }
    .fade-left.visible {
      animation: fadeLeft 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
    }
    .fade-right.visible {
      animation: fadeRight 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
    }

    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(34px); }
      to { opacity: 1; transform: translateY(0); }
    }
    @keyframes fadeLeft {
      from { opacity: 0; transform: translateX(-40px); }
      to { opacity: 1; transform: translateX(0); }
    }
    @keyframes fadeRight {
      from { opacity: 0; transform: translateX(40px); }
      to { opacity: 1; transform: translateX(0); }
    }

    /* Hero load animations */
    .hero-anim {
      opacity: 0;
      animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
      animation-delay: var(--d, 0s);
    }

    /* ============ Typing cursor ============ */
    .typing-cursor::after {
      content: '|';
      animation: blink 1s step-end infinite;
      color: var(--neon-cyan);
    }

    @keyframes blink {
      50% { opacity: 0; }
    }

    /* ============ Code snippet ============ */
    .code-snippet {
      background: rgba(0, 0, 0, 0.4);
      border: 1px solid var(--glass-border);
      border-radius: 8px;
      padding: 16px;
      font-family: 'JetBrains Mono', monospace;
      font-size: 12px;
      color: var(--neon-cyan);
      overflow-x: auto;
      margin-top: 16px;
      line-height: 1.6;
      position: relative;
    }
    .code-snippet::before {
      content: 'terminal';
      position: absolute;
      top: 8px;
      right: 12px;
      font-size: 10px;
      letter-spacing: 1px;
      color: var(--text-muted);
      text-transform: uppercase;
    }

    .code-keyword { color: #c084fc; }
    .code-string { color: #4ade80; }
    .code-func { color: #60a5fa; }
    .code-comment { color: var(--text-muted); }

    /* ============ Mobile nav ============ */
    .mobile-nav {
      display: none;
      position: fixed;
      top: 60px; left: 0; right: 0;
      background: rgba(6, 9, 20, 0.97);
      backdrop-filter: blur(20px);
      border-bottom: 1px solid var(--glass-border);
      padding: 16px 32px;
      z-index: 99;
      flex-direction: column;
      gap: 16px;
    }

    .mobile-nav a {
      color: var(--text-secondary);
      text-decoration: none;
      font-size: 16px;
      font-weight: 500;
      padding: 8px 0;
      border-bottom: 1px solid var(--glass-border);
      transition: color 0.3s, padding-left 0.3s;
    }

    .mobile-nav a:hover, .mobile-nav a.active {
      color: var(--neon-cyan);
      padding-left: 8px;
    }

    /* ============ Responsive ============ */
    @media (max-width: 900px) {
      .hero-content, .about-grid, .contact-grid {
        grid-template-columns: 1fr;
      }
      .hero-text h1 { font-size: 38px; }
      .nav-links { display: none; }
      .mobile-menu-btn { display: block; }
      .avatar-container { transform: scale(0.85); transform-origin: center; }
      .section { padding: 60px 20px; }
      .hero { min-height: auto; padding: 140px 20px 80px; }
      .projects-grid { grid-template-columns: 1fr; }
      .tech-grid { grid-template-columns: repeat(2, 1fr); }
      .about-stats { grid-template-columns: repeat(2, 1fr); }
      .hero-visual { height: 520px; margin-top: 40px; }

      .timeline::before { left: 24px; }
      .timeline-item {
        width: 100%;
        left: 0 !important;
        text-align: left !important;
        padding: 0 0 40px 64px;
      }
      .timeline-item::before {
        left: 17px !important;
        right: auto !important;
      }
      .timeline-item:nth-child(odd) .timeline-tags { justify-content: flex-start; }
    }

    @media (max-width: 500px) {
      .hero-text h1 { font-size: 30px; }
      .section-title { font-size: 28px; }
      .hero-buttons { flex-direction: column; }
      .btn { width: 100%; justify-content: center; }
      .tech-grid { grid-template-columns: 1fr; }
      .about-stats { grid-template-columns: 1fr; }
      .avatar-container { transform: scale(0.7); }
      .holo-2 { left: -20px; }
      .holo-4 { left: -10px; }
      #backToTop { bottom: 20px; right: 20px; }
    }

    /* ============ Reduced motion ============ */
    @media (prefers-reduced-motion: reduce) {
      *,
      *::before,
      *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
      }
      .cursor-dot, .cursor-ring { display: none; }
    }
