/* ===================================================================
   OpenClaw Landing Page — Themes & Layout
   =================================================================== */

/* ===== Theme Variables ===== */
:root,
[data-theme="ember"] {
  --lp-bg: #262626;
  --lp-bg-alt: #1e1e1e;
  --lp-surface: #333333;
  --lp-surface-hover: #3d3d3d;
  --lp-border: #444444;
  --lp-text: #E2E8CE;
  --lp-text-sub: #ACBFA4;
  --lp-text-muted: #8a9478;
  --lp-accent: #FF7F11;
  --lp-accent-hover: #e87210;
  --lp-accent-glow: rgba(255, 127, 17, 0.25);
  --lp-accent-subtle: rgba(255, 127, 17, 0.08);
  --lp-gradient: linear-gradient(135deg, #FF7F11, #ACBFA4);
  --lp-terminal-bg: #1a1a1a;
  --lp-code-bg: #1a1a1a;
  --lp-code-text: #ACBFA4;
  --lp-font-display: 'Playfair Display', Georgia, serif;
  --lp-font-body: 'DM Sans', system-ui, sans-serif;
  --lp-font-mono: 'DM Mono', 'JetBrains Mono', monospace;
}

[data-theme="grove"] {
  --lp-bg: #1a2118;
  --lp-bg-alt: #151c13;
  --lp-surface: #243021;
  --lp-surface-hover: #2e3d2a;
  --lp-border: #3a4a35;
  --lp-text: #e4ecd8;
  --lp-text-sub: #BBCB2E;
  --lp-text-muted: #7a8a5a;
  --lp-accent: #6CA651;
  --lp-accent-hover: #5d9344;
  --lp-accent-glow: rgba(108, 166, 81, 0.25);
  --lp-accent-subtle: rgba(108, 166, 81, 0.08);
  --lp-gradient: linear-gradient(135deg, #BBCB2E, #6CA651);
  --lp-terminal-bg: #111a0f;
  --lp-code-bg: #111a0f;
  --lp-code-text: #BBCB2E;
}

[data-theme="bloom"] {
  --lp-bg: #FFEDFA;
  --lp-bg-alt: #ffe4f5;
  --lp-surface: #ffffff;
  --lp-surface-hover: #fff0f8;
  --lp-border: #f0c4dc;
  --lp-text: #3d1f30;
  --lp-text-sub: #BE5985;
  --lp-text-muted: #c07a9e;
  --lp-accent: #EC7FA9;
  --lp-accent-hover: #d96e96;
  --lp-accent-glow: rgba(236, 127, 169, 0.25);
  --lp-accent-subtle: rgba(236, 127, 169, 0.08);
  --lp-gradient: linear-gradient(135deg, #EC7FA9, #BE5985);
  --lp-terminal-bg: #3d1f30;
  --lp-code-bg: #3d1f30;
  --lp-code-text: #FFB8E0;
}

[data-theme="deep"] {
  --lp-bg: #002a30;
  --lp-bg-alt: #00222a;
  --lp-surface: #003a42;
  --lp-surface-hover: #004a54;
  --lp-border: #0C7779;
  --lp-text: #d0f0ea;
  --lp-text-sub: #3BC1A8;
  --lp-text-muted: #5a9a8e;
  --lp-accent: #249E94;
  --lp-accent-hover: #1a8a80;
  --lp-accent-glow: rgba(36, 158, 148, 0.3);
  --lp-accent-subtle: rgba(36, 158, 148, 0.1);
  --lp-gradient: linear-gradient(135deg, #3BC1A8, #005461);
  --lp-terminal-bg: #001a20;
  --lp-code-bg: #001a20;
  --lp-code-text: #3BC1A8;
}

[data-theme="stone"] {
  --lp-bg: #E8E2D8;
  --lp-bg-alt: #ded7cc;
  --lp-surface: #f5f0e8;
  --lp-surface-hover: #ffffff;
  --lp-border: #c5bfb0;
  --lp-text: #2d3028;
  --lp-text-sub: #6F8F72;
  --lp-text-muted: #8a9a7e;
  --lp-accent: #F2A65A;
  --lp-accent-hover: #e09545;
  --lp-accent-glow: rgba(242, 166, 90, 0.25);
  --lp-accent-subtle: rgba(242, 166, 90, 0.1);
  --lp-gradient: linear-gradient(135deg, #F2A65A, #6F8F72);
  --lp-terminal-bg: #2d3028;
  --lp-code-bg: #2d3028;
  --lp-code-text: #BFC6C4;
}

[data-theme="bw"] {
  --lp-bg: #0a0a0a;
  --lp-bg-alt: #000000;
  --lp-surface: #1a1a1a;
  --lp-surface-hover: #252525;
  --lp-border: #333333;
  --lp-text: #ffffff;
  --lp-text-sub: #cccccc;
  --lp-text-muted: #888888;
  --lp-accent: #ffffff;
  --lp-accent-hover: #e0e0e0;
  --lp-accent-glow: rgba(255, 255, 255, 0.2);
  --lp-accent-subtle: rgba(255, 255, 255, 0.06);
  --lp-gradient: linear-gradient(135deg, #ffffff, #888888);
  --lp-terminal-bg: #000000;
  --lp-code-bg: #000000;
  --lp-code-text: #cccccc;
}

/* ===== Landing Root ===== */
.landing-new {
  background: var(--lp-bg);
  color: var(--lp-text);
  font-family: var(--lp-font-body);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  transition: background 0.5s ease, color 0.5s ease;
}

/* ===== Theme Dock ===== */
.theme-dock {
  position: fixed;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  z-index: 500;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 8px;
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  border-radius: 28px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  backdrop-filter: blur(12px);
  transition: background 0.4s, border-color 0.4s;
}
.theme-swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
  background: transparent;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.theme-swatch:hover {
  transform: scale(1.15);
}
.theme-swatch.active {
  border-color: var(--lp-accent);
  box-shadow: 0 0 0 2px var(--lp-accent-glow);
}
.theme-swatch span {
  display: block;
  width: 100%;
  height: 100%;
}

/* ===== Top Nav ===== */
.lp-topnav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 48px;
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--lp-bg);
  border-bottom: 1px solid var(--lp-border);
  transition: background 0.4s, border-color 0.4s;
}
.lp-topnav-brand {
  font-family: 'Space Grotesk', var(--lp-font-body);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--lp-accent);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}
/* Nav Links */
.lp-topnav-nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.lp-topnav-link {
  color: var(--lp-text-muted);
  font-family: var(--lp-font-body);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.lp-topnav-link:hover {
  color: var(--lp-text);
  background: var(--lp-accent-subtle);
}

.lp-topnav-signin {
  font-family: var(--lp-font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--lp-text-sub);
  background: transparent;
  border: 1px solid var(--lp-border);
  border-radius: 8px;
  padding: 8px 22px;
  cursor: pointer;
  transition: all 0.2s;
}
.lp-topnav-signin:hover {
  color: var(--lp-accent);
  border-color: var(--lp-accent);
  background: var(--lp-accent-subtle);
}

/* ===== Scroll Margin for Nav Links ===== */
#lp-features,
#lp-how,
#lp-pricing,
#lp-faq {
  scroll-margin-top: 80px;
}

/* ===== Section Label ===== */
.lp-section-label {
  font-family: var(--lp-font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--lp-accent);
  margin-bottom: 40px;
  position: relative;
  padding-left: 20px;
}
.lp-section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 10px;
  height: 2px;
  background: var(--lp-accent);
  transition: background 0.4s;
}

/* ===== HERO ===== */
.lp-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 48px 60px;
  min-height: 90vh;
}
.lp-hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.lp-tag {
  font-family: var(--lp-font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border: 1px solid var(--lp-border);
  border-radius: 4px;
  color: var(--lp-text-sub);
  background: var(--lp-accent-subtle);
  transition: all 0.3s;
}
.lp-tag-divider {
  color: var(--lp-text-muted);
  font-weight: 300;
  opacity: 0.5;
}
.lp-hero-title {
  font-family: var(--lp-font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: var(--lp-text);
  transition: color 0.4s;
}
.lp-accent {
  color: var(--lp-accent);
  transition: color 0.4s;
}
.lp-hero-sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--lp-text-sub);
  max-width: 500px;
  margin-bottom: 36px;
  transition: color 0.4s;
}
.lp-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* Buttons */
.lp-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--lp-font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--lp-bg);
  background: var(--lp-accent);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.lp-btn-primary:hover {
  background: var(--lp-accent-hover);
  box-shadow: 0 4px 24px var(--lp-accent-glow);
  transform: translateY(-1px);
}
.lp-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--lp-font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--lp-text-sub);
  background: transparent;
  border: 1px solid var(--lp-border);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.lp-btn-ghost:hover {
  color: var(--lp-text);
  border-color: var(--lp-text-sub);
  background: var(--lp-accent-subtle);
}

/* Proof Bar */
.lp-hero-proof {
  display: flex;
  align-items: center;
  gap: 24px;
}
.lp-proof-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.lp-proof-num {
  font-family: var(--lp-font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--lp-accent);
  line-height: 1;
  transition: color 0.4s;
}
.lp-proof-label {
  font-family: var(--lp-font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--lp-text-muted);
}
.lp-proof-divider {
  width: 1px;
  height: 36px;
  background: var(--lp-border);
  transition: background 0.4s;
}

/* ===== GUI MOCKUP ===== */
.lp-gui-mockup {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  max-width: 600px;
  position: relative;
}
.lp-gui-window {
  flex: 1;
  background: var(--lp-terminal-bg);
  border: 1px solid var(--lp-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.25), 0 0 0 1px rgba(255,255,255,0.03) inset;
  transition: background 0.4s, border-color 0.4s;
  position: relative;
  z-index: 2;
}
.lp-gui-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.lp-terminal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}
.lp-gui-titlebar-text {
  font-family: var(--lp-font-mono);
  font-size: 0.72rem;
  color: var(--lp-text-muted);
  margin-left: auto;
}
.lp-gui-body {
  padding: 24px 20px;
}
.lp-gui-progress {
  width: 100%;
  height: 6px;
  background: var(--lp-border);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 24px;
}
.lp-gui-progress-fill {
  width: 0%;
  height: 100%;
  background: var(--lp-accent);
  border-radius: 3px;
  transition: width 0.6s ease;
}
.lp-gui-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}
.lp-gui-step {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--lp-font-body);
  font-size: 0.88rem;
  color: var(--lp-text-muted);
  transition: color 0.3s;
}
.lp-gui-step.active {
  color: var(--lp-text);
}
.lp-gui-step.done {
  color: var(--lp-accent);
}
.lp-gui-step-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--lp-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s;
}
.lp-gui-step-icon svg {
  opacity: 0;
  transition: opacity 0.3s;
}
.lp-gui-step.active .lp-gui-step-icon {
  border-color: var(--lp-accent);
  background: var(--lp-accent-subtle);
}
.lp-gui-step.done .lp-gui-step-icon {
  border-color: var(--lp-accent);
  background: var(--lp-accent);
  color: var(--lp-bg);
}
.lp-gui-step.done .lp-gui-step-icon svg {
  opacity: 1;
}
.lp-gui-status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--lp-accent-subtle);
  border: 1px solid var(--lp-border);
  border-radius: 8px;
  font-size: 0.8rem;
  color: var(--lp-text-sub);
  font-family: var(--lp-font-mono);
}
.lp-gui-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lp-accent);
  flex-shrink: 0;
  animation: lpPulse 1.5s ease-in-out infinite;
}
@keyframes lpPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ===== PHONE MOCKUP ===== */
.lp-phone-mockup {
  width: 240px;
  flex-shrink: 0;
  background: var(--lp-terminal-bg);
  border: 2px solid var(--lp-border);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
  position: relative;
  z-index: 2;
  transition: background 0.4s, border-color 0.4s;
}
.lp-phone-notch {
  width: 80px;
  height: 20px;
  background: var(--lp-terminal-bg);
  border-radius: 0 0 14px 14px;
  margin: 0 auto;
  border-bottom: 1px solid var(--lp-border);
  transition: background 0.4s;
}
.lp-phone-screen {
  display: flex;
  flex-direction: column;
  height: 440px;
}
.lp-phone-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid var(--lp-border);
}
.lp-phone-header-title {
  font-family: var(--lp-font-body);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--lp-text);
}
.lp-phone-header-status {
  font-family: var(--lp-font-mono);
  font-size: 0.6rem;
  color: var(--lp-accent);
  padding: 2px 6px;
  background: var(--lp-accent-subtle);
  border-radius: 4px;
}
.lp-phone-messages {
  flex: 1;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}
.lp-phone-msg {
  display: flex;
}
.lp-phone-msg-user {
  justify-content: flex-end;
}
.lp-phone-msg-agent {
  justify-content: flex-start;
}
.lp-phone-msg-hidden {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.lp-phone-msg-hidden.lp-phone-msg-visible {
  opacity: 1;
  transform: translateY(0);
}
.lp-phone-bubble {
  max-width: 85%;
  padding: 8px 12px;
  border-radius: 14px;
  font-size: 0.68rem;
  line-height: 1.5;
  font-family: var(--lp-font-body);
}
.lp-bubble-user {
  background: var(--lp-accent);
  color: var(--lp-bg);
  border-bottom-right-radius: 4px;
}
.lp-bubble-agent {
  background: var(--lp-surface);
  color: var(--lp-text);
  border: 1px solid var(--lp-border);
  border-bottom-left-radius: 4px;
}
.lp-phone-msg-voice {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--lp-font-mono);
  font-size: 0.6rem;
}
.lp-phone-msg-voice svg {
  flex-shrink: 0;
  opacity: 0.9;
}
.lp-voice-waveform {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 14px;
}
.lp-voice-waveform span {
  display: block;
  width: 2px;
  border-radius: 1px;
  background: currentColor;
  opacity: 0.7;
  animation: lp-wave 0.8s ease-in-out infinite alternate;
}
.lp-voice-waveform span:nth-child(1) { height: 4px; animation-delay: 0s; }
.lp-voice-waveform span:nth-child(2) { height: 8px; animation-delay: 0.1s; }
.lp-voice-waveform span:nth-child(3) { height: 12px; animation-delay: 0.2s; }
.lp-voice-waveform span:nth-child(4) { height: 6px; animation-delay: 0.3s; }
.lp-voice-waveform span:nth-child(5) { height: 10px; animation-delay: 0.15s; }
@keyframes lp-wave {
  0% { transform: scaleY(0.4); }
  100% { transform: scaleY(1); }
}
.lp-phone-scene {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lp-phone-scene[style*="display:none"] {
  display: none !important;
}
.lp-bubble-tool {
  display: flex;
  align-items: center;
  gap: 5px;
  font-style: italic;
}
.lp-tool-icon {
  display: inline-flex;
  opacity: 0.7;
  flex-shrink: 0;
}
.lp-phone-input {
  padding: 10px 14px;
  border-top: 1px solid var(--lp-border);
  font-family: var(--lp-font-body);
  font-size: 0.65rem;
  color: var(--lp-text-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.lp-phone-input-text {
  position: relative;
  flex: 1;
  height: 1.3em;
  overflow: hidden;
}
.lp-input-msg {
  position: absolute;
  left: 0;
  top: 0;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.lp-input-msg.active {
  opacity: 1;
  transform: translateY(0);
}
.lp-phone-input-btns {
  position: relative;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
.lp-phone-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: var(--lp-accent);
  color: var(--lp-terminal-bg);
  cursor: default;
  flex-shrink: 0;
  position: absolute;
  top: 0;
  right: 0;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}
.lp-phone-action-btn.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
.lp-phone-call-btn.active {
  animation: lpCallPulse 2s ease-in-out infinite;
}
.lp-phone-send-btn.active {
  animation: lpSendPop 0.4s ease-out;
}
@keyframes lpCallPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(228, 54, 54, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(228, 54, 54, 0); }
}
@keyframes lpSendPop {
  0% { transform: scale(0.7); }
  60% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* ===== DESKTOP MOCKUP (background layer) ===== */
.lp-desktop-mockup {
  position: absolute;
  z-index: 1;
  top: -30px;
  left: -80px;
  right: -80px;
  bottom: -60px;
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 0.4s ease;
  animation: lpDesktopFadeIn 0.8s ease-out both;
  animation-delay: 1s;
}
.lp-gui-mockup:hover .lp-desktop-mockup {
  opacity: 0.72;
}
.lp-desktop-frame {
  background: var(--lp-terminal-bg);
  border: 1px solid var(--lp-border);
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.lp-desktop-titlebar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
}
.lp-desktop-titlebar .lp-terminal-dot {
  width: 9px;
  height: 9px;
}
.lp-desktop-titlebar-text {
  font-family: var(--lp-font-mono);
  font-size: 0.62rem;
  color: var(--lp-text-muted);
  margin-left: 6px;
}
.lp-desktop-screen {
  display: flex;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.lp-desktop-sidebar {
  width: 100px;
  border-right: 1px solid var(--lp-border);
  padding: 12px 0;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.lp-desktop-nav-item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  font-family: var(--lp-font-body);
  font-size: 0.6rem;
  color: var(--lp-text-muted);
  transition: background 0.2s;
}
.lp-desktop-nav-item.active {
  background: rgba(255,255,255,0.06);
  color: var(--lp-accent);
  border-right: 2px solid var(--lp-accent);
}
.lp-desktop-nav-item svg {
  width: 13px;
  height: 13px;
  opacity: 0.6;
  flex-shrink: 0;
}
.lp-desktop-nav-item.active svg {
  opacity: 1;
}
.lp-desktop-main {
  flex: 1;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.lp-desktop-card {
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  border-radius: 8px;
  padding: 10px 12px;
}
.lp-desktop-card-title {
  font-family: var(--lp-font-mono);
  font-size: 0.58rem;
  font-weight: 600;
  color: var(--lp-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.lp-desktop-status-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--lp-font-mono);
  font-size: 0.58rem;
  color: var(--lp-text-muted);
  margin-bottom: 4px;
}
.lp-desktop-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #28c840;
  animation: lpPulse 1.5s ease-in-out infinite;
}
.lp-desktop-chat-line {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 6px;
  font-family: var(--lp-font-body);
  font-size: 0.55rem;
  color: var(--lp-text-muted);
  line-height: 1.4;
}
.lp-desktop-chat-avatar {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 1px;
}
.lp-desktop-chat-avatar.user {
  background: var(--lp-accent);
}
.lp-desktop-chat-avatar.agent {
  background: var(--lp-border);
}
.lp-desktop-cursor {
  display: inline-block;
  width: 5px;
  height: 10px;
  background: var(--lp-accent);
  margin-left: 2px;
  vertical-align: middle;
  animation: lpDesktopBlink 1s step-end infinite;
}
.lp-desktop-base {
  background: var(--lp-border);
  height: 14px;
  border-radius: 0 0 4px 4px;
  margin: 0 40px;
  position: relative;
}
.lp-desktop-hinge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: rgba(255,255,255,0.08);
  border-radius: 0 0 2px 2px;
}

@keyframes lpDesktopBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
@keyframes lpDesktopFadeIn {
  from { opacity: 0; transform: scale(0.97) translateY(8px); }
  to { opacity: 0.55; transform: scale(1) translateY(0); }
}

/* ===== FEATURES GRID ===== */
.lp-features {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 48px;
}
.lp-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.lp-feature-card {
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  border-radius: 12px;
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: default;
}
.lp-feature-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--lp-gradient);
  opacity: 0;
  transition: opacity 0.3s;
}
.lp-feature-card:hover {
  border-color: var(--lp-accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15), 0 0 0 1px var(--lp-accent-glow);
}
.lp-feature-card:hover::after {
  opacity: 1;
}
.lp-feature-num {
  font-family: var(--lp-font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--lp-text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}
.lp-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--lp-accent-subtle);
  color: var(--lp-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.3s;
}
.lp-feature-card:hover .lp-feature-icon {
  background: var(--lp-accent);
  color: var(--lp-bg);
}
.lp-feature-card h3 {
  font-family: var(--lp-font-body);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--lp-text);
  transition: color 0.4s;
}
.lp-feature-card p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--lp-text-sub);
  transition: color 0.4s;
}
.lp-feature-card code {
  font-family: var(--lp-font-mono);
  font-size: 0.78rem;
  background: var(--lp-code-bg);
  color: var(--lp-code-text);
  padding: 2px 8px;
  border-radius: 4px;
  transition: all 0.4s;
}

/* ===== APPS SHOWCASE ===== */
.lp-apps {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 48px;
}
.lp-apps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.lp-app-card {
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  border-radius: 12px;
  padding: 16px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: default;
  text-decoration: none;
  color: inherit;
}
a.lp-app-card {
  cursor: pointer;
}
.lp-app-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--lp-gradient);
  opacity: 0;
  transition: opacity 0.3s;
}
.lp-app-card:hover {
  border-color: var(--lp-accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15), 0 0 0 1px var(--lp-accent-glow);
}
.lp-app-card:hover::after {
  opacity: 1;
}
.lp-app-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--lp-accent-subtle);
  color: var(--lp-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  transition: all 0.3s;
}
.lp-app-card:hover .lp-app-icon {
  background: var(--lp-accent);
  color: var(--lp-bg);
}
.lp-app-card h3 {
  font-family: var(--lp-font-body);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--lp-text);
  transition: color 0.4s;
}
.lp-app-card p {
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--lp-text-sub);
  margin-bottom: 14px;
  transition: color 0.4s;
}
.lp-app-badge {
  display: inline-block;
  font-family: var(--lp-font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 14px;
  border-radius: 20px;
  background: var(--lp-accent-subtle);
  color: var(--lp-accent);
  border: 1px solid var(--lp-accent-glow);
  transition: all 0.3s;
}

/* ===== HOW IT WORKS ===== */
.lp-how {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 48px;
}
.lp-how-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.lp-how-step {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 28px 0;
}
.lp-how-num {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--lp-accent);
  color: var(--lp-bg);
  font-family: var(--lp-font-display);
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s;
}
.lp-how-body h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--lp-text);
}
.lp-how-body p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--lp-text-sub);
}
.lp-how-connector {
  width: 2px;
  height: 24px;
  background: var(--lp-border);
  margin-left: 21px;
  transition: background 0.4s;
}

/* ===== CHANNELS MARQUEE ===== */
.lp-channels {
  padding: 60px 48px;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}
.lp-marquee-track {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
}
.lp-marquee-inner {
  display: flex;
  gap: 12px;
  animation: lpMarquee 30s linear infinite;
  width: max-content;
}
@keyframes lpMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.lp-channel-tag {
  flex-shrink: 0;
  padding: 10px 22px;
  font-family: var(--lp-font-mono);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--lp-text-sub);
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  border-radius: 8px;
  white-space: nowrap;
  transition: all 0.3s;
}
.lp-channel-tag:hover {
  color: var(--lp-accent);
  border-color: var(--lp-accent);
  background: var(--lp-accent-subtle);
}

/* ===== CTA ===== */
.lp-cta {
  text-align: center;
  padding: 100px 48px;
  max-width: 700px;
  margin: 0 auto;
}
.lp-cta-title {
  font-family: var(--lp-font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--lp-text);
}
.lp-cta-sub {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--lp-text-sub);
  max-width: 520px;
  margin: 0 auto 36px;
}
.lp-cta-btn {
  font-size: 1.05rem;
  padding: 16px 40px;
}

/* ===== FOOTER ===== */
.lp-footer {
  border-top: 1px solid var(--lp-border);
  padding: 28px 48px;
  transition: border-color 0.4s;
}
.lp-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.lp-footer-brand {
  font-family: 'Space Grotesk', var(--lp-font-body);
  font-weight: 700;
  font-size: 1rem;
  color: var(--lp-accent);
}
.lp-footer-links {
  display: flex;
  gap: 24px;
}
.lp-footer-links a {
  font-size: 0.85rem;
  color: var(--lp-text-sub);
  text-decoration: none;
  transition: color 0.2s;
}
.lp-footer-links a:hover {
  color: var(--lp-accent);
}
.lp-footer-copy {
  font-size: 0.78rem;
  color: var(--lp-text-muted);
  font-family: var(--lp-font-mono);
}

/* ===== PRICING ===== */
.lp-pricing {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 48px;
}
.lp-pricing-title {
  font-family: var(--lp-font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--lp-text);
  margin-bottom: 12px;
}
.lp-pricing-sub {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--lp-text-sub);
  max-width: 560px;
  margin-bottom: 40px;
}
.lp-pricing-toggle {
  display: inline-flex;
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 32px;
}
.lp-pricing-toggle-btn {
  font-family: var(--lp-font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--lp-text-muted);
  background: transparent;
  border: none;
  border-radius: 8px;
  padding: 10px 24px;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.lp-pricing-toggle-btn:hover {
  color: var(--lp-text);
}
.lp-pricing-toggle-btn.active {
  background: var(--lp-accent);
  color: var(--lp-bg);
  box-shadow: 0 2px 8px var(--lp-accent-glow);
}
.lp-pricing-save-badge {
  font-family: var(--lp-font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.15);
}
.lp-pricing-toggle-btn.active .lp-pricing-save-badge {
  background: rgba(255,255,255,0.2);
}
.lp-pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.lp-pricing-card {
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  border-radius: 12px;
  padding: 24px 20px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: default;
}
.lp-pricing-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--lp-gradient);
  opacity: 0;
  transition: opacity 0.3s;
}
.lp-pricing-card:hover {
  border-color: var(--lp-accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15), 0 0 0 1px var(--lp-accent-glow);
}
.lp-pricing-card:hover::after {
  opacity: 1;
}
.lp-pricing-card-header h3 {
  font-family: var(--lp-font-body);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--lp-text);
  margin-bottom: 2px;
}
.lp-pricing-users {
  font-family: var(--lp-font-mono);
  font-size: 0.72rem;
  color: var(--lp-text-muted);
}
.lp-pricing-price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin: 16px 0;
}
.lp-pricing-amount {
  font-family: var(--lp-font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--lp-accent);
}
.lp-pricing-period {
  font-family: var(--lp-font-mono);
  font-size: 0.75rem;
  color: var(--lp-text-muted);
}
.lp-pricing-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lp-pricing-features li {
  font-size: 0.82rem;
  color: var(--lp-text-sub);
  font-family: var(--lp-font-body);
  padding-left: 18px;
  position: relative;
}
.lp-pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lp-accent);
}
.lp-pricing-features li strong {
  color: var(--lp-text);
}
.lp-pricing-specs-small {
  font-size: 0.72rem;
  color: var(--lp-text-muted);
  font-family: var(--lp-font-mono);
  margin-top: 12px;
}
.lp-pricing-specs {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.lp-pricing-spec {
  font-size: 0.82rem;
  color: var(--lp-text-sub);
  font-family: var(--lp-font-body);
}
.lp-pricing-spec-val {
  font-family: var(--lp-font-mono);
  font-weight: 500;
  color: var(--lp-text);
}
.lp-pricing-badge {
  display: inline-block;
  font-family: var(--lp-font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--lp-accent-subtle);
  color: var(--lp-accent);
  border: 1px solid var(--lp-accent-glow);
  margin-top: 14px;
}
.lp-pricing-card-soldout {
  opacity: 0.5;
  pointer-events: none;
}
.lp-badge-soldout {
  background: rgba(255,255,255,0.06);
  color: var(--lp-text-muted);
  border-color: rgba(255,255,255,0.1);
}
.lp-pricing-note {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--lp-text-muted);
  margin-top: 28px;
  font-family: var(--lp-font-mono);
}

/* ===== FAQ ===== */
.lp-faq {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 48px;
}
.lp-faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 40px;
}
.lp-faq-item {
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.lp-faq-item:hover {
  border-color: var(--lp-accent);
}
.lp-faq-item.expanded {
  border-color: var(--lp-accent);
  box-shadow: 0 0 0 1px var(--lp-accent-subtle);
}
.lp-faq-header {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  font-family: var(--lp-font-body);
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--lp-text);
  transition: color 0.3s;
}
.lp-faq-item:hover .lp-faq-header,
.lp-faq-item.expanded .lp-faq-header {
  color: var(--lp-accent);
}
.lp-faq-chevron {
  width: 20px;
  height: 20px;
  color: var(--lp-accent);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.lp-faq-item.expanded .lp-faq-chevron {
  transform: rotate(180deg);
}
.lp-faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
  color: var(--lp-text-sub);
  font-size: 0.92rem;
  line-height: 1.7;
}
.lp-faq-item.expanded .lp-faq-body {
  max-height: 600px;
  padding: 0 24px 20px;
}
.lp-faq-body p {
  margin: 0 0 10px;
}
.lp-faq-body p:last-child {
  margin-bottom: 0;
}
.lp-faq-body ul,
.lp-faq-body ol {
  margin: 8px 0;
  padding-left: 20px;
}
.lp-faq-body li {
  margin-bottom: 4px;
}
.lp-faq-body a {
  color: var(--lp-accent);
  text-decoration: none;
  transition: opacity 0.2s;
}
.lp-faq-body a:hover {
  opacity: 0.8;
}

/* ===== Legal Pages ===== */
.legal-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 48px 80px;
  flex: 1;
}
.legal-title {
  font-family: var(--lp-font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--lp-text);
  margin-bottom: 8px;
}
.legal-effective {
  font-family: var(--lp-font-mono);
  font-size: 0.82rem;
  color: var(--lp-text-muted);
  margin-bottom: 48px;
}
.legal-section {
  margin-bottom: 36px;
}
.legal-section h2 {
  font-family: var(--lp-font-body);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--lp-text);
  margin-bottom: 12px;
}
.legal-section p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--lp-text-sub);
  margin-bottom: 12px;
}
.legal-section ul {
  margin: 8px 0 12px;
  padding-left: 20px;
}
.legal-section li {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--lp-text-sub);
  margin-bottom: 6px;
}
.legal-section a {
  color: var(--lp-accent);
  text-decoration: none;
  transition: opacity 0.2s;
}
.legal-section a:hover {
  opacity: 0.8;
}

/* ===== Inline OpenClaw Mark ===== */
.lp-openclaw-mark {
  display: inline-block;
  vertical-align: -0.1em;
  color: var(--lp-accent);
  opacity: 0.85;
  transition: color 0.4s;
}
a:hover .lp-openclaw-mark {
  opacity: 1;
}
.oc-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.12em;
  border-radius: 3px;
}
.oc-icon-sm {
  width: 0.55em;
  height: 0.55em;
  vertical-align: 0.05em;
}

/* ===== Scroll Reveal ===== */
.lp-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.lp-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .lp-topnav-nav {
    display: none;
  }
}
@media (max-width: 900px) {
  .lp-topnav {
    padding: 12px 24px;
  }
  .lp-hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 60px 24px 40px;
    min-height: auto;
  }
  .lp-gui-mockup {
    max-width: 100%;
  }
  .lp-desktop-mockup {
    display: none;
  }
  .lp-phone-mockup {
    width: 200px;
  }
  .lp-features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .lp-features {
    padding: 60px 24px;
  }
  .lp-how {
    padding: 60px 24px;
  }
  .lp-apps {
    padding: 60px 24px;
  }
  .lp-pricing {
    padding: 60px 24px;
  }
  .lp-pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .lp-faq {
    padding: 60px 24px;
  }
  .lp-channels {
    padding: 40px 24px;
  }
  .lp-cta {
    padding: 60px 24px;
  }
  .lp-footer {
    padding: 24px;
  }
  .legal-content {
    padding: 40px 24px 60px;
  }
}
@media (max-width: 640px) {
  .lp-faq-header {
    font-size: 0.92rem;
    padding: 16px 18px;
  }
  .lp-faq-body {
    font-size: 0.88rem;
  }
  .lp-faq-item.expanded .lp-faq-body {
    padding: 0 18px 16px;
  }
  .lp-features-grid {
    grid-template-columns: 1fr;
  }
  .lp-apps-grid {
    grid-template-columns: 1fr;
  }
  .lp-pricing-grid {
    grid-template-columns: 1fr 1fr;
  }
  .lp-hero-title {
    font-size: clamp(2rem, 8vw, 2.6rem);
  }
  .lp-hero-proof {
    flex-wrap: wrap;
    gap: 16px;
  }
  .lp-proof-divider {
    display: none;
  }
  .lp-hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .lp-btn-primary,
  .lp-btn-ghost {
    width: 100%;
    justify-content: center;
  }
  .theme-dock {
    position: fixed;
    top: auto;
    bottom: 16px;
    right: 50%;
    transform: translateX(50%);
    flex-direction: row;
    border-radius: 20px;
    padding: 8px 12px;
  }
  .lp-gui-mockup {
    flex-direction: column;
  }
  .lp-phone-mockup {
    width: 100%;
    max-width: 260px;
    margin: 0 auto;
    border-radius: 28px;
  }
  .lp-phone-screen {
    height: 380px;
  }
  .lp-footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
