/* --- Brand Colors --- */
:root {
  --brand-main: #0077cc;
  --brand-dark: #005fa3;
  --brand-accent: #006b4f;
  --brand-bg: #e6f4ef;
  --brand-form-bg: #f0f8ff;
  --brand-form-border: #0077cc;
  --brand-form-shadow: 0 6px 24px rgba(0,119,204,0.07);
}

/* --- Header --- */
.main-header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  padding: 0;
  position: relative;
  z-index: 100;
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 86px;
  position: relative;
}

/* Logo base */
.header-logo {
  height: 110px;
  max-width: 240px;
  width: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}
@media (max-width: 800px) {
  .header-logo {
    height: 90px;
    max-width: 250px;
    width: auto;
    margin: 0 auto 8px auto;
    display: block;
  }
}
@media (max-width: 600px) {
  .header-logo {
    height: 72px;
    max-width: 250px;
    width: auto;
    margin: 0 auto 8px auto;
    display: block;
  }
}

.header-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0;
  box-shadow: none;
  max-width: none;
  margin-bottom: 0;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  margin-right: 0;
  z-index: 101;
}
.hamburger span {
  display: block;
  width: 28px;
  height: 4px;
  margin: 4px auto;
  background: #0070ba;
  border-radius: 2px;
  transition: all 0.3s;
}

@media (max-width: 800px) {
  .header-container {
    flex-direction: column;
    height: 120px; /* oppure prova 110px o 130px in base al logo */
    padding: 12px 8px 8px 8px;
    align-items: center;
    position: relative;
  }
  .hamburger {
    display: flex;
    position: absolute;
    top: 50%;
    right: 18px;
    transform: translateY(-50%);
    z-index: 101;
  }
}

/* Menu */
.header-menu {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  gap: 32px;
  margin-left: 32px;
  align-items: center;
  position: relative;
}
.header-menu a {
  color: #0070ba;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.08em;
  transition: color 0.2s;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.header-menu a:hover {
  color: #005b96;
}

/* CTA */
.header-cta-btn {
  margin-left: 32px;
  background: #0070ba;
  color: #fff !important;
  padding: 10px 28px;
  border-radius: 24px;
  font-weight: 700;
  font-size: 1.08em;
  text-decoration: none;
  transition: background 0.2s;
  display: inline-block;
}
.header-cta-btn:hover {
  background: #005b96;
}

@media (max-width: 800px) {
  .header-cta-btn {
    margin: 16px auto 0 auto;
    width: 90%;
    max-width: 320px;
    font-size: 1.08em;
    padding: 14px 0;
    display: block;
    text-align: center;
  }
}

/* Version badge */
.menu-version-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-right: 0;
}
.menu-badge-new {
  position: static;
  background: #ff3b3b;
  color: #fff;
  font-size: 0.68em;
  font-weight: 700;
  border-radius: 8px;
  padding: 2px 8px;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.1;
  box-shadow: 0 1px 4px rgba(0,0,0,0.10);
  pointer-events: none;
  border: 2px solid #fff;
  font-family: inherit;
  transition: background 0.2s;
  margin-left: 0;
  margin-top: 0;
  vertical-align: middle;
}
.menu-version-link:hover .menu-badge-new {
  background: #d32f2f;
}

/* --- Responsive Header --- */
@media (max-width: 800px) {
  .header-container {
    flex-direction: column;
    height: auto;
    padding: 12px 8px 8px 8px;
    align-items: center;
    position: relative;
  }

  .header-menu {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin: 16px 0 0 0;
    width: 100%;
    background: #fff;
    position: absolute;
    top: 70px;
    left: 0;
    z-index: 1000;
    box-shadow: 0 8px 24px rgba(0,0,0,0.07);
    padding-bottom: 18px;
    border-radius: 0 0 18px 18px;
  }
  header-menu.open {
    display: flex !important;
  }
  .header-menu a {
    font-size: 1.12em;
    padding: 12px 0;
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .header-cta-btn {
    margin: 16px 0 0 0;
    width: 90%;
    max-width: 320px;
    font-size: 1.08em;
    padding: 14px 0;
    display: block;
    text-align: center;
  }
}


/* --- Body & Container --- */
body {
  font-family: 'Inter', sans-serif;
  background: #f9fbfd;
  color: #2c3e50;
  margin: 0;
  padding: 0;
}


.container {
  max-width: 960px;
  margin: auto;
  padding: 40px 20px;
}


/* --- How It Works - Perspectives Section --- */
#how-works-perspectives {
  background: #f0f6fb;
  padding: 60px 20px;
  text-align: center;
}

#how-works-perspectives h2 {
  font-size: 28px;
  color: #003366;
  margin-bottom: 40px;
}

#how-works-perspectives .card-grid {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

#how-works-perspectives .card {
  background: #ffffff;
  border-radius: 14px;
  padding: 30px;
  max-width: 300px;
  flex: 1 1 260px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#how-works-perspectives .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

#how-works-perspectives .card i {
  font-size: 34px;
  color: var(--brand-main);
  margin-bottom: 16px;
}

#how-works-perspectives .card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: #003366;
}

#how-works-perspectives .card p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

.section-intro {
  max-width: 720px;
  margin: 0 auto 40px;
  font-size: 16px;
  color: #444;
  line-height: 1.6;
  text-align: center;
}

/* --- Responsive --- */
@media (max-width: 600px) {
  #how-works-perspectives .card-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
  }
  #how-works-perspectives .card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
}

/* =========================
   ANALYZE SECTION MODERNA
   ========================= */
.section.analyze-block {
  background: #fff;
  border-radius: 32px;
  box-shadow: none; /* niente ombra */
  max-width: 900px;
  margin: 48px auto 0 auto;
  padding: 48px 4vw 40px 4vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  border-top: none !important; /* rimuove eventuale bordo superiore */
}

.analyze-content {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.analyze-title-main {
  font-size: 2.1rem;
  font-weight: 900;
  color: #0070ba;
  letter-spacing: -0.5px;
  display: inline;
}

.analyze-block h2 {
  font-size: 2.1rem;
  font-weight: 900;
  color: #0070ba;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
  text-align: center;
}

.analyze-description {
  font-size: 1.22em;
  color: #222;
  margin-bottom: 32px;
  font-weight: 500;
  text-align: center;
  max-width: 600px;
  line-height: 1.5;
}
.analyze-description strong {
  color: #0070ba;
  font-weight: 800;
}

.analyze-features {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.analyze-features .feature {
  flex: 1 1 200px;
  max-width: 240px;
  text-align: center;
}

.analyze-features .feature i {
  font-size: 2.1em;
  color: #00c6a7;
  margin-bottom: 10px;
  transition: transform 0.3s ease;
}

.analyze-features .feature:hover i {
  transform: scale(1.15);
}

.feature-title {
  font-size: 1.08em;
  color: #0070ba;
  font-weight: 800;
  letter-spacing: -0.2px;
}

.feature-desc {
  font-size: 1em;
  color: #222;
  font-weight: 500;
  line-height: 1.4;
}
.feature-desc strong {
  color: #00c6a7;
  font-weight: 700;
}

/* ===== Responsive Analyze Section ===== */
@media (max-width: 900px) {
  .section.analyze-block {
    max-width: 98vw;
    padding: 32px 2vw 24px 2vw;
    min-height: 320px;
  }
  .analyze-content {
    max-width: 98vw;
  }
  .analyze-title-main,
  .analyze-block h2 {
    font-size: 1.4em;
  }
  .analyze-description {
    font-size: 1.08em;
    margin-bottom: 18px;
  }
  .analyze-features {
    gap: 18px;
    margin-top: 24px;
  }
}

@media (max-width: 600px) {
  .section.analyze-block {
    padding: 18px 1vw 10px 1vw;
    margin: 18px auto 0 auto;
    border-radius: 16px;
    min-height: 0;
  }
  .analyze-content {
    padding: 0;
    min-width: 0;
  }
  .analyze-title-main,
  .analyze-block h2 {
    font-size: 1.1em;
    margin-bottom: 10px;
  }
  .analyze-description {
    font-size: 1em;
    margin-bottom: 12px;
  }
  .analyze-features {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 6px;
  }
  .analyze-features .feature {
    max-width: 98vw;
  }
}

/* --- Input Section --- */
.centered-input {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.centered-input input[type="url"] {
  padding: 14px 20px;
  border: 1.5px solid var(--brand-main);
  border-radius: 30px;
  width: 60%;
  max-width: 500px;
  font-size: 16px;
  box-shadow: 0 2px 6px rgba(0,119,204,0.05);
}

.centered-input button {
  padding: 14px 24px;
  background: var(--brand-main);
  color: white;
  border: none;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.centered-input button:hover {
  background: var(--brand-dark);
}

/* --- Extra Form Styling (Brand) --- */
.extra-form {
  margin: 0 auto 32px auto;
  padding: 36px 28px 28px 28px;
  background: var(--brand-form-bg);
  border: 2.5px solid var(--brand-form-border);
  border-radius: 22px;
  box-shadow: var(--brand-form-shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  max-width: 700px;
}

.extra-inputs {
  display: flex;
  flex-direction: row;
  gap: 16px;
  width: 100%;
  justify-content: center;
  margin-bottom: 8px;
}

.extra-inputs input {
  padding: 14px 18px;
  border: 1.5px solid var(--brand-main);
  border-radius: 30px;
  font-size: 16px;
  width: 210px;
  box-sizing: border-box;
  background: #fff;
  color: #003366;
  transition: border 0.2s;
}

.extra-inputs input:focus {
  border-color: var(--brand-dark);
  outline: none;
}

.goals-group {
  width: 100%;
  text-align: center;
}

.goals-group label {
  font-size: 16px;
  color: var(--brand-main);
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}

.goals-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 8px;
}

.goal-btn {
  background: #f0f4f8;
  color: #003366;
  border: 1.5px solid var(--brand-main);
  border-radius: 22px;
  padding: 10px 20px;
  font-size: 15px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.2s, color 0.2s, border 0.2s;
  min-width: 180px;
}

.goal-btn.selected {
  background: var(--brand-main);
  color: #fff;
  border-color: var(--brand-main);
}

@media (max-width: 900px) {
  .extra-form {
    padding: 24px 8px 18px 8px;
    max-width: 98vw;
  }
  .extra-inputs {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }
  .extra-inputs input {
    width: 98vw;
    max-width: 340px;
  }
  .goal-btn {
    min-width: 120px;
    font-size: 14px;
    padding: 8px 10px;
  }
}


#urlInput,
.centered-input input[type="text"] {
  padding: 12px 18px;
  border-radius: 24px;
  border: 2px solid #e0e7ef;
  font-size: 1.08em;
  width: 340px;
  max-width: 90vw;
  transition: border-color 0.2s;
  outline: none;
  background: #fff;
  color: #222;
  box-sizing: border-box;
  font-weight: 500;
  box-shadow: 0 2px 12px rgba(0,119,204,0.07);
}

#urlInput:focus,
.centered-input input[type="text"]:focus {
  border-color: #0070ba;
  background: #f0f8ff;
}

.analyze-btn,
.centered-input button {
  padding: 12px 28px;
  border-radius: 24px;
  background: linear-gradient(90deg, #0070ba 60%, #00c6a7 100%);
  color: #fff;
  font-weight: 700;
  font-size: 1.08em;
  border: none;
  box-shadow: 0 4px 16px rgba(0,112,186,0.13);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.2px;
}

.analyze-btn i,
.centered-input button i {
  font-size: 1.1em;
  margin-right: 4px;
}

.analyze-btn:hover,
.centered-input button:hover {
  background: linear-gradient(90deg, #005fa3 60%, #009e7a 100%);
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 8px 24px rgba(0,112,186,0.18);
}

@media (max-width: 600px) {
  .analyze-block {
    padding: 36px 4vw;
  }
  .centered-input {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
  }
  #urlInput,
  .centered-input input[type="text"] {
    width: 98vw;
    max-width: 99vw;
    font-size: 1em;
    padding: 12px 12px;
  }
  .analyze-btn,
  .centered-input button {
    width: 100%;
    font-size: 1em;
    padding: 12px 0;
    justify-content: center;
  }
}

/* =========================
   WHO IS THIS FOR SECTION
   ========================= */
.who-is-this-for-block {
  background: #fff;
  border-radius: 32px;
  box-shadow: none;
  max-width: 1100px;
  margin: 48px auto 0 auto;
  padding: 48px 4vw 40px 4vw;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.who-content {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.who-title-main {
  font-size: 2.1rem;
  font-weight: 900;
  color: #0070ba;
  letter-spacing: -0.5px;
}

.who-is-this-for-block h2 {
  font-size: 2.1rem;
  font-weight: 900;
  color: #0070ba;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
  text-align: center;
}

.card-grid {
  display: flex;
  gap: 32px;
  flex-wrap: nowrap; /* sempre sulla stessa riga */
  justify-content: center;
  margin-bottom: 0;
  width: 100%;
  overflow-x: auto;
}

.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(0,119,204,0.07);
  padding: 28px 22px;
  max-width: 320px;
  min-width: 280px;
  flex: 0 0 320px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card i {
  font-size: 2em;
  color: #0070ba;
  margin-bottom: 10px;
}

.card h3 {
  font-size: 1.18em;
  font-weight: 700;
  margin-bottom: 12px;
  color: #003366;
}

.benefits-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px 0;
  text-align: left;
  font-size: 1em;
}
.benefits-list li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 20px;
}
.benefits-list li:before {
  content: "•";
  color: #00c6a7;
  position: absolute;
  left: 0;
  font-size: 1.2em;
  line-height: 1;
}

.who-cta-btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 1em;
  font-weight: 800;
  border-radius: 32px;
  background: linear-gradient(90deg,#0070ba 60%,#00c6a7 100%);
  color: #fff;
  box-shadow: 0 6px 32px rgba(0,112,186,0.13);
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: background 0.2s, transform 0.15s;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.who-cta-btn i {
  margin: 0;
  font-size: 1.1em;
}
.who-cta-btn:hover {
  background: linear-gradient(90deg,#005fa3 60%,#009e7a 100%);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 10px 32px rgba(0,112,186,0.18);
}

/* Responsive: scroll or stack on mobile */
@media (max-width: 900px) {
  .who-is-this-for-block {
    max-width: 98vw;
    padding: 32px 2vw 24px 2vw;
  }
  .who-content {
    max-width: 98vw;
  }
  .who-title-main,
  .who-is-this-for-block h2 {
    font-size: 1.4em;
  }
  .card-grid {
    gap: 18px;
  }
}

@media (max-width: 700px) {
  .card-grid {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    gap: 14px;
    margin-bottom: 0;
    padding-bottom: 8px;
  }
  .card {
    min-width: 260px;
    max-width: 90vw;
    flex: 0 0 80vw;
  }
}

@media (max-width: 600px) {
  .who-is-this-for-block {
    padding: 18px 1vw 10px 1vw;
    margin: 18px auto 0 auto;
    border-radius: 16px;
  }
  .who-content {
    padding: 0;
    min-width: 0;
  }
  .who-title-main,
  .who-is-this-for-block h2 {
    font-size: 1.1em;
    margin-bottom: 10px;
  }
}

/* --- Monitor Loader --- */
.analyzing-illustration {
  display: flex;
  justify-content: center;
  padding: 40px 0;
}

.monitor {
  width: 180px;
  height: 140px;
  background: #222;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.screen {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bar {
  height: 12px;
  border-radius: 8px;
  background: #1abc9c;
  animation: loading 1.2s infinite ease-in-out;
}

.bar1 { width: 60%; animation-delay: 0s; }
.bar2 { width: 80%; animation-delay: 0.2s; }
.bar3 { width: 40%; animation-delay: 0.4s; }

@keyframes loading {
  0%, 100% { transform: scaleX(1); opacity: 1; }
  50% { transform: scaleX(1.2); opacity: 0.7; }
}

/* --- Scoring Preview --- */
.scoring-preview {
  text-align: center;
  margin: 60px auto 80px;
  padding: 40px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(0,0,0,0.05);
}

/* --- Score Meter --- */
.score-meter {
  width: 160px;
  height: 160px;
  border: 8px solid #e74c3c;
  border-radius: 50%;
  margin: 20px auto;
  font-size: 42px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #2c3e50;
  transition: all 0.5s ease;
}

.score-meter[data-score="low"] {
  border-color: #e74c3c;
  color: #e74c3c;
}
.score-meter[data-score="medium"] {
  border-color: #f1c40f;
  color: #f1c40f;
}
.score-meter[data-score="high"] {
  border-color: #2ecc71;
  color: #2ecc71;
}

/* --- Score Buttons --- */
.score-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.score-buttons button {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  background: #f1f5f9;
  color: var(--brand-main);
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}
.score-buttons button:hover {
  background: var(--brand-main);
  color: #fff;
}

/* --- Score Legend --- */
.score-legend {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 14px;
  margin-top: 16px;
}

.score-legend span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.score-legend i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
}

.score-legend .low i { background: #e74c3c; }
.score-legend .medium i { background: #f1c40f; }
.score-legend .high i { background: #2ecc71; }

.score-explanation {
  max-width: 540px;
  margin: 20px auto 0;
  font-size: 15px;
  color: #444;
  line-height: 1.6;
}

#scoreDetails {
  max-width: 640px;
  margin: 16px auto 0;
  color: #2c3e50;
  font-size: 14.5px;
}

/* --- Tab/Section Layout --- */
.section {
  padding: 60px 20px;
  border-top: 1px solid #eee;
}

.section:nth-child(odd) {
  background: #ffffff;
}

.section:nth-child(even) {
  background: #f5faff;
}

.section h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 26px;
  color: #003366;
}

/* --- Card Grid --- */
.card-grid {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

/* --- Base Card Style --- */
.card {
  border-radius: 14px;
  padding: 30px;
  max-width: 300px;
  flex: 1 1 260px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

/* --- Card Variants --- */
.section.target .card {
  background: #e8f5fc;
}
.section.how-works .card {
  background: #fdf4e8;
}

/* --- Card Hover Effects --- */
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

.card i {
  font-size: 30px;
  margin-bottom: 16px;
  color: var(--brand-main);
  transition: transform 0.3s ease;
}

.card:hover i {
  transform: scale(1.2) rotate(5deg);
}

.card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #003366;
}

.card p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

/* --- Score Tab --- */
.score-tab.highlighted-tab {
  margin-top: 24px;
  padding: 24px;
  background: #f0f8ff;
  border-left: 5px solid var(--brand-main);
  border-radius: 10px;
  font-size: 15px;
  color: #2c3e50;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.score-tab.highlighted-tab h4 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 18px;
  color: #003366;
}

.score-tab.highlighted-tab .cta-link {
  display: inline-block;
  margin-top: 12px;
  font-weight: bold;
  color: var(--brand-main);
  text-decoration: none;
  transition: all 0.3s ease;
}

.score-tab.highlighted-tab .cta-link:hover {
  color: var(--brand-dark);
  text-decoration: underline;
}

/* --- Report Example Section --- */
#report-example {
  background: #f9fbfd;
  padding: 60px 0;
  border-top: 1px solid #eee;
}

#report-example .container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

#report-example h2 {
  text-align: center;
  font-size: 28px;
  color: #003366;
  margin-bottom: 40px;
}

.report-preview {
  background: #ffffff;
  padding: 40px;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
}

.report-intro {
  font-size: 15px;
  color: #444;
  line-height: 1.6;
  margin-bottom: 30px;
  text-align: center;
}

.report-preview h3 {
  font-size: 20px;
  color: var(--brand-dark);
  margin-bottom: 24px;
  text-align: center;
}

.report-section {
  margin-bottom: 30px;
}

.report-section h4 {
  font-size: 18px;
  color: var(--brand-main);
  margin-bottom: 12px;
  border-left: 4px solid var(--brand-main);
  padding-left: 10px;
}

.report-section ul {
  padding-left: 20px;
  margin: 0;
}

.report-section li {
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.6;
  color: #333;
}

.report-section li em {
  color: var(--brand-main);
  font-style: normal;
}

.report-score {
  margin-top: 40px;
  padding: 20px;
  border-radius: 10px;
  background: #e9f5ff;
  text-align: center;
  border-left: 5px solid var(--brand-main);
}

.report-score .score-number {
  font-size: 22px;
  color: #2c3e50;
}

.report-score .score-note {
  margin-top: 8px;
  font-size: 14px;
  color: #444;
}

/* --- Responsive --- */
@media (max-width: 600px) {
  #report-example {
    padding: 24px 0;
  }
  #report-example .container {
    padding: 0 4vw;
  }
  .report-preview {
    padding: 14px 4vw;
    border-radius: 10px;
  }
  .report-section {
    padding: 16px 6px 10px 6px;
    border-radius: 10px;
    max-width: 99vw;
  }
  .accordion-element-toggle {
    padding: 10px 8px;
    font-size: 1em;
  }
  .accordion-element-content {
    padding: 0 8px 10px 18px;
  }
  .final-summary-section {
    padding: 18px 0 14px 0;
    border-radius: 10px;
    max-width: 99vw;
  }
}

@media (max-width: 600px) {
  .category-summary {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  .category-score-badge,
  .category-time-badge {
    margin-right: 0;
    margin-bottom: 4px;
    width: 100%;
    text-align: left;
  }
}
.report-summary-outer {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.report-summary {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  background: none;
  box-shadow: none;
  border: none;
  padding: 0;
  margin: 0;
}
.report-summary-row {
  display: flex;
  gap: 24px;
}

@media (max-width: 600px) {
  .report-summary-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    width: 100%;
    box-sizing: border-box;
  }
  .report-summary-badge {
    width: 100%;
    text-align: left;
    margin-right: 0;
    margin-bottom: 4px;
    word-break: break-word;
    box-sizing: border-box;
    max-width: 100%;
  }
}
/* =========================
   HOW IT WORKS - STEPS LAYOUT
   ========================= */
.how-it-works-block {
  background: #fff;
  border-radius: 32px;
  box-shadow: none;
  max-width: 900px;
  margin: 48px auto 0 auto;
  padding: 48px 4vw 40px 4vw;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.how-content {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.how-title-main {
  font-size: 2.1rem;
  font-weight: 900;
  color: #0070ba;
  letter-spacing: -0.5px;
}

.how-it-works-block h2 {
  font-size: 2.1rem;
  font-weight: 900;
  color: #0070ba;
  margin-bottom: 32px;
  letter-spacing: -0.5px;
  text-align: center;
}

.how-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 36px 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.how-steps li {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.how-step-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00c6a7 60%, #0070ba 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,112,186,0.09);
}

.how-step-content h3 {
  font-size: 1.18em;
  font-weight: 800;
  margin: 0 0 6px 0;
  color: #003366;
}
.how-step-content p {
  font-size: 1em;
  color: #222;
  margin: 0;
  line-height: 1.5;
}

.how-cta-row {
  display: flex;
  gap: 32px;
  margin-top: 32px;
  width: 100%;
  flex-wrap: wrap;
  justify-content: center;
}
.how-cta-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 220px;
  max-width: 340px;
  flex: 1 1 220px;
}

.how-cta-btn {
  display: inline-block;
  padding: 16px 36px;
  font-size: 1.08em;
  font-weight: 800;
  border-radius: 32px;
  background: linear-gradient(90deg,#0070ba 60%,#00c6a7 100%);
  color: #fff;
  box-shadow: 0 6px 32px rgba(0,112,186,0.13);
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: background 0.2s, transform 0.15s;
  margin-top: 10px;
  text-align: center;
}
.how-cta-btn.secondary {
  background: linear-gradient(90deg,#00c6a7 60%,#0070ba 100%);
}
.how-cta-btn i {
  margin-left: 10px;
}
.how-cta-btn:hover {
  background: linear-gradient(90deg,#005fa3 60%,#009e7a 100%);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 10px 32px rgba(0,112,186,0.18);
}
.how-cta-btn.secondary:hover {
  background: linear-gradient(90deg,#009e7a 60%,#005fa3 100%);
}

.how-cta-desc {
  font-size: 0.98em;
  color: #0070ba;
  margin-bottom: 6px;
  text-align: center;
}
.how-cta-desc strong {
  color: #003366;
  font-size: 1.08em;
  display: block;
  margin-bottom: 2px;
}

/* Responsive */
@media (max-width: 900px) {
  .how-it-works-block {
    max-width: 98vw;
    padding: 32px 2vw 24px 2vw;
  }
  .how-content {
    max-width: 98vw;
  }
  .how-title-main,
  .how-it-works-block h2 {
    font-size: 1.4em;
  }
  .how-cta-row {
    gap: 18px;
  }
}

@media (max-width: 600px) {
  .how-it-works-block {
    padding: 18px 1vw 10px 1vw;
    margin: 18px auto 0 auto;
    border-radius: 16px;
  }
  .how-content {
    padding: 0;
    min-width: 0;
  }
  .how-title-main,
  .how-it-works-block h2 {
    font-size: 1.1em;
    margin-bottom: 10px;
  }
  .how-steps {
    gap: 18px;
  }
  .how-steps li {
    gap: 12px;
  }
  .how-cta-row {
    flex-direction: column;
    gap: 18px;
    margin-top: 18px;
  }
  .how-cta-col {
    max-width: 98vw;
  }
  .how-cta-btn {
    width: 100%;
    font-size: 1em;
    padding: 12px 0;
  }
}

/* --- Footer Responsive & Logo --- */
.site-footer {
  width: 100%;
  background: #f0f4f8;
  color: #003366;
  font-size: 15px;
  border-top: 2px solid #e0e7ef;
  margin-top: 60px;
  box-shadow: 0 -2px 16px rgba(0,0,0,0.03);
  padding: 0;
}
.footer-inner {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 32px 10px 32px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.footer-logo-social {
  flex: 0 0 23%;
  max-width: 23%;
  align-items: flex-start;
}
.footer-logo {
  height: 64px;
  max-width: 180px;
  margin-bottom: 10px;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0,112,186,0.07));
}
.footer-payoff {
  font-size: 1.08em;
  color: #0070ba;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: 0.2px;
}
.footer-version-ph {
  flex: 0 0 27%;
  max-width: 27%;
  align-items: flex-start;
  text-align: left;
}
.footer-version {
  font-size: 1.08em;
  color: #003366;
  font-weight: 600;
  margin-bottom: 4px;
}
.footer-stay-updated {
  font-size: 0.98em;
  color: #555;
  margin-bottom: 8px;
}
.footer-ph-widget {
  margin-top: 8px;
}
.footer-menu-col {
  flex: 0 0 25%;
  max-width: 25%;
  align-items: flex-start;
}
.footer-legal-col {
  flex: 0 0 25%;
  max-width: 25%;
  align-items: flex-start;
}
.footer-menu span,
.footer-legal-menu span {
  font-weight: 700;
  color: #0070ba;
  margin-bottom: 4px;
  font-size: 1.08em;
}
.footer-menu,
.footer-legal-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
.footer-menu a,
.footer-legal-menu a {
  color: #2c3e50;
  text-decoration: none;
  transition: color 0.2s;
  font-size: 1em;
  font-weight: 500;
}
.footer-menu a:hover,
.footer-legal-menu a:hover {
  color: #0070ba;
  text-decoration: underline;
}

/* Copyright */
.footer-bottom {
  background: #fff;
  border-top: 1.5px solid #e0e7ef;
  padding: 18px 32px 12px 32px;
  font-size: 0.98em;
}
.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 12px;
}
.footer-bottom-social {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-bottom-icon {
  color: #0070ba;
  font-size: 1.35em;
  margin-left: 8px;
  transition: color 0.2s;
}
.footer-bottom-icon:hover {
  color: #005fa3;
}
.footer-bottom-center {
  text-align: center;
  color: #222;
  font-weight: 500;
}
.footer-bottom-dev {
  text-align: right;
}
.footer-bottom-dev a {
  font-weight: 700;
  color: #0070ba;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-bottom-dev a:hover {
  color: #005fa3;
  text-decoration: underline;
}
@media (max-width: 1100px) {
  .footer-inner {
    flex-wrap: wrap;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding: 32px 10px 8px 10px;
  }
  .footer-col,
  .footer-logo-social,
  .footer-version-ph,
  .footer-menu-col,
  .footer-legal-col {
    max-width: 100%;
    flex: 1 1 100%;
    margin-bottom: 18px;
  }
}
@media (max-width: 600px) {
  .footer-logo {
    height: 48px;
    max-width: 90vw;
    margin-bottom: 10px;
  }
  .footer-inner,
  .footer-bottom {
    padding-left: 4vw;
    padding-right: 4vw;
  }
  .footer-bottom-content {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 8px;
  }
  .footer-bottom-social,
  .footer-bottom-center,
  .footer-bottom-dev {
    justify-content: center;
    text-align: center;
  }
}

/* --- Blog Tabs & Cards --- */
.blog-tabs {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
  justify-content: center;
  flex-wrap: wrap;
}
.blog-tab {
  padding: 10px 24px;
  border-radius: 24px;
  background: #f4f8fb;
  color: var(--brand-main);
  font-weight: 600;
  cursor: pointer;
  border: 2px solid #e0e6ed;
  transition: background 0.2s, color 0.2s, border 0.2s;
}
.blog-tab.active, .blog-tab:hover {
  background: var(--brand-main);
  color: #fff;
  border: 2px solid var(--brand-main);
}
.blog-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.blog-post-card.placeholder {
  background: transparent;
  box-shadow: none;
  pointer-events: none;
  visibility: hidden;
}

.blog-post-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
  border: 1px solid #f0f0f0;
}
.blog-post-card:hover {
  box-shadow: 0 4px 24px rgba(0,112,186,0.10);
}
.blog-post-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: #eaf3fa;
}
.blog-post-content {
  padding: 22px 20px 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-meta {
  font-size: 0.98rem;
  color: #888;
  margin-bottom: 8px;
}
.blog-post-title {
  font-size: 1.25rem;
  color: var(--brand-main);
  margin-bottom: 10px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s;
}
.blog-post-title:hover {
  color: var(--brand-dark);
  text-decoration: underline;
}
.blog-post-desc {
  flex: 1;
  color: #222;
  margin-bottom: 14px;
}
.read-more {
  color: var(--brand-main);
  font-weight: 600;
  text-decoration: none;
  margin-top: 8px;
  transition: color 0.2s;
}
.read-more:hover {
  color: var(--brand-dark);
  text-decoration: underline;
}
@media (max-width: 600px) {
  .blog-posts-grid {
    grid-template-columns: 1fr;
  }
  .blog-tabs {
    gap: 8px;
  }
}

/* --- Blog Article Page --- */
.blog-article {
  max-width: 760px;
  margin: 48px auto 48px auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0,119,204,0.06);
  padding: 38px 28px 32px 28px;
  font-size: 1.13rem;
  line-height: 1.75;
  color: #2c3e50;
}

.blog-article header {
  text-align: center;
  margin-bottom: 32px;
}

.blog-article h1 {
  font-size: 2.1rem;
  color: var(--brand-main, #0077cc);
  font-weight: 800;
  margin-bottom: 10px;
  line-height: 1.2;
}

.blog-meta {
  color: #888;
  font-size: 1rem;
  margin-bottom: 18px;
}

.blog-article-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 12px;
  margin: 0 auto 24px auto;
  display: block;
  box-shadow: 0 2px 12px rgba(0,119,204,0.07);
}

.blog-content h2 {
  color: var(--brand-dark, #005fa3);
  font-size: 1.35rem;
  margin-top: 32px;
  margin-bottom: 12px;
  font-weight: 700;
}

.blog-content ul, .blog-content ol {
  margin: 18px 0 18px 28px;
  padding: 0;
}

.blog-content li {
  margin-bottom: 8px;
}

.blog-content blockquote {
  border-left: 4px solid var(--brand-main, #0077cc);
  background: #f4f8fb;
  color: #333;
  margin: 28px 0;
  padding: 18px 24px;
  font-style: italic;
  border-radius: 8px;
  font-size: 1.08rem;
}

.blog-article-footer {
  margin-top: 40px;
  border-top: 1px solid #e6eaf0;
  padding-top: 18px;
  text-align: center;
}

.blog-article-nav a {
  color: var(--brand-main, #0077cc);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.blog-article-nav a:hover {
  color: var(--brand-dark, #005fa3);
  text-decoration: underline;
}

.blog-article-tags {
  margin-top: 18px;
}

.blog-article-tags span {
  display: inline-block;
  background: #e6f4ef;
  color: var(--brand-accent, #006b4f);
  font-size: 0.98rem;
  border-radius: 16px;
  padding: 5px 16px;
  margin: 0 6px 6px 0;
  font-weight: 600;
}

@media (max-width: 900px) {
  .blog-article {
    padding: 24px 8vw 24px 8vw;
  }
}
@media (max-width: 600px) {
  .blog-article {
    padding: 16px 2vw 16px 2vw;
    font-size: 1rem;
  }
  .blog-article-image {
    max-width: 100%;
  }
}

/* Titolo articolo blog su sfondo scuro */
.blog-article header {
  background: var(--brand-main, #0077cc);
  padding: 38px 20px 28px 20px;
  border-radius: 16px 16px 0 0;
  margin-bottom: 32px;
}
.blog-article h1 {
  color: #fff !important;
  text-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
.blog-meta {
  color: #e0eaf0 !important;
}

.report-section {
  background: #fff;
  border-radius: 18px;
  margin-bottom: 32px;
  padding: 28px 24px 18px 24px;
  box-shadow: 0 2px 12px rgba(0,119,204,0.06);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.section-header h4 {
  color: #0077cc;
  font-size: 1.25em;
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}
.category-summary {
  display: flex;
  gap: 18px;
  justify-content: flex-start;
  margin-top: 18px;
}
.category-score-badge, .category-time-badge {
  display: inline-block;
  background: #e6f4ef;
  color: #0077cc;
  border-radius: 12px;
  padding: 6px 16px;
  font-size: 1em;
  font-weight: 700;
  margin-right: 8px;
}
.category-score-badge i, .category-time-badge i {
  margin-right: 6px;
}
.final-summary-section {
  margin-top: 40px;
  margin-bottom: 32px;
  padding: 36px 0 32px 0;
  background: #f8fbfd;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0,119,204,0.13);
  border: 2.5px solid #0077cc;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.report-summary-badge {
  display: inline-block;
  background: #e6f4ef;
  color: #0077cc;
  border-radius: 12px;
  padding: 8px 18px;
  font-size: 1.08em;
  font-weight: 700;
  margin-right: 12px;
}
.report-summary-badge i {
  margin-right: 6px;
}
.score-number {
  font-size: 1.1em;
  font-weight: 900;
  line-height: 1;
}
.score-percent {
  font-size: 0.7em;
  font-weight: 700;
  vertical-align: super;
  margin-left: 2px;
  color: #888;
}

.accordion-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.accordion-item {
  margin-bottom: 12px;
  border-radius: 10px;
  background: #f8fbfd;
  box-shadow: 0 1px 4px rgba(0,119,204,0.04);
}
.accordion-element-toggle {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  font-size: 1.08em;
  font-weight: 700;
  color: #0077cc;
  padding: 14px 18px;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 10px;
  transition: background 0.2s;
}
.accordion-element-toggle[aria-expanded="true"] {
  background: #e6f4ef;
}
.accordion-element-toggle i {
  transition: transform 0.2s;
}
.accordion-element-toggle[aria-expanded="true"] i {
  transform: rotate(180deg);
}
.accordion-element-content {
  display: none;
  padding: 0 18px 14px 38px;
  animation: fadeIn 0.3s;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.v1-announcement-timeline {
  position: relative;
  padding-top: 24px;
}
.v1-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  justify-content: flex-start;
}
.v1-tab {
  background: #f8fbfd;
  color: #0070ba;
  border: none;
  border-radius: 18px 18px 0 0;
  padding: 10px 32px;
  font-size: 1.1em;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  outline: none;
}
.v1-tab.active, .v1-tab:focus {
  background: #0070ba;
  color: #fff;
}
.v1-timeline-content {
  position: relative;
  padding-left: 32px;
}
.v1-timeline-panel {
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
  padding: 32px 24px 24px 32px;
  margin-bottom: 0;
  min-height: 320px;
  animation: fadeIn 0.3s;
}
.v1-timeline-dot {
  position: absolute;
  left: -16px;
  top: 38px;
  width: 16px;
  height: 16px;
  background: #0070ba;
  border-radius: 50%;
  border: 3px solid #e6f4ef;
  z-index: 2;
}
.v1-timeline-body {
  position: relative;
  z-index: 1;
}
.v1-release-date {
  font-size: 1em;
  color: #888;
  margin-bottom: 16px;
}
@media (max-width: 600px) {
  .v1-timeline-content { padding-left: 0; }
  .v1-timeline-panel { padding: 24px 8px 18px 16px; }
  .v1-timeline-dot { left: -8px; }
}

/* Modulo contatti LandingFix AI */
.contact-form {
  background: #f8fbfd;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(0,119,204,0.07);
  padding: 32px 28px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-form label {
  font-weight: 600;
  color: #0070ba;
  font-size: 1.04em;
  margin-bottom: 2px;
  letter-spacing: 0.2px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  border: 1.5px solid #cce3f6;
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 1em;
  font-family: inherit;
  background: #fff;
  color: #222;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #0070ba;
  box-shadow: 0 0 0 2px #e6f4ef;
}

.contact-form textarea {
  min-height: 90px;
  max-height: 260px;
}

.contact-form .btn-primary {
  background: #0070ba;
  color: #fff;
  border: none;
  border-radius: 24px;
  padding: 12px 32px;
  font-size: 1.08em;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0,119,204,0.08);
  margin-top: 10px;
  align-self: flex-end;
}

.contact-form .btn-primary:hover,
.contact-form .btn-primary:focus {
  background: #005fa3;
  box-shadow: 0 4px 16px rgba(0,119,204,0.13);
}

@media (max-width: 600px) {
  .contact-form {
    padding: 18px 8px 14px 8px;
  }
}

/* Hero Section Modern */
.hero-section {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center; /* centra verticalmente */
  align-items: center;
  background: linear-gradient(120deg, #f0f4ff 0%, #e0f7fa 100%);
  overflow: hidden;
  padding-top: 32px;
  padding-bottom: 32px;
}
.hero-content {
  z-index: 2;
  max-width: 1100px;
  text-align: center;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* centra verticalmente */
  height: 100%;
  min-height: 500px;
}
.hero-main-title {
  display: inline-block;
  max-width: 100vw;
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: #003366;
  line-height: 1.08;
  margin-bottom: 18px;
  word-break: normal;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero-gradient {
  color: #0070ba;
  background: linear-gradient(90deg, #00c6a7 60%, #0070ba 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-payoff {
  font-size: 1.35em;
  color: #222;
  font-weight: 500;
  max-width: 900px;
  margin: 0 auto 28px auto;
  line-height: 1.4;
}
.hero-payoff strong {
  color: #0070ba;
  font-weight: 800;
}
.hero-video-box {
  position: relative;
  display: inline-block;
  margin-bottom: 24px;
  border-radius: 28px;
  box-shadow: 0 8px 40px rgba(0,112,186,0.10);
  overflow: hidden;
}
.hero-video-box video {
  width: 520px;
  max-width: 92vw;
  border-radius: 28px;
  display: block;
  background: #000;
  cursor: pointer;
}
.hero-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  background: rgba(255,255,255,0.92);
  border: none;
  border-radius: 50%;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(0,112,186,0.13);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  font-size: 2rem;
  color: #0070ba;
  z-index: 2;
}
.hero-play-btn:hover {
  background: #e0f7fa;
  transform: translate(-50%,-50%) scale(1.08);
}
.hero-play-btn i {
  margin-left: 4px;
}
.hero-cta-btn {
  display: inline-block;
  padding: 14px 38px;
  font-size: 1.12em;
  font-weight: 800;
  border-radius: 32px;
  background: linear-gradient(90deg,#0070ba 60%,#00c6a7 100%);
  color: #fff;
  box-shadow: 0 6px 32px rgba(0,112,186,0.13);
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: background 0.2s, transform 0.15s;
  margin-top: 18px;
  margin-left: auto;
  margin-right: auto;
}
.hero-cta-btn i {
  margin-left: 10px;
}
.hero-cta-btn:hover {
  background: linear-gradient(90deg,#005fa3 60%,#009e7a 100%);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 10px 32px rgba(0,112,186,0.18);
}
.hero-shape.shape-1 {
  position: absolute;
  top: -80px;
  left: -80px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle,#00c6a7 0%,#fff0 80%);
  border-radius: 50%;
  z-index: 1;
  opacity: 0.18;
}
.hero-shape.shape-2 {
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle,#0070ba 0%,#fff0 80%);
  border-radius: 50%;
  z-index: 1;
  opacity: 0.13;
}

/* Responsive Hero */
@media (max-width: 1200px) {
  .hero-content {
    max-width: 98vw;
    padding: 0 2vw;
  }
  .hero-main-title {
    font-size: 2.5rem;
  }
}
@media (max-width: 900px) {
  .hero-section {
    min-height: 80vh;
    padding-top: 24px;
    padding-bottom: 12px;
  }
  .hero-content {
    padding: 0 2vw;
    min-height: 400px;
  }
  .hero-main-title {
    font-size: 2.5rem;
    white-space: normal;
    text-overflow: unset;
    margin-bottom: 12px;
  }
  .hero-payoff {
    font-size: 1.4em;
    max-width: 98vw;
    margin-bottom: 18px;
  }
  .hero-video-box video {
    width: 98vw;
    min-width: 0;
  }
  .hero-video-box {
    border-radius: 16px;
  }
  .hero-cta-btn {
    width: auto;
    font-size: 1em;
    padding: 12px 0;
    margin-top: 14px;
    margin-left: auto;
    margin-right: auto;
  }
}
@media (max-width: 600px) {
  .hero-section {
    min-height: 70vh;
    padding-top: 50px;
    padding-bottom: 50px;
  }
  .hero-content {
    padding: 0 1vw;
    min-height: 320px;
  }
  .hero-main-title {
    font-size: 2.5rem;  
    margin-bottom: 10px;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    line-height: 1.15;
  }
  .hero-payoff {
    margin-bottom: 14px;
  }
  .hero-video-box video {
    width: 98vw;
    min-width: 0;
  }
  .hero-video-box {
    border-radius: 10px;
    margin-bottom: 14px;
  }
  .hero-cta-btn {
    width: 94vw;
    font-size: 1em;
    padding: 12px 0;
    margin-top: 10px;
    margin-left: 3vw;
    margin-right: 3vw;
  }
  .hero-shape.shape-1,
  .hero-shape.shape-2 {
    display: none;
  }
}

@media (max-width: 800px) {
  .header-menu {
    display: none !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin: 16px 0 0 0;
    width: 100%;
    background: #fff;
    position: absolute;
    top: 70px;
    left: 0;
    z-index: 1000;
    box-shadow: 0 8px 24px rgba(0,0,0,0.07);
    padding-bottom: 18px;
    border-radius: 0 0 18px 18px;
  }
   .header-menu.open {
    display: flex !important;
  }
}

/* Focus Analysis Buttons */
.focus-group {
  width: 100%;
  text-align: center;
  margin-top: 18px;
}

.focus-group label,
.focus-label {
  font-size: 16px;
  color: var(--brand-main);
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}

.focus-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 8px;
}

.focus-btn {
  background: #f0f4f8;
  color: #003366;
  border: 1.5px solid var(--brand-main);
  border-radius: 22px;
  padding: 10px 20px;
  font-size: 15px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.2s, color 0.2s, border 0.2s;
  min-width: 140px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.focus-btn.selected {
  background: var(--brand-main);
  color: #fff;
  border-color: var(--brand-main);
}

.focus-btn i {
  margin-right: 6px;
  font-size: 1.1em;
}

@media (max-width: 900px) {
  .focus-btn {
    min-width: 100px;
    font-size: 14px;
    padding: 8px 10px;
  }
}

@media (max-width: 600px) {
  .focus-btn-row {
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }
  .focus-btn {
    width: 98vw;
    max-width: 340px;
    justify-content: center;
  }
}

/* --- Industry Filter --- */
.industry-group {
  width: 100%;
  text-align: center;
  margin-top: 18px;
}

.industry-group label {
  font-size: 16px;
  color: var(--brand-main);
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}

.industry-subtitle {
  font-size: 14px;
  color: #555;
  margin-bottom: 8px;
}

#userIndustry {
  padding: 12px 18px;
  border: 1.5px solid var(--brand-main);
  border-radius: 22px;
  font-size: 1.08em;
  width: 320px;
  max-width: 98vw;
  background: #fff;
  color: #003366;
  margin-bottom: 8px;
  transition: border-color 0.2s;
  outline: none;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(0,119,204,0.06);
}

#userIndustry:focus {
  border-color: var(--brand-dark);
  background: #f0f8ff;
}

@media (max-width: 900px) {
  #userIndustry {
    width: 98vw;
    max-width: 340px;
    font-size: 1em;
    padding: 10px 12px;
  }
}

@media (max-width: 600px) {
  .industry-group {
    margin-top: 12px;
  }
  #userIndustry {
    width: 98vw;
    max-width: 99vw;
    font-size: 1em;
    padding: 10px 10px;
  }
}

.tool-btn {
  display: inline-block;
  background: #0077cc;
  color: #fff !important;
  padding: 3px 14px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  margin: 0 2px;
  transition: background 0.2s;
}
.tool-btn:hover { background: #005fa3; }