@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ===== VARIABLES ===== */
:root {
  --bg: #070b14;
  --bg2: #090e18;
  --bg3: #0d1526;
  --accent: #1a7fff;
  --cyan: #00c2ff;
  --text: #ffffff;
  --text-muted: #7a8fa6;
  --text-dim: #3a4a5a;
  --border: rgba(26, 127, 255, 0.15);
  --border-hover: rgba(26, 127, 255, 0.4);
  --glow: rgba(0, 194, 255, 0.12);
  --glow-accent: rgba(26, 127, 255, 0.08);
  --font-title: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 8px;
  --radius-sm: 4px;
  --radius-lg: 12px;
  --transition: 0.3s ease;
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== CONTAINER ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== TYPOGRAPHY HELPERS ===== */
.label-cyan {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}

/* ===== SCROLL REVEAL ===== */
.reveal,
.stagger-children > * {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.revealed {
  opacity: 1 !important;
  transform: none !important;
}

/* ===== HEADER ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(7, 11, 20, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}

header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 32px;
}

.logo img {
  height: 36px;
  width: auto;
}

nav.desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

nav.desktop-nav a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
  transition: color var(--transition);
}

nav.desktop-nav a:hover { color: var(--text); }

.btn-demo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--accent);
  color: var(--text) !important;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
}

.btn-demo:hover {
  background: #0066ff;
  box-shadow: 0 0 20px rgba(26, 127, 255, 0.5);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== MOBILE OVERLAY ===== */
.menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.menu-overlay.open {
  display: flex;
  opacity: 1;
  transform: none;
}

.menu-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
}

.nav-overlay-link {
  font-family: var(--font-title);
  font-size: 28px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--transition);
}

.nav-overlay-link:hover { color: var(--text); }

/* ===== HERO ===== */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 24px 80px;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border: 1px solid rgba(26, 127, 255, 0.4);
  border-radius: 100px;
  background: rgba(26, 127, 255, 0.08);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--cyan);
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-title {
  font-family: var(--font-title);
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

.hero-title-line2 {
  color: var(--accent);
  display: block;
  position: relative;
}

.typing-cursor::after {
  content: '|';
  color: var(--cyan);
  animation: blink 0.9s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.8vw, 18px);
  font-weight: 300;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.7;
  opacity: 0;
  animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 1.1s forwards;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 16px 36px;
  background: var(--accent);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: background var(--transition), box-shadow var(--transition);
}

.btn-primary:hover {
  background: #0066ff;
  box-shadow: 0 0 32px rgba(26, 127, 255, 0.5);
}

.btn-ghost {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
  transition: color var(--transition);
}

.btn-ghost:hover { color: var(--text); }

.hero-microstats {
  font-size: 13px;
  color: var(--text-muted);
  opacity: 0;
  animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 1.3s forwards;
}

.hero-microstats span { margin: 0 10px; opacity: 0.4; }

.scroll-arrow {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: bounce 2.2s ease-in-out infinite;
  color: var(--text-muted);
  opacity: 0.5;
}

.scroll-arrow svg { width: 24px; height: 24px; }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== SECTION COMMON ===== */
section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header .label-cyan {
  display: block;
  text-align: center;
}

.section-title {
  font-family: var(--font-title);
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text);
}

/* ===== SECTION 2 — PROBLEMA ===== */
#problema {
  background: var(--bg);
  border-top: 1px solid rgba(26, 127, 255, 0.1);
}

.problema-title {
  max-width: 680px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.problem-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(26, 127, 255, 0.12);
  border-radius: var(--radius);
  padding: 36px;
  transition: border-color var(--transition),
              box-shadow var(--transition),
              transform var(--transition);
}

.problem-card:hover {
  border-color: rgba(26, 127, 255, 0.4);
  box-shadow: 0 8px 32px rgba(26, 127, 255, 0.08);
  transform: translateY(-4px);
}

.card-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  color: var(--accent);
}

.problem-card h3 {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}

.problem-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== SECTION 3 — SOLUZIONE ===== */
#soluzione {
  background: var(--bg2);
}

.soluzione-inner {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 80px;
  align-items: center;
}

.soluzione-text .section-title {
  text-align: left;
  margin-bottom: 20px;
}

.soluzione-text p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

.feature-list {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-muted);
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.feature-list li.revealed {
  opacity: 1;
  transform: none;
}

.feature-list .check {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--accent);
}

.screenshot-wrapper {
  border: 1px solid rgba(26, 127, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 16px;
  background: var(--bg3);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6),
              0 0 60px rgba(26, 127, 255, 0.06);
  transform: perspective(1000px) rotateY(-3deg) rotateX(2deg);
  transition: transform var(--transition-slow);
}

.screenshot-wrapper:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.screenshot-wrapper img {
  border-radius: 6px;
  width: 100%;
}

/* ===== SECTION 4 — FUNZIONALITA ===== */
#funzionalita {
  background: var(--bg);
}

.funzionalita-header { margin-bottom: 80px; }

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 100px;
}

.feature-block:last-child { margin-bottom: 0; }

.feature-block.reverse { direction: rtl; }
.feature-block.reverse > * { direction: ltr; }

.feature-text {
  position: relative;
}

.feature-num {
  position: absolute;
  top: -20px;
  left: -8px;
  font-family: var(--font-title);
  font-size: 96px;
  font-weight: 700;
  color: rgba(26, 127, 255, 0.05);
  line-height: 1;
  user-select: none;
  z-index: 0;
}

.feature-text-inner {
  position: relative;
  z-index: 1;
}

.feature-text-inner h3 {
  font-family: var(--font-title);
  font-size: 26px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.feature-text-inner .feature-tagline {
  font-size: 14px;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 16px;
}

.feature-text-inner p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 400px;
}

.feature-screenshot {
  border: 1px solid rgba(26, 127, 255, 0.15);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
              0 0 30px rgba(26, 127, 255, 0.05);
  transition: box-shadow var(--transition), transform var(--transition);
}

.feature-screenshot:hover {
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6),
              0 0 40px rgba(26, 127, 255, 0.1);
  transform: translateY(-3px);
}

.feature-screenshot img {
  width: 100%;
  display: block;
}

/* ===== SECTION 5 — COUNTER ===== */
#counter-section {
  background: var(--bg2);
  border-top: 1px solid rgba(26, 127, 255, 0.1);
  border-bottom: 1px solid rgba(26, 127, 255, 0.1);
  padding: 80px 0;
}

.counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.counter-item {}

.counter-number {
  display: block;
  font-family: var(--font-title);
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 10px;
}

.counter-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ===== SECTION 6 — PERCHE ===== */
#perche {
  background: var(--bg);
}

.perche-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 64px;
}

.perche-card {
  padding: 32px 32px 32px 28px;
  border-left: 2px solid var(--accent);
  transition: border-color var(--transition);
}

.perche-card:hover { border-left-color: var(--cyan); }

.perche-card h3 {
  font-family: var(--font-title);
  font-size: 17px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 10px;
  transition: color var(--transition);
}

.perche-card:hover h3 { color: var(--text); }

.perche-card p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
}

/* ===== SECTION 7 — CTA FINALE ===== */
#cta-finale {
  background: radial-gradient(ellipse at center, rgba(26, 127, 255, 0.08) 0%, var(--bg) 65%);
  border-top: 1px solid rgba(26, 127, 255, 0.1);
  padding: 140px 0;
  text-align: center;
}

.cta-finale-title {
  font-family: var(--font-title);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text);
  max-width: 700px;
  margin: 0 auto 20px;
}

.cta-finale-sub {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 44px;
}

.btn-cta-finale {
  display: inline-flex;
  align-items: center;
  padding: 20px 52px;
  background: var(--accent);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  animation: pulse-shadow 3s ease-in-out infinite;
  transition: background var(--transition), box-shadow var(--transition);
}

.btn-cta-finale:hover {
  background: #0066ff;
  box-shadow: 0 0 40px rgba(26, 127, 255, 0.4);
  animation: none;
}

@keyframes pulse-shadow {
  0%, 100% { box-shadow: 0 0 20px rgba(26, 127, 255, 0.2); }
  50%       { box-shadow: 0 0 40px rgba(26, 127, 255, 0.45); }
}

/* ===== FOOTER ===== */
footer {
  background: #040710;
  border-top: 1px solid rgba(26, 127, 255, 0.08);
  padding: 24px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-left img { height: 26px; width: auto; opacity: 0.7; }

.footer-copy {
  font-size: 12px;
  color: var(--text-dim);
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-right a {
  font-size: 12px;
  color: var(--text-dim);
  transition: color var(--transition);
}

.footer-right a:hover { color: var(--text-muted); }

/* ===== CONTATTI PAGE ===== */
.contatti-hero {
  padding: 160px 24px 80px;
  text-align: center;
}

.contatti-hero h1 {
  font-family: var(--font-title);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 16px;
}

.contatti-hero p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto;
}

.contatti-body {
  padding: 0 24px 100px;
}

.contatti-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: start;
}

/* FORM */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.form-group input,
.form-group textarea {
  background: var(--bg3);
  border: 1px solid rgba(26, 127, 255, 0.15);
  border-radius: 6px;
  padding: 14px 18px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #3a4a5a;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(26, 127, 255, 0.1);
}

.form-group textarea { min-height: 120px; }

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.checkbox-group input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--accent);
  cursor: pointer;
}

.checkbox-group label {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 300;
}

.checkbox-group label a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.btn-submit {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 36px;
  background: var(--accent);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition);
}

.btn-submit:hover {
  background: #0066ff;
  box-shadow: 0 0 24px rgba(26, 127, 255, 0.45);
}

/* Contatti right column */
.contatti-info {
  padding-top: 8px;
}

.contatti-info h3 {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
}

.contatti-info .email-link {
  display: inline-block;
  font-size: 17px;
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 20px;
  transition: opacity var(--transition);
}

.contatti-info .email-link:hover { opacity: 0.8; }

.contatti-info > p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.info-card {
  border: 1px solid rgba(26, 127, 255, 0.2);
  border-radius: var(--radius);
  padding: 28px;
  background: rgba(26, 127, 255, 0.04);
}

.info-card ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.info-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
}

.info-card li::before {
  content: '●';
  color: var(--accent);
  font-size: 8px;
  flex-shrink: 0;
}

/* ===== GRAZIE PAGE ===== */
.grazie-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
}

.grazie-inner {
  max-width: 480px;
}

.grazie-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 32px;
}

.grazie-icon svg {
  width: 80px;
  height: 80px;
}

.check-circle {
  stroke-dasharray: 180;
  stroke-dashoffset: 180;
  animation: draw-circle 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.check-mark {
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: draw-check 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards;
}

@keyframes draw-circle {
  to { stroke-dashoffset: 0; }
}

@keyframes draw-check {
  to { stroke-dashoffset: 0; }
}

.grazie-inner h1 {
  font-family: var(--font-title);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  opacity: 0;
  animation: fadeUp 0.6s ease 1.2s forwards;
}

.grazie-inner p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 0.6s ease 1.4s forwards;
}

.grazie-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--cyan);
  transition: gap var(--transition);
  opacity: 0;
  animation: fadeUp 0.6s ease 1.6s forwards;
}

.grazie-back:hover { gap: 12px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  section { padding: 72px 0; }

  nav.desktop-nav { display: none; }
  .btn-demo.desktop-only { display: none; }
  .menu-toggle { display: flex; }

  .cards-grid { grid-template-columns: 1fr; }

  .soluzione-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .soluzione-text .section-title { text-align: center; }
  .feature-list { align-items: center; }

  .screenshot-wrapper {
    transform: none;
  }

  .feature-block {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 72px;
  }

  .feature-block.reverse { direction: ltr; }

  .feature-num { font-size: 64px; }

  .counter-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .perche-grid { grid-template-columns: 1fr; }

  .contatti-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .form-row { grid-template-columns: 1fr; }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-left { flex-direction: column; gap: 8px; }
  .footer-right { justify-content: center; }

  .hero-cta { flex-direction: column; gap: 16px; }
}

@media (max-width: 480px) {
  .contatti-hero h1 { font-size: 32px; }
  .feature-text-inner p { max-width: 100%; }
}
