/* ============================
   Landing Page Shared Styles
   ============================ */

/* Above-fold wrapper */
.lp-above-fold {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 28px;
}

/* Hero */
.lp-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 0;
}
.lp-hero-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  color: #f5f5f5;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 20px;
  text-align: left;
  width: 100%;
  max-width: 780px;
}
.lp-hero-card {
  width: 100%;
  max-width: 780px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  padding: 28px 32px 24px;
  position: relative;
}
.lp-hero-sublabel {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
.lp-hero-ph-wrap {
  position: relative;
  min-height: 28px;
  margin-bottom: 40px;
}
.lp-hero-ph {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 28px;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.lp-hero-ph span {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  font-size: 15px;
  color: rgba(255,255,255,0.35);
  line-height: 28px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.lp-hero-ph span.active { opacity: 1; transform: translateY(0); }
.lp-hero-ph span.exit-up { opacity: 0; transform: translateY(-18px); }
.lp-hero-ph.hidden { opacity: 0; transition: opacity 0.15s ease; }
.lp-hero-input {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  color: rgba(255,255,255,0.5);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 400;
  line-height: 28px;
  resize: none;
  min-height: 28px;
  padding: 0;
  position: relative;
  z-index: 2;
}
.lp-hero-btn {
  position: absolute;
  right: 24px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 22px;
  border-radius: 999px;
  background: #f5f5f5;
  color: #0c130f;
  border: 1px solid rgba(255,255,255,0.15);
  cursor: pointer;
  transition: opacity 0.2s;
  text-decoration: none;
  font-family: var(--font);
}
.lp-hero-btn:hover { opacity: 0.85; }

/* Credibility Bar */
.lp-credbar {
  padding: 12px 0 0;
  max-width: 780px;
  margin: 0 auto;
  overflow: hidden;
  flex-shrink: 0;
}
.lp-credbar-row {
  display: flex;
  align-items: center;
  padding: 0;
  margin-bottom: 14px;
}
.lp-credbar-label {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  white-space: nowrap;
  flex-shrink: 0;
  margin-right: 20px;
  letter-spacing: 0.01em;
}
.lp-marquee-wrap {
  position: relative;
  overflow: hidden;
  flex: 1;
  min-width: 0;
  mask-image: linear-gradient(to right, transparent 0%, #000 3%, #000 97%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 3%, #000 97%, transparent 100%);
}
.lp-marquee-track {
  display: flex;
  align-items: center;
  gap: 24px;
  width: max-content;
  animation: lp-scroll 40s linear infinite;
}
.lp-marquee-track:hover {
  animation-play-state: paused;
}
@keyframes lp-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.lp-marquee-item {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  flex-shrink: 0;
}
.lp-marquee-item img {
  height: 16px;
  width: 16px;
  object-fit: contain;
  flex-shrink: 0;
  opacity: 0.6;
  filter: brightness(0) invert(1);
}
.lp-marquee-item.others {
  color: rgba(255,255,255,0.25);
  font-weight: 400;
}
.lp-credbar-stats {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  padding: 0;
}
.lp-credbar-stat {
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.lp-credbar-stat svg {
  flex-shrink: 0;
  opacity: 0.35;
}

/* Shared Section */
.lp-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 80px 24px;
}
.lp-section-eyebrow {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.lp-section-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.lp-section-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  max-width: 640px;
  margin-bottom: 48px;
}

/* Pain Grid */
.lp-pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.lp-pain-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 28px 24px;
}
.lp-pain-title {
  font-size: 16px;
  font-weight: 600;
  color: #f5f5f5;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.lp-pain-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  line-height: 1.65;
}

/* Solution / Benefit Grid */
.lp-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.lp-benefit {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 28px 24px;
}
.lp-benefit-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(74,222,128,0.08);
  border: 1px solid rgba(74,222,128,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: #4ade80;
}
.lp-benefit-title {
  font-size: 16px;
  font-weight: 600;
  color: #f5f5f5;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.lp-benefit-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  line-height: 1.65;
}

/* Steps */
.lp-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  counter-reset: step;
}
.lp-step {
  position: relative;
  padding: 28px 24px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  counter-increment: step;
}
.lp-step-num {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.lp-step-title {
  font-size: 16px;
  font-weight: 600;
  color: #f5f5f5;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.lp-step-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  line-height: 1.65;
}

/* Use Cases */
.lp-usecases-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.lp-usecase {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 15px;
  color: rgba(255,255,255,0.6);
}
.lp-usecase:first-child {
  border-top: 1px solid rgba(255,255,255,0.05);
}
.lp-usecase-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(74,222,128,0.5);
  flex-shrink: 0;
}

/* Use Cases by Team (LP2) */
.lp-team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.lp-team-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 28px 24px;
}
.lp-team-name {
  font-size: 15px;
  font-weight: 600;
  color: #f5f5f5;
  margin-bottom: 10px;
}
.lp-team-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  line-height: 1.65;
}

/* FAQ */
.lp-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.lp-faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.lp-faq-item:first-child {
  border-top: 1px solid rgba(255,255,255,0.06);
}
.lp-faq-q {
  width: 100%;
  text-align: left;
  padding: 20px 0;
  font-size: 15px;
  font-weight: 500;
  color: #f5f5f5;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  font-family: inherit;
}
.lp-faq-q::after {
  content: "+";
  font-size: 20px;
  color: rgba(255,255,255,0.25);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.lp-faq-item.open .lp-faq-q::after {
  content: "−";
}
.lp-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.lp-faq-item.open .lp-faq-a {
  max-height: 300px;
}
.lp-faq-a p {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
  padding-bottom: 20px;
}

/* CTA */
.lp-cta {
  text-align: center;
  padding: 80px 24px 100px;
  max-width: 640px;
  margin: 0 auto;
}
.lp-cta-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 12px;
}
.lp-cta-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
  margin-bottom: 32px;
}
.lp-cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.lp-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: 999px;
  background: #f5f5f5;
  color: #0c130f;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
  text-decoration: none;
}
.lp-btn-primary:hover { opacity: 0.85; }
.lp-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: 999px;
  background: transparent;
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.12);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  text-decoration: none;
}
.lp-btn-secondary:hover {
  border-color: rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.8);
}

/* Embedded Demos */
.lp-demo-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.lp-demo-single {
  margin-top: 40px;
}
.lp-demo-row > div,
.lp-demo-single > div {
  background: #111;
  border-radius: 14px;
  overflow: hidden;
}
.lp-demo-row .pd-card-demo {
  background: none;
  padding: 0;
}
.lp-demo-row .pd-card-demo > div {
  height: 100%;
}
@media (max-width: 768px) {
  .lp-demo-row {
    grid-template-columns: 1fr;
  }
}

/* Divider */
.lp-divider {
  max-width: 1000px;
  margin: 0 auto;
  height: 1px;
  background: rgba(255,255,255,0.05);
}

/* Responsive */
@media (max-width: 768px) {
  .lp-above-fold {
    padding: 0 16px 20px;
  }
  .lp-hero {
    padding: 70px 0 0;
  }
  .lp-hero-card {
    padding: 22px 20px 20px;
  }
  .lp-hero-input {
    font-size: 18px;
    margin-bottom: 52px;
  }
  .lp-hero-btn {
    right: 16px;
    bottom: 16px;
    font-size: 13px;
    padding: 9px 18px;
  }
  .lp-credbar {
    padding: 16px 16px 0;
  }
  .lp-credbar-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .lp-credbar-label {
    margin-right: 0;
  }
  .lp-pain-grid,
  .lp-benefit-grid,
  .lp-steps-grid {
    grid-template-columns: 1fr;
  }
  .lp-team-grid {
    grid-template-columns: 1fr;
  }
  .lp-section {
    padding: 60px 16px;
  }
}
@media (max-width: 480px) {
  .lp-above-fold {
    padding: 0 14px 16px;
  }
  .lp-hero {
    padding: 60px 0 0;
  }
  .lp-hero-card {
    border-radius: 16px;
    padding: 18px 16px 18px;
  }
  .lp-hero-input {
    font-size: 16px;
    min-height: 48px;
    margin-bottom: 48px;
  }
  .lp-cta {
    padding: 60px 16px 80px;
  }
}
