
:root {
  --bg: #0b0f0d;
  --bg-soft: #141c18;
  --bg-softer: #18231d;
  --accent: #7fd36b;
  --accent-soft: rgba(127, 211, 107, 0.1);
  --accent-strong: #a8ff8a;
  --text: #f6f7f5;
  --text-soft: #c6cdc7;
  --danger: #f97373;
  --border-subtle: rgba(255, 255, 255, 0.06);
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.45);
  --radius-xl: 24px;
  --radius-lg: 16px;
  --radius-full: 999px;
  --max-width: 1120px;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: radial-gradient(circle at top, #18271e 0, #050806 45%, #020403 100%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

/* Layout generale */

.site-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-header {
  border-bottom: 1px solid var(--border-subtle);
  backdrop-filter: blur(16px);
  background: linear-gradient(90deg, rgba(20, 28, 24, 0.92), rgba(10, 13, 11, 0.96));
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 16px;
  background: radial-gradient(circle at 30% 0, var(--accent-strong), var(--accent));
  box-shadow: 0 0 0 1px rgba(21, 128, 61, 0.5), 0 0 24px rgba(132, 204, 22, 0.65);
  position: relative;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: inherit;
  border: 1px solid rgba(9, 9, 11, 0.7);
  background: radial-gradient(circle at 30% 0, rgba(255, 255, 255, 0.3), transparent);
}

.brand-text-main {
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--text-soft);
}
.brand-text-sub {
  font-size: 0.75rem;
  color: #839487;
}

/* Menu header - touch friendly */

.site-nav {
  display: flex;
  gap: 1.75rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.site-nav a {
  color: var(--text-soft);
  text-decoration: none;
  opacity: 0.8;
  position: relative;
  padding: 0.5rem 0;
  display: inline-flex;
  align-items: center;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  transition: width 0.22s ease-out;
}
.site-nav a:hover {
  opacity: 1;
}
.site-nav a:hover::after {
  width: 100%;
}

/* Layout pagina */

main {
  flex: 1;
}

.page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3rem;
}

/* HOME (landing) */

.page-home {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.1fr);
  gap: 2.25rem;
  align-items: center;
}

@media (max-width: 880px) {
  .page-home {
    grid-template-columns: minmax(0, 1fr);
  }
}

.hero-card {
  background: radial-gradient(circle at 0 0, rgba(127, 211, 107, 0.08), transparent 55%),
    linear-gradient(135deg, #111a15, #050806);
  border-radius: 32px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: var(--shadow-soft);
  padding: 2.3rem 2.1rem 2.2rem;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero-card::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(127, 211, 107, 0.18), transparent 65%);
  filter: blur(8px);
  right: -60px;
  top: -60px;
  opacity: 0.9;
  z-index: -1;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.86);
  border: 1px solid rgba(148, 163, 184, 0.35);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-strong);
  margin-bottom: 1.25rem;
}
.hero-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent-strong);
  box-shadow: 0 0 0 6px rgba(132, 204, 22, 0.2);
}

.hero-title {
  font-size: clamp(2.1rem, 3vw, 2.6rem);
  line-height: 1.05;
  margin: 0 0 0.9rem;
}

.hero-title span.highlight {
  background: linear-gradient(to right, var(--accent-strong), #e7fbb4);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 0.98rem;
  color: var(--text-soft);
  max-width: 34rem;
  margin-bottom: 1.6rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: flex-start;
}

.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.hero-meta-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #9ca89e;
}
.hero-meta-text {
  font-size: 0.88rem;
  color: #e5ebe7;
}

.hero-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  font-size: 0.8rem;
}
.hero-benefit {
  padding: 0.7rem 0.9rem;
  border-radius: 14px;
  background: radial-gradient(circle at 0 0, rgba(148, 163, 184, 0.22), transparent 80%);
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: #e5ebe7;
}

/* CTA centrata */

.hero-cta-stack {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  align-items: stretch;
  justify-content: center;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta-note {
  font-size: 0.78rem;
  text-align: center;
  color: #9aa39e;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.6rem;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  border: 0;
  cursor: pointer;
  text-decoration: none;
  background: radial-gradient(circle at 0 0, #e7fbb4, #4ade80);
  color: #022c13;
  box-shadow: 0 15px 35px rgba(74, 222, 128, 0.4);
  transition: transform 0.14s ease-out, box-shadow 0.14s ease-out, filter 0.14s ease-out;
  min-height: 48px;
}
.btn-primary span.chevron {
  font-size: 1.1rem;
  line-height: 1;
}
.btn-primary:hover {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 18px 40px rgba(74, 222, 128, 0.55);
  filter: saturate(1.1);
}
.btn-primary:active {
  transform: translateY(0) scale(0.99);
  box-shadow: 0 10px 28px rgba(74, 222, 128, 0.38);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  font-size: 0.78rem;
  color: #9aa39e;
}
.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.hero-trust strong {
  color: #d6e5d9;
}

/* Colonna laterale home */

.side-panel {
  background: radial-gradient(circle at 0 0, rgba(148, 163, 184, 0.2), transparent 70%),
    radial-gradient(circle at 100% 100%, rgba(34, 197, 94, 0.18), transparent 70%),
    linear-gradient(145deg, #050806, #111a15);
  border-radius: 32px;
  border: 1px solid rgba(148, 163, 184, 0.26);
  box-shadow: var(--shadow-soft);
  padding: 1.7rem 1.7rem 1.9rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.side-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #a5b3a9;
}

.side-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.side-tag {
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  font-size: 0.78rem;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.52);
  color: #e5ebe7;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

/* Sezioni contenuto comuni */

.section {
  margin-top: 2rem;
  padding: 1.8rem 1.7rem;
  background: rgba(10, 15, 12, 0.88);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
}

.section-title {
  font-size: 1.1rem;
  margin: 0 0 0.8rem;
}

.section p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-soft);
  margin: 0 0 0.9rem;
}

.section ul {
  margin: 0.4rem 0 0.6rem;
  padding-left: 1.1rem;
  color: var(--text-soft);
  font-size: 0.9rem;
}
.section li {
  margin-bottom: 0.35rem;
}

/* Pagine prodotto */

.page-product {
  max-width: 860px;
}

.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 1.8rem;
  background: radial-gradient(circle at 0 0, rgba(127, 211, 107, 0.09), transparent 70%),
    linear-gradient(135deg, #111a15, #050806);
  border-radius: 32px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: var(--shadow-soft);
  padding: 2rem 1.9rem 1.9rem;
}

@media (max-width: 880px) {
  .product-hero {
    grid-template-columns: minmax(0, 1fr);
  }
}

.product-heading {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.product-badge {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #a5b3a9;
}

.product-title {
  font-size: 1.7rem;
  margin: 0;
}

.product-subtitle {
  font-size: 0.94rem;
  color: var(--text-soft);
}

.product-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 0.7rem;
  font-size: 0.82rem;
}
.product-meta-item {
  padding: 0.7rem 0.9rem;
  border-radius: 14px;
  border: 1px dashed rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.6);
  color: #d2ddd4;
}

.product-visual {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  align-items: stretch;
}

.product-image-frame {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: radial-gradient(circle at 50% 0, rgba(34, 197, 94, 0.25), #020617);
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-image-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.product-image-caption {
  font-size: 0.8rem;
  color: #9aa39e;
}

.product-body {
  margin-top: 2.1rem;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr);
  gap: 2rem;
}

@media (max-width: 880px) {
  .product-body {
    grid-template-columns: minmax(0, 1fr);
  }
}

.product-text {
  font-size: 0.94rem;
  line-height: 1.8;
  color: var(--text-soft);
}

.product-text h2 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.product-text p {
  margin: 0 0 0.9rem;
}

.product-text ul {
  margin: 0 0 0.8rem;
  padding-left: 1.1rem;
}

.product-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-side-card {
  padding: 1.05rem 1.1rem;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.4);
  font-size: 0.86rem;
  color: var(--text-soft);
}

/* CTA condivisa (ora dentro il footer) */

.global-cta {
  margin: 0 0 2.2rem 0;
  padding: 1.8rem 1.7rem;
  border-radius: 22px;
  background: radial-gradient(circle at 0 0, rgba(190, 242, 100, 0.16), transparent 75%),
    linear-gradient(135deg, #052e16, #020617);
  border: 1px solid rgba(132, 204, 22, 0.55);
  box-shadow: 0 16px 40px rgba(21, 128, 61, 0.5);
  text-align: center;
}

.global-cta-title {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}
.global-cta-text {
  margin: 0 0 1.1rem;
  font-size: 0.9rem;
  color: #d7e4d9;
}

/* Footer con CTA sopra il menu */

.site-footer {
  margin-top: 0;
  border-top: 1px solid var(--border-subtle);
  background: linear-gradient(180deg, #050806, #020403);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.2rem 1.5rem 2.4rem;
}

.footer-menu {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8rem;
  margin-top: 1.8rem;
  font-size: 0.9rem;
}

@media (max-width: 720px) {
  .footer-menu {
    grid-template-columns: minmax(0, 1fr);
  }
}

.footer-menu h3 {
  margin: 0 0 0.8rem;
  font-size: 0.95rem;
  color: #d6e5d9;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-links li {
  margin-bottom: 0.2rem;
}
.footer-links a {
  color: #9aa39e;
  text-decoration: none;
  display: inline-block;
  padding: 0.35rem 0;
  line-height: 1.4;
}
.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  margin-top: 1.9rem;
  font-size: 0.78rem;
  color: #6b746f;
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.footer-bottom a {
  color: #8b9b90;
  text-decoration: none;
  padding: 0.3rem 0;
}
.footer-bottom a:hover {
  color: var(--accent);
}
