Become a Member: bento benefits, merged/redesigned join form, floating CTA, fixes
Why become a member - Rebuild the benefits grid as a 3x3 bento: 7 icon cards + 2 real event photos (with captions), fixes the orphan card, adds hover motion. Swap the blank fa-house-heart (Pro) for fa-house-user (Free) on "Feel at home". Join form - Merge the duplicate "There is a place for you here" section into the form's path step (student / supporter cards now carry the descriptions); drop the separate section. New heading "There is a place for you here"; centred layout. - Redesign the choice cards: colour-coded (student orange / supporter teal) icon circles, descriptions, hover lift + "Choose this" reveal. - Fix the stray "Support MSOS" submit button showing on the path step. Conversion + polish - Floating "Become a member" CTA that appears after the hero and hides near the form/final CTA, so the ask stays reachable without scrolling to the bottom. - More space between section titles and their cards (numbers, reals, tests, showcase, benefits). - Testimonials: Elena -> Katerina (Koper); un-swap Ana (Maribor) and Marko (Ljubljana); remove the "sample quotes" placeholder note. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
51474b2da5
commit
f492a8a547
5 files changed
+166
-82
No files matched your search
+52
-21
@@ -50,17 +50,27 @@
|
||||
.mm-hero-photo--2 { }
|
||||
.mm-hero-photo--3 { }
|
||||
|
||||
/* ---- benefits ---- */
|
||||
.mm-benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 32px; }
|
||||
/* ---- benefits (bento grid: 7 icon cards + 2 real photo tiles) ---- */
|
||||
.mm-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
|
||||
.mm-benefit { background: #FFFFFF; border: 1px solid #EAECF0; border-radius: 16px; padding: 26px; transition: transform 0.18s ease, box-shadow 0.18s ease; }
|
||||
.mm-benefit:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(16,24,40,0.08); }
|
||||
.mm-benefit-ico { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--mm-orange); background: #FFF1E8; margin-bottom: 16px; }
|
||||
.mm-benefit-ico { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--mm-orange); background: #FFF1E8; margin-bottom: 16px; transition: transform 0.2s ease, background 0.2s ease; }
|
||||
.mm-benefit:hover .mm-benefit-ico { transform: scale(1.08) rotate(-4deg); background: #FFE3D1; }
|
||||
.mm-benefit h3 { font-size: 18px; margin: 0 0 8px; }
|
||||
.mm-benefit p { font-size: 15px; line-height: 23px; color: #667085; margin: 0; }
|
||||
|
||||
/* photo tiles */
|
||||
.mm-benefit-photo { position: relative; margin: 0; min-height: 240px; border-radius: 16px; overflow: hidden; box-shadow: 0 14px 28px rgba(16,24,40,0.12); }
|
||||
.mm-benefit-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
|
||||
.mm-benefit-photo:hover img { transform: scale(1.06); }
|
||||
.mm-benefit-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px; color: #FFFFFF; font-weight: 700; font-size: 16px; line-height: 22px; background: linear-gradient(to top, rgba(16,24,40,0.78), rgba(16,24,40,0.15) 70%, rgba(16,24,40,0)); }
|
||||
|
||||
@media (max-width: 900px) { .mm-benefits { grid-template-columns: repeat(2, 1fr); } }
|
||||
@media (max-width: 600px) { .mm-benefits { grid-template-columns: 1fr; } }
|
||||
|
||||
/* ---- numbers ---- */
|
||||
.mm-numbers-section { background: var(--mm-teal); padding: 64px 24px; text-align: center; }
|
||||
.mm-numbers { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px; max-width: 960px; margin: 28px auto 0; }
|
||||
.mm-numbers { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px; max-width: 960px; margin: 44px auto 0; }
|
||||
.mm-num { color: #FFFFFF; }
|
||||
.mm-num-value { display: block; font-size: 46px; font-weight: 700; line-height: 1; letter-spacing: -0.02em; }
|
||||
.mm-num-label { display: block; margin-top: 8px; font-size: 15px; color: rgba(255,255,255,0.85); }
|
||||
@@ -75,7 +85,7 @@
|
||||
.mm-way p { font-size: 14px; line-height: 22px; color: #667085; margin: 0; }
|
||||
|
||||
/* ---- membership in real life ---- */
|
||||
.mm-reals { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
|
||||
.mm-reals { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 40px; }
|
||||
.mm-real { display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; border: 1px solid #EAECF0; background: #FFFFFF; text-decoration: none; color: inherit; transition: transform 0.18s ease, box-shadow 0.18s ease; }
|
||||
.mm-real:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(16,24,40,0.10); }
|
||||
.mm-real-media { height: 170px; background: #F2F4F7; }
|
||||
@@ -86,7 +96,7 @@
|
||||
.mm-real-link { font-size: 14px; font-weight: 600; color: var(--mm-orange); display: inline-flex; align-items: center; gap: 6px; }
|
||||
|
||||
/* ---- testimonials ---- */
|
||||
.mm-tests { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
|
||||
.mm-tests { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 40px; }
|
||||
.mm-test { margin: 0; background: #FFFFFF; border: 1px solid #EAECF0; border-radius: 16px; padding: 26px; box-shadow: 0 6px 16px rgba(16,24,40,0.04); }
|
||||
.mm-test blockquote { margin: 0 0 18px; font-size: 17px; line-height: 27px; color: #101828; }
|
||||
.mm-test blockquote::before { content: '\201C'; color: var(--mm-orange); font-size: 40px; line-height: 0; vertical-align: -18px; margin-right: 4px; }
|
||||
@@ -94,21 +104,28 @@
|
||||
.mm-test figcaption span { font-size: 13px; color: #98A2B3; }
|
||||
|
||||
/* ---- projects showcase ---- */
|
||||
.mm-shows { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
|
||||
.mm-shows { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 40px; }
|
||||
.mm-show { display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; border: 1px solid #EAECF0; text-decoration: none; color: inherit; background: #FFFFFF; transition: transform 0.18s ease, box-shadow 0.18s ease; }
|
||||
.mm-show:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(16,24,40,0.10); }
|
||||
.mm-show-media { height: 180px; background: #F2F4F7; }
|
||||
.mm-show-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
|
||||
.mm-show h3 { font-size: 16px; margin: 0; padding: 16px 18px; line-height: 1.3; }
|
||||
|
||||
/* ---- who can join ---- */
|
||||
.mm-who { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
|
||||
.mm-who-card { border: 1px solid #EAECF0; border-radius: 18px; padding: 30px; background: #FFFFFF; }
|
||||
.mm-who-card:first-child { border-color: #F6C9A8; background: linear-gradient(180deg, #FFF7F1 0%, #FFFFFF 100%); }
|
||||
.mm-who-ico { font-size: 26px; color: var(--mm-orange); margin-bottom: 14px; }
|
||||
.mm-who-card h3 { font-size: 20px; margin: 0 0 8px; }
|
||||
.mm-who-card p { font-size: 15px; line-height: 23px; color: #667085; margin: 0 0 16px; }
|
||||
.mm-who-link { font-weight: 600; color: var(--mm-teal); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
|
||||
/* ---- floating "Become a member" CTA (appears after the hero, hides near the form) ---- */
|
||||
.mm-sticky-cta {
|
||||
position: fixed; right: 24px; bottom: 24px; z-index: 900;
|
||||
display: inline-flex; align-items: center; gap: 10px;
|
||||
background: var(--mm-orange); color: #FFFFFF; font-weight: 700; font-size: 15px;
|
||||
padding: 14px 22px; border-radius: 999px; text-decoration: none;
|
||||
box-shadow: 0 10px 28px rgba(242,118,46,0.45);
|
||||
transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.25s ease;
|
||||
}
|
||||
.mm-sticky-cta[hidden] { display: none; }
|
||||
.mm-sticky-cta.is-hiding { opacity: 0; transform: translateY(14px); pointer-events: none; }
|
||||
.mm-sticky-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(242,118,46,0.55); }
|
||||
@media (max-width: 600px) {
|
||||
.mm-sticky-cta { right: 16px; bottom: 16px; padding: 12px 18px; font-size: 14px; }
|
||||
}
|
||||
|
||||
/* ---- multi-step form ---- */
|
||||
.ms-section { max-width: 760px; margin: 0 auto; padding: 72px 24px; }
|
||||
@@ -130,12 +147,26 @@
|
||||
.ms-step h3 { font-size: 20px; margin: 0 0 6px; }
|
||||
.ms-hint { font-size: 14px; color: #98A2B3; margin: 0 0 16px; }
|
||||
|
||||
.ms-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 8px; }
|
||||
.ms-path { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 28px 16px; border: 2px solid #EAECF0; border-radius: 16px; background: #FFFFFF; cursor: pointer; font-family: inherit; transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease; }
|
||||
.ms-path i { font-size: 26px; color: var(--mm-orange); }
|
||||
.ms-path strong { font-size: 16px; color: #101828; }
|
||||
.ms-path:hover { border-color: #F6C9A8; transform: translateY(-2px); }
|
||||
.ms-path.is-selected { border-color: var(--mm-orange); background: #FFF7F1; }
|
||||
/* path choice: two rich, colour-accented cards (student = orange, supporter = teal) */
|
||||
.ms-step--path { text-align: center; }
|
||||
.ms-path-prompt { font-size: 18px; margin: 0 0 20px; }
|
||||
.ms-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 8px; }
|
||||
.ms-path { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 32px 22px; border: 2px solid #EAECF0; border-radius: 18px; background: #FFFFFF; cursor: pointer; font-family: inherit; transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease; }
|
||||
.ms-path-ico { width: 58px; height: 58px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; transition: transform 0.18s ease; }
|
||||
.ms-path--student .ms-path-ico { color: var(--mm-orange); background: #FFF1E8; }
|
||||
.ms-path--supporter .ms-path-ico { color: var(--mm-teal); background: #E7F1F4; }
|
||||
.ms-path strong { font-size: 18px; color: #101828; }
|
||||
.ms-path-desc { font-size: 14px; line-height: 21px; color: #667085; }
|
||||
.ms-path-go { margin-top: 4px; font-size: 13px; font-weight: 700; letter-spacing: 0.02em; display: inline-flex; align-items: center; gap: 6px; opacity: 0; transform: translateY(4px); transition: opacity 0.18s ease, transform 0.18s ease; }
|
||||
.ms-path--student .ms-path-go { color: var(--mm-orange); }
|
||||
.ms-path--supporter .ms-path-go { color: var(--mm-teal); }
|
||||
.ms-path:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(16,24,40,0.10); }
|
||||
.ms-path:hover .ms-path-ico { transform: scale(1.06); }
|
||||
.ms-path:hover .ms-path-go, .ms-path.is-selected .ms-path-go { opacity: 1; transform: translateY(0); }
|
||||
.ms-path--student:hover, .ms-path--student.is-selected { border-color: var(--mm-orange); }
|
||||
.ms-path--supporter:hover, .ms-path--supporter.is-selected { border-color: var(--mm-teal); }
|
||||
.ms-path--student.is-selected { background: #FFF7F1; }
|
||||
.ms-path--supporter.is-selected { background: #EFF5F7; }
|
||||
|
||||
.ms-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 6px; }
|
||||
.ms-field { display: flex; flex-direction: column; gap: 6px; }
|
||||
|
||||
Reference in new issue
Block a user