/* ============================================
   Landing Page Styles — 8-Section Architecture
   Extends styles.css design system
   ============================================ */

/* ============================================
   1. HERO
   Job: Get email or get scroll
   ============================================ */
.lp-hero { text-align: center; }
.lp-hero-center {
  max-width: 720px;
  margin: 0 auto;
}
.lp-hero-center h1 {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}
.lp-hero-center .hero-sub {
  margin-left: auto;
  margin-right: auto;
}
.lp-hero-center .hero-ctas {
  justify-content: center;
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}
.lp-hero-center .proof-line {
  text-align: center;
}

/* Trust signal logos below hero */
.lp-trust-logos {
  padding: 24px 0 40px;
}
.lp-trust-logos .marquee-wrapper { overflow: hidden; }
.lp-trust-logos .marquee-track { display: flex; width: max-content; }
.lp-trust-logos .marquee-content {
  display: flex;
  gap: 48px;
  padding: 0 24px;
  align-items: center;
}
.lp-trust-logos .logo-wall-item { flex-shrink: 0; }
.lp-trust-logos .logo-wall-item img {
  height: 28px;
  opacity: 0.4;
  filter: grayscale(1) brightness(2);
  transition: opacity 0.3s;
}
.lp-trust-logos .logo-wall-item img:hover { opacity: 0.7; }

/* ============================================
   2. SUCCESS (conditional)
   Job: Kill buyer's remorse
   ============================================ */
.lp-success {
  display: none;
  padding: 60px 0;
  text-align: center;
}
.lp-success.active {
  display: block;
  animation: fadeSlideIn 0.6s ease;
}
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.lp-success-card {
  max-width: 560px;
  margin: 0 auto;
  padding: 48px 40px;
  text-align: center;
}
.lp-success-check {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--teal));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.lp-success-check svg {
  width: 32px;
  height: 32px;
  stroke: white;
  stroke-width: 3;
  fill: none;
}
.lp-success h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}
.lp-success-sub {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.lp-deliverables {
  text-align: left;
  list-style: none;
}
.lp-deliverables li {
  font-size: 15px;
  padding: 10px 0;
  border-bottom: 1px solid var(--glass-border);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 12px;
}
.lp-deliverables li:last-child { border-bottom: none; }
.lp-deliverables .check-icon {
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}

/* ============================================
   3. PROBLEM-AGITATE
   Job: Make status quo painful
   ============================================ */
.lp-problems { padding: 80px 0; }
.lp-problems-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}
.lp-problem-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.lp-problem-card {
  padding: 32px 28px;
  transition: transform 0.3s, border-color 0.3s;
}
.lp-problem-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.15);
}
.lp-problem-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  opacity: 0.6;
  margin-bottom: 12px;
}
.lp-problem-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}
.lp-problem-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 12px;
}
.lp-agitate {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  color: var(--amber);
}
.lp-transition {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  padding: 32px;
}
.lp-transition p {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
}
.lp-transition strong {
  color: var(--text);
}

@media (max-width: 768px) {
  .lp-problem-cards { grid-template-columns: 1fr; }
}

/* ============================================
   4. VALUE STACK
   Job: Make saying no feel stupid
   ============================================ */
.lp-value-stack { padding: 80px 0; }
.lp-value-stack-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}
.lp-tiers {
  max-width: 700px;
  margin: 0 auto 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.lp-tier {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  transition: transform 0.3s, border-color 0.3s;
}
.lp-tier:hover {
  transform: translateX(4px);
  border-color: rgba(255,255,255,0.15);
}
.lp-tier-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.lp-tier-content { flex: 1; }
.lp-tier-content h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
}
.lp-tier-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}
.lp-tier-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}

.lp-value-total {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  padding: 32px;
}
.lp-value-total h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}
.lp-value-total p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .lp-tier { flex-wrap: wrap; }
  .lp-tier-tag { width: 100%; text-align: center; }
}

/* ============================================
   5. SOCIAL PROOF
   Job: Let others convince them
   ============================================ */
.lp-proof { padding: 80px 0; }
.lp-proof-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}
.lp-stats-row {
  display: flex;
  justify-content: center;
  gap: 64px;
  margin-bottom: 48px;
  text-align: center;
}
.lp-stat-big {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  color: var(--text);
}
.lp-stat-desc {
  font-size: 14px;
  color: var(--text-muted);
}
.lp-testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.lp-testimonial {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}
.lp-testimonial-result {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--glass-border);
}
.lp-quote {
  font-size: 15px;
  line-height: 1.6;
  font-style: italic;
  color: var(--text);
  margin-bottom: 20px;
  flex: 1;
}
.lp-quote-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lp-quote-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.lp-quote-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lp-quote-avatar-placeholder {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  color: white;
  flex-shrink: 0;
}
.lp-quote-name {
  font-size: 14px;
  font-weight: 600;
  text-align: left;
}
.lp-quote-title {
  font-size: 12px;
  color: var(--text-muted);
  text-align: left;
}

@media (max-width: 768px) {
  .lp-stats-row { gap: 32px; flex-wrap: wrap; }
  .lp-testimonials { grid-template-columns: 1fr; }
}

/* ============================================
   6. TRANSFORMATION
   Job: Make outcome tangible
   ============================================ */
.lp-transform { padding: 80px 0; }
.lp-transform-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}
.lp-stages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}
/* Connector line behind stages */
.lp-stages::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 60px;
  right: 60px;
  height: 2px;
  background: linear-gradient(90deg,
    var(--green),
    var(--teal),
    var(--blue),
    var(--cyan)
  );
  opacity: 0.3;
}
.lp-stage {
  text-align: center;
  padding: 0 16px;
  position: relative;
}
.lp-stage-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  margin: 28px auto 20px;
  position: relative;
  z-index: 1;
}
.lp-stage-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.lp-stage h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}
.lp-stage p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .lp-stages {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .lp-stages::before {
    top: 0;
    bottom: 0;
    left: 20px;
    right: auto;
    width: 2px;
    height: auto;
  }
  .lp-stage {
    text-align: left;
    padding-left: 52px;
  }
  .lp-stage-dot {
    position: absolute;
    left: 8px;
    top: 0;
    margin: 0;
  }
}

/* ============================================
   7. SECONDARY CTA
   Job: Catch the scrollers
   ============================================ */
.lp-secondary-cta {
  padding: 80px 0;
}
.lp-secondary-cta-card {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 56px 48px;
}
.lp-avatar-stack {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}
.lp-avatar-stack .avatar-item {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid var(--bg);
  overflow: hidden;
  margin-left: -10px;
}
.lp-avatar-stack .avatar-item:first-child { margin-left: 0; }
.lp-avatar-stack .avatar-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lp-avatar-stack .avatar-count {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid var(--bg);
  margin-left: -10px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  color: white;
}
.lp-secondary-cta-card h2 {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.2;
}
.lp-secondary-cta-card p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.lp-yes-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 48px;
  font-size: 17px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--green), var(--teal));
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(84,228,43,0.25);
}
.lp-yes-btn:hover {
  box-shadow: 0 6px 30px rgba(84,228,43,0.4);
  transform: translateY(-2px);
}
.lp-secondary-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 16px;
}

@media (max-width: 768px) {
  .lp-secondary-cta-card { padding: 40px 24px; }
}

/* ============================================
   8. FOOTER
   Job: Professional legitimacy
   ============================================ */
.lp-footer {
  padding: 48px 0 24px;
  border-top: 1px solid var(--glass-border);
}
.lp-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.lp-footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.lp-footer-logo-text {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}
.lp-footer-links {
  display: flex;
  gap: 24px;
}
.lp-footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.lp-footer-links a:hover { color: var(--text); }
.lp-footer-legal {
  width: 100%;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--glass-border);
}

/* ============================================
   Nav overrides for landing pages
   ============================================ */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo-text {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}
