/* ============================================================
   landing.css — ManiDesk marketing landing page
   Standalone: does not depend on style.css or design-system.css
   ============================================================ */

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

:root {
  --lp-bg:            #0b0b0c;
  --lp-surface:       #111113;
  --lp-card:          #1a1a1c;
  --lp-border:        rgba(255,255,255,0.07);
  --lp-border-hover:  rgba(255,255,255,0.13);
  --lp-accent:        #22c55e;
  --lp-accent-dim:    rgba(34,197,94,0.12);
  --lp-accent-glow:   rgba(34,197,94,0.07);
  --lp-text:          #ffffff;
  --lp-muted:         #a3a3a3;
  --lp-dim:           #737373;
  --lp-very-dim:      #525252;
  --lp-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--lp-bg);
  color: var(--lp-text);
  font-family: var(--lp-font);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* --- Container -------------------------------------------- */
.lp-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
}

/* --- NAV -------------------------------------------------- */
.lp-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 58px;
  background: rgba(11,11,12,0.86);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border-bottom: 1px solid var(--lp-border);
}

.lp-nav-inner {
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lp-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.lp-logo-icon {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  object-fit: contain;
  flex-shrink: 0;
}

.lp-logo-tm {
  font-size: 9px;
  font-weight: 400;
  color: var(--lp-dim);
  vertical-align: super;
  letter-spacing: 0;
  margin-left: 1px;
}

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

.lp-nav-link {
  font-size: 14px;
  color: var(--lp-muted);
  transition: color 0.15s;
}
.lp-nav-link:hover { color: #fff; }

/* --- Buttons ---------------------------------------------- */
.lp-btn {
  display: inline-flex;
  align-items: center;
  border: none;
  cursor: pointer;
  font-family: var(--lp-font);
  font-weight: 600;
  font-size: 13px;
  border-radius: 7px;
  padding: 7px 16px;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  text-decoration: none;
  white-space: nowrap;
}

.lp-btn-primary { background: var(--lp-accent); color: #041208; }
.lp-btn-primary:hover { background: #16a34a; color: #041208; }

.lp-btn-ghost {
  background: transparent;
  color: var(--lp-muted);
  border: 1px solid var(--lp-border);
}
.lp-btn-ghost:hover { border-color: var(--lp-border-hover); color: #fff; }

.lp-btn-lg { font-size: 15px; padding: 10px 26px; border-radius: 9px; }

.lp-btn-enter {
  background: var(--lp-card);
  color: #fff;
  border: 1px solid var(--lp-border-hover);
  font-size: 15px;
  font-weight: 600;
  padding: 10px 24px 10px 10px;
  border-radius: 99px;
  gap: 10px;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.lp-btn-enter:hover {
  background: #222224;
  border-color: rgba(255,255,255,0.22);
  box-shadow: 0 0 0 3px rgba(34,197,94,0.08);
}

.lp-enter-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 6px;
  flex-shrink: 0;
}

/* --- Hero ------------------------------------------------- */
.lp-hero {
  padding-top: 118px;
  overflow: hidden;
}

.lp-hero-inner {
  text-align: center;
  padding-bottom: 52px;
}

.lp-hero-badge {
  display: inline-block;
  padding: 4px 14px;
  background: var(--lp-accent-dim);
  border: 1px solid rgba(34,197,94,0.22);
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
  color: #86efac;
  letter-spacing: 0.01em;
  margin-bottom: 26px;
}

.lp-hero-title {
  font-size: clamp(26px, 3.2vw, 46px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 22px;
}

.lp-hero-sub {
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--lp-muted);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 36px;
}

.lp-hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.lp-hero-trust {
  text-align: center;
  font-size: 12px;
  color: var(--lp-text-muted, #6b7280);
  letter-spacing: 0.01em;
  margin: 0 0 48px;
}

.lp-hero-visual { padding: 0 28px; max-width: 1100px; margin: 0 auto; }

.lp-hero-video-wrap {
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  border: 1px solid var(--lp-border);
  border-bottom: none;
  box-shadow:
    0 0 0 1px var(--lp-accent-glow),
    0 -4px 40px rgba(34,197,94,0.04),
    0 40px 100px rgba(0,0,0,0.65);
  position: relative;
}

.lp-hero-video-wrap::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 72px;
  background: linear-gradient(to bottom, transparent, var(--lp-bg));
  pointer-events: none;
}

.lp-hero-video-wrap video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: cover;
  object-position: top;
}

/* --- Sources strip ---------------------------------------- */
.lp-sources-strip {
  background: var(--lp-surface);
  border-top: 1px solid var(--lp-border);
  border-bottom: 1px solid var(--lp-border);
  padding: 18px 0;
}

.lp-sources-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.lp-sources-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lp-very-dim);
  white-space: nowrap;
}

.lp-sources-divider {
  width: 1px;
  height: 14px;
  background: var(--lp-border);
  flex-shrink: 0;
}

.lp-sources-list {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.lp-sources-list span {
  font-size: 12px;
  font-weight: 600;
  color: var(--lp-dim);
  letter-spacing: 0.03em;
}

/* --- Sections --------------------------------------------- */
.lp-section { padding: 72px 0; }

.lp-section-header { margin-bottom: 32px; }

.lp-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lp-accent);
  margin-bottom: 14px;
}

.lp-section-title {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: #fff;
  margin-bottom: 16px;
}

.lp-section-sub {
  font-size: 15px;
  color: var(--lp-muted);
  line-height: 1.72;
  max-width: 540px;
}

/* --- Tabs ------------------------------------------------- */
.lp-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: rgba(255,255,255,0.028);
  border: 1px solid var(--lp-border);
  border-radius: 9px;
  width: fit-content;
  margin-bottom: 16px;
}

.lp-tab {
  padding: 7px 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--lp-dim);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
  white-space: nowrap;
  font-family: var(--lp-font);
}

.lp-tab:hover { color: var(--lp-muted); }

.lp-tab.active {
  background: var(--lp-card);
  color: #fff;
  border-color: var(--lp-border);
}

/* --- Video / image panes ---------------------------------- */
.lp-panes { position: relative; }

.lp-pane { display: none; }
.lp-pane.active { display: block; }

.lp-media-wrap {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--lp-border);
  box-shadow:
    0 0 0 1px var(--lp-accent-glow),
    0 24px 64px rgba(0,0,0,0.52);
}

.lp-media-wrap video,
.lp-media-wrap img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  object-position: top;
}

/* --- Feature cards ---------------------------------------- */
.lp-feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.lp-feat-card {
  padding: 22px 20px;
  background: var(--lp-card);
  border: 1px solid var(--lp-border);
  border-radius: 10px;
  transition: border-color 0.2s;
}
.lp-feat-card:hover { border-color: var(--lp-border-hover); }

.lp-feat-icon { margin-bottom: 12px; }

.lp-feat-title {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.lp-feat-desc {
  font-size: 13px;
  color: var(--lp-dim);
  line-height: 1.62;
}

/* --- Alternating section background ----------------------- */
.lp-section-alt {
  background: var(--lp-surface);
  border-top: 1px solid var(--lp-border);
  border-bottom: 1px solid var(--lp-border);
}

/* --- Split layout ----------------------------------------- */
.lp-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  margin-bottom: 48px;
}

.lp-split-text .lp-section-sub { margin-bottom: 28px; }

/* --- Check list ------------------------------------------- */
.lp-check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lp-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--lp-muted);
  line-height: 1.5;
}

.lp-check-list li svg { flex-shrink: 0; margin-top: 1px; }

/* --- Quant bottom video ------------------------------------ */
.lp-quant-video { margin-top: 0; }

/* --- Split reverse (visual left, text right) -------------- */
.lp-split-reverse { direction: rtl; }
.lp-split-reverse > * { direction: ltr; }

/* --- Stat callouts ---------------------------------------- */
.lp-stat-row {
  display: flex;
  gap: 32px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--lp-border);
}

.lp-stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lp-stat-num {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1;
}

.lp-stat-label {
  font-size: 12px;
  color: var(--lp-dim);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* --- Team section ----------------------------------------- */
.lp-team-header {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 32px;
}

.lp-team-header .lp-section-sub {
  margin: 0 auto;
}

.lp-team-video {
  margin-bottom: 40px;
}

.lp-team-callouts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  border-top: 1px solid var(--lp-border);
  padding-top: 36px;
}

.lp-team-callout {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.lp-team-callout span {
  font-size: 13px;
  color: var(--lp-muted);
  line-height: 1.65;
}

/* --- Final CTA strip -------------------------------------- */
.lp-cta-strip {
  padding: 72px 0;
  background: radial-gradient(ellipse 70% 60% at 50% 100%, rgba(34,197,94,0.07) 0%, transparent 70%),
              var(--lp-surface);
  border-top: 1px solid var(--lp-border);
  text-align: center;
}

.lp-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.lp-cta-title {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 14px;
}

.lp-cta-sub {
  font-size: 16px;
  color: var(--lp-muted);
  line-height: 1.6;
  max-width: 460px;
  margin-bottom: 36px;
}

.lp-cta-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.lp-cta-trust {
  font-size: 12px;
  color: var(--lp-very-dim);
  letter-spacing: 0.01em;
}

/* --- Footer ----------------------------------------------- */
.lp-footer {
  border-top: 1px solid var(--lp-border);
  padding: 32px 0 24px;
}

.lp-footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
}

.lp-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.lp-footer-logo {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--lp-muted);
}

.lp-footer-tagline {
  font-size: 13px;
  color: var(--lp-dim);
}

.lp-footer-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.lp-footer-links a {
  font-size: 13px;
  color: var(--lp-dim);
  transition: color 0.15s;
}
.lp-footer-links a:hover { color: var(--lp-muted); }

.lp-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--lp-border);
  padding-top: 16px;
}

.lp-footer-copy {
  font-size: 12px;
  color: var(--lp-very-dim);
}

.lp-footer-badges {
  display: flex;
  align-items: center;
}

.lp-footer-badges img {
  display: block;
  opacity: 0.85;
  transition: opacity 0.15s;
}

.lp-footer-badges img:hover {
  opacity: 1;
}

/* --- Scroll reveal ---------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
[data-reveal].visible {
  opacity: 1;
  transform: none;
}

/* --- Responsive ------------------------------------------- */
@media (max-width: 820px) {
  .lp-feat-grid { grid-template-columns: 1fr 1fr; }
  .lp-tabs { flex-wrap: wrap; width: 100%; }
  .lp-tab { flex: 1; text-align: center; }
  .lp-split { grid-template-columns: 1fr; gap: 36px; }
  .lp-split-visual { order: -1; }
}

@media (max-width: 600px) {
  .lp-feat-grid { grid-template-columns: 1fr; }
  .lp-hero-ctas { align-items: center; }
  .lp-sources-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .lp-sources-divider { display: none; }
  .lp-footer-top { flex-direction: column; align-items: flex-start; }
  .lp-footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .lp-team-callouts { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .lp-team-callouts { grid-template-columns: 1fr 1fr; }
}
