udpate
This commit is contained in:
@@ -0,0 +1,374 @@
|
||||
/* AIFO Free Retry Landing — page-specific */
|
||||
|
||||
#aifo-free-retry-landing .aifo-page-bg {
|
||||
padding-top: 0;
|
||||
--aifo-page-content-offset: 0;
|
||||
}
|
||||
|
||||
/* Hero banner — flush under nav, full-width stage */
|
||||
#aifo-free-retry-landing .free-retry-hero {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#aifo-free-retry-landing .free-retry-hero__stage {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
background: #000;
|
||||
}
|
||||
|
||||
#aifo-free-retry-landing .free-retry-hero__banner {
|
||||
position: relative;
|
||||
max-width: 1140px;
|
||||
margin: 0 auto;
|
||||
overflow: hidden;
|
||||
background: #000;
|
||||
}
|
||||
|
||||
#aifo-free-retry-landing .free-retry-hero__banner-media {
|
||||
display: contents;
|
||||
}
|
||||
|
||||
#aifo-free-retry-landing .free-retry-hero__banner-img {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
/* Figma Rectangle 467 — bottom fade (927×99, top 265px @ 1140px, vertical) */
|
||||
#aifo-free-retry-landing .free-retry-hero__banner::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 50%;
|
||||
width: 81.32%;
|
||||
max-width: 927px;
|
||||
height: clamp(60px, 26%, 99px);
|
||||
transform: translateX(-50%);
|
||||
background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000 100%);
|
||||
pointer-events: none;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
/* Figma Rectangle 466 — right edge fade (364×296, left 905px @ 1140px frame) */
|
||||
#aifo-free-retry-landing .free-retry-hero__banner::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
width: 31.93%;
|
||||
max-width: 364px;
|
||||
height: 100%;
|
||||
background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, #000 100%);
|
||||
pointer-events: none;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
#aifo-free-retry-landing .free-retry-hero__content {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
z-index: 3;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
width: min(100%, 52%);
|
||||
max-width: 520px;
|
||||
padding: clamp(24px, 4.5vw, 48px) clamp(20px, 3.5vw, 40px);
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
#aifo-free-retry-landing .free-retry-hero__banner {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/*
|
||||
* 原图左侧 ~35% 为桌面文案留白;移动端通过放大 + 左移裁掉留白,不修改原图。
|
||||
* 可视区域 ≈ 原图 x: 35%–100%,人物更居中。
|
||||
*/
|
||||
#aifo-free-retry-landing .free-retry-hero__banner-media {
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
width: 100%;
|
||||
height: clamp(160px, 42vw, 240px);
|
||||
}
|
||||
|
||||
#aifo-free-retry-landing .free-retry-hero__banner-img {
|
||||
width: 154%;
|
||||
max-width: none;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
object-position: 100% center;
|
||||
margin-left: -54%;
|
||||
}
|
||||
|
||||
#aifo-free-retry-landing .free-retry-hero__banner::after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#aifo-free-retry-landing .free-retry-hero__banner::before {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#aifo-free-retry-landing .free-retry-hero__content {
|
||||
position: relative;
|
||||
inset: auto;
|
||||
width: 100%;
|
||||
max-width: none;
|
||||
justify-content: flex-start;
|
||||
padding: 20px 16px 28px;
|
||||
background: #000;
|
||||
}
|
||||
|
||||
#aifo-free-retry-landing .free-retry-hero__eyebrow,
|
||||
#aifo-free-retry-landing .free-retry-hero__title {
|
||||
font-size: clamp(26px, 7vw, 36px);
|
||||
}
|
||||
|
||||
#aifo-free-retry-landing .free-retry-hero__subtitle {
|
||||
font-size: clamp(18px, 4.5vw, 24px);
|
||||
}
|
||||
|
||||
#aifo-free-retry-landing .free-retry-hero__note {
|
||||
max-width: none;
|
||||
}
|
||||
}
|
||||
|
||||
#aifo-free-retry-landing .free-retry-hero .landing-v2-page {
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
#aifo-free-retry-landing .free-retry-hero .landing-countdown {
|
||||
margin-top: 28px;
|
||||
margin-bottom: 60px;
|
||||
}
|
||||
|
||||
#aifo-free-retry-landing .landing-countdown__digit {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
#aifo-free-retry-landing .landing-countdown {
|
||||
gap: 4px;
|
||||
--landing-countdown-digit-w: 36px;
|
||||
--landing-countdown-digit-h: 54px;
|
||||
}
|
||||
|
||||
#aifo-free-retry-landing .landing-countdown [data-countdown-days],
|
||||
#aifo-free-retry-landing .landing-countdown [data-countdown-hours],
|
||||
#aifo-free-retry-landing .landing-countdown [data-countdown-mins],
|
||||
#aifo-free-retry-landing .landing-countdown [data-countdown-secs] {
|
||||
gap: 2px;
|
||||
}
|
||||
|
||||
#aifo-free-retry-landing .landing-countdown__digit {
|
||||
font-size: 26px;
|
||||
}
|
||||
|
||||
#aifo-free-retry-landing .landing-countdown__sep {
|
||||
font-size: 14px;
|
||||
padding: 0 1px;
|
||||
}
|
||||
}
|
||||
|
||||
#aifo-free-retry-landing .free-retry-hero__eyebrow {
|
||||
margin: 0 0 4px;
|
||||
font-size: 45px;
|
||||
font-weight: 700;
|
||||
line-height: 1.2;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#aifo-free-retry-landing .free-retry-hero__title {
|
||||
margin: 0;
|
||||
font-size: 45px;
|
||||
line-height: 1.1;
|
||||
font-weight: 700;
|
||||
letter-spacing: -0.02em;
|
||||
}
|
||||
|
||||
#aifo-free-retry-landing .free-retry-hero__subtitle {
|
||||
margin: 10px 0 0;
|
||||
font-size: 30px;
|
||||
font-weight: 600;
|
||||
line-height: 1.35;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#aifo-free-retry-landing .free-retry-hero__badges {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 20px;
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
#aifo-free-retry-landing .free-retry-hero__badge {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-width: 64px;
|
||||
padding: 8px 30px;
|
||||
border-radius: 8px;
|
||||
background: var(--aifo-btn-primary);
|
||||
font-size: 15px;
|
||||
font-weight: 700;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#aifo-free-retry-landing .free-retry-hero__note {
|
||||
margin: 16px 0 0;
|
||||
max-width: 480px;
|
||||
font-size: 16px;
|
||||
line-height: 1.55;
|
||||
color: rgba(255, 255, 255, 0.55);
|
||||
}
|
||||
|
||||
/* How Free Retry Works — page overrides (shared claim layout: modules/claim-steps.css) */
|
||||
#aifo-free-retry-landing .clain-section .claim-item:nth-child(1) {
|
||||
background-image: url("../images/backgrounds/new-user-claim-01.png");
|
||||
}
|
||||
|
||||
#aifo-free-retry-landing .clain-section .claim-item:nth-child(2) {
|
||||
background-image: url("../images/backgrounds/new-user-claim-02.png");
|
||||
}
|
||||
|
||||
#aifo-free-retry-landing .clain-section .claim-item:nth-child(3) {
|
||||
background-image: url("../images/backgrounds/new-user-claim-03.png");
|
||||
}
|
||||
|
||||
#aifo-free-retry-landing .clain-section .landing-section__title {
|
||||
margin-bottom: 82px;
|
||||
}
|
||||
|
||||
#aifo-free-retry-landing .clain-section .landing-section__tagline {
|
||||
margin-top: 48px;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
#aifo-free-retry-landing .clain-section .landing-section__cta {
|
||||
margin-top: 40px;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
/* Mobile: match new-user-promotion — unified card bg + step-mark img (not desktop 01/02/03) */
|
||||
#aifo-free-retry-landing .clain-section .claim-item:nth-child(1),
|
||||
#aifo-free-retry-landing .clain-section .claim-item:nth-child(2),
|
||||
#aifo-free-retry-landing .clain-section .claim-item:nth-child(3) {
|
||||
background-image: url("../images/backgrounds/new-user-claim-card-bg-mobile.png");
|
||||
}
|
||||
|
||||
#aifo-free-retry-landing .clain-section .landing-section__title {
|
||||
margin-bottom: 28px;
|
||||
}
|
||||
|
||||
#aifo-free-retry-landing .clain-section .landing-section__tagline {
|
||||
margin-top: 40px;
|
||||
}
|
||||
|
||||
#aifo-free-retry-landing .clain-section .landing-section__cta {
|
||||
margin-top: 32px;
|
||||
}
|
||||
}
|
||||
|
||||
/* One Purchase Two Chances */
|
||||
#aifo-free-retry-landing .landing-chances {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#aifo-free-retry-landing .landing-chances__list {
|
||||
margin: 0 auto 40px;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
|
||||
}
|
||||
|
||||
#aifo-free-retry-landing .landing-chances__list li {
|
||||
font-size: clamp(18px, 2.63vw, 20px);
|
||||
line-height: 1.588;
|
||||
font-weight: 400;
|
||||
letter-spacing: 0;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#aifo-free-retry-landing .landing-chances__flow {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: clamp(12px, 5vw, 112px);
|
||||
flex-wrap: nowrap;
|
||||
max-width: 1100px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
#aifo-free-retry-landing .landing-chances__node {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 14px;
|
||||
flex: 0 1 auto;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
#aifo-free-retry-landing .landing-chances__icon-img {
|
||||
display: block;
|
||||
width: clamp(88px, 14vw, 120px);
|
||||
height: auto;
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
#aifo-free-retry-landing .landing-chances__label {
|
||||
margin: 0;
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
line-height: 1.35;
|
||||
color: var(--text-main);
|
||||
max-width: 140px;
|
||||
}
|
||||
|
||||
#aifo-free-retry-landing .landing-chances__arrow {
|
||||
flex-shrink: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 12px;
|
||||
height: 33px;
|
||||
}
|
||||
|
||||
#aifo-free-retry-landing .landing-chances__arrow img {
|
||||
display: block;
|
||||
width: 12px;
|
||||
height: 33px;
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
#aifo-free-retry-landing .landing-chances__flow {
|
||||
flex-direction: column;
|
||||
gap: 16px;
|
||||
max-width: 240px;
|
||||
}
|
||||
|
||||
#aifo-free-retry-landing .landing-chances__arrow {
|
||||
transform: rotate(90deg);
|
||||
}
|
||||
|
||||
#aifo-free-retry-landing .landing-chances__list {
|
||||
padding: 0 12px;
|
||||
}
|
||||
|
||||
#aifo-free-retry-landing .free-retry-hero__badge {
|
||||
min-width: 56px;
|
||||
padding: 7px 14px;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
#aifo-free-retry-landing .landing-chances__icon-img {
|
||||
width: clamp(96px, 28vw, 120px);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user