/* ===== Ristoword – Premium Dark SaaS Landing ===== */
/* Black/charcoal, gold accents, red highlights, glass effects */

.dashboard-landing {
  --dash-bg: #0a0a0b;
  --dash-bg-elevated: #111113;
  --dash-bg-card: #161618;
  --dash-surface: rgba(22, 22, 24, 0.7);
  --dash-charcoal: #1c1c1f;
  --dash-text: #f4f4f5;
  --dash-text-muted: #a1a1aa;
  --dash-gold: #c9a227;
  --dash-gold-light: #e5c76b;
  --dash-gold-dark: #9a7b1a;
  --dash-red: #b91c1c;
  --dash-red-muted: rgba(185, 28, 28, 0.15);
  --dash-border: rgba(255, 255, 255, 0.06);
  --dash-border-gold: rgba(201, 162, 39, 0.3);
  --dash-glass: rgba(22, 22, 24, 0.6);
  --dash-glass-border: rgba(255, 255, 255, 0.08);
  --dash-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --dash-shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
  --dash-radius: 16px;
  --dash-radius-sm: 10px;
  --dash-radius-lg: 24px;
}

.dashboard-landing {
  background-color: var(--dash-bg);
  color: var(--dash-text);
}

.dashboard-landing a {
  color: var(--dash-gold-light);
  transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.dashboard-landing a:hover {
  color: var(--dash-gold);
}

/* ----- Navbar ----- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--dash-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--dash-glass-border);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  background: rgba(10, 10, 11, 0.95);
  box-shadow: var(--dash-shadow);
}

.navbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.navbar-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--dash-text) !important;
  letter-spacing: -0.02em;
}

.navbar-logo:hover {
  color: var(--dash-gold) !important;
}

.brand-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.brand-logo img {
  height: 36px;
  width: auto;
  max-width: none;
  display: block;
}

.hero-wrapper {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

.hero-text {
  text-align: center;
}

.hero-text h1 {
  font-size: 48px;
  font-weight: 800;
  margin: 0;
}

.hero-text p {
  font-size: 16px;
  margin-top: 6px;
  opacity: 0.85;
}

.hero-corner {
  position: absolute;
  top: 0;
  height: 180px;
  width: 180px;
  object-fit: contain;
  opacity: 0.95;
}

.hero-left {
  left: 20px;
}

.hero-right {
  right: 20px;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.navbar-nav .nav-link {
  font-size: 0.95rem;
  color: var(--dash-text-muted);
  font-weight: 500;
}

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

.navbar-nav .nav-link.is-active,
.navbar-mobile .nav-link.is-active {
  color: var(--dash-gold-light) !important;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  color: var(--dash-text);
}

.navbar-toggle .hamburger {
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

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

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

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

.navbar-mobile {
  display: none;
  flex-direction: column;
  padding: 1rem 1.5rem;
  gap: 0.75rem;
  background: var(--dash-bg-elevated);
  border-top: 1px solid var(--dash-border);
}

.navbar-mobile.open {
  display: flex;
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--dash-radius-sm);
  transition: all 0.2s ease;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--dash-gold) 0%, var(--dash-gold-dark) 100%);
  color: #0a0a0b;
  border-color: var(--dash-gold);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--dash-gold-light) 0%, var(--dash-gold) 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(201, 162, 39, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--dash-gold);
  border-color: var(--dash-border-gold);
}

.btn-outline:hover {
  background: rgba(201, 162, 39, 0.1);
  border-color: var(--dash-gold);
}

.btn-ghost {
  background: transparent;
  color: var(--dash-text-muted);
}

.btn-ghost:hover {
  color: var(--dash-text);
  background: rgba(255, 255, 255, 0.05);
}

.btn-lg {
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-block {
  width: 100%;
}

/* ----- Hero ----- */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 4rem 1.5rem 5rem;
  background: linear-gradient(180deg, var(--dash-bg) 0%, var(--dash-bg-elevated) 50%, var(--dash-bg) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 70%;
  height: 120%;
  background: radial-gradient(ellipse, rgba(201, 162, 39, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dash-gold);
  background: rgba(201, 162, 39, 0.12);
  border: 1px solid var(--dash-border-gold);
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  color: var(--dash-text);
}

.hero-subline {
  font-size: 1.15rem;
  color: var(--dash-text-muted);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ----- Dashboard mockup ----- */
.hero-preview {
  display: flex;
  justify-content: center;
  align-items: center;
}

.dashboard-mockup {
  width: 100%;
  max-width: 480px;
  padding: 1.5rem;
  border-radius: var(--dash-radius-lg);
  border: 1px solid var(--dash-glass-border);
  box-shadow: var(--dash-shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.03);
  animation: float 6s ease-in-out infinite;
}

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

.glass-card {
  background: var(--dash-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.mockup-header {
  display: flex;
  gap: 6px;
  margin-bottom: 1.5rem;
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--dash-border);
}

.mockup-dot:first-child { background: var(--dash-red); }
.mockup-dot:nth-child(2) { background: var(--dash-gold); }
.mockup-dot:last-child { background: var(--dash-text-muted); }

.mockup-kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.kpi-card {
  background: var(--dash-bg-card);
  border: 1px solid var(--dash-border);
  border-radius: var(--dash-radius-sm);
  padding: 1.25rem;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.kpi-card:hover {
  transform: scale(1.02);
  border-color: var(--dash-border-gold);
}

.kpi-icon {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 0.5rem;
}

.kpi-value {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--dash-gold);
  font-family: 'Playfair Display', Georgia, serif;
}

.kpi-label {
  font-size: 0.8rem;
  color: var(--dash-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ----- Analytics Dashboard Hero ----- */
.analytics-hero {
  padding: 3rem 1.5rem 4rem;
  background: linear-gradient(180deg, var(--dash-bg) 0%, #0d1117 40%, var(--dash-bg-elevated) 100%);
  position: relative;
  overflow: hidden;
}

.analytics-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(34, 211, 238, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.analytics-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.analytics-heading {
  text-align: center;
  margin-bottom: 2.5rem;
}

.analytics-badge {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #22d3ee;
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.3);
  border-radius: 100px;
  margin-bottom: 1rem;
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.15);
}

.analytics-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  color: var(--dash-text);
}

.analytics-subtitle {
  font-size: 1rem;
  color: var(--dash-text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

.analytics-panel {
  background: linear-gradient(145deg, rgba(13, 17, 23, 0.9) 0%, rgba(22, 22, 24, 0.85) 100%);
  border: 1px solid rgba(34, 211, 238, 0.12);
  border-radius: var(--dash-radius-lg);
  padding: 2rem;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.03), 0 0 60px rgba(34, 211, 238, 0.06);
}

.analytics-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.analytics-kpi-card {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(34, 211, 238, 0.1);
  border-radius: var(--dash-radius);
  padding: 1.25rem;
  text-align: center;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.analytics-kpi-card:hover {
  border-color: rgba(34, 211, 238, 0.25);
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.08);
}

.analytics-kpi-value {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  font-family: 'Playfair Display', Georgia, serif;
  color: #22d3ee;
  transition: all 0.5s ease;
}

.analytics-kpi-trend {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #34d399;
  margin-bottom: 0.35rem;
}

.analytics-kpi-label {
  display: block;
  font-size: 0.8rem;
  color: var(--dash-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.analytics-charts-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.5rem;
}

.analytics-chart-card {
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(34, 211, 238, 0.08);
  border-radius: var(--dash-radius);
  padding: 1.5rem;
}

.analytics-chart-main {
  grid-column: 1;
  grid-row: 1;
}

.analytics-chart-donut {
  grid-column: 2;
  grid-row: 1;
}

.analytics-chart-bar {
  grid-column: 1;
  grid-row: 2;
}

.analytics-chart-dist {
  grid-column: 2;
  grid-row: 2;
}

.analytics-chart-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dash-text);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.analytics-line-chart {
  height: 180px;
  width: 100%;
}

.analytics-line-chart svg {
  width: 100%;
  height: 100%;
}

.chart-line {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  transition: stroke-dashoffset 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.chart-line.animated {
  stroke-dashoffset: 0;
}

.analytics-line-legend {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--dash-text-muted);
}

.legend-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 0.4rem;
  vertical-align: middle;
}

.analytics-donut-wrap {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto 1rem;
}

.analytics-donut {
  width: 100%;
  height: 100%;
}

.analytics-donut circle {
  transition: stroke-dasharray 1s ease-out;
}

.analytics-donut-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.25rem;
  font-weight: 700;
  color: #22d3ee;
}

.analytics-donut-legend {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--dash-text-muted);
}

.analytics-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.75rem;
  height: 120px;
  margin-bottom: 0.5rem;
}

.analytics-bar-wrap {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.analytics-bar {
  width: 100%;
  max-width: 36px;
  min-height: 4px;
  background: linear-gradient(180deg, #22d3ee 0%, #06b6d4 100%);
  border-radius: 6px 6px 0 0;
  transition: height 1s ease-out;
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.3);
}

.analytics-bar-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--dash-text-muted);
}

.analytics-distribution {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.dist-row {
  display: grid;
  grid-template-columns: 100px 1fr 40px;
  align-items: center;
  gap: 0.75rem;
}

.dist-label {
  font-size: 0.85rem;
  color: var(--dash-text-muted);
}

.dist-bar-wrap {
  height: 8px;
  background: var(--dash-bg-card);
  border-radius: 4px;
  overflow: hidden;
}

.dist-bar {
  height: 100%;
  width: calc(var(--dist-val, 0) * 1%);
  background: linear-gradient(90deg, #22d3ee, #06b6d4);
  border-radius: 4px;
  transition: width 1s ease-out;
  box-shadow: 0 0 8px rgba(34, 211, 238, 0.4);
}

.dist-val {
  font-size: 0.8rem;
  font-weight: 600;
  color: #22d3ee;
}

@media (max-width: 1024px) {
  .analytics-charts-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .analytics-chart-main { grid-column: 1; grid-row: auto; }
  .analytics-chart-donut { grid-column: 1; grid-row: auto; }
  .analytics-chart-bar { grid-column: 1; grid-row: auto; }
  .analytics-chart-dist { grid-column: 1; grid-row: auto; }

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

@media (max-width: 768px) {
  .analytics-hero {
    padding: 2rem 1rem 3rem;
  }

  .hero-corner {
    height: 100px;
    width: 100px;
  }

  .hero-left {
    left: 10px;
  }

  .hero-right {
    right: 10px;
  }

  .hero-text h1 {
    font-size: 1.75rem;
  }

  .analytics-kpis {
    grid-template-columns: 1fr;
    margin-bottom: 1.5rem;
  }

  .analytics-panel {
    padding: 1.25rem;
  }

  .dist-row {
    grid-template-columns: 90px 1fr 36px;
    font-size: 0.8rem;
  }
}

/* ----- Sections ----- */
.section {
  padding: 5rem 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--dash-text);
}

.section-intro {
  text-align: center;
  color: var(--dash-text-muted);
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

/* ----- Cos'è Ristoword ----- */
.section-cose {
  background: var(--dash-bg-elevated);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.col-content p {
  color: var(--dash-text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.col-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--dash-text);
  font-weight: 500;
}

.feature-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--dash-radius-sm);
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.2) 0%, rgba(201, 162, 39, 0.05) 100%);
  border: 1px solid var(--dash-border-gold);
  flex-shrink: 0;
}

/* ----- Moduli principali ----- */
.cards-grid {
  display: grid;
  gap: 1.5rem;
}

.cards-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.module-card {
  padding: 2rem;
  border-radius: var(--dash-radius);
  border: 1px solid var(--dash-border);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.module-card:hover {
  transform: translateY(-4px);
  border-color: var(--dash-border-gold);
  box-shadow: var(--dash-shadow), 0 0 24px rgba(201, 162, 39, 0.08);
}

.module-card .card-icon {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: var(--dash-radius-sm);
  background: rgba(201, 162, 39, 0.15);
  margin-bottom: 1.25rem;
}

.module-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--dash-text);
}

.module-card p {
  font-size: 0.95rem;
  color: var(--dash-text-muted);
  line-height: 1.6;
}

/* ----- Apps ----- */
.section-apps {
  background: var(--dash-bg-elevated);
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.app-card {
  padding: 2rem;
  border-radius: var(--dash-radius);
  border: 1px solid var(--dash-border);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.app-card:hover {
  transform: translateY(-4px);
  border-color: var(--dash-border-gold);
}

.app-card-featured {
  border-color: var(--dash-border-gold);
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.08) 0%, transparent 100%);
}

.app-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--dash-text-muted);
  margin-bottom: 0.75rem;
}

.app-badge-gold {
  color: var(--dash-gold);
}

.app-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--dash-text);
}

.app-card p {
  font-size: 0.9rem;
  color: var(--dash-text-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

/* ----- Perché scegliere ----- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.benefit-card {
  padding: 2rem;
  border-radius: var(--dash-radius);
  border: 1px solid var(--dash-border);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
  border-color: var(--dash-border-gold);
}

.benefit-icon {
  display: block;
  width: 44px;
  height: 44px;
  border-radius: var(--dash-radius-sm);
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.2) 0%, rgba(201, 162, 39, 0.05) 100%);
  margin-bottom: 1rem;
}

.benefit-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--dash-text);
}

.benefit-card p {
  font-size: 0.9rem;
  color: var(--dash-text-muted);
  line-height: 1.5;
}

/* ----- Testimonials ----- */
.section-testimonials {
  background: var(--dash-bg-elevated);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  padding: 2rem;
  border-radius: var(--dash-radius);
  border: 1px solid var(--dash-border);
  transition: transform 0.2s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
}

.testimonial-card .stars {
  display: flex;
  gap: 4px;
  margin-bottom: 1rem;
}

.testimonial-card .stars span {
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, var(--dash-gold) 0%, var(--dash-gold-dark) 100%);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.testimonial-card blockquote {
  font-size: 1rem;
  color: var(--dash-text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.testimonial-card footer {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.testimonial-card footer strong {
  color: var(--dash-text);
  font-size: 0.95rem;
}

.testimonial-card footer span {
  font-size: 0.85rem;
  color: var(--dash-text-muted);
}

/* ----- Prezzi ----- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.pricing-card {
  padding: 2.5rem;
  border-radius: var(--dash-radius);
  border: 1px solid var(--dash-border);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: var(--dash-border-gold);
}

.pricing-featured {
  border-color: var(--dash-border-gold);
  background: linear-gradient(180deg, rgba(201, 162, 39, 0.06) 0%, transparent 50%);
}

.pricing-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dash-gold);
  background: var(--dash-bg-card);
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  border: 1px solid var(--dash-border-gold);
}

.pricing-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--dash-text);
}

.price {
  margin-bottom: 0.5rem;
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dash-gold);
  font-family: 'Playfair Display', Georgia, serif;
}

.price-period {
  font-size: 1rem;
  color: var(--dash-text-muted);
  font-weight: 400;
}

.price-save {
  font-size: 0.9rem;
  color: var(--dash-gold);
  margin-bottom: 1rem;
}

.price-note {
  font-size: 0.9rem;
  color: var(--dash-text-muted);
  margin-bottom: 1rem;
}

.price-features {
  list-style: none;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.price-features li {
  padding: 0.5rem 0;
  color: var(--dash-text-muted);
  font-size: 0.95rem;
  border-bottom: 1px solid var(--dash-border);
}

.price-features li:last-child {
  border-bottom: none;
}

/* ----- Supporto ----- */
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.support-card {
  display: block;
  padding: 2rem;
  border-radius: var(--dash-radius);
  border: 1px solid var(--dash-border);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.support-card:hover {
  transform: translateY(-4px);
  border-color: var(--dash-border-gold);
}

.support-icon {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: var(--dash-radius-sm);
  background: rgba(201, 162, 39, 0.15);
  margin-bottom: 1.25rem;
}

.support-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--dash-text);
}

.support-card p {
  font-size: 0.95rem;
  color: var(--dash-text-muted);
  line-height: 1.5;
}

/* ----- Accesso clienti ----- */
.section-accesso {
  padding: 4rem 1.5rem;
}

.accesso-cta {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem;
  border-radius: var(--dash-radius-lg);
  border: 1px solid var(--dash-border-gold);
  text-align: center;
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.05) 0%, transparent 50%);
}

.accesso-cta h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dash-text);
}

.accesso-cta p {
  color: var(--dash-text-muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.accesso-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ----- Footer ----- */
.footer {
  background: var(--dash-bg-elevated);
  border-top: 1px solid var(--dash-border);
  padding: 4rem 1.5rem 2rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--dash-text) !important;
  display: inline-block;
  margin-bottom: 1rem;
}

.footer-logo:hover {
  color: var(--dash-gold) !important;
}

.footer-brand p {
  color: var(--dash-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 320px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav a {
  color: var(--dash-text-muted);
}

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

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-legal a {
  color: var(--dash-text-muted);
  font-size: 0.9rem;
}

.footer-legal a:hover {
  color: var(--dash-text);
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--dash-text-muted);
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--dash-border);
}

/* Red accent - small strategic elements */
.navbar .btn-primary:hover,
.pricing-featured .btn-primary:hover {
  box-shadow: 0 4px 16px rgba(201, 162, 39, 0.35), 0 0 0 1px rgba(185, 28, 28, 0.2);
}

.mockup-dot:first-child {
  box-shadow: 0 0 8px var(--dash-red);
}

/* ----- Animations ----- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ----- Responsive ----- */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    max-width: 640px;
    margin: 0 auto;
  }

  .hero-subline {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-preview {
    order: -1;
    max-width: 420px;
    margin: 0 auto;
  }

  .two-col {
    grid-template-columns: 1fr;
  }

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

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

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

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

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .navbar-actions {
    display: none;
  }

  .navbar-toggle {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding: 3rem 1rem 4rem;
  }

  .hero-headline {
    font-size: 1.75rem;
  }

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

  .hero-cta .btn {
    width: 100%;
  }

  .section {
    padding: 3rem 1rem;
  }

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

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

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

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

  .accesso-buttons {
    flex-direction: column;
  }

  .accesso-buttons .btn {
    width: 100%;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand p {
    margin: 0 auto;
  }

  .footer-nav,
  .footer-legal {
    align-items: center;
  }
}

@media (max-width: 480px) {
  .mockup-kpis {
    grid-template-columns: 1fr;
  }

  .navbar-inner {
    padding: 0.75rem 1rem;
  }
}
