/* ============================================================
   Dynamic BI Report Builder — Landing Page Styles
   All rules are scoped under .lp-* / #lp-* to avoid collisions
   with the existing application.
   ============================================================ */

:root {
  --lp-primary: #00b86b;
  --lp-primary-dark: #009556;
  --lp-primary-light: #e6faf1;
  --lp-accent: #00dc82;
  --lp-navy: #0b1220;
  --lp-navy-2: #101a2e;
  --lp-text: #1c2434;
  --lp-muted: #5b6779;
  --lp-border: #e6eaf0;
  --lp-bg-soft: #f6f9fc;
  --lp-radius: 16px;
  --lp-shadow: 0 8px 30px rgba(11, 18, 32, .08);
  --lp-shadow-lg: 0 20px 60px rgba(11, 18, 32, .16);
}

.lp-page {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--lp-text);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
.lp-page * { box-sizing: border-box; }
.lp-page img { max-width: 100%; display: block; }
.lp-page a { text-decoration: none; color: inherit; }

.lp-container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.lp-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 10px;
  font-weight: 600; font-size: 15px; cursor: pointer;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
  white-space: nowrap;
}
.lp-btn:hover { transform: translateY(-2px); }
.lp-btn-primary {
  background: linear-gradient(135deg, var(--lp-primary) 0%, var(--lp-accent) 100%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 184, 107, .35);
}
.lp-btn-primary:hover { box-shadow: 0 12px 28px rgba(0, 184, 107, .45); }
.lp-btn-ghost {
  background: #fff;
  color: var(--lp-text);
  border-color: var(--lp-border);
  box-shadow: 0 6px 16px rgba(11, 18, 32, .06);
}
.lp-btn-ghost:hover {
  background: var(--lp-primary-light);
  border-color: rgba(0, 184, 107, .35);
  color: var(--lp-primary-dark);
  box-shadow: 0 10px 24px rgba(0, 184, 107, .14);
}
.lp-btn-dark { background: var(--lp-navy); color: #fff; }
.lp-btn-dark:hover { background: #16233f; }
.lp-btn-lg { padding: 16px 34px; font-size: 16px; }

/* ---------- Navbar ---------- */
.lp-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.lp-nav.lp-nav-scrolled { border-color: var(--lp-border); box-shadow: 0 4px 20px rgba(11, 18, 32, .06); }
.lp-nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.lp-logo { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 800; letter-spacing: -.3px; }
.lp-logo-mark {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--lp-primary), var(--lp-accent)); color: #fff;
}
.lp-nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.lp-nav-links a { font-size: 15px; font-weight: 500; color: var(--lp-muted); transition: color .15s; }
.lp-nav-links a:hover, .lp-nav-links a.lp-active { color: var(--lp-primary-dark); }
.lp-nav-cta { display: flex; align-items: center; gap: 12px; }
.lp-nav-cta .lp-btn { padding: 10px 20px; font-size: 14px; }

.lp-burger {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
}
.lp-burger span { display: block; width: 22px; height: 2px; background: var(--lp-text); margin: 5px 0; border-radius: 2px; transition: .25s; }
.lp-burger.lp-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.lp-burger.lp-open span:nth-child(2) { opacity: 0; }
.lp-burger.lp-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.lp-mobile-menu { display: none; border-top: 1px solid var(--lp-border); background: #fff; padding: 12px 24px 20px; }
.lp-mobile-menu.lp-open { display: block; }
.lp-mobile-menu a { display: block; padding: 11px 4px; font-weight: 500; color: var(--lp-text); border-bottom: 1px solid var(--lp-bg-soft); }
.lp-mobile-menu .lp-btn { width: 100%; justify-content: center; margin-top: 14px; }

/* ---------- Hero ---------- */
.lp-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(0, 220, 130, .14), transparent 60%),
    radial-gradient(700px 420px at 0% 10%, rgba(0, 184, 107, .10), transparent 55%),
    linear-gradient(180deg, #fbfdff 0%, #f2f7f5 100%);
  padding: 84px 0 0;
}
.lp-hero-inner { text-align: center; max-width: 860px; margin: 0 auto; }
.lp-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--lp-border); border-radius: 999px;
  padding: 7px 16px; font-size: 13px; font-weight: 600; color: var(--lp-primary-dark);
  box-shadow: var(--lp-shadow);
}
.lp-hero h1 {
  font-size: clamp(34px, 5.4vw, 58px); line-height: 1.1; letter-spacing: -1.5px;
  margin: 22px 0 18px; font-weight: 800;
}
.lp-grad-text {
  background: linear-gradient(120deg, var(--lp-primary-dark), var(--lp-accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lp-hero p.lp-sub { font-size: 18px; color: var(--lp-muted); max-width: 660px; margin: 0 auto 30px; }
.lp-hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.lp-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: center; margin: 30px 0 0; padding: 0; list-style: none; }
.lp-trust li { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--lp-muted); }
.lp-trust svg { color: var(--lp-primary); flex: none; }

.lp-hero-shot { margin: 52px auto -2px; max-width: 1020px; position: relative; }
.lp-hero-shot::before {
  content: ""; position: absolute; inset: auto 8% -30px 8%; height: 80px;
  background: rgba(0, 184, 107, .25); filter: blur(50px); border-radius: 50%;
}
.lp-hero-shot img {
  position: relative; width: 100%; border-radius: 18px 18px 0 0;
  border: 1px solid var(--lp-border); border-bottom: 0;
  box-shadow: var(--lp-shadow-lg);
}

/* ---------- Stats ---------- */
.lp-stats { background: var(--lp-navy); color: #fff; padding: 46px 0; }
.lp-stats-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; text-align: center; }
.lp-stat b { display: block; font-size: 30px; font-weight: 800; letter-spacing: -.5px; color: var(--lp-accent); }
.lp-stat span { font-size: 13px; color: #9fb0c7; font-weight: 500; }

/* ---------- Generic section ---------- */
.lp-section { padding: 92px 0; }
.lp-section-alt { background: var(--lp-bg-soft); }
.lp-section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.lp-kicker {
  display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--lp-primary-dark);
  background: var(--lp-primary-light); border-radius: 999px; padding: 6px 14px; margin-bottom: 14px;
}
.lp-section-head h2 { font-size: clamp(26px, 3.6vw, 40px); letter-spacing: -1px; margin: 0 0 14px; font-weight: 800; }
.lp-section-head p { color: var(--lp-muted); font-size: 16.5px; margin: 0; }

/* ---------- Feature cards ---------- */
.lp-features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.lp-feature {
  background: #fff; border: 1px solid var(--lp-border); border-radius: var(--lp-radius);
  padding: 26px 24px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.lp-feature:hover { transform: translateY(-6px); box-shadow: var(--lp-shadow-lg); border-color: rgba(0, 184, 107, .4); }
.lp-feature-icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--lp-primary-light); color: var(--lp-primary-dark); margin-bottom: 16px;
}
.lp-feature h3 { font-size: 16.5px; margin: 0 0 8px; font-weight: 700; }
.lp-feature p { font-size: 14px; color: var(--lp-muted); margin: 0; }

/* ---------- Screenshot gallery ---------- */
.lp-gallery-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 30px; }
.lp-tab {
  border: 1px solid var(--lp-border); background: #fff; color: var(--lp-muted);
  padding: 9px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; cursor: pointer;
  transition: all .18s ease;
}
.lp-tab:hover { border-color: var(--lp-primary); color: var(--lp-primary-dark); }
.lp-tab.lp-active {
  background: linear-gradient(135deg, var(--lp-primary), var(--lp-accent));
  color: #fff; border-color: transparent; box-shadow: 0 6px 16px rgba(0, 184, 107, .35);
}
.lp-gallery-stage {
  background: #fff; border: 1px solid var(--lp-border); border-radius: 20px;
  box-shadow: var(--lp-shadow-lg); overflow: hidden; max-width: 980px; margin: 0 auto;
}
.lp-shot-pane { display: none; }
.lp-shot-pane.lp-active { display: block; animation: lpFade .35s ease; }
.lp-shot-pane img { width: 100%; }
.lp-shot-caption { padding: 18px 26px; border-top: 1px solid var(--lp-border); display: flex; flex-direction: column; gap: 2px; }
.lp-shot-caption b { font-size: 15.5px; }
.lp-shot-caption span { font-size: 13.5px; color: var(--lp-muted); }
@keyframes lpFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Modules ---------- */
.lp-modules-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.lp-module {
  background: #fff; border: 1px solid var(--lp-border); border-radius: var(--lp-radius);
  padding: 24px; display: flex; gap: 16px; align-items: flex-start;
  transition: transform .2s ease, box-shadow .2s ease;
}
.lp-module:hover { transform: translateY(-4px); box-shadow: var(--lp-shadow); }
.lp-module-icon {
  flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--lp-navy); color: var(--lp-accent);
}
.lp-module h3 { margin: 0 0 6px; font-size: 16px; font-weight: 700; }
.lp-module p { margin: 0; font-size: 13.5px; color: var(--lp-muted); }

/* ---------- Why choose ---------- */
.lp-why { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.lp-why-img img { border-radius: 18px; border: 1px solid var(--lp-border); box-shadow: var(--lp-shadow-lg); }
.lp-why-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 18px; }
.lp-why-list li { display: flex; gap: 14px; align-items: flex-start; }
.lp-check {
  flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center;
  background: var(--lp-primary-light); color: var(--lp-primary-dark); margin-top: 2px;
}
.lp-why-list b { display: block; font-size: 15.5px; }
.lp-why-list span { font-size: 14px; color: var(--lp-muted); }

/* ---------- Pricing ---------- */
.lp-pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.lp-price-card {
  background: #fff; border: 1px solid var(--lp-border); border-radius: 20px; padding: 34px 30px;
  display: flex; flex-direction: column; position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.lp-price-card:hover { transform: translateY(-6px); box-shadow: var(--lp-shadow-lg); }
.lp-price-card.lp-featured {
  border: 2px solid var(--lp-primary);
  box-shadow: 0 24px 60px rgba(0, 184, 107, .22);
}
.lp-badge-popular {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--lp-primary), var(--lp-accent)); color: #fff;
  font-size: 12px; font-weight: 700; padding: 5px 16px; border-radius: 999px; letter-spacing: .4px;
}
.lp-price-card h3 { margin: 0; font-size: 18px; font-weight: 700; }
.lp-price-card .lp-plan-desc { color: var(--lp-muted); font-size: 13.5px; margin: 6px 0 18px; }
.lp-price { font-size: 44px; font-weight: 800; letter-spacing: -1.5px; }
.lp-price small { font-size: 14px; color: var(--lp-muted); font-weight: 500; letter-spacing: 0; }
.lp-price-feats { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 11px; flex: 1; }
.lp-price-feats li { display: flex; gap: 10px; font-size: 14px; color: var(--lp-text); align-items: flex-start; }
.lp-price-feats svg { color: var(--lp-primary); flex: none; margin-top: 3px; }
.lp-price-card .lp-btn { justify-content: center; }

/* ---------- FAQ ---------- */
.lp-faq { max-width: 760px; margin: 0 auto; }
.lp-faq-item { background: #fff; border: 1px solid var(--lp-border); border-radius: 14px; margin-bottom: 12px; overflow: hidden; }
.lp-faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  background: none; border: 0; cursor: pointer; text-align: left;
  padding: 19px 22px; font-size: 15.5px; font-weight: 600; color: var(--lp-text); font-family: inherit;
}
.lp-faq-q svg { flex: none; transition: transform .25s ease; color: var(--lp-primary-dark); }
.lp-faq-item.lp-open .lp-faq-q svg { transform: rotate(45deg); }
.lp-faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.lp-faq-a p { margin: 0; padding: 0 22px 20px; color: var(--lp-muted); font-size: 14.5px; }

/* ---------- Final CTA ---------- */
.lp-cta {
  background:
    radial-gradient(700px 300px at 80% 0%, rgba(0, 220, 130, .25), transparent 60%),
    linear-gradient(135deg, var(--lp-navy) 0%, var(--lp-navy-2) 100%);
  color: #fff; text-align: center; padding: 96px 0; border-radius: 0;
}
.lp-cta h2 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -1px; margin: 0 0 16px; font-weight: 800; }
.lp-cta p { color: #aab8cd; max-width: 560px; margin: 0 auto 32px; font-size: 16.5px; }
.lp-cta .lp-btn-ghost {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .28);
  color: #fff;
  box-shadow: none;
}
.lp-cta .lp-btn-ghost:hover {
  background: #fff;
  border-color: #fff;
  color: var(--lp-navy);
  box-shadow: 0 12px 28px rgba(255, 255, 255, .16);
}

/* ---------- Footer ---------- */
.lp-footer { background: #0a0f1b; color: #93a1b8; padding: 56px 0 28px; font-size: 14px; }
.lp-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
.lp-footer h4 { color: #fff; font-size: 14px; margin: 0 0 14px; letter-spacing: .3px; }
.lp-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.lp-footer a:hover { color: var(--lp-accent); }
.lp-footer-brand p { margin: 12px 0 0; max-width: 300px; font-size: 13.5px; }
.lp-footer-bottom { border-top: 1px solid #1c2740; padding-top: 22px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; }

/* ---------- Scroll reveal ---------- */
.lp-reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.lp-reveal.lp-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .lp-features-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-modules-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-stats-grid { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
}
@media (max-width: 860px) {
  .lp-nav-links, .lp-nav-cta { display: none; }
  .lp-burger { display: block; }
  .lp-why { grid-template-columns: 1fr; gap: 36px; }
  .lp-pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .lp-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 580px) {
  .lp-section { padding: 64px 0; }
  .lp-features-grid, .lp-modules-grid { grid-template-columns: 1fr; }
  .lp-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-hero { padding-top: 56px; }
  .lp-hero-actions .lp-btn { width: 100%; justify-content: center; }
}
