diff --git a/assets/css/about-us-2.css b/assets/css/about-us-2.css index 5ff697d..39917de 100644 --- a/assets/css/about-us-2.css +++ b/assets/css/about-us-2.css @@ -36,44 +36,7 @@ color: var(--primary); } -/* ── Buttons ── */ -#about-us-2 .au2-btn { - display: inline-flex; - align-items: center; - justify-content: center; - gap: 8px; - border: none; - border-radius: 10px; - padding: 16px 32px; - min-height: 52px; - font-size: 16px; - font-weight: 500; - letter-spacing: -0.16px; - color: var(--text-main); - background: var(--primary); - text-decoration: none; - cursor: pointer; - transition: background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; -} - -#about-us-2 .au2-btn:hover { - background: var(--primary-hover); - box-shadow: inset 0 5px 10px rgba(249, 135, 21, 0.6), 0 5px 10px rgba(249, 135, 21, 0.6); - color: var(--text-main); - text-decoration: none; -} - -#about-us-2 .au2-btn--outline { - background: rgba(15, 15, 15, 0.5); - border: 0.657px solid #666; - box-shadow: none; -} - -#about-us-2 .au2-btn--outline:hover { - background: rgba(249, 135, 21, 0.08); - border-color: var(--primary); - box-shadow: none; -} +/* Buttons: see assets/css/aifo-btn.css */ /* ── Shared typography ── */ #about-us-2 .au2-label { @@ -81,7 +44,6 @@ font-size: 14px; font-weight: 600; letter-spacing: 0.08em; - text-transform: uppercase; color: var(--primary); } @@ -116,7 +78,7 @@ position: relative; display: flex; justify-content: center; - padding: 72px 0 64px; + padding: 120px 0 120px; text-align: center; } @@ -135,7 +97,7 @@ #about-us-2 .au2-hero__inner { position: relative; z-index: 1; - max-width: 720px; + max-width: 1200px; } #about-us-2 .au2-hero__title { @@ -148,7 +110,7 @@ #about-us-2 .au2-hero__desc { margin: 0 auto 32px; - max-width: 620px; + max-width: 975px; font-size: clamp(16px, 2.2vw, 20px); line-height: 1.55; font-weight: 400; @@ -173,7 +135,7 @@ #about-us-2 .au2-intro__title { margin: 0 0 20px; - font-size: clamp(28px, 4vw, 40px); + font-size: clamp(28px, 4vw, 36px); line-height: 1.2; font-weight: 700; letter-spacing: -0.4px; @@ -186,6 +148,13 @@ color: var(--text-muted); } +#about-us-2 .au2-intro__text-item { + color: var(--text-muted); + font-size: 16px; + line-height: 20px; + font-weight: 400; +} + #about-us-2 .au2-intro__visual img { display: block; width: 100%; @@ -197,38 +166,39 @@ /* ── Stats ── */ #about-us-2 .au2-stats { - padding: 0 0 72px; + padding: 0 0 80px; } -#about-us-2 .au2-stats__bar { - display: grid; - grid-template-columns: repeat(4, 1fr); - gap: 0; - padding: 40px 24px; - border-radius: 16px; - background: url("../images/backgrounds/bg_key_states.png") center / 100% 100% no-repeat; - border: 0.5px solid rgba(152, 151, 149, 0.22); -} - -#about-us-2 .au2-stats__item { - position: relative; +#about-us-2 .au2-stats__title { + margin: 0 0 40px; + font-size: clamp(28px, 4vw, 40px); + line-height: 1.2; + font-weight: 700; + letter-spacing: -0.4px; text-align: center; - padding: 0 16px; } -#about-us-2 .au2-stats__item:not(:last-child)::after { - content: ""; - position: absolute; - right: 0; - top: 50%; - transform: translateY(-50%); - width: 1px; - height: 48px; - background: rgba(255, 255, 255, 0.13); +#about-us-2 .au2-stats__grid { + display: grid; + grid-template-columns: repeat(4, minmax(0, 1fr)); + gap: 20px; +} + +#about-us-2 .au2-stats__card { + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + min-height: 140px; + padding: 40px 20px; + border-radius: 14px; + background: #1c1c1e; + border: 0.5px solid rgba(152, 151, 149, 0.18); + text-align: center; } #about-us-2 .au2-stats__value { - margin: 0 0 6px; + margin: 0 0 8px; font-size: clamp(24px, 3vw, 34px); font-weight: 800; line-height: 1.2; @@ -237,212 +207,353 @@ #about-us-2 .au2-stats__label { margin: 0; - font-size: 12px; + font-size: 13px; line-height: 1.4; - color: rgba(255, 255, 255, 0.6); + color: rgba(255, 255, 255, 0.55); } -/* ── CTA Banner ── */ +/* ── CTA Banner (Serena / Figma export) ── */ #about-us-2 .au2-cta { - position: relative; - margin: 0 0 72px; - padding: 64px 32px; - border-radius: 20px; - text-align: center; - overflow: hidden; - border: 0.5px solid rgba(152, 151, 149, 0.22); - background: rgba(12, 12, 12, 0.85); + padding: 70px 0 70px; } -#about-us-2 .au2-cta__glow { +#about-us-2 .au2-cta__panel { + position: relative; + overflow: hidden; + border-radius: 20px; + border: 0.5px solid rgba(102, 102, 102, 0.5); + background: #0e0e0e url('../images/demo/about/rd_bg.png') center / cover no-repeat; +} + +#about-us-2 .au2-cta__top-glow { position: absolute; - top: 50%; + top: -13px; left: 50%; - width: 80%; - height: 200px; - transform: translate(-50%, -50%); - background: radial-gradient(ellipse at center, rgba(249, 135, 21, 0.3) 0%, transparent 70%); + width: min(90%, 440px); + height: 26px; + transform: translateX(-50%); + border-radius: 999px; + background: #f9a215; + opacity: 0.4; + filter: blur(40px); pointer-events: none; - z-index: 0; } #about-us-2 .au2-cta__inner { position: relative; z-index: 1; - max-width: 560px; - margin: 0 auto; + display: flex; + flex-direction: column; + align-items: center; + gap: 40px; + padding: 40px 24px; + text-align: center; +} + +#about-us-2 .au2-cta__copy { + display: flex; + flex-direction: column; + align-items: center; + gap: 16px; + max-width: 1000px; +} + +@media (min-width: 768px) { + #about-us-2 .au2-cta__inner { + padding: 40px 65px; + } } #about-us-2 .au2-cta__title { - margin: 0 0 16px; - font-size: clamp(28px, 4vw, 40px); - line-height: 1.2; + margin: 0; + font-size: clamp(28px, 4vw, 36px); + line-height: 1.35; font-weight: 700; + letter-spacing: -0.36px; + color: #fff; } #about-us-2 .au2-cta__desc { - margin: 0 0 28px; - font-size: 16px; - line-height: 1.55; - color: var(--text-muted); + margin: 0; + max-width: 1000px; + font-size: clamp(16px, 2.2vw, 24px); + line-height: 1.35; + font-weight: 300; + letter-spacing: -0.24px; + color: #ccc; +} + +#about-us-2 .au2-cta .aifo-btn { + min-width: 225px; + border-radius: 12px; + font-size: 20px; } /* ── Core Values ── */ #about-us-2 .au2-values { - padding: 0 0 72px; + position: relative; + padding: 40px 0 80px; + overflow: hidden; +} + +#about-us-2 .au2-values__glow { + position: absolute; + top: 0; + left: 50%; + width: 120%; + height: 500px; + transform: translateX(-50%); + border-radius: 50%; + background: #f9a215; + opacity: 0.25; + filter: blur(180px); + pointer-events: none; +} + +#about-us-2 .au2-values__title { + position: relative; + z-index: 1; + margin: 0 0 40px; + font-size: clamp(36px, 6vw, 75px); + line-height: 1.2; + font-weight: 700; + letter-spacing: -0.75px; + text-align: center; + color: #f9f9f9; } #about-us-2 .au2-values__grid { + position: relative; + z-index: 1; display: grid; - grid-template-columns: repeat(3, 1fr); - gap: 24px; - margin-top: 48px; + grid-template-columns: 1fr; + gap: 20px; +} + +@media (min-width: 640px) { + #about-us-2 .au2-values__grid { + grid-template-columns: repeat(3, minmax(0, 1fr)); + } } #about-us-2 .au2-value-card { - padding: 32px 28px; - border-radius: 16px; - border: 0.5px solid rgba(152, 151, 149, 0.35); - background: var(--bg-card); - transition: border-color 0.2s ease, box-shadow 0.2s ease; + position: relative; + display: flex; + flex-direction: column; + align-items: center; + gap: 24px; + overflow: hidden; + padding: 60px 28px; + border-radius: 20px; + border: 1px solid rgba(255, 255, 255, 0.3); + background: #231f20 url('../images/demo/about/od_bg.png') center / 100% 100% no-repeat; + text-align: center; } -#about-us-2 .au2-value-card:hover { - border-color: rgba(249, 135, 21, 0.4); - box-shadow: 0 8px 32px rgba(249, 135, 21, 0.08); +#about-us-2 .au2-value-card::before { + content: ""; + position: absolute; + top: 70px; + left: 50%; + width: 300px; + height: 300px; + transform: translateX(-50%); + border-radius: 50%; + background: #f98715; + opacity: 0.12; + filter: blur(70px); + pointer-events: none; } #about-us-2 .au2-value-card__icon { + position: relative; + z-index: 1; display: flex; align-items: center; justify-content: center; - width: 56px; - height: 56px; - margin-bottom: 20px; - border-radius: 12px; - background: rgba(249, 135, 21, 0.1); + width: 87px; + height: 89px; + flex-shrink: 0; } #about-us-2 .au2-value-card__icon img { display: block; - width: 32px; - height: 32px; + width: 100%; + height: 100%; } #about-us-2 .au2-value-card__title { - margin: 0 0 12px; - font-size: 22px; - font-weight: 700; - line-height: 1.3; + position: relative; + z-index: 1; + margin: 0; + font-size: 20px; + font-weight: 600; + line-height: 1.25; + letter-spacing: -0.2px; + color: #f9f9f9; } #about-us-2 .au2-value-card__text { + position: relative; + z-index: 1; margin: 0; - font-size: 15px; - line-height: 1.65; - color: var(--text-muted); + font-size: 14px; + font-weight: 300; + line-height: 1.43; + letter-spacing: -0.14px; + color: #f9f9f9; } /* ── Testimonials ── */ #about-us-2 .au2-testimonials { - padding: 0 0 72px; + padding: 40px 0 80px; } -#about-us-2 .au2-testimonials__grid { - display: grid; - grid-template-columns: repeat(3, 1fr); - gap: 24px; +#about-us-2 .au2-testimonials__title { + margin: 0 0 24px; + font-size: clamp(32px, 5vw, 48px); + line-height: 1.2; + font-weight: 700; + letter-spacing: -0.48px; + text-align: center; + color: #f9f9f9; +} + +#about-us-2 .au2-testimonials__desc { + margin: 0 auto 40px; + max-width: 680px; + font-size: clamp(16px, 2.2vw, 20px); + line-height: 1.5; + font-weight: 300; + text-align: center; + color: #ccc; +} + +#about-us-2 .au2-testimonials__marquee { + position: relative; + width: 100vw; + margin-left: calc(50% - 50vw); + overflow: hidden; + padding: 16px 0; +} + +#about-us-2 .au2-testimonials__rows { + display: flex; + flex-direction: column; + gap: 16px; +} + +#about-us-2 .au2-testimonials__row { + display: flex; + align-items: center; +} + +#about-us-2 .au2-testimonials__track { + display: flex; + flex-shrink: 0; + gap: 16px; + padding: 0 8px; + animation: au2-marquee-x var(--duration, 125s) linear infinite; + will-change: transform; +} + +#about-us-2 .au2-testimonials__track--reverse { + animation-direction: reverse; +} + +#about-us-2 .au2-testimonials__marquee:hover .au2-testimonials__track { + animation-play-state: paused; +} + +@keyframes au2-marquee-x { + from { + transform: translateX(0); + } + to { + transform: translateX(-100%); + } +} + +#about-us-2 .au2-testimonials__fade { + position: absolute; + top: 0; + bottom: 0; + width: 96px; + z-index: 2; + pointer-events: none; +} + +#about-us-2 .au2-testimonials__fade--left { + left: 0; + background: linear-gradient(to right, var(--bg-page, #070400) 0%, transparent 100%); +} + +#about-us-2 .au2-testimonials__fade--right { + right: 0; + background: linear-gradient(to left, var(--bg-page, #070400) 0%, transparent 100%); } #about-us-2 .au2-testimonial { - padding: 24px; - border-radius: 15px; - border: 0.5px solid var(--border-muted); - background: var(--bg-card); + display: flex; + flex-direction: column; + gap: 14px; + flex-shrink: 0; + width: min(360px, 85vw); + min-height: 160px; + padding: 24px 16px; + border-radius: 16px; + background: #231f20; } -#about-us-2 .au2-testimonial--wide { - grid-column: span 2; +@media (min-width: 640px) { + #about-us-2 .au2-testimonial { + width: min(500px, 42vw); + } +} + +@media (prefers-reduced-motion: reduce) { + #about-us-2 .au2-testimonials__track { + animation: none; + } } #about-us-2 .au2-testimonial__head { display: flex; align-items: center; - gap: 12px; - margin-bottom: 16px; + gap: 8px; } -#about-us-2 .au2-testimonial__flag.fi { - width: 28px; - height: 20px; - line-height: 20px; - border-radius: 2px; - overflow: hidden; +#about-us-2 .au2-testimonial__avatar { + display: inline-flex; + align-items: center; + justify-content: center; flex-shrink: 0; - background-size: cover; + width: 44px; + height: 44px; + border-radius: 50%; + background: #f98715; + font-size: 18px; + font-weight: 800; + letter-spacing: -0.18px; + color: #fff; } #about-us-2 .au2-testimonial__name { margin: 0; - font-size: 18px; + font-size: 20px; font-weight: 600; - line-height: 1.3; -} - -#about-us-2 .au2-testimonial__meta { - margin: 2px 0 0; - font-size: 14px; - color: var(--text-muted); + line-height: 1.2; + letter-spacing: -0.2px; + color: #fff; } #about-us-2 .au2-testimonial__quote { margin: 0; - font-size: 15px; - line-height: 1.7; - font-weight: 300; - color: var(--text-muted); -} - -/* ── Support ── */ -#about-us-2 .au2-support { - display: grid; - grid-template-columns: 1fr 1fr; - align-items: center; - gap: 48px; - padding: 48px 0 0; -} - -#about-us-2 .au2-support__title { - margin: 0 0 16px; - font-size: clamp(28px, 4vw, 36px); - line-height: 1.2; - font-weight: 700; -} - -#about-us-2 .au2-support__desc { - margin: 0 0 28px; - font-size: 16px; - line-height: 1.55; - color: var(--text-muted); -} - -#about-us-2 .au2-support__actions { - display: flex; - flex-wrap: wrap; - gap: 16px; -} - -#about-us-2 .au2-support__visual { - display: flex; - justify-content: center; - align-items: center; -} - -#about-us-2 .au2-support__visual img { - display: block; - width: min(100%, 360px); - height: auto; - filter: drop-shadow(0 0 40px rgba(249, 135, 21, 0.35)); + font-size: 12px; + font-weight: 500; + line-height: 1.17; + letter-spacing: 0.24px; + color: #ccc; } /* ── Responsive ── */ @@ -456,39 +567,9 @@ order: -1; } - #about-us-2 .au2-stats__bar { - grid-template-columns: repeat(2, 1fr); - gap: 32px 16px; - background-image: url("../images/backgrounds/bg_key_states_mb.png"); - } - - #about-us-2 .au2-stats__item:nth-child(2)::after { - display: none; - } - - #about-us-2 .au2-stats__item:nth-child(odd):not(:last-child)::after { - display: block; - } - - #about-us-2 .au2-values__grid { - grid-template-columns: 1fr; - } - - #about-us-2 .au2-testimonials__grid { - grid-template-columns: 1fr; - } - - #about-us-2 .au2-testimonial--wide { - grid-column: span 1; - } - - #about-us-2 .au2-support { - grid-template-columns: 1fr; - text-align: center; - } - - #about-us-2 .au2-support__actions { - justify-content: center; + #about-us-2 .au2-stats__grid { + grid-template-columns: repeat(2, minmax(0, 1fr)); + gap: 16px; } } @@ -504,32 +585,41 @@ padding-bottom: 40px; } - #about-us-2 .au2-hero__actions, - #about-us-2 .au2-support__actions { + #about-us-2 .au2-hero__actions { flex-direction: column; align-items: center; } - #about-us-2 .au2-btn { + #about-us-2 .au2-hero__actions .aifo-btn { width: 100%; max-width: 280px; } - #about-us-2 .au2-stats__bar { - padding: 32px 16px; + #about-us-2 .au2-stats__grid { + grid-template-columns: 1fr; + gap: 12px; } - #about-us-2 .au2-stats__item::after { - display: none !important; + #about-us-2 .au2-stats__card { + min-height: 120px; + padding: 32px 20px; } #about-us-2 .au2-cta { - padding: 48px 20px; - margin-bottom: 48px; + padding-bottom: 48px; + } + + #about-us-2 .au2-cta__inner { + gap: 24px; + padding: 32px 20px; } #about-us-2 .au2-values, #about-us-2 .au2-testimonials { padding-bottom: 48px; } + + #about-us-2 .au2-value-card { + padding: 40px 24px; + } } diff --git a/assets/css/aifo-btn.css b/assets/css/aifo-btn.css new file mode 100644 index 0000000..a3605f4 --- /dev/null +++ b/assets/css/aifo-btn.css @@ -0,0 +1,121 @@ +/** + * AIFO universal CTA buttons (V2 pages). + * + * Usage: + * Join AIFO + * Begin Learning + * + * Modifiers: + * --primary / --outline visual style + * --arrow right arrow (design default for primary CTAs) + * --sm smaller padding + * + * Arrow is optional — only add --arrow when the design shows it. + */ + +:root { + --aifo-btn-primary: #f98715; + --aifo-btn-primary-hover: #f9a215; + --aifo-btn-text: #f9f9f9; + --aifo-btn-radius: 10px; + --aifo-btn-gap: 8px; +} + +.aifo-btn { + display: inline-flex; + align-items: center; + justify-content: center; + gap: var(--aifo-btn-gap); + border: none; + border-radius: var(--aifo-btn-radius); + padding: 16px 32px; + min-height: 52px; + font-size: 16px; + font-weight: 500; + letter-spacing: -0.16px; + line-height: 1; + color: var(--aifo-btn-text); + background: var(--aifo-btn-primary); + text-decoration: none; + cursor: pointer; + transition: + background 0.2s ease, + box-shadow 0.2s ease, + border-color 0.2s ease, + color 0.2s ease; +} + +.aifo-btn:hover, +.aifo-btn:focus-visible { + background: var(--aifo-btn-primary-hover); + box-shadow: + inset 0 5px 10px rgba(249, 135, 21, 0.6), + 0 5px 10px rgba(249, 135, 21, 0.6); + color: var(--aifo-btn-text); + text-decoration: none; +} + +.aifo-btn--primary { + /* default .aifo-btn appearance */ +} + +.aifo-btn--outline { + background: rgba(15, 15, 15, 0.5); + border: 0.657px solid #666; + box-shadow: none; +} + +.aifo-btn--outline:hover, +.aifo-btn--outline:focus-visible { + background: rgba(249, 135, 21, 0.08); + border-color: var(--aifo-btn-primary); + box-shadow: none; + color: var(--aifo-btn-text); +} + +.aifo-btn--sm { + padding: 12px 24px; + min-height: 44px; + font-size: 14px; +} + +/* Right arrow — same stroke as home-hero-carousel / Figma */ +.aifo-btn--arrow::after { + content: ""; + flex-shrink: 0; + width: 16px; + height: 16px; + background-color: currentColor; + -webkit-mask: url("../images/icons/arrow-right.svg") center / contain no-repeat; + mask: url("../images/icons/arrow-right.svg") center / contain no-repeat; + transition: transform 0.2s ease; +} + +.aifo-btn--arrow:hover::after, +.aifo-btn--arrow:focus-visible::after { + transform: translateX(3px); +} + +/* Optional: explicit child icon (when ::after is not enough, e.g. + + + + + diff --git a/components/snippets/aifo-btn.html b/components/snippets/aifo-btn.html new file mode 100644 index 0000000..e3dd192 --- /dev/null +++ b/components/snippets/aifo-btn.html @@ -0,0 +1,24 @@ + +Join AIFO + + +Begin Learning + + + diff --git a/docs/Figma实现新页面.md b/docs/Figma实现新页面.md new file mode 100644 index 0000000..9164749 --- /dev/null +++ b/docs/Figma实现新页面.md @@ -0,0 +1,10 @@ +根据 Figma 实现新页面 [页面名]: +[Figma 链接] +技术要求: +1. 所有 CTA 按钮必须使用公共组件 assets/css/aifo-btn.css,参考 components/snippets/aifo-btn.html +2. 橙色主按钮:class="aifo-btn aifo-btn--primary",设计稿右侧有箭头时再加 aifo-btn--arrow +3. 描边/次要按钮:class="aifo-btn aifo-btn--outline",默认不加箭头 +4. 禁止新建页面私有按钮类(如 xx-btn、au2-btn),禁止内联 SVG 箭头 +5. 页面 head 引入: +6. 布局/导航复用现有模式:layout.js + aifo-page-bg.css(如适用) +完成后加入 page-index 导航。 \ No newline at end of file diff --git a/index.html b/index.html index aa85ed8..2190527 100644 --- a/index.html +++ b/index.html @@ -88,11 +88,14 @@ aria-roledescription="carousel" aria-label="Homepage hero" > - - -
- - -
-

- Ready To Become A Prop Trader? -

-

- Join thousands of traders who are scaling their skills with AIFO's transparent funding programs. -

- Get Started +
+
+ +
+
+

+ Ready To Become A Prop Trader? +

+

+ Join today by registering, purchasing a challenge, and progressing to a funded account. +

+
+ Get Funded +
-

Our Core Values

+ +

+ Our Core Values +

Education

- Empowering traders with practical learning resources, expert guidance, and tools that turn - market knowledge into consistent performance. + Education sits at the heart of everything we do. We are committed to helping traders build the knowledge, skills, and market understanding needed to navigate the financial markets with confidence.

Community

- A supportive network where traders share insights, learn together, and celebrate every step - of the journey toward funded trading success. + Trading should never be a journey taken alone. AIFO is creating a global community where traders can access support, exchange knowledge, and grow together through shared learning and collaboration.

Innovation

- Cutting-edge technology and AI-powered guidance that help you trade with confidence, manage - risk, and stay within the rules. + Innovation is central to our vision. Through AI and technology, we develop tools that help traders learn, grow, and make more informed decisions.

-
-

- What Traders Are Saying +
+

+ What Traders Are Saying

-

- Hear from real traders who have passed challenges and received payouts with AIFO. +

+ Don't just take our word for it. Hear directly from traders who have experienced AIFO for themselves.

-
+
+ +
+ +
+
- -
-
-

Not found what you're looking for?

-

Chat with us directly or send us an email — we're here to help.

- -
- -
+

@@ -256,5 +227,8 @@ + + + diff --git a/pages/modules/home-hero-carousel.section.html b/pages/modules/home-hero-carousel.section.html index e236caa..6bee90a 100644 --- a/pages/modules/home-hero-carousel.section.html +++ b/pages/modules/home-hero-carousel.section.html @@ -6,11 +6,14 @@ aria-roledescription="carousel" aria-label="Homepage hero" > - -
diff --git a/pages/partnership.html b/pages/partnership.html index 648eac1..8a0099d 100644 --- a/pages/partnership.html +++ b/pages/partnership.html @@ -10,21 +10,24 @@ + -
+
-
-

+ + +
+

Partnership Program

- Choose the partnership model that fits your audience. Drive qualified traffic and grow with AIFO. + Choose the partnership model that fits your audience. Drive qualified sales and grow with AIFO.

- Become a Partner + Become AIFO partner
@@ -33,27 +36,53 @@

-

5%

-

Commission

-

30–50 referrals

+
+
+

Tier 1

+

20 - 49 qualified sales / month

+
+ +
+ +
+ 5% + Commission +
+
-

10%

-

Commission

-

50–100 referrals

+
+
+

Tier 2

+

50 - 99 qualified sales / month

+
+ +
+ +
+ 10% + Commission +
+
+

+ Qualified sales exclude refunds, chargebacks, fraud, self-referrals, invalid traffic, coupon arbitrage, and other non-qualifying activity. +

@@ -62,68 +91,69 @@
-
-
-
-

- How it Works + How It Works

-
-
-
-
-
-
-