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

:root {
  /* Palette scura in stile Adviz: blu notte + teal */
  --bg-color: #0D1421;
  --bg-surface: #16202F;
  --bg-surface-light: #1D2A3D;

  --text-main: #F5F7FA;
  --text-muted: #9FB0C3;

  --accent-primary: #2DD4BF;
  --accent-glow: rgba(45, 212, 191, 0.35);
  --accent-secondary: #34D399;

  --border-color: rgba(255, 255, 255, 0.08);
  --border-color-hover: rgba(255, 255, 255, 0.16);
  
  --font-main: 'Outfit', sans-serif;
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 1.5rem; }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 0.75rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-muted);
  font-size: 1.125rem;
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  text-decoration: underline;
}

.text-gradient {
  background: linear-gradient(135deg, var(--text-main) 0%, var(--text-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-accent-gradient {
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

main {
  flex: 1;
}

/* Header & Nav */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 20, 33, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-main);
  line-height: 1;
}

.brand-tag {
  font-size: 0.85rem;
  color: var(--accent-primary);
  font-weight: 500;
  margin-top: 0.25rem;
}

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

.nav-links a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 1rem;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--text-main);
  text-decoration: none;
}

/* Il bottone nel menu deve restare a testo scuro, leggibile anche senza hover */
.nav-links a.btn-primary,
.nav-links a.btn-primary:hover,
.nav-links a.btn-primary.active {
  color: #04211C;
  font-weight: 700;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    flex-direction: column;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: block;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  border-radius: 0.75rem;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none !important;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: #04211C;
  box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-primary::after {
  content: "→";
  margin-left: 0.5rem;
  transition: transform 0.25s ease;
}

.nav-links .btn-primary::after,
form .btn-primary::after {
  content: none;
  margin-left: 0;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45, 212, 191, 0.45);
  color: #04211C;
}

.btn-primary:hover::after {
  transform: translateX(3px);
}

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

.btn-outline:hover {
  background: var(--bg-surface-light);
  border-color: var(--border-color-hover);
  color: var(--text-main);
}

.btn-full {
  width: 100%;
}

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

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-pill {
  display: inline-block;
  padding: 0.25rem 1rem;
  background: rgba(45, 212, 191, 0.1);
  color: var(--accent-primary);
  border: 1px solid rgba(45, 212, 191, 0.2);
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2.5rem;
}

@media (max-width: 640px) {
  .hero-actions {
    flex-direction: column;
  }
}

/* Service Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.service-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-color-hover);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 64px;
  height: 64px;
  background: rgba(45, 212, 191, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--accent-primary);
  margin-bottom: 1.5rem;
}

/* Sistema icone RC Digital: SVG lineari, coerenti e indipendenti dal sistema operativo */
.icon-box {
  width: 56px;
  height: 56px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 56px;
  color: var(--accent-primary);
  background: linear-gradient(145deg, rgba(45, 212, 191, 0.14), rgba(52, 211, 153, 0.06));
  border: 1px solid rgba(45, 212, 191, 0.24);
  border-radius: 14px;
  margin-bottom: 1rem;
}

.icon-box::after {
  content: '';
  position: absolute;
  top: 7px;
  right: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-secondary);
}

.site-icon {
  display: block;
  width: 28px;
  height: 28px;
  overflow: visible;
}

.icon-box--sm {
  width: 42px;
  height: 42px;
  flex-basis: 42px;
  border-radius: 11px;
  margin-bottom: 0;
}

.icon-box--sm .site-icon {
  width: 21px;
  height: 21px;
}

.icon-box--sm::after {
  top: 5px;
  right: 5px;
  width: 5px;
  height: 5px;
}

.icon-box--lg {
  width: 72px;
  height: 72px;
  flex-basis: 72px;
  border-radius: 18px;
}

.icon-box--lg .site-icon {
  width: 36px;
  height: 36px;
}

.icon-box--center {
  display: flex;
  margin-right: auto;
  margin-left: auto;
}

.title-with-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.title-with-icon .icon-box {
  margin-bottom: 0;
}

.title-with-icon h1,
.title-with-icon h2,
.title-with-icon h3 {
  margin-bottom: 0;
}

.heading-with-icon {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.heading-with-icon .icon-box {
  margin-bottom: 0;
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.service-desc {
  flex: 1;
  margin-bottom: 2rem;
}

.service-link {
  margin-top: auto;
}

/* Stats Section */
.stats {
  padding: 5rem 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 2rem;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 1.125rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Features List */
.feature-list {
  list-style: none;
  margin-bottom: 2rem;
}

.feature-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-primary);
  font-weight: bold;
}

/* Footer */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  padding: 3rem 0;
  margin-top: auto;
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1.5rem;
  max-width: 100%;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.875rem;
}

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

.cookie-settings-link {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-size: 0.875rem;
  cursor: pointer;
  padding: 0;
}

.cookie-settings-link:hover,
.cookie-settings-link:focus-visible {
  color: var(--text-main);
  text-decoration: underline;
}

.footer-disclaimer {
  margin-top: 2rem;
  font-size: 0.75rem;
  color: rgba(160, 174, 192, 0.6);
  text-align: center;
}

/* WhatsApp floating button (solo mobile) */
.wa-float {
  display: none;
}

@media (max-width: 768px) {
  .wa-float {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    font-size: 1.75rem;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
    z-index: 200;
    text-decoration: none !important;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  .wa-float .site-icon {
    width: 27px;
    height: 27px;
  }

  body:not(.wa-float-visible) .wa-float {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px);
  }

  body.wa-float-footer-visible .wa-float {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px);
  }

  body.cookie-banner-open .wa-float {
    display: none;
  }

  .footer-inner {
    align-items: flex-start;
  }

  .footer-links {
    width: 100%;
    justify-content: flex-start;
    gap: 0.75rem 1.25rem;
  }
}

/* Consenso cookie e Analytics */
.cookie-consent {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1000;
  max-width: 1180px;
  margin: 0 auto;
  background: rgba(22, 32, 47, 0.98);
  border: 1px solid rgba(45, 212, 191, 0.35);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(16px);
}

.cookie-consent__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.4rem 1.5rem;
}

.cookie-consent__copy {
  max-width: 760px;
}

.cookie-consent__copy h2 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.cookie-consent__copy p {
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

.cookie-consent__copy a {
  font-size: 0.85rem;
  font-weight: 600;
}

.cookie-consent__actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-consent__actions .btn {
  min-width: 160px;
  padding: 0.75rem 1rem;
}

@media (max-width: 820px) {
  .cookie-consent__inner,
  .cookie-consent__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-consent__inner {
    gap: 1rem;
  }

  .cookie-consent__actions .btn {
    width: 100%;
  }
}

/* Prove di metodo e deliverable */
.evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.evidence-card {
  background: linear-gradient(180deg, rgba(29, 42, 61, 0.96), rgba(22, 32, 47, 0.96));
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}

.evidence-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--accent-primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.evidence-card h3 {
  font-size: 1.2rem;
}

.evidence-card p,
.evidence-card li {
  font-size: 0.95rem;
}

.document-preview {
  list-style: none;
  margin-top: 1.25rem;
  padding: 1rem;
  background: rgba(13, 20, 33, 0.75);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
}

.document-preview li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text-muted);
  padding: 0.45rem 0;
  border-bottom: 1px dashed var(--border-color);
}

.document-preview li:last-child {
  border-bottom: 0;
}

.document-status {
  color: var(--accent-secondary);
  font-weight: 700;
  white-space: nowrap;
}

.document-status--check {
  color: #fbbf24;
}

.delivery-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 0;
}

.analysis-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 2rem;
  align-items: start;
}

.analysis-report {
  background: rgba(13, 20, 33, 0.78);
  border: 1px solid rgba(45, 212, 191, 0.3);
  border-radius: var(--radius-sm);
  padding: 1.35rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.analysis-report__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.9rem;
  margin-bottom: 0.4rem;
  border-bottom: 1px solid var(--border-color);
}

.analysis-report__header strong {
  color: var(--text-main);
}

.analysis-report__tag {
  color: var(--accent-primary);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.analysis-report__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px dashed var(--border-color);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.analysis-report__row:last-child {
  border-bottom: 0;
}

.analysis-report__row b {
  color: var(--accent-secondary);
  text-align: right;
}

.delivery-option {
  background: rgba(13, 20, 33, 0.65);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
}

.delivery-option strong {
  display: block;
  color: var(--text-main);
  margin-bottom: 0.3rem;
}

.delivery-option p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.form-status {
  text-align: center;
  font-size: 0.9rem;
  margin: 1rem 0 0;
}

.form-status:empty {
  display: none;
}

.callout-note {
  padding: 1.25rem 1.5rem;
  background: rgba(45, 212, 191, 0.07);
  border: 1px solid rgba(45, 212, 191, 0.25);
  border-radius: var(--radius-sm);
}

.callout-note p:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .evidence-grid {
    grid-template-columns: 1fr;
  }

  .analysis-overview {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .delivery-options {
    grid-template-columns: 1fr;
  }

  .content-block,
  .form-card,
  .pricing-card,
  .service-card {
    padding: 1.5rem;
  }
}

/* Lead magnet */
.leadmagnet-band {
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.08), rgba(52, 211, 153, 0.08));
  border: 1px solid rgba(45, 212, 191, 0.25);
  border-radius: var(--radius-md);
  padding: 3rem;
  text-align: center;
}

.leadmagnet-form {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.leadmagnet-form input[type="email"] {
  flex: 1;
  min-width: 240px;
  max-width: 380px;
  padding: 0.875rem 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: var(--font-main);
  font-size: 1rem;
}

.leadmagnet-form input[type="email"]:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* Forms */
.form-card {
  background: var(--bg-surface-light);
  padding: 3rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: var(--font-main);
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.2);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.pricing-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-color-hover);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.pricing-card.featured {
  border: 2px solid var(--accent-primary);
  box-shadow: 0 0 40px rgba(45, 212, 191, 0.15);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: #04211C;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 1rem;
  border-radius: 2rem;
  white-space: nowrap;
}

.pricing-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.pricing-for {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  min-height: 2.7em;
}

.pricing-price {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text-main);
}

.pricing-price small {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0.5rem 0 1.5rem;
}

.pricing-card .feature-list {
  flex: 1;
  margin-bottom: 2rem;
}

.pricing-card .feature-list li {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

/* Pricing grid with 4 plans */
.pricing-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}
.pricing-grid--4 .pricing-card {
  padding: 2rem 1.5rem;
}
/* Allinea i prezzi alla stessa altezza in tutte le card */
.pricing-grid--4 .pricing-price small {
  display: block;
  margin-top: 0.4rem;
}
@media (min-width: 641px) {
  .pricing-grid--4 .pricing-name { min-height: 2.6em; }
  .pricing-grid--4 .pricing-for { min-height: 4.9em; }
}
@media (max-width: 1099px) {
  .pricing-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .pricing-grid--4 {
    grid-template-columns: 1fr;
  }
}

/* Alternative badge (risk-sharing plan) */
.pricing-badge.badge-alt {
  background: linear-gradient(135deg, var(--accent-secondary), #059669);
}

/* Success-fee tiers block */
.premio-scaglioni {
  background: rgba(45, 212, 191, 0.07);
  border: 1px solid rgba(45, 212, 191, 0.25);
  border-radius: 10px;
  padding: 1rem 1.15rem;
  margin-bottom: 1.75rem;
}
.premio-title {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-primary);
  margin-bottom: 0.65rem;
}
.premio-scaglioni ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.premio-scaglioni li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  font-size: 0.9rem;
  padding: 0.4rem 0;
  border-bottom: 1px dashed var(--border-color);
}
.premio-scaglioni li:last-child {
  border-bottom: none;
}
.premio-scaglioni li strong {
  color: var(--text-main);
  white-space: nowrap;
}

/* Guarantee band */
.guarantee-band {
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin-top: 3rem;
}

.guarantee-band .g-icon {
  margin-bottom: 0;
}

.guarantee-band h3 { color: #10b981; }

@media (max-width: 600px) {
  .guarantee-band {
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
  }
}

/* Steps / timeline */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  counter-reset: step;
}

.step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  position: relative;
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: #04211C;
  font-weight: 800;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

/* FAQ */
.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  color: var(--text-main);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--accent-primary);
  flex-shrink: 0;
}

.faq-item[open] summary::after { content: '\2212'; }

.faq-item .faq-body {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-muted);
}

/* Comparison table */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2.5rem;
  font-size: 0.95rem;
}

.compare-table th, .compare-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-muted);
}

.compare-table th {
  color: var(--text-main);
  font-weight: 700;
  background: var(--bg-surface);
}

.compare-table td:first-child { color: var(--text-main); font-weight: 500; }

.compare-table .highlight-col {
  background: rgba(45, 212, 191, 0.06);
  color: var(--text-main);
}

/* Trust logos / platform pills */
.platform-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2rem;
}

.platform-pill {
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--border-color);
  border-radius: 2rem;
  background: var(--bg-surface);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
}

/* WhatsApp button */
.btn-whatsapp {
  background: #25D366;
  color: #fff;
  gap: 0.55rem;
}

.btn-whatsapp .site-icon {
  width: 20px;
  height: 20px;
}

.btn-whatsapp:hover {
  background: #1ebe5b;
  color: #fff;
  transform: translateY(-2px);
}

/* Founder section */
.founder-grid {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  align-items: start;
  margin-top: 3rem;
}

@media (max-width: 768px) {
  .founder-grid { grid-template-columns: 1fr; }
  .founder-photo { margin: 0 auto; }
}

.founder-photo {
  width: 80px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bg-surface-light), var(--bg-surface));
  border: 2px solid var(--border-color-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Inner Pages Utilities */
.page-header {
  padding: 5rem 0 3rem;
  text-align: center;
}

.page-content {
  padding-bottom: 5rem;
}

.content-block {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 3rem;
  margin-bottom: 2rem;
}
/* ===== Radar Agevolazioni: voce di menu con pallino pulsante ===== */
.nav-radar {
  color: var(--accent-primary) !important;
  font-weight: 600;
  white-space: nowrap;
}
.nav-radar .radar-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-primary);
  margin-left: 0.35rem;
  vertical-align: middle;
  animation: radarPulse 1.6s ease-in-out infinite;
}
@keyframes radarPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.55); }
  50% { opacity: 0.55; box-shadow: 0 0 0 6px rgba(45, 212, 191, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .nav-radar .radar-dot { animation: none; }
}
