update 4page

This commit is contained in:
2026-07-02 18:15:06 +08:00
parent 4d30803b60
commit 296db4a164
53 changed files with 5271 additions and 60 deletions
+463
View File
@@ -0,0 +1,463 @@
/**
* ADL register form styles (from aifo theme adl-register.css).
* Used by pages/modules/adl-register.section.html
*/
.adl-register {
--adl-primary: #F98715;
--adl-white: #FFFFFF;
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
color: var(--adl-white);
}
.adl-btn {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 12px 22px;
border-radius: 12px;
font-size: 13px;
line-height: 24px;
font-weight: 700;
text-decoration: none;
transition: .18s;
cursor: pointer;
}
.adl-btn-primary {
background: var(--adl-primary);
color: #fff;
border: 1px solid rgba(255, 255, 255, .18);
}
.adl-btn-primary:hover {
color: #fff;
background: #ffa12f;
box-shadow: 0 0 16px rgba(249, 135, 21, .45);
transform: translateY(-1px);
}
.adl-btn-primary:disabled {
opacity: 0.65;
cursor: not-allowed;
transform: none;
box-shadow: none;
}
.adl-btn-ghost {
background: rgba(255, 255, 255, .08);
color: #fff;
border: 1px solid rgba(255, 255, 255, .25);
}
.adl-btn-ghost:hover {
color: #fff;
background: rgba(255, 255, 255, .16);
transform: translateY(-1px);
}
.adl-register {
padding: 86px 0;
background: linear-gradient(180deg, #090909, #050505);
}
.adl-register-top {
padding: 18px 0 74px;
background: transparent;
}
.adl-register-top .adl-register-box {
max-width: 900px;
box-shadow: 0 20px 55px rgba(0, 0, 0, .42);
}
.adl-register .container {
width: 100%;
max-width: 1140px;
margin: 0 auto;
padding: 0 15px;
}
.adl-register-box {
max-width: 860px;
margin: 0 auto;
text-align: center;
padding: 40px 30px;
border-radius: 24px;
border: 1px solid rgba(249, 135, 21, .46);
background: radial-gradient(circle at 50% 0, rgba(249, 135, 21, .24), rgba(0, 0, 0, .28) 52%);
backdrop-filter: blur(3px);
}
.adl-register-box h2 {
font-size: 56px;
line-height: 64px;
color: #fff;
margin: 0 0 12px;
font-weight: 700;
}
.adl-register-box > p {
font-size: 20px;
line-height: 30px;
color: #fff;
margin: 0 0 28px;
opacity: .95;
font-weight: 400;
}
.adl-register-form {
max-width: 800px;
margin: 0 auto;
text-align: left;
background: rgba(255, 255, 255, .03);
border: 1px solid rgba(255, 255, 255, .12);
border-radius: 20px;
padding: 20px 18px 16px;
}
.adl-form-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 16px;
}
.adl-field label {
display: block;
font-size: 16px;
line-height: 24px;
margin: 0 0 8px;
color: #fff;
font-weight: 700;
letter-spacing: .01em;
}
.adl-field input,
.adl-country-wrap select {
width: 100%;
height: 54px;
border-radius: 14px;
border: 1px solid rgba(255, 255, 255, .24);
background: rgba(0, 0, 0, .55);
color: #fff;
padding: 0 14px;
font-size: 16px;
transition: border-color .18s, box-shadow .18s, background .18s;
box-sizing: border-box;
}
.adl-field input:focus,
.adl-country-wrap select:focus {
outline: none;
border-color: rgba(249, 135, 21, .7);
box-shadow: 0 0 0 3px rgba(249, 135, 21, .16);
}
.adl-phone-row {
display: block;
}
.adl-phone-wrapper {
display: flex;
align-items: center;
background: #111;
border: 1px solid #2a2a2a;
border-radius: 14px;
padding: 2px 10px;
position: relative;
height: 54px;
}
.adl-phone-wrapper:focus-within {
border-color: #F98715;
box-shadow: 0 0 0 3px rgba(249, 135, 21, .16);
}
.adl-country-select {
display: flex;
align-items: center;
gap: 8px;
border: 0;
background: transparent;
color: #fff;
font-size: 14px;
min-width: 92px;
padding: 0;
cursor: pointer;
}
.adl-country-flag {
font-size: 18px;
line-height: 1;
}
.adl-country-code {
font-size: 14px;
}
.adl-country-arrow {
font-size: 12px;
opacity: .7;
}
.adl-phone-input {
background: transparent !important;
border: 0 !important;
box-shadow: none !important;
flex: 1;
height: 44px !important;
padding: 8px 10px !important;
}
.adl-country-menu {
display: none;
position: absolute;
left: 0;
top: 56px;
width: 100%;
background: #1B1B1B;
border: 1px solid #333;
border-radius: 10px;
padding: 8px;
z-index: 30;
max-height: 260px;
overflow: hidden;
}
.adl-country-menu.open {
display: block;
}
.adl-country-search {
width: 100%;
height: 36px;
border: 1px solid #3a3a3a;
border-radius: 6px;
background: #3a3a3a;
color: #fff;
padding: 0 10px;
font-size: 14px;
margin-bottom: 8px;
box-sizing: border-box;
}
.adl-country-list {
max-height: 190px;
overflow: auto;
}
.adl-country-item {
display: flex;
align-items: center;
gap: 8px;
padding: 8px;
border-radius: 6px;
color: #fff;
font-size: 14px;
cursor: pointer;
}
.adl-country-item:hover {
background: #2a2a2a;
}
.adl-pass-wrap {
position: relative;
}
.adl-pass-wrap input {
padding-right: 50px;
}
.adl-eye-toggle {
position: absolute;
right: 14px;
top: 9px;
width: 36px;
height: 36px;
border: 0;
background: none;
color: rgba(249, 249, 249, .55);
line-height: 1;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: color .2s ease;
}
.adl-eye-icon {
width: 20px;
height: 20px;
stroke-width: 2;
}
.adl-eye-toggle:hover {
color: rgba(249, 249, 249, .85);
}
.adl-eye-toggle.is-visible {
color: var(--adl-primary);
}
.adl-code-row {
display: flex;
gap: 10px;
}
.adl-code-row input {
flex: 1;
}
.adl-code-row button {
white-space: nowrap;
font-size: 14px;
height: 50px;
padding: 0 18px;
}
.adl-check {
display: flex;
gap: 8px;
align-items: flex-start;
font-size: 14px;
line-height: 22px;
color: #fff;
margin: 10px 0 0;
cursor: pointer;
}
.adl-check input {
margin-top: 4px;
width: auto;
height: auto;
}
.adl-register-error {
display: none;
background: rgba(255, 92, 92, .12);
border: 1px solid rgba(255, 92, 92, .35);
border-radius: 10px;
padding: 10px 12px;
color: #fff;
font-size: 13px;
line-height: 20px;
margin: 8px 0 12px;
}
.adl-register-error.show {
display: block;
}
.adl-submit {
width: 300px !important;
max-width: 100% !important;
height: auto !important;
background: var(--adl-primary) !important;
color: #fff !important;
border: none !important;
border-radius: 12px !important;
padding: 12px 22px !important;
font-size: 16px !important;
font-weight: 700 !important;
line-height: 24px !important;
letter-spacing: 0 !important;
margin: 15px auto 0 !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
box-shadow: none !important;
}
.adl-login-hint {
margin: 10px 0 0;
text-align: center;
font-size: 14px !important;
line-height: 22.4px !important;
color: rgba(249, 249, 249, .75) !important;
font-weight: 400 !important;
}
.adl-login-hint a {
color: var(--adl-primary);
font-size: 14px !important;
font-weight: 400 !important;
text-decoration: none;
margin-left: 4px;
}
.adl-login-hint a:hover {
text-decoration: underline;
}
.adl-register-actions {
display: flex;
gap: 12px;
justify-content: center;
flex-wrap: wrap;
margin-top: 16px;
}
.adl-register-actions .adl-btn {
width: 300px;
max-width: 100%;
justify-content: center;
}
.adl-disclaimer {
margin-top: 14px !important;
font-size: 12px !important;
line-height: 20px !important;
opacity: .82;
}
/* Embedded in leading-v2 hero */
#leading-v2 .lv2-hero .adl-register-top {
padding: 0;
width: 100%;
}
#leading-v2 .lv2-hero .adl-register .container {
padding: 0;
max-width: none;
}
@media (max-width: 768px) {
.adl-register-box h2 {
font-size: 36px;
line-height: 44px;
}
.adl-register-box > p {
font-size: 16px;
line-height: 24px;
}
.adl-form-grid {
grid-template-columns: 1fr;
gap: 12px;
}
.adl-code-row {
flex-direction: column;
}
.adl-register-top {
padding-top: 20px;
}
.adl-register-top .adl-register-box {
padding: 24px 16px;
}
.adl-register-form {
padding: 14px 12px;
}
.adl-code-row input {
flex: unset;
}
#leading-v2 .lv2-hero .adl-register-top {
padding-top: 0;
}
}
+400
View File
@@ -0,0 +1,400 @@
/**
* Home hero carousel — scoped to #section-1.home-hero-carousel
* Source: Serena/Figma HeroCarousel.tsx (autoplay 5s, fade, pill dots)
*/
#homepage #section-1.home-hero-carousel {
position: relative;
overflow: hidden;
padding: 0;
margin: 0;
background: transparent;
--hero-inner-padding-bottom: 40px;
}
/* #homepage .home-hero-carousel__glow {
pointer-events: none;
position: absolute;
top: -120px;
left: 50%;
width: 140%;
max-width: 1600px;
height: 700px;
transform: translateX(-50%);
border-radius: 50%;
opacity: 0.7;
background: radial-gradient(
ellipse at center,
#f7931e 0%,
#88510f 18%,
#2b1905 40%,
transparent 70%
);
} */
#homepage .home-hero-carousel__inner {
position: relative;
z-index: 1;
max-width: 1128px;
margin: 0 auto;
padding: 48px 20px 56px;
}
@media (min-width: 768px) {
#homepage .home-hero-carousel__inner {
padding: 76px 32px 64px;
}
}
@media (min-width: 992px) {
#homepage .home-hero-carousel__inner {
padding: var(--hero-nav-gap) 32px
calc(var(--hero-coach-dots-gap) + var(--hero-dots-height) + var(--hero-inner-padding-bottom));
min-height: calc(
var(--hero-nav-gap) + var(--hero-slide1-viewport-height)
+ var(--hero-coach-dots-gap) + var(--hero-dots-height)
+ var(--hero-inner-padding-bottom)
);
}
}
#homepage .home-hero-carousel__viewport {
position: relative;
overflow: hidden;
height: 720px;
}
@media (min-width: 992px) {
#homepage .home-hero-carousel__viewport {
height: var(--hero-slide1-viewport-height);
overflow: hidden;
}
}
@media (max-width: 991.98px) {
#homepage .home-hero-carousel__viewport {
touch-action: pan-y;
}
}
#homepage .home-hero-carousel__slide {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 40px;
opacity: 0;
pointer-events: none;
position: absolute;
inset: 0;
transition: opacity 0.7s ease;
}
#homepage .home-hero-carousel__slide.is-active {
opacity: 1;
pointer-events: auto;
}
#homepage .home-hero-carousel__slide-grid {
display: flex;
flex-direction: column;
align-items: center;
gap: 40px;
width: 100%;
height: 100%;
}
@media (min-width: 992px) {
#homepage .home-hero-carousel__slide {
justify-content: flex-start;
}
#homepage .home-hero-carousel__slide-grid {
flex-direction: row;
align-items: flex-start;
justify-content: space-between;
gap: 48px;
height: 100%;
}
}
#homepage .home-hero-carousel__content {
display: flex;
flex-direction: column;
gap: 48px;
width: 100%;
max-width: 560px;
text-align: center;
}
@media (min-width: 992px) {
#homepage .home-hero-carousel__content {
text-align: left;
align-items: flex-start;
}
}
#homepage .home-hero-carousel__copy {
display: flex;
flex-direction: column;
gap: 24px;
}
#homepage .home-hero-carousel__heading-group {
display: flex;
flex-direction: column;
align-items: center;
gap: 8px;
}
@media (min-width: 992px) {
#homepage .home-hero-carousel__heading-group {
align-items: flex-start;
}
}
#homepage .home-hero-carousel__badge {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 8px 14px;
border-radius: 20px;
background: rgba(249, 135, 21, 0.4);
color: #f98715;
font-size: 16px;
line-height: 18px;
letter-spacing: -0.01em;
}
#homepage .home-hero-carousel__badge-icon {
flex-shrink: 0;
display: block;
width: 20px;
height: 20px;
object-fit: contain;
}
#homepage .home-hero-carousel__title {
margin: 0;
font-size: clamp(36px, 5vw, 54px);
line-height: 1.1;
letter-spacing: -0.01em;
font-weight: 800;
color: #fff;
}
#homepage .home-hero-carousel__desc {
margin: 0;
font-size: clamp(18px, 2.2vw, 20px);
line-height: 1.4;
color: #fff;
}
#homepage .home-hero-carousel__actions {
display: flex;
flex-direction: column;
align-items: stretch;
gap: 12px;
width: 100%;
}
@media (min-width: 576px) {
#homepage .home-hero-carousel__actions {
display: grid;
grid-template-columns: auto auto;
grid-template-rows: auto auto;
column-gap: 12px;
row-gap: 14px;
justify-content: center;
align-items: start;
width: auto;
}
#homepage .home-hero-carousel__actions .home-hero-carousel__btn--primary {
grid-column: 1;
grid-row: 1;
}
#homepage .home-hero-carousel__actions .home-hero-carousel__btn--ghost,
#homepage .home-hero-carousel__actions .home-hero-carousel__btn--ai-coach {
grid-column: 2;
grid-row: 1;
}
#homepage .home-hero-carousel__actions .home-hero-carousel__ai-coach {
grid-column: 1;
grid-row: 2;
justify-self: center;
}
}
#homepage .home-hero-carousel__ai-coach {
display: inline-flex;
align-items: center;
gap: 8px;
color: #fff;
font-size: 20px;
line-height: 20px;
text-decoration: underline;
text-underline-offset: 4px;
}
#homepage .home-hero-carousel__ai-coach:hover {
color: #fff;
text-decoration: underline;
opacity: 0.9;
}
#homepage .home-hero-carousel__ai-coach img {
display: block;
width: 48px;
height: 48px;
flex-shrink: 0;
object-fit: contain;
}
@media (min-width: 992px) {
#homepage .home-hero-carousel__actions {
justify-content: flex-start;
}
#homepage .home-hero-carousel__actions .home-hero-carousel__ai-coach {
justify-self: start;
}
}
#homepage .home-hero-carousel__btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
min-height: 56px;
padding: 16px 40px;
border-radius: 10px;
font-size: clamp(18px, 2vw, 20px);
font-weight: 500;
letter-spacing: -0.01em;
line-height: 1;
text-decoration: none;
transition: opacity 0.2s ease, background 0.2s ease;
}
#homepage .home-hero-carousel__btn--primary {
color: #fff;
background: #f98715;
}
#homepage .home-hero-carousel__btn--primary:hover {
opacity: 0.9;
color: #fff;
text-decoration: none;
}
#homepage .home-hero-carousel__btn--ghost {
color: #fff;
background: rgba(15, 15, 15, 0.5);
border: 1px solid #666;
}
#homepage .home-hero-carousel__btn--ghost:hover {
background: rgba(15, 15, 15, 0.8);
color: #fff;
text-decoration: none;
}
#homepage .home-hero-carousel__btn--ai-coach {
gap: 6px;
padding: 5px 20px 5px 8px;
}
#homepage .home-hero-carousel__btn--ai-coach img {
display: block;
width: 45px;
height: 45px;
flex-shrink: 0;
object-fit: contain;
object-position: left center;
margin-right: -6px;
}
#homepage .home-hero-carousel__visual {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
max-width: 520px;
}
#homepage .home-hero-carousel__visual img {
display: block;
width: 100%;
max-width: 440px;
height: auto;
object-fit: contain;
}
@media (min-width: 992px) {
#homepage .home-hero-carousel__visual img {
max-width: none;
}
}
#homepage .home-hero-carousel__dots {
position: absolute;
z-index: 2;
left: 20px;
right: 20px;
bottom: 32px;
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
margin-top: 0;
}
@media (min-width: 768px) {
#homepage .home-hero-carousel__dots {
left: 32px;
right: 32px;
bottom: 40px;
}
}
@media (min-width: 992px) {
#homepage .home-hero-carousel__dots {
top: calc(
var(--hero-nav-gap) + var(--hero-slide1-content-height) + var(--hero-coach-dots-gap)
);
bottom: auto;
left: 32px;
right: 32px;
margin-top: 0;
justify-content: flex-start;
}
}
#homepage .home-hero-carousel__dot {
width: 10px;
height: 10px;
padding: 0;
border: 0;
border-radius: 999px;
background: rgba(250, 250, 250, 0.4);
cursor: pointer;
transition: width 0.3s ease, background 0.3s ease;
}
#homepage .home-hero-carousel__dot:hover {
background: rgba(250, 250, 250, 0.6);
}
#homepage .home-hero-carousel__dot.is-active {
width: 40px;
background: #f98715;
}
@media (prefers-reduced-motion: reduce) {
#homepage .home-hero-carousel__slide,
#homepage .home-hero-carousel__dot {
transition: none;
}
}
+175
View File
@@ -0,0 +1,175 @@
/**
* Promo compare table module (copy from promotion-activity.css).
* Scope: wrap markup in #promo-compare-module or [data-promo-compare-module].
*
* Usage:
* <link href="../assets/css/modules/promo-compare.css" rel="stylesheet">
* <div id="promo-compare-module" class="promo-compare-module" data-promo-compare-module>
* <!-- paste section from pages/modules/promo-compare.section.html -->
* </div>
* Section glow: see docs/aifo-section-glow.md
*/
@import url("../aifo-section-glow.css");
#promo-compare-module {
--primary: #f98715;
--bg-card: #0e0e0e;
--border-muted: #989795;
--text-main: #f9f9f9;
--text-muted: #909090;
color: var(--text-main);
}
#promo-compare-module .promo-compare-module__page {
position: relative;
z-index: 1;
max-width: 1140px;
margin-left: auto;
margin-right: auto;
padding-left: 18px;
padding-right: 18px;
}
#promo-compare-module .promo-section {
position: relative;
padding: 72px 0;
}
#promo-compare-module .promo-section__title {
margin: 0 0 48px;
font-size: clamp(32px, 4.5vw, 60px);
line-height: 1.2;
font-weight: 700;
letter-spacing: -0.6px;
}
#promo-compare-module .promo-section__title .text-orange {
color: var(--primary);
}
#promo-compare-module .promo-section__title--center {
text-align: center;
max-width: 700px;
margin-left: auto;
margin-right: auto;
}
#promo-compare-module .promo-section--compare {
padding-top: 48px;
padding-bottom: 96px;
overflow: visible;
}
#promo-compare-module .compare-table {
position: relative;
z-index: 1;
max-width: 986px;
margin: 0 auto;
border: 0.5px solid var(--border-muted);
border-radius: 15px;
background: var(--bg-card);
overflow: hidden;
}
#promo-compare-module .compare-table__header,
#promo-compare-module .compare-table__row {
display: grid;
grid-template-columns: 1fr 1fr;
}
#promo-compare-module .compare-table__cell {
display: flex;
align-items: center;
gap: 14px;
min-height: 64px;
padding: 18px 28px;
font-size: 18px;
line-height: 1.35;
}
#promo-compare-module .compare-table__cell--other {
color: var(--text-muted);
border-right: 0.5px solid rgba(152, 151, 149, 0.35);
}
#promo-compare-module .compare-table__cell--aifo {
color: var(--text-main);
font-weight: 600;
background: linear-gradient(
90deg,
rgba(249, 135, 21, 0.04) 0%,
rgba(249, 135, 21, 0.1) 100%
);
}
#promo-compare-module .compare-table__cell--head {
min-height: 72px;
font-size: 16px;
font-weight: 700;
letter-spacing: 0.08em;
text-transform: uppercase;
}
#promo-compare-module .compare-table__cell--head.compare-table__cell--other {
color: #b3b3b3;
font-weight: 600;
}
#promo-compare-module .compare-table__cell--head.compare-table__cell--aifo {
color: var(--primary);
font-weight: 700;
background: linear-gradient(
90deg,
rgba(249, 135, 21, 0.08) 0%,
rgba(249, 135, 21, 0.16) 100%
);
}
#promo-compare-module .compare-table__row:not(:last-child) .compare-table__cell,
#promo-compare-module .compare-table__header .compare-table__cell {
border-bottom: 0.5px solid rgba(152, 151, 149, 0.28);
}
#promo-compare-module .compare-table__icon {
display: inline-flex;
flex-shrink: 0;
align-items: center;
justify-content: center;
width: 22px;
height: 22px;
}
#promo-compare-module .compare-table__icon svg {
display: block;
}
#promo-compare-module .compare-table__icon--no {
color: #e74c3c;
}
#promo-compare-module .compare-table__icon--yes {
color: #3ecf8e;
}
@media (max-width: 768px) {
#promo-compare-module .promo-section {
padding: 48px 0;
}
#promo-compare-module .promo-section__title {
font-size: 32px;
margin-bottom: 28px;
}
#promo-compare-module .compare-table__cell {
padding: 14px 16px;
font-size: 14px;
gap: 10px;
}
#promo-compare-module .compare-table__cell--head {
font-size: 11px;
min-height: 56px;
letter-spacing: 0.06em;
}
}