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

    :root {
      --bg: #0a0a0f;
      --bg2: #111118;
      --bg3: #16161f;
      --border: #ffffff12;
      --accent: #4f9eff;
      --accent2: #a78bfa;
      --text: #e8e8f0;
      --muted: #6b6b80;
      --card: #13131a;
    }

    html { scroll-behavior: smooth; }

    body {
      background: var(--bg);
      color: var(--text);
      font-family: 'DM Mono', monospace;
      font-size: 14px;
      line-height: 1.6;
      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;
      transform: translate(-50%, -50%);
      transition: transform 0.1s, width 0.2s, height 0.2s, background 0.2s;
      mix-blend-mode: screen;
    }
    .cursor-ring {
      width: 36px; height: 36px;
      border: 1px solid var(--accent);
      border-radius: 50%;
      position: fixed;
      pointer-events: none;
      z-index: 9998;
      transform: translate(-50%, -50%);
      transition: transform 0.15s ease-out, width 0.3s, height 0.3s, opacity 0.3s;
      opacity: 0.5;
    }
    body:hover .cursor { opacity: 1; }

    /* 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='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
      pointer-events: none;
      z-index: 1000;
      opacity: 0.4;
    }

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

    .nav-logo {
      font-family: 'Syne', sans-serif;
      font-weight: 800;
      font-size: 18px;
      letter-spacing: -0.5px;
      color: var(--text);
      text-decoration: none;
    }
    .nav-logo span { color: var(--accent); }

    .nav-links {
      display: flex;
      gap: 32px;
      list-style: none;
    }
    .nav-links a {
      color: var(--muted);
      text-decoration: none;
      font-size: 12px;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      transition: color 0.2s;
    }
    .nav-links a:hover { color: var(--text); }

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

    .hero-grid-bg {
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
      background-size: 60px 60px;
      mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
    }

    .hero-glow {
      position: absolute;
      width: 600px; height: 600px;
      background: radial-gradient(circle, rgba(79,158,255,0.08) 0%, transparent 70%);
      top: 10%; left: -10%;
      pointer-events: none;
    }
    .hero-glow2 {
      position: absolute;
      width: 400px; height: 400px;
      background: radial-gradient(circle, rgba(167,139,250,0.06) 0%, transparent 70%);
      bottom: 10%; right: 5%;
      pointer-events: none;
    }

    .hero-content {
      position: relative;
      max-width: 900px;
    }

    .hero-tag {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 6px 14px;
      border: 1px solid var(--border);
      border-radius: 100px;
      font-size: 11px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--muted);
      margin-bottom: 32px;
      background: var(--bg2);
    }
    .hero-tag::before {
      content: '';
      width: 6px; height: 6px;
      border-radius: 50%;
      background: var(--accent);
      box-shadow: 0 0 8px var(--accent);
      animation: pulse 2s infinite;
    }
    @keyframes pulse {
      0%, 100% { opacity: 1; }
      50% { opacity: 0.3; }
    }

    .hero-name {
      font-family: 'Syne', sans-serif;
      font-weight: 800;
      font-size: clamp(52px, 8vw, 96px);
      line-height: 0.95;
      letter-spacing: -3px;
      margin-bottom: 24px;
      opacity: 0;
      animation: fadeUp 0.8s 0.2s forwards;
    }
    .hero-name .line2 {
      color: transparent;
      -webkit-text-stroke: 1px rgba(255,255,255,0.2);
    }
    .hero-name .accent { color: var(--accent); -webkit-text-stroke: 0; }

    .hero-desc {
      font-size: 15px;
      color: var(--muted);
      max-width: 480px;
      line-height: 1.8;
      margin-bottom: 40px;
      opacity: 0;
      animation: fadeUp 0.8s 0.4s forwards;
    }
    .hero-desc strong { color: var(--text); font-weight: 400; }

    .hero-btns {
      display: flex;
      gap: 16px;
      opacity: 0;
      animation: fadeUp 0.8s 0.6s forwards;
    }

    .btn {
      padding: 12px 28px;
      font-family: 'DM Mono', monospace;
      font-size: 12px;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      text-decoration: none;
      border-radius: 4px;
      transition: all 0.2s;
      cursor: none;
    }
    .btn-primary {
      background: var(--accent);
      color: #fff;
      border: 1px solid var(--accent);
    }
    .btn-primary:hover {
      background: transparent;
      color: var(--accent);
    }
    .btn-ghost {
      background: transparent;
      color: var(--muted);
      border: 1px solid var(--border);
    }
    .btn-ghost:hover {
      border-color: var(--text);
      color: var(--text);
    }

    .hero-scroll {
      position: absolute;
      bottom: 40px; left: 48px;
      display: flex;
      align-items: center;
      gap: 12px;
      color: var(--muted);
      font-size: 11px;
      letter-spacing: 0.1em;
      text-transform: uppercase;
    }
    .scroll-line {
      width: 40px; height: 1px;
      background: var(--muted);
      animation: scrollLine 2s infinite;
    }
    @keyframes scrollLine {
      0%, 100% { transform: scaleX(1); opacity: 0.4; }
      50% { transform: scaleX(0.5); opacity: 1; }
    }

    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(24px); }
      to { opacity: 1; transform: translateY(0); }
    }

    /* SECTIONS */
    section {
      padding: 100px 48px;
    }

    .section-header {
      display: flex;
      align-items: center;
      gap: 16px;
      margin-bottom: 64px;
    }
    .section-num {
      font-size: 11px;
      color: var(--accent);
      letter-spacing: 0.1em;
    }
    .section-title {
      font-family: 'Syne', sans-serif;
      font-size: 32px;
      font-weight: 700;
      letter-spacing: -1px;
    }
    .section-line {
      flex: 1;
      height: 1px;
      background: var(--border);
    }

    /* ABOUT */
    .about-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 64px;
      align-items: start;
    }

    .about-text p {
      color: var(--muted);
      line-height: 1.9;
      margin-bottom: 16px;
      font-size: 14px;
    }
    .about-text p strong { color: var(--text); font-weight: 400; }

    .about-info {
      display: flex;
      flex-direction: column;
      gap: 0;
      border: 1px solid var(--border);
      border-radius: 8px;
      overflow: hidden;
    }
    .info-row {
      display: flex;
      justify-content: space-between;
      padding: 14px 20px;
      border-bottom: 1px solid var(--border);
      font-size: 12px;
    }
    .info-row:last-child { border-bottom: none; }
    .info-label { color: var(--muted); }
    .info-value { color: var(--text); text-align: right; }
    .info-value a { color: var(--accent); text-decoration: none; }

    /* SKILLS */
    .skills-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 16px;
    }

    .skill-card {
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: 8px;
      padding: 24px;
      transition: border-color 0.2s, transform 0.2s;
    }
    .skill-card:hover {
      border-color: rgba(79,158,255,0.3);
      transform: translateY(-2px);
    }

    .skill-card-top {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 16px;
    }
    .skill-icon {
      width: 36px; height: 36px;
      border-radius: 6px;
      background: var(--bg3);
      border: 1px solid var(--border);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 16px;
    }
    .skill-card-name {
      font-family: 'Syne', sans-serif;
      font-weight: 600;
      font-size: 15px;
    }

    .skill-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }
    .skill-tag {
      padding: 3px 10px;
      border-radius: 100px;
      background: var(--bg3);
      border: 1px solid var(--border);
      font-size: 11px;
      color: var(--muted);
    }

    /* PROJECTS */
    .projects-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
      gap: 20px;
    }

    .project-card {
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: 10px;
      overflow: hidden;
      transition: border-color 0.2s, transform 0.2s;
      position: relative;
    }
    .project-card:hover {
      border-color: rgba(79,158,255,0.35);
      transform: translateY(-4px);
    }

    .project-thumb {
      height: 180px;
      background: var(--bg3);
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      overflow: hidden;
    }
    .project-thumb::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(79,158,255,0.05), rgba(167,139,250,0.05));
    }
    .project-thumb-label {
      font-family: 'Syne', sans-serif;
      font-size: 11px;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--muted);
      position: relative;
      border: 1px solid var(--border);
      padding: 6px 14px;
      border-radius: 100px;
    }

    .project-body {
      padding: 20px 24px 24px;
    }
    .project-type {
      font-size: 10px;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 8px;
    }
    .project-title {
      font-family: 'Syne', sans-serif;
      font-weight: 700;
      font-size: 18px;
      margin-bottom: 8px;
    }
    .project-desc {
      color: var(--muted);
      font-size: 13px;
      line-height: 1.7;
      margin-bottom: 16px;
    }
    .project-footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .project-techs {
      display: flex;
      gap: 6px;
    }
    .project-tech {
      font-size: 10px;
      padding: 2px 8px;
      border-radius: 100px;
      background: var(--bg3);
      border: 1px solid var(--border);
      color: var(--muted);
    }
    .project-link {
      color: var(--muted);
      font-size: 11px;
      text-decoration: none;
      letter-spacing: 0.05em;
      transition: color 0.2s;
    }
    .project-link:hover { color: var(--accent); }

    /* CONTACT */
    .contact-wrap {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 64px;
      align-items: start;
    }

    .contact-left h3 {
      font-family: 'Syne', sans-serif;
      font-size: 28px;
      font-weight: 700;
      letter-spacing: -0.5px;
      margin-bottom: 16px;
    }
    .contact-left p {
      color: var(--muted);
      line-height: 1.8;
      margin-bottom: 32px;
    }

    .contact-links {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .contact-item {
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 14px 20px;
      border: 1px solid var(--border);
      border-radius: 8px;
      text-decoration: none;
      color: var(--text);
      font-size: 13px;
      background: var(--card);
      transition: border-color 0.2s, transform 0.2s;
    }
    .contact-item:hover {
      border-color: rgba(79,158,255,0.3);
      transform: translateX(4px);
    }
    .contact-item-icon {
      font-size: 18px;
      width: 24px;
      text-align: center;
    }
    .contact-item-label { color: var(--muted); font-size: 11px; }

    .contact-form {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
    .form-group {
      display: flex;
      flex-direction: column;
      gap: 6px;
    }
    .form-group label {
      font-size: 11px;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--muted);
    }
    .form-group input,
    .form-group textarea {
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: 6px;
      padding: 12px 16px;
      color: var(--text);
      font-family: 'DM Mono', monospace;
      font-size: 13px;
      outline: none;
      transition: border-color 0.2s;
      resize: none;
    }
    .form-group input:focus,
    .form-group textarea:focus {
      border-color: rgba(79,158,255,0.4);
    }
    .form-group textarea { min-height: 120px; }

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

    /* RESPONSIVE */
    @media (max-width: 768px) {
      nav { padding: 16px 24px; }
      .nav-links { display: none; }
      .hero { padding: 100px 24px 60px; }
      section { padding: 80px 24px; }
      .about-grid, .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
      footer { padding: 24px; flex-direction: column; gap: 8px; text-align: center; }
    }