|
8 | 8 | <link rel="icon" href="assets/hicode-logo.jpg" type="image/jpeg" /> |
9 | 9 | <style> |
10 | 10 | :root { |
11 | | - --bg: #171310; |
12 | | - --card: rgba(255, 248, 235, 0.06); |
13 | | - --line: rgba(255, 230, 190, 0.16); |
14 | | - --accent: #d9ae6b; |
15 | | - --accent-soft: rgba(217, 174, 107, .16); |
16 | | - --text: #f5ecdd; |
17 | | - --muted: #b4a488; |
18 | | - --dim: #86775d; |
19 | | - --radius: 16px; |
20 | | - --glass-bg: linear-gradient(140deg, rgba(255, 252, 244, .62), rgba(255, 249, 240, .30)); |
21 | | - --glass-line: rgba(255, 246, 230, .8); |
22 | | - --glass-text: #3a2f1e; |
23 | | - --glass-muted: #5b4f38; |
24 | | - --glass-dim: #7f7054; |
| 11 | + --bg: #0a0a0c; |
| 12 | + --surface: rgba(255, 255, 255, .035); |
| 13 | + --surface-strong: rgba(255, 255, 255, .06); |
| 14 | + --line: rgba(255, 255, 255, .08); |
| 15 | + --line-strong: rgba(255, 255, 255, .16); |
| 16 | + --text: #f5f5f7; |
| 17 | + --muted: #a1a1a6; |
| 18 | + --dim: #6e6e73; |
| 19 | + --accent: #c7a56b; |
| 20 | + --accent-ink: #171309; |
| 21 | + --radius: 14px; |
25 | 22 | } |
26 | 23 | * { margin: 0; padding: 0; box-sizing: border-box; } |
27 | 24 | html { scroll-behavior: smooth; } |
28 | 25 | body { |
29 | 26 | background: var(--bg); |
30 | | - background-image: |
31 | | - radial-gradient(72% 54% at 16% 12%, rgba(228, 186, 116, .32), transparent 62%), |
32 | | - radial-gradient(62% 48% at 86% 72%, rgba(211, 150, 120, .26), transparent 60%), |
33 | | - radial-gradient(120% 80% at 50% 0%, #2a1d0d 0%, transparent 62%); |
| 27 | + background-image: radial-gradient(80% 50% at 50% 0%, rgba(255, 255, 255, .05), transparent 60%); |
34 | 28 | color: var(--text); |
35 | 29 | font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif; |
36 | 30 | line-height: 1.8; |
37 | 31 | overflow-x: hidden; |
38 | 32 | -webkit-font-smoothing: antialiased; |
39 | 33 | } |
40 | 34 | a { color: inherit; text-decoration: none; } |
41 | | - ::selection { background: rgba(217, 174, 107, .3); } |
| 35 | + ::selection { background: rgba(199, 165, 107, .28); } |
42 | 36 |
|
43 | | - .container { width: min(980px, 90%); margin: 0 auto; } |
| 37 | + .container { width: min(1000px, 90%); margin: 0 auto; } |
44 | 38 |
|
45 | 39 | .glass { |
46 | 40 | position: relative; |
47 | | - background: var(--glass-bg); |
48 | | - border: 1px solid var(--glass-line); |
| 41 | + background: var(--surface); |
| 42 | + border: 1px solid var(--line); |
49 | 43 | border-radius: var(--radius); |
50 | | - -webkit-backdrop-filter: blur(24px) saturate(200%) brightness(1.12); |
51 | | - backdrop-filter: blur(24px) saturate(200%) brightness(1.12); |
52 | | - box-shadow: 0 18px 50px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .7), inset 0 -16px 32px rgba(255, 255, 255, .3); |
53 | | - color: var(--glass-text); |
54 | | - } |
55 | | - .glass::before { |
56 | | - content: ""; |
57 | | - position: absolute; left: 10%; right: 10%; top: 0; height: 1px; |
58 | | - background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .9), transparent); |
| 44 | + box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 12px 32px rgba(0, 0, 0, .28); |
| 45 | + color: var(--text); |
| 46 | + transition: border-color .25s, transform .25s; |
59 | 47 | } |
60 | 48 |
|
61 | 49 | /* ===== 导航 ===== */ |
62 | 50 | header { position: sticky; top: 0; z-index: 30; padding: 14px 0; |
63 | | - background: linear-gradient(180deg, rgba(255, 252, 244, .78), rgba(255, 252, 244, .4)); |
64 | | - -webkit-backdrop-filter: blur(22px) saturate(190%); backdrop-filter: blur(22px) saturate(190%); |
65 | | - border-bottom: 1px solid var(--glass-line); } |
| 51 | + background: rgba(10, 10, 12, .72); |
| 52 | + -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); |
| 53 | + border-bottom: 1px solid var(--line); } |
66 | 54 | .nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 6px 0; } |
67 | | - .brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 18px; letter-spacing: .5px; } |
68 | | - .brand img { width: 34px; height: 34px; border-radius: 10px; object-fit: cover; } |
69 | | - .nav-links { display: flex; gap: 30px; color: var(--muted); font-size: 14.5px; } |
| 55 | + .brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 18px; letter-spacing: .5px; color: var(--text); } |
| 56 | + .brand img { width: 34px; height: 34px; border-radius: 9px; object-fit: cover; } |
| 57 | + .nav-links { display: flex; gap: 32px; color: var(--muted); font-size: 14.5px; } |
70 | 58 | .nav-links a { transition: color .2s; } |
71 | 59 | .nav-links a:hover { color: var(--text); } |
72 | | - .nav-cta { padding: 9px 22px; border-radius: 999px; background: var(--accent); color: #241a10; |
73 | | - font-size: 14px; font-weight: 700; transition: opacity .2s, transform .2s; } |
74 | | - .nav-cta:hover { opacity: .9; transform: translateY(-1px); } |
| 60 | + .nav-cta { padding: 9px 22px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); |
| 61 | + font-size: 14px; font-weight: 600; transition: opacity .2s, transform .2s; } |
| 62 | + .nav-cta:hover { opacity: .88; } |
75 | 63 |
|
76 | | - /* ===== Hero:大留白,纯排版 ===== */ |
| 64 | + /* ===== Hero ===== */ |
77 | 65 | .hero { padding: 150px 0 170px; } |
78 | | - .hero .badge { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; } |
79 | | - .hero .badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); } |
80 | | - .hero h1 { margin: 28px 0 0; max-width: 720px; font-size: clamp(40px, 6vw, 76px); line-height: 1.12; |
| 66 | + .hero .badge { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; |
| 67 | + padding: 7px 16px; border: 1px solid var(--line); border-radius: 999px; } |
| 68 | + .hero .badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); } |
| 69 | + .hero h1 { margin: 28px 0 0; max-width: 760px; font-size: clamp(40px, 6vw, 76px); line-height: 1.12; |
81 | 70 | font-weight: 800; letter-spacing: .5px; } |
82 | 71 | .hero h1 .accent { color: var(--accent); } |
83 | | - .hero .sub { margin-top: 28px; max-width: 560px; color: var(--muted); font-size: 17px; } |
| 72 | + .hero .sub { margin-top: 28px; max-width: 580px; color: var(--muted); font-size: 17px; } |
84 | 73 | .hero .sub b { color: var(--text); font-weight: 600; } |
85 | 74 | .hero .ctas { margin-top: 44px; display: flex; gap: 16px; flex-wrap: wrap; } |
86 | | - .btn { padding: 14px 34px; border-radius: 999px; font-size: 15px; font-weight: 700; transition: opacity .2s, transform .2s; } |
87 | | - .btn.primary { background: var(--accent); color: #241a10; } |
88 | | - .btn.primary:hover { opacity: .9; } |
89 | | - .btn.secondary { border: 1px solid var(--line); color: var(--text); } |
90 | | - .btn.secondary:hover { border-color: var(--accent); } |
| 75 | + .btn { padding: 14px 34px; border-radius: 999px; font-size: 15px; font-weight: 600; transition: opacity .2s, transform .2s, border-color .2s; } |
| 76 | + .btn.primary { background: var(--accent); color: var(--accent-ink); } |
| 77 | + .btn.primary:hover { opacity: .9; transform: translateY(-1px); } |
| 78 | + .btn.secondary { border: 1px solid var(--line-strong); color: var(--text); } |
| 79 | + .btn.secondary:hover { border-color: rgba(255, 255, 255, .34); } |
91 | 80 | .hero .hint { margin-top: 40px; font-size: 13px; color: var(--dim); } |
92 | 81 | .hero .hint a { color: var(--muted); border-bottom: 1px dashed currentColor; } |
| 82 | + .hero .hint a:hover { color: var(--text); } |
93 | 83 |
|
94 | 84 | /* ===== 板块 ===== */ |
95 | 85 | section { padding: 120px 0; } |
96 | 86 | section + section { border-top: 1px solid var(--line); } |
97 | | - .sec-head { margin-bottom: 64px; max-width: 620px; } |
| 87 | + .sec-head { margin-bottom: 64px; max-width: 640px; } |
98 | 88 | .sec-head.center { margin-left: auto; margin-right: auto; text-align: center; } |
99 | 89 | .sec-head .eyebrow { font-size: 13px; letter-spacing: 3px; text-transform: uppercase; color: var(--accent); } |
100 | 90 | .sec-head h2 { margin: 14px 0 12px; font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: .5px; } |
101 | 91 | .sec-head p { color: var(--muted); font-size: 16px; } |
102 | 92 |
|
103 | | - /* 特点 */ |
104 | | - .features { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; } |
105 | | - .feat { padding: 32px 30px; transition: border-color .2s, transform .2s; } |
106 | | - .feat:hover { border-color: rgba(217, 174, 107, .4); transform: translateY(-3px); } |
107 | | - .feat .ico { font-size: 26px; margin-bottom: 18px; } |
108 | | - .feat h3 { font-size: 19px; margin-bottom: 8px; font-weight: 700; } |
109 | | - .feat p { color: var(--muted); font-size: 14.5px; } |
110 | | - |
111 | | - /* 人群 */ |
| 93 | + /* 特点 / 技术 / 人群卡片 */ |
| 94 | + .features, .tech { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; } |
112 | 95 | .people { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; } |
113 | | - .person { padding: 30px 28px; transition: border-color .2s, transform .2s; } |
114 | | - .person:hover { border-color: rgba(217, 174, 107, .4); transform: translateY(-3px); } |
115 | | - .person .em { font-size: 26px; } |
| 96 | + .feat, .tech-item, .person { transition: border-color .25s, transform .25s; } |
| 97 | + .feat:hover, .tech-item:hover, .person:hover { border-color: var(--line-strong); transform: translateY(-3px); } |
| 98 | + .feat { padding: 32px 30px; } |
| 99 | + .feat .ico, .tech-item .ico, .person .em { font-size: 26px; margin-bottom: 18px; } |
| 100 | + .feat h3 { font-size: 19px; margin-bottom: 8px; font-weight: 700; } |
| 101 | + .feat p, .person p, .tech-item p { color: var(--muted); font-size: 14.5px; } |
| 102 | + .person { padding: 30px 28px; } |
116 | 103 | .person h3 { font-size: 18px; margin: 14px 0 8px; font-weight: 700; } |
117 | | - .person p { color: var(--muted); font-size: 14.5px; } |
| 104 | + .tech-item { padding: 32px 30px; } |
| 105 | + .tech-item h3 { font-size: 18px; margin-bottom: 8px; font-weight: 700; } |
| 106 | + .tech-item .tag { font-size: 12px; color: var(--dim); margin-bottom: 14px; display: block; width: fit-content; |
| 107 | + border: 1px solid var(--line); border-radius: 999px; padding: 2px 12px; text-transform: uppercase; letter-spacing: 1px; } |
118 | 108 |
|
119 | 109 | .quote { max-width: 640px; margin: 90px auto 0; text-align: center; } |
120 | | - .quote p { font-size: clamp(20px, 2.6vw, 26px); font-weight: 600; line-height: 1.7; } |
| 110 | + .quote p { font-size: clamp(20px, 2.6vw, 26px); font-weight: 600; line-height: 1.7; color: var(--text); } |
121 | 111 | .quote .who { margin-top: 18px; color: var(--dim); font-size: 14px; } |
122 | 112 |
|
123 | | - /* 技术 */ |
124 | | - .tech { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; } |
125 | | - .tech-item { padding: 32px 30px; transition: border-color .2s, transform .2s; } |
126 | | - .tech-item:hover { border-color: rgba(217, 174, 107, .4); transform: translateY(-3px); } |
127 | | - .tech-item .ico { font-size: 26px; margin-bottom: 18px; } |
128 | | - .tech-item .tag { font-size: 12px; color: var(--dim); margin-bottom: 14px; display: block; } |
129 | | - .tech-item h3 { font-size: 18px; margin-bottom: 8px; font-weight: 700; } |
130 | | - .tech-item p { color: var(--muted); font-size: 14.5px; } |
131 | | - |
132 | | - /* 路线图 */ |
133 | | - .roadmap { max-width: 640px; margin: 0 auto; } |
| 113 | + /* ===== 路线图 ===== */ |
| 114 | + .roadmap { max-width: 640px; margin: 0 auto; padding-left: 20px; border-left: 1px solid var(--line); } |
134 | 115 | .phase { display: flex; gap: 26px; padding: 8px 0 52px; } |
135 | 116 | .phase:last-child { padding-bottom: 0; } |
136 | 117 | .phase .node { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 50%; background: var(--accent); |
137 | | - color: #241a10; display: grid; place-items: center; font-size: 16px; font-weight: 800; } |
| 118 | + color: var(--accent-ink); display: grid; place-items: center; font-size: 16px; font-weight: 700; } |
138 | 119 | .phase h3 { font-size: 20px; font-weight: 700; margin: 2px 0 6px; } |
139 | | - .phase .step-tag { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--dim); } |
| 120 | + .phase .step-tag { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); } |
140 | 121 | .phase p { color: var(--muted); font-size: 15px; } |
141 | 122 |
|
142 | | - /* 常见问题 */ |
| 123 | + /* ===== 常见问题 ===== */ |
143 | 124 | .faq-list { max-width: 680px; margin: 0 auto; display: grid; gap: 14px; } |
144 | 125 | details.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; |
145 | 126 | gap: 16px; padding: 22px 28px; font-size: 16px; font-weight: 600; } |
146 | 127 | details.faq summary::-webkit-details-marker { display: none; } |
147 | | - details.faq[open] { border-color: rgba(217, 174, 107, .4); } |
| 128 | + details.faq[open] { border-color: var(--line-strong); } |
148 | 129 | details.faq summary .pl { color: var(--accent); font-size: 20px; font-weight: 400; } |
149 | 130 | details.faq .a { padding: 0 28px 24px; color: var(--muted); font-size: 15px; } |
150 | 131 |
|
|
155 | 136 | .foot h4 { font-size: 14px; margin-bottom: 18px; color: var(--text); } |
156 | 137 | .foot ul { list-style: none; } |
157 | 138 | .foot li, .foot p { color: var(--muted); font-size: 14px; margin-bottom: 10px; } |
158 | | - .foot a:hover { color: var(--accent); } |
| 139 | + .foot a:hover { color: var(--text); } |
159 | 140 | .foot .email { color: var(--accent); } |
160 | 141 | .disclaim { margin-top: 64px; padding: 28px 0 0; border-top: 1px solid var(--line); |
161 | 142 | color: var(--dim); font-size: 12.5px; line-height: 2; } |
162 | 143 | .disclaim b { color: var(--muted); } |
163 | 144 |
|
164 | 145 | /* ===== 渐显 ===== */ |
165 | | - [data-reveal] { opacity: 0; transform: translateY(26px) scale(.995); transition: opacity 1.1s cubic-bezier(.22,.68,.28,1), transform 1.1s cubic-bezier(.22,.68,.28,1); } |
| 146 | + [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 1s cubic-bezier(.22,.68,.28,1), transform 1s cubic-bezier(.22,.68,.28,1); } |
166 | 147 | [data-reveal].is-visible { opacity: 1; transform: none; } |
167 | | - .stagger-box > * { opacity: 0; transform: translateY(30px); transition: opacity .95s cubic-bezier(.22,.68,.28,1), transform .95s cubic-bezier(.22,.68,.28,1); } |
| 148 | + .stagger-box > * { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.22,.68,.28,1), transform .9s cubic-bezier(.22,.68,.28,1); } |
168 | 149 | .stagger-box > *.is-visible { opacity: 1; transform: none; } |
169 | 150 |
|
170 | | - /* ===== 浅色玻璃内容文字(深色字体保证可读) ===== */ |
171 | | - header .brand { color: var(--glass-text); } |
172 | | - header .nav-links a { color: rgba(70, 56, 36, .78); } |
173 | | - header .nav-links a:hover { color: var(--glass-text); } |
174 | | - .glass h3 { color: var(--glass-text); } |
175 | | - .glass p { color: var(--glass-muted); } |
176 | | - .glass summary { color: var(--glass-text); } |
177 | | - .glass .a { color: var(--glass-muted); } |
178 | | - .glass .tag { color: var(--glass-dim); } |
179 | | - .glass .feat p, .glass .person p, .glass .tech-item p { color: var(--glass-muted); } |
180 | | - |
181 | 151 | @media (max-width: 820px) { |
182 | 152 | .nav-links { display: none; } |
183 | 153 | .hero { padding: 90px 0 110px; } |
@@ -364,7 +334,7 @@ <h4>联系我们</h4> |
364 | 334 | }, { threshold: 0.1 }); |
365 | 335 | document.querySelectorAll("[data-reveal]").forEach(el => io.observe(el)); |
366 | 336 |
|
367 | | - /* 卡片组错峰渐显(液态玻璃质感进入) */ |
| 337 | + /* 卡片组错峰渐显 */ |
368 | 338 | document.querySelectorAll(".stagger-box").forEach(box => { |
369 | 339 | const kids = Array.prototype.slice.call(box.children); |
370 | 340 | const ob = new IntersectionObserver((entries, self) => { |
|
0 commit comments