/* ─── Makhzani landing page (Sahl-inspired, modern) ───────────────────────── */

.landing-page {
  --lp-primary: var(--mh-primary, #1b4332);
  --lp-secondary: var(--mh-primary-hover, #2d6a4f);
  --lp-accent: var(--mh-accent, #f57c00);
  --lp-yellow: #f9c74f;
  --lp-yellow-dark: #e8b020;
  --lp-text: var(--mh-text, #1e293b);
  --lp-muted: var(--mh-text-muted, #64748b);
  --lp-bg: var(--mh-bg, #f1f8f4);
  --lp-surface: #fff;
  font-family: 'Alexandria', system-ui, sans-serif;
  color: var(--lp-text);
  background: var(--lp-bg);
  scroll-behavior: smooth;
}

.lp-wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 5%;
}

/* Announcement */
.lp-announce {
  background: linear-gradient(90deg, #fff3cd, #ffe082);
  color: #5d4037;
  text-align: center;
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  border-bottom: 1px solid #ffcc80;
}

.lp-announce a {
  color: inherit;
  text-decoration: none;
}

.lp-announce a:hover { text-decoration: underline; }

/* Top bar */
.lp-topbar {
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  font-size: 0.8rem;
}

.lp-topbar-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 6px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.lp-top-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.lp-top-links a {
  color: var(--lp-muted);
  text-decoration: none;
  font-weight: 500;
}

.lp-top-links a:hover { color: var(--lp-primary); }

.lp-lang {
  color: var(--lp-primary);
  font-weight: 600;
  text-decoration: none;
}

/* Header */
.landing-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 5%;
  background: #fff;
  box-shadow: 0 1px 12px rgba(19, 42, 34, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
  gap: 12px;
}

.landing-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--lp-primary);
  font-weight: 800;
  font-size: 1.3rem;
}

.landing-brand img { height: 44px; width: auto; }

.lp-menu-btn {
  display: none;
  border: 1px solid var(--mh-border, #d8e2dc);
  background: #fff;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 1.2rem;
  cursor: pointer;
}

.lp-main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.lp-main-nav a {
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--lp-text);
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.15s, color 0.15s;
}

.lp-main-nav a:hover,
.lp-main-nav a.active {
  background: var(--mh-primary-light, #d8f3dc);
  color: var(--lp-primary);
}

.lp-main-nav .lp-nav-cta {
  background: var(--lp-secondary);
  color: #fff !important;
  margin-inline-start: 6px;
}

.lp-main-nav .lp-nav-cta:hover {
  background: var(--lp-primary);
}

/* Buttons */
.landing-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

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

.landing-btn-primary {
  background: var(--lp-primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(27, 67, 50, 0.3);
}

.landing-btn-outline {
  background: #fff;
  color: var(--lp-primary);
  border-color: var(--lp-primary);
}

.landing-btn-accent {
  background: var(--lp-accent);
  color: #fff;
  box-shadow: 0 4px 16px rgba(245, 124, 0, 0.35);
}

.landing-btn-yellow {
  background: var(--lp-yellow);
  color: #1a1a1a;
  border-color: var(--lp-yellow-dark);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.landing-btn-ghost-hero {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

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

/* Hero */
.landing-hero {
  position: relative;
  min-height: min(88vh, 820px);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.landing-slider {
  position: absolute;
  inset: 0;
}

.landing-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  background-size: cover;
  background-position: center;
}

.landing-slide.active {
  opacity: 1;
  z-index: 1;
}

.landing-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(19, 42, 34, 0.88) 0%,
    rgba(27, 67, 50, 0.72) 45%,
    rgba(45, 106, 79, 0.45) 100%
  );
}

.landing-hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 56px 5%;
  color: #fff;
}

.landing-hero-content h1 {
  font-size: clamp(1.75rem, 4.5vw, 2.85rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 14px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.lp-hero-lead {
  font-size: 1.05rem;
  line-height: 1.75;
  opacity: 0.92;
  margin-bottom: 20px;
  max-width: 580px;
}

.lp-hero-bullets {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
}

.lp-hero-bullets li {
  font-size: 0.95rem;
  font-weight: 600;
  padding-inline-start: 26px;
  position: relative;
}

.lp-hero-bullets li::before {
  content: '✓';
  position: absolute;
  inset-inline-start: 0;
  color: var(--lp-yellow);
  font-weight: 800;
}

.landing-hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.landing-slider-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}

.landing-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.landing-dot.active { background: #fff; }

/* Pillars */
.lp-pillars {
  padding: 72px 0;
  background: #fff;
}

.lp-section-heading {
  text-align: center;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 800;
  color: var(--lp-primary);
  margin-bottom: 40px;
}

.lp-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.lp-pillar {
  text-align: center;
  padding: 28px 20px;
  border-radius: 16px;
  background: var(--lp-bg);
  border: 1px solid var(--mh-border, #d8e2dc);
  transition: transform 0.2s, box-shadow 0.2s;
}

.lp-pillar:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(19, 42, 34, 0.1);
}

.lp-pillar-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: var(--lp-secondary) center/55% no-repeat;
}

.lp-pillar-icon--activity { background-color: #ff8f65; }
.lp-pillar-icon--easy { background-color: #f9c74f; }
.lp-pillar-icon--cost { background-color: #6c757d; }

.lp-pillar h3 {
  font-size: 1.1rem;
  color: var(--lp-primary);
  margin-bottom: 10px;
}

.lp-pillar p {
  font-size: 0.88rem;
  color: var(--lp-muted);
  line-height: 1.7;
  text-align: start;
}

/* Alternating showcase rows */
.lp-showcase {
  background: #fafafa;
}

.lp-row {
  padding: 64px 0;
  border-bottom: 1px solid #eee;
}

.lp-row:nth-child(even) {
  background: #fff;
}

.lp-row-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.lp-row-text h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
  color: var(--lp-primary);
  margin-bottom: 16px;
  line-height: 1.3;
}

.lp-row-text p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--lp-muted);
}

.lp-row-media {
  display: flex;
  justify-content: center;
}

/* Mockups */
.lp-mockup {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(19, 42, 34, 0.15);
  border: 1px solid #e0e0e0;
  overflow: hidden;
}

.lp-mockup-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #eceff1;
  border-bottom: 1px solid #ddd;
}

.lp-mockup-chrome span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cfd8dc;
}

.lp-mockup-chrome em {
  margin-inline-start: auto;
  font-size: 0.75rem;
  font-style: normal;
  color: var(--lp-muted);
  font-weight: 600;
}

.lp-mockup-body {
  padding: 16px;
  min-height: 200px;
}

.lp-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.lp-tile {
  padding: 14px 8px;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
  color: #fff;
}

.lp-tile--g { background: var(--lp-secondary); }
.lp-tile--b { background: #1565c0; }

.lp-table-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #c2185b;
  margin-bottom: 10px;
}

.lp-table { font-size: 0.72rem; }

.lp-tr {
  display: grid;
  grid-template-columns: repeat(var(--cols, 3), 1fr);
  gap: 4px;
  padding: 6px 4px;
  border-bottom: 1px solid #eee;
}

.lp-tr--head {
  font-weight: 700;
  background: #e8f5e9;
  color: var(--lp-primary);
}

.lp-tr--sel { background: #c8e6c9; }
.lp-tr--foot { font-weight: 700; background: #f5f5f5; }

.lp-num { color: #1b5e20; font-weight: 700; }

.lp-mockup--accounts .lp-tr,
.lp-mockup--warehouse .lp-tr { --cols: 4; }

.lp-mockup--item-movement .lp-tr,
.lp-mockup--treasury .lp-tr { --cols: 4; }

.lp-invoice-stack {
  position: relative;
  height: 180px;
}

.lp-inv {
  position: absolute;
  width: 75%;
  height: 120px;
  border-radius: 8px;
  border: 1px solid #ccc;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.lp-inv--1 { top: 0; inset-inline-start: 0; border-top: 4px solid var(--lp-secondary); }
.lp-inv--2 { top: 24px; inset-inline-start: 12%; z-index: 1; border-top: 4px solid #1565c0; }
.lp-inv--3 { top: 48px; inset-inline-start: 24%; z-index: 2; border-top: 4px solid var(--lp-accent); }

.lp-chart {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 140px;
  padding-top: 20px;
}

.lp-bar {
  flex: 1;
  height: var(--h, 50%);
  background: linear-gradient(180deg, #90caf9, #42a5f5);
  border-radius: 4px 4px 0 0;
}

.lp-chart-label {
  margin-top: 12px;
  font-size: 0.75rem;
  color: var(--lp-muted);
  text-align: center;
}

.lp-balance {
  background: #e8f5e9;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 10px;
  font-size: 0.85rem;
}

.lp-balance strong { color: var(--lp-primary); }

.lp-perms { font-size: 0.75rem; }

.lp-perm-row {
  display: grid;
  grid-template-columns: 1fr repeat(3, 28px);
  gap: 6px;
  padding: 6px 0;
  border-bottom: 1px solid #eee;
  align-items: center;
}

.lp-chk {
  width: 18px;
  height: 18px;
  border: 2px solid #bbb;
  border-radius: 4px;
}

.lp-chk.on {
  background: var(--lp-secondary);
  border-color: var(--lp-secondary);
}

.lp-branch label {
  font-size: 0.8rem;
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
}

.lp-select {
  background: #fff;
  border: 1px solid #ccc;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 8px;
  font-size: 0.8rem;
}

.lp-barcode {
  background: #fff9c4;
  padding: 2px 6px;
  font-family: monospace;
  letter-spacing: 1px;
}

.lp-backup {
  background: linear-gradient(180deg, #ffebee, #ffcdd2);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}

.lp-backup p {
  font-weight: 700;
  margin-bottom: 14px;
  font-size: 0.9rem;
}

.lp-backup-btns {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.lp-yes, .lp-no {
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.85rem;
}

.lp-yes { background: #2e7d32; color: #fff; }
.lp-no { background: #c62828; color: #fff; }

.lp-filters {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.lp-pill {
  padding: 4px 10px;
  border-radius: 20px;
  background: #eee;
  font-size: 0.7rem;
  font-weight: 600;
}

.lp-pill.active {
  background: var(--lp-secondary);
  color: #fff;
}

.lp-prices {
  text-align: center;
}

.lp-price {
  display: inline-block;
  margin: 4px;
  padding: 8px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
}

.lp-price.active {
  background: var(--lp-secondary);
  color: #fff;
  border-color: var(--lp-secondary);
}

.lp-pos-line {
  margin-top: 16px;
  padding: 12px;
  background: #f5f5f5;
  border-radius: 8px;
  font-size: 0.85rem;
}

.lp-touch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.lp-touch-item {
  background: #eceff1;
  padding: 20px 8px;
  text-align: center;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
}

.lp-update {
  background: #e3f2fd;
  padding: 24px;
  border-radius: 10px;
  text-align: center;
  border: 2px solid #1565c0;
}

.lp-update p {
  font-weight: 700;
  margin-bottom: 12px;
}

.lp-update span {
  display: inline-block;
  background: var(--lp-secondary);
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
}

/* Features grid */
.landing-section {
  padding: 64px 5%;
}

.landing-section-title {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--lp-primary);
  margin-bottom: 40px;
}

.landing-features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.landing-feature-card {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border-top: 4px solid var(--lp-secondary);
  transition: transform 0.2s;
}

.landing-feature-card:hover { transform: translateY(-4px); }

.landing-feature-card h3 {
  font-size: 1.05rem;
  color: var(--lp-primary);
  margin-bottom: 8px;
}

.landing-feature-card p {
  font-size: 0.9rem;
  color: var(--lp-muted);
  line-height: 1.6;
}

.landing-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  background: linear-gradient(135deg, var(--lp-primary), var(--lp-secondary));
  border-radius: 16px;
  padding: 36px 28px;
  color: #fff;
}

.landing-stat strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
}

.landing-stat span {
  font-size: 0.85rem;
  opacity: 0.9;
}

/* CTA band */
.landing-cta-band {
  text-align: center;
  padding: 56px 5%;
  background: linear-gradient(135deg, var(--lp-secondary), var(--lp-primary));
  color: #fff;
}

.landing-cta-band h2 {
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  margin-bottom: 24px;
  font-weight: 800;
}

.lp-cta-band-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Footer */
.lp-footer {
  background: var(--lp-primary);
  color: #fff;
  padding: 48px 0 0;
}

.lp-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
}

.lp-footer h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.lp-footer p,
.lp-footer-list {
  font-size: 0.9rem;
  line-height: 1.75;
  opacity: 0.92;
}

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

.landing-footer {
  text-align: center;
  padding: 20px;
  font-size: 0.85rem;
  background: rgba(0, 0, 0, 0.15);
  opacity: 0.9;
}

/* LTR tweaks */
html[dir='ltr'] .lp-hero-bullets li {
  padding-inline-start: 0;
  padding-left: 26px;
}

html[dir='ltr'] .lp-hero-bullets li::before {
  inset-inline-start: auto;
  left: 0;
}

/* Responsive */
@media (max-width: 960px) {
  .lp-pillars-grid { grid-template-columns: 1fr; }
  .lp-row-inner { grid-template-columns: 1fr; gap: 28px; }
  .lp-row--img-left .lp-row-media { order: -1; }
  .lp-footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .lp-menu-btn { display: block; }

  .lp-main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 12px 5%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-top: 1px solid #eee;
  }

  .lp-main-nav.open { display: flex; }

  .landing-header { position: relative; flex-wrap: wrap; }

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

  .landing-hero { min-height: 85vh; }

  .landing-hero-content { padding-top: 32px; }

  .lp-row { padding: 40px 0; }
}

/* ─── Pricing & Subscribe ─────────────────────────────────────────────────── */

.lp-page-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
  padding-top: 32px;
}

.lp-page-intro h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--lp-primary);
  margin-bottom: 12px;
}

.lp-page-intro p {
  color: var(--lp-muted);
  line-height: 1.75;
  margin-bottom: 12px;
}

.lp-badge-free {
  display: inline-block;
  background: linear-gradient(135deg, #fff3cd, var(--lp-yellow));
  color: #5d4037;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid #ffcc80;
  margin-top: 8px;
}

.lp-inline-link {
  color: var(--lp-secondary);
  font-weight: 700;
  text-decoration: none;
}

.lp-inline-link:hover { text-decoration: underline; }

.lp-pricing-page {
  padding-bottom: 48px;
  background: #fff;
}

.lp-pricing-grid {
  display: grid;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto 48px;
}

.lp-pricing-grid--two {
  grid-template-columns: repeat(2, 1fr);
}

.lp-price-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(19, 42, 34, 0.1);
  border: 1px solid #e8e8e8;
  position: relative;
  display: flex;
  flex-direction: column;
}

.lp-price-card--featured {
  border-color: var(--lp-secondary);
  box-shadow: 0 12px 40px rgba(45, 106, 79, 0.2);
}

.lp-price-card-badge {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  background: var(--lp-accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  z-index: 2;
}

.lp-price-card-head {
  padding: 20px 16px;
  text-align: center;
  color: #fff;
}

.lp-price-card-head--green { background: var(--lp-secondary); }
.lp-price-card-head--blue { background: #42a5f5; }

.lp-price-card-head h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
}

.lp-price-card-body {
  padding: 24px 20px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.lp-price-amount {
  text-align: center;
  margin-bottom: 20px;
}

.lp-price-num {
  display: block;
  font-size: 3rem;
  font-weight: 800;
  color: var(--lp-primary);
  line-height: 1;
}

.lp-price-unit {
  display: block;
  font-size: 0.82rem;
  color: var(--lp-muted);
  margin-top: 6px;
}

.lp-price-features {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  flex: 1;
}

.lp-price-features li {
  padding: 8px 0;
  padding-inline-start: 22px;
  position: relative;
  font-size: 0.9rem;
  color: #424242;
  border-bottom: 1px solid #f0f0f0;
}

.lp-price-features li::before {
  content: '•';
  position: absolute;
  inset-inline-start: 6px;
  color: var(--lp-secondary);
  font-weight: 800;
}

.lp-price-features .lp-highlight {
  color: var(--lp-primary);
  font-weight: 700;
}

.lp-price-cta {
  width: 100%;
  text-align: center;
}

.lp-payment-note {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 640px;
  margin: 0 auto;
  padding: 24px;
  background: var(--lp-bg);
  border-radius: 14px;
  border: 1px solid var(--mh-border, #d8e2dc);
}

.lp-payment-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.lp-payment-note h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  color: var(--lp-primary);
}

.lp-payment-note p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--lp-muted);
  line-height: 1.6;
}

/* Subscribe */
.lp-subscribe-page {
  padding-bottom: 56px;
  background: #fafafa;
}

.lp-subscribe-config {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.lp-config-box {
  background: #fff;
  border-radius: 14px;
  padding: 18px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.lp-config-box h3 {
  margin: 0 0 14px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--lp-primary);
}

.lp-plan-toggle {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lp-plan-opt {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 2px solid #e0e0e0;
  cursor: pointer;
  font-weight: 600;
  transition: border-color 0.15s, background 0.15s;
}

.lp-plan-opt.active {
  border-color: var(--lp-secondary);
  background: var(--mh-primary-light, #d8f3dc);
  color: var(--lp-primary);
}

.lp-plan-opt input { accent-color: var(--lp-secondary); }

.lp-device-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.lp-device-stepper button {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 10px;
  background: var(--lp-secondary);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  font-weight: 700;
}

.lp-device-stepper span {
  font-size: 2rem;
  font-weight: 800;
  min-width: 48px;
  text-align: center;
  color: var(--lp-primary);
}

.lp-config-price .lp-price-display {
  background: var(--lp-secondary);
  color: #fff;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}

.lp-config-price .lp-price-display span {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.lp-config-price .lp-price-display small {
  display: block;
  margin-top: 6px;
  opacity: 0.9;
}

.lp-price-hint {
  margin: 10px 0 0;
  font-size: 0.78rem;
  color: var(--lp-muted);
  line-height: 1.5;
}

.lp-alert-error {
  background: #ffebee;
  color: #b71c1c;
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 16px;
  border: 1px solid #ef9a9a;
}

.lp-subscribe-form {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}

.lp-form-block {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid #eee;
}

.lp-form-block:last-of-type { border-bottom: none; }

.lp-form-block h3 {
  margin: 0 0 16px;
  font-size: 1.05rem;
  color: var(--lp-primary);
}

.lp-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.lp-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: #424242;
}

.lp-field input,
.lp-field select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d0d0d0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
}

.lp-field input:focus,
.lp-field select:focus {
  border-color: var(--lp-secondary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(64, 145, 108, 0.15);
}

.lp-form-note {
  font-size: 0.85rem;
  color: var(--lp-muted);
  margin: 0 0 10px;
}

.lp-referral {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.lp-referral label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.lp-terms {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 20px 0;
  font-size: 0.88rem;
  cursor: pointer;
}

.lp-subscribe-submit {
  width: 100%;
  padding: 16px;
  font-size: 1.05rem;
}

/* Download */
.lp-download-page {
  padding: 40px 0 56px;
  background: #fff;
}

.lp-download-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.lp-download-text h1 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--lp-primary);
  margin-bottom: 12px;
}

.lp-download-form-card {
  background: var(--lp-bg);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid var(--mh-border, #d8e2dc);
}

.lp-download-form-card h2 {
  margin: 0 0 16px;
  font-size: 1.1rem;
  color: var(--lp-primary);
}

.lp-download-preview .lp-mockup {
  max-width: 100%;
}

@media (max-width: 960px) {
  .lp-pricing-grid--two { grid-template-columns: 1fr; }
  .lp-subscribe-config { grid-template-columns: 1fr; }
  .lp-download-inner { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .lp-form-grid { grid-template-columns: 1fr; }
}

/* ─── Partners / Support / Legal ─────────────────────────────────────────── */
.lp-inner-page { padding: 32px 0 48px; background: #fff; }
.lp-page-intro { text-align: center; max-width: 720px; margin: 0 auto 28px; }
.lp-page-intro h1 { font-size: 1.85rem; font-weight: 800; color: var(--lp-primary); margin: 0 0 12px; }
.lp-page-intro p { color: var(--lp-muted); line-height: 1.7; margin: 0; }

.lp-info-strip { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; }
.lp-info-box { flex: 1 1 200px; padding: 12px 16px; border-radius: 10px; font-size: 0.9rem; line-height: 1.5; }
.lp-info-box--gray { background: #f0f4f2; }
.lp-info-box--yellow { background: #fff8e1; }
.lp-info-box--orange { background: #fff3e0; }
.lp-info-box--warn { background: #fce4ec; color: #880e4f; }

.lp-city-filter { margin: 20px 0 28px; }
.lp-city-filter label { font-weight: 700; display: block; margin-bottom: 10px; }
.lp-city-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-city-btn {
  padding: 8px 14px; border: 1px solid var(--mh-border, #d8e2dc);
  border-radius: 8px; background: #fff; cursor: pointer; font-family: inherit; font-size: 0.88rem;
}
.lp-city-btn.active { background: var(--lp-accent, #f57c00); color: #fff; border-color: transparent; }

.lp-partner-card {
  display: grid; grid-template-columns: 1fr auto; gap: 20px;
  padding: 24px 0; border-bottom: 1px solid var(--mh-border, #d8e2dc);
  align-items: start;
}
.lp-partner-card[hidden] { display: none !important; }
.lp-partner-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.lp-badge { padding: 4px 10px; border-radius: 6px; font-size: 0.78rem; font-weight: 700; }
.lp-badge--cert { background: #fff176; color: #333; }
.lp-badge--city { background: #eceff1; color: #455a64; }
.lp-partner-logo {
  width: 88px; height: 88px; border-radius: 12px; background: linear-gradient(135deg, #1b4332, #2d6a4f);
  display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 1.5rem;
}
.lp-partner-meta { font-size: 0.9rem; color: var(--lp-muted); margin-top: 10px; }
.lp-partner-meta a { color: var(--lp-primary); }

.lp-contact-bar {
  display: inline-flex; align-items: center; gap: 12px; padding: 12px 20px;
  background: #e3f2fd; border-radius: 12px; margin: 16px 0;
}
.lp-contact-bar a { font-weight: 700; color: var(--lp-primary); }

.lp-support-hub { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 28px 0; }
.lp-support-box {
  background: #e3f2fd; border-radius: 16px; padding: 28px; text-align: center;
}
.lp-support-emoji { font-size: 2rem; line-height: 1; display: block; }
.lp-support-box h3 { margin: 12px 0 8px; font-size: 1.1rem; }
.lp-support-box p { font-size: 0.9rem; color: var(--lp-muted); margin: 0; }

.lp-support-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.lp-support-ticket {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(27, 67, 50, 0.1);
  border-radius: 20px;
  padding: 28px 28px 32px;
  box-shadow: 0 12px 40px rgba(27, 67, 50, 0.08);
  scroll-margin-top: 88px;
}

.lp-support-ticket__head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(27, 67, 50, 0.08);
}

.lp-support-ticket__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--lp-primary, #1b4332), var(--lp-secondary, #2d6a4f));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lp-support-ticket__head h2 {
  margin: 0 0 6px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--lp-primary);
}

.lp-support-ticket__head p {
  margin: 0;
  color: var(--lp-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.lp-support-ticket__alert { margin-bottom: 20px; }

.lp-support-ticket__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.lp-support-ticket__form .lp-field { margin-bottom: 18px; }

.lp-support-ticket__form label,
.lp-support-ticket__form .lp-field-label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--lp-primary);
  font-size: 0.92rem;
}

.lp-field-hint {
  margin: 6px 0 0;
  font-size: 0.82rem;
  color: var(--lp-muted);
}

.lp-support-ticket__form input,
.lp-support-ticket__form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 2px solid #e8ecea;
  background: #fafbfa;
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.lp-support-ticket__form input:focus,
.lp-support-ticket__form textarea:focus {
  outline: none;
  border-color: var(--lp-secondary, #2d6a4f);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.12);
}

.lp-support-ticket__form textarea {
  min-height: 128px;
  resize: vertical;
  line-height: 1.55;
}

.lp-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 10px;
}

.lp-category-chip {
  position: relative;
  cursor: pointer;
  margin: 0;
}

.lp-category-chip input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.lp-category-chip span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 12px;
  border: 2px solid #e3e8e5;
  border-radius: 12px;
  background: #f8faf9;
  text-align: center;
  font-weight: 600;
  font-size: 0.88rem;
  line-height: 1.35;
  color: #3d4f47;
  transition: border-color 0.15s, background 0.15s, color 0.15s, box-shadow 0.15s, transform 0.12s;
}

.lp-category-chip:hover span {
  border-color: #b8cfc4;
  background: #f0f7f3;
}

.lp-category-chip input:focus-visible + span {
  box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.2);
}

.lp-category-chip input:checked + span {
  border-color: var(--lp-primary, #1b4332);
  background: linear-gradient(180deg, #edf7f1 0%, #e3f2ea 100%);
  color: var(--lp-primary, #1b4332);
  box-shadow: 0 4px 14px rgba(27, 67, 50, 0.12);
  transform: translateY(-1px);
}

.lp-support-ticket__submit {
  width: 100%;
  margin-top: 8px;
  padding: 14px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 800;
  border-radius: 12px;
}

.lp-support-ticket__submit:disabled {
  opacity: 0.75;
  cursor: wait;
}

.lp-form-page { max-width: 720px; margin: 0 auto; }
.lp-form-page .lp-field { margin-bottom: 16px; }
.lp-form-page label { display: block; font-weight: 600; margin-bottom: 6px; }
.lp-form-page input, .lp-form-page textarea, .lp-form-page select {
  width: 100%; padding: 12px 14px; border: none; border-bottom: 2px solid #cfd8dc;
  background: #f5f5f5; border-radius: 8px 8px 0 0; font-family: inherit; font-size: 1rem;
}
.lp-form-page textarea { min-height: 120px; resize: vertical; }
.lp-radio-row { display: flex; flex-wrap: wrap; gap: 16px; margin: 8px 0; }
.lp-phone-row { display: grid; grid-template-columns: 100px 1fr; gap: 8px; }

.lp-phone-verify-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.lp-phone-verified-badge {
  color: var(--lp-primary, #1b4332);
  font-weight: 700;
  font-size: 0.95rem;
}

.lp-phone-otp-row {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--mh-border, #d8e2dc);
}

.lp-phone-otp-row label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.lp-phone-otp-inputs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.lp-otp-code {
  width: 140px;
  padding: 12px 14px;
  font-size: 1.2rem;
  letter-spacing: 0.2em;
  text-align: center;
  border: 2px solid var(--mh-border, #d8e2dc);
  border-radius: 8px;
  background: #fff;
}

.lp-phone-otp-msg {
  margin: 8px 0 0;
  font-size: 0.88rem;
  min-height: 1.2em;
}
.lp-legal-doc { max-width: 800px; margin: 0 auto; }
.lp-legal-doc section { margin-bottom: 28px; }
.lp-legal-doc h2 { font-size: 1.15rem; color: var(--lp-primary); margin: 0 0 10px; }
.lp-legal-doc p, .lp-legal-doc li { line-height: 1.75; color: #333; white-space: pre-line; }

.lp-footer { background: var(--lp-primary, #1b4332); color: #fff; padding: 40px 0 0; margin-top: 40px; }
.lp-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; padding-bottom: 32px; }
.lp-footer h3 { font-size: 1.1rem; margin: 0 0 12px; }
.lp-footer p, .lp-footer-list { font-size: 0.9rem; opacity: 0.92; line-height: 1.6; }
.lp-footer-list { list-style: none; padding: 0; margin: 0; }
.lp-footer-list li { margin-bottom: 8px; }
.lp-footer a { color: #fff; text-decoration: underline; }

.lp-alert { padding: 12px 16px; border-radius: 10px; margin-bottom: 20px; }
.lp-alert--ok { background: #e8f5e9; color: #1b5e20; }
.lp-alert--err { background: #ffebee; color: #b71c1c; }

@media (max-width: 768px) {
  .lp-support-hub { grid-template-columns: 1fr; }
  .lp-support-info-grid { grid-template-columns: 1fr; }
  .lp-support-ticket { padding: 20px 16px 24px; border-radius: 16px; }
  .lp-support-ticket__grid { grid-template-columns: 1fr; }
  .lp-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-partner-card { grid-template-columns: 1fr; }
  .lp-footer-grid { grid-template-columns: 1fr; }
}

/* ── Home page launch offer banner ───────────────────────────────── */
.lp-home-offer-wrap { padding: 38px 0 6px; }
.lp-home-offer {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 26px 30px;
  border-radius: 22px;
  background: linear-gradient(125deg, #0f5132 0%, #1b7a4b 48%, #2e9e63 100%);
  box-shadow: 0 18px 46px rgba(15, 81, 50, 0.28);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.lp-home-offer-glow {
  position: absolute;
  inset-inline-end: -80px;
  top: -120px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255, 224, 130, 0.55) 0%, rgba(255, 224, 130, 0) 70%);
  pointer-events: none;
}
.lp-home-offer-icon {
  font-size: 2.7rem;
  line-height: 1;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.25));
  animation: lp-offer-pop 2.4s ease-in-out infinite;
}
@keyframes lp-offer-pop {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-5px) rotate(-6deg); }
}
.lp-home-offer-body { flex: 1 1 auto; position: relative; z-index: 1; min-width: 0; }
.lp-home-offer-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 3px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff8e1;
  margin-bottom: 8px;
}
.lp-home-offer-title {
  margin: 0 0 8px;
  font-size: 1.34rem;
  font-weight: 800;
  line-height: 1.35;
  color: #fff;
}
.lp-home-offer-text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
  max-width: 760px;
}
.lp-home-offer-cta {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.98rem;
  background: #ffd54f;
  color: #1b4332;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.lp-home-offer-cta:hover {
  background: #ffca28;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.24);
}

@media (max-width: 768px) {
  .lp-home-offer { flex-direction: column; text-align: center; padding: 24px 20px; gap: 14px; }
  .lp-home-offer-text { max-width: none; }
  .lp-home-offer-cta { width: 100%; justify-content: center; }
}
