/* Landing Page Styles */

/* ── Section Layout ── */
.lp-section {
  padding: 80px 0;
  position: relative;
}

.lp-section--hero {
  min-height: calc(100vh - var(--blade-header-height));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 0 40px;
}

.lp-section--tension {
  padding: 48px 0;
  background: var(--blade-surface-raised);
}

.lp-section--cta-final {
  padding: 80px 0;
  background: var(--blade-surface-raised);
}

.lp-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Stroke Divider ── */
.lp-stroke {
  width: 100%;
  height: 1px;
  background: var(--blade-border);
  transform: rotate(-4deg);
  transform-origin: left center;
  margin: 0 auto;
  max-width: 1120px;
  opacity: 0.6;
}

.lp-stroke::after {
  content: '';
  display: block;
  width: 60px;
  height: 1px;
  background: var(--blade-accent);
}

/* ── Overline Label ── */
.lp-overline {
  font-family: var(--blade-font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blade-accent);
  margin-bottom: 32px;
}

/* ── Hero ── */
.lp-hero__headline {
  font-family: var(--blade-font-body);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--blade-text);
  margin-bottom: 20px;
  max-width: 640px;
}

.lp-hero__subline {
  font-family: var(--blade-font-body);
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 400;
  line-height: 1.6;
  color: var(--blade-text-secondary);
  margin-bottom: 32px;
  max-width: 520px;
}

.lp-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* ── CTA Button ── */
.lp-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--blade-font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--blade-accent-on-accent);
  background: var(--blade-accent);
  padding: 14px 32px;
  border-radius: var(--blade-radius-button);
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--blade-shadow-button);
  transition: var(--blade-transition-fast);
}

.lp-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.lp-cta-sub {
  font-family: var(--blade-font-body);
  font-size: 13px;
  color: var(--blade-text-muted);
  margin-top: 12px;
}

/* Piercing Glimpse — one pulse on load */
@keyframes lp-pulse {
  0% { box-shadow: var(--blade-shadow-button); }
  50% { box-shadow: 0 0 24px var(--blade-accent-glow), var(--blade-shadow-button); }
  100% { box-shadow: var(--blade-shadow-button); }
}

.lp-cta--piercing {
  animation: lp-pulse 600ms ease-out 300ms 1;
}

/* ── Dashboard Mockup ── */
.lp-mockup {
  background: var(--blade-surface);
  border: 1px solid var(--blade-border);
  border-radius: var(--blade-radius-panel);
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.lp-mockup__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--blade-border);
}

.lp-mockup__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blade-text-faint);
  opacity: 0.4;
}

.lp-mockup__dot:first-child { background: var(--blade-error); opacity: 0.7; }
.lp-mockup__dot:nth-child(2) { background: var(--blade-warning); opacity: 0.7; }
.lp-mockup__dot:nth-child(3) { background: var(--blade-success); opacity: 0.7; }

.lp-mock-card {
  background: var(--blade-surface-raised);
  border: 1px solid var(--blade-border);
  border-radius: var(--blade-radius-card);
  padding: 16px;
  margin-bottom: 12px;
}

.lp-mock-card:last-child { margin-bottom: 0; }

.lp-mock-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.lp-mock-card__title {
  font-family: var(--blade-font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--blade-text);
}

.lp-mock-card__company {
  font-family: var(--blade-font-body);
  font-size: 12px;
  color: var(--blade-text-muted);
  margin-top: 2px;
}

.lp-mock-card__score {
  font-family: var(--blade-font-mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--blade-score-high);
}

.lp-mock-card__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.lp-pill {
  font-family: var(--blade-font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: var(--blade-radius-tag);
  border: 1px solid;
}

.lp-pill--match {
  color: var(--blade-success);
  border-color: var(--blade-success);
  background: transparent;
}

.lp-pill--gap {
  color: var(--blade-text-faint);
  border-color: var(--blade-border);
  background: transparent;
}

.lp-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--blade-font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid var(--blade-accent);
  color: var(--blade-accent);
  margin-top: 8px;
}

/* ── Tension Strip ── */
.lp-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.lp-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lp-stat__number {
  font-family: var(--blade-font-mono);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--blade-text);
  line-height: 1;
}

.lp-stat__label {
  font-family: var(--blade-font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blade-text-muted);
  margin-top: 8px;
}

/* ── How It Works ── */
.lp-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.lp-step__circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--blade-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--blade-font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--blade-accent);
  margin-bottom: 20px;
}

.lp-step__title {
  font-family: var(--blade-font-body);
  font-size: 18px;
  font-weight: 600;
  color: var(--blade-text);
  margin-bottom: 8px;
}

.lp-step__desc {
  font-family: var(--blade-font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--blade-text-secondary);
}

/* ── Intelligence Showcase ── */
.lp-intel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.lp-intel__card {
  background: var(--blade-surface);
  border: 1px solid var(--blade-border);
  border-radius: var(--blade-radius-panel);
  padding: 24px;
}

.lp-intel__reasoning {
  font-family: var(--blade-font-body);
  font-size: 13px;
  font-style: italic;
  color: var(--blade-text-secondary);
  margin-top: 12px;
  padding: 10px 12px;
  border-left: 2px solid var(--blade-accent);
  background: var(--blade-accent-subtle);
  border-radius: 0 var(--blade-radius-tag) var(--blade-radius-tag) 0;
}

.lp-intel__quote {
  font-family: var(--blade-font-body);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--blade-text);
  margin-bottom: 28px;
}

.lp-feature {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.lp-feature:last-child { margin-bottom: 0; }

.lp-feature__circle {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--blade-border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lp-feature__circle svg {
  width: 14px;
  height: 14px;
  stroke: var(--blade-accent);
  fill: none;
  stroke-width: 2;
}

.lp-feature__title {
  font-family: var(--blade-font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--blade-text);
  margin-bottom: 4px;
}

.lp-feature__desc {
  font-family: var(--blade-font-body);
  font-size: 13px;
  line-height: 1.5;
  color: var(--blade-text-muted);
}

/* ── Pipeline ── */
.lp-pipeline {
  display: grid;
  grid-template-columns: 200px 1fr 200px;
  gap: 0;
  align-items: center;
}

.lp-pipeline__sources {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lp-pipeline__source {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--blade-font-mono);
  font-size: 12px;
  color: var(--blade-text-muted);
}

.lp-pipeline__source-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid var(--blade-text-faint);
  flex-shrink: 0;
}

.lp-pipeline__flow {
  position: relative;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lp-pipeline__line {
  position: absolute;
  height: 1px;
  background: var(--blade-border);
  right: 0;
  width: 0;
  transition: width 600ms ease-out;
}

.lp-pipeline__line.lp-visible { width: 100%; }

.lp-pipeline__line:nth-child(1) { top: 10%; transform-origin: right; }
.lp-pipeline__line:nth-child(2) { top: 28%; }
.lp-pipeline__line:nth-child(3) { top: 46%; }
.lp-pipeline__line:nth-child(4) { top: 64%; }
.lp-pipeline__line:nth-child(5) { top: 82%; }
.lp-pipeline__line:nth-child(6) { top: 96%; }

.lp-pipeline__arrow {
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 8px solid var(--blade-accent);
}

.lp-pipeline__result {
  background: var(--blade-surface);
  border: 1px solid var(--blade-accent);
  border-radius: var(--blade-radius-card);
  padding: 24px;
  text-align: center;
  box-shadow: 0 0 20px var(--blade-accent-glow);
}

.lp-pipeline__result-title {
  font-family: var(--blade-font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--blade-text);
}

.lp-pipeline__result-sub {
  font-family: var(--blade-font-mono);
  font-size: 11px;
  color: var(--blade-accent);
  margin-top: 4px;
}

.lp-pipeline__copy {
  font-family: var(--blade-font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--blade-text-secondary);
  max-width: 640px;
  margin: 40px auto 0;
  text-align: center;
  font-style: italic;
}

/* ── Product Stats ── */
.lp-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.lp-stat-card {
  background: var(--blade-surface);
  border: 1px solid var(--blade-border);
  border-radius: var(--blade-radius-card);
  padding: 28px 20px;
  text-align: center;
  transition: var(--blade-transition-fast);
}

.lp-stat-card:hover {
  box-shadow: var(--blade-shadow-glow);
  border-color: var(--blade-border-active);
}

.lp-stat-card__number {
  font-family: var(--blade-font-mono);
  font-size: 32px;
  font-weight: 700;
  color: var(--blade-text);
  line-height: 1;
}

.lp-stat-card__label {
  font-family: var(--blade-font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blade-text-muted);
  margin-top: 10px;
}

/* ── Final CTA ── */
.lp-final {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.lp-final__headline {
  font-family: var(--blade-font-body);
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  color: var(--blade-text);
  margin-bottom: 12px;
}

.lp-final__subline {
  font-family: var(--blade-font-body);
  font-size: 16px;
  color: var(--blade-text-secondary);
  margin-bottom: 28px;
}

.lp-final__trust {
  font-family: var(--blade-font-body);
  font-size: 13px;
  color: var(--blade-text-muted);
  margin-top: 16px;
}

/* ── Animations ── */
.lp-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 400ms ease-out, transform 400ms ease-out;
}

.lp-reveal--left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 500ms ease-out, transform 500ms ease-out;
}

.lp-reveal--right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 500ms ease-out, transform 500ms ease-out;
}

.lp-visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* Hero load animations */
.lp-hero-enter {
  opacity: 0;
  transform: translateY(16px);
}

.lp-hero-enter.lp-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 400ms ease-out, transform 400ms ease-out;
}

/* Stagger children */
.lp-stagger > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 400ms ease-out, transform 400ms ease-out;
}

.lp-stagger.lp-visible > *:nth-child(1) { transition-delay: 0ms; opacity: 1; transform: translateY(0); }
.lp-stagger.lp-visible > *:nth-child(2) { transition-delay: 80ms; opacity: 1; transform: translateY(0); }
.lp-stagger.lp-visible > *:nth-child(3) { transition-delay: 160ms; opacity: 1; transform: translateY(0); }
.lp-stagger.lp-visible > *:nth-child(4) { transition-delay: 240ms; opacity: 1; transform: translateY(0); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .lp-reveal,
  .lp-reveal--left,
  .lp-reveal--right,
  .lp-hero-enter,
  .lp-stagger > * {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .lp-cta--piercing { animation: none; }

  .lp-pipeline__line {
    width: 100% !important;
    transition: none;
  }
}

/* ── Responsive ── */
@media (max-width: 1023px) {
  .lp-hero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .lp-intel {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .lp-pipeline {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .lp-pipeline__flow {
    height: 80px;
    transform: rotate(90deg);
  }

  .lp-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .lp-section { padding: 56px 0; }
  .lp-section--hero { padding: 40px 0 32px; }

  .lp-steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .lp-stats-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .lp-pipeline__flow {
    display: none;
  }

  .lp-pipeline {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .lp-pipeline__sources {
    align-items: center;
  }

  .lp-stroke {
    transform: rotate(-2deg);
  }

  .lp-mockup--mobile-simple .lp-mock-card:nth-child(n+3) {
    display: none;
  }
}
