/* Gym & Fitness — nexvork.ai (prefix gf-) */

.gf-hero { overflow: hidden; }
.gf-hero .container { z-index: 1; }
.gf-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.gf-hero-grid > *, .gf-pain .split > *, .gf-wa .split > *, .gf-reports .split > *, .gf-setup-grid > * { min-width: 0; }
.gf-hero-title { max-width: 20ch; font-size: clamp(2.1rem, 3.8vw, 3.2rem); }
.gf-hero-actions { margin-top: 32px; }
.gf-hero-links { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 22px; }
.gf-hero-links .nx-link { font-size: 0.88rem; }
.gf-orb-1 { width: 520px; height: 520px; top: -160px; left: -140px; }
.gf-orb-2 { width: 600px; height: 600px; top: 8%; right: -220px; }

.gf-hero-visual { position: relative; padding-bottom: 300px; }
.gf-renew { max-width: min(100%, 600px); margin-left: auto; }
.gf-list { display: grid; gap: 8px; }
.gf-list .nx-row + .nx-row { margin-top: 0; }
.gf-list-head { display: flex; justify-content: space-between; gap: 10px; font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--subtle); margin: 14px 0 8px; }

.gf-hero-chat { position: absolute; right: -8px; bottom: 0; width: 268px; max-width: calc(100% - 16px); z-index: 3; font-size: 0.78rem; }
.gf-hero-chat .nx-chat-body { padding: 10px; gap: 6px; }
.gf-hero-chat .nx-msg { font-size: 0.72rem; max-width: 92%; }
.gf-hero-chat .nx-msg-btn { font-size: 0.7rem; padding: 6px; }

.gf-chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-size: 0.76rem; font-weight: 600; color: var(--text); box-shadow: var(--shadow-md); white-space: nowrap; z-index: 3; }
.gf-chip-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--nx-wa); box-shadow: 0 0 10px var(--nx-wa); flex-shrink: 0; }
.gf-chip-dot-hot { background: var(--nx-rose); box-shadow: 0 0 10px var(--nx-rose); }
.gf-chip-1 { top: -18px; left: -10px; }
.gf-chip-3 { bottom: 30px; left: 0; right: 0; width: max-content; max-width: calc(100% - 16px); margin: 0 auto; white-space: normal; text-align: center; }

.gf-seg-grid .nx-card p { font-size: 0.93rem; }

.gf-pains { display: grid; gap: 16px; }
.gf-pains li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: start; }
.gf-pain-num { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; color: var(--nx-blue-2); padding-top: 4px; }
html[data-theme="light"] .gf-pain-num { color: var(--nx-purple); }
.gf-pains strong { display: block; color: var(--text); font-weight: 600; margin-bottom: 3px; }
.gf-pains p { color: var(--muted); font-size: 0.93rem; line-height: 1.55; }

.gf-before { position: relative; padding: 20px 0 56px; }
.gf-before-win { max-width: min(100%, 560px); margin: 0 auto; }
.gf-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 10px; border: 1px solid rgba(255,255,255,0.07); }
html[data-theme="light"] .gf-table-wrap { border-color: var(--line); }
.gf-table { width: 100%; min-width: 440px; border-collapse: collapse; font-size: 0.74rem; }
.gf-table th, .gf-table td { padding: 8px 10px; text-align: left; white-space: nowrap; border-bottom: 1px solid rgba(255,255,255,0.06); }
html[data-theme="light"] .gf-table th, html[data-theme="light"] .gf-table td { border-color: var(--line); }
.gf-table th { font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--subtle); background: rgba(255,255,255,0.03); font-weight: 500; }
html[data-theme="light"] .gf-table th { background: var(--bg-2); }
.gf-table tbody tr:last-child td { border-bottom: 0; }
.gf-table td:nth-child(3) { font-family: var(--font-mono); font-size: 0.7rem; }
.gf-table tr.is-stale td { color: var(--muted); }
.gf-table tr.is-stale td:nth-child(4), .gf-table tr.is-stale td:nth-child(5) { color: var(--nx-amber); font-style: italic; }
.gf-note { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 10px 12px; border-radius: 10px; border: 1px dashed rgba(244,63,94,0.45); background: rgba(244,63,94,0.08); font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.06em; color: var(--muted); line-height: 1.5; }
.gf-note-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--nx-rose); box-shadow: 0 0 10px var(--nx-rose); flex-shrink: 0; }

.gf-bento { gap: 18px; }
.gf-bento .nx-card-num { white-space: normal; line-height: 1.5; }
.gf-code { font-family: var(--font-mono); font-size: 0.72em; padding: 1px 6px; border-radius: 5px; background: var(--surface-3); border: 1px solid var(--line); color: var(--nx-blue-2); white-space: nowrap; }
html[data-theme="light"] .gf-code { color: var(--nx-purple); }
.gf-plans { display: grid; gap: 7px; }
.gf-plan { display: grid; grid-template-columns: 76px minmax(0, 1fr) 84px; align-items: center; gap: 10px; font-size: 0.76rem; color: var(--muted); }
.gf-plan i { display: block; height: 6px; border-radius: 4px; background: var(--surface-3); position: relative; overflow: hidden; }
.gf-plan i::after { content: ""; position: absolute; inset: 0; width: var(--w, 50%); border-radius: 4px; background: var(--grad); transform-origin: left; animation: nxBarGrow 1.4s var(--ease-out) both; }
.gf-plan em { font-style: normal; font-family: var(--font-mono); font-size: 0.68rem; color: var(--text); text-align: right; white-space: nowrap; }
.gf-mini-chat { box-shadow: none; }
.gf-mini-chat .nx-chat-body { padding: 12px; }

.gf-story-win, .gf-story-con { max-width: 560px; }
.gf-story-con .nx-console-body { font-size: 0.72rem; }
.gf-story-phone { width: 300px; }
.gf-call { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.07); background: rgba(255,255,255,0.03); }
html[data-theme="light"] .gf-call { border-color: var(--line); background: var(--bg-2); }
.gf-call + .gf-call { margin-top: 8px; }
.gf-call > div { flex: 1; min-width: 0; }
.gf-call strong { display: block; font-size: 0.78rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gf-call span:not(.nx-tag):not(.nx-av) { display: block; font-size: 0.68rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gf-call .nx-tag { flex-shrink: 0; }
.gf-call .nx-av { width: 28px; height: 28px; font-size: 0.58rem; }

.gf-wa-visual { position: relative; padding: 20px 0 56px; }
.gf-wa-visual .nx-phone { width: 320px; }

.gf-steps .nx-step-num { color: var(--nx-blue-2); }
html[data-theme="light"] .gf-steps .nx-step-num { color: var(--nx-purple); }

.gf-rep-win { max-width: min(100%, 560px); }
.gf-trainer { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 9px; }
.gf-trainer + .gf-trainer { margin-top: 4px; }
.gf-trainer .nx-av { width: 26px; height: 26px; font-size: 0.56rem; }
.gf-trainer-main { flex: 1; min-width: 0; }
.gf-trainer-row { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 5px; }
.gf-trainer-row strong { font-size: 0.76rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gf-trainer-row em { font-style: normal; font-family: var(--font-mono); font-size: 0.7rem; flex-shrink: 0; }
.gf-trainer .nx-bar { height: 5px; }

.gf-setup-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.gf-setup-steps { grid-template-columns: 1fr; gap: 16px; }
.gf-needs { position: sticky; top: calc(var(--header-h) + 24px); }
.gf-needs .nx-checks li { font-size: 0.92rem; }

.gf-rel-card { display: flex; flex-direction: column; }
.gf-rel-card .nx-card-link { margin-top: auto; padding-top: 18px; }

@media (max-width: 1100px) {
    .gf-hero-grid { grid-template-columns: 1fr; gap: 48px; }
    .gf-hero-title { max-width: none; }
    .gf-renew { margin: 0 auto; }
    .gf-hero-chat { right: 8px; }
    .gf-chip-1 { left: 0; }
    .gf-setup-grid { grid-template-columns: 1fr; }
    .gf-needs { position: relative; top: 0; }
}
@media (max-width: 900px) {
    .gf-story-phone { width: 280px; margin: 0 auto; }
}
@media (max-width: 640px) {
    .gf-hero-visual { padding-bottom: 0; }
    .gf-hero-chat { position: relative; right: auto; bottom: auto; width: 100%; max-width: 320px; margin: 16px auto 0; }
    .gf-chip { font-size: 0.7rem; padding: 7px 11px; }
    .gf-chip-1 { top: -14px; }
    .gf-chip-3 { bottom: 14px; }
    .gf-renew .nx-kpis, .gf-rep-win .nx-kpis { grid-template-columns: 1fr 1fr; }
    .gf-wa-visual .nx-phone { width: 280px; }
    .gf-plan { grid-template-columns: 64px minmax(0, 1fr) 78px; }
    .gf-pains li { grid-template-columns: 32px minmax(0, 1fr); gap: 10px; }
    .gf-table { min-width: 400px; }
}
@media (max-width: 400px) {
    .gf-list-head span:last-child { display: none; }
    .gf-call .nx-tag { font-size: 0.58rem; padding: 3px 6px; }
}
