/* ═══════════════════════════════════════════════════════════
   LET IT FLOW — ENTERPRISE LANDING PAGE
   ═══════════════════════════════════════════════════════════ */

:root {
  --lp-primary: #4f46e5;
  --lp-primary-dark: #3730a3;
  --lp-text: #0f172a;
  --lp-text-muted: #64748b;
  --lp-bg: #ffffff;
  --lp-bg-muted: #f8fafc;
  --lp-border: #e2e8f0;
  --lp-dark: #0f172a;
  --lp-success: #059669;
  --lp-warning: #d97706;
  --lp-danger: #dc2626;
  --lp-radius: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--lp-text);
  background: var(--lp-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ── NAVBAR ── */
.lp-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,.85); backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0,0,0,.06);
  height: 72px;
}
.lp-nav-inner {
  display: flex; align-items: center; justify-content: space-between; height: 72px;
}
.lp-nav-brand {
  display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--lp-text);
}
.lp-nav-logo { height: 30px; width: auto; }
.lp-nav-sep { width: 1px; height: 24px; background: var(--lp-border); }
.lp-nav-name { font-size: 1.15rem; font-weight: 800; letter-spacing: -.5px; }
.lp-nav-links { display: flex; gap: 32px; }
.lp-nav-links a {
  text-decoration: none; color: var(--lp-text-muted); font-size: .88rem; font-weight: 500;
  transition: color .2s;
}
.lp-nav-links a:hover { color: var(--lp-primary); }
.lp-nav-actions { display: flex; gap: 10px; }

/* ── BUTTONS ── */
.lp-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; border-radius: 10px; font-size: .88rem; font-weight: 600;
  text-decoration: none; border: none; cursor: pointer; transition: all .2s;
  line-height: 1.4;
}
.lp-btn-primary {
  background: var(--lp-primary); color: #fff;
  box-shadow: 0 2px 8px rgba(79,70,229,.3);
}
.lp-btn-primary:hover { background: var(--lp-primary-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(79,70,229,.35); }
.lp-btn-ghost { background: transparent; color: var(--lp-text); }
.lp-btn-ghost:hover { background: var(--lp-bg-muted); }
.lp-btn-outline {
  background: transparent; color: var(--lp-primary);
  border: 2px solid var(--lp-primary);
}
.lp-btn-outline:hover { background: var(--lp-primary); color: #fff; }
.lp-btn-white {
  background: #fff; color: var(--lp-primary); font-weight: 700;
  box-shadow: 0 2px 12px rgba(0,0,0,.15);
}
.lp-btn-white:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.2); }
.lp-btn-lg { padding: 14px 32px; font-size: .95rem; border-radius: 12px; }
.lp-btn-block { display: flex; justify-content: center; width: 100%; }

/* ── HERO ── */
.lp-hero {
  padding: 160px 0 80px; text-align: center;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  position: relative; overflow: hidden;
}
.lp-hero::before {
  content: ''; position: absolute; top: -300px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 900px; border-radius: 50%;
  background: radial-gradient(circle, rgba(79,70,229,.06) 0%, transparent 70%);
  pointer-events: none;
}
.lp-hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 16px; border-radius: 20px; font-size: .76rem; font-weight: 600;
  background: rgba(79,70,229,.08); color: var(--lp-primary);
  margin-bottom: 20px;
}
.lp-hero-title {
  font-size: 3.5rem; font-weight: 900; letter-spacing: -1.5px;
  line-height: 1.1; margin-bottom: 20px; color: var(--lp-text);
}
.lp-hero-gradient {
  background: linear-gradient(135deg, var(--lp-primary), #7c3aed, #d97706);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.lp-hero-subtitle {
  font-size: 1.15rem; color: var(--lp-text-muted); max-width: 640px;
  margin: 0 auto 32px; line-height: 1.7;
}
.lp-hero-actions { display: flex; justify-content: center; gap: 14px; margin-bottom: 48px; }
.lp-hero-stats {
  display: flex; justify-content: center; align-items: center; gap: 32px;
  padding: 20px 40px; border-radius: 16px;
  background: #fff; border: 1px solid var(--lp-border);
  box-shadow: 0 4px 24px rgba(0,0,0,.04);
  display: inline-flex;
}
.lp-hero-stat { text-align: center; }
.lp-hero-stat-val { font-size: 1.5rem; font-weight: 800; color: var(--lp-primary); }
.lp-hero-stat-label { font-size: .72rem; color: var(--lp-text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: .5px; }
.lp-hero-stat-sep { width: 1px; height: 36px; background: var(--lp-border); }

/* ── SOCIAL PROOF ── */
.lp-social { padding: 40px 0; border-bottom: 1px solid var(--lp-border); }
.lp-social-text { text-align: center; font-size: .78rem; color: var(--lp-text-muted); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; margin-bottom: 16px; }
.lp-social-logos { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.lp-social-logo {
  font-size: .88rem; color: var(--lp-text-muted); font-weight: 600;
  display: flex; align-items: center; gap: 8px; opacity: .5;
}

/* ── SECTIONS ── */
.lp-section { padding: 96px 0; }
.lp-section-dark { background: var(--lp-dark); }
.lp-section-muted { background: var(--lp-bg-muted); }
.lp-section-header { text-align: center; margin-bottom: 56px; }
.lp-section-badge {
  display: inline-flex; padding: 4px 14px; border-radius: 16px;
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .8px;
  background: rgba(79,70,229,.08); color: var(--lp-primary);
  margin-bottom: 14px;
}
.lp-badge-light { background: rgba(255,255,255,.1); color: rgba(255,255,255,.8); }
.lp-section-title { font-size: 2.25rem; font-weight: 800; letter-spacing: -1px; margin-bottom: 12px; }
.lp-section-sub { font-size: 1.05rem; color: var(--lp-text-muted); max-width: 560px; margin: 0 auto; }

/* ── FEATURES GRID ── */
.lp-features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.lp-feature-card {
  background: #fff; border: 1px solid var(--lp-border); border-radius: 16px;
  padding: 32px; transition: all .3s;
}
.lp-feature-card:hover {
  border-color: transparent;
  box-shadow: 0 8px 40px rgba(0,0,0,.08); transform: translateY(-4px);
}
.lp-feature-icon {
  width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.1rem; margin-bottom: 18px;
}
.lp-feature-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.lp-feature-card p { font-size: .85rem; color: var(--lp-text-muted); line-height: 1.6; }

/* ── CAPABILITIES ── */
.lp-caps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lp-cap-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px; padding: 28px;
}
.lp-cap-card:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.12); }
.lp-cap-icon {
  width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  background: rgba(79,70,229,.15); color: var(--lp-primary); font-size: 1rem; margin-bottom: 16px;
}
.lp-cap-card h4 { color: #fff; font-size: .95rem; font-weight: 700; margin-bottom: 14px; }
.lp-cap-card ul { list-style: none; padding: 0; }
.lp-cap-card li {
  font-size: .8rem; color: rgba(255,255,255,.6); padding: 4px 0;
  padding-left: 18px; position: relative;
}
.lp-cap-card li::before {
  content: ''; position: absolute; left: 0; top: 11px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--lp-primary);
}

/* ── PRICING ── */
.lp-pricing-info { display: flex; justify-content: center; gap: 16px; margin-bottom: 40px; }
.lp-price-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 24px; border-radius: 12px; font-size: .88rem;
  background: rgba(79,70,229,.06); color: var(--lp-primary); font-weight: 500;
}
.lp-price-pill strong { font-size: 1.3rem; font-weight: 800; }

.lp-pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.lp-price-card {
  background: #fff; border: 1px solid var(--lp-border); border-radius: 20px;
  padding: 36px; position: relative; transition: all .3s;
}
.lp-price-card:hover { box-shadow: 0 8px 40px rgba(0,0,0,.08); transform: translateY(-4px); }
.lp-price-featured {
  border: 2px solid var(--lp-warning); background: linear-gradient(180deg, #fffbeb 0%, #fff 40%);
  transform: scale(1.04);
}
.lp-price-featured:hover { transform: scale(1.04) translateY(-4px); }
.lp-price-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--lp-warning); color: #fff; font-size: .68rem; font-weight: 700;
  padding: 4px 16px; border-radius: 12px; letter-spacing: .5px;
}
.lp-price-icon { font-size: 1.8rem; margin-bottom: 12px; }
.lp-price-name { font-size: 1.25rem; font-weight: 800; margin-bottom: 8px; }
.lp-price-amount { display: flex; align-items: baseline; gap: 4px; margin-bottom: 6px; }
.lp-price-from { font-size: .78rem; color: var(--lp-text-muted); }
.lp-price-val { font-size: 2.5rem; font-weight: 900; letter-spacing: -1px; color: var(--lp-text); }
.lp-price-period { font-size: .82rem; color: var(--lp-text-muted); }
.lp-price-detail { font-size: .76rem; color: var(--lp-text-muted); margin-bottom: 20px; }

.lp-price-limits {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  padding: 16px 12px; border-radius: 12px; background: var(--lp-bg-muted);
  margin-bottom: 20px; text-align: center;
}
.lp-price-limit-item { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.lp-price-limit-icon { color: var(--lp-primary); font-size: .78rem; margin-bottom: 2px; }
.lp-price-limit-val { font-size: .92rem; font-weight: 800; color: var(--lp-text); line-height: 1.2; }
.lp-price-limit-label { font-size: .68rem; color: var(--lp-text-muted); font-weight: 500; }
.lp-price-limit {
  font-size: .78rem; color: var(--lp-text-muted);
  display: flex; align-items: center; gap: 6px;
}
.lp-price-limit strong { color: var(--lp-text); }
.lp-price-limit i { color: var(--lp-primary); font-size: .72rem; width: 14px; text-align: center; }

.lp-price-features { list-style: none; padding: 0; margin-bottom: 24px; }
.lp-price-features li {
  font-size: .82rem; padding: 5px 0; display: flex; align-items: center; gap: 8px;
}
.lp-feat-on { color: var(--lp-text); }
.lp-feat-on i { color: var(--lp-success); font-size: .7rem; }
.lp-feat-off { color: var(--lp-text-muted); opacity: .5; }
.lp-feat-off i { color: var(--lp-danger); font-size: .7rem; }

/* ── Currency Toggle ── */
.lp-currency-toggle {
  display: flex; justify-content: center; gap: 4px; margin-bottom: 16px;
}
.lp-cur-btn {
  padding: 8px 20px; border: 1px solid var(--lp-border); background: #fff;
  font-size: .82rem; font-weight: 600; cursor: pointer; transition: all .2s;
  color: var(--lp-text-muted); border-radius: 8px;
}
.lp-cur-btn:first-child { border-radius: 8px 0 0 8px; }
.lp-cur-btn:last-child { border-radius: 0 8px 8px 0; }
.lp-cur-active {
  background: var(--lp-primary); color: #fff; border-color: var(--lp-primary);
}

/* ── Billing Toggle ── */
.lp-billing-toggle {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  margin-bottom: 36px;
}
.lp-billing-label { font-size: .88rem; color: var(--lp-text-muted); }
#lbl-monthly { font-weight: 700; }
.lp-save-tag {
  display: inline-block; font-size: .65rem; font-weight: 700; color: var(--lp-success);
  background: rgba(16,185,129,.1); padding: 2px 8px; border-radius: 6px; margin-left: 4px;
}
.lp-toggle-switch {
  position: relative; display: inline-block; width: 44px; height: 24px;
}
.lp-toggle-switch input { opacity: 0; width: 0; height: 0; }
.lp-toggle-slider {
  position: absolute; cursor: pointer; inset: 0;
  background: #d1d5db; border-radius: 24px; transition: .3s;
}
.lp-toggle-slider::before {
  content: ''; position: absolute; height: 18px; width: 18px;
  left: 3px; bottom: 3px; background: #fff; border-radius: 50%; transition: .3s;
}
.lp-toggle-switch input:checked + .lp-toggle-slider { background: var(--lp-primary); }
.lp-toggle-switch input:checked + .lp-toggle-slider::before { transform: translateX(20px); }

/* ── Price Calculator ── */
.lp-calc-section {
  margin-top: 48px; padding: 32px; background: #fff; border: 1px solid var(--lp-border);
  border-radius: 16px; max-width: 560px; margin-left: auto; margin-right: auto;
}
.lp-calc-title {
  font-size: 1.05rem; font-weight: 700; margin-bottom: 20px; text-align: center;
}
.lp-calc-title i { color: var(--lp-primary); margin-right: 6px; }
.lp-calc-row {
  display: flex; align-items: center; gap: 16px; margin-bottom: 20px;
}
.lp-calc-label { font-size: .85rem; font-weight: 600; white-space: nowrap; }
.lp-calc-input {
  width: 120px; padding: 10px 14px; border: 1px solid var(--lp-border);
  border-radius: 10px; font-size: 1rem; font-weight: 700; text-align: center;
  outline: none; transition: border-color .2s;
}
.lp-calc-input:focus { border-color: var(--lp-primary); }
.lp-calc-result { text-align: center; }
.lp-calc-tier { margin-bottom: 8px; display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.lp-calc-tier-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 14px; border-radius: 8px; font-size: .78rem; font-weight: 700;
}
.lp-calc-agents { font-size: .82rem; color: var(--lp-text-muted); }
.lp-calc-amount { font-size: 2rem; font-weight: 900; letter-spacing: -1px; color: var(--lp-text); }
.lp-calc-period { font-size: .85rem; color: var(--lp-text-muted); margin-left: 4px; }
.lp-calc-sub { display: block; font-size: .78rem; color: var(--lp-text-muted); margin-top: 4px; }
.lp-calc-costs { display: flex; flex-direction: column; align-items: center; }

/* ── Rate Note ── */
.lp-rate-note {
  text-align: center; font-size: .72rem; color: var(--lp-text-muted);
  margin-top: 24px;
}
.lp-rate-note i { margin-right: 4px; }

/* ── Tier Price (license admin) ── */
.lic-tier-price { text-align: center; margin-bottom: 4px; }
.lic-tier-price-val { font-size: 1.6rem; font-weight: 900; color: var(--lit-text, #1e293b); letter-spacing: -0.5px; }
.lic-tier-price-period { font-size: .78rem; color: var(--lit-text-muted, #64748b); }
.lic-tier-price-sub { text-align: center; font-size: .72rem; color: var(--lit-text-muted, #64748b); margin-bottom: 16px; }

/* ── FAQ ── */
.lp-faq-list { display: flex; flex-direction: column; gap: 12px; }
.lp-faq-item {
  background: #fff; border: 1px solid var(--lp-border); border-radius: 12px;
  overflow: hidden;
}
.lp-faq-item summary {
  padding: 18px 24px; font-size: .92rem; font-weight: 600; cursor: pointer;
  list-style: none; display: flex; align-items: center; justify-content: space-between;
}
.lp-faq-item summary::-webkit-details-marker { display: none; }
.lp-faq-item summary::after {
  content: '\f078'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
  font-size: .72rem; color: var(--lp-text-muted); transition: transform .2s;
}
.lp-faq-item[open] summary::after { transform: rotate(180deg); }
.lp-faq-item[open] { border-color: var(--lp-primary); }
.lp-faq-item p { padding: 0 24px 18px; font-size: .85rem; color: var(--lp-text-muted); line-height: 1.7; }

/* ── CTA ── */
.lp-cta {
  padding: 80px 0; text-align: center;
  background: linear-gradient(135deg, var(--lp-primary), #7c3aed);
  color: #fff;
}
.lp-cta h2 { font-size: 2rem; font-weight: 800; margin-bottom: 12px; }
.lp-cta p { font-size: 1.05rem; opacity: .8; margin-bottom: 28px; }

/* ── FOOTER ── */
.lp-footer {
  padding: 32px 0; border-top: 1px solid var(--lp-border);
}
.lp-footer-inner {
  display: flex; justify-content: space-between; align-items: center;
}
.lp-footer-brand {
  display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .92rem; color: var(--lp-text);
}
.lp-footer-logo { height: 24px; width: auto; }
.lp-footer-copy { font-size: .78rem; color: var(--lp-text-muted); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .lp-features-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-caps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .lp-nav-links { display: none; }
  .lp-hero-title { font-size: 2.25rem; }
  .lp-hero-stats { flex-wrap: wrap; gap: 16px; padding: 16px 24px; }
  .lp-hero-stat-sep { display: none; }
  .lp-features-grid { grid-template-columns: 1fr; }
  .lp-caps-grid { grid-template-columns: 1fr; }
  .lp-pricing-grid { grid-template-columns: 1fr; }
  .lp-price-featured { transform: none; }
  .lp-price-featured:hover { transform: translateY(-4px); }
  .lp-hero-actions { flex-direction: column; align-items: center; }
  .lp-footer-inner { flex-direction: column; gap: 12px; text-align: center; }
  .lp-section-title { font-size: 1.75rem; }
}
