仰望星辰工作室

better-staridc-MNBT

Z zfhsh first commit 2 个月前
1/**
2 * TDesign 主页/售卖前端全局样式
3 * 落地页 / 顶栏 / 页脚按 guanwang1(科技企业官网)风格移植:
4 * - 绿色主色 #42b983、浅色背景、圆角卡片、扁平留白
5 * - 轮播 hero、核心优势、新闻预览、客户评价区块
6 * 其余页面(套餐 / 余额 / 账户 / 官网内容)沿用 hd-* 通用类
7 */
8
9:root {
10 --hd-brand: #42b983;
11 --hd-brand-light: #e6f7f0;
12 --hd-brand-dark: #359c6d;
13 --hd-text: #181818;
14 --hd-text-2: #595959;
15 --hd-text-3: #8c8c8c;
16 --hd-border: #e7e7e7;
17 --hd-bg: #ffffff;
18 --hd-surface: #ffffff;
19 --hd-radius: 6px;
20 --hd-radius-lg: 10px;
21 --hd-radius-xl: 16px;
22 --hd-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.04);
23 --hd-shadow-lg: 0 8px 28px rgba(15, 23, 42, 0.08);
24 --hd-ease: cubic-bezier(0.4, 0, 0.2, 1);
25 --hd-dur: 0.2s;
26
27 /* 覆盖 TDesign 品牌色为官网绿色(仅 home scope 生效)
28 * 必须完整覆盖调色板 --td-brand-color-1~10 及派生变量,
29 * 否则组件默认色仍读取默认蓝色系 */
30 --td-brand-color-1: #e6f7f0;
31 --td-brand-color-2: #c9efe0;
32 --td-brand-color-3: #9fdfc3;
33 --td-brand-color-4: #6fcfa3;
34 --td-brand-color-5: #4bc18e;
35 --td-brand-color-6: #42b983;
36 --td-brand-color-7: #359c6d;
37 --td-brand-color-8: #2c815c;
38 --td-brand-color-9: #23674a;
39 --td-brand-color-10: #1a4d38;
40 --td-brand-color: #42b983;
41 --td-brand-color-hover: #359c6d;
42 --td-brand-color-active: #2c815c;
43 --td-brand-color-focus: rgba(66, 185, 131, 0.2);
44 --td-brand-color-disabled: rgba(66, 185, 131, 0.4);
45 --td-brand-color-light: #e6f7f0;
46 --td-brand-color-light-hover: #c9efe0;
47 --td-text-color-brand: #42b983;
48 --td-text-color-link: #359c6d;
49 /* 兼容旧命名(部分组件仍引用) */
50 --td-brand: #42b983;
51 --td-brand-light: #e6f7f0;
52 --td-brand-dark: #359c6d;
53 --td-brand-hover: #359c6d;
54 --td-brand-active: #2c815c;
55 --td-brand-focus: rgba(66, 185, 131, 0.2);
56}
57
58/* ============ 布局容器 ============ */
59.hd-shell {
60 display: flex;
61 flex-direction: column;
62 min-height: 100vh;
63 background: #fff;
64}
65
66/* guanwang1 容器:1200px */
67.container {
68 max-width: 1200px;
69 margin: 0 auto;
70 padding: 0 20px;
71}
72
73/* 兼容旧页面容器(与 container 统一宽度) */
74.hd-container {
75 max-width: 1200px;
76 margin: 0 auto;
77 padding: 0 20px;
78}
79
80/* ============ 顶栏(guanwang1 Header 移植) ============ */
81.hd-nav {
82 background: rgba(255, 255, 255, 0.8);
83 backdrop-filter: blur(10px);
84 -webkit-backdrop-filter: blur(10px);
85 box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
86 position: sticky;
87 top: 0;
88 z-index: 100;
89}
90
91.hd-nav-inner {
92 display: flex;
93 justify-content: space-between;
94 align-items: center;
95 height: 70px;
96 gap: 16px;
97}
98
99.hd-brand {
100 display: flex;
101 align-items: center;
102 gap: 10px;
103 text-decoration: none;
104}
105.hd-brand:hover { text-decoration: none; }
106
107.hd-brand h1 {
108 color: #42b983;
109 margin: 0;
110 font-size: 24px;
111 font-weight: 700;
112}
113
114.hd-brand-logo {
115 width: 28px;
116 height: 28px;
117 object-fit: contain;
118}
119
120.hd-nav-right {
121 display: flex;
122 align-items: center;
123 gap: 18px;
124}
125
126.hd-nav-list {
127 display: flex;
128 align-items: center;
129 list-style: none;
130 margin: 0;
131 padding: 0;
132 gap: 30px;
133}
134
135.hd-nav-list a {
136 text-decoration: none;
137 color: #333;
138 font-weight: 500;
139 font-size: 14px;
140 transition: color 0.3s;
141 position: relative;
142}
143
144.hd-nav-list a:hover,
145.hd-nav-list a.active {
146 color: #42b983;
147 text-decoration: none;
148}
149
150.hd-nav-list a::after {
151 content: '';
152 position: absolute;
153 bottom: -5px;
154 left: 0;
155 width: 0;
156 height: 2px;
157 background-color: #42b983;
158 transition: width 0.3s;
159}
160
161.hd-nav-list a:hover::after,
162.hd-nav-list a.active::after {
163 width: 100%;
164}
165
166.hd-nav-actions {
167 display: flex;
168 align-items: center;
169 gap: 8px;
170 flex-shrink: 0;
171}
172
173.hd-user-name {
174 font-size: 13px;
175 color: #666;
176 margin-right: 2px;
177}
178
179/* 用户中心入口(user_info 独立后台) */
180.hd-account-link {
181 display: inline-flex;
182 align-items: center;
183 gap: 4px;
184 font-size: 13px;
185 color: #1f7a4d;
186 font-weight: 600;
187 padding: 4px 10px;
188 border-radius: 6px;
189 text-decoration: none;
190 transition: background var(--td-dur, 0.2s) ease, color var(--td-dur, 0.2s) ease;
191}
192.hd-account-link:hover {
193 background: rgba(31, 122, 77, 0.08);
194 text-decoration: none;
195}
196.hd-account-link i {
197 font-size: 16px;
198}
199
200.hd-menu-toggle {
201 display: none;
202 flex-direction: column;
203 cursor: pointer;
204 background: none;
205 border: none;
206 padding: 6px;
207}
208.hd-menu-toggle span {
209 width: 25px;
210 height: 3px;
211 background-color: #333;
212 margin: 3px 0;
213 transition: 0.3s;
214}
215.hd-menu-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
216.hd-menu-toggle.active span:nth-child(2) { opacity: 0; }
217.hd-menu-toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
218
219/* ============ 主内容 ============ */
220.hd-main {
221 flex: 1;
222}
223
224/* ============ 页脚(guanwang1 Footer 移植) ============ */
225.hd-footer {
226 background-color: #f8f9fa;
227 color: #333;
228 padding: 40px 0 20px;
229 margin-top: auto;
230}
231
232.hd-footer-content {
233 display: flex;
234 justify-content: space-between;
235 flex-wrap: wrap;
236 margin-bottom: 40px;
237 gap: 30px;
238}
239
240.hd-footer-section {
241 flex: 1;
242 min-width: 250px;
243 margin-bottom: 20px;
244 padding: 20px;
245 background-color: #fff;
246 border: 1px solid #e9ecef;
247}
248
249.hd-footer-section h3,
250.hd-footer-section h4 {
251 color: #2c3e50;
252 margin-bottom: 15px;
253 padding-bottom: 10px;
254 border-bottom: 2px solid #42b983;
255}
256.hd-footer-section h3 { margin-top: 0; font-size: 20px; }
257.hd-footer-section h4 { margin-top: 0; font-size: 16px; }
258
259.hd-footer-section p,
260.hd-footer-section li {
261 color: #666;
262 line-height: 1.6;
263}
264
265.hd-footer-section ul {
266 list-style: none;
267 padding: 0;
268 margin: 0;
269}
270
271.hd-footer-section li {
272 margin-bottom: 8px;
273}
274
275.hd-footer-section a {
276 text-decoration: none;
277 color: #666;
278 transition: color 0.3s;
279 position: relative;
280}
281
282.hd-quick-links a {
283 color: #42b983;
284}
285
286.hd-footer-section a::after {
287 content: '';
288 position: absolute;
289 bottom: -2px;
290 left: 0;
291 width: 0;
292 height: 1px;
293 background: #42b983;
294 transition: width 0.3s ease;
295}
296
297.hd-footer-section a:hover {
298 color: #42b983;
299}
300.hd-footer-section a:hover::after {
301 width: 100%;
302}
303
304.hd-social-links {
305 display: flex;
306 gap: 15px;
307 margin-top: 20px;
308}
309
310.hd-social-link {
311 display: flex;
312 align-items: center;
313 justify-content: center;
314 width: 36px;
315 height: 36px;
316 color: #666;
317 font-size: 18px;
318 transition: all 0.3s ease;
319 text-decoration: none;
320 border-radius: 4px;
321}
322.hd-social-link:hover {
323 color: #42b983;
324 transform: translateY(-2px);
325}
326
327.hd-contact-item {
328 display: flex;
329 align-items: center;
330 margin-bottom: 15px;
331}
332.hd-contact-item .icon {
333 font-size: 18px;
334 margin-right: 15px;
335 width: 24px;
336 text-align: center;
337 color: #42b983;
338}
339
340.hd-footer-bottom {
341 border-top: 1px solid #e9ecef;
342 padding-top: 20px;
343 text-align: center;
344 color: #666;
345 display: flex;
346 flex-direction: column;
347 align-items: center;
348 gap: 10px;
349}
350
351.hd-footer-beians {
352 display: flex;
353 gap: 20px;
354 font-size: 14px;
355}
356.hd-footer-beians a {
357 color: #666;
358 text-decoration: none;
359 display: flex;
360 align-items: center;
361 gap: 5px;
362 transition: color 0.3s ease;
363}
364.hd-footer-beians a:hover {
365 color: #42b983;
366}
367
368.hd-back-to-top {
369 display: flex;
370 align-items: center;
371 gap: 5px;
372 background-color: #e9ecef;
373 padding: 8px 15px;
374 cursor: pointer;
375 transition: all 0.3s ease;
376 border: none;
377 font-size: 14px;
378}
379.hd-back-to-top:hover {
380 background-color: #42b983;
381 color: white;
382}
383
384/* ============ 落地页(guanwang1 Home 移植) ============ */
385.home {
386 flex: 1;
387}
388
389.section {
390 padding: 80px 0;
391}
392
393.section-header {
394 text-align: center;
395 margin-bottom: 50px;
396}
397
398.section-title {
399 font-size: 2rem;
400 margin-bottom: 20px;
401 color: #333;
402 position: relative;
403 padding-bottom: 15px;
404 font-weight: 700;
405}
406
407.section-title:after {
408 content: '';
409 position: absolute;
410 bottom: 0;
411 left: 50%;
412 transform: translateX(-50%);
413 width: 50px;
414 height: 3px;
415 background-color: #42b983;
416}
417
418.section-subtitle {
419 font-size: 1.1rem;
420 color: #666;
421 max-width: 700px;
422 margin: 0 auto;
423 line-height: 1.6;
424}
425
426/* ---- Hero 轮播 ---- */
427.hero {
428 position: relative;
429 color: white;
430 height: 500px;
431 animation: hdFadeIn 0.8s ease-out;
432}
433
434.carousel {
435 position: absolute;
436 top: 0;
437 left: 0;
438 width: 100%;
439 height: 100%;
440 overflow: hidden;
441}
442
443.carousel-inner {
444 position: relative;
445 width: 100%;
446 height: 100%;
447}
448
449.carousel-item {
450 position: absolute;
451 top: 0;
452 left: 0;
453 width: 100%;
454 height: 100%;
455 opacity: 0;
456 transition: opacity 1s ease-in-out;
457}
458.carousel-item.active {
459 opacity: 1;
460}
461
462.carousel-bg {
463 width: 100%;
464 height: 100%;
465 background-size: cover;
466 background-position: center;
467}
468
469.carousel-controls {
470 position: absolute;
471 top: 50%;
472 width: 100%;
473 display: flex;
474 justify-content: space-between;
475 transform: translateY(-50%);
476 padding: 0 20px;
477 z-index: 10;
478}
479
480.carousel-btn {
481 background: rgba(0, 0, 0, 0.5);
482 color: white;
483 border: none;
484 width: 50px;
485 height: 50px;
486 border-radius: 50%;
487 font-size: 24px;
488 cursor: pointer;
489 transition: all 0.3s ease;
490 line-height: 1;
491}
492.carousel-btn:hover {
493 background: rgba(0, 0, 0, 0.8);
494 transform: scale(1.1);
495}
496
497.carousel-indicators {
498 position: absolute;
499 bottom: 20px;
500 left: 50%;
501 transform: translateX(-50%);
502 display: flex;
503 gap: 10px;
504 z-index: 10;
505}
506.carousel-indicators span {
507 width: 12px;
508 height: 12px;
509 border-radius: 50%;
510 background: rgba(255, 255, 255, 0.5);
511 cursor: pointer;
512 transition: all 0.3s ease;
513}
514.carousel-indicators span.active {
515 background: white;
516 transform: scale(1.2);
517}
518
519.carousel-caption {
520 position: absolute;
521 top: 40%;
522 left: 50%;
523 transform: translate(-50%, -50%);
524 text-align: center;
525 z-index: 2;
526 color: white;
527 width: 80%;
528 max-width: 800px;
529 padding: 20px;
530}
531
532.carousel-title {
533 font-size: 2.5rem;
534 font-weight: 700;
535 margin-bottom: 15px;
536 text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
537}
538
539.carousel-subtitle {
540 font-size: 1.2rem;
541 margin-bottom: 10px;
542 text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
543}
544
545.carousel-description {
546 font-size: 1rem;
547 margin-bottom: 30px;
548 text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
549 line-height: 1.6;
550}
551
552.hero-buttons {
553 display: flex;
554 justify-content: center;
555 gap: 20px;
556 margin-top: 30px;
557}
558
559.btn {
560 display: inline-block;
561 padding: 12px 30px;
562 border-radius: 30px;
563 text-decoration: none;
564 font-weight: 500;
565 transition: all 0.4s ease;
566 border: none;
567 cursor: pointer;
568 font-size: 1rem;
569}
570.btn:hover { text-decoration: none; }
571
572.btn-primary {
573 background-color: #42b983;
574 color: white;
575}
576.btn-primary:hover {
577 background-color: #359c6d;
578 transform: translateY(-3px);
579 box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
580}
581
582.btn-secondary {
583 background-color: transparent;
584 color: white;
585 border: 2px solid white;
586}
587.btn-secondary:hover {
588 background-color: rgba(255, 255, 255, 0.1);
589 transform: translateY(-3px);
590 box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
591}
592
593.btn-light {
594 background-color: #fff;
595 color: #42b983;
596}
597.btn-light:hover {
598 transform: translateY(-3px);
599 box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
600}
601
602@keyframes hdFadeIn {
603 from { opacity: 0; }
604 to { opacity: 1; }
605}
606
607/* ---- 公告 ---- */
608.notice-strip {
609 padding: 24px 0 0;
610}
611
612.hd-notice {
613 display: flex;
614 gap: 12px;
615 align-items: flex-start;
616 padding: 14px 18px;
617 border: 1px solid var(--hd-border);
618 border-radius: var(--hd-radius-xl);
619 background: var(--hd-surface);
620 box-shadow: var(--hd-shadow);
621}
622
623.hd-notice i {
624 font-size: 20px;
625 line-height: 1.5;
626 flex-shrink: 0;
627 color: var(--hd-brand);
628}
629
630.hd-notice .txt {
631 color: var(--hd-text-2);
632 font-size: 14px;
633 white-space: pre-line;
634 word-break: break-word;
635}
636
637/* ---- 套餐区 ---- */
638.plans-section {
639 background: #fff;
640}
641
642.hd-plans {
643 display: grid;
644 grid-template-columns: repeat(3, 1fr);
645 gap: 18px;
646}
647
648.hd-plan-card {
649 background: var(--hd-surface);
650 border: 1px solid var(--hd-border);
651 border-radius: var(--hd-radius-xl);
652 display: flex;
653 flex-direction: column;
654 overflow: hidden;
655 transition: box-shadow var(--hd-dur) var(--hd-ease), transform var(--hd-dur) var(--hd-ease);
656}
657.hd-plan-card:hover {
658 box-shadow: var(--hd-shadow-lg);
659 transform: translateY(-2px);
660}
661.hd-plan-card.pop {
662 border-color: var(--hd-brand);
663 box-shadow: 0 0 0 1px var(--hd-brand);
664}
665
666.hd-plan-top {
667 padding: 22px 22px 16px;
668 border-bottom: 1px solid var(--hd-border);
669}
670
671.hd-plan-chip {
672 display: inline-block;
673 padding: 3px 10px;
674 border-radius: 999px;
675 background: var(--hd-brand-light);
676 color: var(--hd-brand);
677 font-size: 12px;
678 font-weight: 700;
679 margin-bottom: 8px;
680}
681
682.hd-plan-top h3 {
683 font-size: 1.1rem;
684 letter-spacing: -0.02em;
685 margin: 0 0 4px;
686 color: var(--hd-text);
687}
688
689.hd-plan-desc {
690 color: var(--hd-text-3);
691 font-size: 13px;
692 min-height: 40px;
693 line-height: 1.6;
694 /* 简介 li 列表:每项独占一行、带圆点 */
695 ul {
696 margin: 4px 0;
697 padding-left: 16px;
698 }
699 li {
700 display: list-item;
701 list-style: disc;
702 margin: 2px 0;
703 }
704 p {
705 margin: 2px 0;
706 }
707}
708
709.hd-plan-body {
710 padding: 18px 22px 22px;
711 display: flex;
712 flex-direction: column;
713 flex: 1;
714}
715
716.hd-plan-price { margin-bottom: 14px; }
717
718.hd-plan-price .num {
719 font-size: 1.7rem;
720 font-weight: 800;
721 letter-spacing: -0.03em;
722 color: var(--hd-text);
723}
724
725.hd-plan-price .sub {
726 color: var(--hd-text-3);
727 font-size: 12px;
728}
729
730.hd-plan-feats {
731 list-style: none;
732 margin: 0 0 18px;
733 padding: 0;
734 display: grid;
735 gap: 8px;
736 flex: 1;
737}
738.hd-plan-feats li {
739 display: flex;
740 gap: 8px;
741 font-size: 13px;
742 color: var(--hd-text-2);
743}
744.hd-plan-feats li .ok {
745 color: var(--hd-brand);
746 flex-shrink: 0;
747}
748.hd-plan-feats li .off {
749 color: #c2c7cf;
750 flex-shrink: 0;
751}
752
753.hd-plan-body .t-button {
754 height: 44px;
755 font-size: 15px;
756 border-radius: var(--hd-radius-lg);
757}
758
759/* ---- 核心优势 ---- */
760.features {
761 background-color: #f8f9fa;
762}
763
764.features-grid {
765 display: grid;
766 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
767 gap: 30px;
768}
769
770.feature-card {
771 background: rgba(255, 255, 255, 0.9);
772 border-radius: 10px;
773 padding: 30px;
774 text-align: center;
775 box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
776 transition: all 0.4s ease;
777 border: 1px solid #eee;
778}
779.feature-card:hover {
780 transform: translateY(-10px);
781 box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
782}
783
784.feature-icon {
785 font-size: 3rem;
786 margin-bottom: 20px;
787 color: #42b983;
788 line-height: 1;
789}
790
791.feature-card h3 {
792 font-size: 1.5rem;
793 margin-bottom: 15px;
794 color: #333;
795 font-weight: 600;
796}
797
798.feature-card p {
799 color: #666;
800 line-height: 1.6;
801 margin: 0;
802}
803
804/* ---- 新闻预览 ---- */
805.news-preview {
806 background-color: #f8f9fa;
807}
808
809.news-grid {
810 display: grid;
811 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
812 gap: 30px;
813}
814
815.news-card {
816 background: white;
817 border-radius: 8px;
818 transition: all 0.3s ease;
819 border: 1px solid #e0e0e0;
820 padding: 20px;
821 box-shadow: none;
822 cursor: pointer;
823}
824.news-card:hover {
825 transform: translateY(-5px);
826 box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
827 border-color: #42b983;
828}
829
830.news-date {
831 color: #42b983;
832 font-size: 0.85rem;
833 margin-bottom: 8px;
834 display: block;
835 font-weight: 600;
836 letter-spacing: 0.5px;
837}
838
839.news-card h3 {
840 font-size: 1.3rem;
841 margin-bottom: 12px;
842 color: #2c3e50;
843 line-height: 1.4;
844 font-weight: 600;
845}
846
847.news-excerpt {
848 color: #555;
849 line-height: 1.6;
850 margin-bottom: 16px;
851 font-size: 0.9rem;
852}
853
854.read-more {
855 color: #42b983;
856 text-decoration: none;
857 font-weight: 600;
858 transition: all 0.3s ease;
859 display: inline-block;
860 padding: 8px 0;
861 border-bottom: 1px solid transparent;
862 cursor: pointer;
863}
864.read-more:hover {
865 color: #359c6d;
866 border-bottom-color: #359c6d;
867}
868
869.more-news {
870 color: #42b983;
871 text-decoration: none;
872 font-weight: 500;
873 transition: color 0.3s ease;
874 display: inline-block;
875 margin-top: 20px;
876 font-size: 1.1rem;
877}
878.more-news:hover {
879 color: #359c6d;
880}
881
882/* ---- 客户评价 ---- */
883.testimonials {
884 background-color: #fff;
885}
886
887.testimonials-grid {
888 display: grid;
889 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
890 gap: 24px;
891}
892
893.testimonial-card {
894 background: #ffffff;
895 padding: 24px;
896 transition: all 0.3s ease;
897 border: 1px solid #e2e8f0;
898 position: relative;
899 border-radius: 8px;
900}
901.testimonial-card:hover {
902 transform: translateY(-4px);
903 box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
904 border-color: #cbd5e0;
905}
906
907.testimonial-header {
908 display: flex;
909 align-items: center;
910 margin-bottom: 16px;
911}
912
913.client-avatar {
914 width: 50px;
915 height: 50px;
916 border-radius: 50%;
917 overflow: hidden;
918 flex-shrink: 0;
919 background: linear-gradient(135deg, #42b983, #64b5f6);
920 display: flex;
921 align-items: center;
922 justify-content: center;
923 margin-right: 12px;
924}
925
926.avatar-placeholder {
927 font-size: 1.2rem;
928 font-weight: 600;
929 color: white;
930}
931
932.client-details {
933 flex: 1;
934}
935
936.client-name {
937 font-weight: 600;
938 color: #333;
939 margin-bottom: 4px;
940 font-size: 1rem;
941}
942
943.client-title {
944 color: #64748b;
945 font-size: 0.85rem;
946}
947
948.testimonial-text {
949 color: #334155;
950 line-height: 1.6;
951 margin-bottom: 20px;
952 position: relative;
953 padding-top: 0;
954}
955.testimonial-text::before {
956 content: '"';
957 position: absolute;
958 top: -20px;
959 left: -10px;
960 font-size: 4rem;
961 color: rgba(66, 185, 131, 0.15);
962 font-family: Georgia, serif;
963 line-height: 1;
964}
965
966.quote-icon {
967 position: absolute;
968 bottom: 20px;
969 right: 20px;
970 color: rgba(66, 185, 131, 0.3);
971 font-size: 1.5rem;
972}
973
974/* ---- 底部 CTA ---- */
975.hd-cta {
976 text-align: center;
977 padding: 46px 28px;
978 background: linear-gradient(135deg, #42b983 0%, #67cfa2 100%);
979 border-radius: var(--hd-radius-xl);
980 color: #fff;
981 box-shadow: 0 6px 20px rgba(66, 185, 131, 0.25);
982}
983
984.hd-cta h3 {
985 margin: 0 0 8px;
986 font-size: 1.5rem;
987 font-weight: 800;
988 letter-spacing: -0.02em;
989}
990
991.hd-cta p {
992 margin: 0 0 20px;
993 opacity: 0.9;
994 font-size: 14px;
995}
996
997.hd-cta .btn {
998 margin-top: 4px;
999}
1000
1001/* ---- 空状态 ---- */
1002.hd-empty {
1003 text-align: center;
1004 padding: 48px 16px;
1005 color: var(--hd-text-3);
1006 font-size: 13px;
1007}
1008.hd-empty i {
1009 font-size: 36px;
1010 display: block;
1011 margin-bottom: 8px;
1012 color: #cbd5e1;
1013}
1014
1015/* ============ 通用页面容器 ============ */
1016.hd-page {
1017 padding: 24px 0;
1018}
1019
1020.hd-page-head {
1021 display: flex;
1022 align-items: center;
1023 justify-content: space-between;
1024 margin-bottom: 16px;
1025 gap: 12px;
1026 flex-wrap: wrap;
1027}
1028
1029.hd-page-title {
1030 font-size: 18px;
1031 font-weight: 700;
1032 margin: 0;
1033 color: var(--hd-text);
1034}
1035
1036.hd-page-subtitle {
1037 font-size: 13px;
1038 color: var(--hd-text-2);
1039 margin: 2px 0 0;
1040}
1041
1042/* 卡片 */
1043.hd-card {
1044 background: var(--hd-surface);
1045 border: 1px solid var(--hd-border);
1046 border-radius: var(--hd-radius-lg);
1047 box-shadow: var(--hd-shadow);
1048 overflow: hidden;
1049}
1050.hd-card-body { padding: 20px; }
1051.hd-card-body--pad-lg { padding: 28px; }
1052
1053/* 登录/注册页 */
1054.hd-auth-wrap {
1055 max-width: 420px;
1056 margin: 0 auto;
1057 padding: 24px 0;
1058}
1059.hd-auth-title {
1060 font-size: 20px;
1061 font-weight: 700;
1062 text-align: center;
1063 margin: 0 0 4px;
1064}
1065.hd-auth-sub {
1066 text-align: center;
1067 color: var(--hd-text-3);
1068 font-size: 13px;
1069 margin: 0 0 22px;
1070}
1071.hd-auth-foot {
1072 text-align: center;
1073 margin-top: 16px;
1074 font-size: 13px;
1075 color: var(--hd-text-2);
1076}
1077
1078/* 余额统计卡 */
1079.hd-balance-card {
1080 display: flex;
1081 align-items: center;
1082 justify-content: space-between;
1083 padding: 26px 30px;
1084 background: linear-gradient(135deg, #42b983 0%, #67cfa2 100%);
1085 border-radius: var(--hd-radius-xl);
1086 color: #fff;
1087 box-shadow: 0 6px 20px rgba(66, 185, 131, 0.25);
1088}
1089.hd-balance-card .label {
1090 font-size: 13px;
1091 opacity: 0.85;
1092}
1093.hd-balance-card .value {
1094 font-size: 2.2rem;
1095 font-weight: 800;
1096 margin-top: 4px;
1097}
1098.hd-balance-actions {
1099 display: flex;
1100 gap: 8px;
1101}
1102
1103/* ============ 响应式 ============ */
1104@media (max-width: 768px) {
1105 .section { padding: 60px 0; }
1106 .section-title { font-size: 1.7rem; }
1107
1108 .carousel-title { font-size: 1.8rem; }
1109 .carousel-subtitle { font-size: 1rem; }
1110 .carousel-caption { top: 50%; width: 90%; padding: 15px; }
1111 .carousel-description { font-size: 0.9rem; margin-bottom: 20px; }
1112 .hero { height: 50vh; min-height: 300px; }
1113 .hero-buttons { flex-direction: column; gap: 15px; margin-top: 20px; }
1114 .btn { width: 100%; max-width: 250px; margin: 0 auto; padding: 10px 20px; font-size: 0.9rem; }
1115 .carousel-btn { width: 40px; height: 40px; font-size: 20px; }
1116
1117 .news-grid,
1118 .testimonials-grid,
1119 .features-grid { grid-template-columns: 1fr; }
1120
1121 .testimonial-card { text-align: center; }
1122 .testimonial-header { flex-direction: column; }
1123 .client-avatar { margin-right: 0; margin-bottom: 15px; }
1124 .client-details { text-align: center; }
1125 .quote-icon { left: 50%; right: auto; transform: translateX(-50%); }
1126 .carousel-indicators { bottom: 15px; }
1127
1128 .container,
1129 .hd-container { padding: 0 15px; }
1130
1131 /* 页脚单列 */
1132 .hd-footer-content { flex-direction: column; gap: 20px; }
1133 .hd-footer-section { min-width: 100%; }
1134 .hd-social-links { justify-content: center; }
1135
1136 /* 移动端导航:全屏下拉 */
1137 .hd-nav-list {
1138 position: fixed;
1139 top: 70px;
1140 left: -100%;
1141 width: 100%;
1142 height: calc(100vh - 70px);
1143 background: rgba(255, 255, 255, 0.9);
1144 backdrop-filter: blur(10px);
1145 -webkit-backdrop-filter: blur(10px);
1146 flex-direction: column;
1147 align-items: center;
1148 padding-top: 40px;
1149 transition: left 0.3s;
1150 gap: 0;
1151 z-index: 99;
1152 }
1153 .hd-nav-list.active { left: 0; }
1154 .hd-nav-list li { margin: 15px 0; }
1155 .hd-menu-toggle { display: flex; }
1156}
1157
1158@media (max-width: 640px) {
1159 .hd-plans { grid-template-columns: 1fr; }
1160 .hd-balance-card { flex-direction: column; gap: 14px; align-items: flex-start; }
1161}