/* ==========================================================================
   Telegram Manager — Next.js-Style Executive SaaS Landing Page (V42.0.0)
   Obsidian Dark Default + Crisp Light Mode Toggle, Fluid Motion, All-Device
   ========================================================================== */

:root {
  --lp-bg: #050914;
  --lp-surface: #0b1222;
  --lp-surface-2: #111a2e;
  --lp-glass: rgba(11, 18, 34, 0.78);
  --lp-border: rgba(148, 163, 184, 0.14);
  --lp-border-strong: rgba(148, 163, 184, 0.26);
  --lp-ink: #f8fafc;
  --lp-muted: #94a3b8;
  --lp-accent: #38bdf8;
  --lp-blue: #2563eb;
  --lp-indigo: #4f46e5;
  --lp-emerald: #10b981;
  --lp-danger: #f43f5e;
  --lp-card-shadow: 0 18px 42px -18px rgba(0, 0, 0, 0.65);
  --lp-font-sans: 'Plus Jakarta Sans', 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --lp-font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

html.lp-light {
  --lp-bg: #f8fafc;
  --lp-surface: #ffffff;
  --lp-surface-2: #f1f5f9;
  --lp-glass: rgba(255, 255, 255, 0.86);
  --lp-border: #e2e8f0;
  --lp-border-strong: #cbd5e1;
  --lp-ink: #0f172a;
  --lp-muted: #475569;
  --lp-accent: #0284c7;
  --lp-card-shadow: 0 16px 36px -18px rgba(15, 23, 42, 0.14);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body.lp-body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--lp-bg);
  color: var(--lp-ink);
  font-family: var(--lp-font-sans);
  line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

body.lp-drawer-open {
  overflow: hidden;
}

/* Subtle Architectural Grid + Top Radial Aura */
.lp-bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(37, 99, 235, 0.24), transparent 70%),
    radial-gradient(circle at 88% 18%, rgba(56, 189, 248, 0.14), transparent 45%),
    linear-gradient(to right, rgba(148, 163, 184, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 163, 184, 0.055) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 44px 44px, 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0.75) 55%, rgba(0,0,0,0.2) 100%);
}

html.lp-light .lp-bg-grid {
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(37, 99, 235, 0.1), transparent 70%),
    linear-gradient(to right, rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  background-size: 100% 100%, 44px 44px, 44px 44px;
}

.lp-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2.5px;
  width: 0%;
  z-index: 120;
  background: linear-gradient(90deg, #38bdf8, #2563eb, #6366f1, #10b981);
  transition: width 0.08s linear;
}

.lp-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 22px;
}

a { color: inherit; text-decoration: none; }

/* ==========================================================================
   1. STICKY FROSTED NAVBAR
   ========================================================================== */
.lp-nav-wrap {
  position: sticky;
  top: 0;
  z-index: 80;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: var(--lp-glass);
  border-bottom: 1px solid var(--lp-border);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.lp-nav-wrap.is-scrolled {
  box-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.45);
  border-bottom-color: var(--lp-border-strong);
}

.lp-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}

.lp-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.lp-brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0b2048 0%, #2563eb 62%, #38bdf8 100%);
  color: #ffffff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.lp-brand-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 16.5px;
  letter-spacing: -0.025em;
}

.lp-ver-chip {
  font-family: var(--lp-font-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.32);
  color: var(--lp-accent);
}

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

.lp-nav-link {
  padding: 7px 13px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--lp-muted);
  transition: color 0.16s ease, background 0.16s ease;
}

.lp-nav-link:hover,
.lp-nav-link.active {
  color: var(--lp-ink);
  background: var(--lp-surface-2);
}

.lp-nav-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
}

.lp-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  border: 1px solid var(--lp-border-strong);
  background: var(--lp-surface);
  color: var(--lp-muted);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.16s ease;
  padding: 0;
}

.lp-icon-btn:hover {
  color: var(--lp-ink);
  border-color: var(--lp-accent);
}

html:not(.lp-light) .lp-theme-btn .icon-sun { display: block; }
html:not(.lp-light) .lp-theme-btn .icon-moon { display: none; }
html.lp-light .lp-theme-btn .icon-sun { display: none; }
html.lp-light .lp-theme-btn .icon-moon { display: block; }

.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 11px;
  font-size: 13.5px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.lp-btn:hover { transform: translateY(-1.5px); }

.lp-btn-ghost {
  background: var(--lp-surface);
  border-color: var(--lp-border-strong);
  color: var(--lp-ink);
}

.lp-btn-ghost:hover {
  border-color: var(--lp-accent);
  background: var(--lp-surface-2);
}

.lp-btn-primary {
  background: linear-gradient(135deg, #38bdf8 0%, #2563eb 52%, #4f46e5 100%);
  color: #ffffff;
  box-shadow: 0 10px 26px -6px rgba(37, 99, 235, 0.55);
  border-color: rgba(186, 230, 253, 0.3);
}

.lp-btn-primary:hover {
  filter: brightness(1.07);
  box-shadow: 0 14px 32px -6px rgba(37, 99, 235, 0.68);
}

.lp-btn-lg {
  min-height: 48px;
  padding: 0 22px;
  border-radius: 13px;
  font-size: 14.5px;
}

.lp-hamburger {
  display: none;
}

/* Mobile Slide Drawer */
.lp-drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  visibility: hidden;
  pointer-events: none;
}

.lp-drawer.open {
  visibility: visible;
  pointer-events: auto;
}

.lp-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.68);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.lp-drawer.open .lp-drawer-backdrop { opacity: 1; }

.lp-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(86vw, 330px);
  background: var(--lp-surface);
  border-left: 1px solid var(--lp-border-strong);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transform: translateX(102%);
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
  overflow-y: auto;
}

.lp-drawer.open .lp-drawer-panel { transform: translateX(0); }

.lp-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--lp-border);
}

.lp-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lp-drawer-links a {
  padding: 11px 14px;
  border-radius: 12px;
  font-weight: 650;
  font-size: 14.5px;
  background: var(--lp-surface-2);
  border: 1px solid var(--lp-border);
}

.lp-drawer-cta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--lp-border);
}

/* ==========================================================================
   2. HERO SECTION & INTERACTIVE LIVE SIMULATOR STAGE
   ========================================================================== */
.lp-hero {
  padding: clamp(38px, 6vw, 76px) 0 clamp(42px, 5vw, 68px);
}

.lp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 36px;
  align-items: center;
}

.lp-badge-new {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 13px 5px 7px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.34);
  font-size: 12px;
  font-weight: 700;
  color: var(--lp-accent);
  margin-bottom: 18px;
}

.lp-badge-pill {
  padding: 2px 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.lp-hero-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(30px, 4.2vw, 52px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.lp-grad-txt {
  background: linear-gradient(110deg, #38bdf8 0%, #60a5fa 40%, #a78bfa 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

html.lp-light .lp-grad-txt {
  background: linear-gradient(110deg, #0284c7 0%, #2563eb 50%, #4f46e5 95%);
  -webkit-background-clip: text;
  background-clip: text;
}

.lp-hero-desc {
  margin: 0 0 26px;
  font-size: clamp(15px, 1.5vw, 17.5px);
  color: var(--lp-muted);
  line-height: 1.65;
  max-width: 580px;
}

.lp-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.lp-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--lp-muted);
}

.lp-trust-pills span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lp-trust-pills i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lp-emerald);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.22);
}

/* Right Column: Interactive Next.js App Window Frame */
.lp-stage-frame {
  border-radius: 22px;
  background: var(--lp-surface);
  border: 1px solid var(--lp-border-strong);
  box-shadow: var(--lp-card-shadow), 0 0 60px -20px rgba(37, 99, 235, 0.35);
  overflow: hidden;
  min-width: 0;
}

.lp-stage-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  background: var(--lp-surface-2);
  border-bottom: 1px solid var(--lp-border);
}

.lp-win-dots {
  display: inline-flex;
  gap: 6px;
}

.lp-win-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.lp-win-dots span:nth-child(1) { background: #ef4444; }
.lp-win-dots span:nth-child(2) { background: #f59e0b; }
.lp-win-dots span:nth-child(3) { background: #10b981; }

.lp-url-chip {
  font-family: var(--lp-font-mono);
  font-size: 11px;
  color: var(--lp-muted);
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--lp-bg);
  border: 1px solid var(--lp-border);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lp-stage-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 10px 14px;
  background: var(--lp-bg);
  border-bottom: 1px solid var(--lp-border);
}

.lp-stage-tab {
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--lp-muted);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.16s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lp-stage-tab.active {
  background: rgba(37, 99, 235, 0.16);
  border-color: rgba(56, 189, 248, 0.35);
  color: var(--lp-ink);
}

.lp-stage-body {
  padding: 18px;
  min-height: 290px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.lp-stage-pane { display: none; animation: lpFadeIn 0.25s ease; }
.lp-stage-pane.active { display: flex; flex-direction: column; gap: 12px; }

@keyframes lpFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.lp-mock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--lp-surface-2);
  border: 1px solid var(--lp-border);
}

.lp-mock-left {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.lp-mock-ava {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 13px;
  flex-shrink: 0;
}

.lp-mock-txt strong { display: block; font-size: 13px; font-weight: 750; }
.lp-mock-txt small { display: block; font-size: 11.5px; color: var(--lp-muted); }

.lp-pill-ok {
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  white-space: nowrap;
}

html.lp-light .lp-pill-ok { color: #059669; }

.lp-mock-bars {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: end;
  gap: 8px;
  height: 135px;
  padding: 14px 12px 8px;
  border-radius: 14px;
  background: var(--lp-surface-2);
  border: 1px solid var(--lp-border);
}

.lp-mock-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  height: 100%;
  justify-content: flex-end;
}

.lp-mock-bar {
  width: 100%;
  max-width: 24px;
  border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg, #38bdf8, #2563eb);
}

.lp-mock-col span {
  font-family: var(--lp-font-mono);
  font-size: 10px;
  color: var(--lp-muted);
}

/* ==========================================================================
   3. COMMON SECTION HEADINGS & TOP METRIC BENTO STRIP
   ========================================================================== */
.lp-section {
  padding: clamp(46px, 6vw, 82px) 0;
}

.lp-sec-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 38px;
}

.lp-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.28);
  color: var(--lp-accent);
  margin-bottom: 12px;
}

.lp-sec-head h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3.3vw, 38px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.18;
}

.lp-sec-head p {
  margin: 0;
  font-size: 15px;
  color: var(--lp-muted);
  line-height: 1.6;
}

.lp-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.lp-stat-card {
  padding: 20px 22px;
  border-radius: 18px;
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  box-shadow: var(--lp-card-shadow);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.lp-stat-card:hover {
  transform: translateY(-2px);
  border-color: var(--lp-accent);
}

.lp-stat-card strong {
  display: block;
  font-family: var(--lp-font-mono);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 800;
  color: var(--lp-ink);
  margin-bottom: 4px;
}

.lp-stat-card span {
  display: block;
  font-size: 13px;
  color: var(--lp-muted);
}

/* ==========================================================================
   4. 4-STEP ONBOARDING FLOW & INTERACTIVE SCENARIO PREVIEW
   ========================================================================== */
.lp-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.lp-step-card {
  position: relative;
  padding: 22px;
  border-radius: 20px;
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.lp-step-card:hover {
  transform: translateY(-3px);
  border-color: var(--lp-accent);
}

.lp-step-num {
  font-family: var(--lp-font-mono);
  font-size: 12px;
  font-weight: 800;
  color: var(--lp-accent);
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  width: fit-content;
  padding: 3px 10px;
  border-radius: 999px;
}

.lp-step-card h3 {
  margin: 0;
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.lp-step-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--lp-muted);
  line-height: 1.55;
}

/* Interactive Preview Split */
.lp-sim-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 24px;
  align-items: stretch;
  padding: 24px;
  border-radius: 24px;
  background: var(--lp-surface);
  border: 1px solid var(--lp-border-strong);
  box-shadow: var(--lp-card-shadow);
}

.lp-sim-tabs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lp-sim-btn {
  text-align: left;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid var(--lp-border);
  background: var(--lp-surface-2);
  color: var(--lp-ink);
  font-family: inherit;
  cursor: pointer;
  transition: all 0.18s ease;
}

.lp-sim-btn.active {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(14, 165, 233, 0.12));
  border-color: var(--lp-accent);
  box-shadow: 0 8px 24px -10px rgba(56, 189, 248, 0.35);
}

.lp-sim-btn strong {
  display: block;
  font-size: 14.5px;
  font-weight: 800;
  margin-bottom: 4px;
}

.lp-sim-btn span {
  display: block;
  font-size: 12.5px;
  color: var(--lp-muted);
  line-height: 1.45;
}

.lp-sim-screen {
  border-radius: 18px;
  background: #060d1f;
  border: 1px solid rgba(56, 189, 248, 0.22);
  padding: 20px;
  color: #e2e8f0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.lp-sim-panel { display: none; flex-direction: column; gap: 12px; }
.lp-sim-panel.active { display: flex; animation: lpFadeIn 0.24s ease; }

.lp-term-line {
  font-family: var(--lp-font-mono);
  font-size: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.15);
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

/* ==========================================================================
   5. FILTERABLE BENTO FEATURES
   ========================================================================== */
.lp-filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.lp-filter-pill {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--lp-border-strong);
  background: var(--lp-surface);
  color: var(--lp-muted);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.16s ease;
}

.lp-filter-pill.active,
.lp-filter-pill:hover {
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  border-color: transparent;
  color: #ffffff;
}

.lp-feat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}

.lp-feat-card {
  padding: 20px;
  border-radius: 18px;
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.lp-feat-card:hover {
  transform: translateY(-2px);
  border-color: var(--lp-accent);
}

.lp-feat-card.is-hidden { display: none; }

.lp-feat-ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--lp-accent);
  display: grid;
  place-items: center;
}

.lp-feat-card h3 { margin: 0; font-size: 15.5px; font-weight: 800; }
.lp-feat-card p { margin: 0; font-size: 13px; color: var(--lp-muted); line-height: 1.55; }

/* ==========================================================================
   6. LIVE PRICING PREVIEW & COMPARISON
   ========================================================================== */
.lp-billing-switch {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  padding: 5px;
  border-radius: 14px;
  background: var(--lp-surface-2);
  border: 1px solid var(--lp-border-strong);
  margin: 0 auto 28px;
}

.lp-cycle-btn {
  padding: 9px 18px;
  border-radius: 10px;
  border: 0;
  background: transparent;
  color: var(--lp-muted);
  font-family: inherit;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.lp-cycle-btn.active {
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}

.lp-plans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.lp-plan-card {
  position: relative;
  padding: 26px 24px;
  border-radius: 22px;
  background: var(--lp-surface);
  border: 1px solid var(--lp-border-strong);
  box-shadow: var(--lp-card-shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lp-plan-card.is-popular {
  border-color: #38bdf8;
  background: linear-gradient(160deg, rgba(37, 99, 235, 0.16) 0%, var(--lp-surface) 55%);
}

.lp-plan-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 800;
  background: linear-gradient(135deg, #38bdf8, #2563eb);
  color: #ffffff;
}

.lp-plan-card h3 { margin: 0; font-size: 20px; font-weight: 800; }
.lp-plan-desc { margin: -8px 0 0; font-size: 13px; color: var(--lp-muted); min-height: 38px; }

.lp-plan-price {
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--lp-surface-2);
  border: 1px solid var(--lp-border);
}

.lp-plan-price strong {
  font-family: var(--lp-font-mono);
  font-size: 28px;
  font-weight: 800;
  color: var(--lp-ink);
}

.lp-plan-price span {
  font-size: 13px;
  color: var(--lp-muted);
  font-weight: 600;
}

.lp-plan-feats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  color: var(--lp-muted);
}

.lp-plan-feats li {
  display: flex;
  align-items: center;
  gap: 9px;
}

.lp-plan-feats i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.16);
  color: var(--lp-emerald);
  display: grid;
  place-items: center;
  font-style: normal;
  font-weight: 800;
  font-size: 11px;
  flex-shrink: 0;
}

/* Comparison Table */
.lp-compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.lp-cmp-card {
  padding: 24px;
  border-radius: 20px;
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
}

.lp-cmp-card.pro {
  border-color: rgba(56, 189, 248, 0.45);
  background: linear-gradient(155deg, rgba(37, 99, 235, 0.12), var(--lp-surface) 60%);
}

.lp-cmp-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 13.5px;
  color: var(--lp-muted);
}

/* ==========================================================================
   7. FAQ ACCORDION, FINAL CTA & FOOTER
   ========================================================================== */
.lp-faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lp-faq-item {
  border-radius: 16px;
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  overflow: hidden;
  transition: border-color 0.18s ease;
}

.lp-faq-item.open { border-color: var(--lp-accent); }

.lp-faq-q {
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  background: transparent;
  border: 0;
  color: var(--lp-ink);
  font-family: inherit;
  font-size: 15px;
  font-weight: 750;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
}

.lp-faq-plus {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--lp-surface-2);
  border: 1px solid var(--lp-border);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.lp-faq-item.open .lp-faq-plus {
  transform: rotate(45deg);
  color: var(--lp-accent);
  border-color: var(--lp-accent);
}

.lp-faq-a {
  display: none;
  padding: 0 20px 18px;
  font-size: 13.5px;
  color: var(--lp-muted);
  line-height: 1.65;
}

.lp-faq-item.open .lp-faq-a { display: block; animation: lpFadeIn 0.2s ease; }

/* Final CTA Banner */
.lp-cta-banner {
  padding: clamp(32px, 5vw, 56px) clamp(22px, 4vw, 48px);
  border-radius: 26px;
  background: linear-gradient(124deg, #061229 0%, #0b2048 52%, #123675 100%);
  border: 1px solid rgba(56, 189, 248, 0.34);
  box-shadow: 0 24px 60px -18px rgba(6, 18, 41, 0.6);
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.lp-cta-banner h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.lp-cta-banner p {
  margin: 0 auto 24px;
  max-width: 600px;
  color: rgba(226, 232, 240, 0.86);
  font-size: 15px;
}

/* Footer */
.lp-footer {
  margin-top: 40px;
  padding: 46px 0 32px;
  border-top: 1px solid var(--lp-border);
  background: var(--lp-surface);
}

.lp-footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-bottom: 30px;
}

.lp-footer-col h4 {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--lp-ink);
}

.lp-footer-col a {
  display: block;
  padding: 4px 0;
  font-size: 13px;
  color: var(--lp-muted);
}

.lp-footer-col a:hover { color: var(--lp-accent); }

.lp-footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--lp-border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  color: var(--lp-muted);
}

/* Reveal utility with failsafe visibility */
.lp-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.42s ease, transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.lp-reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (ALL DEVICES)
   ========================================================================== */
@media (max-width: 1024px) {
  .lp-hero-grid,
  .lp-sim-wrap {
    grid-template-columns: 1fr;
  }
  .lp-steps-grid,
  .lp-feat-grid,
  .lp-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .lp-plans-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .lp-nav-links,
  .lp-nav-actions .lp-btn-ghost {
    display: none;
  }
  .lp-hamburger {
    display: grid;
  }
  .lp-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .lp-container { padding: 0 16px; }
  .lp-nav { height: 60px; }
  .lp-nav-actions .lp-btn-primary {
    padding: 0 12px;
    font-size: 12.5px;
    min-height: 36px;
  }
  .lp-plans-grid,
  .lp-compare-grid,
  .lp-steps-grid,
  .lp-feat-grid,
  .lp-stats-grid,
  .lp-footer-grid {
    grid-template-columns: 1fr;
  }
  .lp-hero-ctas .lp-btn-lg {
    width: 100%;
  }
  .lp-sim-wrap { padding: 14px; }
}

@media (max-width: 380px) {
  .lp-ver-chip { display: none; }
  .lp-stage-tabs { gap: 4px; padding: 8px; }
  .lp-stage-tab { font-size: 11px; padding: 7px 6px; }
}

@media (prefers-reduced-motion: reduce) {
  .lp-reveal { opacity: 1; transform: none; transition: none; }
  .lp-btn, .lp-step-card, .lp-stat-card, .lp-feat-card { transition: none; }
}
