:root{
  --bg:#0b1526;
  --bg-deep:#08111f;
  --panel:#0f2340;
  --panel2:#0c1e38;
  --border:#1b3a63;
  --text:#e8f1ff;
  --muted:#a9bfdc;
  --accent:#39b8ff;
  --orange:#ff7a00;
  --orange-2:#ff9f43;
}

*{
  box-sizing:border-box;
}

html,
body{
  margin:0;
  padding:0;
  min-height:100%;
  font-family:system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:var(--bg);
  color:var(--text);
  scroll-behavior:smooth;
}

body{
  background:
    radial-gradient(circle at top right, rgba(57,184,255,0.10), transparent 28%),
    radial-gradient(circle at left center, rgba(255,122,0,0.06), transparent 22%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg) 45%, #09111d 100%);
}

/* =========================
   HERO
========================= */
.hero{
  position:relative;
  min-height:100vh;
  display:flex;
  align-items:center;
  overflow:hidden;
  background:
    linear-gradient(90deg, rgba(6,12,22,0.88) 0%, rgba(6,12,22,0.62) 42%, rgba(6,12,22,0.90) 100%),
    url("/stint-manager/bg.png") right center / cover no-repeat;
}

.hero-overlay{
  position:absolute;
  inset:0;
  z-index:1;
  background:
    linear-gradient(180deg, rgba(11,21,38,0.12), rgba(11,21,38,0.28)),
    radial-gradient(circle at 20% 30%, rgba(57,184,255,0.08), transparent 30%),
    radial-gradient(circle at 80% 70%, rgba(255,122,0,0.06), transparent 25%);
}

.hero-content{
  position:relative;
  z-index:2;
  width:min(1280px, 92%);
  margin:0 auto;
  display:grid;
  grid-template-columns:1.05fr 0.95fr;
  gap:56px;
  align-items:center;
  padding:90px 0 150px 0;
}

.hero-left{
  max-width:680px;
}

.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 13px;
  border:1px solid rgba(57,184,255,.35);
  border-radius:999px;
  color:var(--accent);
  background:rgba(15,35,64,.55);
  backdrop-filter:blur(8px);
  font-size:13px;
  font-weight:800;
  letter-spacing:.4px;
  margin-bottom:20px;
  box-shadow:0 8px 18px rgba(0,0,0,.18);
}

.hero-left h1{
  margin:0 0 24px 0;
  font-size:clamp(44px, 7vw, 82px);
  line-height:1;
  letter-spacing:-1.4px;
  text-shadow:0 8px 30px rgba(0,0,0,.35);
}

.subtitle{
  max-width:640px;
  margin:0 0 38px 0;
  color:#d8e6f8;
  font-size:19px;
  line-height:1.75;
  text-shadow:0 4px 18px rgba(0,0,0,.25);
}

.hero-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:18px;
  margin-top:12px;
}

/* =========================
   BUTTONS
========================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  padding:14px 22px;
  border-radius:12px;
  font-weight:800;
  transition:
    transform .16s ease,
    box-shadow .18s ease,
    background .18s ease,
    border-color .18s ease;
}

.btn-primary{
  color:#fff;
  background:linear-gradient(135deg, var(--orange), var(--orange-2));
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 12px 24px rgba(255,122,0,.22);
}

.btn-primary:hover{
  transform:translateY(-1px);
  box-shadow:0 16px 30px rgba(255,122,0,.30);
}

.btn-secondary{
  color:var(--text);
  border:1px solid rgba(57,184,255,.30);
  background:rgba(15,35,64,.42);
  backdrop-filter:blur(10px);
}

.btn-secondary:hover{
  border-color:rgba(57,184,255,.7);
  background:rgba(57,184,255,.10);
  transform:translateY(-1px);
}

.btn-large{
  padding:16px 30px;
  font-size:18px;
}

/* =========================
   PREVIEW CARD
========================= */
.preview-card{
  background:linear-gradient(180deg, rgba(10,20,40,.85), rgba(8,18,34,.95));
  border:1px solid rgba(57,184,255,.25);
  border-radius:26px;
  padding:26px;
  box-shadow:
    0 30px 60px rgba(0,0,0,.45),
    0 0 40px rgba(57,184,255,.08);
  backdrop-filter:blur(12px);
}

.preview-window{
  border:1px solid rgba(57,184,255,.18);
  border-radius:18px;
  overflow:hidden;
  background:#09111d;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.03),
    inset 0 -20px 40px rgba(0,0,0,.35);
}

.preview-topbar{
  display:flex;
  gap:8px;
  padding:12px 14px;
  background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  border-bottom:1px solid rgba(57,184,255,.12);
}

.preview-topbar span{
  width:10px;
  height:10px;
  border-radius:50%;
  background:rgba(255,255,255,.18);
}

.preview-body{
  padding:32px;
}

.preview-title{
  font-size:26px;
  font-weight:900;
  margin-bottom:10px;
  letter-spacing:.4px;
  color:var(--text);
}

.preview-subtitle{
  color:var(--muted);
  font-size:15px;
  margin-bottom:28px;
  letter-spacing:.3px;
}

.preview-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}

.preview-box{
  border:1px solid rgba(57,184,255,.18);
  background:linear-gradient(180deg, rgba(15,35,64,.65), rgba(12,30,56,.85));
  border-radius:16px;
  padding:28px 20px;
  text-align:center;
  color:#d0e6ff;
  font-weight:700;
  letter-spacing:.2px;
  line-height:1.45;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.03),
    0 8px 18px rgba(0,0,0,.25);
  transition:all .2s ease;
}

.preview-box:hover{
  transform:translateY(-3px) scale(1.02);
  border-color:rgba(57,184,255,.6);
  box-shadow:
    0 15px 30px rgba(0,0,0,.35),
    0 0 15px rgba(57,184,255,.25);
}

/* =========================
   FEATURES
========================= */
.features{
  width:min(1280px, 92%);
  margin:0 auto;
  margin-top:-50px;
  padding:20px 0 60px 0;
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:24px;
  position:relative;
  z-index:3;
}

.feature-card{
  background:linear-gradient(180deg, rgba(15,35,64,.84), rgba(12,30,56,.95));
  border:1px solid rgba(27,58,99,.88);
  border-radius:20px;
  padding:28px;
  box-shadow:
    0 12px 28px rgba(0,0,0,.18),
    inset 0 1px 0 rgba(255,255,255,.03);
  transition:
    transform .16s ease,
    border-color .18s ease,
    box-shadow .18s ease;
}

.feature-card:hover{
  transform:translateY(-3px);
  border-color:rgba(57,184,255,.42);
  box-shadow:
    0 18px 34px rgba(0,0,0,.24),
    0 0 0 1px rgba(57,184,255,.08) inset;
}

.feature-card h3{
  margin:0 0 10px 0;
  font-size:20px;
  color:var(--text);
}

.feature-card p{
  margin:0;
  color:var(--muted);
  line-height:1.55;
}

/* =========================
   DOWNLOAD CTA
========================= */
.download-cta{
  width:min(1000px, 92%);
  margin:18px auto 64px auto;
  text-align:center;
  padding:38px 24px;
  border-radius:24px;
  background:linear-gradient(180deg, rgba(15,35,64,.76), rgba(12,30,56,.94));
  border:1px solid rgba(57,184,255,.18);
  box-shadow:
    0 18px 36px rgba(0,0,0,.22),
    inset 0 1px 0 rgba(255,255,255,.03);
}

.download-cta h2{
  margin:0 0 12px 0;
  font-size:34px;
  letter-spacing:-.4px;
}

.download-cta p{
  margin:0 0 24px 0;
  color:var(--muted);
  line-height:1.6;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1100px){
  .hero-content{
    grid-template-columns:1fr;
    gap:26px;
    padding:60px 0 110px 0;
  }

  .hero-right{
    max-width:760px;
  }

  .features{
    grid-template-columns:repeat(2, 1fr);
    margin-top:-60px;
  }
}

@media (max-width: 700px){
  .hero{
    min-height:auto;
    background-position:center center;
  }

  .hero-content{
    width:min(94%, 94%);
    padding:42px 0 90px 0;
  }

  .hero-left h1{
    font-size:clamp(38px, 11vw, 58px);
    line-height:1;
  }

  .subtitle{
    font-size:16px;
  }

  .hero-buttons{
    flex-direction:column;
    align-items:stretch;
  }

  .btn{
    width:100%;
  }

  .preview-body{
    padding:18px;
  }

  .preview-grid{
    grid-template-columns:1fr;
    gap:10px;
  }

  .preview-box{
    padding:16px 10px;
    font-size:14px;
  }

  .features{
    grid-template-columns:1fr;
    margin-top:-40px;
    gap:14px;
    padding-bottom:34px;
  }

  .feature-card{
    padding:18px;
  }

  .download-cta{
    margin:10px auto 40px auto;
    padding:28px 18px;
    border-radius:20px;
  }

  .download-cta h2{
    font-size:28px;
  }
}
/* separatore elegante */
.donate-divider{
  width:60px;
  height:2px;
  margin:30px auto 10px auto;
  background:linear-gradient(
    90deg,
    transparent,
    rgba(255,122,0,.6),
    transparent
  );
  opacity:.6;
}

/* blocco donate */
.donate-block{
  margin-top:10px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
  opacity:.85;
}

/* testo */
.donate-text{
  margin:0;
  font-size:14px;
  color:var(--muted);
}

/* link stile minimal (molto più elegante del bottone) */
.donate-link{
  text-decoration:none;
  color:#ff9f43;
  font-weight:600;
  font-size:15px;

  transition:
    color .2s ease,
    text-shadow .2s ease,
    transform .15s ease;
}

/* hover stile glow leggero */
.donate-link:hover{
  color:#ffffff;
  text-shadow:0 0 10px rgba(255,122,0,.6);
  transform:translateY(-1px);
}
