:root {
      --bg: #050810;
      --surface: #080d1a;
      --panel: #0d1424;
      --border: rgba(0, 200, 255, 0.12);
      --accent: #00c8ff;
      --accent2: #00ff9d;
      --accent3: #ff4d6d;
      --text: #c8d8f0;
      --muted: #4a5a78;
      --bright: #eaf2ff;
      --glow: rgba(0, 200, 255, 0.15);
    }

    *,
    *::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;
      font-size: 14px;
      line-height: 1.7;
      overflow-x: hidden;
      cursor: none;
    }

    /* Custom cursor */
    .cursor {
      width: 10px;
      height: 10px;
      background: var(--accent);
      border-radius: 50%;
      position: fixed;
      pointer-events: none;
      z-index: 9999;
      transition: transform 0.1s ease;
      box-shadow: 0 0 20px var(--accent), 0 0 40px rgba(0, 200, 255, 0.3);
    }

    .cursor-ring {
      width: 32px;
      height: 32px;
      border: 1px solid rgba(0, 200, 255, 0.4);
      border-radius: 50%;
      position: fixed;
      pointer-events: none;
      z-index: 9998;
      transition: transform 0.25s ease, width 0.2s, height 0.2s;
      transform: translate(-11px, -11px);
    }

    /* Scanlines overlay */
    body::before {
      content: '';
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: repeating-linear-gradient(0deg,
          transparent,
          transparent 2px,
          rgba(0, 0, 0, 0.04) 2px,
          rgba(0, 0, 0, 0.04) 4px);
      pointer-events: none;
      z-index: 1000;
    }

    /* Grid background */
    body::after {
      content: '';
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-image:
        linear-gradient(rgba(0, 200, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 200, 255, 0.03) 1px, transparent 1px);
      background-size: 40px 40px;
      pointer-events: none;
      z-index: -1;
    }

    /* ── NAV ── */
    nav {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 500;
      padding: 16px 48px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      background: rgba(5, 8, 16, 0.85);
      backdrop-filter: blur(20px);
      border-bottom: 1px solid var(--border);
    }

    .nav-logo {
      font-family: 'Space Mono', monospace;
      font-size: 13px;
      color: var(--accent);
      letter-spacing: 0.15em;
      text-transform: uppercase;
    }

    .nav-logo span {
      color: var(--muted);
    }

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

    .nav-links a {
      color: var(--muted);
      text-decoration: none;
      font-size: 11px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      transition: color 0.2s;
      position: relative;
    }

    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: -4px;
      left: 0;
      width: 0;
      height: 1px;
      background: var(--accent);
      transition: width 0.3s ease;
    }

    .nav-links a:hover {
      color: var(--accent);
    }

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

    /* ── HERO ── */
    #hero {
      min-height: 100vh;
      display: flex;
      align-items: center;
      padding: 120px 48px 80px;
      position: relative;
      overflow: hidden;
    }

    .hero-orb {
      position: absolute;
      border-radius: 50%;
      filter: blur(80px);
      pointer-events: none;
    }

    .orb1 {
      width: 600px;
      height: 600px;
      background: radial-gradient(circle, rgba(0, 200, 255, 0.08) 0%, transparent 70%);
      top: -100px;
      right: -100px;
      animation: drift1 12s ease-in-out infinite alternate;
    }

    .orb2 {
      width: 400px;
      height: 400px;
      background: radial-gradient(circle, rgba(0, 255, 157, 0.06) 0%, transparent 70%);
      bottom: 0;
      left: 20%;
      animation: drift2 15s ease-in-out infinite alternate;
    }

    @keyframes drift1 {
      from {
        transform: translateY(0) rotate(0deg);
      }

      to {
        transform: translateY(40px) rotate(5deg);
      }
    }

    @keyframes drift2 {
      from {
        transform: translateY(0) rotate(0deg);
      }

      to {
        transform: translateY(-30px) rotate(-3deg);
      }
    }

    .hero-content {
      max-width: 800px;
      position: relative;
      z-index: 1;
    }

    .hero-tag {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 11px;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 28px;
      padding: 6px 14px;
      border: 1px solid rgba(0, 200, 255, 0.2);
      border-radius: 2px;
      background: rgba(0, 200, 255, 0.05);
    }

    .hero-tag::before {
      content: '';
      width: 6px;
      height: 6px;
      background: var(--accent2);
      border-radius: 50%;
      animation: pulse 2s ease infinite;
    }

    @keyframes pulse {

      0%,
      100% {
        opacity: 1;
        transform: scale(1);
      }

      50% {
        opacity: 0.4;
        transform: scale(0.8);
      }
    }

    h1 {
      font-family: 'Syne', sans-serif;
      font-size: clamp(52px, 8vw, 96px);
      font-weight: 800;
      line-height: 0.95;
      letter-spacing: -0.03em;
      color: var(--bright);
      margin-bottom: 8px;
    }

    h1 .line2 {
      display: block;
      color: transparent;
      -webkit-text-stroke: 1px rgba(0, 200, 255, 0.4);
      text-stroke: 1px rgba(0, 200, 255, 0.4);
    }

    .hero-role {
      font-family: 'Space Mono', monospace;
      font-size: 13px;
      color: var(--accent);
      letter-spacing: 0.15em;
      text-transform: uppercase;
      margin: 24px 0 20px;
    }

    .hero-bio {
      font-size: 15px;
      color: var(--text);
      max-width: 580px;
      line-height: 1.8;
      margin-bottom: 40px;
      font-family: 'DM Mono', monospace;
      font-weight: 300;
    }

    .hero-bio em {
      color: var(--accent2);
      font-style: normal;
    }

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

    .btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 12px 28px;
      font-family: 'Space Mono', monospace;
      font-size: 11px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      text-decoration: none;
      border-radius: 2px;
      transition: all 0.25s ease;
      cursor: none;
    }

    .btn-primary {
      background: var(--accent);
      color: var(--bg);
      border: 1px solid var(--accent);
    }

    .btn-primary:hover {
      background: transparent;
      color: var(--accent);
      box-shadow: 0 0 30px rgba(0, 200, 255, 0.2);
    }

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

    .btn-ghost:hover {
      border-color: var(--accent);
      color: var(--accent);
      box-shadow: 0 0 20px rgba(0, 200, 255, 0.1);
    }

    /* ── SECTION COMMON ── */
    section {
      padding: 100px 48px;
      max-width: 1100px;
      margin: 0 auto;
    }

    .section-label {
      display: flex;
      align-items: center;
      gap: 14px;
      font-size: 11px;
      letter-spacing: 0.25em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 48px;
    }

    .section-label::after {
      content: '';
      flex: 1;
      height: 1px;
      background: linear-gradient(to right, var(--border), transparent);
      max-width: 200px;
    }

    .section-label span {
      color: var(--muted);
      margin-right: 4px;
    }

    h2 {
      font-family: 'Syne', sans-serif;
      font-size: clamp(32px, 4vw, 52px);
      font-weight: 800;
      color: var(--bright);
      line-height: 1.1;
      letter-spacing: -0.02em;
      margin-bottom: 16px;
    }

    /* ── PIVOT SECTION ── */
    #pivot {
      padding-top: 60px;
    }

    .pivot-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2px;
      margin-top: 48px;
      border: 1px solid var(--border);
    }

    .pivot-card {
      background: var(--panel);
      padding: 36px;
      position: relative;
      overflow: hidden;
      transition: background 0.3s ease;
    }

    .pivot-card:hover {
      background: #101828;
    }

    .pivot-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 3px;
      height: 0;
      background: var(--accent);
      transition: height 0.4s ease;
    }

    .pivot-card:hover::before {
      height: 100%;
    }

    .pivot-icon {
      font-size: 28px;
      margin-bottom: 16px;
      display: block;
    }

    .pivot-card h3 {
      font-family: 'Syne', sans-serif;
      font-size: 18px;
      font-weight: 700;
      color: var(--bright);
      margin-bottom: 10px;
    }

    .pivot-card p {
      color: var(--muted);
      font-size: 13px;
      line-height: 1.7;
    }

    .pivot-card .tag {
      display: inline-block;
      margin-top: 14px;
      font-size: 10px;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: var(--accent2);
      border: 1px solid rgba(0, 255, 157, 0.2);
      padding: 3px 8px;
      border-radius: 2px;
    }

    /* ── FOCUS BANNER ── */
    .focus-banner {
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      border: 1px solid var(--border);
      background: var(--panel);
      margin: 40px 0;
      overflow: hidden;
    }

    .focus-banner-left,
    .focus-banner-right {
      padding: 36px 40px;
    }

    .focus-banner-divider {
      width: 1px;
      background: var(--border);
      margin: 28px 0;
    }

    .focus-banner-label {
      font-size: 10px;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 22px;
    }

    .focus-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .focus-list li {
      display: flex;
      align-items: center;
      gap: 12px;
      font-size: 13px;
      color: var(--text);
      font-family: 'DM Mono', monospace;
      font-weight: 300;
    }

    .focus-dot {
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: var(--accent2);
      flex-shrink: 0;
      box-shadow: 0 0 8px var(--accent2);
    }

    .lang-block {
      display: flex;
      flex-direction: column;
      gap: 16px;
      margin-bottom: 24px;
    }

    .lang-item {
      display: flex;
      align-items: center;
      gap: 16px;
    }

    .lang-name {
      font-family: 'Space Mono', monospace;
      font-size: 14px;
      color: var(--bright);
      width: 64px;
      flex-shrink: 0;
    }

    .lang-bar {
      flex: 1;
      height: 3px;
      background: rgba(255, 255, 255, 0.06);
      border-radius: 2px;
      overflow: hidden;
    }

    .lang-fill {
      display: block;
      height: 100%;
      background: linear-gradient(to right, var(--accent), var(--accent2));
      border-radius: 2px;
      animation: fillBar 1.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    }

    @keyframes fillBar {
      from {
        width: 0 !important;
      }
    }

    .lang-note {
      font-size: 12px;
      color: var(--muted);
      font-style: italic;
      line-height: 1.6;
      font-family: 'DM Mono', monospace;
      font-weight: 300;
    }

    /* ── SKILLS ── */
    #skills .skills-intro {
      color: var(--muted);
      font-size: 14px;
      max-width: 520px;
      margin-bottom: 48px;
      font-weight: 300;
    }

    .skills-cluster {
      margin-bottom: 40px;
    }

    .skills-cluster-label {
      font-size: 10px;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--muted);
      margin-bottom: 14px;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .skills-cluster-label::after {
      content: '';
      height: 1px;
      width: 40px;
      background: var(--border);
    }

    .skill-pills {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .pill {
      padding: 7px 16px;
      font-size: 12px;
      font-family: 'Space Mono', monospace;
      border-radius: 2px;
      border: 1px solid var(--border);
      color: var(--text);
      background: var(--panel);
      transition: all 0.2s;
      cursor: none;
    }

    .pill:hover {
      border-color: var(--accent);
      color: var(--accent);
      background: rgba(0, 200, 255, 0.05);
      box-shadow: 0 0 15px rgba(0, 200, 255, 0.1);
    }

    .pill.active {
      border-color: var(--accent2);
      color: var(--accent2);
      background: rgba(0, 255, 157, 0.05);
    }

    /* ── EXPERIENCE ── */
    .timeline {
      position: relative;
      padding-left: 32px;
    }

    .timeline::before {
      content: '';
      position: absolute;
      left: 0;
      top: 8px;
      bottom: 0;
      width: 1px;
      background: linear-gradient(to bottom, var(--accent), transparent);
    }

    .timeline-item {
      position: relative;
      margin-bottom: 56px;
      opacity: 0;
      transform: translateX(-20px);
      animation: slideIn 0.6s ease forwards;
    }

    .timeline-item:nth-child(1) {
      animation-delay: 0.1s;
    }

    .timeline-item:nth-child(2) {
      animation-delay: 0.3s;
    }

    @keyframes slideIn {
      to {
        opacity: 1;
        transform: translateX(0);
      }
    }

    .timeline-item::before {
      content: '';
      position: absolute;
      left: -36px;
      top: 6px;
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--accent);
      box-shadow: 0 0 12px var(--accent);
    }

    .timeline-date {
      font-size: 11px;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: var(--muted);
      margin-bottom: 8px;
    }

    .timeline-role {
      font-family: 'Syne', sans-serif;
      font-size: 22px;
      font-weight: 700;
      color: var(--bright);
      margin-bottom: 4px;
    }

    .timeline-company {
      font-size: 12px;
      color: var(--accent);
      letter-spacing: 0.1em;
      margin-bottom: 16px;
    }

    .timeline-points {
      list-style: none;
      padding: 0;
    }

    .timeline-points li {
      color: var(--muted);
      font-size: 13px;
      line-height: 1.7;
      padding: 6px 0;
      padding-left: 18px;
      position: relative;
    }

    .timeline-points li::before {
      content: '›';
      position: absolute;
      left: 0;
      color: var(--accent2);
    }

    /* ── FOCUS AREAS ── */
    .focus-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1px;
      background: var(--border);
      border: 1px solid var(--border);
      margin-top: 48px;
    }

    .focus-item {
      background: var(--bg);
      padding: 32px 28px;
      transition: background 0.3s;
      position: relative;
      overflow: hidden;
    }

    .focus-item:hover {
      background: var(--panel);
    }

    .focus-num {
      font-family: 'Space Mono', monospace;
      font-size: 11px;
      color: var(--muted);
      margin-bottom: 12px;
    }

    .focus-item h3 {
      font-family: 'Syne', sans-serif;
      font-size: 16px;
      font-weight: 700;
      color: var(--bright);
      margin-bottom: 8px;
      line-height: 1.3;
    }

    .focus-item p {
      font-size: 12px;
      color: var(--muted);
      line-height: 1.7;
    }

    .focus-glow {
      position: absolute;
      bottom: -30px;
      right: -30px;
      width: 100px;
      height: 100px;
      background: radial-gradient(circle, rgba(0, 200, 255, 0.08), transparent);
      border-radius: 50%;
      opacity: 0;
      transition: opacity 0.3s;
    }

    .focus-item:hover .focus-glow {
      opacity: 1;
    }

    /* ── LINKS / CONNECT ── */
    #connect {
      padding-bottom: 120px;
    }

    .connect-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 16px;
      margin-top: 48px;
    }

    .connect-card {
      display: flex;
      align-items: center;
      gap: 20px;
      padding: 28px 32px;
      background: var(--panel);
      border: 1px solid var(--border);
      text-decoration: none;
      border-radius: 2px;
      transition: all 0.25s ease;
      cursor: none;
      position: relative;
      overflow: hidden;
    }

    .connect-card::before {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--accent);
      transition: width 0.4s ease;
    }

    .connect-card:hover::before {
      width: 100%;
    }

    .connect-card:hover {
      background: #0d1424;
      border-color: rgba(0, 200, 255, 0.25);
      transform: translateY(-2px);
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    }

    .connect-icon {
      width: 44px;
      height: 44px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(0, 200, 255, 0.06);
      border: 1px solid rgba(0, 200, 255, 0.15);
      border-radius: 4px;
      font-size: 20px;
      flex-shrink: 0;
    }

    .connect-info h4 {
      font-family: 'Syne', sans-serif;
      font-size: 16px;
      font-weight: 700;
      color: var(--bright);
      margin-bottom: 4px;
    }

    .connect-info p {
      font-size: 12px;
      color: var(--muted);
    }

    .connect-arrow {
      margin-left: auto;
      color: var(--muted);
      font-size: 18px;
      transition: transform 0.2s, color 0.2s;
    }

    .connect-card:hover .connect-arrow {
      transform: translateX(4px);
      color: var(--accent);
    }

    /* ── FOOTER ── */
    footer {
      border-top: 1px solid var(--border);
      padding: 32px 48px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 11px;
      color: var(--muted);
      letter-spacing: 0.1em;
      max-width: 100%;
    }

    footer .status {
      display: flex;
      align-items: center;
      gap: 8px;
      color: var(--accent2);
    }

    footer .status::before {
      content: '';
      width: 6px;
      height: 6px;
      background: var(--accent2);
      border-radius: 50%;
      animation: pulse 2s ease infinite;
    }

    /* ── TERMINAL BLOCK ── */
    .terminal {
      background: #020407;
      border: 1px solid var(--border);
      border-radius: 4px;
      padding: 24px 28px;
      font-family: 'Space Mono', monospace;
      font-size: 12px;
      margin: 40px 0;
      position: relative;
      overflow: hidden;
    }

    .terminal::before {
      content: '● ● ●';
      display: block;
      color: var(--muted);
      letter-spacing: 6px;
      margin-bottom: 16px;
      font-size: 10px;
    }

    .terminal-line {
      margin: 4px 0;
    }

    .terminal-line .prompt {
      color: var(--accent2);
    }

    .terminal-line .cmd {
      color: var(--bright);
    }

    .terminal-line .out {
      color: var(--muted);
    }

    .terminal-line .highlight {
      color: var(--accent);
    }

    .terminal-cursor {
      display: inline-block;
      width: 8px;
      height: 14px;
      background: var(--accent);
      vertical-align: middle;
      animation: blink 1s step-end infinite;
    }

    @keyframes blink {

      0%,
      100% {
        opacity: 1;
      }

      50% {
        opacity: 0;
      }
    }

    /* Responsive */
    @media (max-width: 768px) {
      nav {
        padding: 14px 24px;
      }

      .nav-links {
        display: none;
      }

      #hero,
      section {
        padding-left: 24px;
        padding-right: 24px;
      }

      .pivot-grid {
        grid-template-columns: 1fr;
      }

      .focus-grid {
        grid-template-columns: 1fr 1fr;
      }

      .connect-grid {
        grid-template-columns: 1fr;
      }

      footer {
        flex-direction: column;
        gap: 12px;
        text-align: center;
      }
    }

    /* Scroll reveal */
    .reveal {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }