:root {
  --bg: #020711;
  --bg-2: #07111f;
  --panel: rgba(10, 19, 33, 0.86);
  --panel-2: rgba(15, 29, 48, 0.88);
  --line: rgba(86, 166, 255, 0.22);
  --line-strong: rgba(86, 166, 255, 0.42);
  --text: #f4f8ff;
  --muted: #a8b9d6;
  --blue: #2390ff;
  --cyan: #47e5ff;
  --yellow: #ffc43d;
  --green: #5dffb3;
  --danger: #ff5577;
  --shadow: 0 22px 80px rgba(0, 102, 255, 0.22);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 0%, rgba(0, 113, 255, 0.35), transparent 32rem),
    radial-gradient(circle at 90% 12%, rgba(35, 144, 255, 0.28), transparent 30rem),
    linear-gradient(180deg, #01040b 0%, #030812 45%, #01040a 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(48, 137, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(48, 137, 255, 0.07) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, black 0%, transparent 78%);
  opacity: 0.85;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.38));
}

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

img {
  max-width: 100%;
  display: block;
}

.page-glow {
  position: fixed;
  width: 32rem;
  height: 32rem;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.28;
  pointer-events: none;
}

.page-glow-a {
  top: 8rem;
  left: -10rem;
  background: var(--blue);
}

.page-glow-b {
  right: -14rem;
  top: 40rem;
  background: var(--cyan);
}

.section-shell,
.site-header {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.site-header {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: -0.04em;
  font-size: 1.25rem;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 0 28px rgba(35, 144, 255, 0.44);
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 0.92rem;
}

.nav a:hover,
.footer-links a:hover {
  color: var(--cyan);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  font-weight: 800;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.header-cta {
  background: rgba(35, 144, 255, 0.14);
  border-color: rgba(71, 229, 255, 0.35);
}

.header-cta:hover,
.btn:hover {
  transform: translateY(-2px);
}

.hero {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 82px);
  padding: 52px 0 84px;
}

.eyebrow,
.eyebrow-text {
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 900;
  font-size: 0.74rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(71, 229, 255, 0.2);
  border-radius: 999px;
  padding: 9px 14px;
  background: rgba(8, 25, 43, 0.72);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px var(--green);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-top: 0;
}

.hero-title {
  position: relative;
  margin: 28px 0 24px;
  max-width: 760px;
  font-size: clamp(2.85rem, 5.2vw, 5.75rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
  font-weight: 900;
}

.hero-title::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 8px;
  width: 4px;
  height: calc(100% - 16px);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--cyan), rgba(35, 144, 255, 0.12));
  box-shadow: 0 0 26px rgba(71, 229, 255, 0.45);
}

.title-line {
  display: block;
}

.title-accent {
  width: fit-content;
  color: transparent;
  background: linear-gradient(90deg, #ffffff 0%, #d9f8ff 44%, var(--cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 0 32px rgba(35, 144, 255, 0.18);
}

h2 {
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.hero-subtitle,
.section-heading p,
.split-section p,
.download-band p,
.pricing-copy p,
.faq-grid p,
.site-footer p {
  color: var(--muted);
  line-height: 1.72;
}

.hero-subtitle {
  max-width: 680px;
  font-size: 1.12rem;
}

.hero-actions {
  margin: 34px 0 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-primary {
  color: #001225;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 0 36px rgba(35, 144, 255, 0.34);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.16);
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 560px;
}

.trust-row div {
  padding: 16px;
  border: 1px solid rgba(86, 166, 255, 0.18);
  border-radius: var(--radius-sm);
  background: rgba(8, 18, 32, 0.6);
}

.trust-row strong,
.trust-row span {
  display: block;
}

.trust-row span {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 4px;
}

.free-note {
  max-width: 560px;
  margin: 14px 0 0;
  color: rgba(207, 223, 244, 0.72);
  font-size: 0.78rem;
  line-height: 1.55;
}

.free-note strong {
  color: rgba(235, 246, 255, 0.92);
  font-weight: 800;
}

.hero-visual {
  min-height: 620px;
  display: grid;
  place-items: center;
}

.laser-stage {
  position: relative;
  width: min(620px, 100%);
  aspect-ratio: 1 / 1;
  border-radius: 44px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(6, 13, 24, 0.42), rgba(0, 3, 9, 0.9));
  border: 1px solid rgba(71, 229, 255, 0.16);
  box-shadow:
    0 0 48px rgba(35, 144, 255, 0.14),
    inset 0 0 96px rgba(0, 0, 0, 0.82);
  transform: rotateX(4deg) rotateY(-6deg);
}

.laser-stage::before,
.laser-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.laser-stage::before {
  background:
    linear-gradient(rgba(71, 229, 255, 0.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(71, 229, 255, 0.065) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at center, black 0 48%, transparent 82%);
}

.laser-stage::after {
  background: radial-gradient(circle at center, transparent 48%, rgba(0, 0, 0, 0.84) 86%);
}

.stage-grid {
  position: absolute;
  inset: 11%;
  border-radius: 28px;
  border: 1px solid rgba(71, 229, 255, 0.11);
  background:
    linear-gradient(rgba(71, 229, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(71, 229, 255, 0.09) 1px, transparent 1px);
  background-size: 28px 28px;
  box-shadow: inset 0 0 44px rgba(0, 0, 0, 0.32);
  opacity: 0.78;
}

.stage-logo {
  position: absolute;
  z-index: 3;
  width: 82%;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
  filter:
    drop-shadow(0 0 15px rgba(71, 229, 255, 0.82))
    drop-shadow(0 0 30px rgba(35, 144, 255, 0.38));
  opacity: 0.98;
}

.stage-orbit {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 48%;
  width: 76%;
  height: 36%;
  border: 1px solid rgba(71, 229, 255, 0.3);
  border-left-color: transparent;
  border-right-color: transparent;
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-13deg);
  filter: blur(0.1px) drop-shadow(0 0 12px rgba(71, 229, 255, 0.42));
  opacity: 0.34;
}

.stage-orbit-two {
  width: 88%;
  height: 46%;
  transform: translate(-50%, -50%) rotate(13deg);
  opacity: 0.18;
}

.stage-beam {
  position: absolute;
  z-index: 4;
  height: 2px;
  width: 58%;
  background: linear-gradient(90deg, transparent, rgba(71, 229, 255, 0.95), transparent);
  box-shadow: 0 0 18px rgba(71, 229, 255, 0.9);
  opacity: 0.28;
}

.stage-beam-one {
  left: 16%;
  top: 33%;
  transform: rotate(-11deg);
}

.stage-beam-two {
  right: 15%;
  bottom: 26%;
  transform: rotate(10deg);
}

.stage-status {
  position: absolute;
  z-index: 5;
  left: 28px;
  right: 28px;
  bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid rgba(71, 229, 255, 0.2);
  border-radius: 999px;
  background: rgba(3, 8, 16, 0.64);
  color: #dff6ff;
  backdrop-filter: blur(14px);
  box-shadow: 0 0 30px rgba(35, 144, 255, 0.12);
}

.status-light {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 18px var(--green);
}

.status-pill {
  color: #00180c;
  background: var(--green);
  border-radius: 999px;
  padding: 7px 12px;
  font-weight: 900;
}

.logos-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(86, 166, 255, 0.14);
  border-radius: 999px;
  background: rgba(255,255,255,0.035);
  color: var(--muted);
}

.logos-strip span {
  padding: 8px 13px;
}

.section-block,
.split-section,
.pricing-section,
.download-band {
  margin-top: 96px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading.compact {
  margin-bottom: 24px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card,
.step,
.pricing-card,
.download-band,
.faq-grid details {
  border: 1px solid rgba(86, 166, 255, 0.16);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(15, 29, 48, 0.72), rgba(5, 11, 21, 0.82));
  box-shadow: 0 16px 46px rgba(0,0,0,0.2);
}

.feature-card {
  padding: 24px;
}

.feature-card p {
  color: var(--muted);
  line-height: 1.68;
  margin-bottom: 0;
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  margin-bottom: 18px;
  color: var(--cyan);
  background: rgba(35, 144, 255, 0.14);
  border: 1px solid rgba(71, 229, 255, 0.22);
  font-weight: 900;
}

.split-section {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 40px;
  align-items: start;
}

.steps {
  display: grid;
  gap: 14px;
}

.step {
  padding: 22px;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 18px;
}

.step span {
  grid-row: span 2;
  color: var(--cyan);
  font-weight: 900;
  font-size: 0.84rem;
}

.step p {
  margin: 5px 0 0;
  color: var(--muted);
}

.download-band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding: 30px;
}

.download-band p {
  max-width: 720px;
  margin-bottom: 0;
}

.pricing-section {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 46px;
  align-items: center;
}

.pricing-card {
  padding: 28px;
  border-color: rgba(255, 196, 61, 0.28);
  box-shadow: 0 24px 70px rgba(255, 196, 61, 0.08);
}

.price-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.price-top span {
  color: var(--yellow);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

.price-top strong {
  font-size: 2.2rem;
  letter-spacing: -0.06em;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

.pricing-card li {
  padding: 9px 0 9px 28px;
  position: relative;
  color: var(--muted);
}

.pricing-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 900;
}

.full-width {
  width: 100%;
}

.fine-print {
  font-size: 0.82rem;
  margin: 16px 0 0;
  text-align: center;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.faq-grid details {
  padding: 20px;
}

.faq-grid summary {
  cursor: pointer;
  font-weight: 900;
}

.faq-grid p {
  margin: 12px 0 0;
}

.site-footer {
  margin-top: 100px;
  padding: 32px 0 48px;
  border-top: 1px solid rgba(86, 166, 255, 0.16);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  color: var(--muted);
}

.site-footer strong {
  color: var(--text);
}

.site-footer p {
  margin: 6px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

@media (max-width: 980px) {
  .hero,
  .split-section,
  .pricing-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .laser-stage {
    transform: none;
    max-width: 560px;
  }

  .feature-grid,
  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav {
    display: none;
  }
}

@media (max-width: 640px) {
  .section-shell,
  .site-header {
    width: min(100% - 28px, 1160px);
  }

  .site-header {
    height: 72px;
  }

  .brand span {
    display: none;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 16px;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-title {
    font-size: clamp(2.55rem, 13vw, 4.3rem);
    letter-spacing: -0.06em;
  }

  .hero-title::before {
    left: -12px;
  }

  .hero-actions,
  .download-band,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .trust-row,
  .feature-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 420px;
  }

  .laser-stage {
    border-radius: 26px;
  }

  .stage-status {
    left: 18px;
    right: 18px;
    bottom: 16px;
  }
}

/* Aggiornamenti sito gratuito e donazioni */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-donation,
.btn-donation {
  border-color: rgba(255, 196, 61, 0.38);
  background: rgba(255, 196, 61, 0.1);
}

.header-donation:hover,
.btn-donation:hover {
  border-color: rgba(255, 196, 61, 0.72);
  box-shadow: 0 0 28px rgba(255, 196, 61, 0.12);
}

.support-section {
  margin-top: 96px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 46px;
  align-items: center;
}

.support-copy p,
.support-card p {
  color: var(--muted);
  line-height: 1.72;
}

.support-card {
  padding: 28px;
  border: 1px solid rgba(255, 196, 61, 0.28);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(31, 27, 17, 0.72), rgba(5, 11, 21, 0.88));
  box-shadow: 0 24px 70px rgba(255, 196, 61, 0.08);
}

.support-label {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--yellow);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

.support-card h3 {
  font-size: 1.55rem;
  line-height: 1.15;
  margin-bottom: 12px;
}

[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.72;
}

@media (max-width: 980px) {
  .support-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav {
    display: none;
  }

  .header-actions {
    gap: 7px;
  }

  .header-actions .header-cta {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.78rem;
  }
}

@media (max-width: 460px) {
  .site-header {
    gap: 10px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .header-actions .header-cta {
    padding: 0 10px;
  }
}


/* Pulsante ufficiale PayPal per le donazioni */
.paypal-donation-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  margin: 24px 0 14px;
}

#donate-button-container,
#donate-button {
  display: flex;
  justify-content: center;
  align-items: center;
}

#donate-button img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* --- Layout essenziale: hero + informazioni finali --- */
.essentials-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.essential-card {
  min-height: 290px;
  padding: 30px;
  border: 1px solid rgba(86, 166, 255, 0.18);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(15, 29, 48, 0.78), rgba(5, 11, 21, 0.86));
  box-shadow: 0 20px 60px rgba(0,0,0,0.22);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.essential-card h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  margin-bottom: 14px;
}

.essential-card > p:not(.eyebrow-text) {
  color: var(--muted);
  line-height: 1.7;
  max-width: 620px;
}

.essential-card .btn,
.essential-card .paypal-donation-wrap {
  margin-top: auto;
}

.essential-support {
  border-color: rgba(255, 196, 61, 0.22);
}

.compact-info {
  margin-top: 72px;
}

@media (max-width: 820px) {
  .essentials-section {
    grid-template-columns: 1fr;
  }
}


/* --- Requisiti di sistema --- */
.system-requirements {
  grid-column: 1 / -1;
}

.system-intro {
  max-width: 920px;
}

.system-intro strong {
  color: var(--text);
}

.requirements-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.requirements-card {
  padding: 18px;
  border: 1px solid rgba(86, 166, 255, 0.16);
  border-radius: 16px;
  background: rgba(4, 12, 23, 0.48);
}

.requirements-card.recommended {
  border-color: rgba(55, 226, 157, 0.23);
  background: linear-gradient(180deg, rgba(8, 31, 34, 0.48), rgba(4, 12, 23, 0.5));
}

.requirements-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 14px;
}

.requirements-title strong {
  color: var(--text);
  font-size: 0.98rem;
}

.requirements-badge {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(86, 166, 255, 0.12);
  border: 1px solid rgba(86, 166, 255, 0.22);
  color: #8fc2ff;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.requirements-card.recommended .requirements-badge {
  background: rgba(55, 226, 157, 0.1);
  border-color: rgba(55, 226, 157, 0.22);
  color: #78e9ba;
}

.requirements-card dl {
  margin: 0;
}

.requirements-card dl > div {
  display: grid;
  grid-template-columns: minmax(120px, 0.8fr) minmax(0, 1.3fr);
  gap: 14px;
  padding: 10px 0;
  border-top: 1px solid rgba(255,255,255,0.065);
}

.requirements-card dl > div:first-child {
  border-top: 0;
}

.requirements-card dt {
  color: var(--text);
  font-weight: 800;
}

.requirements-card dd {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.requirements-note {
  margin-top: 16px !important;
  padding: 12px 14px;
  border-left: 2px solid rgba(86, 166, 255, 0.45);
  background: rgba(86, 166, 255, 0.055);
  border-radius: 0 10px 10px 0;
  font-size: 0.9rem;
}

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

@media (max-width: 560px) {
  .requirements-card dl > div {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}

.requirements-muted {
  opacity: .72;
  font-size: .92em;
  font-weight: 500;
}
