/* =========================================================
   CONCORSO INPS 2026 — LANDING PAGE
   Single-file responsive implementation
   ========================================================= */

:root {
  --primary: #4c5ef7;
  --primary-dark: #3f50e8;
  --primary-soft: #eef0ff;
  --text: #17181a;
  --text-soft: #6f737b;
  --border: #e4e6eb;
  --surface: #ffffff;
  --surface-soft: #f6f7f9;
  --surface-alt: #f3f4f6;
  --success: #10b981;
  --success-soft: #dcfce7;
  --warning: #e58b00;
  --warning-soft: #fff3cf;
  --shadow: 0 20px 55px rgba(24, 31, 67, .08);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --container: 1280px;
  --section-pad: clamp(72px, 7vw, 116px);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.section {
  padding-block: var(--section-pad);
}

.section--soft {
  background: var(--surface-soft);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .025em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-title {
  margin: 0;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.04;
  letter-spacing: -.035em;
}

.section-copy {
  margin: 18px 0 0;
  max-width: 760px;
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.55;
}

.section-heading {
  max-width: 900px;
  margin: 0 auto 58px;
  text-align: center;
}

.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 12px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 750;
  line-height: 1;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  background: #fff;
  color: var(--text);
  border-color: var(--border);
}

.btn-lg {
  min-height: 54px;
  padding-inline: 30px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: 78px;
  display: flex;
  align-items: center;
  gap: 36px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 17px;
  font-weight: 800;
  white-space: nowrap;
}

.desktop-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 42px;
}

.desktop-nav a {
  color: #5d6067;
  text-decoration: none;
  font-size: 14px;
  font-weight: 550;
}

.header-cta {
  margin-left: 32px;
}

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
}

.menu-toggle svg {
  width: 20px;
  height: 20px;
}

.mobile-menu {
  display: none;
}

/* Hero */
.hero-section {
  padding: clamp(56px, 6vw, 94px) 0 78px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr);
  align-items: center;
  gap: 72px;
}

.hero-kicker {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 8px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
  margin: 18px 0 24px;
  font-size: clamp(48px, 5.15vw, 72px);
  line-height: .99;
  letter-spacing: -.055em;
}

.hero h1 .accent {
  color: var(--primary);
}

.hero-lead {
  max-width: 690px;
  margin: 0;
  color: var(--text-soft);
  font-size: 19px;
  line-height: 1.55;
}

.hero-price {
  margin-top: 34px;
  width: fit-content;
  max-width: 100%;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding: 11px 12px 11px 16px;
  border: 1px solid rgba(76, 94, 247, .18);
  border-radius: 16px;
  background:
    linear-gradient(90deg, rgba(76, 94, 247, .08), rgba(255, 255, 255, 0) 46%),
    #ffffff;
  box-shadow: 0 16px 38px rgba(24, 31, 67, .10);
}

.hero-price-label {
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1;
  text-transform: uppercase;
}

.hero-price-main {
  display: inline-flex;
  align-items: baseline;
  color: var(--text);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 850;
  letter-spacing: -.045em;
  line-height: .92;
}

.hero-price-currency {
  margin-right: 3px;
  color: var(--primary);
  font-size: .58em;
  font-weight: 850;
  letter-spacing: 0;
}

.hero-price-note {
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.hero-actions {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-points {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  color: #555960;
  font-size: 13px;
  font-weight: 650;
}

.hero-points span::before {
  content: "✓";
  margin-right: 6px;
  color: #5b6169;
}

.hero-disclaimer {
  margin-top: 28px;
  max-width: 560px;
  padding: 14px 18px;
  background: var(--warning-soft);
  border: 1px solid rgba(229, 139, 0, .35);
  border-radius: var(--radius-sm);
  color: #5b4a1f;
  font-size: 13px;
  line-height: 1.55;
}

.hero-disclaimer strong {
  color: #3f3413;
}

.hero-art {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-art img {
  width: min(100%, 560px);
  height: auto;
}

.trust-strip {
  margin-top: 54px;
  border: 1px solid var(--border);
  background: #fafbfc;
  min-height: 92px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
}

.trust-item {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px;
  font-size: 14px;
  font-weight: 700;
}

.icon {
  width: 22px;
  height: 22px;
  color: var(--primary);
  flex: 0 0 auto;
}

/* Exam structure */
.exam-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.exam-card {
  min-height: 372px;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: #f8f9fa;
}

.exam-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.exam-label {
  color: var(--primary);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.pill {
  display: inline-flex;
  padding: 6px 9px;
  border-radius: 7px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 10px;
  font-weight: 800;
}

.exam-card h3 {
  margin: 26px 0 8px;
  font-size: 26px;
  letter-spacing: -.025em;
}

.exam-card > p {
  margin: 0;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.55;
}

.question-demo {
  margin-top: 26px;
  padding: 18px;
  background: #fff;
  border-radius: 16px;
}

.demo-overline {
  display: block;
  color: #686c73;
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.question-demo strong {
  display: block;
  font-size: 13px;
  line-height: 1.35;
  margin-bottom: 14px;
}

.demo-option {
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 9px;
  font-size: 12px;
  margin-top: 8px;
}

.demo-option.active {
  color: var(--primary);
  background: var(--primary-soft);
  border-color: #dce0ff;
}

/* 21/30 */
.rule-section {
  background: var(--surface-soft);
  padding-block: 94px;
}

.rule-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 72px;
  align-items: center;
}

.rule-grid h2 {
  max-width: 540px;
}

.rule-actions {
  margin-top: 30px;
}

.result-card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: #fff;
}

.result-card h3 {
  margin: 0 0 18px;
  font-size: 16px;
}

.result-row {
  margin-top: 10px;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 12px;
  background: #f5f6f8;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
}

.result-score {
  font-size: 18px;
}

.result-score.ok { color: var(--success); }
.result-score.warn { color: #d87500; }

.status {
  padding: 5px 8px;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 850;
  text-transform: uppercase;
}

.status.ok {
  color: var(--success);
  background: var(--success-soft);
}

.status.warn {
  color: #d87500;
  background: var(--warning-soft);
}

.result-alert {
  margin: 16px 0 0;
  color: var(--text-soft);
  font-size: 12px;
}

/* Method */
.method-section {
  padding-block: 88px;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.method-card,
.feature-card {
  min-height: 190px;
  padding: 24px;
  border-radius: 18px;
  background: var(--surface-soft);
}

.method-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.icon-box {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--primary-soft);
}

.method-num {
  color: #e8e9ee;
  font-size: 22px;
  font-weight: 850;
}

.method-card h3,
.feature-card h3 {
  margin: 20px 0 8px;
  font-size: 18px;
}

.method-card p,
.feature-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.5;
}

/* Interface screenshot */
.interface-section {
  padding: 88px 0 50px;
  background: var(--surface-soft);
  overflow: hidden;
}

.screenshots-wrap {
  margin-top: 48px;
  overflow: visible;
}

.screenshots-wrap img {
  width: min(100%, 1200px);
  margin-inline: auto;
}

/* Features */
.features-section {
  padding-block: 92px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  min-height: 170px;
}

.feature-card .icon {
  width: 26px;
  height: 26px;
}

/* Simulation */
.simulation-section {
  padding-block: 74px;
  background: var(--surface-soft);
}

.simulation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.simulation-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.simulation-image img {
  display: block;
  width: 100%;
  max-width: 610px;
  height: auto !important;
  aspect-ratio: 947 / 694;
  object-fit: contain;
  object-position: center;
}

.simulation-copy h2 {
  max-width: 540px;
}

.simulation-copy .btn {
  margin-top: 28px;
}

/* Review */
.review-section {
  padding-block: 86px;
}

.review-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  align-items: center;
  gap: 76px;
}

.review-copy .btn {
  margin-top: 28px;
}

.review-box {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface-soft);
}

.review-box-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.review-box-head strong {
  font-size: 17px;
}

.review-total {
  padding: 5px 8px;
  border-radius: 7px;
  background: var(--warning-soft);
  color: #c77900;
  font-size: 10px;
  font-weight: 800;
}

.review-row {
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 8px;
  background: #fff;
  border-radius: 10px;
  font-size: 13px;
}

.review-row strong {
  font-size: 13px;
}

/* Pricing */
.pricing-section {
  padding-block: 84px;
  background: var(--surface-soft);
}

.price-card {
  width: min(100%, 490px);
  margin: 44px auto 0;
  padding: 38px 44px 36px;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow);
}

.price-card-head {
  text-align: center;
}

.price-card h3 {
  margin: 8px 0 22px;
  font-size: 25px;
}

.price {
  color: var(--primary);
  font-size: 62px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: -.045em;
}

.price-note {
  margin-top: 10px;
  color: var(--text-soft);
  font-size: 13px;
}

.price-divider {
  height: 1px;
  margin: 30px 0;
  background: var(--border);
}

.price-list-title {
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.price-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.price-list li {
  position: relative;
  padding-left: 20px;
  margin: 11px 0;
  color: #666a72;
  font-size: 13px;
  line-height: 1.4;
}

.price-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #777b82;
  font-weight: 800;
}

.price-card .btn {
  width: 100%;
  margin-top: 26px;
}

.app-store-note {
  margin: 18px 0 0;
  text-align: center;
  color: var(--text-soft);
  font-size: 12px;
}

.pricing-footnote {
  margin: 34px 0 0;
  text-align: center;
  color: var(--text-soft);
  font-size: 13px;
}

/* Competition */
.competition-section {
  padding-block: 80px;
}

.competition-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  align-items: center;
  gap: 80px;
}

.stat-highlight {
  padding: 34px;
  background: var(--surface-soft);
  border-radius: 24px;
}

.stat-number {
  color: var(--primary);
  font-size: clamp(48px, 5vw, 68px);
  font-weight: 850;
  letter-spacing: -.045em;
}

.stat-highlight strong {
  display: block;
  margin-top: 2px;
  font-size: 16px;
}

.stat-highlight p {
  margin: 14px 0 0;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.5;
}

/* FAQ */
.faq-section {
  padding-block: 84px 76px;
  background: var(--surface-soft);
}

.faq-list {
  width: min(100%, 820px);
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #dadde2;
}

.faq-button {
  width: 100%;
  min-height: 72px;
  padding: 22px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  text-align: left;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 16px;
  font-weight: 750;
  cursor: pointer;
}

.faq-plus {
  color: #71757d;
  font-size: 24px;
  font-weight: 350;
  transition: transform .2s ease;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .25s ease;
}

.faq-answer > div {
  overflow: hidden;
}

.faq-answer p {
  margin: 0;
  padding: 0 44px 22px 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.55;
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.open .faq-plus {
  transform: rotate(45deg);
}

/* Final CTA */
.final-cta-wrap {
  background: var(--surface-soft);
  padding: 0 48px;
}

.final-cta {
  min-height: 440px;
  border-radius: 56px 56px 0 0;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.final-cta-inner {
  max-width: 780px;
  padding: 70px 24px;
}

.final-k {
  margin-bottom: 32px;
  font-size: 24px;
  font-weight: 850;
}

.final-cta h2 {
  margin: 0;
  font-size: clamp(38px, 4vw, 54px);
  letter-spacing: -.035em;
}

.final-cta p {
  margin: 16px 0 0;
  font-size: 17px;
  opacity: .93;
}

.final-price {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 800;
}

/* Footer */
.site-footer {
  padding: 56px 0 28px;
  background: #fff;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 90px;
  align-items: start;
}

.footer-brand p {
  max-width: 360px;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.55;
}

.footer-col strong {
  display: block;
  margin-bottom: 14px;
  font-size: 13px;
}

.footer-col a,
.footer-col span {
  display: block;
  margin-top: 9px;
  color: var(--text-soft);
  font-size: 12px;
  text-decoration: none;
}

.footer-legal {
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  color: #81858c;
  font-size: 13px;
  line-height: 1.6;
}

.footer-copy {
  margin-top: 18px;
}

/* Responsive */
@media (max-width: 1024px) {
  :root {
    --section-pad: 78px;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .mobile-menu {
    position: fixed;
    inset: 78px 0 auto 0;
    display: grid;
    grid-template-rows: 0fr;
    background: #fff;
    border-bottom: 1px solid var(--border);
    transition: grid-template-rows .25s ease;
  }

  .mobile-menu > div {
    overflow: hidden;
  }

  .mobile-menu.open {
    grid-template-rows: 1fr;
  }

  .mobile-menu nav {
    padding: 16px 24px 26px;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .mobile-menu a {
    padding: 14px 0;
    text-decoration: none;
    font-weight: 650;
  }

  .hero-grid,
  .rule-grid,
  .simulation-grid,
  .review-grid,
  .competition-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 46px;
  }

  .hero-copy {
    order: 1;
  }

  .hero-art {
    order: 2;
  }

  .hero-art img {
    width: min(100%, 500px);
  }

  .exam-grid {
    gap: 20px;
  }

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

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

  .simulation-image {
    display: flex;
    justify-content: center;
  }

  .review-grid,
  .competition-grid {
    gap: 40px;
  }

  .footer-top {
    gap: 46px;
  }
}

@media (max-width: 720px) {
  :root {
    --section-pad: 64px;
  }

  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .header-inner {
    height: 68px;
  }

  .mobile-menu {
    inset: 68px 0 auto 0;
  }

  .brand {
    font-size: 15px;
  }

  .brand-mark {
    width: 26px;
    height: 26px;
  }

  .hero-section {
    padding-top: 42px;
    padding-bottom: 56px;
  }

  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 34px;
  }

  .hero h1 {
    margin-top: 14px;
    font-size: clamp(43px, 13vw, 58px);
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .hero-actions .btn {
    width: 100%;
    padding-inline: 14px;
  }

  .hero-points {
    gap: 11px 18px;
    font-size: 12px;
  }

  .hero-art {
    margin-top: -8px;
  }

  .trust-strip {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }

  .trust-item {
    min-height: 64px;
    justify-content: flex-start;
    padding: 16px 18px;
    border-bottom: 1px solid var(--border);
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .section-heading {
    margin-bottom: 36px;
  }

  .section-title {
    font-size: 36px;
  }

  .section-copy {
    font-size: 16px;
  }

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

  .exam-card {
    min-height: 0;
    padding: 24px 20px;
  }

  .rule-section {
    padding-block: 64px;
  }

  .rule-grid {
    gap: 38px;
  }

  .result-card {
    padding: 18px;
  }

  .result-row {
    grid-template-columns: 1fr auto;
  }

  .result-row .status {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .method-section {
    padding-block: 64px;
  }

  .method-grid,
  .features-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .method-card,
  .feature-card {
    min-height: 0;
  }

  .interface-section {
    padding-block: 64px 34px;
  }

  .screenshots-wrap {
    width: calc(100vw - 16px);
    margin-left: calc((100vw - min(calc(100% - 32px), var(--container))) / -2 + 8px);
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .screenshots-wrap::-webkit-scrollbar {
    display: none;
  }

  .screenshots-wrap img {
    max-width: none;
    width: 760px;
    margin: 0 16px;
  }

  .simulation-section {
    padding-block: 54px;
  }

  .simulation-grid {
    gap: 30px;
  }

  .simulation-image {
    order: 2;
  }

  .simulation-copy {
    order: 1;
  }

  .review-grid {
    gap: 34px;
  }

  .price-card {
    padding: 32px 24px;
  }

  .price {
    font-size: 56px;
  }

  .competition-section {
    padding-block: 64px;
  }

  .competition-grid {
    gap: 30px;
  }

  .stat-highlight {
    padding: 26px 22px;
  }

  .faq-button {
    font-size: 15px;
  }

  .faq-answer p {
    padding-right: 0;
  }

  .final-cta-wrap {
    padding: 0 16px;
  }

  .final-cta {
    min-height: 350px;
    border-radius: 36px 36px 0 0;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 430px) {
  .container {
    width: calc(100% - 28px);
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-actions {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    min-height: 52px;
  }

  .hero-points {
    display: grid;
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 32px;
  }

  .exam-card h3 {
    font-size: 23px;
  }

  .result-card {
    border-radius: 18px;
  }

  .result-row {
    padding: 12px;
    font-size: 13px;
  }

  .screenshots-wrap img {
    width: 690px;
  }

  .review-box {
    padding: 18px;
  }

  .review-row {
    align-items: flex-start;
  }

  .price-card {
    border-radius: 22px;
  }

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

  .footer-brand {
    grid-column: auto;
  }

  .final-cta h2 {
    font-size: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}


/* FIX — preserve original PNG proportions in simulation section */
.simulation-image {
  min-width: 0;
}

.simulation-image img {
  flex: 0 1 auto;
  width: min(100%, 610px);
  max-width: 100%;
  height: auto !important;
  aspect-ratio: 947 / 694;
  object-fit: contain;
}

@media (max-width: 720px) {
  .simulation-image img {
    width: 100%;
    max-width: 560px;
    height: auto !important;
  }
}


/* App Store / Google Play download badges */
.hero-store-actions {
  align-items: center;
}

.store-badge {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 8px 15px 8px 13px;
  border-radius: 11px;
  background: #111111;
  color: #FFFFFF;
  text-decoration: none;
  border: 1px solid #111111;
  transition: transform .18s ease, opacity .18s ease;
}

.store-badge:hover {
  transform: translateY(-1px);
  opacity: .94;
}

.store-icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.store-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.apple-icon {
  color: #FFFFFF;
}

.google-play-icon {
  width: 29px;
  height: 29px;
}

.store-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}

.store-copy small {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .01em;
  opacity: .95;
  margin-bottom: 3px;
}

.store-copy strong {
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -.01em;
}

.store-note {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 9px 16px 9px 13px;
  border-radius: 11px;
  background: #ffffff;
  color: var(--text);
  border: 1px solid #cdd3ff;
  box-shadow: 0 10px 24px rgba(76, 94, 247, .10);
}

.store-note .store-copy small {
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  opacity: 1;
}

.store-note .store-copy strong {
  color: var(--text);
  font-size: 16px;
  font-weight: 750;
}

@media (max-width: 720px) {
  .hero-store-actions {
    grid-template-columns: 1fr 1fr;
  }

  .hero-store-actions .store-badge,
  .hero-store-actions .store-note {
    width: 100%;
    justify-content: center;
  }

  .hero-store-actions .btn-secondary {
    grid-column: 1 / -1;
  }
}

@media (max-width: 430px) {
  .hero-store-actions {
    grid-template-columns: 1fr;
  }

  .hero-store-actions .btn-secondary {
    grid-column: auto;
  }

  .hero-store-actions .store-badge,
  .hero-store-actions .store-note {
    min-height: 56px;
  }
}


/* Store badges — final adjustments */
.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store-buttons--pricing {
  margin-top: 26px;
}

.store-buttons--pricing .store-badge {
  flex: 1 1 0;
  justify-content: center;
  min-width: 0;
}

.store-buttons--pricing .store-note {
  flex: 1 1 0;
  justify-content: center;
  min-width: 0;
}

.hero-store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 720px) {
  .hero-store-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .store-buttons--pricing {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 430px) {
  .hero-store-actions,
  .store-buttons--pricing {
    grid-template-columns: 1fr;
  }
}

/* Footer final layout: brand + contacts */
.footer-top {
  grid-template-columns: minmax(0, 1fr) auto;
}
@media (max-width: 720px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-brand {
    grid-column: auto;
  }
}


/* FIX — Interface screenshot must preserve intrinsic aspect ratio */
.screenshots-wrap {
  width: 100%;
  margin-left: 0;
  overflow: visible;
}

.screenshots-wrap img {
  display: block;
  width: 100%;
  max-width: 1200px;
  height: auto !important;
  object-fit: contain;
  object-position: center;
  margin: 0 auto;
}

@media (max-width: 720px) {
  .screenshots-wrap {
    width: 100%;
    margin-left: 0;
    overflow: hidden;
  }

  .screenshots-wrap img {
    width: 100%;
    max-width: 100%;
    height: auto !important;
    margin: 0 auto;
  }
}

@media (max-width: 430px) {
  .screenshots-wrap img {
    width: 100%;
    max-width: 100%;
    height: auto !important;
  }
}


/* Official app logo */
.brand-logo {
  width: 28px;
  height: 28px;
  display: block;
  object-fit: contain;
  border-radius: 7px;
  flex: 0 0 auto;
}

.final-k {
  display: flex;
  justify-content: center;
  align-items: center;
}

.final-k img {
  width: 52px;
  height: 52px;
  display: block;
  object-fit: contain;
  border-radius: 13px;
}

@media (max-width: 720px) {
  .brand-logo {
    width: 26px;
    height: 26px;
  }

  .final-k img {
    width: 48px;
    height: 48px;
  }
}

/* =========================================================
   OFFERTA / SCONTO
   ========================================================= */
.price-old {
  color: var(--text-soft);
  text-decoration: line-through;
  text-decoration-color: #e0392b;
  text-decoration-thickness: 2px;
  font-weight: 700;
  opacity: .85;
}

.price-new {
  color: var(--primary);
  font-weight: 850;
}

.offer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--success-soft);
  color: #0a7d54;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .01em;
}

.offer-badge::before {
  content: "🔥";
  font-size: 12px;
}

.hero-price .price-old {
  font-size: 14px;
}

.hero-price .price-new {
  font-size: 16px;
}

/* Card prezzo */
.price-old-lg {
  display: block;
  margin-bottom: 4px;
  color: var(--text-soft);
  font-size: 26px;
  font-weight: 750;
  text-decoration: line-through;
  text-decoration-color: #e0392b;
  text-decoration-thickness: 2px;
  letter-spacing: -.03em;
}

.price-card .offer-badge {
  margin-top: 14px;
}

/* Final CTA */
.final-price .price-old {
  color: rgba(255, 255, 255, .7);
  text-decoration-color: #ffd0cb;
}

.final-price .offer-badge {
  margin-left: 8px;
  background: rgba(255, 255, 255, .16);
  color: #fff;
}

/* =========================================================
   POPUP SUGGERIMENTI E CONSIGLI
   ========================================================= */
.footer-feedback-link {
  cursor: pointer;
}

.feedback-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(17, 18, 26, .55);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity .22s ease;
}

.feedback-overlay[hidden] {
  display: none;
}

.feedback-overlay.is-open {
  opacity: 1;
}

.feedback-modal {
  position: relative;
  width: min(100%, 480px);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 40px 36px 34px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border-top: 5px solid var(--primary);
  transform: translateY(14px) scale(.98);
  transition: transform .22s ease;
}

.feedback-overlay.is-open .feedback-modal {
  transform: translateY(0) scale(1);
}

.feedback-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: var(--surface-alt);
  color: var(--text);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background .15s ease;
}

.feedback-close:hover {
  background: var(--border);
}

.feedback-head h3 {
  margin: 8px 0 10px;
  font-size: 24px;
  letter-spacing: -.02em;
}

.feedback-head p {
  margin: 0 0 24px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.55;
}

.feedback-form {
  display: grid;
  gap: 16px;
}

.feedback-field {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.feedback-field input,
.feedback-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
  font: inherit;
  font-weight: 500;
  color: var(--text);
  resize: vertical;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.feedback-field input::placeholder,
.feedback-field textarea::placeholder {
  color: #a2a6ae;
}

.feedback-field input:focus,
.feedback-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}

.feedback-submit {
  margin-top: 4px;
  width: 100%;
  justify-content: center;
}

.feedback-note {
  margin: 0;
  text-align: center;
  color: var(--text-soft);
  font-size: 12px;
}

body.feedback-open {
  overflow: hidden;
}

/* Launch refinements */
.source-note { margin-top: 12px; color: var(--text-soft); font-size: 13px; }
.source-note a, .hero-disclaimer a, .feedback-note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

.old-price {
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  opacity: .65;
  margin-right: .35rem;
}


/* Evidenza promozione prezzo — release */
.price-promo {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.price-promo .old-price,
.price-promo-card .old-price,
.final-price .old-price,
.trust-price .old-price {
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  opacity: .58;
}

.price-promo .price-new,
.hero-price .price-new {
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1;
}

.price-saving {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(76, 94, 247, .1);
  color: var(--brand, #4c5ef7);
  font-size: .78rem;
  font-weight: 750;
  line-height: 1;
}

.price-promo-card {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
}

.price-promo-card .old-price {
  font-size: .48em;
  font-weight: 600;
}

.price-promo-card .current-price {
  font-size: 1em;
  font-weight: 800;
}

.price-saving-card {
  margin: 10px auto 0;
}

.trust-price strong {
  font-weight: 800;
}

.final-price {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.final-price strong {
  font-size: 1.08em;
}

@media (max-width: 560px) {
  .price-promo {
    gap: 8px;
  }

  .price-promo .price-saving {
    flex-basis: auto;
  }

  .price-promo-card {
    gap: 8px;
  }
}
