|
82 | 82 | .nav-toggle[aria-expanded="true"] .icon-close { display: block; } |
83 | 83 | .mobile-menu, .menu-backdrop { display: none; } |
84 | 84 |
|
| 85 | +/* Double 11 promo — scaled up to balance the hero display title */ |
| 86 | +.promo-banner { padding: 0 18px 92px; margin-top: 56px; } |
| 87 | +.promo-banner-inner { max-width: 1240px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 36px; padding: 36px 44px; background: linear-gradient(116deg,#f2f7ff 0%,#f3efff 100%); border: 1px solid #dbe2f2; border-radius: var(--rounded-lg); box-shadow: var(--shadow-lift); position: relative; overflow: hidden; } |
| 88 | +.promo-banner-inner::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 130% at 100% 0%,rgba(101,58,255,.09),transparent 60%),radial-gradient(50% 130% at 0% 100%,rgba(0,84,255,.08),transparent 60%); pointer-events: none; } |
| 89 | +.promo-banner-left { min-width: 0; position: relative; } |
| 90 | +.promo-banner-kicker { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px; } |
| 91 | +.promo-banner-kicker::before { content: ""; width: 28px; height: 2px; background: var(--blue); } |
| 92 | +.promo-banner h3 { font-size: 28px; font-weight: 500; letter-spacing: -1.2px; line-height: 1.25; color: #16171d; overflow-wrap: anywhere; margin: 0; text-wrap: balance; } |
| 93 | +.promo-banner h3 span { display: inline-block; color: var(--blue); margin: 0 0 0 4px; letter-spacing: -2px; vertical-align: baseline; } |
| 94 | +.promo-banner h3 span b { display: inline-block; font-size: 46px; font-weight: 500; line-height: .95; vertical-align: -6px; } |
| 95 | +.promo-banner h3 span i { display: inline-block; font-style: normal; font-size: 24px; font-weight: 500; margin-left: 2px; vertical-align: -1px; } |
| 96 | +.promo-banner-sub { margin-top: 10px; font-size: 14px; line-height: 1.7; color: var(--body); } |
| 97 | +.promo-banner-benefits { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; } |
| 98 | +.promo-banner-benefits span { padding: 6px 11px; border: 1px solid #dfe3f0; background: #fff; border-radius: 7px; font-size: 12px; color: var(--ink-2); line-height: 1.5; } |
| 99 | +.promo-banner-benefits span em { font-style: normal; color: var(--violet); font-weight: 500; } |
| 100 | +.promo-banner-cta { display: inline-flex; align-items: center; justify-content: center; height: 54px; padding: 0 34px; border-radius: 14px; background: #171717; color: #fff; font-size: 15px; text-decoration: none; flex: 0 0 auto; position: relative; box-shadow: 0 12px 28px -12px rgba(23,23,23,.4); transition: background .2s ease,transform .2s ease; } |
| 101 | +.promo-banner-cta:hover { background: #0054ff; color: #fff; transform: translateY(-1px); } |
| 102 | +@media (max-width: 768px) { |
| 103 | + .promo-banner { padding: 0 18px 64px; margin-top: 44px; } |
| 104 | + .promo-banner-inner { flex-direction: column; align-items: flex-start; gap: 20px; padding: 26px 24px; } |
| 105 | + .promo-banner h3 { font-size: 21px; letter-spacing: -.8px; } |
| 106 | + .promo-banner h3 span b { font-size: 33px; vertical-align: -4px; } |
| 107 | + .promo-banner h3 span i { font-size: 18px; vertical-align: -1px; } |
| 108 | + .promo-banner h3 br { display: none; } |
| 109 | + .promo-banner-sub { font-size: 13px; } |
| 110 | + .promo-banner-benefits { margin-top: 12px; } |
| 111 | + .promo-banner-cta { width: 100%; height: 50px; } |
| 112 | +} |
| 113 | +@media (prefers-reduced-motion: reduce) { .promo-banner * { transition: none; } } |
| 114 | + |
85 | 115 | /* Hero — quiet canvas, display title, separate liquid panel */ |
86 | 116 | .hero { padding: 92px 18px 0; text-align: center; background: var(--canvas); overflow: hidden; } |
87 | 117 | .hero-content { max-width: 940px; width: 100%; margin: 0 auto; } |
@@ -418,22 +448,17 @@ <h1>Born open, <span class="gradient-text">ship AI together</span>.</h1> |
418 | 448 | <a href="https://github.com/modelstudioai" class="button outline" target="_blank" rel="noopener">查看 GitHub</a> |
419 | 449 | </div> |
420 | 450 | </div> |
421 | | - <div class="hero-stage" aria-label="从 Qwen Code 到阿里云百炼的工作流"> |
422 | | - <div class="hero-stage-glass"> |
423 | | - <div class="hero-stage-ui"> |
424 | | - <div class="hero-stage-top"> |
425 | | - <span class="hero-stage-title">Open agent workflow</span> |
426 | | - <span class="hero-stage-status">tools connected</span> |
427 | | - </div> |
428 | | - <p class="hero-stage-prompt">“帮我分析这个需求,选择合适的模型并完成交付。”</p> |
429 | | - <div class="hero-stage-flow"> |
430 | | - <div class="hero-stage-node"><b>Qwen Code</b><span>理解任务 · 调度工具</span></div> |
431 | | - <div class="hero-stage-node"><b>Skills</b><span>组织步骤 · 约束流程</span></div> |
432 | | - <div class="hero-stage-node"><b>ModelStudio CLI</b><span>调用模型 · 执行操作</span></div> |
433 | | - <div class="hero-stage-node"><b>阿里云百炼</b><span>模型服务 · 云上能力</span></div> |
| 451 | + <div class="promo-banner"> |
| 452 | + <div class="promo-banner-inner"> |
| 453 | + <div class="promo-banner-left"> |
| 454 | + <div class="promo-banner-kicker">Double 11 · Token Plan</div> |
| 455 | + <h3>Token Plan 双 11 钜惠,低至<span><b>5</b><i>折</i></span></h3> |
| 456 | + <p class="promo-banner-sub">「模型 + Agent 工具」一次配齐。</p> |
| 457 | + <div class="promo-banner-benefits" aria-label="优惠内容"> |
| 458 | + <span>低至 <em>5 折</em></span><span>年度钜惠</span> |
434 | 459 | </div> |
435 | | - <div class="hero-stage-foot"><span>Open source · composable · reproducible</span><strong>READY</strong></div> |
436 | 460 | </div> |
| 461 | + <a class="promo-banner-cta" href="https://bailian.console.aliyun.com/cn-beijing/subscription/overview" target="_blank" rel="noopener">立即抢购 <span aria-hidden="true">↗</span></a> |
437 | 462 | </div> |
438 | 463 | </div> |
439 | 464 | </section> |
|
0 commit comments