/* ==========================================================================
   CONTRATOEC — CARACTERÍSTICAS (ESTILO APPLE MINIMAL)
   Paleta oficial: Base #0f172a, Tarjetas #1e293b, Acento #f97316
   Sin emojis, tipografía precisa, Bento Grid limpio y equilibrado
   ========================================================================== */

/* ─── BASE Y SCROLL FLUIDO ─── */
html, body.features-page {
  min-height: 100vh;
  background-color: #0f172a;
  color: #f8fafc;
  font-family: var(--font);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.features-page {
  display: flex;
  flex-direction: column;
}

/* ─── CONTENEDOR PRINCIPAL ─── */
.feat-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  box-sizing: border-box;
}

/* ─── HERO APPLE MINIMAL ─── */
.feat-hero {
  padding: 52px 0 36px;
  text-align: center;
  position: relative;
}

.feat-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(249, 115, 22, 0.08);
  border: 1px solid rgba(249, 115, 22, 0.25);
  color: #f97316;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}

.feat-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #f97316;
  box-shadow: 0 0 8px rgba(249, 115, 22, 0.6);
}

.feat-hero-title {
  font-family: var(--font-display);
  font-size: var(--text-editorial-title);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.028em;
  color: #f8fafc;
  max-width: 820px;
  margin: 0 auto 16px;
}

.feat-hero-title .feat-highlight {
  background: linear-gradient(135deg, #f8fafc 40%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.feat-hero-sub {
  font-size: var(--text-editorial-sub);
  color: #94a3b8;
  max-width: 68ch;
  margin: 0 auto 28px;
  line-height: 1.58;
  font-weight: 400;
}

.feat-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.feat-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.feat-btn-primary {
  background: #f97316;
  color: #ffffff;
  border: 1px solid #f97316;
  box-shadow: 0 2px 12px rgba(249, 115, 22, 0.3);
}

.feat-btn-primary:hover {
  background: #ea580c;
  border-color: #ea580c;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.4);
}

.feat-btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.feat-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

/* ─── BENTO GRID DE CARACTERÍSTICAS ─── */
.feat-grid-section {
  padding: 16px 0 64px;
}

.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feat-card {
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.feat-card:hover {
  border-color: rgba(249, 115, 22, 0.35);
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(249, 115, 22, 0.15);
  transform: translateY(-2px);
}

.feat-card-featured {
  grid-column: span 2;
}

.feat-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.feat-card-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.2);
  color: #f97316;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feat-card-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 3px 9px;
  border-radius: 9999px;
}

.feat-card-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: #f8fafc;
  line-height: 1.3;
  letter-spacing: -0.015em;
  margin: 0 0 10px;
}

.feat-card-desc {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.55;
  margin: 0 0 20px;
  flex: 1;
}

.feat-card-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 16px;
}

.feat-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.82rem;
  color: #cbd5e1;
  line-height: 1.4;
}

.feat-bullet-icon {
  width: 14px;
  height: 14px;
  color: #f97316;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ─── BANNER CTA MINIMALISTA ESTILO APPLE ─── */
.feat-cta-section {
  padding: 0 0 72px;
}

.feat-cta-card {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 1px solid rgba(249, 115, 22, 0.25);
  border-radius: 20px;
  padding: 44px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px -8px rgba(0, 0, 0, 0.4);
}

.feat-cta-title {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #f8fafc;
  margin: 0 0 10px;
}

.feat-cta-sub {
  font-size: 0.95rem;
  color: #94a3b8;
  max-width: 540px;
  margin: 0 auto 24px;
  line-height: 1.5;
}

.feat-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 980px) {
  .feat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feat-card-featured {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .feat-hero {
    padding: 48px 0 36px;
  }
  .feat-grid {
    grid-template-columns: 1fr;
  }
  .feat-card-featured {
    grid-column: span 1;
  }
  .feat-cta-card {
    padding: 32px 20px;
  }
  .feat-cta-title {
    font-size: 1.35rem;
  }
}
