/* ============================================================
   MoDev - Landing Pages Shared Styles
   Used across all SEO landing pages
   ============================================================ */

/* ─── Page Hero (landing variant) ─────────────────────────────────────────── */

.lp-hero {
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.lp-hero .lp-badge {
  display: inline-block;
  background: #f41a4a;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.lp-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  color: #111a24;
  margin-bottom: 24px;
}

.lp-hero h1 span {
  color: #f41a4a;
}

.lp-hero .lp-lead {
  font-size: 1.1rem;
  color: #495461;
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 560px;
}

.lp-hero .lp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.lp-hero .lp-actions .bix-button {
  font-size: 0.95rem;
}

.lp-hero .lp-actions .lp-link {
  color: #495461;
  font-size: 0.9rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

.lp-hero .lp-actions .lp-link:hover {
  color: #f41a4a;
}

/* ─── Hero Stats Strip ──────────────────────────────────────────────────────── */

.lp-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(17, 26, 36, 0.1);
}

.lp-stat-item strong {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: #f41a4a;
  line-height: 1;
}

.lp-stat-item span {
  font-size: 0.8rem;
  color: #777;
  font-weight: 500;
}

/* ─── Hero visual card ────────────────────────────────────────────────────── */

.lp-hero-visual {
  position: relative;
}

.lp-hero-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 20px 60px rgba(17, 26, 36, 0.1);
  border: 1px solid rgba(17, 26, 36, 0.06);
}

.lp-hero-card .card-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}

.lp-hero-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #111a24;
  margin-bottom: 12px;
}

.lp-hero-card p {
  color: #495461;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0;
}

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

.lp-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.95rem;
  color: #495461;
  border-bottom: 1px solid rgba(17, 26, 36, 0.05);
}

.lp-checklist li:last-child {
  border-bottom: none;
}

.lp-checklist li i {
  color: #f41a4a;
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

/* ─── Section headings (shared) ──────────────────────────────────────────── */

.lp-section {
  padding: 80px 0;
}

.lp-section-alt {
  background: #f7f5fb;
}

.lp-section-title {
  text-align: center;
  margin-bottom: 56px;
}

.lp-section-title .section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #f41a4a;
  margin-bottom: 12px;
}

.lp-section-title h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #111a24;
  margin-bottom: 16px;
}

.lp-section-title h2 span {
  color: #f41a4a;
}

.lp-section-title p {
  color: #495461;
  font-size: 1rem;
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto;
}

/* ─── Feature Cards ──────────────────────────────────────────────────────── */

.lp-feature-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 28px;
  border: 1px solid rgba(17, 26, 36, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.lp-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(17, 26, 36, 0.1);
}

.lp-feature-card .feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.lp-feature-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111a24;
  margin-bottom: 10px;
}

.lp-feature-card p {
  color: #495461;
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0;
}

/* ─── Process Steps ──────────────────────────────────────────────────────── */

.lp-process-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 40px;
}

.lp-process-step:last-child {
  margin-bottom: 0;
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #f41a4a;
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-content h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #111a24;
  margin-bottom: 6px;
}

.step-content p {
  color: #495461;
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0;
}

/* ─── CTA Banner ──────────────────────────────────────────────────────────── */

.lp-cta-banner {
  background: linear-gradient(135deg, #111a24 0%, #1e2d40 100%);
  border-radius: 24px;
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.lp-cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 60% 50%, rgba(244, 26, 74, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.lp-cta-banner h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.lp-cta-banner h2 span {
  color: #f41a4a;
}

.lp-cta-banner p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.lp-cta-banner .bix-button {
  background: #f41a4a;
  color: #fff;
  border-color: #f41a4a;
  font-size: 1rem;
  padding: 14px 36px;
}

.lp-cta-banner .bix-button:hover {
  background: #fff;
  color: #f41a4a;
  border-color: #fff;
}

.lp-cta-contacts {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 28px;
}

.lp-cta-contacts a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}

.lp-cta-contacts a:hover {
  color: #f41a4a;
}

/* ─── Pricing Cards ──────────────────────────────────────────────────────── */

.lp-price-card {
  background: #fff;
  border-radius: 20px;
  padding: 36px 28px;
  border: 2px solid rgba(17, 26, 36, 0.08);
  transition: border-color 0.3s, transform 0.3s;
  height: 100%;
  position: relative;
}

.lp-price-card:hover,
.lp-price-card.featured {
  border-color: #f41a4a;
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(244, 26, 74, 0.12);
}

.lp-price-card .featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #f41a4a;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 10px;
}

.lp-price-card .price-name {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #777;
  margin-bottom: 8px;
}

.lp-price-card .price-value {
  font-size: 2.4rem;
  font-weight: 800;
  color: #111a24;
  line-height: 1;
  margin-bottom: 4px;
}

.lp-price-card .price-value sup {
  font-size: 1.2rem;
  vertical-align: top;
  margin-top: 6px;
}

.lp-price-card .price-desc {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 24px;
}

.lp-price-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}

.lp-price-card ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  font-size: 0.9rem;
  color: #495461;
  border-bottom: 1px solid rgba(17, 26, 36, 0.05);
}

.lp-price-card ul li:last-child { border-bottom: none; }
.lp-price-card ul li i { color: #f41a4a; }

/* ─── FAQ Accordion ──────────────────────────────────────────────────────── */

.lp-faq .accordion-item {
  border: 1px solid rgba(17, 26, 36, 0.08);
  border-radius: 12px !important;
  margin-bottom: 12px;
  overflow: hidden;
}

.lp-faq .accordion-button {
  font-weight: 600;
  font-size: 0.95rem;
  color: #111a24;
  background: #fff;
  border-radius: 12px;
  box-shadow: none;
}

.lp-faq .accordion-button:not(.collapsed) {
  color: #f41a4a;
  background: #fff9fb;
}

.lp-faq .accordion-button::after {
  filter: none;
}

.lp-faq .accordion-body {
  font-size: 0.9rem;
  color: #495461;
  line-height: 1.8;
  padding: 16px 20px 20px;
}

/* ─── Niche-specific hero bg tints ──────────────────────────────────────── */

.lp-hero-ristoranti { background: linear-gradient(135deg, #fff9f0 0%, #fff 60%); }
.lp-hero-ecommerce  { background: linear-gradient(135deg, #f0fff4 0%, #fff 60%); }
.lp-hero-professionisti { background: linear-gradient(135deg, #f0f4ff 0%, #fff 60%); }
.lp-hero-artigiani  { background: linear-gradient(135deg, #fffbf0 0%, #fff 60%); }
.lp-hero-mobile     { background: linear-gradient(135deg, #f5f0ff 0%, #fff 60%); }
.lp-hero-ai         { background: linear-gradient(135deg, #f0fbff 0%, #fff 60%); }
.lp-hero-consulenza { background: linear-gradient(135deg, #fff0f5 0%, #fff 60%); }

/* ─── Icon bg tints ──────────────────────────────────────────────────────── */
.icon-bg-yellow { background: rgb(237, 244, 179); }
.icon-bg-pink   { background: rgb(255, 213, 223); }
.icon-bg-blue   { background: rgb(213, 245, 255); }
.icon-bg-green  { background: rgb(214, 255, 213); }
.icon-bg-purple { background: rgb(230, 220, 255); }
.icon-bg-orange { background: rgb(255, 230, 200); }

/* ─── Responsive ─────────────────────────────────────────────────────────── */

@media (max-width: 991px) {
  .lp-hero { padding: 120px 0 60px; }
  .lp-cta-banner { padding: 48px 24px; }
}

@media (max-width: 767px) {
  .lp-stats { gap: 20px; }
  .lp-stat-item strong { font-size: 1.4rem; }
  .lp-hero-card { padding: 24px 20px; }
  .lp-process-step { flex-direction: column; gap: 12px; }
}

/* ─── Navbar dropdown for landing pages ─────────────────────────────────── */

.bix-navbar .dropdown-menu {
  border: 1px solid rgba(17, 26, 36, 0.1);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 12px 40px rgba(17, 26, 36, 0.12);
  min-width: 220px;
}

.bix-navbar .dropdown-item {
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: #495461;
  transition: background 0.2s, color 0.2s;
}

.bix-navbar .dropdown-item:hover {
  background: #fff0f3;
  color: #f41a4a;
}

.bix-navbar .dropdown-toggle::after {
  margin-left: 6px;
}

/* Mobile sub-menu */
.bix-menu .has-sub > a { cursor: pointer; }
.bix-menu .sub-menu {
  list-style: none;
  padding-left: 16px;
  margin-top: 4px;
}
.bix-menu .sub-menu li a {
  font-size: 0.85rem;
  color: #777;
  padding: 5px 0;
  display: block;
  text-decoration: none;
  transition: color 0.2s;
}
.bix-menu .sub-menu li a:hover { color: #f41a4a; }

/* Footer link styles */
footer .footer-services a {
  color: #495461;
  text-decoration: none;
  transition: color 0.2s;
}
footer .footer-services a:hover { color: #f41a4a; }
