/* HablaMe — Products page (landing/content/products/index) */

:root {
  --text-secondary: #6c757d;
  --text-dark: #212529;
  --step-5: clamp(2.5rem, 5vw, 3.5rem);
  --tenavor-red: #FE1825;
}

.products-page {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  padding: 4rem 0;
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
}

/* ─── Hero ──────────────────────────────────────────────────────────────────── */

.hero-title,
.t-heading--xxl,
h1 {
  font-size: var(--step-5);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* ─── Navigation tabs ───────────────────────────────────────────────────────── */

.products-navigation {
  margin-bottom: 2rem;
}

.product-tabs {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  border-bottom: 2px solid #e9ecef;
  padding-bottom: 1rem;
}

.product-tab {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  color: #6c757d;
  border-radius: 0.5rem 0.5rem 0 0;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.product-tab:hover {
  color: #FE1825;
  background-color: #f8f9fa;
}

.product-tab.active {
  color: #FE1825;
  background-color: rgba(254, 24, 37, 0.1);
  border-color: #FE1825;
  font-weight: 600;
}

.product-feature-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.product-feature-list li {
  padding: 0.4rem 0;
  color: #374151;
}

/* ─── Paddle Hero ───────────────────────────────────────────────────────────── */

.paddle-hero {
  padding: 2rem 0;
}

.paddle-hero__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  align-items: center;
}

.paddle-hero__copy h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.paddle-hero__copy .lead {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.paddle-hero__copy .eyebrow {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.paddle-hero__stats {
  display: flex;
  gap: 2rem;
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.paddle-hero__stats strong {
  font-size: 1.4rem;
  color: var(--text-dark);
  display: block;
}

.paddle-hero__diagram {
  display: flex;
  justify-content: right;
}

/* ─── Diagram card ──────────────────────────────────────────────────────────── */

.diagram-card {
  width: min(360px, 100%);
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 2rem;
}

.diagram-card-fondo {
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  width: 100%;
  max-width: 500px;
}

.diagram-card__header {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(254, 24, 37, 0.3);
}

.dot--active {
  background: #FE1825;
}

.diagram-card__body h3 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.diagram-card__body p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.diagram-card__metrics {
  display: flex;
  gap: 1.5rem;
}

.diagram-card__metrics strong {
  display: block;
  font-size: 1.5rem;
}

/* ─── Multi-assistant section ───────────────────────────────────────────────── */

.multi-assistant-features {
  padding: 3rem 0 4rem;
  background: #f8fafc;
}

.multi-assistant-card {
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 16px;
  padding: 1.75rem;
  height: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.multi-assistant-card:hover {
  border-color: var(--tenavor-red, #FE1825);
  box-shadow: 0 4px 20px rgba(254, 24, 37, 0.1);
}

.multi-assistant-card--highlight {
  border-style: dashed;
  border-color: var(--tenavor-red, #FE1825);
  background: rgba(254, 24, 37, 0.02);
}

.multi-assistant-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(254, 24, 37, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.multi-assistant-card__icon i {
  font-size: 1.2rem;
  color: var(--tenavor-red, #FE1825);
}

.multi-assistant-card h3 {
  font-size: var(--step-0, 1rem);
  font-weight: 700;
  color: var(--text-dark, #333333);
  margin-bottom: 0.5rem;
}

.multi-assistant-card p {
  font-size: var(--step--1, 0.875rem);
  color: var(--text-secondary, #666666);
  margin: 0;
  line-height: 1.5;
}

/* Diagram chips inside hero card */
.multi-assistant-diagram {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

.assistant-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
}

.assistant-chip i {
  font-size: 0.85rem;
}

.assistant-chip--formal {
  background: rgba(44, 99, 114, 0.1);
  color: #2C6372;
}

.assistant-chip--friendly {
  background: rgba(254, 24, 37, 0.1);
  color: #FE1825;
}

.assistant-chip--casual {
  background: rgba(108, 117, 125, 0.1);
  color: #6c757d;
}

/* ─── Responsive ────────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
  .product-tabs {
    justify-content: center;
  }

  .product-tab {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }

  .paddle-hero__stats {
    flex-direction: column;
  }

  .diagram-card {
    width: 100%;
  }

  .products-page {
    padding: 2rem 0;
  }
}
