
  :root {
    --bg: #080C10;
    --surface: #0D1117;
    --card: #111820;
    --border: #1C2A38;
    --accent: #00D9FF;
    --accent2: #7B61FF;
    --accent3: #FF6B35;
    --text: #E8F0F7;
    --muted: #6B8094;
    --green: #00FF9D;
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  html { scroll-behavior: smooth; }

  body {
    background: var(--bg);
    color: var(--text);
    font-family: 'DM Mono', monospace;
    overflow-x: hidden;
    cursor: none;
  }

  /* Custom cursor */
  .cursor {
    width: 12px; height: 12px;
    background: var(--accent);
    border-radius: 50%;
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: transform 0.15s ease;
  }
  .cursor-ring {
    width: 36px; height: 36px;
    border: 1.5px solid var(--accent);
    border-radius: 50%;
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.5;
    transition: all 0.25s ease;
  }

  /* Noise overlay */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' 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");
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
  }

  /* ──── NAV ──── */
  nav {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.04);
    background: rgba(8,12,16,0.7);
  }
  .nav-logo {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--accent);
    letter-spacing: -0.02em;
  }
  .nav-logo span { color: var(--text); }
  .nav-links { display: flex; gap: 32px; list-style: none; }
  .nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--accent); }

  /* ──── HERO ──── */
  #hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 clamp(24px, 8vw, 120px);
    position: relative;
    overflow: hidden;
  }

  .hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(0,217,255,0.03) 1px, transparent 1px),
      linear-gradient(90deg, rgba(0,217,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 0%, transparent 100%);
  }

  .hero-glow {
    position: absolute;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(0,217,255,0.08) 0%, transparent 70%);
    top: 10%; right: -10%;
    pointer-events: none;
    animation: pulseGlow 4s ease-in-out infinite;
  }
  .hero-glow2 {
    position: absolute;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(123,97,255,0.06) 0%, transparent 70%);
    bottom: 10%; left: -5%;
    pointer-events: none;
    animation: pulseGlow 5s ease-in-out infinite reverse;
  }

  @keyframes pulseGlow {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0.7; }
  }

  .hero-eyebrow {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 24px;
    animation: fadeUp 0.8s ease both;
  }
  .hero-eyebrow-line {
    width: 40px; height: 1px;
    background: var(--accent);
  }
  .hero-eyebrow span {
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent);
  }
  .status-dot {
    width: 6px; height: 6px;
    background: var(--green);
    border-radius: 50%;
    animation: blink 1.5s ease-in-out infinite;
    margin-right: 4px;
  }
  @keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0.2; } }

  h1 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(3.5rem, 9vw, 9rem);
    font-weight: 800;
    line-height: 0.92;
    letter-spacing: -0.04em;
    animation: fadeUp 0.8s 0.1s ease both;
  }
  h1 .name-accent { color: var(--accent); }
  h1 .name-dim { color: var(--muted); }

  .hero-sub {
    margin-top: 28px;
    font-size: clamp(0.85rem, 1.5vw, 1.05rem);
    color: var(--muted);
    max-width: 500px;
    line-height: 1.7;
    animation: fadeUp 0.8s 0.2s ease both;
  }

  .hero-cta-row {
    margin-top: 48px;
    display: flex; gap: 16px; flex-wrap: wrap;
    animation: fadeUp 0.8s 0.3s ease both;
  }

  .btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 28px;
    border-radius: 4px;
    font-family: 'DM Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: none;
    transition: all 0.2s;
    position: relative;
    overflow: hidden;
  }
  .btn-primary {
    background: var(--accent);
    color: var(--bg);
    font-weight: 500;
  }
  .btn-primary::before {
    content: '';
    position: absolute; inset: 0;
    background: white;
    opacity: 0;
    transition: opacity 0.2s;
  }
  .btn-primary:hover::before { opacity: 0.15; }
  .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,217,255,0.3); }

  .btn-ghost {
    border: 1px solid var(--border);
    color: var(--muted);
  }
  .btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

  .hero-scroll {
    position: absolute;
    bottom: 40px; left: clamp(24px, 8vw, 120px);
    display: flex; align-items: center; gap: 12px;
    color: var(--muted);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    animation: fadeUp 0.8s 0.5s ease both;
  }
  .scroll-line {
    width: 50px; height: 1px;
    background: var(--border);
    position: relative;
    overflow: hidden;
  }
  .scroll-line::after {
    content: '';
    position: absolute; top: 0; left: -100%;
    width: 100%; height: 100%;
    background: var(--accent);
    animation: scanLine 2s linear infinite;
  }
  @keyframes scanLine { to { left: 100%; } }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* ──── SECTION BASE ──── */
  section { padding: clamp(60px, 10vw, 120px) clamp(24px, 8vw, 120px); position: relative; }

  .section-label {
    display: flex; align-items: center; gap: 16px;
    margin-bottom: 48px;
  }
  .section-num {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: var(--accent);
  }
  .section-line { flex: 1; max-width: 60px; height: 1px; background: var(--border); }
  .section-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
  }
  .section-title em { color: var(--accent); font-style: normal; }

  /* ──── ABOUT ──── */
  #about { background: var(--surface); }
  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
  }
  .about-text {
    color: var(--muted);
    line-height: 1.9;
    font-size: 0.9rem;
  }
  .about-text p { margin-bottom: 16px; }
  .about-text a { color: var(--accent); text-decoration: none; }

  .stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
  }
  .stat-box {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 28px;
    transition: all 0.3s;
  }
  .stat-box:hover { border-color: var(--accent); background: rgba(0,217,255,0.03); }
  .stat-num {
    font-family: 'Syne', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    letter-spacing: -0.04em;
  }
  .stat-label {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 8px;
  }

  /* ──── SKILLS ──── */
  #skills { background: var(--bg); }
  .skills-wrap {
    display: flex; flex-direction: column; gap: 4px;
  }
  .skill-row {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    border: 1px solid var(--border);
    background: var(--card);
    transition: all 0.25s;
    cursor: none;
  }
  .skill-row:hover {
    border-color: var(--accent);
    background: rgba(0,217,255,0.04);
    transform: translateX(6px);
  }
  .skill-icon {
    width: 36px; height: 36px;
    background: rgba(0,217,255,0.08);
    border-radius: 4px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
  }
  .skill-name {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text);
    flex: 1;
  }
  .skill-bar-wrap {
    width: 200px;
    height: 2px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
    flex-shrink: 0;
  }
  .skill-bar {
    height: 100%;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .skill-bar.animate { transform: scaleX(1); }
  .skill-pct {
    font-size: 0.7rem;
    color: var(--muted);
    width: 36px;
    text-align: right;
    flex-shrink: 0;
  }

  /* ──── EXPERIENCE ──── */
  #experience { background: var(--surface); }
  .timeline { position: relative; padding-left: 32px; }
  .timeline::before {
    content: '';
    position: absolute;
    left: 0; top: 8px; bottom: 8px;
    width: 1px;
    background: linear-gradient(to bottom, var(--accent), transparent);
  }
  .timeline-item {
    position: relative;
    margin-bottom: 48px;
  }
  .timeline-dot {
    position: absolute;
    left: -39px; top: 4px;
    width: 14px; height: 14px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    background: var(--bg);
    z-index: 1;
  }
  .timeline-dot::after {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0;
    transition: opacity 0.2s;
  }
  .timeline-item:hover .timeline-dot::after { opacity: 1; }
  .timeline-date {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 8px;
  }
  .timeline-role {
    font-family: 'Syne', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
    margin-bottom: 4px;
  }
  .timeline-company {
    font-size: 0.75rem;
    color: var(--accent2);
    letter-spacing: 0.1em;
    margin-bottom: 14px;
  }
  .timeline-desc {
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.8;
  }
  .timeline-desc li { margin-bottom: 6px; padding-left: 12px; position: relative; }
  .timeline-desc li::before { content: '→'; position: absolute; left: -4px; color: var(--accent); }

  /* ──── PROJECTS ──── */
  #projects { background: var(--bg); }
  .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2px;
  }
  .project-card {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 36px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
  }
  .project-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .project-card:hover::before { transform: scaleX(1); }
  .project-card:hover { border-color: rgba(0,217,255,0.2); transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.4); }

  .project-num {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: var(--border);
    margin-bottom: 20px;
    transition: color 0.2s;
  }
  .project-card:hover .project-num { color: var(--accent); }

  .project-title {
    font-family: 'Syne', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
    margin-bottom: 12px;
  }
  .project-desc {
    font-size: 0.8rem;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 24px;
  }
  .project-tags {
    display: flex; flex-wrap: wrap; gap: 8px;
  }
  .tag {
    padding: 4px 10px;
    background: rgba(0,217,255,0.06);
    border: 1px solid rgba(0,217,255,0.15);
    border-radius: 2px;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    color: var(--accent);
    text-transform: uppercase;
  }

  /* ──── EDUCATION ──── */
  #education { background: var(--surface); }
  .edu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2px; }
  .edu-card {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 32px;
    transition: all 0.3s;
  }
  .edu-card:hover { border-color: var(--accent2); transform: translateY(-4px); }
  .edu-degree {
    font-family: 'Syne', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
  }
  .edu-school {
    font-size: 0.75rem;
    color: var(--accent2);
    margin-bottom: 16px;
    letter-spacing: 0.05em;
  }
  .edu-meta {
    display: flex; align-items: center; justify-content: space-between;
  }
  .edu-year { font-size: 0.7rem; color: var(--muted); }
  .edu-grade {
    font-family: 'Syne', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--accent);
  }

  /* ──── CERTS ──── */
  #certifications { background: var(--bg); }
  .cert-row {
    display: flex; flex-wrap: wrap; gap: 12px;
  }
  .cert-badge {
    display: flex; align-items: center; gap: 10px;
    padding: 14px 20px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 0.78rem;
    color: var(--text);
    transition: all 0.25s;
  }
  .cert-badge:hover { border-color: var(--accent3); color: var(--accent3); transform: translateY(-2px); }
  .cert-icon { font-size: 1.1rem; }

  /* ──── CONTACT ──── */
  #contact {
    background: var(--bg);
    text-align: center;
  }
  .contact-headline {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2rem, 6vw, 5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 16px;
    line-height: 1;
  }
  .contact-sub {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 48px;
  }
  .contact-links {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 16px;
    margin-bottom: 80px;
  }
  .contact-link {
    display: flex; align-items: center; gap: 8px;
    padding: 16px 28px;
    border: 1px solid var(--border);
    color: var(--muted);
    text-decoration: none;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    transition: all 0.25s;
    border-radius: 4px;
  }
  .contact-link:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-3px); background: rgba(0,217,255,0.03); }

  /* ──── FOOTER ──── */
  footer {
    border-top: 1px solid var(--border);
    padding: 24px clamp(24px, 8vw, 120px);
    display: flex; justify-content: space-between; align-items: center;
    font-size: 0.65rem;
    color: var(--muted);
    letter-spacing: 0.1em;
  }
  footer span { color: var(--accent); }

  /* ──── RESPONSIVE ──── */
  @media (max-width: 768px) {
    nav { padding: 16px 20px; }
    .nav-links { display: none; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .skill-bar-wrap { width: 100px; }
    footer { flex-direction: column; gap: 8px; text-align: center; }
  }

  /* Profile image */
  .hero-layout {
    display: flex;
    align-items: center;
    gap: 60px;
  }
  .hero-content { flex: 1; }
  .hero-photo-wrap {
    flex-shrink: 0;
    position: relative;
    animation: fadeUp 0.8s 0.2s ease both;
  }
  .hero-photo {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    border: 2px solid var(--accent);
    box-shadow: 0 0 40px rgba(0,217,255,0.2), 0 0 80px rgba(0,217,255,0.08);
    display: block;
  }
  .hero-photo-ring {
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 1px dashed rgba(0,217,255,0.3);
    animation: spinRing 12s linear infinite;
  }
  .hero-photo-ring2 {
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    border: 1px dashed rgba(123,97,255,0.2);
    animation: spinRing 20s linear infinite reverse;
  }
  @keyframes spinRing { to { transform: rotate(360deg); } }

  @media (max-width: 900px) {
    .hero-layout { flex-direction: column-reverse; gap: 32px; }
    .hero-photo { width: 40vw; height: 40vw; }
  }

