:root{
  --bg:#F4F7FF;
  --ink:#292F3B;
  --ink-muted:#555c6b;
  --blue:#4A5B8C;
  --gold:#D4AF37;
  --max-w:1080px;
  --hub-vivid:#426AD7;
  --hub-deep:#1F2C51;
}
*{margin:0;padding:0;box-sizing:border-box;}
*:focus-visible{outline:2px solid var(--blue);outline-offset:2px;}
::selection{background:var(--blue);color:#fff;}
html{background:var(--bg);}
html,body{color:var(--ink);font-family:'Inter',sans-serif;scroll-behavior:smooth;}
h1,h2,h3{font-family:'Outfit',sans-serif;color:var(--blue);font-weight:600;}
a{color:var(--blue);text-decoration:none;}
section{max-width:var(--max-w);margin:0 auto;padding:96px 24px;}
.lang-it{display:none;}
[data-lang="it"] .lang-en{display:none;}
[data-lang="it"] .lang-it{display:inline;}

nav{position:sticky;top:0;background:rgba(243,245,247,0.92);backdrop-filter:blur(6px);
  display:flex;justify-content:space-between;align-items:center;padding:16px 24px;z-index:10;
  border-bottom:1px solid rgba(41,47,59,0.08);}
nav .links{display:flex;gap:24px;font-size:14px;font-weight:500;}
nav .links a{color:var(--ink);}
nav .links a:hover{color:var(--blue);}
#lang-toggle{border:1px solid var(--blue);background:none;color:var(--blue);
  font-family:'Inter',sans-serif;font-size:13px;font-weight:600;padding:6px 14px;
  min-height:44px;display:inline-flex;align-items:center;
  border-radius:20px;cursor:pointer;}
#lang-toggle:hover{background:var(--blue);color:#fff;}
#nav-toggle{display:none;background:none;border:none;color:var(--ink);cursor:pointer;
  min-width:44px;min-height:44px;align-items:center;justify-content:center;
  margin-left:12px;line-height:0;}

.hero{min-height:80vh;display:flex;flex-direction:column;align-items:center;
  justify-content:center;text-align:center;gap:24px;padding-top:48px;}
.hero h1{font-size:clamp(1.875rem, 1.2rem + 3vw, 2.625rem);line-height:1.15;max-width:760px;}
.hero p{font-size:18px;max-width:620px;color:var(--ink-muted);}

#thesis p, #group p{font-size:16px;line-height:1.6;color:var(--ink-muted);margin-top:16px;}
#thesis .lead{font-size:19px;color:var(--ink);font-weight:500;}
.trend-list{list-style:none;margin:28px 0;padding:0;display:flex;flex-direction:column;gap:24px;counter-reset:trend;}
.trend-list li{position:relative;padding-left:44px;}
.trend-list li::before{counter-increment:trend;content:counter(trend);position:absolute;left:0;top:0;
  width:28px;height:28px;border-radius:50%;background:var(--blue);color:#fff;
  font-family:'Outfit',sans-serif;font-weight:600;font-size:14px;
  display:flex;align-items:center;justify-content:center;}
.trend-list strong{display:block;font-family:'Outfit',sans-serif;font-size:16px;color:var(--ink);margin-bottom:4px;}
.trend-list p{margin-top:4px;}
#group{text-align:center;}
.pillar-section{max-width:640px;margin:0 auto;padding:56px 24px;border-top:1px solid rgba(41,47,59,0.08);text-align:left;}
.pillar-section .panel-dot{display:inline-block;width:10px;height:10px;border-radius:50%;margin-bottom:12px;}
.pillar-section h3{font-size:20px;margin-bottom:8px;}
.pillar-section p{font-size:15px;line-height:1.6;color:var(--ink-muted);}
.pillar-more{display:inline-block;margin-top:12px;font-weight:600;font-size:14px;}

.token-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:32px;}
.token-card{background:#fff;border:1px solid rgba(41,47,59,0.08);border-radius:12px;
  padding:32px 24px;text-align:center;
  box-shadow:0 4px 24px rgba(41,47,59,.06);opacity:0;transform:translateY(12px);
  transition:box-shadow 0.3s ease, border-color 0.3s ease, opacity 0.5s ease, transform 0.5s ease;}
.token-card:hover{border-color:rgba(66,106,215,0.4);box-shadow:0 8px 32px rgba(41,47,59,.10);}
#tokens.fade-in .token-card{opacity:1;transform:translateY(0);}
#tokens.fade-in .token-card:nth-child(1){transition-delay:0ms;}
#tokens.fade-in .token-card:nth-child(2){transition-delay:80ms;}
#tokens.fade-in .token-card:nth-child(3){transition-delay:160ms;}
.token-card img{width:56px;height:56px;margin-bottom:16px;}
.token-card h3{font-size:20px;margin-bottom:12px;}
.token-card p{font-size:14px;line-height:1.6;color:var(--ink-muted);}
@media (max-width:760px){
  .token-grid{grid-template-columns:1fr;}
}

.badge-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:0 24px;margin-top:32px;}
.badge{background:none;border:none;border-top:1px solid rgba(41,47,59,0.08);border-radius:0;
  padding:20px 0;opacity:0;transform:translateY(12px);
  transition:border-color 0.3s ease, opacity 0.5s ease, transform 0.5s ease;}
.badge:hover{border-top-color:var(--blue);}
#governance.fade-in .badge{opacity:1;transform:translateY(0);}
#governance.fade-in .badge:nth-child(1){transition-delay:0ms;}
#governance.fade-in .badge:nth-child(2){transition-delay:80ms;}
#governance.fade-in .badge:nth-child(3){transition-delay:160ms;}
#governance.fade-in .badge:nth-child(4){transition-delay:240ms;}
.por-indicator{display:block;width:32px;height:32px;margin-bottom:12px;color:var(--gold);
  opacity:0;transform:scale(0.7);transition:opacity 0.6s ease, transform 0.6s ease;}
.por-indicator svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;}
#governance.fade-in .por-indicator{opacity:1;transform:scale(1);}
@media (prefers-reduced-motion: reduce){
  .por-indicator{transition:none;}
}
.badge strong{display:block;font-family:'Outfit',sans-serif;font-size:16px;color:var(--ink);margin-bottom:8px;}
.badge p{font-size:14px;line-height:1.6;color:var(--ink-muted);}

.timeline{display:flex;flex-direction:column;gap:0;margin-top:32px;border-left:2px solid var(--blue);padding-left:24px;}
.phase{position:relative;padding:16px 0;}
.phase-icon{position:absolute;left:-38px;top:16px;width:20px;height:20px;color:var(--blue);background:var(--bg);}
.phase-icon svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;}
.phase .period{display:block;font-family:'Outfit',sans-serif;font-weight:600;color:var(--blue);font-size:14px;}
.phase p{font-size:15px;color:var(--ink);margin-top:4px;}

@media (max-width:760px){
  .badge-grid{grid-template-columns:1fr;}
}

@media (max-width:640px){
  section{padding:64px 16px;}
  nav .links{display:none;position:absolute;top:100%;left:0;right:0;flex-direction:column;
    gap:0;background:var(--bg);border-bottom:1px solid rgba(41,47,59,0.08);
    padding:8px 24px 16px;}
  nav .links.open{display:flex;}
  nav .links a{padding:12px 0;font-size:15px;border-bottom:1px solid rgba(41,47,59,0.06);}
  nav .links a:last-child{border-bottom:none;}
  #nav-toggle{display:flex;}
}

#contact{text-align:center;}
#contact p{font-size:16px;color:var(--ink-muted);max-width:560px;margin:16px auto;}
.cta{display:inline-block;margin-top:16px;padding:14px 32px;background:var(--blue);
  color:#fff;border-radius:30px;font-weight:600;font-size:15px;}
.cta:hover{background:var(--ink);}
.footer-meta{font-size:13px;color:var(--ink-muted);margin-top:32px;}

.fade-target{opacity:0;transform:translateY(16px);transition:opacity 0.6s ease, transform 0.6s ease;}
.fade-target.fade-in{opacity:1;transform:translateY(0);}
.hero.fade-target{opacity:1;transform:none;}
@media (prefers-reduced-motion: reduce){
  .fade-target{opacity:1;transform:none;transition:none;}
  .token-card, .badge{opacity:1;transform:none;transition:none;}
}

.skip-link{position:absolute;left:-9999px;top:0;background:var(--ink);color:#fff;
  padding:12px 20px;z-index:50;border-radius:0 0 8px 0;font-weight:600;font-size:14px;}
.skip-link:focus{left:0;}

#back-to-top{position:fixed;bottom:28px;right:28px;width:44px;height:44px;border-radius:50%;
  background:var(--ink);color:#fff;display:flex;align-items:center;justify-content:center;
  font-size:18px;text-decoration:none;opacity:0;pointer-events:none;
  transition:opacity 0.3s ease,background 0.2s ease;z-index:20;}
#back-to-top.visible{opacity:1;pointer-events:auto;}
#back-to-top:hover{background:var(--blue);}

.hub{position:relative;width:100%;max-width:760px;aspect-ratio:2/1;margin:0 auto;}
.hub-glow{position:absolute;left:51%;top:49%;width:88%;height:53%;transform:translate(-50%,-50%) rotate(-10deg);
  border-radius:50%;background:radial-gradient(closest-side, rgba(66,106,215,0.7), rgba(66,106,215,0) 100%);
  pointer-events:none;z-index:0;}
.hub-ring{position:absolute;border-radius:50%;
  border:1px solid rgba(74,91,140,0.4);pointer-events:none;z-index:1;}
.hub-ring-outer{left:50%;top:50%;width:88%;height:53%;transform:translate(-50%,-50%) rotate(-10deg);
  border-width:1.5px;border-color:rgba(74,91,140,0.55);box-shadow:0 0 16px rgba(66,106,215,0.3);}
.hub-ring-mid{left:50%;top:50%;width:76%;height:46%;transform:translate(-50%,-50%) rotate(-10deg);
  box-shadow:0 0 8px rgba(66,106,215,0.15);}
.hub-ring-inner{left:50%;top:50%;width:57%;height:22%;transform:translate(-50%,-50%) rotate(-10deg);
  border-color:rgba(255,255,255,0.75);box-shadow:0 0 10px rgba(255,255,255,0.4);}
.hub-ring-satellite{left:57%;top:19%;width:22.7%;height:12.4%;transform:translate(-50%,-50%) rotate(-6deg);
  border-color:rgba(74,91,140,0.3);box-shadow:0 0 8px rgba(66,106,215,0.12);}
.hub-spark{position:absolute;width:4px;height:4px;border-radius:50%;background:#fff;
  box-shadow:0 0 6px 2px rgba(66,106,215,0.8);transform:translate(-50%,-50%);z-index:1;
  opacity:0.75;}
.hub-star-link{position:absolute;width:19%;transform:translate(-50%,-50%);display:block;z-index:2;
  transition:transform 0.3s ease, filter 0.3s ease;}
.hub-star-link img{width:100%;display:block;}
.hub-star-link:hover, .hub-star-link:focus-visible{transform:translate(-50%,-50%) scale(1.06);
  filter:drop-shadow(0 0 12px var(--hub-vivid));outline:none;}
.hub-node{position:absolute;width:11.5%;transform:translate(-50%,-50%);display:block;z-index:3;
  transition:transform 0.3s ease, filter 0.3s ease, opacity 0.3s ease;}
.hub-node img{width:100%;display:block;}
.hub-node:hover, .hub-node:focus-visible{transform:translate(-50%,-50%) scale(1.08);outline:none;}
.hub-node.active{filter:drop-shadow(0 0 10px var(--hub-vivid));animation:hub-pulse 2.4s ease-in-out infinite;}
.hub-node.dim{opacity:0.45;}
@keyframes hub-pulse{
  0%,100%{filter:drop-shadow(0 0 10px var(--hub-vivid));}
  50%{filter:drop-shadow(0 0 4px var(--hub-vivid));}
}
.hub-satellite-link{position:absolute;width:5.75%;transform:translate(-50%,-50%);display:block;z-index:4;
  opacity:0.5;transition:opacity 0.3s ease, transform 0.3s ease, filter 0.3s ease;}
.hub-satellite-link img{width:100%;display:block;}
.hub-satellite-link:hover, .hub-satellite-link:focus-visible{opacity:1;
  transform:translate(-50%,-50%) scale(1.15);filter:drop-shadow(0 0 10px var(--hub-vivid));outline:none;}
@media (prefers-reduced-motion: reduce){
  .hub-node, .hub-star-link, .hub-satellite-link{transition:none;}
  .hub-node.active{animation:none;}
}

@media (max-width:700px){
  .hub{max-width:280px;aspect-ratio:auto;display:flex;flex-direction:column;align-items:center;gap:16px;}
  .hub-glow, .hub-ring, .hub-spark{display:none;}
  .hub-star-link{position:static;width:96px;transform:none;}
  .hub-node{position:static;width:72px;transform:none;}
  .hub-node:hover, .hub-node:focus-visible{transform:scale(1.05);}
  .hub-satellite-link{position:static;width:44px;transform:none;opacity:0.7;}
}
