/* LLMS Hotel Generator — landing pubblica
   Dark tech theme (navy / cyan / indigo), stile SaaS AI-first */

:root {
  --bg: #06081a;
  --bg-elevated: #0b0f26;
  --bg-soft: #0d1230;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-strong: rgba(255, 255, 255, 0.075);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --cyan: #38d9ff;
  --cyan-soft: rgba(56, 217, 255, 0.14);
  --indigo: #6366f1;
  --indigo-2: #8b5cf6;
  --text: #f5f7fb;
  --text-muted: #a8afc2;
  --text-faint: #6f7690;
  --danger: #ff6b6b;
  --ok: #34d399;
  --radius: 20px;
  --radius-sm: 12px;
  --wrap: 1180px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--cyan); text-decoration: none; }

.shell {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

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

code {
  background: rgba(255, 255, 255, 0.08);
  color: var(--cyan);
  padding: 0.1em 0.4em;
  border-radius: 6px;
  font-size: 0.9em;
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.85rem 1.7rem;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.96rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--indigo), var(--cyan));
  color: #fff;
  box-shadow: 0 12px 30px -10px rgba(99, 102, 241, 0.55);
}
.btn-primary:hover { box-shadow: 0 16px 40px -8px rgba(56, 217, 255, 0.6); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan); }

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  padding: 0.85rem 0.4rem;
}
.btn-ghost:hover { color: var(--cyan); }

.btn-lg { padding: 1.05rem 2.2rem; font-size: 1.05rem; }
.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ——— Nav ——— */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0;
  background: linear-gradient(180deg, rgba(6, 8, 26, 0.92), rgba(6, 8, 26, 0.55));
  backdrop-filter: blur(16px);
}
.nav-logo { display: flex; align-items: center; gap: 0.6rem; }
.nav-logo img { height: 96px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 1.8rem; }
.nav-links a:not(.btn) { color: var(--text-muted); font-size: 0.92rem; font-weight: 500; }
.nav-links a:not(.btn):hover { color: var(--text); }

/* ——— Hero ——— */
.hero {
  position: relative;
  padding: 5.5rem 0 6rem;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 620px;
  pointer-events: none;
  background:
    radial-gradient(480px circle at 18% 20%, rgba(56, 217, 255, 0.22), transparent 60%),
    radial-gradient(520px circle at 82% 8%, rgba(99, 102, 241, 0.28), transparent 60%),
    radial-gradient(600px circle at 55% 55%, rgba(139, 92, 246, 0.12), transparent 65%);
  filter: blur(10px);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 40%, transparent 85%);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 2; text-align: center; max-width: 800px; margin: 0 auto; }

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.6rem;
}
.badge-pill .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px 2px rgba(56, 217, 255, 0.7);
}

.hero h1 {
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 1.3rem;
}
.hero h1 .grad {
  background: linear-gradient(120deg, var(--cyan), var(--indigo-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lead {
  font-size: 1.18rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 2.2rem;
  line-height: 1.6;
}

.hero-cta { display: flex; align-items: center; justify-content: center; gap: 1.4rem; flex-wrap: wrap; margin-bottom: 1.6rem; }

.hero-note { font-size: 0.85rem; color: var(--text-faint); margin-bottom: 2.6rem; }
.hero-note strong { color: var(--text-muted); font-weight: 600; }

.ai-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}
.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 0.9rem 0.4rem 0.6rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}
.ai-badge .swatch { width: 16px; height: 16px; border-radius: 50%; flex: none; }

/* ——— Sections ——— */
.section { padding: 6rem 0; position: relative; }
.section-alt { background: var(--bg-elevated); }

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 0.9rem;
}
.section-kicker::before {
  content: "";
  width: 18px; height: 1px;
  background: var(--cyan);
  display: inline-block;
}

.section h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 1rem;
  max-width: 700px;
}

.support {
  color: var(--text-muted);
  font-size: 1.08rem;
  line-height: 1.65;
  max-width: 680px;
  margin: 0 0 2.6rem;
}
.support strong { color: var(--text); }
.support-wide { max-width: 760px; }

/* ——— Glass cards ——— */
.card-glass {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.9rem;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.card-glass:hover {
  border-color: rgba(56, 217, 255, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 24px 50px -30px rgba(56, 217, 255, 0.35);
}

.card-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--cyan-soft);
  color: var(--cyan);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem;
}
.card-icon svg { width: 22px; height: 22px; }

.card-glass h3 { font-size: 1.05rem; font-weight: 600; margin: 0 0 0.5rem; color: var(--text); }
.card-glass p { color: var(--text-muted); font-size: 0.94rem; line-height: 1.55; margin: 0; }

.what-grid, .lang-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }

.card-accent-ok { border-left: 3px solid var(--ok); }
.card-accent-no { border-left: 3px solid var(--danger); }

/* ——— Results / before-after ——— */
.results-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 2.4rem 0 2rem;
}
.kpi {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.2rem 1.45rem;
}
.kpi-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 1rem;
  line-height: 1.35;
}
.kpi-compare {
  display: flex;
  align-items: flex-end;
  gap: 0.55rem;
}
.kpi-before, .kpi-after { flex: 1; min-width: 0; }
.kpi-tag {
  display: block;
  font-size: 0.72rem;
  color: var(--text-faint);
  margin-bottom: 0.25rem;
}
.kpi-before strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: -0.02em;
}
.kpi-after strong {
  display: block;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--cyan);
  letter-spacing: -0.02em;
}
.kpi-arrow {
  color: var(--text-faint);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.results-charts {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1.1rem;
}
.chart-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.7rem;
}
.chart-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
  flex-wrap: wrap;
}
.chart-head h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
}
.chart-legend {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.chart-legend span { display: inline-flex; align-items: center; gap: 0.4rem; }
.chart-legend i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  display: inline-block;
}
.leg-before { background: rgba(168, 175, 194, 0.55); }
.leg-after { background: linear-gradient(135deg, var(--indigo), var(--cyan)); }
.leg-ota { background: rgba(255, 107, 107, 0.75); }
.leg-direct { background: var(--ok); }

.bar-chart { display: grid; gap: 0.95rem; }
.bar-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 0.8rem;
  align-items: center;
}
.bar-label {
  font-size: 0.84rem;
  color: var(--text-muted);
  font-weight: 500;
}
.bar-tracks { display: grid; gap: 0.35rem; }
.bar {
  --v: 0%;
  height: 18px;
  width: 0;
  border-radius: 6px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 0.45rem;
  font-size: 0.68rem;
  font-weight: 700;
  transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}
.bar span { opacity: 0; transition: opacity 0.3s ease 0.5s; }
.chart-panel.is-animated .bar { width: var(--v); }
.chart-panel.is-animated .bar span { opacity: 1; }
.bar-before {
  background: rgba(168, 175, 194, 0.28);
  color: var(--text-muted);
}
.bar-after {
  background: linear-gradient(90deg, var(--indigo), var(--cyan));
  color: #061018;
}

.stack-compare { display: grid; gap: 1.4rem; }
.stack-title {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 0.55rem;
}
.stack-bar {
  display: flex;
  height: 42px;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}
.stack-ota, .stack-direct {
  --w: 0%;
  width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  transition: width 1.15s cubic-bezier(0.22, 1, 0.36, 1);
}
.stack-ota { background: rgba(255, 107, 107, 0.55); color: #fff; }
.stack-direct { background: rgba(52, 211, 153, 0.75); color: #062016; }
.chart-panel.is-animated .stack-ota,
.chart-panel.is-animated .stack-direct { width: var(--w); }
.stack-block p {
  margin: 0.65rem 0 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.stack-block-after .stack-title { color: var(--cyan); }

.results-note {
  margin: 1.8rem 0 0;
  font-size: 0.86rem;
  color: var(--text-faint);
  line-height: 1.55;
  max-width: 820px;
}
.results-note a { color: var(--cyan); }

/* ——— Pricing ——— */
.pricing-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.1rem;
  align-items: stretch;
  max-width: 860px;
}
.price-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.7rem 1.7rem;
  display: flex;
  flex-direction: column;
}
.price-card-featured {
  border-color: rgba(56, 217, 255, 0.35);
  background:
    radial-gradient(circle at top right, rgba(56, 217, 255, 0.12), transparent 45%),
    var(--surface);
  box-shadow: 0 24px 50px -34px rgba(56, 217, 255, 0.45);
}
.price-badge {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #061018;
  background: linear-gradient(135deg, var(--indigo), var(--cyan));
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
}
.price-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}
.price-desc {
  margin: 0 0 1.4rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}
.price-amount {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 1.4rem;
  padding-bottom: 1.3rem;
  border-bottom: 1px solid var(--border);
}
.price-amount strong {
  font-size: clamp(2.2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1;
}
.price-card-featured .price-amount strong { color: var(--cyan); }
.price-amount span {
  font-size: 0.92rem;
  color: var(--text-faint);
  font-weight: 500;
}
.price-list {
  list-style: none;
  margin: 0 0 1.6rem;
  padding: 0;
  display: grid;
  gap: 0.7rem;
  flex: 1;
}
.price-list li {
  position: relative;
  padding-left: 1.45rem;
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.45;
}
.price-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(56, 217, 255, 0.15);
}

/* ——— Check list ——— */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.85rem; }
.check-list li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}
.check-list li strong { color: var(--text); }
.check-ico {
  flex: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--cyan-soft);
  color: var(--cyan);
  display: flex; align-items: center; justify-content: center;
  margin-top: 0.1rem;
}
.check-ico svg { width: 13px; height: 13px; }

/* ——— Demo form ——— */
.demo-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: 3rem; align-items: start; }
.split-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: start; }

.demo-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.2rem;
}

.field { margin-bottom: 1.1rem; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}
.field label {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 0.5rem;
}
.field input:not([type="checkbox"]), .field textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  color: var(--text);
  font-family: inherit;
  font-size: 0.96rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }
.field input:not([type="checkbox"]):focus, .field textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(56, 217, 255, 0.15);
}
.field textarea { resize: vertical; min-height: 90px; }
.field input[type="date"],
.field input[type="time"] {
  color-scheme: dark;
}

.field-consent { margin-top: 0.4rem; margin-bottom: 1.4rem; }
.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.86rem !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: var(--text-muted) !important;
  margin-bottom: 0 !important;
  line-height: 1.45;
  cursor: pointer;
}
.consent-label input[type="checkbox"] {
  flex: none;
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.15rem;
  accent-color: var(--cyan);
  cursor: pointer;
}
.consent-label a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.consent-label a:hover { color: var(--text); }

.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }

.form-note { font-size: 0.82rem; color: var(--text-faint); text-align: center; margin: 1rem 0 0; }

.alert {
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.1rem;
  font-size: 0.92rem;
  margin-bottom: 1.2rem;
  border: 1px solid transparent;
}
.alert-success, .alert-ok { background: rgba(52, 211, 153, 0.12); border-color: rgba(52, 211, 153, 0.35); color: #6ee7b7; }
.alert-danger, .alert-error { background: rgba(255, 107, 107, 0.12); border-color: rgba(255, 107, 107, 0.35); color: #ffb0b0; }
.alert-info { background: var(--cyan-soft); border-color: rgba(56, 217, 255, 0.35); color: var(--cyan); }
.alert-warning { background: rgba(251, 192, 34, 0.1); border-color: rgba(251, 192, 34, 0.35); color: #fbc022; }

/* ——— Footer ——— */
.footer {
  border-top: 1px solid var(--border);
  padding: 1.1rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  color: var(--text-faint);
  font-size: 0.85rem;
}
.footer-brand { display: flex; align-items: center; gap: 0.6rem; color: var(--text-muted); font-weight: 600; }
.footer-brand img { height: 92px; width: auto; display: block; }
.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.55rem;
  max-width: 560px;
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
  justify-content: flex-end;
  text-align: right;
  line-height: 1.45;
}
.footer-legal strong { color: var(--text-muted); font-weight: 600; }
.footer-legal span::before {
  content: "—";
  margin-right: 0.55rem;
  color: var(--text-faint);
  opacity: 0.7;
}
.footer-policies {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: flex-end;
}
.footer-login { margin-top: 0.25rem; align-self: flex-end; }
.footer-policies a,
.footer a {
  color: var(--text-muted);
  font-size: 0.84rem;
  font-weight: 500;
}
.footer-policies a:hover,
.footer a:hover { color: var(--cyan); }

@media (max-width: 700px) {
  .footer { flex-direction: column; align-items: flex-start; }
  .footer-meta { align-items: flex-start; }
  .footer-legal { text-align: left; justify-content: flex-start; }
  .footer-policies { justify-content: flex-start; }
  .footer-login { align-self: flex-start; }
}

/* ——— Reveal animation ——— */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .results-kpis { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .demo-layout, .split-grid { grid-template-columns: 1fr; gap: 2rem; }
  .what-grid, .lang-grid { grid-template-columns: 1fr; }
  .results-charts { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; }
  .nav-links { gap: 1rem; }
  .nav-links a:not(.btn) { display: none; }
}

@media (max-width: 600px) {
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .results-kpis { grid-template-columns: 1fr; }
  .bar-row { grid-template-columns: 72px 1fr; }
  .nav { padding: 0.35rem 0; }
  .nav-logo img { height: 78px; }
  .footer-brand img { height: 76px; }
  .hero { padding: 3.5rem 0 4rem; }
  .section { padding: 4rem 0; }
  .demo-card { padding: 1.4rem; }
  .footer { flex-direction: column; text-align: center; }
}
