.hero-emotional-hook {
  margin: -0.5rem 0 1.25rem;
  color: #9fb3c8;
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.7;
}

.intent-grid {
  position: relative;
}

.intent-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.25rem;
}

.intent-card {
  display: flex;
  min-height: 150px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(55, 65, 81, 1);
  border-radius: 1rem;
  background: rgba(31, 41, 55, 1);
  padding: 1.5rem;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.intent-card:hover {
  border-color: rgba(34, 197, 94, 0.85);
  box-shadow: 0 0 26px rgba(34, 197, 94, 0.16);
  transform: translateY(-3px);
}

.entity-preview {
  position: relative;
}

.entity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.entity-card {
  display: flex;
  min-height: 180px;
  flex-direction: column;
  border: 1px solid rgba(55, 65, 81, 1);
  border-radius: 1rem;
  background: rgba(31, 41, 55, 1);
  padding: 1.5rem;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.entity-card:hover {
  border-color: rgba(96, 165, 250, 0.9);
  box-shadow: 0 0 26px rgba(96, 165, 250, 0.14);
  transform: translateY(-3px);
}

.entity-card p {
  display: -webkit-box;
  overflow: hidden;
  color: #9ca3af;
  font-size: 0.9rem;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.entity-type {
  align-self: flex-start;
  margin-bottom: 0.85rem;
  border: 1px solid rgba(96, 165, 250, 0.32);
  border-radius: 999px;
  background: rgba(30, 58, 138, 0.45);
  color: #bfdbfe;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  padding: 0.45rem 0.65rem;
  text-transform: uppercase;
}

@media (max-width: 640px) {
  .hero-emotional-hook {
    font-size: 0.9rem;
  }

  .intent-card,
  .entity-card {
    min-height: auto;
  }
}

.relationship-section {
  position: relative;
}

.relationship-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
}

.relationship-card {
  display: block;
  min-height: 145px;
  border: 1px solid rgba(75, 85, 99, 0.9);
  border-radius: 1rem;
  background:
    radial-gradient(circle at top left, rgba(96, 165, 250, 0.08), transparent 42%),
    rgba(31, 41, 55, 0.92);
  padding: 1.25rem;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.relationship-card:hover {
  border-color: rgba(96, 165, 250, 0.9);
  box-shadow: 0 0 24px rgba(96, 165, 250, 0.16);
  transform: translateY(-2px);
}

.relationship-card p {
  display: -webkit-box;
  overflow: hidden;
  color: #9ca3af;
  font-size: 0.875rem;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.relationship-label {
  display: inline-flex;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(96, 165, 250, 0.35);
  border-radius: 999px;
  background: rgba(30, 58, 138, 0.42);
  color: #bfdbfe;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  padding: 0.42rem 0.62rem;
  text-transform: uppercase;
}

.timeline-section {
  position: relative;
}

.timeline-list {
  position: relative;
  display: grid;
  gap: 1rem;
}

.timeline-list::before {
  position: absolute;
  top: 0.65rem;
  bottom: 0.65rem;
  left: 0.55rem;
  width: 1px;
  background: linear-gradient(to bottom, rgba(34, 197, 94, 0.75), rgba(59, 130, 246, 0.25));
  content: "";
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 1.25rem minmax(0, 1fr);
  gap: 1rem;
}

.timeline-marker {
  position: relative;
  z-index: 1;
  width: 0.7rem;
  height: 0.7rem;
  margin-top: 1.35rem;
  border: 2px solid rgba(187, 247, 208, 0.95);
  border-radius: 999px;
  background: #111827;
  box-shadow: 0 0 18px rgba(34, 197, 94, 0.35);
}

.timeline-content {
  border: 1px solid rgba(75, 85, 99, 0.9);
  border-radius: 1rem;
  background: rgba(31, 41, 55, 0.92);
  padding: 1.25rem;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.timeline-content:hover {
  border-color: rgba(34, 197, 94, 0.85);
  box-shadow: 0 0 24px rgba(34, 197, 94, 0.14);
  transform: translateY(-2px);
}

.timeline-content p {
  color: #9ca3af;
  font-size: 0.925rem;
  line-height: 1.65;
}

.theory-section {
  position: relative;
}

.theory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.theory-card {
  display: block;
  min-height: 170px;
  border: 1px solid rgba(75, 85, 99, 0.9);
  border-radius: 1rem;
  background:
    radial-gradient(circle at top right, rgba(168, 85, 247, 0.09), transparent 45%),
    rgba(31, 41, 55, 0.92);
  padding: 1.5rem;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.theory-card:hover {
  border-color: rgba(168, 85, 247, 0.9);
  box-shadow: 0 0 24px rgba(168, 85, 247, 0.15);
  transform: translateY(-2px);
}

.theory-card p {
  display: -webkit-box;
  overflow: hidden;
  color: #9ca3af;
  font-size: 0.9rem;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.theory-label {
  display: inline-flex;
  margin-bottom: 0.85rem;
  border: 1px solid rgba(168, 85, 247, 0.34);
  border-radius: 999px;
  background: rgba(88, 28, 135, 0.4);
  color: #e9d5ff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  padding: 0.42rem 0.62rem;
  text-transform: uppercase;
}

.concept-connected {
  margin-top: 0.85rem;
  color: #9ca3af;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.45;
}

@media (max-width: 640px) {
  .relationship-grid,
  .theory-grid {
    grid-template-columns: 1fr;
  }

  .relationship-card,
  .theory-card {
    min-height: auto;
  }

  .timeline-item {
    gap: 0.85rem;
  }
}
