/* LynkSPhere — features page */
.fx-hero { padding-top: calc(var(--nav-h) + clamp(36px, 6vw, 80px)); padding-bottom: clamp(32px, 5vw, 56px); text-align: center; position: relative; }
.fx-hero h1 { font-size: clamp(2.4rem, 6.4vw, 4.6rem); line-height: 1.03; letter-spacing: -0.035em; font-weight: 600; }
.fx-hero .hero-lead { margin: 22px auto 0; max-width: 680px; color: var(--text-2); font-size: clamp(1.02rem, 1.5vw, 1.15rem); }
.fx-hero .stats-band { margin: 36px auto 0; max-width: 980px; }
#fx-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
#fx-cta svg, .fx-dl-btns svg { width: 18px; height: 18px; }
.fx-note { color: var(--muted); font-size: 0.82rem; margin-top: 12px; min-height: 1em; }

/* sticky toolbar */
.fx-toolbar {
  position: sticky; top: calc(var(--nav-h) + 6px); z-index: 30; margin: 8px 0 34px;
  padding: 10px; border-radius: 18px; border: 1px solid var(--line);
  background: rgba(8, 12, 23, 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  display: grid; gap: 10px;
}
#fx-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
#fx-chips::-webkit-scrollbar { display: none; }
.fx-chip {
  flex: none; border: 1px solid var(--line); background: var(--surface); color: var(--text-2);
  border-radius: 999px; padding: 8px 14px; font: 500 0.88rem var(--font-body); cursor: pointer; white-space: nowrap;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.fx-chip:hover { color: var(--text); border-color: var(--line-strong); }
.fx-chip.is-active { background: var(--grad); color: #04101f; border-color: transparent; font-weight: 600; }
.fx-chip.gold { border-color: rgba(251, 191, 36, 0.35); }
.fx-chip.gold.is-active { background: linear-gradient(115deg, #fbbf24, #f59e0b); color: #1a1205; }
.fx-search-row { display: flex; align-items: center; gap: 12px; }
#fx-search {
  flex: 1; min-width: 0; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: rgba(5, 7, 13, 0.6);
  color: var(--text); padding: 0 14px; font: 0.95rem var(--font-body); outline: none;
}
#fx-search:focus { border-color: rgba(var(--blue-rgb), 0.6); box-shadow: 0 0 0 3px rgba(var(--blue-rgb), 0.18); }
#fx-hits { color: var(--cyan); font-family: var(--font-mono); font-size: 0.8rem; white-space: nowrap; }

/* chapters */
.fx-chapter { margin-bottom: clamp(48px, 7vw, 84px); scroll-margin-top: 170px; }
.fx-ch-head { display: flex; gap: 18px; align-items: flex-end; margin-bottom: 22px; }
.fx-no { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 0.9;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: 0.55; }
.fx-chapter.is-soon .fx-no { background: linear-gradient(115deg, #fbbf24, #f59e0b); -webkit-background-clip: text; background-clip: text; }
.fx-ch-head h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); letter-spacing: -0.02em; }
.fx-ch-head p { color: var(--text-2); margin-top: 4px; }

.fx-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.fx-app:not([open]) { display: flex; flex-direction: column; }
.fx-app:not([open]) > summary { flex: 1; grid-template-rows: auto 1fr; }
.fx-app:not([open]) .fx-more { align-self: end; }
@media (max-width: 1060px) { .fx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .fx-grid { grid-template-columns: minmax(0, 1fr); } }

.fx-app {
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(180deg, rgba(148, 163, 184, 0.06), rgba(148, 163, 184, 0.02));
  transition: border-color 0.3s, transform 0.4s var(--ease), box-shadow 0.4s;
}
.fx-app:hover { border-color: rgba(var(--blue-rgb), 0.45); transform: translateY(-3px); box-shadow: 0 18px 50px -24px rgba(var(--blue-rgb), 0.55); }
.fx-app[open] { grid-column: 1 / -1; transform: none; border-color: rgba(var(--blue-rgb), 0.45); }
.fx-app.is-soon:hover, .fx-app.is-soon[open] { border-color: rgba(251, 191, 36, 0.5); box-shadow: 0 18px 50px -24px rgba(251, 191, 36, 0.4); }
.fx-app summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px;
  padding: 20px; align-items: start; position: relative;
}
.fx-app summary::-webkit-details-marker { display: none; }
.fx-app summary img { width: 64px; height: 64px; border-radius: 16px; box-shadow: 0 0 22px rgba(var(--blue-rgb), 0.35);
  transition: transform 0.5s var(--ease); }
.fx-app.is-soon summary img { box-shadow: 0 0 22px rgba(251, 191, 36, 0.28); }
.fx-app:hover summary img { transform: translateY(-2px) rotate(-3deg) scale(1.04); }
.fx-app h3 { font-size: 1.12rem; margin-bottom: 4px; }
.fx-app-t p { color: var(--text-2); font-size: 0.92rem; line-height: 1.45; }
.fx-meta { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.fx-pill { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.04em; border-radius: 999px; padding: 3px 9px;
  border: 1px solid rgba(52, 211, 153, 0.4); color: #8ef0c8; background: rgba(52, 211, 153, 0.08); }
.fx-pill.soon { border-color: rgba(251, 191, 36, 0.5); color: #fcd34d; background: rgba(251, 191, 36, 0.1); }
.fx-pill.ghost { border-color: var(--line); color: var(--muted); background: none; }
.fx-more { grid-column: 2; display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; color: var(--cyan); font-size: 0.86rem; font-weight: 600; }
.fx-more svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
[dir="rtl"] .fx-more svg { transform: scaleX(-1); }
.fx-app[open] .fx-more svg { transform: rotate(90deg); }
.fx-more .c, .fx-app[open] .fx-more .o { display: none; }
.fx-app[open] .fx-more .c { display: inline; }
.fx-body { display: none; padding: 4px 20px 22px; columns: 3 260px; column-gap: 28px; }
.fx-app[open] .fx-body, .fx-body.open { display: block; animation: fx-open 0.45s var(--ease); }
@keyframes fx-open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.fx-grp { break-inside: avoid; margin-bottom: 18px; padding-top: 12px; border-top: 1px solid var(--line); }
.fx-grp h4 { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cyan); margin-bottom: 8px; }
.fx-app.is-soon .fx-grp h4 { color: #fcd34d; }
.fx-grp ul { list-style: none; margin: 0; padding: 0; }
.fx-grp li { position: relative; padding-inline-start: 16px; margin-bottom: 7px; color: var(--text); font-size: 0.93rem; line-height: 1.45; }
.fx-grp li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.55em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 8px rgba(var(--blue-rgb), 0.8); }
.fx-app.is-soon .fx-grp li::before { background: var(--amber); box-shadow: 0 0 8px rgba(251, 191, 36, 0.7); }
.fx-grp li.dim { opacity: 0.32; }

.fx-suite { margin-bottom: 8px; }
.fx-suite-h { display: flex; gap: 16px; align-items: center; margin-bottom: 8px; }
.fx-suite-h img { width: 56px; height: 56px; border-radius: 50%; box-shadow: 0 0 26px rgba(var(--blue-rgb), 0.45); }
.fx-suite-h h2 { font-size: 1.5rem; }
.fx-suite .fx-body { padding: 0; }
.fx-nores { text-align: center; color: var(--text-2); padding: 40px 0; }

/* third party */
.fx-tps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 960px) { .fx-tps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .fx-tps { grid-template-columns: minmax(0, 1fr); } }
.fx-tp h4 { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cyan); margin-bottom: 14px; }
.fx-tp ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.fx-tp li { display: flex; align-items: center; gap: 12px; }
.fx-tp img, .fx-tl { width: 36px; height: 36px; border-radius: 10px; flex: none; object-fit: cover; }
.fx-tl { display: grid; place-items: center; background: var(--grad-soft); border: 1px solid var(--line-strong); color: var(--cyan); font-weight: 700; }

/* downloads */
.fx-dls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 760px) { .fx-dls { grid-template-columns: minmax(0, 1fr); } }
.fx-dl-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.fx-dl-btns .btn { display: inline-flex; align-items: center; gap: 6px; }

/* home teaser */
.home-suite .stats-band { margin-bottom: 30px; }
.home-suite .center-cta { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 30px; }

/* v3: "Across all apps" collapsed */
.fx-suite-d > summary { list-style: none; cursor: pointer; }
.fx-suite-d > summary::-webkit-details-marker { display: none; }
.fx-suite-d .fx-suite-h { margin-bottom: 0; }
.fx-suite-d .fx-more { margin-inline-start: auto; }
.fx-suite-d[open] .fx-suite-h { margin-bottom: 8px; }
.fx-suite-d[open] .fx-body { display: block; animation: fx-open 0.45s var(--ease); }
.fx-suite-d[open] .fx-more .o { display: none; } .fx-suite-d[open] .fx-more .c { display: inline; }
.fx-suite-d[open] .fx-more svg { transform: rotate(90deg); }
.fx-app { scroll-margin-top: 190px; }
@media (max-width: 720px) {
  .fx-ch-head { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: center; }
  .fx-no { font-size: 2.2rem; }
  .fx-ch-head p { grid-column: 1 / -1; }
  .fx-suite-d .fx-suite-h { flex-wrap: wrap; }
  .fx-suite-d .fx-more { flex-basis: 100%; margin-inline-start: 72px; }
  .fx-suite-h h2 { font-size: 1.25rem; }
  .fx-hero .stats-band { gap: 10px; }
  .fx-app summary { padding: 16px; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; }
  .fx-app summary img { width: 52px; height: 52px; border-radius: 13px; }
  .fx-body { padding: 0 16px 18px; }
}
