/* FitCore v2 — Transformation Experience
   Dark · Energy · Neon accent · Premium Fitness
   MarkLabs Agency
   ================================================= */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg: #0A0A0B;
    --bg-elevated: #111113;
    --bg-card: #1A1A1D;
    --text: #F5F5F7;
    --text-muted: #7A7A82;
    --accent: #7CFF6B;
    --accent-dark: #5BD44E;
    --accent-glow: rgba(124, 255, 107, 0.08);
    --accent-glow-strong: rgba(124, 255, 107, 0.15);
    --border: rgba(255,255,255,0.06);
    --border-hover: rgba(255,255,255,0.12);
    --radius: 14px;
    --radius-sm: 8px;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0.0, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4 { line-height: 1.05; letter-spacing: -0.04em; color: var(--text); }
h1 { font-size: clamp(3rem, 9vw, 6.5rem); font-weight: 900; text-transform: uppercase; }
h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; }
h3 { font-size: clamp(1.05rem, 1.6vw, 1.25rem); font-weight: 700; }
p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.7; }

[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 1rem 2.4rem; font-family: inherit; font-size: 0.82rem;
    font-weight: 700; border: none; cursor: pointer;
    transition: all 0.4s var(--ease); text-decoration: none;
    border-radius: var(--radius-sm); letter-spacing: 0.04em;
    text-transform: uppercase; min-height: 52px;
}
.btn--lg { padding: 1.15rem 2.8rem; font-size: 0.88rem; }
.btn--accent { background: var(--accent); color: var(--bg); }
.btn--accent:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 16px 48px rgba(124,255,107,0.2); }
.btn--outline { background: transparent; color: var(--text); border: 1.5px solid var(--border-hover); }
.btn--outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn--full { width: 100%; }
.btn__loader { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Header */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 1.5rem 0; transition: all 0.5s var(--ease); }
.header--scrolled { background: rgba(10,10,11,0.95); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); padding: 0.85rem 0; }
.nav { max-width: 1200px; margin: 0 auto; padding: 0 2.5rem; display: flex; align-items: center; justify-content: space-between; }
.nav__logo { font-size: 1rem; font-weight: 900; color: var(--text); text-decoration: none; letter-spacing: 0.2em; }
.nav__logo span { color: var(--accent); }
.nav__links { display: flex; gap: 2.5rem; }
.nav__links a { color: var(--text-muted); text-decoration: none; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; transition: color 0.3s; padding: 0.5rem 0; }
.nav__links a:hover { color: var(--text); }
.nav__cta { background: var(--accent); color: var(--bg); padding: 0.65rem 1.5rem; border-radius: var(--radius-sm); font-size: 0.7rem; font-weight: 800; text-decoration: none; text-transform: uppercase; letter-spacing: 0.08em; transition: all 0.3s; min-height: 48px; display: inline-flex; align-items: center; }
.nav__cta:hover { background: var(--accent-dark); box-shadow: 0 4px 20px rgba(124,255,107,0.2); }
.nav__burger { display: none; width: 24px; height: 16px; position: relative; background: none; border: none; cursor: pointer; min-height: 48px; min-width: 48px; align-items: center; justify-content: center; }
.nav__burger span { position: absolute; left: 50%; width: 22px; height: 1.5px; background: var(--text); transition: all 0.3s; transform: translateX(-50%); }
.nav__burger span:first-child { top: 5px; }
.nav__burger span:last-child { bottom: 5px; }
.nav__burger.active span:first-child { top: 50%; transform: translate(-50%,-50%) rotate(45deg); }
.nav__burger.active span:last-child { bottom: 50%; transform: translate(-50%,50%) rotate(-45deg); }

.mobile-menu { position: fixed; inset: 0; background: var(--bg); z-index: 99; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2rem; opacity: 0; visibility: hidden; transition: all 0.4s var(--ease); }
.mobile-menu.active { opacity: 1; visibility: visible; }
.mobile-menu a { font-size: 1.3rem; font-weight: 700; color: var(--text); text-decoration: none; text-transform: uppercase; letter-spacing: 0.08em; min-height: 48px; display: flex; align-items: center; }

/* Hero */
.hero { position: relative; min-height: 100dvh; display: flex; align-items: center; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg-img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); will-change: transform; filter: grayscale(0.3) brightness(0.6); }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,11,0.5) 0%, rgba(10,10,11,0.3) 40%, rgba(10,10,11,0.9) 90%, rgba(10,10,11,1) 100%); }
.hero__content { position: relative; z-index: 2; max-width: 1200px; width: 100%; margin: 0 auto; padding: 8rem 2.5rem 4rem; }
.hero__badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.45rem 1rem; border: 1px solid rgba(124,255,107,0.3); border-radius: 50px; font-size: 0.65rem; font-weight: 700; color: var(--accent); letter-spacing: 0.05em; margin-bottom: 2rem; text-transform: uppercase; }
.hero__badge-pulse { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; animation: pulse 2s ease infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.4;transform:scale(1.6)} }
.hero__title { margin-bottom: 1.5rem; }
.hero__accent { color: var(--accent); text-shadow: 0 0 60px rgba(124,255,107,0.3); }
.hero__desc { font-size: 1.05rem; max-width: 500px; margin-bottom: 2.5rem; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__scroll { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 2; }
.hero__scroll-line { width: 1px; height: 50px; background: var(--border); position: relative; overflow: hidden; }
.hero__scroll-line::after { content:''; position: absolute; top: -100%; left: 0; width: 100%; height: 100%; background: var(--accent); animation: scrollA 2.5s ease infinite; }
@keyframes scrollA { 0%{top:-100%} 50%{top:0} 100%{top:100%} }

/* Sections */
.section { padding: 7rem 2.5rem; max-width: 1200px; margin: 0 auto; }
.section--dark { max-width: 100%; background: var(--bg-elevated); padding: 7rem 2.5rem; }
.section--dark > * { max-width: 1200px; margin-left: auto; margin-right: auto; }
.section__header { margin-bottom: 3.5rem; text-align: center; }
.section__tag { display: inline-block; font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.25em; color: var(--text-muted); margin-bottom: 0.75rem; }
.section__tag--accent { color: var(--accent); }
.section__title { margin-bottom: 0.5rem; }
.section__sub { font-size: 0.92rem; color: var(--text-muted); margin-top: 0.75rem; }

/* Simulator */
.simulator { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: start; }
.simulator__controls { display: flex; flex-direction: column; gap: 1.75rem; }
.sim-group {}
.sim-label { display: block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 0.75rem; }
.sim-label strong { color: var(--accent); font-size: 0.85rem; }
.sim-options { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.sim-opt { padding: 0.7rem 1.3rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text-muted); font-size: 0.78rem; font-weight: 600; cursor: pointer; transition: all 0.3s; min-height: 48px; font-family: inherit; }
.sim-opt:hover { border-color: var(--border-hover); color: var(--text); }
.sim-opt.active { border-color: var(--accent); color: var(--accent); background: var(--accent-glow); }
.sim-range { width: 100%; height: 4px; -webkit-appearance: none; appearance: none; background: var(--bg-card); border-radius: 2px; outline: none; cursor: pointer; }
.sim-range::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; background: var(--accent); border-radius: 50%; cursor: pointer; box-shadow: 0 0 12px rgba(124,255,107,0.4); }
.sim-range::-moz-range-thumb { width: 20px; height: 20px; background: var(--accent); border-radius: 50%; border: none; cursor: pointer; }

.simulator__result { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 2.5rem; }
.sim-result__header { margin-bottom: 2rem; }
.sim-result__tag { font-size: 0.58rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.2em; color: var(--accent); }
.sim-result__title { font-size: 1.2rem; margin-top: 0.25rem; letter-spacing: -0.02em; }
.sim-result__title span { color: var(--accent); }
.sim-result__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 2rem; }
.sim-result__stat { text-align: center; padding: 1rem; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.sim-result__num { font-size: 2rem; font-weight: 900; color: var(--text); }
.sim-result__unit { font-size: 0.8rem; font-weight: 700; color: var(--accent); }
.sim-result__label { display: block; font-size: 0.62rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 0.25rem; }
.sim-result__progress { margin-bottom: 2rem; }
.sim-progress { height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; }
.sim-progress__bar { height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-dark)); border-radius: 3px; transition: width 0.6s var(--ease); }
.sim-progress__labels { display: flex; justify-content: space-between; margin-top: 0.5rem; }
.sim-progress__labels span { font-size: 0.65rem; color: var(--text-muted); }
.sim-result__phases { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2rem; }
.sim-phase { display: flex; justify-content: space-between; align-items: center; padding: 0.75rem 1rem; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.sim-phase__period { font-size: 0.7rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.05em; }
.sim-phase__text { font-size: 0.78rem; color: var(--text-muted); }

/* Stories */
.stories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.story { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all 0.4s var(--ease); }
.story:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.story__visual { position: relative; aspect-ratio: 3/4; cursor: ew-resize; user-select: none; -webkit-user-select: none; }
.story__before, .story__after { position: absolute; inset: 0; }
.story__before img, .story__after img { width: 100%; height: 100%; object-fit: cover; }
.story__after { clip-path: inset(0 0 0 50%); }
.story__label { position: absolute; top: 0.75rem; left: 0.75rem; font-size: 0.55rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.15em; background: rgba(0,0,0,0.7); color: #fff; padding: 0.25rem 0.6rem; border-radius: 3px; }
.story__label--after { left: auto; right: 0.75rem; }
.story__handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 5; pointer-events: none; }
.story__handle-line { flex: 1; width: 1px; background: rgba(255,255,255,0.8); }
.story__handle-dot { width: 28px; height: 28px; background: #fff; border-radius: 50%; box-shadow: 0 2px 8px rgba(0,0,0,0.3); flex-shrink: 0; }
.story__info { padding: 1.5rem; }
.story__info h3 { margin-bottom: 0.75rem; font-size: 1.1rem; }
.story__metrics { display: flex; gap: 0.75rem; margin-bottom: 0.75rem; }
.story__metrics span { font-size: 0.68rem; font-weight: 700; color: var(--accent); padding: 0.3rem 0.6rem; background: var(--accent-glow); border-radius: 3px; text-transform: uppercase; letter-spacing: 0.03em; }
.story__info p { font-size: 0.85rem; font-style: italic; color: var(--text); }

/* Personal Journey */
.pjourney { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.pjourney__step { padding: 2rem 1.5rem; border: 1px solid var(--border); border-radius: var(--radius); text-align: center; transition: all 0.4s var(--ease); }
.pjourney__step:hover { border-color: rgba(124,255,107,0.3); background: var(--accent-glow); transform: translateY(-4px); }
.pjourney__icon { color: var(--accent); margin-bottom: 0.75rem; display: flex; justify-content: center; }
.pjourney__num { display: block; font-size: 0.6rem; font-weight: 800; color: var(--accent); letter-spacing: 0.15em; margin-bottom: 0.5rem; }
.pjourney__step h3 { margin-bottom: 0.4rem; font-size: 1rem; }
.pjourney__step p { font-size: 0.8rem; }

/* Motivation */
.motivation { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 5rem 2.5rem; background: var(--bg); }
.motivation__inner { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; gap: 3rem; align-items: center; }
.motivation__col { padding: 2rem; border-radius: var(--radius); }
.motivation__col--now { background: rgba(239,68,68,0.05); border: 1px solid rgba(239,68,68,0.15); }
.motivation__col--future { background: var(--accent-glow); border: 1px solid rgba(124,255,107,0.2); }
.motivation__label { display: block; font-size: 0.62rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.2em; margin-bottom: 1.25rem; }
.motivation__col--now .motivation__label { color: #EF4444; }
.motivation__col--future .motivation__label { color: var(--accent); }
.motivation__list { display: flex; flex-direction: column; gap: 0.6rem; }
.motivation__list span { font-size: 0.85rem; color: var(--text); font-weight: 500; }
.motivation__col--now .motivation__list span { color: var(--text-muted); text-decoration: line-through; opacity: 0.7; }
.motivation__divider { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.motivation__arrow { font-size: 1.5rem; color: var(--accent); animation: arrowPulse 2s ease infinite; }
@keyframes arrowPulse { 0%,100%{transform:translateX(0);opacity:1} 50%{transform:translateX(4px);opacity:0.6} }
.motivation__divider span { font-size: 0.6rem; font-weight: 800; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.15em; }

/* Progress Timeline */
.progress-tl { position: relative; padding-left: 3rem; }
.progress-tl::before { content:''; position: absolute; left: 15px; top: 0; bottom: 0; width: 2px; background: var(--border); }
.ptl__item { position: relative; padding: 1.5rem 0 1.5rem 2rem; }
.ptl__marker { position: absolute; left: -3rem; top: 1.5rem; width: 32px; height: 32px; background: var(--bg-card); border: 2px solid var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 12px rgba(124,255,107,0.2); }
.ptl__marker span { font-size: 0.65rem; font-weight: 900; color: var(--accent); }
.ptl__content h3 { margin-bottom: 0.4rem; }
.ptl__content p { font-size: 0.88rem; max-width: 500px; }

/* Stats */
.stats-section { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 5rem 2.5rem; background: var(--bg); }
.stats { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.stat__value { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 900; color: var(--text); letter-spacing: -0.04em; line-height: 1; }
.stat__suffix { font-size: clamp(1rem, 2vw, 1.3rem); font-weight: 700; color: var(--accent); }
.stat__label { display: block; font-size: 0.68rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 0.75rem; }

/* Membership */
.membership { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 4rem; align-items: start; }
.membership__form { display: flex; flex-direction: column; gap: 1.25rem; }
.join-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { position: relative; }
.form-group input, .form-group select { width: 100%; padding: 1.1rem 1.25rem 0.7rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg-card); color: var(--text); font-family: inherit; font-size: 0.9rem; outline: none; transition: border-color 0.3s, box-shadow 0.3s; min-height: 52px; }
.form-group label { position: absolute; top: 50%; left: 1.25rem; transform: translateY(-50%); font-size: 0.8rem; color: var(--text-muted); pointer-events: none; transition: all 0.25s var(--ease); }
.form-group input:focus, .form-group select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.form-group input:focus + label, .form-group input:not(:placeholder-shown) + label, .form-group select:focus + label, .form-group select:valid + label { top: 0.5rem; transform: none; font-size: 0.6rem; color: var(--accent); letter-spacing: 0.05em; text-transform: uppercase; }
.form-group select option { color: var(--text); background: var(--bg-card); }
.form-group.error input, .form-group.error select { border-color: #EF4444; }
.membership__success { display: flex; align-items: center; gap: 0.75rem; padding: 1.25rem; background: var(--accent-glow); border: 1px solid rgba(124,255,107,0.3); border-radius: var(--radius-sm); color: var(--text); font-size: 0.9rem; font-weight: 500; }
.membership__success span { font-size: 1.5rem; }
.membership__info { display: flex; flex-direction: column; gap: 1.5rem; }
.membership__item { display: flex; flex-direction: column; gap: 0.15rem; }
.membership__label { font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: var(--accent); }
.membership__item span, .membership__item a { color: var(--text); font-size: 0.92rem; font-weight: 500; text-decoration: none; transition: color 0.2s; }
.membership__item a:hover { color: var(--accent); }
.membership__perks { padding: 1.25rem; border: 1px solid var(--border); border-radius: var(--radius-sm); margin-top: 0.5rem; }
.membership__perks h4 { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 0.75rem; }
.membership__perks ul { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; }
.membership__perks li { font-size: 0.82rem; color: var(--text-muted); padding-left: 1rem; position: relative; }
.membership__perks li::before { content: '⚡'; position: absolute; left: 0; font-size: 0.7rem; }

/* Footer */
.footer { padding: 2.5rem; border-top: 1px solid var(--border); }
.footer__inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer__logo { font-size: 0.85rem; font-weight: 900; color: var(--text); text-decoration: none; letter-spacing: 0.2em; }
.footer__logo span { color: var(--accent); }
.footer__copy { font-size: 0.7rem; color: var(--text-muted); }
.footer__credit { font-size: 0.7rem; color: var(--text-muted); }
.footer__credit a { color: var(--accent); text-decoration: none; font-weight: 600; }

/* Responsive */
@media (max-width: 1024px) {
    .simulator { grid-template-columns: 1fr; gap: 2.5rem; }
    .stories { grid-template-columns: 1fr; max-width: 450px; margin: 0 auto; }
    .pjourney { grid-template-columns: repeat(2, 1fr); }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .membership { grid-template-columns: 1fr; gap: 3rem; }
    .motivation__inner { grid-template-columns: 1fr; gap: 1.5rem; }
    .motivation__divider { flex-direction: row; }
    .motivation__arrow { transform: rotate(90deg); }
}

@media (max-width: 768px) {
    .nav__links, .nav__cta { display: none; }
    .nav__burger { display: flex; }
    .nav { padding: 0 1.25rem; }
    .hero__content { padding: 7rem 1.25rem 4rem; }
    .hero__title { font-size: 2.5rem; }
    .hero__actions { flex-direction: column; }
    .hero__actions .btn { width: 100%; }
    .hero__scroll { display: none; }
    .section { padding: 5rem 1.25rem; }
    .section--dark { padding: 5rem 1.25rem; }
    .sim-result__stats { grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
    .sim-result__num { font-size: 1.5rem; }
    .story__visual { aspect-ratio: 4/5; }
    .pjourney { grid-template-columns: 1fr; }
    .pjourney__step { padding: 1.5rem; }
    .motivation { padding: 3.5rem 1.25rem; }
    .progress-tl { padding-left: 2.5rem; }
    .ptl__marker { left: -2.5rem; }
    .stats-section { padding: 3.5rem 1.25rem; }
    .join-row { grid-template-columns: 1fr; }
    .footer__inner { flex-direction: column; text-align: center; }
}

@media (max-width: 390px) {
    .hero__title { font-size: 2rem; }
    h2 { font-size: 1.7rem; }
    .section { padding: 4rem 1rem; }
    .section--dark { padding: 4rem 1rem; }
    .btn { min-height: 48px; padding: 0.95rem 1.75rem; }
    .sim-result__stats { grid-template-columns: 1fr; }
    .stat__value { font-size: 2rem; }
}


/* Simulator extras */
.sim-result__extras {
    display: flex; flex-direction: column; gap: 0.6rem;
    margin-bottom: 2rem; padding: 1.25rem;
    border: 1px solid var(--border); border-radius: var(--radius-sm);
    background: rgba(124,255,107,0.03);
}
.sim-extra {
    display: flex; align-items: center; gap: 0.75rem;
    font-size: 0.85rem; color: var(--text);
}
.sim-extra__icon { font-size: 1.1rem; }
.sim-extra__text { font-weight: 500; }
.sim-extra__text strong { color: var(--accent); font-weight: 800; }
.sim-result__stats { grid-template-columns: repeat(4, 1fr) !important; }

@media (max-width: 768px) {
    .sim-result__stats { grid-template-columns: repeat(2, 1fr) !important; }
}


/* Simulator explanations */
.sim-bmi-cat { font-size: 0.75rem; font-weight: 700; margin-left: 0.25rem; }
.sim-result__explain {
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.02);
}
.sim-explain__item {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}
.sim-explain__item:last-child { margin-bottom: 0; }
.sim-explain__item strong { color: var(--text); font-weight: 600; }


/* === FitCore v2.1 — Realism Upgrade === */

/* CTA after calculator */
.sim-cta {
    max-width: 700px; margin: 2.5rem auto 0;
    border: 1px solid rgba(124,255,107,0.25);
    border-radius: var(--radius);
    background: var(--accent-glow);
    padding: 2.5rem 2rem; text-align: center;
}
.sim-cta__tag {
    display: inline-block; font-size: 0.62rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.2em; color: var(--accent);
    margin-bottom: 0.75rem;
}
.sim-cta__big {
    font-size: clamp(1.3rem, 3vw, 2rem); font-weight: 800;
    color: var(--text); line-height: 1.2; margin-bottom: 0.75rem; letter-spacing: -0.02em;
}
.sim-cta__big strong { color: var(--accent); }
.sim-cta__sub { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1.75rem; }

/* Membership Plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: stretch; }
.plan {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 2.25rem 1.75rem;
    display: flex; flex-direction: column; transition: all 0.35s var(--ease);
    position: relative;
}
.plan:hover { transform: translateY(-4px); border-color: var(--border-hover); box-shadow: 0 20px 50px rgba(0,0,0,0.35); }
.plan--featured { border-color: var(--accent); background: linear-gradient(180deg, var(--accent-glow), var(--bg-card)); }
.plan__badge {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--accent); color: var(--bg); font-size: 0.62rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.08em; padding: 0.35rem 1rem; border-radius: 50px;
}
.plan__name { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-muted); margin-bottom: 1rem; }
.plan__price { display: flex; align-items: baseline; gap: 0.4rem; margin-bottom: 1.5rem; }
.plan__amount { font-size: 2.5rem; font-weight: 900; color: var(--text); letter-spacing: -0.03em; }
.plan__period { font-size: 0.8rem; color: var(--text-muted); }
.plan__features { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; margin-bottom: 2rem; flex: 1; }
.plan__features li { font-size: 0.85rem; color: var(--text); padding-left: 1.5rem; position: relative; }
.plan__features li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 800; }

/* Trainers */
.trainers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.trainer {
    border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden; transition: all 0.35s var(--ease);
}
.trainer:hover { transform: translateY(-4px); border-color: var(--border-hover); }
.trainer__photo { aspect-ratio: 4/5; overflow: hidden; }
.trainer__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); filter: grayscale(0.2); }
.trainer:hover .trainer__photo img { transform: scale(1.05); filter: grayscale(0); }
.trainer__info { padding: 1.5rem; }
.trainer__info h3 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.trainer__spec { display: block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); margin-bottom: 0.2rem; }
.trainer__exp { display: block; font-size: 0.72rem; color: var(--text-muted); margin-bottom: 0.75rem; }
.trainer__info p { font-size: 0.82rem; }

/* Success stories — single photo layout */
.story { display: flex; flex-direction: column; }
.story__photo { aspect-ratio: 3/4; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.story__photo img { width: 100%; height: 100%; object-fit: cover; }
.story__result { display: flex; align-items: baseline; gap: 0.5rem; margin: 0.75rem 0; }
.story__result-big { font-size: 1.8rem; font-weight: 900; color: var(--accent); letter-spacing: -0.02em; }
.story__result-time { font-size: 0.78rem; color: var(--text-muted); }

/* Schedule */
.schedule { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; max-width: 900px; margin: 0 auto; }
.schedule__block { border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; }
.schedule__title { font-size: 1rem; margin-bottom: 1.25rem; color: var(--accent); }
.schedule__row { display: flex; justify-content: space-between; align-items: center; padding: 0.7rem 0; border-bottom: 1px solid var(--border); font-size: 0.85rem; }
.schedule__row:last-child { border-bottom: none; }
.schedule__row span { color: var(--text-muted); }
.schedule__row strong { color: var(--text); font-weight: 600; }

@media (max-width: 1024px) {
    .plans { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
    .trainers { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
    .schedule { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .sim-cta { padding: 2rem 1.25rem; }
}


/* === FitCore v2.2 — pricing periods, group schedule, FAQ === */

/* Period pricing */
.fc-pricing { max-width: 900px; margin: 3rem auto 0; }
.fc-pricing__title { font-size: 0.95rem; text-align: center; margin-bottom: 1.5rem; color: var(--text-muted); font-weight: 600; }
.fc-pricing__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
.fc-price { position: relative; text-align: center; padding: 1.5rem 1rem; border: 1px solid var(--border); border-radius: var(--radius); transition: all 0.3s; }
.fc-price:hover { border-color: rgba(124,255,107,0.3); }
.fc-price__period { display: block; font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.5rem; }
.fc-price__val { display: block; font-size: 1.4rem; font-weight: 900; color: var(--text); }
.fc-price__save { position: absolute; top: 0.75rem; right: 0.75rem; font-size: 0.6rem; font-weight: 800; color: var(--accent); background: var(--accent-glow); padding: 0.2rem 0.5rem; border-radius: 50px; }
.fc-pricing__extra { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.fc-extra { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.25rem; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.fc-extra span { font-size: 0.85rem; color: var(--text-muted); }
.fc-extra strong { font-size: 0.88rem; color: var(--accent); }

/* Group schedule */
.group-schedule { max-width: 900px; margin: 2.5rem auto 0; }
.group-schedule__title { font-size: 0.95rem; text-align: center; margin-bottom: 1.5rem; color: var(--text-muted); font-weight: 600; }
.group-schedule__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gs-class { padding: 1.25rem; border: 1px solid var(--border); border-radius: var(--radius-sm); text-align: center; transition: all 0.3s; }
.gs-class:hover { border-color: rgba(124,255,107,0.3); background: var(--accent-glow); }
.gs-class__time { display: block; font-size: 1.3rem; font-weight: 900; color: var(--accent); }
.gs-class__name { display: block; font-size: 0.9rem; font-weight: 600; margin: 0.25rem 0; }
.gs-class__day { display: block; font-size: 0.72rem; color: var(--text-muted); }

/* FAQ */
.fc-faq { max-width: 720px; margin: 0 auto; }
.fc-faq__item { border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 0.6rem; padding: 0 1.25rem; }
.fc-faq__item summary { font-size: 0.9rem; font-weight: 600; padding: 1.1rem 0; cursor: pointer; list-style: none; position: relative; padding-right: 2rem; color: var(--text); }
.fc-faq__item summary::-webkit-details-marker { display: none; }
.fc-faq__item summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.3rem; color: var(--accent); }
.fc-faq__item[open] summary::after { content: '−'; }
.fc-faq__item p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; padding-bottom: 1.1rem; margin: 0; }

@media (max-width: 768px) {
    .fc-pricing__grid { grid-template-columns: repeat(2, 1fr); }
    .fc-pricing__extra { grid-template-columns: 1fr; }
    .group-schedule__grid { grid-template-columns: 1fr 1fr; }
}

/* ===== MOBILE PREMIUM v2 ===== */
@media(max-width:768px){
    /* Hero */
    .hero{min-height:100svh}
    .hero__title{font-size:2.6rem !important;line-height:1.08 !important;font-weight:900 !important;letter-spacing:-1px}
    .hero__desc{font-size:1rem;line-height:1.65;margin-bottom:1.75rem}
    .hero__actions{flex-direction:column !important;gap:.75rem}
    .btn--accent.btn--lg,.btn--outline.btn--lg{width:100%;min-height:52px;font-size:1rem !important;padding:1rem 1.5rem !important;justify-content:center;display:flex;align-items:center;border-radius:12px}
    .btn--accent{box-shadow:0 8px 28px rgba(124,255,107,.25)}

    /* Disable parallax */
    .hero__bg-img{transform:none !important;will-change:auto}

    /* Simulator */
    .simulator{flex-direction:column !important;gap:2rem}
    .simulator__controls{padding:1.5rem}
    .sim-group{margin-bottom:1rem}
    .sim-options{display:grid;grid-template-columns:repeat(2,1fr);gap:.5rem}
    .sim-opt{padding:.65rem .5rem;font-size:.85rem;min-height:40px}
    .sim-range{height:5px}
    .sim-range::-webkit-slider-thumb{width:22px;height:22px;border-radius:50%;background:#7CFF6B;-webkit-appearance:none;cursor:pointer;box-shadow:0 0 8px rgba(124,255,107,.4)}

    /* Simulator result */
    .simulator__result{padding:1.5rem}
    .sim-result__stats{grid-template-columns:repeat(2,1fr) !important;gap:1rem}
    .sim-result__num{font-size:2.2rem !important}

    /* Plans */
    .plans{flex-direction:column !important;gap:1rem;align-items:stretch}
    .plan{width:100% !important}
    .plan--featured{order:-1}
    .btn--accent.btn--full,.btn--outline.btn--full{min-height:48px;font-size:.95rem}

    /* Stories */
    .stories{flex-direction:column !important;gap:2rem}
    .story{flex-direction:column !important}
    .story__photo{width:100% !important;height:240px;border-radius:14px;overflow:hidden}
    .story__photo img{width:100%;height:100%;object-fit:cover;object-position:top}
    .story__result-big{font-size:2.5rem !important}

    /* Trainers */
    .trainers{flex-direction:column !important;gap:1.5rem}
    .trainer{flex-direction:row !important;gap:1rem;align-items:flex-start}
    .trainer__photo{width:72px;height:72px;flex-shrink:0;border-radius:50%;overflow:hidden}
    .trainer__photo img{width:100%;height:100%;object-fit:cover}

    /* Section headers */
    .section__title{font-size:1.9rem !important;font-weight:900 !important;letter-spacing:-.6px}
    .section__title br{display:none}

    /* Journey */
    .pjourney{grid-template-columns:1fr 1fr !important;gap:1rem}
    .pjourney__step{padding:1.1rem;border-radius:12px}
    .pjourney__num{font-size:1.5rem}

    /* FAQ */
    .fc-faq__item summary{font-size:.95rem;padding:.9rem 1rem}

    /* Motivation */
    .motivation__inner{flex-direction:column !important;gap:1.5rem}
    .motivation__divider{flex-direction:row;padding:.75rem 0}

    /* Membership form */
    .membership{flex-direction:column !important;gap:2rem}
    #jf-btn{min-height:52px;font-size:1rem}
}
@media(max-width:390px){
    .hero__title{font-size:2.15rem !important}
    .section__title{font-size:1.65rem !important}
    .sim-result__num{font-size:1.8rem !important}
    .sim-options{grid-template-columns:1fr 1fr}
}
/* ===== END MOBILE PREMIUM v2 ===== */


/* ===== MOBILE SAFETY LAYER (320–414px) ===== */
@media(max-width:414px){
    html, body { overflow-x: hidden; max-width: 100vw; }
    * { min-width: 0; }
    img, video, iframe { max-width: 100%; height: auto; }
    [class*="slider"], [class*="sim-"] { max-width: 100%; }
    h1, h2, h3, .hero__title, .section__title { overflow-wrap: break-word; word-break: break-word; }
    .nav, .section, .hero, .footer { max-width: 100vw; }
    .sim-result__stats { grid-template-columns: repeat(2,1fr); }
}
@media(max-width:360px){
    .hero__title { font-size: 2rem !important; }
    .section__title { font-size: 1.5rem !important; }
    .section, .hero { padding-left: 1rem; padding-right: 1rem; }
    .btn { font-size: 0.8rem; padding: 0.9rem 1.3rem; }
    .stats { grid-template-columns: repeat(2,1fr) !important; }
    .fc-pricing__grid, .group-schedule__grid { grid-template-columns: repeat(2,1fr) !important; }
}
@media(max-width:320px){
    .hero__title { font-size: 1.7rem !important; }
    .stats, .plans, .trainers, .stories, .pjourney { grid-template-columns: 1fr !important; }
    .sim-result__stats { grid-template-columns: repeat(2,1fr) !important; }
    .fc-pricing__grid, .group-schedule__grid { grid-template-columns: 1fr !important; }
}
/* ===== END MOBILE SAFETY LAYER ===== */


/* ===== STICKY CTA OVERLAP FIX ===== */
@media(max-width:768px){
    body { padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
    .sticky-cta {
        z-index: 90 !important;
        padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px)) !important;
    }
    .mobile-menu { z-index: 300 !important; }
    .header { z-index: 310 !important; }
    #join { padding-bottom: 3rem; }
    .footer, footer { padding-bottom: calc(2rem + 88px); }
}
/* ===== END STICKY CTA OVERLAP FIX ===== */
