/* ══════════════════════════════════════════════════════════
   FLUXOR — Design System
   ══════════════════════════════════════════════════════════ */

:root {
  /* Colors */
  --blue: #0369A1;
  --blue-light: #0EA5E9;
  --blue-dark: #024E7A;
  --orange: #FD680D;
  --orange-light: #FF8A3D;
  --white: #ffffff;
  --off-white: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-900: #0F172A;

  /* Typography */
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Montserrat', sans-serif;

  /* Spacing */
  --section-pad: 100px 80px;
  --section-pad-sm: 80px 40px;
  --wrap-max: 1200px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 24px;

  /* Shadows */
  --shadow-sm: 0 4px 16px rgba(3,105,161,.06);
  --shadow-md: 0 12px 40px rgba(3,105,161,.1);
  --shadow-lg: 0 24px 56px rgba(3,105,161,.14);
  --shadow-dark: 0 32px 80px rgba(0,0,0,.3);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--white);
  overflow-x: hidden;
  max-width: 100%;
  line-height: 1.6;
}

/* Rete di sicurezza: le tabelle non sforano mai */
table { max-width: 100%; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* ── UTILITIES ── */
.wrap { max-width: var(--wrap-max); margin: 0 auto; }
.text-center { text-align: center; }
.text-blue { color: var(--blue); }
.text-orange { color: var(--orange); }
.text-blue-light { color: var(--blue-light); }

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow .3s;
}
nav.scrolled { box-shadow: 0 4px 32px rgba(3,105,161,.08); }

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo img {
  height: 32px;
  width: auto;
}
.nav-logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  color: var(--blue);
  letter-spacing: -.02em;
}
.nav-logo-text span {
  color: var(--orange);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  transition: color .2s;
  position: relative;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--blue);
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

.nav-cta {
  background: var(--orange);
  color: white;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  transition: background .2s, transform .2s;
  letter-spacing: .02em;
}
.nav-cta:hover { background: var(--orange-light); transform: translateY(-1px); }

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--gray-900);
  cursor: pointer;
}

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

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  background: var(--orange);
  color: white;
  padding: 14px 32px;
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 8px 32px rgba(253,104,13,.35);
  text-align: center;
}
.btn-primary:hover {
  background: var(--orange-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(253,104,13,.45);
}

.btn-secondary {
  display: inline-block;
  background: rgba(255,255,255,.08);
  color: white;
  padding: 14px 32px;
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid rgba(255,255,255,.15);
  transition: background .2s, transform .2s;
  text-align: center;
}
.btn-secondary:hover {
  background: rgba(255,255,255,.14);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--blue);
  padding: 14px 32px;
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  border: 2px solid var(--blue);
  transition: background .2s, transform .2s, color .2s;
  text-align: center;
}
.btn-outline:hover {
  background: var(--blue);
  color: white;
  transform: translateY(-2px);
}

.btn-white {
  display: inline-block;
  background: white;
  color: var(--blue);
  padding: 16px 40px;
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 8px 32px rgba(0,0,0,.2);
  text-align: center;
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(0,0,0,.3);
}

/* ── SECTION COMMON ── */
section { padding: var(--section-pad); }

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--gray-900);
  margin-bottom: 20px;
}
.section-title em {
  font-style: normal;
  color: var(--orange);
}

.section-sub {
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.7;
  max-width: 560px;
}

.section-header {
  text-align: center;
  margin-bottom: 72px;
}
.section-header .section-sub { margin: 0 auto; }

/* ── PAGE HEADER ── */
.page-header {
  padding: 160px 40px 80px;
  background: var(--gray-900);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-header .bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.page-header-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 30% 40%, rgba(3,105,161,.3) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 80% 20%, rgba(253,104,13,.15) 0%, transparent 50%);
  pointer-events: none;
}
.page-header .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(253,104,13,.12);
  border: 1px solid rgba(253,104,13,.3);
  border-radius: 100px;
  padding: 6px 16px;
  color: var(--orange-light);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.page-header .eyebrow .eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
  animation: pulse 2s infinite;
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: white;
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 2;
}
.page-header h1 em {
  font-style: normal;
  color: var(--orange);
}
.page-header p {
  color: rgba(255,255,255,.6);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* ── HERO (Landing) ── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding-top: 80px;
  background: var(--gray-900);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(3,105,161,.35) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(253,104,13,.18) 0%, transparent 55%);
  pointer-events: none;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 64px 80px 80px;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(253,104,13,.12);
  border: 1px solid rgba(253,104,13,.3);
  border-radius: 100px;
  padding: 6px 16px;
  color: var(--orange-light);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 32px;
  width: fit-content;
  animation: fadeUp .6s ease both;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
  animation: pulse 2s infinite;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 24px;
  animation: fadeUp .6s .1s ease both;
}
.hero h1 em {
  font-style: normal;
  color: var(--orange);
}
.hero h1 span {
  color: var(--orange);
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.6);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 40px;
  animation: fadeUp .6s .2s ease both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp .6s .3s ease both;
}

.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 80px 80px 32px;
  position: relative;
  z-index: 2;
  animation: fadeUp .6s .4s ease both;
}

/* ── DASHBOARD MOCKUP ── */
.dashboard-mockup {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  padding: 24px;
  width: 100%;
  max-width: 500px;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-dark);
}

.mockup-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
}
.mockup-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.mockup-dot:nth-child(1) { background: #FF5F57; }
.mockup-dot:nth-child(2) { background: #FFBD2E; }
.mockup-dot:nth-child(3) { background: #28CA41; }

.mockup-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
}
.mockup-tab {
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.5);
  font-size: 11px;
  padding: 6px 14px;
  border-radius: 6px;
}
.mockup-tab.active {
  background: var(--blue);
  color: white;
}

.mockup-kpis {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}
.mockup-kpi {
  background: rgba(255,255,255,.06);
  border-radius: 10px;
  padding: 12px;
}
.mockup-kpi-label {
  font-size: 10px;
  color: rgba(255,255,255,.4);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.mockup-kpi-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: white;
}
.mockup-kpi-value.green { color: #4ADE80; }
.mockup-kpi-value.red { color: #F87171; }
.mockup-kpi-delta {
  font-size: 10px;
  color: rgba(255,255,255,.3);
  margin-top: 2px;
}

.mockup-chart {
  background: rgba(255,255,255,.04);
  border-radius: 10px;
  padding: 16px;
  height: 120px;
  position: relative;
  overflow: hidden;
}
.mockup-chart-label {
  font-size: 10px;
  color: rgba(255,255,255,.4);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 70px;
}
.chart-bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  transition: opacity .2s;
}
.chart-bar:hover { opacity: .8; }

/* ── CARDS SYSTEM ── */
.card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--gray-200);
  transition: transform .3s, box-shadow .3s;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}
.card-icon.blue {
  background: rgba(3,105,161,.1);
  color: var(--blue);
}
.card-icon.orange {
  background: rgba(253,104,13,.1);
  color: var(--orange);
}
.card-icon.dark {
  background: var(--blue);
  color: white;
  box-shadow: 0 8px 24px rgba(3,105,161,.3);
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--gray-900);
}
.card p {
  font-size: .95rem;
  color: var(--gray-600);
  line-height: 1.65;
}

/* ── GRID LAYOUTS ── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ── PAIN SECTION ── */
.pain {
  background: var(--off-white);
  padding: var(--section-pad);
}
.pain-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.pain-inner .section-sub { margin: 0 auto 64px; }

.pain-card {
  background: white;
  border-radius: 16px;
  padding: 36px 28px;
  text-align: left;
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.pain-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
}
.pain-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.pain-icon {
  width: 48px; height: 48px;
  background: rgba(253,104,13,.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 22px;
}
.pain-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--gray-900);
}
.pain-card p {
  font-size: .95rem;
  color: var(--gray-600);
  line-height: 1.65;
}
.pain-footer {
  margin-top: 48px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gray-900);
}
.pain-footer em {
  font-style: italic;
  color: var(--orange);
}

/* ── SOLUTION SECTION ── */
.solution-card {
  background: linear-gradient(145deg, #F0F9FF, #E0F2FE);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
  border: 1px solid rgba(3,105,161,.12);
  transition: transform .3s, box-shadow .3s;
}
.solution-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.sol-number {
  position: absolute;
  top: -14px; right: 28px;
  width: 28px; height: 28px;
  background: var(--blue);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12px;
}
.sol-icon {
  width: 52px; height: 52px;
  background: var(--blue);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(3,105,161,.3);
}
.solution-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
}
.solution-card p {
  font-size: .95rem;
  color: var(--gray-600);
  line-height: 1.65;
}

/* ── RESULT BAR ── */
.result-bar {
  background: var(--gray-900);
  border-radius: var(--radius-lg);
  padding: 48px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 40px;
}
.result-bar h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: white;
  margin-bottom: 8px;
}
.result-bar p {
  color: rgba(255,255,255,.55);
  font-size: .95rem;
  line-height: 1.6;
}
.result-highlight { color: var(--orange); }

/* ── VALUE SECTION ── */
.value {
  background: var(--gray-900);
  padding: var(--section-pad);
  position: relative;
  overflow: hidden;
}
.value::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(3,105,161,.2), transparent 70%);
  pointer-events: none;
}
.value-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.value-header {
  text-align: center;
  margin-bottom: 72px;
}
.value-header .section-title { color: white; }
.value-header .section-sub { color: rgba(255,255,255,.5); margin: 0 auto; }
.value-header .section-label { color: var(--blue-light); }

.pillar {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 32px;
  align-items: start;
  padding: 40px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.pillar:last-child { border-bottom: none; }
.pillar-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(255,255,255,.08);
  line-height: 1;
}
.pillar-content h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
}
.pillar-content p {
  font-size: .95rem;
  color: rgba(255,255,255,.5);
  line-height: 1.7;
  max-width: 600px;
}
.pillar-stat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(253,104,13,.15);
  border: 1px solid rgba(253,104,13,.25);
  border-radius: 100px;
  padding: 5px 14px;
  color: var(--orange-light);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
}

/* ── AREAS / FEATURE BLOCKS ── */
.area-block {
  background: white;
  border-radius: var(--radius-xl);
  padding: 48px;
  margin-bottom: 24px;
  border: 1px solid var(--gray-200);
  transition: box-shadow .3s;
}
.area-block:hover { box-shadow: var(--shadow-md); }

.area-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
}
.area-badge {
  background: var(--blue);
  color: white;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 6px;
}
.area-badge.finance { background: #0891B2; }
.area-badge.ai { background: #7C3AED; }
.area-badge.orange { background: var(--orange); }
.area-header h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--gray-900);
}

.area-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.area-feature {
  background: var(--gray-100);
  border-radius: var(--radius-md);
  padding: 24px 20px;
}
.area-feature-title {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.area-feature-title.finance { color: #0891B2; }
.area-feature-title.ai { color: #7C3AED; }
.area-feature-title.orange { color: var(--orange); }
.area-feature p {
  font-size: .88rem;
  color: var(--gray-600);
  line-height: 1.6;
}
.area-result {
  background: linear-gradient(145deg, var(--blue), var(--blue-light));
  border-radius: var(--radius-md);
  padding: 24px 20px;
  color: white;
}
.area-result.finance { background: linear-gradient(145deg, #0891B2, #06B6D4); }
.area-result.ai { background: linear-gradient(145deg, #7C3AED, #A855F7); }
.area-result.orange { background: linear-gradient(145deg, var(--orange), var(--orange-light)); }
.area-result .area-feature-title { color: rgba(255,255,255,.7); }
.area-result p { color: rgba(255,255,255,.85); }

/* ── PRICING ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
}

.price-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 40px 28px;
  border: 1px solid var(--gray-200);
  position: relative;
  transition: transform .3s, box-shadow .3s;
}
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.price-card.featured {
  border: 2px solid var(--blue);
  box-shadow: var(--shadow-md);
  transform: scale(1.03);
}
.price-card.featured:hover {
  transform: scale(1.03) translateY(-4px);
}
.price-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: white;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
}
.price-tier {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 6px;
}
.price-tier-desc {
  font-size: .88rem;
  color: var(--gray-600);
  margin-bottom: 20px;
  line-height: 1.5;
}
.price-amount {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 24px;
}
.price-amount .period {
  font-size: .9rem;
  font-weight: 500;
  color: var(--gray-400);
}
.price-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.price-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .88rem;
  color: var(--gray-600);
  line-height: 1.5;
}
.price-feature-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue-light);
  margin-top: 6px;
  flex-shrink: 0;
}

/* ── DESIGN SECTION ── */
.design-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.design-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.design-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--off-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  transition: border-color .2s;
}
.design-card:hover { border-color: var(--blue); }
.design-card-icon {
  width: 40px; height: 40px;
  background: rgba(3,105,161,.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.design-card-text h4 {
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
}
.design-card-text p {
  font-size: .87rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ── UI MOCKUP (dark panel) ── */
.ui-panel {
  background: var(--gray-900);
  border-radius: var(--radius-xl);
  padding: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-dark);
}
.ui-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(3,105,161,.3), transparent 60%);
  pointer-events: none;
}
.ui-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}
.ui-tag {
  background: rgba(14,165,233,.15);
  color: var(--blue-light);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(14,165,233,.2);
}
.ui-tag.green {
  background: rgba(74,222,128,.1);
  color: #4ADE80;
  border-color: rgba(74,222,128,.2);
}
.ebitda-chart {
  background: rgba(255,255,255,.04);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}
.ebitda-label {
  font-size: 11px;
  color: rgba(255,255,255,.35);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 12px;
}
.ebitda-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: white;
  margin-bottom: 4px;
}
.ebitda-delta {
  font-size: 12px;
  color: #4ADE80;
  margin-bottom: 16px;
}
.mini-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 48px;
}
.mini-bar {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: rgba(255,255,255,.1);
}
.mini-bar.active { background: var(--blue-light); }
.mini-bar.accent { background: var(--orange); }
.ui-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  position: relative;
  z-index: 2;
}
.ui-metric {
  background: rgba(255,255,255,.05);
  border-radius: 10px;
  padding: 14px;
}
.ui-metric-label {
  font-size: 10px;
  color: rgba(255,255,255,.35);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 6px;
}
.ui-metric-value {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
}
.ui-metric-value.orange { color: var(--orange); }
.ui-metric-value.green { color: #4ADE80; }

/* ── CTA SECTION ── */
.cta-section {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 50%, #0284C7 100%);
  padding: 120px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px;
}
.cta-section::after {
  content: '';
  position: absolute;
  bottom: -100px; right: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(253,104,13,.15);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
}
.cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: white;
  line-height: 1.15;
  margin-bottom: 20px;
}
.cta-inner p {
  color: rgba(255,255,255,.65);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 40px;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── CONTACT FORM ── */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-family: var(--font-display);
  font-size: .85rem;
  font-weight: 600;
  color: var(--gray-700);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--gray-900);
  background: var(--off-white);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(3,105,161,.1);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ── FOOTER ── */
footer {
  background: var(--gray-900);
  padding: 60px 80px 40px;
  border-top: 1px solid rgba(255,255,255,.07);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-brand .nav-logo-text {
  margin-bottom: 12px;
}
.footer-text {
  font-size: .88rem;
  color: rgba(255,255,255,.4);
  line-height: 1.6;
}
.footer-cols {
  display: flex;
  gap: 56px;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 700;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: .88rem;
  color: rgba(255,255,255,.4);
  margin-bottom: 10px;
  transition: color .2s;
}
.footer-col a:hover { color: white; }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  font-size: .82rem;
  color: rgba(255,255,255,.25);
}

/* ── TABS (Control Center) ── */
.tabs {
  display: flex;
  gap: 4px;
  background: var(--gray-100);
  border-radius: 10px;
  padding: 4px;
  overflow-x: auto;
  margin-bottom: 40px;
}
.tab {
  padding: 10px 20px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: .85rem;
  font-weight: 600;
  color: var(--gray-600);
  cursor: pointer;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.tab:hover { background: rgba(3,105,161,.06); color: var(--blue); }
.tab.active { background: var(--blue); color: white; }

.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
  animation: fadeUp .4s ease;
}

/* ── INTEGRATION LOGOS ── */
.integration-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.integration-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  transition: transform .3s, box-shadow .3s;
}
.integration-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.integration-card .icon {
  font-size: 36px;
  margin-bottom: 16px;
}
.integration-card h4 {
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}
.integration-card p {
  font-size: .82rem;
  color: var(--gray-600);
  line-height: 1.5;
}

/* ── TARGET PERSONAS ── */
.persona-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.persona-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 48px 36px;
  border: 1px solid var(--gray-200);
  transition: transform .3s, box-shadow .3s;
  position: relative;
  overflow: hidden;
}
.persona-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: linear-gradient(to bottom, var(--blue), var(--blue-light));
}
.persona-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.persona-icon {
  font-size: 40px;
  margin-bottom: 20px;
}
.persona-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 12px;
}
.persona-card p {
  font-size: .95rem;
  color: var(--gray-600);
  line-height: 1.7;
}
.persona-features {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.persona-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  color: var(--gray-700);
}
.persona-feature::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue-light);
  flex-shrink: 0;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  nav { padding: 16px 32px; }
  section { padding: 80px 40px; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: 64px 40px 40px; }
  .hero-right { padding: 0 40px 64px; }
  .dashboard-mockup { max-width: 100%; }
  .area-features { grid-template-columns: 1fr 1fr; }
  .area-result { grid-column: auto; }
  .design-inner { grid-template-columns: 1fr; gap: 48px; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  footer { padding: 40px; }
}

@media (max-width: 768px) {
  nav { padding: 12px 16px; }
  .nav-links { display: none; }
  .nav-mobile-toggle { display: block; }
  .nav-center { gap: 10px; }

  /* Logo più piccolo su mobile */
  .nav-logo img { max-height: 30px !important; }
  .nav-logo-text { font-size: 18px; }

  /* CTA header più piccolo su mobile */
  .nav-cta {
    padding: 7px 14px;
    font-size: 12px;
    border-radius: 6px;
  }

  /* Mobile menu */
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: white;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: 0 8px 32px rgba(0,0,0,.1);
  }

  .hero-left { padding: 48px 20px 32px; }
  .hero-right { padding: 0 20px 48px; }

  /* Padding sezioni ridotto (sovrascrive inline 40px) */
  section,
  section[style] {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr !important; }
  .pricing-grid { grid-template-columns: 1fr; }
  .persona-grid { grid-template-columns: 1fr; }
  .area-features { grid-template-columns: 1fr; }
  .design-inner { grid-template-columns: 1fr !important; gap: 40px; }
  .result-bar { flex-direction: column; text-align: center; padding: 32px 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-cols { flex-direction: column; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .ui-panel { display: none; }
  .price-card.featured { transform: none; }
  .price-card.featured:hover { transform: translateY(-4px); }

  /* Titoli e testi non sforano */
  .section-title, .hero h1, .page-header h1, .cta-inner h2 {
    word-break: break-word;
    overflow-wrap: break-word;
  }

  /* Area block padding ridotto */
  .area-block { padding: 28px 20px; }

  /* Card padding ridotto */
  .card { padding: 28px 20px; }
}
