/* Elivapro Connect — marketing landing + legal pages.
   Reuses the design tokens from app.css (--brand, --surface, etc.). */

body.landing, body.legal {
  display: block; height: auto; min-height: 100%;
  background: var(--bg); color: var(--text);
}

/* Channel accent colours reused on the landing. */
.g-wa { color: #25d366; } .g-fb { color: #0084ff; }
.g-ig { background: linear-gradient(90deg,#feda75,#d62976 60%,#4f5bd5); -webkit-background-clip: text; background-clip: text; color: transparent; }
.g-lead { color: #d97706; }

/* ---- Nav ---- */
.lp-nav {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1140px; margin: 0 auto; padding: 18px 22px;
}
.lp-brand { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 600; color: var(--text); text-decoration: none; }
.lp-brand b { font-weight: 800; color: var(--brand-strong); }
.lp-logo { display: inline-flex; }
.lp-nav-links { display: flex; align-items: center; gap: 22px; }
.lp-nav-links a { color: var(--text-soft); text-decoration: none; font-weight: 600; font-size: 15px; }
.lp-nav-links a:hover { color: var(--text); }
.lp-login { color: #fff !important; }

.btn-lg { padding: 13px 24px; font-size: 16px; border-radius: var(--radius); }

/* ---- Hero ---- */
.lp-hero {
  max-width: 1140px; margin: 0 auto; padding: 50px 22px 30px;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center;
}
.lp-eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase;
  color: var(--brand-strong); background: var(--brand-soft); padding: 6px 12px; border-radius: var(--radius-pill); margin-bottom: 18px;
}
.lp-hero h1 { font-size: clamp(30px, 5vw, 50px); line-height: 1.08; margin: 0 0 18px; letter-spacing: -.02em; }
.lp-sub { font-size: 17px; line-height: 1.6; color: var(--text-soft); margin: 0 0 26px; max-width: 560px; }
.lp-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.lp-trust { margin-top: 20px; font-size: 13px; color: var(--text-faint); }

/* Hero art */
.lp-hero-art { position: relative; min-height: 320px; }
.lp-chip {
  position: absolute; font-size: 13px; font-weight: 700; color: #fff;
  padding: 7px 14px; border-radius: var(--radius-pill); box-shadow: var(--shadow-md);
}
.lp-chip.wa { background: #25d366; top: 0; left: 10%; }
.lp-chip.fb { background: #0084ff; top: 38px; right: 4%; }
.lp-chip.ig { background: linear-gradient(135deg,#feda75,#d62976 60%,#4f5bd5); bottom: 30px; left: 0; }
.lp-chip.lead { background: #d97706; bottom: 0; right: 14%; }
.lp-inbox-card {
  position: absolute; top: 70px; left: 50%; transform: translateX(-50%);
  width: 280px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 14px;
}
.lp-row { display: flex; align-items: center; gap: 10px; padding: 11px 8px; font-size: 14px; color: var(--text); border-radius: var(--radius-sm); }
.lp-row + .lp-row { border-top: 1px solid var(--border); }
.lp-row .d { width: 10px; height: 10px; border-radius: 50%; flex: 0 0 auto; }
.d.wa { background: #25d366; } .d.fb { background: #0084ff; }
.d.ig { background: linear-gradient(135deg,#d62976,#4f5bd5); } .d.lead { background: #d97706; }

/* ---- Sections ---- */
.lp-section { max-width: 1140px; margin: 0 auto; padding: 64px 22px; }
.lp-section h2 { font-size: clamp(26px, 4vw, 38px); text-align: center; margin: 0 0 12px; letter-spacing: -.02em; }
.lp-section-sub { text-align: center; color: var(--text-soft); max-width: 640px; margin: 0 auto 10px; }
.lp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 38px; }
.lp-feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.lp-feature h3 { margin: 0 0 8px; font-size: 18px; }
.lp-feature p { margin: 0; color: var(--text-soft); font-size: 14.5px; line-height: 1.55; }

/* AI assistant section — tinted band + centered intro to set it apart */
.lp-ai { text-align: center; position: relative; }
.lp-ai::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 100% at 50% 0%, rgba(124, 92, 255, .10), transparent 60%);
  pointer-events: none; z-index: -1;
}
.lp-ai .lp-eyebrow { margin: 0 auto 14px; }
.lp-ai .lp-grid { text-align: left; }
.lp-ai .lp-feature { border-color: rgba(124, 92, 255, .28); }

.lp-channels { text-align: center; }
.lp-channel-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.lp-channel {
  display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 15px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-pill); padding: 11px 20px;
}
.lp-channel .dot { width: 11px; height: 11px; border-radius: 50%; }
.lp-channel.wa .dot { background: #25d366; } .lp-channel.fb .dot { background: #0084ff; }
.lp-channel.ig .dot { background: linear-gradient(135deg,#d62976,#4f5bd5); } .lp-channel.lead .dot { background: #d97706; }

/* ---- Footer ---- */
.lp-footer { border-top: 1px solid var(--border); background: var(--surface); }
.lp-footer-inner {
  max-width: 1140px; margin: 0 auto; padding: 26px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.lp-foot-brand { color: var(--text-soft); font-size: 14px; }
.lp-foot-brand b { color: var(--brand-strong); }
.lp-foot-links { display: flex; gap: 20px; flex-wrap: wrap; }
.lp-foot-links a { color: var(--text-soft); text-decoration: none; font-size: 14px; font-weight: 600; }
.lp-foot-links a:hover { color: var(--text); }

@media (max-width: 880px) {
  .lp-hero { grid-template-columns: 1fr; }
  .lp-hero-art { min-height: 300px; order: -1; }
  .lp-grid { grid-template-columns: 1fr; }
  .lp-nav-links a:not(.lp-login) { display: none; }
}

/* ---- Legal pages (privacy / terms) ---- */
.legal .legal-wrap { max-width: 820px; margin: 0 auto; padding: 30px 22px 80px; }
.legal h1 { font-size: 34px; margin: 10px 0 6px; }
.legal .updated { color: var(--text-faint); font-size: 14px; margin-bottom: 30px; }
.legal h2 { font-size: 21px; margin: 30px 0 10px; }
.legal p, .legal li { color: var(--text-soft); line-height: 1.65; font-size: 15.5px; }
.legal ul { padding-left: 22px; }
.legal a { color: var(--brand-strong); }
