   :root {
      --bg: #060810;
      --surface: #0d1117;
      --surface2: #151b27;
      --border: rgba(255,255,255,0.07);
      --text: #e8eaf0;
      --muted: #6b7280;
      --accent: #4fffb0;
      --accent2: #7b61ff;
      --accent3: #ff6b6b;
      --font-display: 'Syne', sans-serif;
      --font-mono: 'DM Mono', monospace;
      --radius: 12px;
      --transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

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

    html { scroll-behavior: smooth; font-size: 16px; }

    body {
      background: var(--bg);
      color: var(--text);
      font-family: var(--font-display);
      overflow-x: hidden;
      line-height: 1.6;
    }

    /* ─── SCROLLBAR ─── */
    ::-webkit-scrollbar { width: 4px; }
    ::-webkit-scrollbar-track { background: var(--bg); }
    ::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }

    /* ─── CURSOR ─── */
    .cursor {
      position: fixed; width: 10px; height: 10px;
      background: var(--accent); border-radius: 50%;
      pointer-events: none; z-index: 9999;
      transform: translate(-50%, -50%);
      transition: transform 0.1s, opacity 0.3s;
      mix-blend-mode: difference;
    }
    .cursor-ring {
      position: fixed; width: 36px; height: 36px;
      border: 1.5px solid var(--accent); border-radius: 50%;
      pointer-events: none; z-index: 9998;
      transform: translate(-50%, -50%);
      transition: transform 0.18s cubic-bezier(0.16,1,0.3,1), width 0.3s, height 0.3s, opacity 0.3s;
      opacity: 0.6;
    }

    /* ─── NAV ─── */
    nav {
      position: fixed; top: 0; left: 0; right: 0; z-index: 100;
      padding: 1.25rem 5vw;
      display: flex; align-items: center; justify-content: space-between;
      background: transparent;
      transition: background 0.4s, backdrop-filter 0.4s;
    }
    nav.scrolled {
      background: rgba(6,8,16,0.85);
      backdrop-filter: blur(20px);
      border-bottom: 1px solid var(--border);
    }
    .nav-logo {
      font-size: 1.4rem; font-weight: 800; letter-spacing: -0.03em;
      color: var(--text); text-decoration: none;
    }
    .nav-logo span { color: var(--accent); }
    .nav-links { display: flex; gap: 2.5rem; list-style: none; }
    .nav-links a {
      color: var(--muted); text-decoration: none; font-size: 0.85rem;
      font-family: var(--font-mono); letter-spacing: 0.05em; text-transform: uppercase;
      transition: color 0.3s;
      position: relative;
    }
    .nav-links a::after {
      content: ''; position: absolute; bottom: -3px; left: 0;
      width: 0; height: 1px; background: var(--accent);
      transition: width 0.3s;
    }
    .nav-links a:hover { color: var(--accent); }
    .nav-links a:hover::after { width: 100%; }

    .hamburger {
      display: none; flex-direction: column; gap: 5px;
      background: none; border: none; cursor: pointer; padding: 4px;
    }
    .hamburger span {
      display: block; width: 24px; height: 2px;
      background: var(--text); border-radius: 2px;
      transition: var(--transition);
    }

    /* ─── HERO ─── */
    #hero {
      position: relative; min-height: 100vh;
      display: flex; align-items: center; justify-content: center;
      overflow: hidden;
    }
    .hero-bg {
      position: absolute; inset: 0; z-index: 0;
      opacity: 0; transition: opacity 1s ease;
    }
    .hero-bg.active { opacity: 1; }
    .hero-bg svg { width: 100%; height: 100%; }

    .hero-overlay {
      position: absolute; inset: 0; z-index: 1;
      background: radial-gradient(ellipse at 50% 60%, rgba(6,8,16,0.3) 0%, rgba(6,8,16,0.85) 100%);
    }

    .hero-content {
      position: relative; z-index: 2;
      text-align: center;
      padding: 2rem 1rem;
      max-width: 900px;
    }

    .hero-badge {
      display: inline-flex; align-items: center; gap: 0.5rem;
      background: rgba(79,255,176,0.1); border: 1px solid rgba(79,255,176,0.25);
      border-radius: 100px; padding: 0.35rem 1rem;
      font-family: var(--font-mono); font-size: 0.75rem; color: var(--accent);
      letter-spacing: 0.08em; text-transform: uppercase;
      margin-bottom: 1.5rem;
      opacity: 0; transform: translateY(20px);
      animation: fadeUp 0.8s 0.2s forwards;
    }
    .hero-badge::before {
      content: ''; width: 6px; height: 6px; border-radius: 50%;
      background: var(--accent); animation: pulse 2s infinite;
    }

    .hero-title {
      font-size: clamp(3rem, 7vw, 5rem);
      font-weight: 800; line-height: 0.95;
      letter-spacing: -0.04em;
      opacity: 0; transform: translateY(30px);
      animation: fadeUp 0.9s 0.4s forwards;
    }
    .hero-title .line { display: block; }
    .hero-title .highlight { color: var(--accent); }
    .hero-title .highlight2 { color: var(--accent2); }

    .hero-sub {
      margin-top: 1.5rem;
      font-family: var(--font-mono); font-size: clamp(0.9rem, 2vw, 1.1rem);
      color: var(--muted); font-weight: 300;
      opacity: 0; transform: translateY(20px);
      animation: fadeUp 0.8s 0.65s forwards;
    }

    .hero-cta {
      margin-top: 2.5rem; display: flex; gap: 1rem;
      justify-content: center; flex-wrap: wrap;
      opacity: 0; transform: translateY(20px);
      animation: fadeUp 0.8s 0.85s forwards;
    }

    .btn-primary {
      padding: 0.9rem 2rem; background: var(--accent);
      color: #060810; font-weight: 700; font-family: var(--font-display);
      border: none; border-radius: var(--radius); cursor: pointer;
      text-decoration: none; font-size: 0.95rem;
      transition: transform 0.2s, box-shadow 0.2s;
      display: inline-block;
    }
    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 30px rgba(79,255,176,0.35);
    }
    .btn-ghost {
      padding: 0.9rem 2rem; background: transparent;
      color: var(--text); font-weight: 600; font-family: var(--font-display);
      border: 1px solid var(--border); border-radius: var(--radius); cursor: pointer;
      text-decoration: none; font-size: 0.95rem;
      transition: border-color 0.3s, color 0.3s, transform 0.2s;
      display: inline-block;
    }
    .btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

    .hero-scroll {
      position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
      z-index: 2; display: flex; flex-direction: column; align-items: center;
      gap: 0.5rem; color: var(--muted); font-family: var(--font-mono);
      font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
      opacity: 0; animation: fadeIn 1s 1.5s forwards;
    }
    .scroll-line {
      width: 1px; height: 50px;
      background: linear-gradient(to bottom, var(--accent), transparent);
      animation: scrollLine 2s 1.5s infinite;
    }

    /* ─── SECTION BASE ─── */
    section { padding: 7rem 5vw; }
    .section-label {
      font-family: var(--font-mono); font-size: 0.75rem; color: var(--accent);
      letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 1rem;
    }
    .section-title {
      font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800;
      letter-spacing: -0.03em; line-height: 1.1;
    }
    .section-title span { color: var(--accent); }
    .section-inner { max-width: 1200px; margin: 0 auto; }

    /* ─── ABOUT ─── */
    #about { background: var(--surface); }
    .about-grid {
      display: grid; grid-template-columns: 1fr 1fr;
      gap: 5rem; align-items: center; margin-top: 4rem;
    }
    .about-text p {
      color: var(--muted); line-height: 1.9; margin-bottom: 1.2rem;
      font-size: 1.05rem;
    }
    .about-text strong { color: var(--text); }
    .about-stats {
      display: grid; grid-template-columns: 1fr 1fr;
      gap: 1.5rem; margin-top: 2rem;
    }
    .stat-card {
      background: var(--surface2); border: 1px solid var(--border);
      border-radius: var(--radius); padding: 1.5rem;
      transition: border-color 0.3s, transform 0.3s;
    }
    .stat-card:hover { border-color: var(--accent); transform: translateY(-3px); }
    .stat-num {
      font-size: 2.5rem; font-weight: 800; color: var(--accent);
      letter-spacing: -0.04em; line-height: 1;
    }
    .stat-label { font-family: var(--font-mono); font-size: 0.8rem; color: var(--muted); margin-top: 0.3rem; }

    .about-visual {
      position: relative; display: flex; justify-content: center;
    }
    .avatar-wrap {
      width: 300px; height: 300px; border-radius: 30px;
      background: linear-gradient(135deg, var(--accent2), var(--accent));
      position: relative; overflow: hidden;
      display: flex; align-items: center; justify-content: center;
      font-size: 8rem;
    }
    .avatar-ring {
      position: absolute; inset: -2px;
      border-radius: 32px;
      background: linear-gradient(135deg, var(--accent), var(--accent2), var(--accent3));
      z-index: -1; animation: ringRotate 6s linear infinite;
    }
    .floating-badge {
      position: absolute; background: var(--surface2);
      border: 1px solid var(--border); border-radius: var(--radius);
      padding: 0.75rem 1rem; font-family: var(--font-mono);
      font-size: 0.8rem; white-space: nowrap;
      animation: float 3s ease-in-out infinite;
    }
    .floating-badge:nth-child(2) { top: -10px; right: -30px; animation-delay: 0s; }
    .floating-badge:nth-child(3) { bottom: 20px; left: -40px; animation-delay: 1.5s; }
    .badge-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-right: 0.5rem; }

    /* ─── SKILLS ─── */
    #skills { background: var(--bg); }
    .skills-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 4rem; }
    .skills-category {
      background: var(--surface); border: 1px solid var(--border);
      border-radius: 20px; padding: 2.5rem;
      transition: border-color 0.3s;
    }
    .skills-category:hover { border-color: var(--accent); }
    .skills-cat-title {
      font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem;
      display: flex; align-items: center; gap: 0.75rem;
    }
    .skills-cat-icon {
      width: 36px; height: 36px; border-radius: 8px;
      display: flex; align-items: center; justify-content: center;
      font-size: 1.1rem;
    }
    .skills-cat-icon.dev { background: rgba(79,255,176,0.12); }
    .skills-cat-icon.mkt { background: rgba(123,97,255,0.12); }
    .skills-cat-desc { color: var(--muted); font-size: 0.85rem; font-family: var(--font-mono); margin-bottom: 2rem; }
    .skill-tags { display: flex; flex-wrap: wrap; gap: 0.6rem; }
    .skill-tag {
      background: var(--surface2); border: 1px solid var(--border);
      border-radius: 8px; padding: 0.45rem 0.9rem;
      font-family: var(--font-mono); font-size: 0.8rem; color: var(--text);
      transition: border-color 0.3s, color 0.3s, background 0.3s;
      cursor: default;
    }
    .skill-tag:hover { border-color: var(--accent); color: var(--accent); background: rgba(79,255,176,0.05); }
    .skill-tag.mkt-tag:hover { border-color: var(--accent2); color: var(--accent2); background: rgba(123,97,255,0.05); }

    /* ─── PROJECTS ─── */
    #projects { background: var(--surface); }
    .projects-grid {
      display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
      gap: 1.5rem; margin-top: 4rem;
    }
    .project-card {
      background: var(--surface2); border: 1px solid var(--border);
      border-radius: 20px; padding: 2rem;
      position: relative; overflow: hidden;
      transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
      group: true;
    }
    .project-card::before {
      content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
      background: linear-gradient(to right, var(--accent), var(--accent2));
      transform: scaleX(0); transform-origin: left;
      transition: transform 0.4s;
    }
    .project-card:hover::before { transform: scaleX(1); }
    .project-card:hover { transform: translateY(-5px); border-color: rgba(79,255,176,0.2); box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
    .project-number {
      font-family: var(--font-mono); font-size: 0.7rem; color: var(--accent);
      letter-spacing: 0.1em; margin-bottom: 1rem;
    }
    .project-icon { font-size: 2rem; margin-bottom: 1rem; }
    .project-title { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.75rem; }
    .project-desc { color: var(--muted); font-size: 0.9rem; line-height: 1.7; margin-bottom: 1.5rem; }
    .project-tech { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
    .tech-pill {
      background: rgba(79,255,176,0.08); border: 1px solid rgba(79,255,176,0.15);
      border-radius: 6px; padding: 0.3rem 0.7rem;
      font-family: var(--font-mono); font-size: 0.72rem; color: var(--accent);
    }
    .project-links { display: flex; gap: 1rem; }
    .project-link {
      font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted);
      text-decoration: none; display: flex; align-items: center; gap: 0.4rem;
      transition: color 0.3s;
    }
    .project-link:hover { color: var(--accent); }

    /* ─── PROCESS ─── */
    #process { background: var(--bg); }
    .process-steps {
      display: grid; grid-template-columns: repeat(4, 1fr);
      gap: 0; margin-top: 4rem; position: relative;
    }
    .process-steps::before {
      content: ''; position: absolute; top: 32px; left: 12.5%; right: 12.5%;
      height: 1px; background: linear-gradient(to right, var(--accent), var(--accent2), var(--accent3));
      z-index: 0;
    }
    .process-step { text-align: center; padding: 0 1.5rem; }
    .step-circle {
      width: 64px; height: 64px; border-radius: 50%;
      background: var(--surface); border: 2px solid var(--border);
      display: flex; align-items: center; justify-content: center;
      font-size: 1.4rem; margin: 0 auto 1.5rem;
      position: relative; z-index: 1;
      transition: border-color 0.3s, background 0.3s;
    }
    .process-step:hover .step-circle { border-color: var(--accent); background: rgba(79,255,176,0.08); }
    .step-num {
      position: absolute; top: -8px; right: -8px;
      width: 22px; height: 22px; border-radius: 50%;
      background: var(--accent); color: var(--bg);
      font-size: 0.65rem; font-weight: 800; font-family: var(--font-mono);
      display: flex; align-items: center; justify-content: center;
    }
    .step-title { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
    .step-desc { color: var(--muted); font-size: 0.85rem; line-height: 1.7; }

    /* ─── CONTACT ─── */
    #contact { background: var(--surface); }
    .contact-wrap {
      display: grid; grid-template-columns: 1fr 1fr;
      gap: 5rem; align-items: start; margin-top: 4rem;
    }
    .contact-info p { color: var(--muted); line-height: 1.9; font-size: 1rem; margin-bottom: 2rem; }
    .contact-items { display: flex; flex-direction: column; gap: 1rem; }
    .contact-item {
      display: flex; align-items: center; gap: 1rem;
      background: var(--surface2); border: 1px solid var(--border);
      border-radius: var(--radius); padding: 1.25rem 1.5rem;
      text-decoration: none; color: var(--text);
      transition: border-color 0.3s, transform 0.3s;
    }
    .contact-item:hover { border-color: var(--accent); transform: translateX(5px); }
    .contact-icon {
      width: 40px; height: 40px; border-radius: 8px;
      background: rgba(79,255,176,0.1); display: flex; align-items: center;
      justify-content: center; font-size: 1.1rem; flex-shrink: 0;
    }
    .contact-item-text strong { display: block; font-size: 0.85rem; margin-bottom: 0.1rem; }
    .contact-item-text span { color: var(--muted); font-family: var(--font-mono); font-size: 0.8rem; }

    .contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
    .form-group { display: flex; flex-direction: column; gap: 0.5rem; }
    .form-group label { font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted); letter-spacing: 0.05em; text-transform: uppercase; }
    .form-group input, .form-group textarea {
      background: var(--surface2); border: 1px solid var(--border);
      border-radius: var(--radius); padding: 0.9rem 1.2rem;
      color: var(--text); font-family: var(--font-display); font-size: 0.95rem;
      transition: border-color 0.3s, box-shadow 0.3s; outline: none; resize: none;
    }
    .form-group input:focus, .form-group textarea:focus {
      border-color: var(--accent); box-shadow: 0 0 0 3px rgba(79,255,176,0.08);
    }
    .form-group textarea { height: 140px; }
    .form-success { display: none; text-align: center; padding: 2rem; }
    .form-success.show { display: block; }

    /* ─── FOOTER ─── */
    footer {
      background: var(--bg); border-top: 1px solid var(--border);
      padding: 3rem 5vw;
      display: flex; align-items: center; justify-content: space-between;
      flex-wrap: wrap; gap: 1rem;
    }
    .footer-logo { font-size: 1.2rem; font-weight: 800; color: var(--text); }
    .footer-logo span { color: var(--accent); }
    .footer-text { font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted); }
    .footer-links { display: flex; gap: 1.5rem; }
    .footer-links a { color: var(--muted); text-decoration: none; font-size: 0.85rem; transition: color 0.3s; }
    .footer-links a:hover { color: var(--accent); }

    /* ─── SCROLL REVEAL ─── */
    .reveal {
      opacity: 0; transform: translateY(40px);
      transition: opacity 0.7s var(--transition), transform 0.7s var(--transition);
    }
    .reveal.visible { opacity: 1; transform: translateY(0); }
    .reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.7s var(--transition), transform 0.7s var(--transition); }
    .reveal-left.visible { opacity: 1; transform: translateX(0); }
    .reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 0.7s var(--transition), transform 0.7s var(--transition); }
    .reveal-right.visible { opacity: 1; transform: translateX(0); }
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }

    /* ─── KEYFRAMES ─── */
    @keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
    @keyframes fadeIn { to { opacity: 1; } }
    @keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
    @keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
    @keyframes scrollLine { 0% { opacity: 1; transform: scaleY(1); } 100% { opacity: 0; transform: scaleY(0); transform-origin: top; } }
    @keyframes ringRotate { to { filter: hue-rotate(360deg); } }
    @keyframes bgSlide { 0% { transform: translateX(0) translateY(0); } 100% { transform: translateX(-3%) translateY(-2%); } }

    /* ─── MOBILE ─── */
    @media (max-width: 900px) {
      .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; background: rgba(13,17,23,0.97);
        backdrop-filter: blur(20px); padding: 1.5rem 5vw; gap: 1.5rem;
        border-bottom: 1px solid var(--border);
      }
      .nav-links.open { display: flex; }
      .hamburger { display: flex; }
      .about-grid, .contact-wrap { grid-template-columns: 1fr; gap: 3rem; }
      .skills-layout { grid-template-columns: 1fr; }
      .process-steps { grid-template-columns: 1fr 1fr; }
      .process-steps::before { display: none; }
      .about-visual { order: -1; }
      .avatar-wrap { width: 200px; height: 200px; font-size: 5rem; }
    }
    @media (max-width: 600px) {
      .process-steps { grid-template-columns: 1fr; }
      .projects-grid { grid-template-columns: 1fr; }
      .about-stats { grid-template-columns: 1fr 1fr; }
      section { padding: 5rem 6vw; }
      footer { flex-direction: column; text-align: center; }
      .cursor, .cursor-ring { display: none; }
    }

    /* ─── COOKIE BANNER ─── */
    .cookie-banner {
      position: fixed;
      bottom: -100%;
      left: 0;
      right: 0;
      background: var(--surface2);
      border-top: 1px solid var(--border);
      padding: 1.5rem 5vw;
      z-index: 9999;
      box-shadow: 0 -10px 40px rgba(0,0,0,0.5);
      transition: bottom 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .cookie-banner.show {
      bottom: 0;
    }
    .cookie-content {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 2rem;
    }
    .cookie-content p {
      font-size: 0.85rem;
      color: var(--muted);
      line-height: 1.6;
      margin: 0;
    }
    .cookie-btn {
      padding: 0.6rem 1.5rem;
      font-size: 0.85rem;
      white-space: nowrap;
    }
    @media (max-width: 600px) {
      .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
      }
      .cookie-btn {
        width: 100%;
      }
    }
