/* Foundslot Features page (v3.1), /features/ and /es/funcionalidades/.
   Loads after home.css, which provides the base, header, footer and tokens. */

/* Current page in the header */
.fs-nav a[aria-current="page"] { color: #0F0E17 !important; font-weight: 600; }
.fs-mnav a[aria-current="page"] { color: #6155F5 !important; }
.fs-foot a[aria-current="page"] { color: #0F0E17 !important; }

/* Hero */
.fx-hero { padding-top: 64px; text-align: center; }
.fx-hero h1 { margin: 24px auto 0; max-width: 900px; font-size: clamp(44px, 6.4vw, 84px); line-height: 0.98; letter-spacing: -0.05em; font-weight: 700; }
.fx-hero p { margin: 24px auto 0; max-width: 600px; font-size: 19px; line-height: 1.5; color: #3B3A4A; }

/* Topic filter (sticky: works because .fs uses overflow-x: clip, not hidden) */
.fx-filter { position: sticky; top: 0; z-index: 5; margin-top: 40px; padding: 14px 24px; background: rgba(255,255,255,0.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid #ECEBF2; }
.fx-chips { max-width: 1180px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.fx-chips::-webkit-scrollbar { display: none; }
.fx-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 600; border: 1.5px solid #E1DEF0; background: #FFFFFF; color: #0F0E17; }
.fx-chip:hover { border-color: #CFC9F7; }
.fx-chip span { font-size: 12px; font-weight: 700; color: #8F8DA3; }
.fx-chip[aria-pressed="true"] { border-color: #0F0E17; background: #0F0E17; color: #FFFFFF; }
.fx-chip[aria-pressed="true"] span { color: #B9B1FF; }

/* Feature groups */
.fx-groups { padding-top: 48px; scroll-margin-top: 80px; }
.fx-grp { padding: 40px 0; border-bottom: 1px solid #ECEBF2; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px 40px; align-items: start; }
.fx-grp.fs-in { animation-duration: 0.35s; }
.fx-grp-head { max-width: 320px; }
.fx-dot { display: block; width: 44px; height: 44px; border-radius: 14px; }
.fx-grp-head h2 { margin: 14px 0 0; font-size: 30px; line-height: 1.1; letter-spacing: -0.03em; font-weight: 700; }
.fx-grp-head p { margin: 8px 0 0; font-size: 16px; line-height: 1.5; color: #5E5C6E; }
.fx-items { grid-column: span 2; min-width: 0; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.fx-card { height: 100%; padding: 18px 20px; border-radius: 20px; background: #F6F5FB; }
.fx-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.fx-card h3 { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.3; }
.fx-card .fs-pro { flex: none; margin: 0; padding: 3px 9px; font-size: 11px; vertical-align: 0; }
.fx-card p { margin: 6px 0 0; font-size: 14px; line-height: 1.5; color: #4A4858; }
.fx-note { margin: 24px 0 0 !important; text-align: center; font-size: 14px; color: #5E5C6E; }

/* Closing panel */
.fx-cta { padding-top: 96px; padding-bottom: 96px; }
.fx-cta-box { border-radius: 36px; padding: clamp(36px, 6vw, 72px) 24px; background: #0F0E17; color: #FFFFFF; text-align: center; }
.fx-cta-box h2 { font-size: clamp(34px, 4.4vw, 54px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 700; }
.fx-cta-box h2 .fs-serif { color: #B9B1FF; }
.fx-cta-box p { margin: 14px auto 0; max-width: 520px; font-size: 18px; line-height: 1.5; color: #C9C7D8; }
.fx-cta-btns { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.fx-btn { display: inline-flex; align-items: center; min-height: 56px; padding: 0 30px; border-radius: 999px; text-decoration: none; font-size: 17px; font-weight: 600; color: #FFFFFF !important; }
.fx-btn--primary { background: #6155F5; }
.fx-btn--primary:hover { background: #4A3FD6; }
.fx-btn--ghost { border: 1.5px solid #3A3950; }
.fx-btn--ghost:hover { border-color: #8F8DA3; }

@media (max-width: 760px) {
  .fx-hero { padding-top: 40px; }
  .fx-filter { padding: 10px 0; }
  .fx-chips { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; padding: 0 16px; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .fx-chip { flex: none; white-space: nowrap; }
  .fx-grp { grid-template-columns: minmax(0, 1fr); padding: 32px 0; gap: 20px; }
  .fx-items { grid-column: auto; grid-template-columns: minmax(0, 1fr); }
}
