/* =======================================================
   Landings Page — landings.css
   Estilos específicos para la anatomía de la Landing
   (complements style.css + crm.css)
   ======================================================= */

/* ── Anatomy Layout ── */
.landing-anatomy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: flex-start;
  margin-top: 40px;
}

/* ── Wireframe (Left Side) ── */
.landing-wireframe {
  background: #fff;
  border: 1px solid #ede9ff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(123, 105, 255, 0.08);
  position: sticky;
  top: 100px; /* Sticky scroll */
}

.wireframe-browser {
  background: #f5f3ff;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid #ede9ff;
}

.wire-dots {
  display: flex;
  gap: 6px;
}

.wire-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
}

.wire-dots span:nth-child(1) { background: #ff5f56; }
.wire-dots span:nth-child(2) { background: #ffbd2e; }
.wire-dots span:nth-child(3) { background: #27c93f; }

.wire-url {
  flex: 1;
  background: #fff;
  border-radius: 6px;
  font-size: 0.75rem;
  color: #999;
  padding: 4px 12px;
  text-align: center;
  border: 1px solid #ede9ff;
}

.wireframe-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: 600px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #c4b5ff transparent;
}

.wire-section {
  position: relative;
  border: 2px dashed #ede9ff;
  border-radius: 8px;
  padding: 24px;
  background: #faf9ff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.wire-section:hover,
.wire-section.active {
  border-color: #7b69ff;
  background: #f0ecff;
}

.wire-badge {
  position: absolute;
  top: -10px;
  left: 16px;
  background: #7b69ff;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  text-transform: uppercase;
}

/* Wire elements */
.wire-h1 {
  font-family: var(--font-headings);
  font-size: 1.1rem;
  font-weight: 900;
  color: #0d0d12;
  line-height: 1.2;
  margin-bottom: 8px;
  margin-top: 4px;
}
.wire-sub {
  font-size: 0.75rem;
  color: #666;
  line-height: 1.4;
  margin-bottom: 12px;
}
.wire-btn {
  display: inline-block;
  background: linear-gradient(135deg, #7b69ff, #c43bff);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 6px;
  margin-top: 4px;
}

.wire-logos { display: flex; gap: 10px; margin-top: 12px; }
.wire-logo { height: 24px; flex: 1; background: #e0d9ff; border-radius: 4px; }

.wire-h2 {
  font-family: var(--font-headings);
  font-size: 0.9rem;
  font-weight: 800;
  color: #0d0d12;
  margin-bottom: 12px;
}
.wire-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.wire-box { height: 60px; background: #e0d9ff; border-radius: 6px; }

.wire-flex-side { display: flex; gap: 16px; }
.wire-img { width: 40%; height: 80px; background: #d1c8ff; border-radius: 6px; }
.wire-list { flex: 1; display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.wire-line { height: 8px; background: #aaa; border-radius: 4px; width: 100%; }
.wire-line:nth-child(2) { width: 80%; }
.wire-line:nth-child(3) { width: 90%; }

.wire-cta { text-align: center; display: flex; flex-direction: column; align-items: center; }
.wire-guarantee { font-size: 0.7rem; color: #666; margin-top: 12px; font-weight: 600; }

/* ── Anatomy Info Panel (Right Side) ── */
.landing-anatomy-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.anatomy-info-card {
  background: #fff;
  border: 1px solid #ede9ff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.anatomy-info-card.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.anatomy-num {
  width: 40px;
  height: 40px;
  background: rgba(123, 105, 255, 0.1);
  color: #7b69ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headings);
  font-weight: 900;
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.anatomy-info-card h3 {
  font-family: var(--font-headings);
  font-size: 1.4rem;
  color: #0d0d12;
  margin-bottom: 12px;
}

.anatomy-info-card p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.anatomy-info-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.anatomy-info-card ul li {
  position: relative;
  padding-left: 24px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #333;
}

.anatomy-info-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: #27c93f;
  font-weight: 800;
}

.anatomy-hint {
  font-size: 0.85rem;
  color: #999;
  text-align: center;
  margin-top: 10px;
  font-style: italic;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .landing-anatomy-grid {
    grid-template-columns: 1fr;
  }
  .landing-wireframe {
    position: relative;
    top: 0;
    margin-bottom: 30px;
  }
  .wireframe-body {
    max-height: 400px;
  }
}
