:root{
    --bg: #0a0e13;
    --bg-elevated: #0f151c;
    --bg-card: #121a22;
    --border: #1e2a35;
    --border-soft: #182029;
    --accent: #22b8ff;
    --accent-dim: #245a7d;
    --accent-bright: #7bf1ff;
    --glow: 0 0 8px rgba(34,184,255,0.55), 0 0 28px rgba(34,184,255,0.25);
    --glow-soft: 0 0 20px rgba(34,184,255,0.15);
    --pending: #ffb454;
    --pending-glow: 0 0 8px rgba(255,180,84,0.55), 0 0 24px rgba(255,180,84,0.2);
    --text: #f2f7fb;
    --text-muted: #8393a1;
    --text-faint: #566470;
    --sans: 'Space Grotesk', sans-serif;
    --mono: 'JetBrains Mono', monospace;
    --maxw: 880px;
  }

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

  html { scroll-behavior: smooth; }

  body{
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
  }

  body::before{
    content: "";
    position: fixed;
    inset: 0;
    background-image:
      linear-gradient(var(--border-soft) 1px, transparent 1px),
      linear-gradient(90deg, var(--border-soft) 1px, transparent 1px);
    background-size: 56px 56px;
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
    mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, black 40%, transparent 100%);
    animation: grid-drift 40s linear infinite;
  }
  @keyframes grid-drift{ to { background-position: 56px 56px; } }

  body::after{
    content: "";
    position: fixed;
    inset: 0;
    background: repeating-linear-gradient(
      to bottom,
      rgba(255,255,255,0.015) 0px,
      rgba(255,255,255,0.015) 1px,
      transparent 1px,
      transparent 3px
    );
    pointer-events: none;
    z-index: 0;
  }

  a { color: inherit; text-decoration: none; }

  ::selection { background: var(--accent-dim); color: var(--accent-bright); }

  @media (prefers-reduced-motion: reduce){
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  }

  /* ---------- layout shell ---------- */
  .wrap{
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 28px;
    position: relative;
    z-index: 1;
  }

  .scroll-bar{
    position: fixed;
    top: 0; left: 0;
    height: 2.5px;
    width: 0%;
    background: linear-gradient(90deg, var(--accent-dim), var(--accent-bright));
    box-shadow: 0 0 8px rgba(34,184,255,0.6);
    z-index: 20;
    transition: width 0.1s linear;
  }

  nav{
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(10px);
    background: rgba(10,14,19,0.75);
    border-bottom: 1px solid var(--border-soft);
  }
  nav .wrap{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    padding-bottom: 18px;
  }
  .nav-mark{
    font-family: var(--mono);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--accent-bright);
    letter-spacing: 0.02em;
    text-shadow: var(--glow);
  }
  .nav-links{
    display: flex;
    gap: 28px;
    font-size: 0.92rem;
    color: var(--text-muted);
  }
  .nav-links a{
    position: relative;
    padding-bottom: 3px;
    transition: color 0.2s ease;
  }
  .nav-links a::after{
    content: "";
    position: absolute;
    left: 0; right: 100%;
    bottom: 0;
    height: 1px;
    background: var(--accent-bright);
    box-shadow: 0 0 6px rgba(34,184,255,0.6);
    transition: right 0.28s cubic-bezier(.4,0,.2,1);
  }
  .nav-links a:hover{ color: var(--accent-bright); }
  .nav-links a:hover::after{ right: 0; }
  @media (max-width: 560px){ .nav-links{ display: none; } }

  /* ---------- hero ---------- */
  header.hero{
    padding: 88px 0 72px;
    position: relative;
    z-index: 1;
  }
  .hero-grid{
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 48px;
    align-items: center;
  }
  @media (max-width: 780px){
    .hero-grid{ grid-template-columns: 1fr; }
  }

  /* ---------- ologramma 3D low-poly del viso ---------- */
  .hologram{
    position: absolute;
    top: 30%;
    left: -34px;
    transform: translateY(-50%);
    width: 480px;
    height: 480px;
    z-index: 0;
    pointer-events: none;
    perspective: 1100px;
    animation: holo-flicker 6s ease-in-out infinite;
  }
  @media (max-width: 780px){
    .hologram{
      width: 340px;
      height: 340px;
      top: -20px;
      left: auto;
      right: 50%;
      transform: translate(50%, 0);
      opacity: 0.65;
    }
  }
  @keyframes holo-flicker{
    0%, 100% { opacity: 1; }
    92%      { opacity: 1; }
    93%      { opacity: 0.6; }
    94%      { opacity: 1; }
    96%      { opacity: 0.75; }
    97%      { opacity: 1; }
  }

  .holo-spin{
    position: relative;
    width: 100%; height: 100%;
    transform-style: preserve-3d;
    will-change: transform;
    animation: holo-spin 11s ease-in-out infinite;
  }
  @keyframes holo-spin{
    0%, 100% { transform: rotateY(-30deg) rotateX(5deg); }
    50%      { transform: rotateY(30deg) rotateX(-5deg); }
  }
  .holo-spin svg{
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    overflow: visible;
  }

  .holo-scan{
    position: absolute;
    left: 10%; right: 10%;
    height: 2px;
    top: 20%;
    background: linear-gradient(90deg, transparent, var(--accent-bright), transparent);
    box-shadow: 0 0 12px rgba(34,184,255,0.85);
    mix-blend-mode: screen;
    animation: holo-scan-move 3.4s ease-in-out infinite;
  }
  @keyframes holo-scan-move{
    0%, 100% { top: 16%; opacity: 0.85; }
    50%      { top: 78%; opacity: 0.4; }
  }

  .kicker{
    font-family: var(--mono);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--accent-bright);
    text-shadow: 0 0 8px rgba(34,184,255,0.4);
    margin-bottom: 18px;
    animation: hero-rise 0.6s ease both;
  }

  h1{
    font-size: clamp(2.4rem, 5.4vw, 3.6rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.02em;
    animation: hero-rise 0.7s ease 0.1s both;
  }
  h1 .accent{
    color: var(--accent-bright);
    text-shadow: var(--glow);
    animation: glow-breathe 3.6s ease-in-out 1.2s infinite;
  }
  /* leggero "respiro" del neon una volta acceso, come un'insegna reale */
  @keyframes glow-breathe{
    0%, 100% {
      text-shadow: 0 0 8px rgba(34,184,255,0.55), 0 0 28px rgba(34,184,255,0.25);
    }
    50% {
      text-shadow: 0 0 11px rgba(34,184,255,0.75), 0 0 38px rgba(34,184,255,0.4);
    }
  }
  @keyframes hero-rise{
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .hero-sub{
    margin-top: 20px;
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 46ch;
    animation: hero-rise 0.7s ease 0.22s both;
  }

  .hero-cta{
    margin-top: 32px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    animation: hero-rise 0.7s ease 0.34s both;
  }
  .btn{
    font-family: var(--sans);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 13px 24px;
    border-radius: 6px;
    border: 1.5px solid var(--border);
    transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    display: inline-block;
  }
  .btn-primary{
    position: relative;
    overflow: hidden;
    background: var(--accent);
    color: #041521;
    border-color: var(--accent);
    box-shadow: var(--glow-soft);
  }
  .btn-primary::before{
    content: "";
    position: absolute;
    top: 0; left: -60%;
    width: 35%; height: 100%;
    background: linear-gradient(115deg, transparent, rgba(255,255,255,0.55), transparent);
    transform: skewX(-18deg);
    animation: btn-shimmer 3.4s ease-in-out infinite;
  }
  @keyframes btn-shimmer{
    0%   { left: -60%; }
    35%  { left: 130%; }
    100% { left: 130%; }
  }
  .btn-primary:hover{ transform: translateY(-2px); background: var(--accent-bright); border-color: var(--accent-bright); box-shadow: var(--glow); }
  .btn-ghost{ color: var(--text); }
  .btn-ghost:hover{ border-color: var(--accent-bright); color: var(--accent-bright); transform: translateY(-2px); box-shadow: var(--glow-soft); }

  /* ---------- terminal ---------- */
  .terminal{
    position: relative;
    background: var(--bg-elevated);
    border: 1.5px solid var(--accent-dim);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6), var(--glow-soft);
    animation: term-pulse 4s ease-in-out infinite;
  }
  .terminal::after{
    content: "";
    position: absolute;
    left: 0; right: 0;
    top: -60px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, rgba(34,184,255,0.14), transparent);
    animation: scan-sweep 5.5s linear infinite;
    pointer-events: none;
  }
  @keyframes scan-sweep{ to { top: 100%; } }
  @keyframes term-pulse{
    0%, 100% { box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6), 0 0 16px rgba(34,184,255,0.12); }
    50% { box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6), 0 0 28px rgba(34,184,255,0.32); }
  }
  .terminal-bar{
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--border-soft);
    background: var(--bg-card);
  }
  .dot{ width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
  .terminal-title{
    margin-left: 6px;
    font-family: var(--mono);
    font-size: 0.75rem;
    color: var(--text-faint);
  }
  .terminal-body{
    padding: 22px 20px 28px;
    font-family: var(--mono);
    font-size: 0.88rem;
    min-height: 210px;
  }
  .term-line{ margin-bottom: 10px; white-space: pre-wrap; word-break: break-word; }
  .term-prompt{ color: var(--accent-bright); font-weight: 600; text-shadow: 0 0 6px rgba(34,184,255,0.5); }
  .term-out{ color: var(--text-muted); }
  .term-out .hl{ color: var(--accent-bright); }
  .caret{
    display: inline-block;
    width: 7px;
    height: 1em;
    background: var(--accent-bright);
    box-shadow: var(--glow);
    vertical-align: text-bottom;
    animation: blink 1s step-end infinite;
  }
  @keyframes blink{ 50% { opacity: 0; } }

  /* ---------- sections ---------- */
  section{ padding: 64px 0; border-top: 1px solid var(--border-soft); }
  .section-head{
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 36px;
  }
  .section-num{
    font-family: var(--mono);
    font-weight: 600;
    color: var(--accent-bright);
    font-size: 0.95rem;
    text-shadow: var(--glow);
  }
  .reveal.in-view .section-num{
    animation: num-flicker 0.8s steps(1, end) 1 both;
  }
  @keyframes num-flicker{
    0%   { opacity: 0.15; text-shadow: none; }
    15%  { opacity: 1;    text-shadow: var(--glow); }
    25%  { opacity: 0.25; text-shadow: none; }
    40%  { opacity: 1;    text-shadow: var(--glow); }
    100% { opacity: 1;    text-shadow: var(--glow); }
  }
  h2{ font-size: 1.65rem; font-weight: 700; letter-spacing: -0.01em; }

  /* ---------- percorso timeline ---------- */
  .timeline{ position: relative; padding-left: 26px; }
  .timeline::before{
    content: "";
    position: absolute;
    left: 5px; top: 6px; bottom: 6px;
    width: 1px;
    background: var(--border);
  }
  .tl-item{ position: relative; padding-bottom: 30px; }
  .tl-item:last-child{ padding-bottom: 0; }
  .tl-item::before{
    content: "";
    position: absolute;
    left: -26px; top: 5px;
    width: 9px; height: 9px;
    border-radius: 50%;
    background: var(--bg);
    border: 2px solid var(--accent-bright);
    box-shadow: var(--glow);
  }
  .timeline.in-view .tl-item::before{
    animation: dot-breathe 2.6s ease-in-out 1.3s infinite;
  }
  .timeline.in-view .tl-item:nth-child(3)::before{ animation-delay: 1.6s; }
  .timeline.in-view .tl-item:nth-child(4)::before{ animation-delay: 1.9s; }
  .timeline.in-view .tl-item:nth-child(5)::before{ animation-delay: 2.2s; }
  .timeline.in-view .tl-item:nth-child(6)::before{ animation-delay: 2.5s; }
  @keyframes dot-breathe{
    0%, 100% { box-shadow: 0 0 8px rgba(34,184,255,0.5), 0 0 20px rgba(34,184,255,0.2); }
    50%      { box-shadow: 0 0 13px rgba(34,184,255,0.8), 0 0 32px rgba(34,184,255,0.4); }
  }
  .tl-tag{
    font-family: var(--mono);
    font-weight: 600;
    font-size: 0.78rem;
    color: var(--text-faint);
    margin-bottom: 4px;
  }
  .tl-title{ font-weight: 700; margin-bottom: 4px; }
  .tl-desc{ color: var(--text-muted); font-size: 0.95rem; max-width: 60ch; }

  .timeline-fill{
    position: absolute;
    left: 5px; top: 6px;
    width: 2px; height: 0;
    background: var(--accent-bright);
    box-shadow: 0 0 10px rgba(34,184,255,0.7);
    transition: height 1.3s cubic-bezier(.16,.84,.44,1);
    z-index: 1;
  }
  .timeline.in-view .timeline-fill{ height: calc(100% - 12px); }

  /* elementi che compaiono dolcemente quando entrano nel viewport */
  .reveal{
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: var(--rd, 0s);
  }
  .reveal.in-view{ opacity: 1; transform: none; }

  /* ---------- certifications ---------- */
  .cert-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
  }
  .cert-card{
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: 8px;
    padding: 20px;
    position: relative;
    display: block;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  }
  .cert-card.earned{ cursor: pointer; }
  .cert-card.earned:hover{ transform: translateY(-3px); }
  .cert-card:has(.cert-status:not(.pending)){ border-color: var(--accent-dim); }
  .cert-card:has(.cert-status:not(.pending)):hover{ border-color: var(--accent-bright); box-shadow: var(--glow); }

  .cert-badge{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px; height: 42px;
    margin-bottom: 14px;
    color: var(--accent-bright);
    filter: drop-shadow(0 0 6px rgba(34,184,255,0.45));
    animation: badge-float 3.6s ease-in-out infinite;
  }
  .cert-badge svg{ width: 100%; height: 100%; }
  .cert-badge.pending{ color: var(--pending); filter: drop-shadow(0 0 6px rgba(255,180,84,0.35)); animation-duration: 2.8s; }
  @keyframes badge-float{
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-4px); }
  }
  .cert-card:nth-child(2) .cert-badge{ animation-delay: 0.5s; }
  .cert-card:nth-child(3) .cert-badge{ animation-delay: 1s; }

  .cert-download{
    position: absolute;
    top: 18px; right: 18px;
    width: 19px; height: 19px;
    color: var(--accent-bright);
    opacity: 0;
    transform: translateY(-5px);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }
  .cert-card.earned:hover .cert-download{ opacity: 1; transform: none; }

  .cert-cta{
    margin-top: 14px;
    font-family: var(--mono);
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--text-faint);
    transition: color 0.25s ease;
  }
  .cert-card.earned:hover .cert-cta{ color: var(--accent-bright); }

  /* card "in preparazione": trattamento distinto in ambra, a metà tra un done e un todo */
  .cert-card:has(.cert-status.pending){
    border-style: dashed;
    border-color: rgba(255,180,84,0.4);
    background:
      linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
      repeating-linear-gradient(90deg, rgba(255,180,84,0.5) 0 10px, transparent 10px 20px) border-box;
    animation: dash-crawl 1.2s linear infinite;
  }
  @keyframes dash-crawl{ to { background-position: 0 0, 20px 0; } }

  .cert-status{
    font-family: var(--mono);
    font-weight: 700;
    font-size: 0.72rem;
    color: var(--accent-bright);
    text-shadow: 0 0 6px rgba(34,184,255,0.45);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 7px;
  }
  .cert-status.pending{ color: var(--pending); text-shadow: 0 0 6px rgba(255,180,84,0.4); }

  .pending-dot{
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--pending);
    box-shadow: var(--pending-glow);
    animation: dot-pulse 1.4s ease-in-out infinite;
  }
  @keyframes dot-pulse{
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.75); }
  }

  .pending-bar{
    margin-top: 14px;
    height: 4px;
    border-radius: 999px;
    background: rgba(255,180,84,0.12);
    overflow: hidden;
  }
  .pending-bar::before{
    content: "";
    display: block;
    width: 40%;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, var(--pending), transparent);
    box-shadow: 0 0 8px rgba(255,180,84,0.6);
    animation: bar-sweep 1.8s ease-in-out infinite;
  }
  @keyframes bar-sweep{
    0% { transform: translateX(-120%); }
    100% { transform: translateX(360%); }
  }
  .cert-name{ font-weight: 700; margin-bottom: 6px; }
  .cert-desc{ color: var(--text-muted); font-size: 0.88rem; }

  /* ---------- projects ---------- */
  .proj-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
  }
  .proj-card{
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: 8px;
    padding: 22px;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  }
  .proj-card:hover{ border-color: var(--accent-bright); transform: translateY(-3px); box-shadow: var(--glow-soft); }
  .proj-tag{
    font-family: var(--mono);
    font-weight: 600;
    font-size: 0.72rem;
    color: var(--accent-bright);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .proj-status-dot{
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent-bright);
    box-shadow: 0 0 6px rgba(34,184,255,0.7);
    animation: dot-pulse 2.2s ease-in-out infinite;
  }
  .proj-card:nth-child(2n) .proj-status-dot{ animation-delay: 0.4s; }
  .proj-card:nth-child(3n) .proj-status-dot{ animation-delay: 0.8s; }
  .proj-title{ font-weight: 700; margin-bottom: 8px; }
  .proj-desc{ color: var(--text-muted); font-size: 0.88rem; }

  /* card nascoste da filtro/limite: pronte a comparire con una piccola dissolvenza */
  .proj-card{
    opacity: 0;
    transform: translateY(10px) scale(0.98);
    transition: opacity 0.35s ease, transform 0.35s ease;
  }
  .proj-card.in{ opacity: 1; transform: none; }

  .filter-bar{
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 24px;
  }
  .filter-chip{
    font-family: var(--mono);
    font-weight: 600;
    font-size: 0.78rem;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1.5px solid var(--border);
    color: var(--text-muted);
    cursor: pointer;
    background: transparent;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  }
  .filter-chip:hover{ border-color: var(--accent-dim); color: var(--text); }
  .filter-chip.active{ border-color: var(--accent-bright); color: var(--accent-bright); background: rgba(34,184,255,0.1); box-shadow: var(--glow-soft); text-shadow: 0 0 6px rgba(34,184,255,0.4); }

  .proj-count{
    font-family: var(--mono);
    font-size: 0.78rem;
    color: var(--text-faint);
    margin-bottom: 18px;
  }

  .show-more-wrap{ display: flex; justify-content: center; margin-top: 26px; }
  .show-more-btn{
    font-family: var(--mono);
    font-size: 0.8rem;
    color: var(--accent-bright);
    background: transparent;
    border: 1px dashed var(--border);
    border-radius: 8px;
    padding: 10px 22px;
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
  }
  .show-more-btn:hover{ border-color: var(--accent); transform: translateY(-2px); background: rgba(63,169,245,0.06); }
  .show-more-btn[hidden]{ display: none; }

  /* ---------- link cards (i "bottoni") ---------- */
  .link-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
  }
  .link-card{
    position: relative;
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow: hidden;
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  }
  .link-card::after{
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(120px 80px at var(--mx,50%) var(--my,0%), rgba(34,184,255,0.28), transparent 70%);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
  }
  .link-card:hover::after{ opacity: 1; }
  .link-card:hover{ border-color: var(--accent-bright); transform: translateY(-4px); box-shadow: var(--glow); }
  .link-icon{
    width: 34px; height: 34px;
    color: var(--accent-bright);
    filter: drop-shadow(0 0 5px rgba(34,184,255,0.5));
    transition: transform 0.3s cubic-bezier(.34,1.56,.64,1);
  }
  .link-card:hover .link-icon{ transform: scale(1.12) rotate(-4deg); }
  .link-icon svg{ width: 100%; height: 100%; }
  .link-label{ font-weight: 700; font-size: 1.05rem; }
  .link-sub{ font-family: var(--mono); font-size: 0.75rem; color: var(--text-faint); }

  footer{
    padding: 50px 0 70px;
    border-top: 1px solid var(--border-soft);
    color: var(--text-faint);
    font-size: 0.85rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
  }
  footer a:hover{ color: var(--accent-bright); }

  .footer-status{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
  }
  .status-dot{
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 6px rgba(74,222,128,0.7);
    animation: dot-pulse 1.8s ease-in-out infinite;
  }

  .edit-note{
    font-family: var(--mono);
    font-size: 0.72rem;
    color: #4a5560;
    text-align: center;
    padding: 14px 0 0;
  }