/* =========================================================
   Chess Inform — White Academy Landing (Marketing)
   - Premium, clean, SaaS, trustworthy
   - Always light (no dark mode here)
   - No hardcoded colors outside variables
   ========================================================= */

:root {
  --brand-primary: #1F3C6E;
  --brand-primary-hover: #162D52;
  --brand-accent: #C9972C;
  --brand-accent-hover: #A87C21;

  --bg-main: #FFFFFF;
  --bg-alt: #F8FAFC;
  --bg-soft: #F1F5F9;

  --text-main: #0F172A;
  --text-muted: #64748B;
  --text-inverse: #FFFFFF;
  --border-light: #E2E8F0;

  /* Derived */
  --brand-primary-rgb: 31, 60, 110;
  --brand-accent-rgb: 201, 151, 44;
  --text-main-rgb: 15, 23, 42;
  --text-inverse-rgb: 255, 255, 255;

  --shadow-sm: 0 1px 2px rgba(var(--text-main-rgb), 0.06);
  --shadow-md: 0 10px 30px rgba(var(--brand-primary-rgb), 0.10);
  --radius-sm: 8px;
  --radius-md: 12px;
  --container: 1120px;
  --section-y: 88px;

  /* Bootstrap 5 theme mapping (landing + registration pages) */
  --bs-primary: var(--brand-primary);
  --bs-primary-rgb: var(--brand-primary-rgb);
  --bs-secondary: var(--text-muted);
  --bs-secondary-rgb: 100, 116, 139;
  --bs-body-bg: var(--bg-main);
  --bs-body-color: var(--text-main);
  --bs-border-color: var(--border-light);
  --bs-link-color: var(--brand-primary);
  --bs-link-hover-color: var(--brand-primary-hover);
  --bs-success: var(--brand-primary);
  --bs-warning: var(--brand-accent);
}

/* Base */
* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body.lp-body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.55;
  overflow-x: hidden;
  min-width: 0;
}

/* Subtle animations (respects reduced motion) */
.lp-animate {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 420ms ease, transform 420ms ease;
  will-change: opacity, transform;
}
.lp-delay-1 { transition-delay: 90ms; }
.lp-delay-2 { transition-delay: 180ms; }
html[data-lp-loaded="1"] .lp-animate {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .lp-animate { opacity: 1; transform: none; transition: none; }
}

/* Bootstrap button tuning to match brand (no default blue) */
.lp-body .btn-primary {
  --bs-btn-bg: var(--brand-primary);
  --bs-btn-border-color: var(--brand-primary);
  --bs-btn-hover-bg: var(--brand-primary-hover);
  --bs-btn-hover-border-color: var(--brand-primary-hover);
  --bs-btn-active-bg: var(--brand-primary-hover);
  --bs-btn-active-border-color: var(--brand-primary-hover);
}

.lp-body .btn-outline-primary {
  --bs-btn-color: var(--brand-primary);
  --bs-btn-border-color: rgba(var(--brand-primary-rgb), 0.35);
  --bs-btn-hover-bg: rgba(var(--brand-primary-rgb), 0.10);
  --bs-btn-hover-border-color: rgba(var(--brand-primary-rgb), 0.55);
  --bs-btn-hover-color: var(--brand-primary);
  --bs-btn-active-bg: rgba(var(--brand-primary-rgb), 0.14);
  --bs-btn-active-border-color: rgba(var(--brand-primary-rgb), 0.60);
  --bs-btn-active-color: var(--brand-primary);
}

.lp-body .form-control:focus,
.lp-body .form-select:focus {
  border-color: rgba(var(--brand-accent-rgb), 0.70);
  box-shadow: 0 0 0 0.25rem rgba(var(--brand-accent-rgb), 0.18);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.lp-container {
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  min-width: 0;
}

main {
  overflow-x: hidden;
  min-width: 0;
}
.lp-section { padding: var(--section-y) 0; }
.lp-section.alt { background: var(--bg-alt); }

.lp-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.lp-analytics-kicker {
  white-space: nowrap;
}

.lp-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid var(--border-light);
  border-radius: 999px;
  font-size: 12px;
  color: var(--text-muted);
  background: var(--bg-soft);
}
.lp-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--brand-accent);
}

.lp-h1 {
  margin: 0.35em 0 0;
  font-size: clamp(28px, 4.5vw, 48px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-main);
}
.lp-highlight { color: var(--brand-accent); }
.lp-subhead {
  margin-top: 1rem;
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 52ch;
}

/* Navbar */
.lp-navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg-main);
  border-bottom: 1px solid var(--border-light);
}
.lp-navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
}
.lp-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
/* Defensive logo styling (works with or without custom LP styles) */
.site-logo {
  height: 56px;
  width: auto;
  object-fit: contain;
}
.lp-logo {
  width: 44px;
  height: 44px;
  border-radius: 0;
  border: 0;
  background: transparent;
  object-fit: contain;
  padding: 0;
}
.lp-navbar .lp-logo {
  /* Compact SaaS header sizing */
  width: 128px;
  height: 128px;
  border-radius: 0;
  padding: 0;
}
.lp-brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.lp-brand-name { font-weight: 800; letter-spacing: -0.02em; color: var(--brand-primary); }
.lp-brand-name.inverse { color: var(--text-inverse); }
.lp-brand-tag { font-size: 12px; color: var(--text-muted); font-weight: 600; }

.lp-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lp-nav a,
.lp-nav summary {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}
.lp-nav a:hover,
.lp-nav summary:hover { color: var(--text-main); }

/* Nav CTA hierarchy: primary = strongest, secondary = outline, utility = lightest */
.lp-nav-cta {
  display: flex;
  align-items: center;
  gap: 20px;
}

.lp-nav-cta-icon {
  font-size: 1em;
  line-height: 1;
  opacity: 0.95;
}

/* 🥇 Primary CTA (Start Free) - highest emphasis, always gold filled */
.lp-navbar .lp-nav-cta .lp-nav-cta-primary,
a.lp-nav-cta-primary {
  background: #C69214 !important;
  border: 2px solid #C69214 !important;
  color: #fff !important;
  padding: 12px 26px !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  border-radius: 10px !important;
  min-height: 48px;
  box-shadow: 0 4px 14px rgba(198, 146, 20, 0.3) !important;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
}
.lp-navbar .lp-nav-cta .lp-nav-cta-primary:hover,
a.lp-nav-cta-primary:hover {
  background: #A97822 !important;
  border-color: #A97822 !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(198, 146, 20, 0.4) !important;
}
.lp-navbar .lp-nav-cta .lp-nav-cta-primary:active,
a.lp-nav-cta-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(198, 146, 20, 0.35) !important;
}

/* 🥈 Secondary CTA (Book a Demo) - outline only, no fill */
.lp-navbar .lp-nav-cta .lp-nav-cta-secondary,
a.lp-nav-cta-secondary {
  background: transparent !important;
  border: 1.5px solid #2F4A7F !important;
  color: #2F4A7F !important;
  padding: 12px 22px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  border-radius: 10px !important;
  min-height: 48px;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
}
.lp-navbar .lp-nav-cta .lp-nav-cta-secondary:hover,
a.lp-nav-cta-secondary:hover {
  background: rgba(47, 74, 127, 0.08) !important;
  border-color: #1B3A6B !important;
  color: #1B3A6B !important;
  transform: translateY(-1px);
}
.lp-navbar .lp-nav-cta .lp-nav-cta-secondary:active,
a.lp-nav-cta-secondary:active {
  transform: translateY(0);
}

/* 🥉 Utility (Login) - text link only, lightest */
.lp-navbar .lp-nav-cta .lp-nav-cta-utility,
a.lp-nav-cta-utility {
  background: transparent !important;
  border: none !important;
  color: #64748B !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  padding: 10px 6px !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  transition: color 160ms ease, background-color 160ms ease;
}
.lp-navbar .lp-nav-cta .lp-nav-cta-utility:hover,
a.lp-nav-cta-utility:hover {
  color: #2F4A7F !important;
  background: rgba(47, 74, 127, 0.06) !important;
}

/* Legacy class for any remaining usage */
.lp-nav-login {
  font-size: 15px;
  font-weight: 500;
  color: #2F4A7F;
  padding: 8px 4px;
  border-radius: 8px;
  text-decoration: none;
}
.lp-nav-login:hover { color: #1B3A6B; background: rgba(47, 74, 127, 0.06); }

/* Product dropdown (no JS required) */
.lp-nav-dd {
  position: relative;
}
.lp-nav-dd summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 10px;
}
.lp-nav-dd summary::-webkit-details-marker { display: none; }
.lp-nav-dd summary::after {
  content: "▾";
  font-size: 12px;
  opacity: 0.8;
}
.lp-nav-dd[open] summary {
  background: var(--bg-soft);
  color: var(--text-main);
}
.lp-nav-dd-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(var(--brand-primary-rgb), 0.10);
  padding: 8px;
  z-index: 60;
}
.lp-nav-dd-menu {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  min-width: 520px;
}
.lp-dd-item {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--text-main);
  border: 1px solid rgba(var(--brand-primary-rgb), 0.12);
  background: rgba(var(--brand-primary-rgb), 0.02);
}
.lp-dd-item:hover {
  background: rgba(var(--brand-accent-rgb), 0.10);
  border-color: rgba(var(--brand-accent-rgb), 0.26);
}
.lp-dd-title {
  display: block;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: -0.01em;
}
.lp-dd-desc {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.35;
}

@media (max-width: 980px) {
  .lp-nav-dd-menu {
    grid-template-columns: 1fr;
    min-width: 280px;
  }
}

.lp-nav-toggle {
  display: none;
  border: 1px solid var(--border-light);
  background: var(--bg-soft);
  border-radius: 10px;
  padding: 10px 12px;
  color: var(--text-main);
}

@media (max-width: 980px) {
  .lp-navbar .lp-logo {
    width: 112px;
    height: 112px;
    padding: 0;
    border-radius: 0;
  }
}

@media (max-width: 560px) {
  .lp-navbar .lp-logo {
    width: 96px;
    height: 96px;
    padding: 0;
    border-radius: 0;
  }
}

.lp-nav-panel {
  display: none;
  border-top: 1px solid var(--border-light);
  background: var(--bg-main);
}
.lp-nav-panel.is-open { display: block; }
.lp-nav-panel-inner {
  display: grid;
  gap: 10px;
  padding: 12px 0 18px;
}
.lp-nav-panel-group {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding: 8px 12px 0;
}
.lp-nav-panel a {
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--text-muted);
  font-weight: 600;
}
.lp-nav-panel a:hover { background: var(--bg-soft); color: var(--text-main); }

.lp-nav-panel-item .lp-dd-title { color: var(--text-main); }
.lp-nav-panel-item .lp-dd-desc { color: var(--text-muted); }

/* Buttons */
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}
.lp-btn:active { transform: translateY(1px); }

.lp-btn-primary {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: var(--text-inverse);
  box-shadow: var(--shadow-sm);
}
.lp-btn-primary:hover { background: var(--brand-primary-hover); border-color: var(--brand-primary-hover); }

.lp-btn-accent {
  background: var(--brand-accent);
  border-color: var(--brand-accent);
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
}
.lp-btn-accent:hover { background: var(--brand-accent-hover); border-color: var(--brand-accent-hover); color: var(--text-inverse); }
.lp-btn-accent:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(var(--brand-accent-rgb), 0.22); }
.lp-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(var(--brand-primary-rgb), 0.18); }

.lp-btn-ghost {
  background: transparent;
  border-color: var(--border-light);
  color: var(--brand-primary);
}
.lp-btn-ghost:hover { background: var(--bg-soft); }

.lp-btn-outline {
  background: transparent;
  border: 1px solid rgba(var(--brand-primary-rgb), 0.28);
  color: var(--brand-primary);
}
.lp-btn-outline:hover {
  background: rgba(var(--brand-primary-rgb), 0.08);
  border-color: rgba(var(--brand-primary-rgb), 0.42);
  color: var(--brand-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(var(--brand-primary-rgb), 0.12);
}

/* Hero */
.lp-hero {
  padding: clamp(48px, 8vw, 88px) 0;
  background: var(--bg-main);
}
.lp-hero-row {
  --bs-gutter-x: clamp(1.5rem, 4vw, 2.5rem);
  --bs-gutter-y: 2rem;
  align-items: center;
}
.lp-hero-col-text {
  min-width: 0;
}
.lp-hero-content {
  max-width: 540px;
}
.lp-hero-actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
/* Hero primary CTA - gold filled, unmistakable */
.lp-hero-cta-primary {
  background: #C69214 !important;
  border: 2px solid #C69214 !important;
  color: #fff !important;
  padding: 14px 28px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  border-radius: 10px !important;
  min-height: 48px;
  box-shadow: 0 4px 14px rgba(198, 146, 20, 0.3) !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}
.lp-hero-cta-primary:hover {
  background: #A97822 !important;
  border-color: #A97822 !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(198, 146, 20, 0.4) !important;
}
.lp-hero-cta-primary:active {
  transform: translateY(0);
}
/* Hero secondary CTA - outline only */
.lp-hero-cta-secondary {
  background: transparent !important;
  border: 1.5px solid #2F4A7F !important;
  color: #2F4A7F !important;
  padding: 14px 24px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  border-radius: 10px !important;
  min-height: 48px;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}
.lp-hero-cta-secondary:hover {
  background: rgba(47, 74, 127, 0.08) !important;
  border-color: #1B3A6B !important;
  color: #1B3A6B !important;
  transform: translateY(-1px);
}
.lp-hero-cta-secondary:active {
  transform: translateY(0);
}
.lp-hero-note {
  margin-top: 1.5rem;
  max-width: 52ch;
  font-size: 14px;
  line-height: 1.5;
}
.lp-hero-col-preview {
  min-width: 0;
}

.lp-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.lp-hero-preview {
  border: 1px solid var(--border-light);
  border-radius: 18px;
  background: linear-gradient(180deg, var(--bg-main), var(--bg-alt));
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.lp-hero-preview:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--brand-primary-rgb), 0.18);
  box-shadow: 0 22px 52px rgba(var(--brand-primary-rgb), 0.16);
}
.lp-hero-preview-top {
  padding: 16px 16px 12px;
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-main);
}
.lp-hero-preview-title {
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
}
.lp-hero-preview-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  color: var(--brand-primary);
  background: rgba(var(--brand-accent-rgb), 0.14);
  border: 1px solid rgba(var(--brand-accent-rgb), 0.28);
}
.lp-hero-preview-sub { margin-top: 6px; color: var(--text-muted); font-weight: 700; font-size: 12px; }
.lp-hero-preview-body { padding: 14px 16px 16px; display: grid; gap: 12px; }
.lp-hero-feature {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  background: var(--bg-main);
  padding: 12px;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.lp-hero-feature:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--brand-primary-rgb), 0.18);
  box-shadow: 0 16px 34px rgba(var(--brand-primary-rgb), 0.12);
}
.lp-hero-feature-ic {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--brand-primary-rgb), 0.08);
  border: 1px solid rgba(var(--brand-primary-rgb), 0.14);
  color: var(--brand-primary);
}
.lp-hero-feature-title { font-weight: 900; color: var(--brand-primary); }
.lp-hero-feature-desc { margin-top: 2px; color: var(--text-muted); font-weight: 700; font-size: 12px; }
.lp-hero-preview-actions { margin-top: 4px; display: grid; gap: 10px; }

/* Trust bar (below hero) */
.lp-trustbar { padding: 18px 0; background: var(--bg-alt); border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
.lp-trustbar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px 18px;
  flex-wrap: wrap;
}
.lp-trustbar-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-light);
  background: var(--bg-main);
  font-weight: 800;
  color: var(--text-muted);
  font-size: 13px;
}
.lp-trustbar-item strong { color: var(--text-main); font-weight: 900; }
.lp-trustbar-item i { color: rgba(var(--brand-primary-rgb), 0.85); }
.lp-trustbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(var(--brand-accent-rgb), 0.30);
  background: rgba(var(--brand-accent-rgb), 0.12);
  color: var(--brand-primary);
  font-weight: 900;
  font-size: 13px;
}
.lp-trustbar-badge i { color: var(--brand-primary); }
.lp-trustbar-caption { margin-top: 10px; }

/* Incoming tournaments grid cards */
.lp-tgrid-card {
  height: 100%;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  background: var(--bg-main);
  padding: 16px;
  box-shadow: 0 1px 2px rgba(var(--text-main-rgb), 0.04);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.lp-tgrid-card:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--brand-primary-rgb), 0.18);
  box-shadow: 0 18px 42px rgba(var(--brand-primary-rgb), 0.14);
}
.lp-tgrid-head { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.lp-tgrid-name { font-weight: 900; color: var(--brand-primary); letter-spacing: -0.01em; }
.lp-tgrid-badges { display:flex; align-items:center; gap:8px; }
.lp-tgrid-badge {
  width: 30px; height: 30px;
  border-radius: 10px;
  display:inline-flex; align-items:center; justify-content:center;
  background: rgba(var(--brand-primary-rgb), 0.08);
  border: 1px solid rgba(var(--brand-primary-rgb), 0.14);
  color: var(--brand-primary);
}
.lp-tgrid-pill {
  display:inline-flex; align-items:center;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  color: var(--brand-primary);
  background: rgba(var(--brand-accent-rgb), 0.14);
  border: 1px solid rgba(var(--brand-accent-rgb), 0.28);
}
.lp-tgrid-meta { margin-top: 12px; display:grid; gap:8px; }
.lp-tgrid-meta-item { display:inline-flex; gap:10px; align-items:center; color: var(--text-muted); font-weight:700; font-size:13px; }
.lp-tgrid-meta-item i { color: rgba(var(--brand-primary-rgb), 0.85); }
.lp-tgrid-info { margin-top: 14px; display:grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.lp-tgrid-info-item { border: 1px solid var(--border-light); border-radius: 14px; padding: 10px; background: var(--bg-alt); }
.lp-tgrid-info-k { font-size: 11px; font-weight: 900; color: var(--text-muted); letter-spacing: 0.02em; text-transform: uppercase; }
.lp-tgrid-info-v { margin-top: 4px; font-weight: 900; color: var(--text-main); }
.lp-tgrid-price { margin-top: 4px; font-weight: 900; color: var(--text-main); font-size: 18px; }
.lp-tgrid-foot { margin-top: 14px; }
.lp-btn-icon { width: 44px; min-width: 44px; height: 44px; padding: 0; display: inline-flex; align-items: center; justify-content: center; }
.lp-btn-icon i { font-size: 1.1rem; }
.lp-tgrid-attachments { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.lp-tgrid-link { color: var(--brand-primary); text-decoration: none; }
.lp-tgrid-link:hover { text-decoration: underline; }

/* Nearby academies grid cards */
.lp-acgrid-card {
  height: 100%;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  background: var(--bg-main);
  padding: 16px;
  box-shadow: 0 1px 2px rgba(var(--text-main-rgb), 0.04);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.lp-acgrid-card:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--brand-primary-rgb), 0.18);
  box-shadow: 0 18px 42px rgba(var(--brand-primary-rgb), 0.12);
}
.lp-acgrid-head { display:flex; gap: 12px; align-items:center; }
.lp-acgrid-avatar {
  width: 44px; height: 44px;
  border-radius: 14px;
  display:flex; align-items:center; justify-content:center;
  font-weight: 900;
  color: var(--text-inverse);
  background: linear-gradient(135deg, rgba(var(--brand-primary-rgb), 0.95), rgba(var(--brand-accent-rgb), 0.85));
}
.lp-acgrid-name { font-weight: 900; color: var(--brand-primary); letter-spacing: -0.01em; display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.lp-acgrid-verified i { color: var(--brand-primary); }
.lp-acgrid-slug { font-weight: 800; }
.lp-acgrid-pill {
  display:inline-flex; align-items:center;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  color: var(--brand-primary);
  background: rgba(var(--brand-primary-rgb), 0.06);
  border: 1px solid rgba(var(--brand-primary-rgb), 0.14);
  margin-left: 8px;
}
.lp-acgrid-meta { margin-top: 12px; display:grid; gap:8px; }
.lp-acgrid-foot { margin-top: 14px; }

@media (max-width: 992px) {
  .lp-tgrid-info { grid-template-columns: 1fr; }
}

.lp-trust {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 13px;
}
.lp-trust strong { color: var(--text-main); font-weight: 900; }
.lp-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-light);
  background: var(--bg-soft);
}
.lp-stars {
  color: var(--brand-accent);
  letter-spacing: 0.12em;
  font-size: 12px;
}
.lp-dot-mini {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--brand-accent);
  opacity: 0.9;
}

.lp-logos {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.lp-logo-chip {
  font-size: 12px;
  font-weight: 800;
  color: var(--text-muted);
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-light);
  background: var(--bg-main);
  box-shadow: 0 1px 2px rgba(var(--text-main-rgb), 0.04);
}

.lp-mock {
  border: 1px solid var(--border-light);
  border-radius: 16px;
  background: linear-gradient(180deg, var(--bg-main), var(--bg-alt));
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.lp-mock:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--brand-primary-rgb), 0.18);
  box-shadow: 0 22px 52px rgba(var(--brand-primary-rgb), 0.16);
}
.lp-mock-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-main);
}
.lp-mock-title { font-weight: 800; color: var(--text-main); font-size: 13px; }
.lp-mock-body { padding: 16px; display: grid; gap: 12px; }
.lp-mock-card {
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 12px;
  background: var(--bg-main);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.lp-mock-card:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--brand-primary-rgb), 0.18);
  box-shadow: 0 16px 34px rgba(var(--brand-primary-rgb), 0.12);
}
.lp-mock-metric { font-size: 12px; color: var(--text-muted); font-weight: 700; }
.lp-mock-value { margin-top: 6px; font-size: 22px; font-weight: 900; color: var(--brand-primary); }
.lp-mock-kpi { color: var(--brand-accent); }
.lp-mock-bar {
  margin-top: 10px;
  height: 8px;
  background: var(--bg-soft);
  border-radius: 999px;
  overflow: hidden;
}
.lp-mock-bar > span {
  display: block;
  height: 100%;
  width: 68%;
  background: var(--brand-accent);
  transform-origin: left center;
  animation: lpFillBar 900ms ease both;
}

@keyframes lpFillBar {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* Hero — tournament card panel */
.lp-tpanel {
  border: 1px solid var(--border-light);
  border-radius: 16px;
  background: linear-gradient(180deg, var(--bg-main), var(--bg-alt));
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.lp-tpanel:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--brand-primary-rgb), 0.18);
  box-shadow: 0 22px 52px rgba(var(--brand-primary-rgb), 0.16);
}
.lp-tpanel-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-main);
}
.lp-tpanel-title { font-weight: 900; color: var(--text-main); font-size: 13px; }
.lp-tpanel-sub { margin-top: 3px; font-size: 12px; color: var(--text-muted); font-weight: 700; }
.lp-tpanel-body { padding: 14px 16px 16px; }
.lp-tpanel-split {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--brand-primary-rgb), 0.12), transparent);
  margin: 16px 0 14px;
}
.lp-tpanel-top--inner .lp-btn { white-space: nowrap; }
.lp-tpanel-empty {
  border: 1px dashed rgba(var(--brand-primary-rgb), 0.22);
  border-radius: 14px;
  padding: 18px;
  background: rgba(var(--brand-primary-rgb), 0.04);
  text-align: center;
}
.lp-tpanel-empty-ic { font-size: 22px; margin-bottom: 8px; }

.lp-tlist {
  display: grid;
  gap: 12px;
  max-height: 260px; /* show all via scroll if many */
  overflow: auto;
  padding-right: 4px;
}
.lp-tcard {
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 12px;
  background: var(--bg-main);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.lp-tcard:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--brand-primary-rgb), 0.18);
  box-shadow: 0 16px 34px rgba(var(--brand-primary-rgb), 0.12);
}
.lp-tcard-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.lp-tname { font-weight: 900; color: var(--brand-primary); letter-spacing: -0.01em; }
.lp-tbadge {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  color: var(--brand-primary);
  background: rgba(var(--brand-accent-rgb), 0.14);
  border: 1px solid rgba(var(--brand-accent-rgb), 0.28);
}
.lp-tmeta { margin-top: 8px; display: grid; gap: 6px; }
.lp-tmeta-item { display: inline-flex; gap: 8px; align-items: center; color: var(--text-muted); font-weight: 700; font-size: 12px; }
.lp-tmeta-item i { color: rgba(var(--brand-primary-rgb), 0.85); }
.lp-tfoot { margin-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lp-tfee { font-weight: 900; color: var(--text-main); }

.lp-btn-sm {
  padding: 8px 12px;
  font-size: 13px;
}

/* Nearby academies list */
.lp-alist {
  display: grid;
  gap: 12px;
  max-height: 240px;
  overflow: auto;
  padding-right: 4px;
}
.lp-acard {
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 12px;
  background: var(--bg-main);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.lp-acard:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--brand-primary-rgb), 0.18);
  box-shadow: 0 16px 34px rgba(var(--brand-primary-rgb), 0.10);
}
.lp-acard-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.lp-aname { font-weight: 900; color: var(--brand-primary); letter-spacing: -0.01em; }
.lp-abadge {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  color: var(--text-muted);
  background: rgba(var(--brand-primary-rgb), 0.06);
  border: 1px solid rgba(var(--brand-primary-rgb), 0.14);
}
.lp-ameta { margin-top: 8px; display: grid; gap: 6px; }
.lp-afoot { margin-top: 10px; display: flex; justify-content: flex-end; }

/* Features */
.lp-section-title {
  margin: 0;
  font-size: 30px;
  letter-spacing: -0.02em;
  color: var(--brand-primary);
  font-weight: 900;
}
.lp-section-desc {
  margin-top: 10px;
  color: var(--text-muted);
  max-width: 70ch;
}

.lp-about-subhead {
  max-width: none;
}

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

/* Solution feature hierarchy */
.lp-feature-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.lp-card-featured {
  grid-column: span 2;
  padding: 22px;
  border-color: rgba(var(--brand-primary-rgb), 0.22);
  box-shadow: 0 18px 44px rgba(var(--brand-primary-rgb), 0.12);
  position: relative;
  overflow: hidden;
}
.lp-card-featured::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 220px at 15% 10%, rgba(var(--brand-primary-rgb), 0.10), transparent 55%),
    radial-gradient(650px 240px at 85% 0%, rgba(var(--brand-accent-rgb), 0.08), transparent 55%);
  pointer-events: none;
}
.lp-card-featured > * { position: relative; }
.lp-card-featured h3 { font-size: 18px; }
.lp-feature-metrics {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.lp-feature-metrics span {
  font-size: 12px;
  font-weight: 800;
  color: var(--text-main);
  background: rgba(var(--brand-accent-rgb), 0.12);
  border: 1px solid rgba(var(--brand-accent-rgb), 0.22);
  padding: 6px 10px;
  border-radius: 999px;
}
.lp-more-features {
  margin-top: 18px;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  background: var(--bg-soft);
  padding: 14px 16px;
}
.lp-more-title {
  font-size: 12px;
  font-weight: 900;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.lp-more-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.lp-more-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--text-muted);
}

/* How it works */
.lp-how-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.lp-how {
  border: 1px solid var(--border-light);
  border-radius: 16px;
  background: var(--bg-main);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}
.lp-how-step {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(var(--brand-accent-rgb), 0.14);
  border: 1px solid rgba(var(--brand-accent-rgb), 0.26);
  color: var(--brand-accent-hover);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}
.lp-how h3 { margin: 14px 0 0; font-size: 16px; font-weight: 900; color: var(--text-main); }
.lp-how p { margin: 8px 0 0; color: var(--text-muted); font-weight: 600; }
.lp-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--bg-main);
  padding: 18px;
  box-shadow: 0 1px 2px rgba(var(--text-main-rgb), 0.04);
  transition: box-shadow 200ms ease, transform 200ms ease, border-color 200ms ease;
}
.lp-card:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--brand-primary-rgb), 0.20);
  box-shadow: 0 18px 40px rgba(var(--brand-primary-rgb), 0.12);
}
.lp-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-primary);
  /* Prevent huge emoji/icon overflow in some Windows font fallbacks */
  font-size: 18px;
  line-height: 1;
  overflow: hidden;
}
.lp-card h3 {
  margin: 14px 0 0;
  font-size: 16px;
  font-weight: 900;
  color: var(--text-main);
}
.lp-card p {
  margin: 8px 0 0;
  color: var(--text-muted);
  font-size: 14px;
}
.lp-accent-line {
  margin-top: 14px;
  height: 3px;
  width: 44px;
  border-radius: 999px;
  background: var(--brand-accent);
}

/* Benefits */
.lp-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  margin-top: 26px;
}

/* Who for + tournaments layout helpers */
.lp-who { align-items: stretch; }
.lp-who .lp-card { height: 100%; }
.lp-tourney-grid { margin-top: 26px; }

/* Pricing blocks */
.lp-pricing-block { margin-top: 20px; }
.lp-pricing-grid-3 { grid-template-columns: repeat(3, 1fr); }

/* Ecosystem flow */
.lp-flow {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
.lp-flow-item {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-light);
  background: var(--bg-main);
  font-weight: 900;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
}
.lp-flow-arrow {
  color: var(--brand-primary);
  font-weight: 900;
  opacity: 0.75;
}
.lp-bullets { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.lp-bullets li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--text-muted);
  font-weight: 600;
}
.lp-check {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(var(--brand-accent-rgb), 0.16);
  border: 1px solid rgba(var(--brand-accent-rgb), 0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-accent);
}
.lp-media {
  border: 1px dashed var(--border-light);
  border-radius: 16px;
  background: var(--bg-soft);
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-weight: 700;
}

/* Pricing */
.lp-pricing-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.lp-price {
  border: 1px solid var(--border-light);
  border-radius: 16px;
  background: var(--bg-main);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.lp-price.featured {
  border-color: rgba(var(--brand-accent-rgb), 0.40);
  box-shadow: 0 22px 50px rgba(var(--brand-primary-rgb), 0.14);
  transform: translateY(-4px);
}
.lp-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--brand-accent);
  color: var(--text-main);
  font-weight: 900;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(var(--text-main-rgb), 0.12);
}
.lp-plan { font-weight: 900; color: var(--text-main); }
.lp-price-val {
  margin-top: 10px;
  font-size: 40px;
  font-weight: 900;
  color: var(--brand-primary);
  letter-spacing: -0.03em;
}
.lp-price-val span { font-size: 14px; color: var(--text-muted); font-weight: 800; }
.lp-price-desc { margin-top: 8px; color: var(--text-muted); font-weight: 600; }
.lp-list { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.lp-list li { color: var(--text-muted); font-weight: 600; display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.lp-price-actions { margin-top: 18px; }

/* CTA */
.lp-cta {
  background: var(--brand-primary);
  color: var(--text-inverse);
  padding: 48px 0;
}
.lp-cta h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 900;
}
.lp-cta p { margin-top: 10px; color: rgba(var(--text-inverse-rgb), 0.82); max-width: 70ch; font-weight: 600; }
.lp-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

/* Footer */
.lp-footer {
  background: var(--brand-primary-hover);
  color: var(--text-inverse);
  padding: 56px 0 18px;
}
.lp-footer a { color: rgba(var(--text-inverse-rgb), 0.82); }
.lp-footer a:hover { color: var(--text-inverse); }
.lp-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 22px;
}
.lp-footer-social {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.lp-social {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(var(--text-inverse-rgb), 0.18);
  background: rgba(var(--text-inverse-rgb), 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}
.lp-social:hover {
  transform: translateY(-2px);
  background: rgba(var(--text-inverse-rgb), 0.10);
  border-color: rgba(var(--text-inverse-rgb), 0.26);
}

.lp-social-disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.lp-social-disabled:hover {
  transform: none;
  background: rgba(var(--text-inverse-rgb), 0.06);
  border-color: rgba(var(--text-inverse-rgb), 0.18);
}

@media (max-width: 920px) {
  .lp-card-featured { grid-column: span 1; }
  .lp-feature-grid { grid-template-columns: 1fr; }
  .lp-more-grid { grid-template-columns: 1fr; }
  .lp-how-grid { grid-template-columns: 1fr; }
}
.lp-footer-title { font-weight: 900; }
.lp-footer-muted { color: rgba(var(--text-inverse-rgb), 0.70); margin-top: 10px; }
.lp-mt-14 { margin-top: 14px; }

/* =====================================================
   Academy registration (Bootstrap 5) - page-specific
   ===================================================== */

.reg-wrap {
  background: var(--bg-alt);
}

.reg-title {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--brand-primary);
}

.reg-section-title {
  font-weight: 800;
  color: var(--text-main);
}

.reg-price {
  font-weight: 900;
  color: var(--brand-primary);
}

.reg-per-month {
  font-size: 14px;
  font-weight: 700;
}

.plan-card {
  border: 1px solid var(--border-light);
  border-radius: 16px;
  transition: box-shadow 180ms ease, transform 180ms ease, border-color 180ms ease;
}
.plan-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(var(--brand-primary-rgb), 0.22);
}
.plan-card.selected {
  border-color: rgba(var(--brand-accent-rgb), 0.55);
  box-shadow: 0 18px 40px rgba(var(--brand-primary-rgb), 0.12);
  position: relative;
}
.plan-card.selected::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 16px;
  border: 2px solid rgba(var(--brand-accent-rgb), 0.55);
  pointer-events: none;
}

.plan-badge-popular {
  position: absolute;
  top: 14px;
  right: 14px;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
  background: rgba(var(--brand-accent-rgb), 0.16);
  border: 1px solid rgba(var(--brand-accent-rgb), 0.35);
  color: var(--text-main);
}
.lp-footer-links { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.lp-footer-bottom {
  margin-top: 34px;
  padding-top: 16px;
  border-top: 1px solid rgba(var(--text-inverse-rgb), 0.16);
  font-size: 12px;
  color: rgba(var(--text-inverse-rgb), 0.70);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

/* =====================================================
   Landing sections (Problem / Analytics / Comparison / Testimonials / Demo)
   ===================================================== */

/* Problem section */
.lp-problem {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: start;
  margin-top: 26px;
}
.lp-problem-list {
  border: 1px solid var(--border-light);
  border-radius: 16px;
  background: var(--bg-main);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}
.lp-problem-list .lp-bullets li {
  color: var(--text-muted);
  font-weight: 700;
}
.lp-problem-list .lp-bullets strong {
  color: var(--text-main);
  font-weight: 900;
}
.lp-problem-card {
  border: 1px solid var(--border-light);
  border-radius: 16px;
  background: var(--bg-main);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 12px;
}
.lp-problem-kpi {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
}
.lp-problem-kpi-label {
  font-size: 12px;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.lp-problem-kpi-val {
  font-size: 16px;
  font-weight: 900;
  color: var(--brand-primary);
}

/* Analytics section */
.lp-analytics-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.lp-analytics-card {
  border: 1px solid var(--border-light);
  border-radius: 16px;
  background: var(--bg-main);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.lp-analytics-card:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--brand-primary-rgb), 0.18);
  box-shadow: 0 18px 46px rgba(var(--brand-primary-rgb), 0.14);
}
.lp-analytics-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.lp-analytics-title {
  font-weight: 900;
  color: var(--text-main);
}

.lp-analytics-right {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.lp-tip {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid var(--border-light);
  background: var(--bg-soft);
  color: var(--text-muted);
  font-weight: 900;
  font-size: 12px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: default;
}
.lp-tip::after {
  content: attr(data-tip);
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: min(280px, 70vw);
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  background: var(--bg-main);
  color: var(--text-main);
  font-weight: 700;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 140ms ease, transform 140ms ease;
  z-index: 5;
}
.lp-tip:hover::after {
  opacity: 1;
  transform: translateY(0);
}
.lp-pill {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
}
.lp-chart {
  margin-top: 14px;
  border-radius: 14px;
  background:
    radial-gradient(900px 200px at 20% 10%, rgba(var(--brand-primary-rgb), 0.10), transparent 55%),
    radial-gradient(700px 220px at 80% 0%, rgba(var(--brand-accent-rgb), 0.10), transparent 55%),
    linear-gradient(180deg, var(--bg-main), var(--bg-alt));
  border: 1px solid var(--border-light);
  overflow: hidden;
  position: relative;
}
.lp-analytics-foot {
  margin-top: 12px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.lp-muted { color: var(--text-muted); font-weight: 700; font-size: 12px; }
.lp-strong { color: var(--text-main); font-weight: 900; }

.lp-legend {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  color: var(--text-muted);
  font-weight: 800;
  font-size: 12px;
}
.lp-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.lp-swatch {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
}
.lp-swatch.primary { background: var(--brand-primary); }
.lp-swatch.accent { background: var(--brand-accent); }
.lp-swatch.danger { background: rgba(var(--brand-primary-rgb), 0.35); }
.lp-swatch.muted { background: rgba(var(--text-main-rgb), 0.18); }

/* Mock charts (pure CSS) */
.lp-chart-line { height: 140px; }
.lp-chart-line::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(var(--text-main-rgb), 0.06) 1px, transparent 1px) 0 0 / 24px 100%,
    linear-gradient(180deg, rgba(var(--text-main-rgb), 0.06) 1px, transparent 1px) 0 0 / 100% 24px;
}
.lp-chart-line::after {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 10px;
  background:
    radial-gradient(circle at 12% 72%, rgba(var(--brand-accent-rgb), 0.95) 0 3px, transparent 4px),
    radial-gradient(circle at 32% 56%, rgba(var(--brand-accent-rgb), 0.95) 0 3px, transparent 4px),
    radial-gradient(circle at 52% 64%, rgba(var(--brand-accent-rgb), 0.95) 0 3px, transparent 4px),
    radial-gradient(circle at 72% 44%, rgba(var(--brand-accent-rgb), 0.95) 0 3px, transparent 4px),
    radial-gradient(circle at 88% 30%, rgba(var(--brand-accent-rgb), 0.95) 0 3px, transparent 4px);
  animation: lpSweep 1.2s ease both;
}

.lp-chart-bars { height: 140px; }
.lp-chart-bars::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(var(--text-main-rgb), 0.05) 1px, transparent 1px) 0 0 / 100% 24px;
}
.lp-chart-bars::after {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 10px;
  background:
    linear-gradient(90deg,
      rgba(var(--brand-primary-rgb), 0.9) 0 8%,
      transparent 0 12%,
      rgba(var(--brand-primary-rgb), 0.7) 0 20%,
      transparent 0 26%,
      rgba(var(--brand-primary-rgb), 0.55) 0 34%,
      transparent 0 40%,
      rgba(var(--brand-primary-rgb), 0.45) 0 48%,
      transparent 0 54%,
      rgba(var(--brand-primary-rgb), 0.35) 0 62%,
      transparent 0 68%,
      rgba(var(--brand-primary-rgb), 0.25) 0 76%,
      transparent 0 82%,
      rgba(var(--brand-primary-rgb), 0.18) 0 90%,
      transparent 0 100%);
  mask: linear-gradient(180deg, transparent 0, #000 24%, #000 100%);
  -webkit-mask: linear-gradient(180deg, transparent 0, #000 24%, #000 100%);
  animation: lpGrow 900ms ease both;
}

.lp-chart-pie {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lp-chart-pie::before {
  content: "";
  width: 118px;
  height: 118px;
  border-radius: 999px;
  background:
    conic-gradient(
      var(--brand-primary) 0 62%,
      var(--brand-accent) 62% 86%,
      rgba(var(--brand-primary-rgb), 0.18) 86% 100%
    );
  animation: lpSpinIn 900ms ease both;
}
.lp-pie-center {
  position: absolute;
  width: 86px;
  height: 86px;
  border-radius: 999px;
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.lp-pie-val { font-weight: 900; color: var(--brand-primary); font-size: 22px; letter-spacing: -0.02em; }
.lp-pie-lbl { font-size: 12px; font-weight: 700; color: var(--text-muted); }

.lp-chart-progress { padding: 14px; }
.lp-progress-row {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
  align-items: center;
  margin: 10px 0;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 12px;
}
.lp-progress {
  height: 10px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
  overflow: hidden;
}
.lp-progress i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--brand-accent), var(--brand-primary));
  border-radius: 999px;
  animation: lpGrow 900ms ease both;
}

@keyframes lpGrow {
  from { transform: scaleX(0.6); opacity: 0.7; }
  to { transform: scaleX(1); opacity: 1; }
}
@keyframes lpSweep {
  from { clip-path: inset(0 100% 0 0); opacity: 0.6; }
  to { clip-path: inset(0 0 0 0); opacity: 1; }
}
@keyframes lpSpinIn {
  from { transform: scale(0.92) rotate(-40deg); opacity: 0.6; }
  to { transform: scale(1) rotate(0deg); opacity: 1; }
}

/* Comparison table */
.lp-table-wrap {
  margin-top: 26px;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-main);
  box-shadow: var(--shadow-sm);
}
.lp-table {
  width: 100%;
  border-collapse: collapse;
}
.lp-table thead th {
  text-align: left;
  padding: 14px 16px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border-light);
  color: var(--text-main);
  font-weight: 900;
  font-size: 13px;
}
.lp-table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-muted);
  font-weight: 700;
}
.lp-table tbody tr:last-child td { border-bottom: 0; }
.lp-yes { color: var(--brand-primary); font-weight: 900; }
.lp-no { color: var(--text-muted); }

/* Testimonials */
.lp-quote {
  border: 1px solid var(--border-light);
  border-radius: 16px;
  background: var(--bg-main);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}
.lp-quote-stars {
  color: var(--brand-accent);
  letter-spacing: 0.12em;
  font-weight: 900;
  font-size: 12px;
}
.lp-quote-text {
  margin: 12px 0 0;
  color: var(--text-main);
  font-weight: 700;
}
.lp-quote-meta { margin-top: 14px; }
.lp-quote-name { font-weight: 900; color: var(--brand-primary); }
.lp-quote-role { font-size: 12px; font-weight: 700; color: var(--text-muted); }

/* Final CTA demo box */
.lp-cta-actions { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 12px; }
.lp-demo {
  border: 1px solid rgba(var(--text-inverse-rgb), 0.18);
  background: rgba(var(--text-inverse-rgb), 0.10);
  border-radius: 18px;
  padding: 22px;
  max-width: 420px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.lp-demo-form { width: 100%; }
.lp-demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.lp-label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
}
.lp-input {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  background: var(--bg-soft);
  color: var(--text-main);
  padding: 10px 12px;
  outline: none;
}
.lp-input:focus {
  border-color: rgba(var(--brand-accent-rgb), 0.80);
  box-shadow: 0 0 0 0.25rem rgba(var(--brand-accent-rgb), 0.18);
}

/* CTA demo form uses inverse/glass styling */
.lp-demo .lp-label { color: var(--text-inverse); }
.lp-demo .lp-input {
  border: 1px solid rgba(var(--text-inverse-rgb), 0.22);
  background: rgba(var(--text-inverse-rgb), 0.10);
  color: var(--text-inverse);
}
.lp-demo .lp-demo-hint {
  margin-top: 10px;
  font-size: 12px;
  color: rgba(var(--text-inverse-rgb), 0.74);
  font-weight: 700;
}
.lp-demo .lp-demo-thanks-title {
  font-weight: 900;
  color: var(--text-inverse);
  font-size: 16px;
}
.lp-demo .lp-demo-thanks-text {
  margin-top: 6px;
  color: rgba(var(--text-inverse-rgb), 0.82);
  font-weight: 700;
}
.lp-mt-12 { margin-top: 12px; }

/* Responsive */
@media (max-width: 992px) {
  .lp-hero-content { max-width: none; }
  .lp-hero-row { --bs-gutter-y: 2.5rem; }
  .lp-hero-col-preview { margin-top: 0.5rem; }
  .lp-hero-preview { max-width: 100%; }
}

@media (max-width: 920px) {
  :root { --section-y: 68px; }
  .lp-hero {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
  .lp-hero-actions { margin-top: 1.5rem; }
  .lp-hero-cta-primary,
  .lp-hero-cta-secondary {
    min-height: 46px;
    padding: 12px 22px !important;
  }
  .lp-hero-grid { grid-template-columns: 1fr; }
  .lp-grid-3 { grid-template-columns: 1fr; }
  .lp-grid-2 { grid-template-columns: 1fr; }
  .lp-pricing-grid { grid-template-columns: 1fr; }
  .lp-pricing-grid-3 { grid-template-columns: 1fr; }
  .lp-price.featured { transform: none; }
  .lp-problem { grid-template-columns: 1fr; }
  .lp-analytics-grid { grid-template-columns: 1fr; }
  .lp-demo-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .lp-nav { display: none; }
  .lp-nav-cta { display: none; }
  .lp-nav-toggle { display: inline-flex; }
}

@media (max-width: 576px) {
  .lp-container { padding-left: 16px; padding-right: 16px; }
  .lp-hero-actions { flex-direction: column; align-items: stretch; }
  .lp-hero-actions .lp-btn { justify-content: center; }
}

/* =====================================================
   Pricing section (3-tier cards) — equal height, one-line price, SaaS look
   ===================================================== */
.pricing-section .pricing-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 24px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transition: all 0.25s ease;
  position: relative;
}
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}
.pricing-card .badge {
  position: absolute;
  top: -12px;
  right: 16px;
  font-size: 12px;
  padding: 6px 10px;
}
/* Price typography — one line, amount + period */
.pricing-section .price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  margin: 12px 0 18px;
}
.pricing-section .price .amount {
  font-size: 44px;
  font-weight: 800;
  color: #1e3a5f;
  line-height: 1;
}
.pricing-section .price .period {
  font-size: 16px;
  color: #6b7280;
  font-weight: 500;
}
/* Feature list */
.pricing-section .pricing-card ul {
  text-align: left;
  margin: 18px 0;
  padding-left: 0;
  list-style: none;
}
.pricing-section .pricing-card ul li {
  margin-bottom: 10px;
}
/* Button at bottom of card */
.pricing-section .pricing-card .btn,
.pricing-section .pricing-card button {
  margin-top: auto;
}

