/* =========================================================================
   JADI BOT ANABOT — LANDING PAGE
   All rules are scoped under .lp (page root) or .lp-body (body modifier set
   by layout.html for this page only). The login page, dashboard, and every
   other authenticated view are unaffected by this file.
   ========================================================================= */

:root {
  --lp-bg: #0a0e12;
  --lp-bg-soft: #0d1319;
  --lp-panel: rgba(255, 255, 255, 0.03);
  --lp-panel-2: rgba(255, 255, 255, 0.045);
  --lp-border: rgba(255, 255, 255, 0.08);
  --lp-border-strong: rgba(255, 255, 255, 0.14);
  --lp-text: #f4f7f9;
  --lp-muted: #9aa7b4;
  --lp-green: #25d366;
  --lp-green-bright: #2fe07a;
  --lp-green-deep: #0e9f6e;
  --lp-teal: #128c7e;
  --lp-ink: #05170e;
  --lp-font: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif;
  --lp-display: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --lp-radius: 20px;
  --lp-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- body modifier (aurora recolor + forced charcoal) ------------------- */
.lp-body {
  background: var(--lp-bg) !important;
}
.lp-body .aurora-orb-1 { background: rgba(37, 211, 102, 0.22); }
.lp-body .aurora-orb-2 { background: rgba(18, 140, 126, 0.20); }
.lp-body .aurora-orb-3 { background: rgba(47, 224, 122, 0.12); }
.lp-body .aurora-grid { opacity: 0.35; }

/* ---- page root ---------------------------------------------------------- */
.lp {
  position: relative;
  min-height: 100vh;
  background:
    radial-gradient(900px 520px at 78% 8%, rgba(37, 211, 102, 0.07), transparent 65%),
    radial-gradient(700px 480px at 12% 92%, rgba(18, 140, 126, 0.08), transparent 65%),
    var(--lp-bg);
  color: var(--lp-text);
  font-family: var(--lp-font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

.lp ::selection {
  background: rgba(37, 211, 102, 0.35);
  color: #fff;
}

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

.lp :focus-visible {
  outline: 2px solid var(--lp-green);
  outline-offset: 3px;
  border-radius: 6px;
}

.lp h1, .lp h2, .lp h3 {
  font-family: var(--lp-display);
  color: var(--lp-text);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

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

/* ---- reveal on scroll (only when JS is active) -------------------------- */
.lp-js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.75s var(--lp-ease) var(--d, 0ms),
    transform 0.75s var(--lp-ease) var(--d, 0ms);
}
.lp-js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* =========================================================================
   NAVBAR
   ========================================================================= */
.lp-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
  border-bottom: 1px solid transparent;
}
.lp-nav.is-scrolled {
  background: rgba(10, 14, 18, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--lp-border);
}
.lp-nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.lp-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--lp-text);
}
.lp-brand-tile {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #04150c;
  background: linear-gradient(135deg, var(--lp-green-bright), var(--lp-green) 50%, var(--lp-green-deep));
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}
.lp-brand-text em {
  font-style: normal;
  color: var(--lp-green-bright);
}
.lp-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.lp-nav-links a {
  padding: 8px 13px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--lp-muted);
  transition: color 0.2s ease, background 0.2s ease;
}
.lp-nav-links a:hover {
  color: var(--lp-text);
  background: rgba(255, 255, 255, 0.05);
}
.lp-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 8px;
}
.lp-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 11px;
  border: 1px solid var(--lp-border);
  background: var(--lp-panel);
  cursor: pointer;
}
.lp-burger span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: var(--lp-text);
  transition: transform 0.3s var(--lp-ease), opacity 0.2s ease;
}
.lp-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.lp-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.lp-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.lp-mobile-menu {
  display: none;
  border-top: 1px solid var(--lp-border);
  background: rgba(10, 14, 18, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.lp-mobile-menu.is-open { display: block; }
.lp-mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 22px 20px;
  max-width: 1140px;
  margin: 0 auto;
}
.lp-mobile-menu a {
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  color: var(--lp-muted);
}
.lp-mobile-menu a:hover { background: rgba(255, 255, 255, 0.05); color: var(--lp-text); }
.lp-mobile-menu .lp-btn { margin-top: 8px; justify-content: center; color: var(--lp-ink); }

/* =========================================================================
   BUTTONS
   ========================================================================= */
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--lp-ease), box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}
.lp-btn:active { transform: scale(0.98); }
.lp-btn-primary {
  color: var(--lp-ink);
  background: linear-gradient(135deg, var(--lp-green-bright), var(--lp-green) 48%, var(--lp-green-deep));
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.lp-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 38px rgba(37, 211, 102, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.lp-btn-ghost {
  color: var(--lp-text);
  background: var(--lp-panel);
  border-color: var(--lp-border-strong);
  backdrop-filter: blur(8px);
}
.lp-btn-ghost:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(37, 211, 102, 0.45);
}
.lp-btn-sm { padding: 9px 18px; font-size: 13.5px; border-radius: 12px; }
.lp-btn-lg { padding: 15px 30px; font-size: 15.5px; border-radius: 16px; }

/* =========================================================================
   HERO
   ========================================================================= */
.lp-hero {
  padding: clamp(120px, 16vw, 168px) 0 clamp(64px, 9vw, 110px);
}
.lp-hero-grid {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 22px;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}
.lp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(37, 211, 102, 0.3);
  background: rgba(37, 211, 102, 0.08);
  color: var(--lp-green-bright);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.lp-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lp-green-bright);
  box-shadow: 0 0 10px rgba(47, 224, 122, 0.9);
  animation: lp-dotpulse 2.2s ease-in-out infinite;
}
@keyframes lp-dotpulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.7; }
}
.lp-hero h1 {
  margin: 22px 0 0;
  font-size: clamp(2.35rem, 5.4vw, 3.7rem);
  font-weight: 700;
}
.lp-hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--lp-green-bright), var(--lp-green) 45%, var(--lp-teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lp-hero-sub {
  margin: 20px 0 0;
  max-width: 34em;
  color: var(--lp-muted);
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  line-height: 1.7;
}
.lp-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.lp-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 34px 0 0;
}
.lp-hero-chips li {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--lp-border);
  background: var(--lp-panel);
  color: var(--lp-muted);
  font-size: 12.5px;
  font-weight: 600;
}
.lp-hero-visual { min-width: 0; }
.lp-visual-frame {
  position: relative;
  border-radius: 28px;
  border: 1px solid var(--lp-border);
  background:
    radial-gradient(70% 60% at 50% 42%, rgba(37, 211, 102, 0.07), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  padding: clamp(10px, 2vw, 22px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}
.lp-visual-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), transparent 38%);
  opacity: 0.6;
}
.lp-morph-svg {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
}

/* =========================================================================
   MORPH SVG — stages
   ========================================================================= */
.lp-scene {
  animation: lp-float 7.5s ease-in-out infinite;
  will-change: transform;
}
@keyframes lp-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.lp-ambient {
  animation: lp-ambientpulse 5.5s ease-in-out infinite;
}
@keyframes lp-ambientpulse {
  0%, 100% { opacity: 0.75; }
  50% { opacity: 1; }
}

/* Stage 1 — signal */
.lp-signal { transition: opacity 0.5s ease; }
#lpMorph.stage-blob .lp-signal,
#lpMorph.stage-chat .lp-signal,
#lpMorph.stage-network .lp-signal,
#lpMorph.stage-connected .lp-signal,
#lpMorph.stage-idle .lp-signal { opacity: 0; }

.lp-signal-dot {
  fill: var(--lp-green-bright);
  filter: drop-shadow(0 0 10px rgba(47, 224, 122, 0.95));
  transform-origin: 200px 200px;
  animation: lp-dotpulse 1.5s ease-in-out infinite;
}
.lp-signal-ring {
  fill: none;
  stroke: var(--lp-green);
  stroke-width: 2;
  transform-origin: 200px 200px;
  animation: lp-ring 2.1s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}
.lp-signal-ring-2 { animation-delay: 0.6s; opacity: 0.8; }
.lp-signal-ring-3 { animation-delay: 1.2s; opacity: 0.6; }
@keyframes lp-ring {
  0% { transform: scale(0.5); opacity: 0.85; }
  100% { transform: scale(4.4); opacity: 0; }
}

/* Stage 2–3 — morphing shape (real polar radius interpolation, see landing.js) */
.lp-morph-shape {
  fill: url(#lpShapeFill);
  stroke: rgba(255, 255, 255, 0.22);
  stroke-width: 1.6;
  stroke-linejoin: round;
  opacity: 0;
  transition: opacity 0.55s ease;
}
#lpMorph.stage-blob .lp-morph-shape,
#lpMorph.stage-chat .lp-morph-shape,
#lpMorph.stage-network .lp-morph-shape,
#lpMorph.stage-connected .lp-morph-shape,
#lpMorph.stage-idle .lp-morph-shape { opacity: 1; }

@media (min-width: 768px) {
  .lp-morph-shape { filter: drop-shadow(0 0 22px rgba(37, 211, 102, 0.4)); }
}

/* typing dots inside the bubble */
.lp-typing circle {
  fill: rgba(4, 24, 14, 0.6);
  opacity: 0;
  transition: opacity 0.5s ease;
}
#lpMorph.stage-chat .lp-typing circle,
#lpMorph.stage-network .lp-typing circle,
#lpMorph.stage-connected .lp-typing circle,
#lpMorph.stage-idle .lp-typing circle { opacity: 1; }
#lpMorph.stage-chat .lp-typing circle,
#lpMorph.stage-network .lp-typing circle,
#lpMorph.stage-connected .lp-typing circle,
#lpMorph.stage-idle .lp-typing circle { animation: lp-typing 1.4s ease-in-out infinite; }
#lpMorph.stage-chat .lp-typing circle:nth-child(2),
#lpMorph.stage-network .lp-typing circle:nth-child(2),
#lpMorph.stage-connected .lp-typing circle:nth-child(2),
#lpMorph.stage-idle .lp-typing circle:nth-child(2) { animation-delay: 0.18s; }
#lpMorph.stage-chat .lp-typing circle:nth-child(3),
#lpMorph.stage-network .lp-typing circle:nth-child(3),
#lpMorph.stage-connected .lp-typing circle:nth-child(3),
#lpMorph.stage-idle .lp-typing circle:nth-child(3) { animation-delay: 0.36s; }
@keyframes lp-typing {
  0%, 100% { transform: translateY(0); }
  40% { transform: translateY(-4px); }
}

/* Stage 4 — network edges + nodes */
.lp-edge {
  stroke: rgba(37, 211, 102, 0.55);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 160;
  stroke-dashoffset: 160;
  transition: stroke-dashoffset 1s var(--lp-ease);
}
#lpMorph.stage-network .lp-edge,
#lpMorph.stage-connected .lp-edge,
#lpMorph.stage-idle .lp-edge { stroke-dashoffset: 0; }

.lp-node {
  fill: #0b1a12;
  stroke: var(--lp-green);
  stroke-width: 2.2;
  opacity: 0;
  transform: scale(0);
  transition: transform 0.55s var(--lp-ease), opacity 0.45s ease;
}
#lpMorph.stage-network .lp-node,
#lpMorph.stage-connected .lp-node,
#lpMorph.stage-idle .lp-node {
  opacity: 1;
  transform: scale(1);
}
.lp-node-1 { transform-origin: 200px 70px; transition-delay: 0.05s; }
.lp-node-2 { transform-origin: 323.6px 159.8px; transition-delay: 0.14s; }
.lp-node-3 { transform-origin: 276.4px 305.2px; transition-delay: 0.23s; }
.lp-node-4 { transform-origin: 123.6px 305.2px; transition-delay: 0.32s; }
.lp-node-5 { transform-origin: 76.4px 159.8px; transition-delay: 0.41s; }

/* Stage 5 — pulses + phone */
.lp-pulse {
  stroke: var(--lp-green-bright);
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-dasharray: 18 240;
  stroke-dashoffset: 258;
  opacity: 0;
}
#lpMorph.stage-connected .lp-pulse,
#lpMorph.stage-idle .lp-pulse {
  opacity: 0.95;
  animation: lp-march 2.8s linear infinite;
}
.lp-pulse-2 { animation-delay: 0.45s !important; }
.lp-pulse-3 { animation-delay: 0.9s !important; }
.lp-pulse-4 { animation-delay: 1.35s !important; }
.lp-pulse-5 { animation-delay: 1.8s !important; }
@keyframes lp-march {
  from { stroke-dashoffset: 258; }
  to { stroke-dashoffset: 0; }
}

.lp-phone {
  opacity: 0;
  transform: translate(12px, 12px);
  transition: opacity 0.7s ease, transform 0.7s var(--lp-ease);
}
#lpMorph.stage-connected .lp-phone,
#lpMorph.stage-idle .lp-phone {
  opacity: 1;
  transform: translate(0, 0);
}
.lp-phone-body {
  fill: #0b1410;
  stroke: rgba(255, 255, 255, 0.45);
  stroke-width: 2.4;
}
.lp-phone-screen {
  fill: rgba(37, 211, 102, 0.08);
  stroke: rgba(37, 211, 102, 0.45);
  stroke-width: 1.4;
}
.lp-phone-dot { fill: rgba(255, 255, 255, 0.55); }
.lp-phone-check {
  stroke: var(--lp-green-bright);
  opacity: 0;
  transition: opacity 0.4s ease 0.45s;
}
#lpMorph.stage-connected .lp-phone-check,
#lpMorph.stage-idle .lp-phone-check { opacity: 1; }
.lp-edge-phone {
  stroke: rgba(37, 211, 102, 0.55);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  transition: stroke-dashoffset 0.8s var(--lp-ease) 0.25s;
}
#lpMorph.stage-connected .lp-edge-phone,
#lpMorph.stage-idle .lp-edge-phone { stroke-dashoffset: 0; }
.lp-pulse-phone {
  stroke: var(--lp-green-bright);
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-dasharray: 10 92;
  stroke-dashoffset: 102;
  opacity: 0;
}
#lpMorph.stage-connected .lp-pulse-phone,
#lpMorph.stage-idle .lp-pulse-phone {
  opacity: 0.95;
  animation: lp-march-phone 2.4s linear infinite 0.4s;
}
@keyframes lp-march-phone {
  from { stroke-dashoffset: 102; }
  to { stroke-dashoffset: 0; }
}

/* =========================================================================
   SECTIONS
   ========================================================================= */
.lp-section {
  padding: clamp(72px, 10vw, 122px) 0;
  scroll-margin-top: 76px;
}
.lp-section-alt {
  border-top: 1px solid var(--lp-border);
  border-bottom: 1px solid var(--lp-border);
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(37, 211, 102, 0.045), transparent 60%),
    var(--lp-bg-soft);
}
.lp-section-head {
  max-width: 660px;
  margin: 0 auto 54px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.lp-section-head h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.55rem);
  font-weight: 700;
  margin: 0;
}
.lp-section-sub {
  margin: 0;
  color: var(--lp-muted);
  font-size: 15.5px;
  line-height: 1.7;
}

/* ---- feature cards ---- */
.lp-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.lp-card {
  position: relative;
  padding: 28px 26px;
  border-radius: var(--lp-radius);
  border: 1px solid var(--lp-border);
  background: linear-gradient(180deg, var(--lp-panel-2), var(--lp-panel));
  transition: transform 0.35s var(--lp-ease), border-color 0.3s ease, box-shadow 0.35s ease;
  overflow: hidden;
}
.lp-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(60% 50% at 50% 0%, rgba(37, 211, 102, 0.10), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.lp-card:hover {
  transform: translateY(-5px);
  border-color: rgba(37, 211, 102, 0.38);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(37, 211, 102, 0.08);
}
.lp-card:hover::after { opacity: 1; }
.lp-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--lp-green-bright);
  background: rgba(37, 211, 102, 0.10);
  border: 1px solid rgba(37, 211, 102, 0.22);
  transition: transform 0.35s var(--lp-ease), box-shadow 0.35s ease;
}
.lp-card-icon svg { width: 23px; height: 23px; }
.lp-card:hover .lp-card-icon {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.25);
}
.lp-card h3 {
  margin: 0 0 8px;
  font-size: 17.5px;
  font-weight: 700;
}
.lp-card p {
  margin: 0;
  color: var(--lp-muted);
  font-size: 14px;
  line-height: 1.65;
}

/* ---- how it works ---- */
.lp-steps {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 720px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.lp-steps::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 18px;
  bottom: 18px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--lp-green), rgba(37, 211, 102, 0.05));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 1.4s var(--lp-ease) 0.2s;
}
.lp-steps.is-drawn::before { transform: scaleY(1); }
.lp-step {
  position: relative;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 22px 24px;
  border-radius: 18px;
  border: 1px solid var(--lp-border);
  background: var(--lp-panel);
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s var(--lp-ease);
}
.lp-step:hover {
  border-color: rgba(37, 211, 102, 0.32);
  background: var(--lp-panel-2);
  transform: translateX(4px);
}
.lp-step-num {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--lp-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--lp-ink);
  background: linear-gradient(135deg, var(--lp-green-bright), var(--lp-green-deep));
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}
.lp-step-body h3 {
  margin: 2px 0 6px;
  font-size: 17px;
  font-weight: 700;
}
.lp-step-body p {
  margin: 0;
  color: var(--lp-muted);
  font-size: 14px;
  line-height: 1.65;
}
.lp-step-body strong { color: var(--lp-text); font-weight: 700; }
.lp-step-body em { font-style: normal; color: var(--lp-green-bright); font-weight: 600; }

/* ---- showcase ---- */
.lp-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}
.lp-showcase-copy h2 {
  margin: 18px 0 0;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 700;
}
.lp-showcase-copy > p {
  margin: 18px 0 0;
  color: var(--lp-muted);
  font-size: 15.5px;
  line-height: 1.7;
  max-width: 34em;
}
.lp-showcase-list {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lp-showcase-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--lp-text);
}
.lp-showcase-list svg { color: var(--lp-green-bright); flex: 0 0 auto; }
.lp-showcase-visual {
  border-radius: 26px;
  border: 1px solid var(--lp-border);
  background:
    radial-gradient(70% 60% at 50% 50%, rgba(37, 211, 102, 0.06), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  padding: 18px;
  overflow: hidden;
}
.lp-showcase-svg { display: block; width: 100%; height: auto; }
.lp-show-edge {
  stroke: rgba(37, 211, 102, 0.45);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-dasharray: 140;
  stroke-dashoffset: 140;
  transition: stroke-dashoffset 1.1s var(--lp-ease);
}
.reveal.is-visible .lp-show-edge { stroke-dashoffset: 0; }
.reveal.is-visible .lp-show-edge:nth-child(2) { transition-delay: 0.1s; }
.reveal.is-visible .lp-show-edge:nth-child(3) { transition-delay: 0.2s; }
.reveal.is-visible .lp-show-edge:nth-child(4) { transition-delay: 0.3s; }
.reveal.is-visible .lp-show-edge:nth-child(5) { transition-delay: 0.4s; }
.lp-show-pulse {
  stroke: var(--lp-green-bright);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 14 160;
  stroke-dashoffset: 174;
  opacity: 0;
}
.reveal.is-visible .lp-show-pulse {
  opacity: 0.9;
  animation: lp-show-march 3s linear infinite;
}
.reveal.is-visible .lp-show-pulse-2 { animation-delay: 0.5s; }
.reveal.is-visible .lp-show-pulse-3 { animation-delay: 1s; }
.reveal.is-visible .lp-show-pulse-4 { animation-delay: 1.5s; }
.reveal.is-visible .lp-show-pulse-5 { animation-delay: 2s; }
@keyframes lp-show-march {
  from { stroke-dashoffset: 174; }
  to { stroke-dashoffset: 0; }
}
.lp-show-node {
  fill: #0b1a12;
  stroke: var(--lp-green);
  stroke-width: 2.2;
}
.lp-show-core { animation: lp-float 6.5s ease-in-out infinite; }
.lp-show-phone { animation: lp-float 7.5s ease-in-out infinite reverse; }

/* ---- FAQ ---- */
.lp-faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lp-faq-item {
  border: 1px solid var(--lp-border);
  border-radius: 16px;
  background: var(--lp-panel);
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.lp-faq-item[open] { border-color: rgba(37, 211, 102, 0.32); }
.lp-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 15px;
  color: var(--lp-text);
  transition: background 0.25s ease;
}
.lp-faq-item summary::-webkit-details-marker { display: none; }
.lp-faq-item summary:hover { background: rgba(255, 255, 255, 0.03); }
.lp-faq-chevron {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--lp-muted);
  transition: transform 0.35s var(--lp-ease), color 0.25s ease;
}
.lp-faq-item[open] .lp-faq-chevron {
  transform: rotate(180deg);
  color: var(--lp-green-bright);
}
.lp-faq-body {
  padding: 0 22px 20px;
}
.lp-faq-body p {
  margin: 0;
  color: var(--lp-muted);
  font-size: 14.5px;
  line-height: 1.7;
}
.lp-faq-body strong { color: var(--lp-text); }
.lp-faq-body a {
  color: var(--lp-green-bright);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---- CTA ---- */
.lp-cta-section { padding-top: 20px; }
.lp-cta-card {
  position: relative;
  text-align: center;
  padding: clamp(48px, 7vw, 80px) 28px;
  border-radius: 30px;
  border: 1px solid rgba(37, 211, 102, 0.25);
  background:
    radial-gradient(80% 90% at 50% 0%, rgba(37, 211, 102, 0.12), transparent 65%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}
.lp-cta-glow {
  position: absolute;
  left: 50%;
  top: -40%;
  width: 560px;
  height: 380px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(37, 211, 102, 0.22), transparent);
  pointer-events: none;
  animation: lp-ambientpulse 6s ease-in-out infinite;
}
.lp-cta-card h2 {
  position: relative;
  margin: 0;
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  font-weight: 700;
}
.lp-cta-card > p {
  position: relative;
  margin: 16px auto 0;
  max-width: 34em;
  color: var(--lp-muted);
  font-size: 15.5px;
}
.lp-cta-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
}

/* ---- footer ---- */
.lp-footer {
  border-top: 1px solid var(--lp-border);
  padding: 56px 0 34px;
  background: var(--lp-bg-soft);
}
.lp-footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}
.lp-footer-brand p {
  margin: 14px 0 0;
  color: var(--lp-muted);
  font-size: 13.5px;
  max-width: 26em;
  line-height: 1.65;
}
.lp-footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lp-footer-col h3 {
  margin: 0 0 6px;
  font-family: var(--lp-font);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lp-muted);
}
.lp-footer-col a {
  color: var(--lp-muted);
  font-size: 14px;
  font-weight: 600;
  width: fit-content;
  transition: color 0.2s ease;
}
.lp-footer-col a:hover { color: var(--lp-green-bright); }
.lp-footer-bottom {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--lp-border);
}
.lp-footer-bottom p {
  margin: 0;
  color: var(--lp-muted);
  font-size: 12.5px;
  text-align: center;
}

/* =========================================================================
   TUTORIAL PAGE — retheme of the existing guide content inside the landing
   shell (.lp-tutorial). The markup keeps its original Tailwind utilities;
   every rule below is scoped under .lp-tutorial (higher specificity than
   the Tailwind utilities it remaps) so the guide adopts the charcoal +
   WhatsApp-green landing identity. Semantic status colors (emerald checks,
   amber warnings, red errors) are intentionally preserved.
   ========================================================================= */
.lp-tutorial {
  padding-top: 64px; /* clearance for the fixed landing navbar */
}

/* ---- surfaces: white/slate cards → translucent charcoal panels ---------- */
.lp-tutorial .bg-white { background-color: rgba(255, 255, 255, 0.035); }
.lp-tutorial .bg-gray-50 { background-color: rgba(255, 255, 255, 0.025); }
.lp-tutorial .hover\:bg-gray-50:hover { background-color: rgba(255, 255, 255, 0.055); }
.lp-tutorial .dark .dark\:bg-slate-700 { background-color: rgba(255, 255, 255, 0.06); }
.lp-tutorial .dark .dark\:bg-slate-800 { background-color: rgba(255, 255, 255, 0.04); }
.lp-tutorial .dark .dark\:bg-slate-900 { background-color: rgba(10, 14, 18, 0.55); }
.lp-tutorial .dark .dark\:hover\:bg-slate-700:hover { background-color: rgba(255, 255, 255, 0.075); }

/* ---- borders ------------------------------------------------------------ */
.lp-tutorial .border-gray-200 { border-color: rgba(255, 255, 255, 0.08); }
.lp-tutorial .dark .dark\:border-slate-700 { border-color: rgba(255, 255, 255, 0.08); }
.lp-tutorial .dark .dark\:border-slate-800 { border-color: rgba(255, 255, 255, 0.07); }
.lp-tutorial .border-purple-200 { border-color: rgba(37, 211, 102, 0.25); }
.lp-tutorial .dark .dark\:border-purple-800 { border-color: rgba(37, 211, 102, 0.3); }

/* ---- base text ---------------------------------------------------------- */
.lp-tutorial .text-gray-900 { color: var(--lp-text); }
.lp-tutorial .text-gray-700 { color: #d5dde4; }
.lp-tutorial .text-gray-600 { color: var(--lp-muted); }
.lp-tutorial .text-gray-500 { color: var(--lp-muted); }
.lp-tutorial .dark .dark\:text-slate-300 { color: #d5dde4; }
.lp-tutorial .dark .dark\:text-slate-400 { color: var(--lp-muted); }
.lp-tutorial .dark .dark\:text-slate-500 { color: var(--lp-muted); }

/* ---- accent remap: blue/indigo/purple → WhatsApp green ------------------ */
.lp-tutorial .text-blue-600 { color: var(--lp-green-bright); }
.lp-tutorial .text-blue-700 { color: var(--lp-green-bright); }
.lp-tutorial .dark .dark\:text-blue-300 { color: var(--lp-green-bright); }
.lp-tutorial .dark .dark\:text-blue-400 { color: var(--lp-green-bright); }
.lp-tutorial .hover\:text-blue-700:hover { color: var(--lp-green-bright); }
.lp-tutorial .dark .dark\:hover\:text-blue-300:hover { color: var(--lp-green-bright); }
.lp-tutorial .text-purple-800 { color: var(--lp-green); }
.lp-tutorial .dark .dark\:text-purple-300 { color: var(--lp-green-bright); }
.lp-tutorial .bg-blue-100 { background-color: rgba(37, 211, 102, 0.14); }
.lp-tutorial .dark .dark\:bg-blue-900\/40 { background-color: rgba(37, 211, 102, 0.14); }
.lp-tutorial .hover\:bg-blue-50:hover { background-color: rgba(37, 211, 102, 0.09); }
.lp-tutorial .dark .dark\:hover\:bg-blue-950\/30:hover { background-color: rgba(37, 211, 102, 0.1); }

/* ---- gradient banners → unified deep-green landing gradient -------------- */
/* Strong banners carry white text (hero, section headers, table heads, CTA),
   so they get a saturated deep green that keeps white-text contrast. */
.lp-tutorial main [class*="bg-gradient-to"]:not([class*="dark:from-"]) {
  background-image: linear-gradient(135deg, #0e8a5d 0%, #0a6e52 52%, #0d7565 100%);
}
/* Tinted card headers (they have dark:from-* variants) get a subtle glow
   tint instead of a full-strength banner. */
.lp-tutorial main [class*="bg-gradient-to"][class*="dark:from-"] {
  background-image: linear-gradient(135deg, rgba(37, 211, 102, 0.14), rgba(18, 140, 126, 0.09));
}

/* ---- sidebar TOC polish -------------------------------------------------- */
.lp-tutorial aside .bg-white,
.lp-tutorial aside .dark .dark\:bg-slate-900 {
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.35);
}
.lp-tutorial aside nav a { border: 1px solid transparent; }
.lp-tutorial aside nav a:hover {
  border-color: rgba(37, 211, 102, 0.25);
}

/* ---- card / panel shadows ------------------------------------------------ */
.lp-tutorial main .bg-white,
.lp-tutorial main .dark .dark\:bg-slate-800 {
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.22);
}

/* ---- code/log blocks stay dark, slightly greener edge -------------------- */
.lp-tutorial .bg-slate-950 {
  background-color: #070c10;
  border: 1px solid rgba(37, 211, 102, 0.14);
}

/* =========================================================================
   TUTORIAL ANIMATIONS
   ========================================================================= */

/* ---- reading progress bar (sits right under the fixed navbar) ----------- */
.lp-t-progress {
  position: fixed;
  top: 62px;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 55;
  pointer-events: none;
}
.lp-t-progress span {
  display: block;
  height: 100%;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(90deg, var(--lp-green-deep), var(--lp-green), var(--lp-green-bright));
  box-shadow: 0 0 12px rgba(37, 211, 102, 0.45);
  transform-origin: 0 50%;
  transform: scaleX(var(--lp-t-progress, 0));
  will-change: transform;
}

/* ---- smooth in-page anchor scrolling (class set by initTutorial) -------- */
html.lp-t-scroll {
  scroll-behavior: smooth;
}

/* ---- TOC scrollspy: glowing active pill + sliding left indicator -------- */
.lp-tutorial aside nav a {
  position: relative;
  border: 1px solid transparent;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}
.lp-tutorial aside nav a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 3px;
  border-radius: 3px;
  background: var(--lp-green-bright);
  box-shadow: 0 0 10px rgba(37, 211, 102, 0.6);
  transform: scaleY(0);
  transition: transform 0.35s var(--lp-ease);
}
.lp-tutorial aside nav a.is-active {
  background: rgba(37, 211, 102, 0.12);
  color: var(--lp-green-bright);
  border-color: rgba(37, 211, 102, 0.3);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.12);
}
.lp-tutorial aside nav a.is-active::before {
  transform: scaleY(1);
}
.lp-tutorial aside nav a.is-active svg {
  opacity: 1;
}

/* ---- shine sweep on section header banners ------------------------------ */
.lp-tutorial main [class*="bg-gradient-to"].flex.items-center {
  position: relative;
  overflow: hidden;
}
.lp-tutorial main [class*="bg-gradient-to"].flex.items-center::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 38%,
    rgba(255, 255, 255, 0.16) 50%,
    transparent 62%
  );
  transform: translateX(-130%);
  animation: lp-t-sweep 6s var(--lp-ease) infinite;
  pointer-events: none;
}
@keyframes lp-t-sweep {
  0%, 58% { transform: translateX(-130%); }
  76%, 100% { transform: translateX(130%); }
}

/* ---- FAQ accordion: smooth grid-rows expansion -------------------------- */
.lp-tutorial .faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--lp-ease);
}
.lp-tutorial .faq-answer.is-open {
  grid-template-rows: 1fr;
}
.lp-tutorial .faq-answer-inner {
  overflow: hidden;
  min-height: 0;
}
.lp-tutorial .faq-chevron {
  transition: transform 0.4s var(--lp-ease), color 0.3s ease;
}
.lp-tutorial button[onclick="toggleFaq(this)"] {
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.lp-tutorial button[onclick="toggleFaq(this)"]:hover {
  box-shadow: inset 0 0 0 1px rgba(37, 211, 102, 0.28);
}

/* ---- card entrance niceties: sections reveal via .reveal (landing.js) --- */
.lp-tutorial main section.reveal .bg-white,
.lp-tutorial main section.reveal .dark .dark\:bg-slate-800 {
  transition: box-shadow 0.35s ease;
}

/* ---- reduced motion: kill decorative loops, keep content visible -------- */
@media (prefers-reduced-motion: reduce) {
  html.lp-t-scroll { scroll-behavior: auto; }
  .lp-tutorial main [class*="bg-gradient-to"].flex.items-center::after {
    animation: none;
    display: none;
  }
  .lp-tutorial .faq-answer { transition: none; }
  .lp-tutorial aside nav a::before { transition: none; }
  .lp-t-progress span { box-shadow: none; }
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1020px) {
  .lp-features-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .lp-hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .lp-hero-sub { margin-left: auto; margin-right: auto; }
  .lp-hero-ctas, .lp-hero-chips { justify-content: center; }
  .lp-hero-visual { max-width: 480px; margin: 0 auto; width: 100%; }
  .lp-showcase-grid { grid-template-columns: 1fr; }
  .lp-showcase-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .lp-showcase-copy > p { margin-left: auto; margin-right: auto; }
  .lp-showcase-list { align-items: center; }
  .lp-showcase-list li { justify-content: center; }
  .lp-footer-inner { grid-template-columns: 1fr 1fr; }
  .lp-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .lp-nav-links { display: none; }
  .lp-nav-actions .lp-btn { display: none; }
  .lp-burger { display: inline-flex; }
  .lp-features-grid { grid-template-columns: 1fr; }
  .lp-hero { padding-top: 112px; }
  .lp-hero-ctas .lp-btn { flex: 1 1 auto; }
  .lp-step { padding: 18px; gap: 15px; }
  .lp-step-num { width: 40px; height: 40px; border-radius: 12px; font-size: 15.5px; }
  .lp-steps::before { left: 19px; }
  .lp-footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .lp-cta-actions .lp-btn { width: 100%; }
}

/* =========================================================================
   REDUCED MOTION
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  .lp *,
  .lp *::before,
  .lp *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
  .lp-js .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .lp-steps::before { transform: scaleY(1); }
}

/* =========================================================================
   AUTH PAGES (/login, /register) — .lp-auth
   Standalone dark auth card with 3D tilt + entrance. No navbar/footer.
   ========================================================================= */
.lp-auth {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 96px 20px 72px;
  font-family: var(--lp-font);
}

/* ---- floating particle orbs --------------------------------------------- */
.lp-auth-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}
.lp-auth-orb-1 {
  width: 480px;
  height: 480px;
  top: -140px;
  left: -120px;
  background: rgba(37, 211, 102, 0.14);
  animation: lp-auth-float1 14s ease-in-out infinite alternate;
}
.lp-auth-orb-2 {
  width: 420px;
  height: 420px;
  bottom: -130px;
  right: -110px;
  background: rgba(18, 140, 126, 0.16);
  animation: lp-auth-float2 16s ease-in-out infinite alternate;
}
@keyframes lp-auth-float1 {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(60px, 40px, 0) scale(1.12); }
}
@keyframes lp-auth-float2 {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-50px, -36px, 0) scale(1.08); }
}

/* ---- stage + entrance --------------------------------------------------- */
.lp-auth-stage {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  perspective: 1200px;
}
@keyframes lp-auth-in {
  from { opacity: 0; transform: translateY(28px) rotateX(-8deg); }
  to { opacity: 1; transform: translateY(0) rotateX(0deg); }
}
.lp-auth-in {
  animation: lp-auth-in 0.85s var(--lp-ease) var(--d, 0ms) both;
}

/* ---- brand -------------------------------------------------------------- */
.lp-auth-brand { text-align: center; margin-bottom: 26px; }
.lp-auth-logo {
  width: 58px;
  height: 58px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: var(--lp-ink);
  background: linear-gradient(145deg, var(--lp-green-bright), var(--lp-green-deep));
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  animation: lp-auth-logo-float 4.5s ease-in-out infinite alternate;
}
@keyframes lp-auth-logo-float {
  from { transform: translateY(0); }
  to { transform: translateY(-7px); }
}
.lp-auth-title {
  font-family: var(--lp-display);
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}
.lp-auth-sub { color: var(--lp-muted); font-size: 13.5px; margin: 0; }

/* ---- 3D tilt card ------------------------------------------------------- */
.lp-auth-card {
  position: relative;
  border-radius: var(--lp-radius);
  padding: 30px 28px 26px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--lp-border);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(14px);
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  transition: transform 0.22s ease-out;
  overflow: hidden;
  will-change: transform;
}
.lp-auth-card.is-tilting { transition: transform 0.08s linear; }
.lp-auth-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(520px circle at var(--gx, 50%) var(--gy, -20%), rgba(255, 255, 255, 0.09), transparent 55%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.lp-auth-card.is-tilting::after,
.lp-auth-card:hover::after { opacity: 1; }

/* ---- card head ---------------------------------------------------------- */
.lp-auth-card-head { display: flex; gap: 13px; align-items: center; margin-bottom: 22px; }
.lp-auth-card-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--lp-green-bright);
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.28);
}
.lp-auth-card-title { font-family: var(--lp-display); font-size: 17px; font-weight: 700; margin: 0; }
.lp-auth-card-sub { font-size: 12.5px; color: var(--lp-muted); margin: 2px 0 0; }

/* ---- form --------------------------------------------------------------- */
.lp-auth-form { display: flex; flex-direction: column; gap: 18px; }
.lp-auth-group { display: flex; flex-direction: column; gap: 8px; }
.lp-auth-locked { opacity: 0.45; pointer-events: none; }
.lp-auth-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 600;
  color: #cfd8e0;
}
.lp-auth-hint { color: var(--lp-muted); font-weight: 500; font-size: 11.5px; }
.lp-auth-field { position: relative; }
.lp-auth-field--grow { flex: 1; min-width: 0; }
.lp-auth-input {
  width: 100%;
  padding: 12px 40px 12px 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--lp-border);
  color: var(--lp-text);
  font-size: 13.5px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.lp-auth-input::placeholder { color: #5c6b78; }
.lp-auth-input:focus {
  border-color: rgba(37, 211, 102, 0.6);
  background: rgba(37, 211, 102, 0.05);
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.18);
}
.lp-auth-input:disabled { opacity: 0.6; }
.lp-auth-field-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: #5c6b78;
  pointer-events: none;
  transition: color 0.2s ease;
}
.lp-auth-input:focus ~ .lp-auth-field-icon { color: var(--lp-green-bright); }
.lp-auth-eye {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #5c6b78;
  display: grid;
  place-items: center;
  padding: 4px;
  transition: color 0.2s ease;
}
.lp-auth-eye:hover { color: var(--lp-green-bright); }
.lp-auth-status { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); }
.lp-auth-row { display: flex; justify-content: flex-end; }
.lp-auth-row-2 { display: flex; gap: 10px; align-items: stretch; }
.lp-auth-link {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--lp-green-bright);
  text-decoration: none;
  transition: color 0.2s;
}
.lp-auth-link:hover { color: var(--lp-green); text-decoration: underline; }
.lp-auth-note {
  font-size: 11.5px;
  color: #fcd34d;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

/* ---- buttons (3D press) -------------------------------------------------- */
.lp-auth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 20px;
  border: none;
  border-radius: 12px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--lp-ink);
  background: linear-gradient(145deg, var(--lp-green-bright), var(--lp-green-deep));
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transform: translateZ(0);
  transition: transform 0.18s ease, box-shadow 0.25s ease, filter 0.2s ease;
}
.lp-auth-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(37, 211, 102, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  filter: brightness(1.05);
}
.lp-auth-btn:active:not(:disabled) {
  transform: translateY(1px);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3), inset 0 2px 6px rgba(0, 0, 0, 0.25);
}
.lp-auth-btn:disabled { opacity: 0.55; cursor: not-allowed; }
.lp-auth-btn--otp { width: auto; flex-shrink: 0; padding: 12px 18px; font-size: 12.5px; }
.lp-auth-btn-ghost {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 20px;
  border-radius: 12px;
  border: 1px solid var(--lp-border-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--lp-text);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, transform 0.18s ease;
}
.lp-auth-btn-ghost:hover {
  border-color: rgba(37, 211, 102, 0.5);
  background: rgba(37, 211, 102, 0.07);
  transform: translateY(-1px);
}
.lp-auth-foot { margin-top: 16px; }

/* ---- divider ------------------------------------------------------------ */
.lp-auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 0;
  color: var(--lp-muted);
  font-size: 11.5px;
}
.lp-auth-divider::before,
.lp-auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--lp-border);
}
.lp-auth-divider span { white-space: nowrap; }

/* ---- alerts -------------------------------------------------------------- */
.lp-auth-alert {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 12.5px;
  margin-bottom: 16px;
  animation: lp-auth-alert-in 0.4s var(--lp-ease) both;
}
@keyframes lp-auth-alert-in {
  from { opacity: 0; transform: translateY(-8px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.lp-auth-alert.hidden { display: none; }
.lp-auth-alert-icon { flex-shrink: 0; margin-top: 1px; }
.lp-auth-alert-msg { margin: 0; }
.lp-auth-alert-title { font-weight: 700; margin: 0 0 2px; }
.lp-auth-alert-text { margin: 0; opacity: 0.9; }
.lp-auth-alert--warn {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fcd34d;
}
.lp-auth-alert--err {
  background: rgba(244, 63, 94, 0.1);
  border: 1px solid rgba(244, 63, 94, 0.35);
  color: #fb7185;
}
.lp-auth-alert--ok {
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.35);
  color: #6ee7a0;
}

/* ---- password strength (register) ---------------------------------------- */
.lp-auth-strength-head {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--lp-muted);
}
.lp-auth-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; }
.lp-auth-check {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  color: var(--lp-muted);
}

/* ---- legal --------------------------------------------------------------- */
.lp-auth-legal { margin-top: 26px; text-align: center; font-size: 11.5px; color: var(--lp-muted); }
.lp-auth-legal p { margin: 0 0 4px; }
.lp-auth-legal-links { display: flex; gap: 8px; justify-content: center; align-items: center; }
.lp-auth-legal-links a {
  color: var(--lp-green-bright);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}
.lp-auth-legal-links a:hover { text-decoration: underline; }

/* ---- responsive ---------------------------------------------------------- */
@media (max-width: 560px) {
  .lp-auth { padding: 40px 16px 48px; }
  .lp-auth-card { padding: 24px 20px 22px; }
  .lp-auth-row-2 { flex-direction: column; }
  .lp-auth-btn--otp { width: 100%; }
  .lp-auth-checks { grid-template-columns: 1fr; }
  .lp-auth-title { font-size: 22px; }
}

/* ---- kill motion on touch / reduced-motion -------------------------------- */
@media (hover: none), (prefers-reduced-motion: reduce) {
  .lp-auth-card { transform: none !important; transition: none !important; }
  .lp-auth-card::after { display: none; }
  .lp-auth-in {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .lp-auth-orb,
  .lp-auth-logo { animation: none !important; }
}
