/* KaiLiving — landing /administracion/copropiedades */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 48px;
}

.pain-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.pain-icon {
  width: 44px;
  height: 44px;
  background: rgba(245, 158, 11, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--amber);
}

.pain-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.pain-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  margin-top: 48px;
}

.mod-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}

.mod-card:hover {
  border-color: rgba(37, 99, 235, 0.5);
  transform: translateY(-2px);
}

.mod-icon {
  width: 44px;
  height: 44px;
  background: var(--blue-glow);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--blue-lt);
}

.mod-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.mod-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

.mod-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.mod-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--dim);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 3px 8px;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 12px;
  margin-top: 48px;
}

.tool-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: border-color 0.2s;
}

.tool-card:hover {
  border-color: rgba(37, 99, 235, 0.4);
}

.tool-ico {
  width: 36px;
  height: 36px;
  background: var(--blue-glow);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-lt);
  flex-shrink: 0;
}

.tool-card h4 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.tool-card p {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
}

.wa-section {
  padding: 72px 24px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.wa-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.wa-copy .section-title {
  margin-bottom: 16px;
}

.wa-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px;
}

.wa-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--muted);
}

.wa-features li svg {
  color: var(--green);
  flex-shrink: 0;
  margin-top: 3px;
}

.wa-features li strong {
  color: var(--text);
}

.wa-chat {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  font-size: 0.85rem;
}

.wa-chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.wa-avatar {
  width: 36px;
  height: 36px;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.wa-chat-name {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}

.wa-status {
  font-size: 0.75rem;
  color: var(--green);
}

.wa-msg {
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
}

.wa-msg.bot {
  align-items: flex-start;
}

.wa-msg.user {
  align-items: flex-end;
}

.wa-bubble {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 12px;
  line-height: 1.5;
  color: var(--text);
}

.wa-msg.bot .wa-bubble {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px 12px 12px 12px;
}

.wa-msg.user .wa-bubble {
  background: rgba(37, 99, 235, 0.3);
  border-radius: 12px 2px 12px 12px;
}

.wa-time {
  font-size: 0.7rem;
  color: var(--dim);
  margin-top: 4px;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 40px;
  font-size: 0.9rem;
}

.compare-table th {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 14px 20px;
  text-align: left;
}

.compare-table th:first-child {
  color: var(--muted);
}

.compare-table th:nth-child(2) {
  color: var(--dim);
}

.compare-table th:nth-child(3) {
  color: var(--blue-lt);
}

.compare-table tr {
  border-bottom: 1px solid var(--border);
}

.compare-table tr:last-child {
  border-bottom: none;
}

.compare-table td {
  padding: 14px 20px;
  color: var(--muted);
}

.compare-table td:nth-child(3) {
  color: var(--text);
  font-weight: 500;
}

.compare-table .bad {
  color: var(--dim);
}

.compare-table .good {
  color: var(--green);
}

@media (max-width: 700px) {
  .wa-inner {
    grid-template-columns: 1fr;
  }

  .wa-chat {
    display: none;
  }

  .compare-table {
    font-size: 0.8rem;
  }

  .compare-table th,
  .compare-table td {
    padding: 10px 12px;
  }
}
