:root {
    --bg: #050510;
    --surface: #0d0d1f;
    --card: #111128;
    --accent: #6c63ff;
    --accent2: #ff6584;
    --text: #e8e8f0;
    --muted: #7878a0;
    --border: rgba(108,99,255,0.15);
    --glow: 0 0 40px rgba(108,99,255,0.3);
  }
  .light-mode {
    --bg: #f0f0ff;
    --surface: #ffffff;
    --card: #f8f8ff;
    --text: #12121e;
    --muted: #55558a;
    --border: rgba(108,99,255,0.2);
    --glow: 0 0 40px rgba(108,99,255,0.15);
  }

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

  html { scroll-behavior: smooth; }

  body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    transition: background 0.4s, color 0.4s;
    cursor: none;
  }

  /* Custom Cursor */
  .cursor {
    position: fixed; width: 12px; height: 12px;
    background: var(--accent); border-radius: 50%;
    pointer-events: none; z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s;
    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: all 0.18s ease;
  }
  body:hover .cursor-ring.expand { width: 60px; height: 60px; opacity: 0.6; }

  /* 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");
    pointer-events: none; z-index: 0; opacity: 0.5;
  }

  /* ========= NAVBAR ========= */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.4rem 5vw;
    background: transparent;
    backdrop-filter: none;
    transition: all 0.4s;
  }
  
  nav.scrolled {
    background: rgba(5,5,16,0.6);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
  }
  .light-mode nav.scrolled { background: rgba(240,240,255,0.7); }

  .logo {
    font-family: 'Syne', sans-serif;
    font-size: 1.4rem; font-weight: 800;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    text-decoration: none;
  }

  .nav-links {
    display: flex; gap: 2.5rem;
    list-style: none;
  }
  .nav-links a {
    font-family: 'Syne', sans-serif;
    font-size: 0.88rem; font-weight: 600;
    color: var(--muted); text-decoration: none;
    letter-spacing: 0.06em; text-transform: uppercase;
    position: relative; transition: color 0.3s;
  }
  .nav-links a::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    transition: width 0.3s;
  }
  .nav-links a:hover, .nav-links a.active { color: var(--text); }
  .nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

  .nav-right { display: flex; align-items: center; gap: 1rem; }

  /* Toggle */
  .toggle-btn {
    width: 52px; height: 28px; border-radius: 50px;
    background: var(--card); border: 1px solid var(--border);
    cursor: none; position: relative; transition: background 0.3s;
    flex-shrink: 0;
  }
  .toggle-btn::before {
    content: '☀️'; position: absolute; left: 4px; top: 3px;
    width: 20px; height: 20px; border-radius: 50%;
    background: var(--accent); transition: all 0.4s cubic-bezier(0.34,1.56,0.64,1);
    display: flex; align-items: center; justify-content: center; font-size: 10px;
  }
  .light-mode .toggle-btn::before { transform: translateX(24px); content: '🌙'; }

  /* Hamburger */
  .hamburger {
    display: none; flex-direction: column; gap: 5px;
    cursor: none; background: none; border: none; padding: 4px;
  }
  .hamburger span {
    display: block; width: 26px; height: 2px;
    background: var(--text); border-radius: 2px; transition: all 0.3s;
  }
  .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; }
  .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  @media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav-links {
      position: fixed; inset: 0; background: var(--bg);
      flex-direction: column; align-items: center; justify-content: center;
      gap: 2.5rem; display: none;
    }
    .nav-links.open { display: flex; }
    .nav-links a { font-size: 1.4rem; }
  }

  /* ========= SECTIONS GENERAL ========= */
  section { position: relative; z-index: 1; }

  /* ========= HOME ========= */
  #home {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    padding: 0 5vw;
    background:
      radial-gradient(ellipse 80% 60% at 50% 0%, rgba(108,99,255,0.18) 0%, transparent 70%),
      radial-gradient(ellipse 50% 50% at 80% 80%, rgba(255,101,132,0.12) 0%, transparent 60%),
      var(--bg);
    overflow: hidden;
  }

  .home-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    animation: float 8s ease-in-out infinite;
  }
  .orb1 { width: 500px; height: 500px; background: rgba(108,99,255,0.12); top: -100px; left: -100px; animation-delay: 0s; }
  .orb2 { width: 350px; height: 350px; background: rgba(255,101,132,0.1); bottom: 0; right: 0; animation-delay: -4s; }

  @keyframes float { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-30px) scale(1.05); } }

  .home-content { position: relative; z-index: 2; }

  .badge {  
    display: inline-block;
    padding: 0.4rem 1.2rem;
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--accent); font-family: 'Syne', sans-serif; font-weight: 600;
    margin-bottom: 1.5rem;
    background: rgba(108,99,255,0.06);
    opacity: 0;
  }

  .home-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(3rem, 8vw, 7.5rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
    opacity: 0;
  }
  .home-title .line { display: block; overflow: hidden; }
  .home-title .word { display: inline-block; }
  .home-title .gradient {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
    background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  }

  .home-sub {
    font-size: 1.05rem; color: var(--muted); max-width: 500px;
    margin: 0 auto 2.5rem; line-height: 1.7; opacity: 0;
  }

  .hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; opacity: 0; }

  .btn-primary {
    padding: 0.85rem 2.2rem;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: #fff; border-radius: 50px;
    font-family: 'Syne', sans-serif; font-weight: 700;
    font-size: 0.9rem; letter-spacing: 0.04em;
    text-decoration: none; border: none; cursor: none;
    position: relative; overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 8px 30px rgba(108,99,255,0.35);
  }
  .btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(108,99,255,0.5); }

  .btn-outline {
    padding: 0.85rem 2.2rem;
    background: transparent;
    color: var(--text); border: 1px solid var(--border);
    border-radius: 50px;
    font-family: 'Syne', sans-serif; font-weight: 700;
    font-size: 0.9rem; letter-spacing: 0.04em;
    text-decoration: none; cursor: none;
    transition: all 0.3s;
  }
  .btn-outline:hover { border-color: var(--accent); color: var(--accent); background: rgba(108,99,255,0.06); }

  .scroll-indicator {
    position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
    color: var(--muted); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
    font-family: 'Syne', sans-serif; opacity: 0;
  }
  .scroll-line {
    width: 1px; height: 50px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollDown 2s ease-in-out infinite;
  }
  @keyframes scrollDown { 0%,100% { transform: scaleY(1); opacity: 1; } 50% { transform: scaleY(0.5); opacity: 0.4; } }

  /* Floating grid dots background */
  .grid-bg {
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background-image:
      radial-gradient(circle, rgba(108,99,255,0.08) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  }

  /* ========= SECTION HEADER ========= */
  .section-header {
    text-align: center; margin-bottom: 4rem;
  }
  .section-tag {
    font-family: 'Syne', sans-serif;
    font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--accent); font-weight: 700;
    display: block; margin-bottom: 0.6rem;
  }
  .section-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800; letter-spacing: -0.03em;
    line-height: 1.1;
  }
  .section-title span { color: var(--accent); }
  

  /* ========= ABOUT ========= */
  #about {
    padding: 120px 5vw;
    background: var(--surface);
  }

  .about-grid {
    max-width: 1100px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 5rem; align-items: center;
  }

  .about-avatar-wrap {
    position: relative;
    display: flex; align-items: center; justify-content: center;
  }

  .avatar-ring {
    width: 260px; height: 260px;
    border-radius: 50%;
    border: 2px solid transparent;
    background: linear-gradient(var(--surface), var(--surface)) padding-box,
                linear-gradient(135deg, var(--accent), var(--accent2)) border-box;
    display: flex; align-items: center; justify-content: center;
    position: relative;
    animation: spin-slow 20s linear infinite;
  }
  @keyframes spin-slow { to { transform: rotate(360deg); } }

  .avatar-inner {
    width: 230px; height: 230px; border-radius: 50%;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Syne', sans-serif; font-size: 4rem; font-weight: 800;
    color: #fff; animation: spin-slow 20s linear infinite reverse;
    overflow: hidden;
  }

  .avatar-dots {
    position: absolute; inset: -20px;
    border-radius: 50%;
    background: radial-gradient(circle at center, transparent 50%, rgba(108,99,255,0.08) 100%);
    pointer-events: none;
  }

  .about-text h2 { font-family: 'Syne', sans-serif; font-size: 2rem; font-weight: 800; margin-bottom: 1.2rem; }
  .about-text p { color: var(--muted); line-height: 1.8; margin-bottom: 2rem; }

  .social-links{ display: flex; gap: 1rem; flex-wrap: wrap; }
  .social-link {
    width: 46px; height: 46px; border-radius: 50%;
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    color: var(--muted); font-size: 1.2rem; text-decoration: none;
    transition: all 0.3s; cursor: none;
    background: var(--card);
  }
  .social-link:hover {
    background: var(--accent); color: #fff;
    border-color: var(--accent); box-shadow: var(--glow);
    transform: translateY(-4px);
  }

  @media (max-width: 768px) {
    .about-grid { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
    .social-links { justify-content: center; }
  }

  /* ========= RESUME ========= */
  #resume {
    padding: 120px 5vw;
    background: var(--bg);
  }

  .resume-inner { max-width: 1000px; margin: 0 auto; }

  .resume-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
  @media (max-width: 768px) { .resume-grid { grid-template-columns: 1fr; gap: 2.5rem; } }

  .resume-col-title {
    font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--accent); margin-bottom: 2rem;
    display: flex; align-items: center; gap: 0.7rem;
  }
  .resume-col-title i { font-size: 1.2rem; }

  .timeline-item {
    position: relative; padding-left: 1.5rem; margin-bottom: 2rem;
    border-left: 1px solid var(--border);
  }
  .timeline-item::before {
    content: ''; position: absolute; left: -4px; top: 6px;
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--accent);
  }
  .timeline-item h4 {
    font-family: 'Syne', sans-serif; font-size: 0.95rem; font-weight: 700;
    margin-bottom: 0.2rem;
  }
  .timeline-item span { font-size: 0.78rem; color: var(--accent2); font-weight: 600; }
  .timeline-item p { font-size: 0.85rem; color: var(--muted); margin-top: 0.4rem; line-height: 1.6; }

  /* ── Skills Orbit Section ── */
  .skills-universe {
    margin-top: 4rem;
  }
  .skill-category {
    margin-bottom: 3.5rem;
  }
  .skill-cat-label {
    font-family: 'Syne', sans-serif; font-size: 0.72rem; font-weight: 700;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--muted); margin-bottom: 1.4rem;
    display: flex; align-items: center; gap: 0.7rem;
  }
  .skill-cat-label::before {
    content: ''; flex: 1; height: 1px; background: var(--border);
  }
  .skill-cat-label::after {
    content: ''; flex: 1; height: 1px; background: var(--border);
  }

  .skill-orbs-row {
    display: flex; flex-wrap: wrap; gap: 1.2rem; justify-content: center;
  }

  /* The orb wrapper handles tooltip */
  .skill-orb-wrap {
    position: relative; display: flex; flex-direction: column;
    align-items: center; gap: 0.5rem;
  }

  /* Tooltip */
  .skill-orb-wrap .tooltip {
    position: absolute; bottom: calc(100% + 12px);
    left: 50%; transform: translateX(-50%) translateY(6px);
    background: var(--card);
    border: 1px solid var(--border);
    color: var(--text);
    font-family: 'Syne', sans-serif; font-size: 0.72rem; font-weight: 700;
    letter-spacing: 0.06em; white-space: nowrap;
    padding: 0.35rem 0.8rem; border-radius: 8px;
    pointer-events: none;
    opacity: 0; transition: all 0.25s cubic-bezier(0.34,1.56,0.64,1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    z-index: 100;
  }
  .skill-orb-wrap .tooltip::after {
    content: ''; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
    border: 5px solid transparent; border-top-color: var(--border);
  }
  .skill-orb-wrap:hover .tooltip {
    opacity: 1; transform: translateX(-50%) translateY(0);
  }

  /* Orb: outer spinner wrapper rotates, inner orb counter-rotates to keep icon upright */
  .orb-spinner {
    width: 64px; height: 64px; border-radius: 50%;
    position: relative;
    animation: ring-spin var(--spin-dur, 8s) linear infinite;
    transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
    flex-shrink: 0;
  }
  .orb-spinner::before {
    content: ''; position: absolute; inset: -4px; border-radius: 50%;
    border: 2px dashed var(--orb-color, #6c63ff);
    opacity: 0.3; transition: opacity 0.35s;
  }
  @keyframes ring-spin { to { transform: rotate(360deg); } }

  .skill-orb {
    width: 64px; height: 64px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--card);
    border: 2px solid var(--border);
    position: relative; cursor: none;
    animation: icon-counter var(--spin-dur, 8s) linear infinite;
    transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
    overflow: hidden;
  }
  @keyframes icon-counter { to { transform: rotate(-360deg); } }

  /* JS adds .orb-hovered to .skill-orb-wrap on mouseenter */
  .skill-orb-wrap.orb-hovered .orb-spinner {
    animation-play-state: paused;
    transform: scale(1.22);
  }
  .skill-orb-wrap.orb-hovered .orb-spinner::before {
    opacity: 1;
  }
  .skill-orb-wrap.orb-hovered .skill-orb {
    animation-play-state: paused;
    border-color: var(--orb-color, #6c63ff);
  }

  .skill-orb i { font-size: 1.8rem; color: var(--orb-color, var(--accent)); pointer-events: none; }
  .orb-svg { width: 30px; height: 30px; pointer-events: none; display: block; }

  @media (max-width: 480px) {
    .orb-spinner, .skill-orb { width: 54px; height: 54px; }
    .skill-orb i { font-size: 1.4rem; }
    .orb-svg { width: 24px; height: 24px; }
  }

  
  /* ========= PROJECTS ========= */
  #projects {
    padding: 120px 5vw;
    background: var(--surface);
  }

  .projects-grid {
    max-width: 1100px; margin: 0 auto;
    display: flex; gap: 2rem; flex-wrap: wrap; justify-content: center;
  }

  .project-card {
    width: 320px;
    border-radius: 24px;
    border: 1px solid var(--border);
    background: var(--card);
    overflow: hidden;
    position: relative;
    cursor: none;
    transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.4s;
    flex-shrink: 0;
  }
  .project-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 40px 80px rgba(0,0,0,0.3), var(--glow);
  }

  .project-thumb {
    height: 190px;
    position: relative; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
  }
  .project-thumb .thumb-bg {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, var(--g1), var(--g2));
  }
  .project-card:nth-child(1) { --g1: #6c63ff; --g2: #a78bfa; }
  .project-card:nth-child(2) { --g1: #ff6584; --g2: #ff9a8b; }
  .project-card:nth-child(3) { --g1: #43c6ac; --g2: #3a7bd5; }

  .project-thumb .thumb-icon {
    position: relative; z-index: 1; font-size: 3.5rem; color: rgba(255,255,255,0.3);
  }

  .project-hover-overlay {
    position: absolute; inset: 0; background: rgba(0,0,0,0.75);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.3s;
    z-index: 2;
  }
  .project-card:hover .project-hover-overlay { opacity: 1; }

  .eye-btn {
    width: 64px; height: 64px; border-radius: 50%;
    background: #fff; color: #111;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; cursor: none;
    border: none;
    transform: scale(0.5); transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
    text-decoration: none;
  }
  .project-card:hover .eye-btn { transform: scale(1); }
  .eye-btn:hover { background: var(--accent); color: #fff; }

  .project-body { padding: 1.4rem 1.5rem; }
  .project-tag {
    font-size: 0.7rem; font-family: 'Syne', sans-serif; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--accent); margin-bottom: 0.4rem;
  }
  .project-body h3 { font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
  .project-body p { font-size: 0.83rem; color: var(--muted); line-height: 1.6; }

  /* ========= CONTACT ========= */
  #contact {
    padding: 120px 5vw;
    background: var(--bg);
    position: relative; overflow: hidden;
  }
  #contact::before {
    content: '';
    position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
    width: 600px; height: 600px; border-radius: 50%;
    background: radial-gradient(circle, rgba(108,99,255,0.08), transparent 70%);
    pointer-events: none;
  }

  .contact-inner {
    max-width: 580px; margin: 0 auto;
    background: var(--card); border-radius: 32px;
    border: 1px solid var(--border);
    padding: 3rem;
    position: relative; z-index: 1;
  }

  .contact-info {
    text-align: center; margin-bottom: 2.5rem;
  }
  .contact-info p { color: var(--muted); font-size: 0.9rem; margin-top: 0.5rem; }
  .contact-email {
    font-family: 'Syne', sans-serif; font-weight: 700; color: var(--accent);
    font-size: 1rem;
  }

  .form-group { margin-bottom: 1.2rem; position: relative; }
  .form-group label {
    display: block; font-size: 0.75rem; font-family: 'Syne', sans-serif;
    font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--muted); margin-bottom: 0.5rem;
  }
  .form-group input, .form-group textarea {
    width: 100%; padding: 0.9rem 1.2rem;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 14px; color: var(--text);
    font-family: 'DM Sans', sans-serif; font-size: 0.9rem;
    outline: none; transition: border-color 0.3s, box-shadow 0.3s;
    resize: none;
  }
  .form-group input:focus, .form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(108,99,255,0.12);
  }
  .form-group textarea { height: 120px; }

  .send-btn {
    width: 100%; padding: 1rem;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: #fff; border: none; border-radius: 14px;
    font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1rem;
    cursor: none; position: relative; overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 8px 30px rgba(108,99,255,0.3);
    display: flex; align-items: center; justify-content: center; gap: 0.6rem;
    margin-top: 1rem;
  }
  .send-btn:hover { transform: translateY(-3px); box-shadow: 0 20px 40px rgba(108,99,255,0.5); }
  .send-btn .ripple {
    position: absolute; border-radius: 50%;
    background: rgba(255,255,255,0.3); pointer-events: none;
    animation: rippleOut 0.7s ease-out forwards;
  }
  @keyframes rippleOut { from { width: 0; height: 0; opacity: 1; } to { width: 400px; height: 400px; opacity: 0; } }

  /* Success toast */
  .toast {
    position: fixed; bottom: 2rem; right: 2rem;
    background: var(--card); border: 1px solid var(--accent);
    padding: 1rem 1.5rem; border-radius: 16px;
    display: flex; align-items: center; gap: 0.8rem;
    font-family: 'Syne', sans-serif; font-weight: 600;
    box-shadow: var(--glow); z-index: 9999;
    transform: translateY(100px); opacity: 0;
    transition: all 0.5s cubic-bezier(0.34,1.56,0.64,1);
  }
  .toast.show { transform: translateY(0); opacity: 1; }
  .toast i { color: #4ade80; font-size: 1.2rem; }

  /* ========= FOOTER ========= */
  footer {
    text-align: center; padding: 2rem;
    border-top: 1px solid var(--border);
    color: var(--muted); font-size: 0.8rem;
    font-family: 'Syne', sans-serif;
  }

  /* Scroll progress */
  .progress-bar {
    position: fixed; top: 0; left: 0; height: 3px; z-index: 2000;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    transform-origin: left; transform: scaleX(0);
    transition: transform 0.1s;
  }
  