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

/* ===== DESIGN TOKENS (Premium Luxury) ===== */
:root {
  --bg: #FFFFFF;
  --bg-alt: #F7F8FA;
  --bg-subtle: rgba(27,42,78,0.04);
  --surface: #FFFFFF;
  --surface-glass: rgba(255,255,255,0.72);
  --border: rgba(27,42,78,0.08);
  --border-glass: rgba(255,255,255,0.35);
  --text-primary: #1A1A2E;
  --text-secondary: #374151;
  --text-muted: #6B7280;
  --accent: #1B2A4E;
  --accent-hover: #0F1D36;
  --accent-subtle: rgba(27,42,78,0.07);
  --fg: #1A1A2E;
  --fg-muted: #6B7280;
  --white: #FFFFFF;
  --amber: #F59E0B;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-display: 'Inter', system-ui, sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-glass: 0 8px 40px rgba(27,42,78,0.10), 0 2px 8px rgba(27,42,78,0.06);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --container: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-primary);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ===== FADE-IN ANIMATION SYSTEM ===== */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in.delay-1 { transition-delay: 0.1s; }
.fade-in.delay-2 { transition-delay: 0.2s; }
.fade-in.delay-3 { transition-delay: 0.3s; }
.fade-in.delay-4 { transition-delay: 0.4s; }
.fade-in.delay-5 { transition-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; transition: none; }
}

/* ===== NAVIGATION (Glassmorphism) ===== */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 70px;
  border-bottom: 1px solid var(--border-glass);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(27,42,78,0.88);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  transition: background 0.3s ease;
}
.site-nav.scrolled {
  background: rgba(27,42,78,0.96);
  box-shadow: 0 2px 24px rgba(27,42,78,0.18);
}

.nav-logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.03em;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.78);
  transition: color 0.2s;
  text-decoration: none;
  letter-spacing: 0.01em;
}
.nav-links a:hover { color: var(--white); }

.nav-cta {
  background: var(--white);
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s, transform 0.15s;
  text-decoration: none;
  letter-spacing: 0.01em;
}
.nav-cta:hover {
  background: rgba(255,255,255,0.88);
  transform: translateY(-1px);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
}

.nav-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(27,42,78,0.97);
  backdrop-filter: blur(24px);
  z-index: 300;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.nav-mobile-overlay.open { display: flex; }
.nav-mobile-overlay a {
  font-size: 26px;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
}
.nav-mobile-close {
  position: absolute;
  top: 22px;
  right: 22px;
  font-size: 32px;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--white);
}

/* ===== BUTTON ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  text-decoration: none;
  padding: 16px 32px;
  font-size: 16px;
}
.btn:disabled, .btn.disabled { opacity: 0.5; cursor: not-allowed; }

.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover:not(:disabled) {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(27,42,78,0.28);
}

.btn-secondary {
  background: var(--surface-glass);
  color: var(--accent);
  border: 1.5px solid var(--border-glass);
  backdrop-filter: blur(12px);
}
.btn-secondary:hover:not(:disabled) {
  background: rgba(255,255,255,0.88);
  transform: translateY(-2px);
}

.btn-ghost { background: transparent; color: var(--accent); }
.btn-ghost:hover:not(:disabled) { background: var(--accent-subtle); }

.btn-sm { font-size: 13px; padding: 8px 16px; }
.btn-md { font-size: 14px; padding: 10px 20px; }
.btn-lg { font-size: 16px; padding: 16px 32px; }

/* ===== CARD (Glassmorphism) ===== */
.card {
  background: var(--surface-glass);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-glass);
}
.card-interactive {
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.card-interactive:hover {
  border-color: rgba(27,42,78,0.25);
  box-shadow: 0 12px 48px rgba(27,42,78,0.16);
  transform: translateY(-4px);
}

/* ===== SECTION WRAPPER ===== */
.section { padding: 96px 40px; }
.section-inner { max-width: var(--container); margin: 0 auto; }
.section-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-subtle);
  border: 1px solid rgba(27,42,78,0.12);
  padding: 4px 14px;
  border-radius: 100px;
}

/* ===== HERO (Parallax + Dark Overlay) ===== */
.hero-section {
  position: relative;
  padding: 140px 40px 112px;
  overflow: hidden;
  background: var(--accent);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://pub-629428d185ca4960a0a73c850d32294b.r2.dev/generated-images/company_201681/d96c43dc-4b31-41dc-9313-3b760d348b32.jpg');
  background-size: cover;
  background-position: center;
  will-change: transform;
  transition: transform 0.1s linear;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(27,42,78,0.88) 0%,
    rgba(27,42,78,0.72) 50%,
    rgba(15,23,54,0.60) 100%
  );
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.hero-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
}
.hero-h1 {
  font-size: clamp(40px, 5vw, 58px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 480px;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-visual {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 16px;
  height: 360px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 24px 64px rgba(0,0,0,0.28);
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== WHY RUNAI (3 col) ===== */
.why-section { background: var(--bg-subtle); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 52px;
}
.why-card { padding: 32px; }
.why-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
}
.why-card h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.why-card p { font-size: 16px; color: var(--text-secondary); line-height: 1.7; }

/* ===== 4 PILLARS ===== */
.pillars-section { padding-top: 0; }
.pillars-header { text-align: center; margin-bottom: 56px; }
.pillars-header h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 700; letter-spacing: -0.03em; }
.pillars-header p { font-size: 18px; color: var(--text-secondary); margin-top: 14px; }

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.pillar-card {
  background: var(--surface-glass);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  padding: 36px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  box-shadow: var(--shadow-glass);
}
.pillar-card:hover {
  border-color: rgba(27,42,78,0.28);
  box-shadow: 0 16px 56px rgba(27,42,78,0.16);
  transform: translateY(-4px);
}
.pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--accent-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--accent);
}
.pillar-card h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.pillar-card p { font-size: 16px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 22px; }
.card-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  transition: gap 0.2s;
}
.pillar-card:hover .card-link { gap: 10px; }

/* ===== HOW IT WORKS (TIMELINE) ===== */
.how-section { background: var(--bg-subtle); }
.how-header { text-align: center; margin-bottom: 56px; }
.how-header h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 700; letter-spacing: -0.03em; }
.how-header p { font-size: 18px; color: var(--text-secondary); margin-top: 14px; }

.timeline { max-width: 680px; margin: 0 auto; position: relative; }
.timeline-step { display: flex; gap: 28px; position: relative; }
.timeline-step:not(:last-child) { padding-bottom: 56px; }
.timeline-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 21px;
  top: 48px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, rgba(27,42,78,0.12), rgba(27,42,78,0.04));
}
.timeline-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 700;
  flex-shrink: 0;
  z-index: 1;
  box-shadow: 0 4px 16px rgba(27,42,78,0.22);
}
.timeline-content h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 8px; }
.timeline-content p { font-size: 16px; color: var(--text-secondary); line-height: 1.7; }

/* ===== DEMO CTA BAND ===== */
.layout-demo-cta {
  background: var(--bg-subtle);
  padding: 96px 40px;
  text-align: center;
}
.layout-demo-cta h2 { font-size: clamp(26px, 3vw, 40px); font-weight: 700; letter-spacing: -0.03em; margin-bottom: 14px; }
.layout-demo-cta p { font-size: 18px; color: var(--text-secondary); margin-bottom: 32px; max-width: 560px; margin-left: auto; margin-right: auto; line-height: 1.7; }

/* ===== PRICING CARDS ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}
.pricing-card {
  background: var(--surface-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-glass);
}
.pricing-card.featured {
  border: 2px solid var(--accent);
  position: relative;
  box-shadow: 0 0 0 6px var(--accent-subtle), var(--shadow-glass);
}
.pricing-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.pricing-name { font-size: 20px; font-weight: 600; margin-bottom: 6px; }
.pricing-desc { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; }
.pricing-price { font-size: 44px; font-weight: 700; color: var(--text-primary); line-height: 1; margin: 24px 0; }
.pricing-price span { font-size: 14px; font-weight: 400; color: var(--text-muted); }
.pricing-divider { height: 1px; background: var(--border); margin: 24px 0; }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-top: 20px; }
.pricing-features li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--text-secondary); }
.pricing-features .check { color: var(--accent); flex-shrink: 0; }
.pricing-cta { margin-top: 28px; width: 100%; justify-content: center; }

/* ===== FAQ ACCORDION ===== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 52px;
  backdrop-filter: blur(12px);
  background: var(--surface-glass);
}
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  gap: 20px;
  transition: background 0.15s;
}
.faq-question:hover { background: var(--bg-subtle); }
.faq-chevron { flex-shrink: 0; color: var(--text-muted); transition: transform 0.25s; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer { display: none; padding: 0 28px 22px; font-size: 15px; color: var(--text-secondary); line-height: 1.75; }
.faq-item.open .faq-answer { display: block; }

/* ===== CONTACT FORM ===== */
.contact-form { display: flex; flex-direction: column; gap: 22px; max-width: 560px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.form-group input, .form-group select, .form-group textarea {
  font-family: inherit;
  font-size: 16px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text-primary);
  transition: border-color 0.15s;
  outline: none;
  width: 100%;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-success { display: none; padding: 18px 22px; background: #ECFDF5; border: 1px solid #A7F3D0; border-radius: var(--radius-sm); color: #065F46; font-size: 15px; }
.form-success.visible { display: block; }
.form-error { display: none; padding: 18px 22px; background: var(--accent-subtle); border: 1px solid rgba(27,42,78,0.15); border-radius: var(--radius-sm); color: var(--accent); font-size: 15px; }
.form-error.visible { display: block; }

/* ===== SERVICES / PILASTRI SECTIONS ===== */
.servizio-section { padding: 88px 40px; border-bottom: 1px solid var(--border); }
.servizio-section:last-child { border-bottom: none; }
.servizio-inner { max-width: var(--container); margin: 0 auto; }
.servizio-header { display: flex; align-items: center; gap: 18px; margin-bottom: 36px; }
.servizio-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--accent-subtle); display: flex; align-items: center; justify-content: center; color: var(--accent); flex-shrink: 0; }
.servizio-tag { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); background: var(--accent-subtle); padding: 4px 12px; border-radius: 100px; margin-bottom: 10px; }
.servizio-header h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 700; letter-spacing: -0.03em; }
.servizio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; }
.servizio-problem {
  background: var(--surface-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-glass);
}
.servizio-problem h4 { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 14px; }
.servizio-problem p { font-size: 16px; color: var(--text-secondary); line-height: 1.75; }
.servizio-features h4 { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 18px; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.feature-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; color: var(--text-secondary); line-height: 1.55; }
.feature-list .check { color: var(--accent); flex-shrink: 0; margin-top: 1px; }
.servizio-usecase {
  background: var(--accent-subtle);
  border: 1px solid rgba(27,42,78,0.12);
  border-radius: var(--radius);
  padding: 26px 30px;
  margin-top: 28px;
}
.servizio-usecase h4 { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 12px; }
.servizio-usecase p { font-size: 15px; color: var(--text-secondary); line-height: 1.75; }

/* ===== ABOUT / CHI SIAMO ===== */
.about-mission { padding: 88px 40px; }
.about-mission-inner { max-width: var(--container); margin: 0 auto; }
.about-mission h1 { font-size: clamp(34px, 4vw, 52px); font-weight: 700; letter-spacing: -0.03em; margin-bottom: 28px; }
.about-mission p { font-size: 18px; color: var(--text-secondary); line-height: 1.75; max-width: 640px; }

.about-approach { background: var(--bg-subtle); padding: 88px 40px; }
.about-approach-inner { max-width: var(--container); margin: 0 auto; }
.about-approach h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 700; letter-spacing: -0.03em; text-align: center; margin-bottom: 52px; }
.approach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.approach-card { padding: 32px; }
.approach-card h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 10px; }
.approach-card p { font-size: 16px; color: var(--text-secondary); line-height: 1.7; }

.about-values { padding: 88px 40px; }
.about-values-inner { max-width: var(--container); margin: 0 auto; }
.about-values h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 700; letter-spacing: -0.03em; text-align: center; margin-bottom: 52px; }
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.value-card { padding: 32px; }
.value-card h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 10px; }
.value-card p { font-size: 16px; color: var(--text-secondary); line-height: 1.7; }

.about-context { background: var(--bg-subtle); padding: 72px 40px; text-align: center; }
.about-context-inner { max-width: 760px; margin: 0 auto; }
.about-context p { font-size: 18px; color: var(--text-secondary); line-height: 1.75; }

/* ===== CONTATTI ===== */
.contatti-section { padding: 88px 40px; }
.contatti-inner { max-width: var(--container); margin: 0 auto; }
.contatti-header { margin-bottom: 60px; }
.contatti-header h1 { font-size: clamp(34px, 4vw, 52px); font-weight: 700; letter-spacing: -0.03em; margin-bottom: 14px; }
.contatti-header p { font-size: 18px; color: var(--text-secondary); }
.contatti-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 72px; align-items: start; }
.contatti-info h3 { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 18px; }
.info-item { display: flex; flex-direction: column; gap: 6px; padding: 22px 0; border-bottom: 1px solid var(--border); }
.info-item:first-of-type { border-top: 1px solid var(--border); }
.info-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); }
.info-value { font-size: 17px; color: var(--text-primary); font-weight: 500; }
.info-value a { color: var(--accent); }
.info-value a:hover { text-decoration: underline; }

/* ===== DEMO PAGE ===== */
.demo-page-hero {
  background: var(--accent);
  color: var(--white);
  padding: 72px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.demo-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(255,255,255,0.04) 0%, transparent 70%);
}
.demo-page-hero-inner { max-width: 800px; margin: 0 auto; position: relative; z-index: 1; }
.demo-page-hero .section-label { color: rgba(255,255,255,0.55); margin-bottom: 14px; }
.demo-page-hero h1 { font-size: clamp(34px, 5vw, 54px); font-weight: 700; letter-spacing: -0.03em; color: var(--white); margin-bottom: 18px; }
.demo-page-hero p { font-size: 18px; color: rgba(255,255,255,0.62); line-height: 1.65; max-width: 560px; margin: 0 auto; }
.demo-page-cta { margin-top: 40px; }
.demo-page-footer { background: #0A1224; color: var(--white); padding: 88px 40px; text-align: center; }
.demo-page-footer h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 700; letter-spacing: -0.03em; color: var(--white); margin-bottom: 18px; }
.demo-page-footer p { font-size: 18px; color: rgba(255,255,255,0.55); margin-bottom: 36px; }

/* ===== CTA SECTION ===== */
.cta-section { padding: 88px 40px; text-align: center; }
.cta-section h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 700; letter-spacing: -0.03em; margin-bottom: 32px; }

/* ===== MODULO (form anchor) ===== */
#modulo { scroll-margin-top: 88px; }

/* ===== FOOTER ===== */
.site-footer {
  padding: 64px 40px 36px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.footer-inner { max-width: var(--container); margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 44px; margin-bottom: 52px; }
.footer-col h4 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 18px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col ul li a { font-size: 15px; color: var(--text-secondary); transition: color 0.15s; text-decoration: none; }
.footer-col ul li a:hover { color: var(--text-primary); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  gap: 24px;
  flex-wrap: wrap;
}
.footer-copyright { font-size: 14px; color: var(--text-muted); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 14px; color: var(--text-muted); transition: color 0.15s; text-decoration: none; }
.footer-legal a:hover { color: var(--text-secondary); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .servizio-grid { grid-template-columns: 1fr; }
  .approach-grid { grid-template-columns: 1fr; }
  .contatti-grid { grid-template-columns: 1fr; gap: 44px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 768px) {
  .site-nav { padding: 0 20px; }
  .section { padding: 72px 20px; }
  .hero-section { padding: 120px 20px 80px; }
  .servizio-section { padding: 56px 20px; }
  .about-mission { padding: 56px 20px; }
  .about-approach { padding: 56px 20px; }
  .about-values { padding: 56px 20px; }
  .about-context { padding: 56px 20px; }
  .contatti-section { padding: 56px 20px; }
  .demo-page-hero { padding: 56px 20px; }
  .demo-page-footer { padding: 56px 20px; }
  .layout-demo-cta { padding: 56px 20px; }
  .cta-section { padding: 56px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .site-footer { padding: 52px 20px 28px; }
  .values-grid { grid-template-columns: 1fr; }
  .why-grid { gap: 18px; }
  .timeline { max-width: 100%; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
}