Coach — Landing Online
Energetic dark landing for a remote fitness coach: app-based hero with a live phone mockup, three-step how-it-works flow, tabbed monthly and quarterly pricing teasers, and a glowing apply form that validates inline and confirms with a toast.
MCP
Code
:root {
--bg: #0f1115;
--surface: #171a21;
--surface-2: #1f232c;
--lime: #c2f542;
--lime-d: #a3d62f;
--orange: #ff6b35;
--ink: #f2f4f0;
--muted: #9aa0a6;
--line: rgba(255, 255, 255, 0.10);
--line-2: rgba(255, 255, 255, 0.18);
--white: #fff;
--r-sm: 8px;
--r-md: 14px;
--r-lg: 20px;
--glow: 0 0 0 1px rgba(194, 245, 66, 0.4), 0 12px 40px -10px rgba(194, 245, 66, 0.5);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
background: var(--bg);
color: var(--ink);
font-family: "Inter", system-ui, sans-serif;
line-height: 1.5;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
overflow-x: hidden;
}
body::before {
content: "";
position: fixed;
inset: 0;
pointer-events: none;
background:
radial-gradient(60% 50% at 80% -5%, rgba(194, 245, 66, 0.10), transparent 60%),
radial-gradient(50% 40% at 5% 10%, rgba(255, 107, 53, 0.08), transparent 60%);
z-index: 0;
}
.wrap { width: min(1140px, 92vw); margin: 0 auto; position: relative; z-index: 1; }
a { color: inherit; text-decoration: none; }
.skip {
position: absolute; left: -999px; top: 8px; z-index: 50;
background: var(--lime); color: #0b0d10; padding: 10px 16px; border-radius: var(--r-sm);
font-weight: 700;
}
.skip:focus { left: 12px; }
/* ---------- Buttons ---------- */
.btn {
display: inline-flex; align-items: center; justify-content: center; gap: 8px;
font-family: inherit; font-weight: 700; cursor: pointer;
border: 1px solid var(--line-2); border-radius: 999px;
padding: 11px 20px; font-size: 0.95rem; color: var(--ink); background: transparent;
transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
text-transform: uppercase; letter-spacing: 0.03em;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(194, 245, 66, 0.5); }
.btn-lime {
background: var(--lime); color: #0b0d10; border-color: transparent;
box-shadow: 0 8px 24px -10px rgba(194, 245, 66, 0.7);
}
.btn-lime:hover { background: var(--lime-d); box-shadow: var(--glow); }
.btn-ghost { background: var(--surface-2); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); }
.btn-sm { padding: 8px 16px; font-size: 0.82rem; }
.btn-lg { padding: 14px 26px; font-size: 1rem; }
.btn-block { width: 100%; }
.eyebrow {
display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em;
text-transform: uppercase; color: var(--lime); margin-bottom: 12px;
}
.hl { color: var(--lime); }
/* ---------- Header ---------- */
.site-head {
position: sticky; top: 0; z-index: 30;
background: rgba(15, 17, 21, 0.72);
backdrop-filter: blur(14px);
border-bottom: 1px solid var(--line);
}
.head-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand {
display: inline-flex; align-items: center; gap: 10px;
font-weight: 800; font-size: 1.25rem; letter-spacing: 0.05em; text-transform: uppercase;
}
.brand-mark {
width: 16px; height: 16px; border-radius: 5px;
background: linear-gradient(135deg, var(--lime), var(--orange));
box-shadow: 0 0 14px rgba(194, 245, 66, 0.6);
}
.brand-dot { color: var(--lime); }
.nav { display: flex; gap: 22px; margin-left: auto; font-weight: 500; font-size: 0.95rem; }
.nav a { color: var(--muted); transition: color 0.15s; }
.nav a:hover, .nav a:focus-visible { color: var(--ink); outline: none; }
.head-inner .btn { margin-left: 0; }
.nav + .btn { margin-left: 4px; }
/* ---------- Hero ---------- */
.hero { padding: 68px 0 30px; }
.hero-grid {
display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center;
}
.pill {
display: inline-flex; align-items: center; gap: 8px;
background: var(--surface-2); border: 1px solid var(--line);
padding: 6px 14px; border-radius: 999px; font-size: 0.8rem; font-weight: 600; color: var(--muted);
margin-bottom: 22px;
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 8px var(--lime); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
.hero-copy h1 {
font-size: clamp(2.4rem, 5.2vw, 3.8rem); font-weight: 800; line-height: 1.02;
letter-spacing: -0.02em; text-transform: uppercase; margin-bottom: 18px;
}
.lede { color: var(--muted); font-size: 1.08rem; max-width: 46ch; margin-bottom: 26px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 34px; }
.stat-row { list-style: none; display: flex; gap: 30px; flex-wrap: wrap; }
.stat-row li { display: flex; flex-direction: column; }
.stat-row strong { font-size: 1.9rem; font-weight: 800; color: var(--ink); line-height: 1; }
.stat-row span { font-size: 0.8rem; color: var(--muted); margin-top: 4px; }
/* ---------- Phone ---------- */
.hero-phone { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.phone {
position: relative; width: 264px; height: 540px; border-radius: 40px;
background: linear-gradient(160deg, #23272f, #12141a);
border: 1px solid var(--line-2);
padding: 14px;
box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), inset 0 0 0 2px rgba(0,0,0,0.4);
outline: none;
}
.phone:focus-visible { box-shadow: 0 0 0 3px rgba(194, 245, 66, 0.6), 0 40px 80px -30px rgba(0,0,0,0.8); }
.phone-notch {
position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
width: 100px; height: 24px; background: #0a0c10; border-radius: 0 0 14px 14px; z-index: 3;
}
.phone-screens {
position: relative; width: 100%; height: 100%;
background: radial-gradient(120% 80% at 50% 0%, #1b1f27, #0e1014);
border-radius: 28px; overflow: hidden;
}
.screen {
position: absolute; inset: 0; padding: 44px 18px 18px;
display: flex; flex-direction: column; gap: 16px;
opacity: 0; transform: translateY(12px) scale(0.98); pointer-events: none;
transition: opacity 0.5s ease, transform 0.5s ease;
}
.screen.is-active { opacity: 1; transform: none; pointer-events: auto; }
.app-top { display: flex; align-items: center; justify-content: space-between; }
.app-hi { font-weight: 700; font-size: 0.95rem; }
.app-badge {
font-size: 0.7rem; font-weight: 700; padding: 4px 9px; border-radius: 999px;
background: rgba(194, 245, 66, 0.15); color: var(--lime); border: 1px solid rgba(194,245,66,0.3);
}
.app-badge.alt { background: rgba(255, 107, 53, 0.15); color: var(--orange); border-color: rgba(255,107,53,0.35); }
.ring-wrap { display: flex; justify-content: center; padding: 10px 0; }
.ring {
--p: 78;
width: 150px; height: 150px; border-radius: 50%;
background: conic-gradient(var(--lime) calc(var(--p) * 1%), rgba(255,255,255,0.08) 0);
display: grid; place-items: center; position: relative;
}
.ring::after { content: ""; position: absolute; inset: 14px; border-radius: 50%; background: #12151b; }
.ring-val { position: relative; z-index: 1; text-align: center; }
.ring-val strong { display: block; font-size: 1.7rem; font-weight: 800; }
.ring-val span { font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mini {
background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-md);
padding: 12px; display: flex; flex-direction: column; gap: 4px;
}
.mini span { font-size: 0.68rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.mini strong { font-size: 1.15rem; font-weight: 800; }
.ex-list { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.ex-list li {
display: flex; align-items: center; gap: 10px; font-size: 0.86rem; font-weight: 500;
background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px;
}
.ex-list em { margin-left: auto; font-style: normal; color: var(--muted); font-size: 0.78rem; }
.ex-dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line-2); flex: none; }
.ex-dot.done { background: var(--lime); border-color: var(--lime); box-shadow: 0 0 8px rgba(194,245,66,0.5); }
.app-btn {
margin-top: auto; background: var(--lime); color: #0b0d10; border: none; border-radius: 10px;
padding: 11px; font-weight: 700; font-family: inherit; font-size: 0.85rem; cursor: default;
}
.streak-big { text-align: center; padding: 14px 0 4px; }
.streak-big strong { display: block; font-size: 3.6rem; font-weight: 800; color: var(--orange); line-height: 1; text-shadow: 0 0 24px rgba(255,107,53,0.4); }
.streak-big span { color: var(--muted); font-size: 0.85rem; }
.week-dots { display: flex; justify-content: center; gap: 7px; }
.week-dots i { width: 20px; height: 20px; border-radius: 6px; background: rgba(255,255,255,0.08); }
.week-dots i.on { background: var(--lime); box-shadow: 0 0 8px rgba(194,245,66,0.5); }
.coach-msg {
margin-top: auto; display: flex; gap: 10px; align-items: flex-start;
background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px;
}
.coach-av {
width: 34px; height: 34px; border-radius: 50%; flex: none; display: grid; place-items: center;
background: linear-gradient(135deg, var(--lime), var(--lime-d)); color: #0b0d10; font-weight: 800; font-size: 0.78rem;
}
.coach-msg p { font-size: 0.8rem; color: var(--ink); }
.phone-dots { display: flex; gap: 8px; }
.phone-dots button {
background: var(--surface-2); border: 1px solid var(--line); color: var(--muted);
border-radius: 999px; padding: 6px 14px; font-family: inherit; font-size: 0.76rem; font-weight: 600;
cursor: pointer; transition: all 0.18s;
}
.phone-dots button[aria-selected="true"] { background: var(--lime); color: #0b0d10; border-color: transparent; }
.phone-dots button:hover { color: var(--ink); }
.phone-dots button[aria-selected="true"]:hover { color: #0b0d10; }
.phone-dots button:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(194,245,66,0.5); }
/* ---------- Logo strip ---------- */
.logo-strip {
display: flex; align-items: center; gap: 26px; margin-top: 54px;
padding-top: 26px; border-top: 1px solid var(--line);
color: var(--muted); font-size: 0.8rem; flex-wrap: wrap;
}
.logo-strip > span { text-transform: uppercase; letter-spacing: 0.14em; font-weight: 600; }
.logos { display: flex; gap: 28px; flex-wrap: wrap; }
.logos span { font-weight: 800; letter-spacing: 0.08em; opacity: 0.55; transition: opacity 0.18s, color 0.18s; }
.logos span:hover { opacity: 1; color: var(--ink); }
/* ---------- Sections ---------- */
.section { padding: 76px 0; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(255,255,255,0.015)); border-block: 1px solid var(--line); }
.sec-head { max-width: 620px; margin: 0 auto 48px; text-align: center; }
.sec-head h2 {
font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; text-transform: uppercase;
letter-spacing: -0.01em; line-height: 1.05;
}
.sec-head p { color: var(--muted); margin-top: 14px; font-size: 1.02rem; }
/* Steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step {
background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
padding: 30px 26px; position: relative; overflow: hidden;
transition: transform 0.2s, border-color 0.2s;
}
.step::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--lime); transition: width 0.35s ease; }
.step:hover { transform: translateY(-5px); border-color: var(--line-2); }
.step:hover::before { width: 100%; }
.step-num { font-size: 2.6rem; font-weight: 800; color: var(--surface-2); -webkit-text-stroke: 1px var(--line-2); }
.step h3 { font-size: 1.25rem; margin: 6px 0 10px; text-transform: uppercase; letter-spacing: 0.01em; }
.step p { color: var(--muted); font-size: 0.95rem; }
/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
padding: 26px; display: flex; flex-direction: column; gap: 20px;
transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-5px); border-color: var(--line-2); box-shadow: 0 24px 50px -30px rgba(0,0,0,0.7); }
.card-quote { font-size: 1.05rem; font-weight: 500; line-height: 1.45; }
.card-who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.av {
width: 44px; height: 44px; border-radius: 50%; flex: none; display: grid; place-items: center;
font-weight: 800; color: #0b0d10; font-size: 0.9rem;
background: linear-gradient(135deg, var(--g1), var(--g2));
}
.card-who strong { display: block; font-size: 0.95rem; }
.card-who span { font-size: 0.8rem; color: var(--muted); }
/* Pricing */
.bill-toggle {
display: inline-flex; gap: 4px; padding: 5px; margin: 0 auto 38px; justify-self: center;
background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px;
width: fit-content; margin-left: auto; margin-right: auto;
}
.bill-toggle { display: flex; }
.bill-opt {
border: none; background: transparent; color: var(--muted); font-family: inherit; font-weight: 700;
padding: 9px 20px; border-radius: 999px; cursor: pointer; font-size: 0.9rem;
display: inline-flex; align-items: center; gap: 8px; transition: all 0.18s;
}
.bill-opt.is-on { background: var(--lime); color: #0b0d10; }
.bill-opt:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(194,245,66,0.5); }
.save { font-size: 0.68rem; background: rgba(255,107,53,0.2); color: var(--orange); padding: 2px 7px; border-radius: 999px; font-weight: 700; }
.bill-opt.is-on .save { background: rgba(11,13,16,0.2); color: #0b0d10; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.plan {
background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
padding: 30px 26px; position: relative;
transition: transform 0.2s, border-color 0.2s;
}
.plan:hover { transform: translateY(-4px); border-color: var(--line-2); }
.plan h3 { font-size: 1.35rem; text-transform: uppercase; letter-spacing: 0.02em; }
.plan-sub { color: var(--muted); font-size: 0.88rem; margin: 6px 0 18px; }
.price { display: flex; align-items: flex-end; gap: 3px; margin-bottom: 22px; }
.price .cur { font-size: 1.3rem; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.price strong { font-size: 3rem; font-weight: 800; line-height: 1; }
.price .per { color: var(--muted); font-size: 0.9rem; margin-bottom: 8px; }
.plan-feat { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-bottom: 26px; }
.plan-feat li { position: relative; padding-left: 26px; font-size: 0.92rem; color: var(--ink); }
.plan-feat li::before {
content: "✓"; position: absolute; left: 0; top: 0; color: var(--lime); font-weight: 800;
width: 18px; height: 18px; display: grid; place-items: center; font-size: 0.8rem;
background: rgba(194,245,66,0.12); border-radius: 50%;
}
.plan-hot {
border-color: rgba(194, 245, 66, 0.5);
box-shadow: var(--glow); transform: translateY(-8px);
background: linear-gradient(180deg, rgba(194,245,66,0.06), var(--surface));
}
.plan-hot:hover { transform: translateY(-12px); }
.plan-tag {
position: absolute; top: -12px; right: 22px;
background: var(--lime); color: #0b0d10; font-weight: 800; font-size: 0.72rem;
text-transform: uppercase; letter-spacing: 0.06em; padding: 5px 12px; border-radius: 999px;
}
/* Apply */
.section-apply {
background:
radial-gradient(70% 120% at 100% 0%, rgba(194,245,66,0.10), transparent 55%),
radial-gradient(60% 100% at 0% 100%, rgba(255,107,53,0.08), transparent 55%);
}
.apply-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.apply-copy h2 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; text-transform: uppercase; line-height: 1.02; margin-bottom: 16px; }
.apply-copy p { color: var(--muted); font-size: 1.05rem; max-width: 42ch; margin-bottom: 22px; }
.apply-perks { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.apply-perks li { position: relative; padding-left: 28px; font-weight: 500; }
.apply-perks li::before {
content: "→"; position: absolute; left: 0; color: var(--lime); font-weight: 800;
}
.apply-form {
background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg);
padding: 30px; display: flex; flex-direction: column; gap: 16px;
box-shadow: 0 30px 70px -30px rgba(0,0,0,0.8);
}
.apply-form h3 { font-size: 1.3rem; text-transform: uppercase; letter-spacing: 0.02em; margin-bottom: 4px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 0.85rem; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.days-val {
background: var(--lime); color: #0b0d10; font-weight: 800; border-radius: 6px;
padding: 1px 9px; font-size: 0.8rem;
}
.field input[type="text"], .field input[type="email"], .field select {
background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-sm);
padding: 12px 14px; color: var(--ink); font-family: inherit; font-size: 0.95rem;
transition: border-color 0.18s, box-shadow 0.18s;
}
.field input::placeholder { color: #6b7078; }
.field input:focus, .field select:focus {
outline: none; border-color: var(--lime); box-shadow: 0 0 0 3px rgba(194,245,66,0.18);
}
.field select { appearance: none; cursor: pointer;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%239aa0a6' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
background-repeat: no-repeat; background-position: right 14px center;
}
.field.invalid input, .field.invalid select { border-color: var(--orange); }
.err { color: var(--orange); font-size: 0.78rem; min-height: 0; display: none; }
.field.invalid .err { display: block; }
input[type="range"] {
-webkit-appearance: none; appearance: none; width: 100%; height: 6px;
background: var(--surface-2); border-radius: 999px; outline: none; cursor: pointer;
border: 1px solid var(--line);
}
input[type="range"]::-webkit-slider-thumb {
-webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%;
background: var(--lime); border: 3px solid #0b0d10; cursor: pointer;
box-shadow: 0 0 0 1px var(--lime), 0 0 12px rgba(194,245,66,0.6);
}
input[type="range"]::-moz-range-thumb {
width: 22px; height: 22px; border-radius: 50%; background: var(--lime);
border: 3px solid #0b0d10; cursor: pointer;
}
input[type="range"]:focus-visible { box-shadow: 0 0 0 3px rgba(194,245,66,0.4); }
.range-scale { display: flex; justify-content: space-between; font-size: 0.72rem; color: var(--muted); padding: 0 4px; }
.form-fine { font-size: 0.76rem; color: var(--muted); text-align: center; }
/* ---------- Footer ---------- */
.site-foot { border-top: 1px solid var(--line); padding: 40px 0; }
.foot-inner { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.foot-inner .brand { font-size: 1.15rem; }
.foot-inner p { color: var(--muted); font-size: 0.92rem; }
.foot-inner small { color: #6b7078; font-size: 0.8rem; }
/* ---------- Toast ---------- */
.toast {
position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 30px);
background: var(--lime); color: #0b0d10; font-weight: 700; padding: 14px 22px;
border-radius: var(--r-md); box-shadow: 0 20px 50px -12px rgba(194,245,66,0.5);
opacity: 0; pointer-events: none; transition: opacity 0.3s, transform 0.3s; z-index: 60;
max-width: 90vw;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
/* ---------- Responsive ---------- */
@media (max-width: 900px) {
.hero-grid { grid-template-columns: 1fr; gap: 40px; }
.hero-phone { order: -1; }
.steps, .cards, .plans { grid-template-columns: 1fr; }
.plan-hot { transform: none; }
.plan-hot:hover { transform: translateY(-4px); }
.apply-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 520px) {
.nav { display: none; }
.hero { padding: 40px 0 20px; }
.section { padding: 54px 0; }
.hero-cta { flex-direction: column; }
.hero-cta .btn { width: 100%; }
.stat-row { gap: 20px; }
.stat-row strong { font-size: 1.5rem; }
.phone { width: 240px; height: 500px; }
.logo-strip { gap: 14px; }
.logos { gap: 16px; }
.apply-form { padding: 22px; }
.bill-opt { padding: 8px 14px; font-size: 0.82rem; }
.head-inner { gap: 12px; }
.toast { bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
* { animation: none !important; scroll-behavior: auto; }
.reveal { opacity: 1; transform: none; transition: none; }
}(function () {
"use strict";
/* ---------- Toast helper ---------- */
var toastEl = document.getElementById("toast");
var toastTimer;
function toast(msg) {
if (!toastEl) return;
toastEl.textContent = msg;
toastEl.classList.add("show");
clearTimeout(toastTimer);
toastTimer = setTimeout(function () {
toastEl.classList.remove("show");
}, 3200);
}
/* ---------- Animated hero stat counters ---------- */
var counters = document.querySelectorAll("[data-count]");
function runCount(el) {
var target = parseInt(el.getAttribute("data-count"), 10) || 0;
var start = performance.now();
var dur = 1400;
function tick(now) {
var p = Math.min((now - start) / dur, 1);
var eased = 1 - Math.pow(1 - p, 3);
el.textContent = Math.round(target * eased).toLocaleString();
if (p < 1) requestAnimationFrame(tick);
}
requestAnimationFrame(tick);
}
/* ---------- Phone screen rotator ---------- */
var screens = Array.prototype.slice.call(document.querySelectorAll("[data-screen]"));
var tabs = Array.prototype.slice.call(document.querySelectorAll("#dots [role=tab]"));
var phone = document.getElementById("phone");
var current = 0;
var autoTimer;
function goTo(i) {
current = (i + screens.length) % screens.length;
screens.forEach(function (s, idx) {
s.classList.toggle("is-active", idx === current);
});
tabs.forEach(function (t, idx) {
t.setAttribute("aria-selected", idx === current ? "true" : "false");
});
}
function next() { goTo(current + 1); }
function startAuto() {
stopAuto();
autoTimer = setInterval(next, 3400);
}
function stopAuto() { clearInterval(autoTimer); }
tabs.forEach(function (t, idx) {
t.addEventListener("click", function () {
goTo(idx);
startAuto();
});
});
if (phone) {
phone.addEventListener("mouseenter", stopAuto);
phone.addEventListener("mouseleave", startAuto);
phone.addEventListener("focus", stopAuto);
phone.addEventListener("blur", startAuto);
phone.addEventListener("keydown", function (e) {
if (e.key === "ArrowRight") { next(); e.preventDefault(); }
else if (e.key === "ArrowLeft") { goTo(current - 1); e.preventDefault(); }
});
}
if (screens.length) startAuto();
/* ---------- Pricing billing toggle ---------- */
var billOpts = Array.prototype.slice.call(document.querySelectorAll(".bill-opt"));
var priceEls = Array.prototype.slice.call(document.querySelectorAll(".price strong[data-monthly]"));
function animatePrice(el, to) {
var from = parseInt(el.textContent.replace(/[^0-9]/g, ""), 10) || 0;
var start = performance.now();
var dur = 450;
function tick(now) {
var p = Math.min((now - start) / dur, 1);
var eased = 1 - Math.pow(1 - p, 3);
el.textContent = Math.round(from + (to - from) * eased);
if (p < 1) requestAnimationFrame(tick);
}
requestAnimationFrame(tick);
}
function setBilling(period) {
billOpts.forEach(function (b) {
var on = b.getAttribute("data-bill") === period;
b.classList.toggle("is-on", on);
b.setAttribute("aria-selected", on ? "true" : "false");
});
priceEls.forEach(function (el) {
var val = parseInt(el.getAttribute("data-" + period), 10);
animatePrice(el, val);
});
}
billOpts.forEach(function (b) {
b.addEventListener("click", function () {
setBilling(b.getAttribute("data-bill"));
});
});
/* ---------- Training days range ---------- */
var days = document.getElementById("days");
var daysVal = document.getElementById("daysVal");
if (days && daysVal) {
days.addEventListener("input", function () {
daysVal.textContent = days.value;
});
}
/* ---------- Apply form validation ---------- */
var form = document.getElementById("applyForm");
function setError(name, msg) {
var field = form.querySelector('[name="' + name + '"]').closest(".field");
var err = form.querySelector('[data-err="' + name + '"]');
if (msg) {
field.classList.add("invalid");
if (err) err.textContent = msg;
} else {
field.classList.remove("invalid");
if (err) err.textContent = "";
}
}
if (form) {
form.addEventListener("submit", function (e) {
e.preventDefault();
var ok = true;
var name = form.name.value.trim();
var email = form.email.value.trim();
var goal = form.goal.value;
if (name.length < 2) { setError("name", "Please enter your name."); ok = false; }
else setError("name", "");
if (!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(email)) { setError("email", "Enter a valid email address."); ok = false; }
else setError("email", "");
if (!goal) { setError("goal", "Pick your main goal."); ok = false; }
else setError("goal", "");
if (!ok) {
var firstBad = form.querySelector(".field.invalid input, .field.invalid select");
if (firstBad) firstBad.focus();
toast("Check the highlighted fields.");
return;
}
toast("Application sent! Coach Mara will reach out within one business day.");
form.reset();
if (daysVal) daysVal.textContent = "4";
});
// Clear error on input
["name", "email", "goal"].forEach(function (n) {
var el = form.querySelector('[name="' + n + '"]');
if (el) el.addEventListener("input", function () { setError(n, ""); });
});
}
/* ---------- Scroll reveal + counter trigger ---------- */
var reveals = document.querySelectorAll(".reveal");
if ("IntersectionObserver" in window) {
var io = new IntersectionObserver(function (entries) {
entries.forEach(function (entry) {
if (entry.isIntersecting) {
entry.target.classList.add("in");
var cs = entry.target.querySelectorAll("[data-count]");
cs.forEach(function (c) {
if (!c.dataset.done) { c.dataset.done = "1"; runCount(c); }
});
io.unobserve(entry.target);
}
});
}, { threshold: 0.15 });
reveals.forEach(function (r) { io.observe(r); });
} else {
reveals.forEach(function (r) { r.classList.add("in"); });
counters.forEach(runCount);
}
})();<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>PULSE — Online Coaching That Trains With You</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap" rel="stylesheet" />
<link rel="stylesheet" href="style.css" />
</head>
<body>
<a class="skip" href="#apply">Skip to apply</a>
<!-- ============ HEADER ============ -->
<header class="site-head">
<div class="wrap head-inner">
<a class="brand" href="#top">
<span class="brand-mark" aria-hidden="true"></span>
PULSE<span class="brand-dot">.</span>
</a>
<nav class="nav" aria-label="Primary">
<a href="#how">How it works</a>
<a href="#pricing">Pricing</a>
<a href="#proof">Results</a>
</nav>
<a href="#apply" class="btn btn-lime btn-sm">Apply now</a>
</div>
</header>
<main id="top">
<!-- ============ HERO ============ -->
<section class="hero">
<div class="wrap hero-grid">
<div class="hero-copy reveal">
<span class="pill"><span class="dot"></span> 100% remote · App-based coaching</span>
<h1>Your coach.<br />In your pocket.<br /><span class="hl">Every single day.</span></h1>
<p class="lede">Train anywhere with a plan built for your body, your schedule and your goals. Weekly check-ins, form reviews and unlimited chat — all inside the PULSE app.</p>
<div class="hero-cta">
<a href="#apply" class="btn btn-lime btn-lg">Start my application</a>
<a href="#how" class="btn btn-ghost btn-lg">See how it works</a>
</div>
<ul class="stat-row">
<li><strong data-count="4200">0</strong><span>athletes coached</span></li>
<li><strong data-count="97">0</strong><span>% stay past 3 months</span></li>
<li><strong data-count="12">0</strong><span>time zones served</span></li>
</ul>
</div>
<!-- Phone mockup -->
<div class="hero-phone reveal">
<div class="phone" id="phone" tabindex="0" aria-label="App preview, screens auto-rotate">
<div class="phone-notch" aria-hidden="true"></div>
<div class="phone-screens" id="screens">
<!-- Screen 1: progress -->
<div class="screen is-active" data-screen>
<div class="app-top">
<span class="app-hi">This week</span>
<span class="app-badge">On track</span>
</div>
<div class="ring-wrap">
<div class="ring" style="--p:78">
<div class="ring-val"><strong>78%</strong><span>goal</span></div>
</div>
</div>
<div class="mini-grid">
<div class="mini"><span>Sessions</span><strong>4 / 5</strong></div>
<div class="mini"><span>Volume</span><strong>18.2k</strong></div>
</div>
</div>
<!-- Screen 2: today -->
<div class="screen" data-screen>
<div class="app-top">
<span class="app-hi">Today · Push</span>
<span class="app-badge alt">45 min</span>
</div>
<ul class="ex-list">
<li><span class="ex-dot done"></span> Incline press <em>4×8</em></li>
<li><span class="ex-dot done"></span> Overhead press <em>3×10</em></li>
<li><span class="ex-dot"></span> Cable fly <em>3×12</em></li>
<li><span class="ex-dot"></span> Triceps rope <em>3×15</em></li>
</ul>
<button class="app-btn" type="button" tabindex="-1">Log workout</button>
</div>
<!-- Screen 3: streak -->
<div class="screen" data-screen>
<div class="app-top">
<span class="app-hi">Streak</span>
<span class="app-badge">🔥 Fired up</span>
</div>
<div class="streak-big"><strong>27</strong><span>days in a row</span></div>
<div class="week-dots" aria-hidden="true">
<i class="on"></i><i class="on"></i><i class="on"></i><i class="on"></i><i class="on"></i><i></i><i></i>
</div>
<div class="coach-msg">
<span class="coach-av" aria-hidden="true">MJ</span>
<p>"Huge week. Add 2.5kg on press next session." — Coach Mara</p>
</div>
</div>
</div>
</div>
<div class="phone-dots" id="dots" role="tablist" aria-label="App screens">
<button role="tab" aria-selected="true" data-go="0"><span>Progress</span></button>
<button role="tab" aria-selected="false" data-go="1"><span>Today</span></button>
<button role="tab" aria-selected="false" data-go="2"><span>Streak</span></button>
</div>
</div>
</div>
<div class="wrap logo-strip reveal" aria-label="As trusted by">
<span>Featured in</span>
<div class="logos">
<span>IRONLINE</span><span>REPFUEL</span><span>MOVE·CO</span><span>APEXFIT</span><span>GRIT MAG</span>
</div>
</div>
</section>
<!-- ============ HOW IT WORKS ============ -->
<section id="how" class="section">
<div class="wrap">
<header class="sec-head reveal">
<span class="eyebrow">The process</span>
<h2>Remote, but never on your own</h2>
<p>No generic PDF plans. You get a real coach in your corner, adjusting every week based on your data.</p>
</header>
<ol class="steps">
<li class="step reveal">
<span class="step-num">01</span>
<h3>Apply & onboard</h3>
<p>Tell us your goals, injuries and schedule. We match you with a coach and build your first block in 48 hours.</p>
</li>
<li class="step reveal">
<span class="step-num">02</span>
<h3>Train in the app</h3>
<p>Follow guided sessions with demo videos. Log every set — the app auto-progresses your weights.</p>
</li>
<li class="step reveal">
<span class="step-num">03</span>
<h3>Check in & adjust</h3>
<p>Send weekly photos and numbers. Your coach reviews form, updates the plan and keeps you accountable.</p>
</li>
</ol>
</div>
</section>
<!-- ============ PROOF ============ -->
<section id="proof" class="section section-alt">
<div class="wrap">
<header class="sec-head reveal">
<span class="eyebrow">Real results</span>
<h2>Coached from anywhere</h2>
</header>
<div class="cards">
<article class="card reveal">
<div class="card-quote">"Down 11kg and my first pull-up at 41. The weekly check-ins kept me honest."</div>
<div class="card-who">
<span class="av" style="--g1:#c2f542;--g2:#a3d62f">DL</span>
<div><strong>Diego L.</strong><span>Remote · Bogotá</span></div>
</div>
</article>
<article class="card reveal">
<div class="card-quote">"I travel for work constantly. PULSE flexes my plan around hotel gyms every week."</div>
<div class="card-who">
<span class="av" style="--g1:#ff6b35;--g2:#ff9166">SR</span>
<div><strong>Sara R.</strong><span>App-based · Lisbon</span></div>
</div>
</article>
<article class="card reveal">
<div class="card-quote">"Added 40kg to my squat in a cut. The form reviews are the whole game."</div>
<div class="card-who">
<span class="av" style="--g1:#7bd3ff;--g2:#4aa8e0">TK</span>
<div><strong>Theo K.</strong><span>Remote · Toronto</span></div>
</div>
</article>
</div>
</div>
</section>
<!-- ============ PRICING ============ -->
<section id="pricing" class="section">
<div class="wrap">
<header class="sec-head reveal">
<span class="eyebrow">Pricing</span>
<h2>One coach. One flat rate.</h2>
<p>Cancel anytime. Switch plans anytime. No lock-in contracts.</p>
</header>
<div class="bill-toggle reveal" role="tablist" aria-label="Billing period">
<button class="bill-opt is-on" role="tab" aria-selected="true" data-bill="monthly">Monthly</button>
<button class="bill-opt" role="tab" aria-selected="false" data-bill="quarterly">Quarterly <span class="save">Save 20%</span></button>
</div>
<div class="plans">
<article class="plan reveal">
<h3>Kickstart</h3>
<p class="plan-sub">App plan, coach-reviewed monthly</p>
<div class="price"><span class="cur">$</span><strong data-monthly="79" data-quarterly="63">79</strong><span class="per">/mo</span></div>
<ul class="plan-feat">
<li>Custom training plan</li>
<li>Exercise video library</li>
<li>Monthly coach review</li>
<li>In-app workout logging</li>
</ul>
<a href="#apply" class="btn btn-ghost btn-block">Choose Kickstart</a>
</article>
<article class="plan plan-hot reveal">
<span class="plan-tag">Most popular</span>
<h3>Pro Coaching</h3>
<p class="plan-sub">Weekly check-ins & form reviews</p>
<div class="price"><span class="cur">$</span><strong data-monthly="149" data-quarterly="119">149</strong><span class="per">/mo</span></div>
<ul class="plan-feat">
<li>Everything in Kickstart</li>
<li>Weekly check-in & adjustments</li>
<li>Video form analysis</li>
<li>Unlimited chat with your coach</li>
<li>Nutrition targets & habits</li>
</ul>
<a href="#apply" class="btn btn-lime btn-block">Choose Pro</a>
</article>
<article class="plan reveal">
<h3>Elite</h3>
<p class="plan-sub">Hands-on, twice-weekly calls</p>
<div class="price"><span class="cur">$</span><strong data-monthly="279" data-quarterly="223">279</strong><span class="per">/mo</span></div>
<ul class="plan-feat">
<li>Everything in Pro</li>
<li>2× weekly video calls</li>
<li>Priority same-day replies</li>
<li>Meal plan & supplement guide</li>
</ul>
<a href="#apply" class="btn btn-ghost btn-block">Choose Elite</a>
</article>
</div>
</div>
</section>
<!-- ============ APPLY ============ -->
<section id="apply" class="section section-apply">
<div class="wrap apply-grid">
<div class="apply-copy reveal">
<span class="eyebrow">Applications open</span>
<h2>Ready to start<br />training smarter?</h2>
<p>Spots are limited so every athlete gets real attention. Apply in 30 seconds and we'll reach out within one business day.</p>
<ul class="apply-perks">
<li>No commitment to apply</li>
<li>Free coach-match call</li>
<li>7-day money-back guarantee</li>
</ul>
</div>
<form class="apply-form reveal" id="applyForm" novalidate>
<h3>Apply for coaching</h3>
<div class="field">
<label for="name">Full name</label>
<input id="name" name="name" type="text" autocomplete="name" placeholder="Alex Rivera" required />
<small class="err" data-err="name"></small>
</div>
<div class="field">
<label for="email">Email</label>
<input id="email" name="email" type="email" autocomplete="email" placeholder="[email protected]" required />
<small class="err" data-err="email"></small>
</div>
<div class="field">
<label for="goal">Main goal</label>
<select id="goal" name="goal" required>
<option value="">Select a goal…</option>
<option>Build muscle</option>
<option>Lose fat</option>
<option>Get stronger</option>
<option>Improve conditioning</option>
<option>General health</option>
</select>
<small class="err" data-err="goal"></small>
</div>
<div class="field">
<label for="days">Training days per week <span class="days-val" id="daysVal">4</span></label>
<input id="days" name="days" type="range" min="2" max="6" value="4" step="1" />
<div class="range-scale" aria-hidden="true"><span>2</span><span>3</span><span>4</span><span>5</span><span>6</span></div>
</div>
<button type="submit" class="btn btn-lime btn-block btn-lg">Submit application</button>
<p class="form-fine">By applying you agree to our friendly, spam-free follow-up.</p>
</form>
</div>
</section>
</main>
<footer class="site-foot">
<div class="wrap foot-inner">
<span class="brand">PULSE<span class="brand-dot">.</span></span>
<p>Online strength & conditioning coaching. Train anywhere.</p>
<small>© 2026 PULSE Coaching. Fictional demo.</small>
</div>
</footer>
<div class="toast" id="toast" role="status" aria-live="polite"></div>
<script src="script.js"></script>
</body>
</html>A full-screen landing page for an online, app-based fitness coaching business built on the energetic dark theme. The hero pairs a bold uppercase headline and electric-lime CTA with an animated phone mockup that cycles through workout screens — a live weekly progress ring, today’s session card, and a streak counter — so the remote/app angle is immediate. Trust stats, a logo strip and a three-step “how it works” flow explain the async coaching model.
The pricing teaser uses a tabbed monthly/quarterly toggle that swaps prices with a smooth count animation and highlights the recommended plan. An apply section anchors the page with a compact intake form: goal selector, training days slider, and email field, all validated inline with accessible error messaging.
Interactions are vanilla JS: the phone screens auto-rotate and pause on hover, the pricing toggle animates the numbers, the training-days range updates a live label, a scroll-reveal adds subtle entrance motion, and submitting the apply form triggers a toast confirmation. Every control is keyboard-usable with visible focus, and the layout collapses cleanly to a single column below 520px.