/**
 * SeoScope marketing landing — complements admin-template.css (dashboard look).
 */

.landing-body {
  padding: 20px !important;
  overflow-x: hidden;
}

.landing-shell {
  max-width: 1120px;
  margin: 0 auto;
  background: rgba(255, 252, 248, 0.86);
  backdrop-filter: blur(8px);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(69, 31, 5, 0.1);
  min-height: auto;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.landing-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 22px 28px;
  border-bottom: var(--soft-border);
  background: rgba(255, 255, 255, 0.45);
}

.landing-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

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

.landing-brand__text {
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--orange-7);
}

.landing-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.landing-nav a {
  color: var(--text-2);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 10px 14px;
  border-radius: 12px;
  transition: background 0.2s ease;
}

.landing-nav a:hover {
  background: rgba(245, 158, 11, 0.12);
  color: var(--text-1);
}

.landing-main {
  padding: 32px 28px 44px;
  min-width: 0;
  overflow-x: hidden;
}

.landing-hero {
  margin-bottom: 40px;
  min-width: 0;
}

.landing-hero--centered h1 {
  text-align: center;
  max-width: min(42ch, 94vw);
  margin-left: auto;
  margin-right: auto;
}

.landing-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
  color: var(--text-1);
  line-height: 1.2;
}

.landing-hero p.lead {
  font-size: 1.08rem;
  color: var(--text-2);
  max-width: 52ch;
  margin: 0 0 22px;
  line-height: 1.6;
}

.landing-hero--centered p.lead {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.landing-hero--centered .landing-actions {
  justify-content: center;
}

.landing-hero__media {
  margin: 0 auto 26px;
  /* “Mat” più scuro del fondo pagina: crea contrasto con lo screenshot quasi bianco */
  padding: clamp(10px, 2.5vw, 16px);
  width: 100%;
  max-width: min(920px, 100%);
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: calc(var(--radius-xl) + 6px);
  background: linear-gradient(
    155deg,
    rgba(255, 237, 213, 0.55) 0%,
    rgba(254, 243, 230, 0.75) 42%,
    rgba(255, 252, 248, 0.92) 100%
  );
  border: 1px solid rgba(234, 179, 119, 0.35);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    0 10px 36px rgba(69, 31, 5, 0.08);
}

.landing-hero__img {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: auto;
  box-sizing: border-box;
  object-fit: contain;
  border-radius: var(--radius-xl);
  /* bordo più leggibile del --soft-border sulla pagina */
  border: 1px solid rgba(90, 74, 62, 0.16);
  /* ombra più marcata: risalto rispetto allo sfondo chiaro */
  box-shadow:
    0 2px 2px rgba(255, 255, 255, 0.85) inset,
    0 18px 50px rgba(45, 24, 6, 0.14),
    0 8px 22px rgba(45, 24, 6, 0.1);
  background: #fffefc;
}

.landing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 22px;
}

/* Primary attention CTA under hero image — distinct from standard .btn-upgrade */
.landing-actions--hero-cta {
  justify-content: center;
  margin-top: 4px;
  margin-bottom: 28px;
}

.landing-demo-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  font-size: 1.14rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 17px 44px;
  min-width: min(220px, 88vw);
  border-radius: 999px;
  color: #1a3d32;
  background: linear-gradient(
    155deg,
    #e2f2ec 0%,
    #cae4d9 45%,
    #b8dbcc 100%
  );
  border: 2px solid rgba(255, 255, 255, 0.75);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 4px 0 rgba(74, 118, 103, 0.22),
    0 14px 32px rgba(45, 92, 76, 0.16),
    0 0 0 1px rgba(60, 105, 88, 0.12);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease,
    color 0.2s ease,
    background 0.2s ease;
}

.landing-demo-cta:hover {
  color: #122a22;
  text-decoration: none;
  transform: translateY(-3px) scale(1.02);
  filter: brightness(1.03);
  background: linear-gradient(
    155deg,
    #ecf7f3 0%,
    #d2ebe0 40%,
    #bfe0d4 100%
  );
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 6px 0 rgba(74, 118, 103, 0.2),
    0 20px 44px rgba(45, 92, 76, 0.2),
    0 0 0 1px rgba(60, 105, 88, 0.14);
}

.landing-demo-cta:focus-visible {
  outline: 3px solid rgba(55, 130, 105, 0.45);
  outline-offset: 5px;
}

.landing-demo-cta:active {
  transform: translateY(0) scale(1);
  filter: brightness(0.97);
}

.landing-section-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  color: var(--text-1);
}

.landing-features__intro {
  margin: 0 0 22px;
  max-width: 62ch;
  font-size: 0.96rem;
  color: var(--text-2);
  line-height: 1.55;
}

.feature-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 18px;
  margin-bottom: 36px;
}

@media (min-width: 980px) {
  .feature-showcase {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  position: relative;
  padding: 20px 20px 20px 22px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.88);
  border: var(--soft-border);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange-5), var(--orange-7));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  opacity: 0.92;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 14px 32px rgba(69, 31, 5, 0.12),
    0 4px 12px rgba(69, 31, 5, 0.06);
}

.feature-card:nth-child(even) {
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(255, 251, 245, 0.95) 100%
  );
}

.feature-card__row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.feature-card__badge {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: #fff;
  background: linear-gradient(135deg, var(--orange-5), var(--orange-7));
  box-shadow: 0 6px 14px rgba(245, 158, 11, 0.28);
}

.feature-card__body {
  min-width: 0;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.04rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.feature-card p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--text-2);
  line-height: 1.55;
}

.how-steps {
  display: grid;
  gap: 14px;
  margin-bottom: 36px;
}

.how-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.7);
  border: var(--soft-border);
}

.how-step__num {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--orange-5), var(--orange-7));
  box-shadow: 0 8px 18px rgba(245, 158, 11, 0.25);
}

.cta-finale {
  padding: 24px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #f9d885, #f5b252);
  color: #5a3703;
  text-align: center;
  margin-bottom: 8px;
  box-shadow: var(--card-shadow);
}

.cta-finale h2 {
  margin: 0 0 10px;
  font-weight: 800;
  font-size: 1.3rem;
}

.cta-finale p {
  margin: 0 0 18px;
  opacity: 0.95;
  font-weight: 600;
}

.landing-footer {
  padding: 22px 28px;
  border-top: var(--soft-border);
  font-size: 0.85rem;
  color: var(--text-2);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.35);
}

.landing-footer a {
  color: var(--orange-7);
  font-weight: 700;
  text-decoration: none;
}

.landing-footer a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .landing-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .landing-nav {
    width: 100%;
    justify-content: flex-start;
  }
}
