:root {
  --ink: #1a1714;
  --paper: #f5f0e8;
  --warm: #e8dfd1;
  --clay: #c4a882;
  --terra: #b5704f;
  --rust: #a04b2d;
  --slate: #4a4540;
  --muted: #7a7268;
  --accent: #d4622b;
  --green: #5a7a52;
  --green-light: #e8f0e4;
  --shadow: rgba(26, 23, 20, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

/* — GRAIN TEXTURE OVERLAY — */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

/* — UTILITY — */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* — NAV — */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(245, 240, 232, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(196, 168, 130, 0.25);
  transition: box-shadow 0.3s;
}

nav.scrolled {
  box-shadow: 0 2px 20px var(--shadow);
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.4em;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--accent);
}

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

.nav-links a {
  color: var(--slate);
  text-decoration: none;
  font-size: 0.88em;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-cta {
  background: var(--ink);
  color: var(--paper) !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: background 0.2s, transform 0.15s;
}

.nav-cta:hover {
  background: var(--slate);
  transform: translateY(-1px);
}

/* — HAMBURGER — */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 110;
  -webkit-tap-highlight-color: transparent;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* — HERO — */
.hero {
  padding: 105px 0 80px;
  position: relative;
}

.hero .container {
  max-width: 1200px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-light);
  color: var(--green);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.82em;
  font-weight: 600;
  margin-bottom: 24px;
  border: 1px solid rgba(90, 122, 82, 0.15);
}

.hero-tag::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

.hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: 3.4em;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 24px;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: 1.15em;
  color: var(--muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 36px;
}

.hero-form {
  display: flex;
  gap: 10px;
  max-width: 440px;
}

.hero-form input {
  flex: 1;
  padding: 14px 18px;
  border: 1.5px solid var(--clay);
  border-radius: 8px;
  background: white;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95em;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.hero-form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(212, 98, 43, 0.1);
}

.hero-form input::placeholder {
  color: var(--clay);
}

.btn-primary {
  padding: 14px 28px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95em;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--rust);
  transform: translateY(-1px);
}

.hero-note {
  margin-top: 14px;
  font-size: 0.8em;
  color: var(--muted);
}

/* — HERO VISUAL — */
.hero-visual {
  position: relative;
}

.terminal {
  background: #1e1c19;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(26, 23, 20, 0.2), 0 4px 16px rgba(26, 23, 20, 0.1);
  transform: rotate(1deg);
}

.terminal-bar {
  background: #2a2722;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.terminal-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.terminal-dot:nth-child(1) {
  background: #e85d4a;
}

.terminal-dot:nth-child(2) {
  background: #e8b73a;
}

.terminal-dot:nth-child(3) {
  background: #5ab552;
}

.terminal-bar span {
  margin-left: auto;
  color: #6a6560;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72em;
}

.terminal-body {
  padding: 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78em;
  line-height: 1.9;
  color: #a09a90;
}

.terminal-body .cmd {
  color: var(--clay);
}

.terminal-body .file {
  color: #d4a06a;
}

.terminal-body .ok {
  color: #7ab56e;
}

.terminal-body .num {
  color: #e8b73a;
}

.terminal-body .accent {
  color: #d4622b;
}

.terminal-body .dim {
  color: #5a5650;
}

.floating-card {
  position: absolute;
  background: white;
  border-radius: 10px;
  padding: 16px 20px;
  box-shadow: 0 8px 30px rgba(26, 23, 20, 0.12);
  font-size: 0.85em;
  animation: float 4s ease-in-out infinite;
}

.floating-card.card-1 {
  bottom: -20px;
  left: -30px;
  transform: rotate(-2deg);
}

.floating-card.card-2 {
  top: -15px;
  right: -20px;
  transform: rotate(1.5deg);
  animation-delay: -2s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }

  50% {
    transform: translateY(-8px) rotate(-1deg);
  }
}

.card-2 {
  animation-name: float2;
}

@keyframes float2 {

  0%,
  100% {
    transform: translateY(0) rotate(1.5deg);
  }

  50% {
    transform: translateY(-6px) rotate(2.5deg);
  }
}

.card-label {
  font-size: 0.72em;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 4px;
}

.card-value {
  font-family: 'DM Serif Display', serif;
  font-size: 1.6em;
  color: var(--ink);
}

.card-value .small {
  font-size: 0.55em;
  color: var(--muted);
  font-family: 'Outfit', sans-serif;
}

/* — PROBLEMA — */
.problema {
  padding: 80px 0;
  border-top: 1px solid rgba(196, 168, 130, 0.3);
}

.section-label {
  font-size: 0.75em;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--terra);
  font-weight: 600;
  margin-bottom: 16px;
}

.problema h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 2.4em;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 700px;
  margin-bottom: 48px;
}

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

.pain-card {
  background: white;
  border-radius: 12px;
  padding: 32px 28px;
  border: 1px solid rgba(196, 168, 130, 0.2);
  transition: transform 0.2s, box-shadow 0.2s;
}

.pain-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px var(--shadow);
}

.pain-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3em;
  margin-bottom: 18px;
}

.pain-card:nth-child(1) .pain-icon {
  background: #fef0e6;
}

.pain-card:nth-child(2) .pain-icon {
  background: #fef5e0;
}

.pain-card:nth-child(3) .pain-icon {
  background: #eef0ee;
}

.pain-card h3 {
  font-size: 1.05em;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--ink);
}

.pain-card p {
  font-size: 0.9em;
  color: var(--muted);
  line-height: 1.6;
}

.pain-stat {
  display: inline-block;
  margin-top: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78em;
  font-weight: 500;
  color: var(--accent);
  background: #fef0e6;
  padding: 4px 10px;
  border-radius: 4px;
}

/* — COME FUNZIONA — */
.come-funziona {
  padding: 80px 0;
  background: white;
  border-top: 1px solid rgba(196, 168, 130, 0.15);
  border-bottom: 1px solid rgba(196, 168, 130, 0.15);
}

.come-funziona h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 2.4em;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.come-funziona>.container>p {
  color: var(--muted);
  font-size: 1.05em;
  margin-bottom: 56px;
  max-width: 520px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 16%;
  right: 16%;
  height: 2px;
  background: repeating-linear-gradient(90deg,
      var(--clay) 0,
      var(--clay) 8px,
      transparent 8px,
      transparent 16px);
  z-index: 0;
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--clay);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: 'DM Serif Display', serif;
  font-size: 1.5em;
  color: var(--accent);
}

.step h3 {
  font-size: 1em;
  font-weight: 600;
  margin-bottom: 8px;
}

.step p {
  font-size: 0.88em;
  color: var(--muted);
  max-width: 260px;
  margin: 0 auto;
  line-height: 1.6;
}

/* — DEMO COMPUTO — */
.demo {
  padding: 80px 0;
}

.demo h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 2.4em;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.demo>.container>p.demo-sub {
  color: var(--muted);
  font-size: 1.05em;
  margin-bottom: 48px;
  max-width: 560px;
}

.demo-split {
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  align-items: start;
  gap: 0;
}

.demo-col-label {
  font-size: 0.72em;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 12px;
}

.demo-input {
  background: white;
  border-radius: 12px;
  border: 1px solid rgba(196, 168, 130, 0.3);
  padding: 28px;
  font-size: 0.88em;
  line-height: 1.8;
  color: var(--slate);
  font-style: italic;
  position: relative;
}

.demo-input::before {
  content: 'PDF';
  position: absolute;
  top: -10px;
  right: 20px;
  background: var(--accent);
  color: white;
  padding: 2px 10px;
  border-radius: 4px;
  font-size: 0.72em;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.05em;
}

.demo-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  color: var(--clay);
  padding-top: 80px;
}

.demo-output {
  background: #1e1c19;
  border-radius: 12px;
  padding: 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.76em;
  line-height: 1.8;
  color: #a09a90;
  position: relative;
  overflow-wrap: break-word;
}

.demo-output::before {
  content: 'COMPUTO GENERATO';
  position: absolute;
  top: -10px;
  right: 20px;
  background: var(--green);
  color: white;
  padding: 2px 10px;
  border-radius: 4px;
  font-size: 0.68em;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.05em;
}

.demo-output .h {
  color: var(--clay);
  font-weight: 500;
}

.demo-output .v {
  color: #d4a06a;
}

.demo-output .p {
  color: #7ab56e;
}

.demo-output .t {
  color: #e8b73a;
}

/* — FEATURE — */
.features {
  padding: 80px 0;
  background: white;
  border-top: 1px solid rgba(196, 168, 130, 0.15);
  border-bottom: 1px solid rgba(196, 168, 130, 0.15);
}

.features h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 2.4em;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
}

.feat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feat-card {
  padding: 32px;
  border-radius: 12px;
  background: var(--paper);
  border: 1px solid rgba(196, 168, 130, 0.2);
  transition: transform 0.2s;
}

.feat-card:hover {
  transform: translateY(-2px);
}

.feat-card h3 {
  font-size: 1.05em;
  font-weight: 600;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feat-card p {
  font-size: 0.9em;
  color: var(--muted);
  line-height: 1.6;
}

.feat-badge {
  font-size: 0.65em;
  background: var(--green-light);
  color: var(--green);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.feat-badge.soon {
  background: #fef5e0;
  color: #b08830;
}

/* — PRICING TEASER — */
.pricing {
  padding: 80px 0;
  text-align: center;
}

.pricing h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 2.4em;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.pricing>.container>p {
  color: var(--muted);
  font-size: 1.05em;
  margin-bottom: 48px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.price-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 820px;
  margin: 0 auto;
  text-align: left;
}

.price-card {
  background: white;
  border-radius: 12px;
  padding: 32px 28px;
  border: 1.5px solid rgba(196, 168, 130, 0.25);
  position: relative;
}

.price-card.featured {
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(212, 98, 43, 0.1);
}

.price-card.featured::after {
  content: 'Più scelto';
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  padding: 3px 14px;
  border-radius: 100px;
  font-size: 0.72em;
  font-weight: 600;
}

.price-name {
  font-weight: 600;
  font-size: 0.95em;
  margin-bottom: 4px;
}

.price-amount {
  font-family: 'DM Serif Display', serif;
  font-size: 2.2em;
  color: var(--ink);
  margin-bottom: 4px;
}

.price-amount span {
  font-size: 0.4em;
  color: var(--muted);
  font-family: 'Outfit', sans-serif;
}

.price-desc {
  font-size: 0.82em;
  color: var(--muted);
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(196, 168, 130, 0.2);
}

.price-list {
  list-style: none;
}

.price-list li {
  font-size: 0.85em;
  color: var(--slate);
  padding: 5px 0;
  padding-left: 20px;
  position: relative;
}

.price-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* — TRUST — */
.trust {
  padding: 60px 0;
  background: white;
  border-top: 1px solid rgba(196, 168, 130, 0.15);
  border-bottom: 1px solid rgba(196, 168, 130, 0.15);
}

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

.trust-item {
  padding: 20px;
}

.trust-icon {
  font-size: 2em;
  margin-bottom: 10px;
}

.trust-item h3 {
  font-size: 0.9em;
  font-weight: 600;
  margin-bottom: 4px;
}

.trust-item p {
  font-size: 0.9em;
  color: var(--muted);
  line-height: 1.5;
}

/* — CTA FINALE — */
.cta-final {
  padding: 100px 0;
  text-align: center;
}

.cta-final h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 2.6em;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.cta-final p {
  color: var(--muted);
  font-size: 1.05em;
  margin-bottom: 36px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta-form {
  display: flex;
  gap: 10px;
  max-width: 440px;
  margin: 0 auto;
}

.cta-form input {
  flex: 1;
  padding: 16px 20px;
  border: 1.5px solid var(--clay);
  border-radius: 8px;
  background: white;
  font-family: 'Outfit', sans-serif;
  font-size: 1em;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.cta-form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(212, 98, 43, 0.1);
}

.cta-form input::placeholder {
  color: var(--clay);
}

.cta-form button {
  padding: 16px 32px;
  background: var(--ink);
  color: var(--paper);
  border: none;
  border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}

.cta-form button:hover {
  background: var(--slate);
  transform: translateY(-1px);
}

.cta-note {
  margin-top: 14px;
  font-size: 0.8em;
  color: var(--muted);
}

/* — FOOTER — */
footer {
  padding: 40px 0;
  border-top: 1px solid rgba(196, 168, 130, 0.3);
}

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

.footer-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.1em;
  color: var(--ink);
}

.footer-logo span {
  color: var(--accent);
}

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

.footer-links a {
  font-size: 0.82em;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--ink);
}

.footer-copy {
  font-size: 0.78em;
  color: var(--clay);
}

/* — COMPATIBILITÀ — */
.compat {
  padding: 40px 0;
  background: white;
  border-top: 1px solid rgba(196, 168, 130, 0.15);
  border-bottom: 1px solid rgba(196, 168, 130, 0.15);
}

.compat-inner {
  text-align: center;
}

.compat-title {
  font-size: 0.82em;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 20px;
}

.compat-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.compat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.compat-name {
  font-weight: 600;
  font-size: 1.05em;
  color: var(--ink);
}

.compat-format {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7em;
  color: var(--clay);
}

.compat-sep {
  color: var(--clay);
  font-size: 1.4em;
  line-height: 1;
}

/* — RESPONSIVE — */
@media (max-width: 900px) {
  /* Show hamburger */
  .hamburger {
    display: flex;
  }

  /* Mobile nav drawer */
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100dvh;
    background: var(--paper);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 80px 28px 40px;
    box-shadow: -8px 0 30px rgba(26, 23, 20, 0.15);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 105;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    display: block !important;
    padding: 16px 0;
    font-size: 1.05em;
    font-weight: 500;
    color: var(--ink);
    border-bottom: 1px solid rgba(196, 168, 130, 0.2);
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .nav-links .nav-cta {
    margin-top: 16px;
    text-align: center;
    padding: 14px 20px;
    border-radius: 8px;
    border-bottom: none;
  }

  .hero h1 {
    font-size: 2.5em;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    display: none;
  }

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

  .steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .steps::before {
    display: none;
  }

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

  .price-cards {
    grid-template-columns: 1fr;
    max-width: 340px;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .demo-split {
    grid-template-columns: 1fr;
  }

  .demo-arrow {
    transform: rotate(90deg);
    padding: 10px 0;
  }
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 2em;
  }

  .hero-form,
  .cta-form {
    flex-direction: column;
  }

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

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

  .demo-input {
    padding: 18px;
  }

  .problema h2,
  .come-funziona h2,
  .demo h2,
  .features h2,
  .pricing h2,
  .cta-final h2 {
    font-size: 1.8em;
  }
}

/* — SCROLL HINT — */
.scroll-hint {
  display: none;
  justify-content: center;
  margin-top: 40px;
  color: var(--accent);
  text-decoration: none;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50% { transform: translateY(8px); opacity: 1; }
}

@media (max-width: 900px) {
  .scroll-hint {
    display: flex;
  }
}

/* — ANIMATIONS — */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
