style.css 85 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872
  1. /* ============================================================
  2. 浠艾福 — 企业官网样式表
  3. 设计系统基于 DESIGN.md 设计 Token
  4. ============================================================ */
  5. /* ----------------------------------------------------------
  6. 0. CSS Custom Properties (Design Tokens)
  7. ---------------------------------------------------------- */
  8. :root {
  9. /* 品牌橙 token · 口径手册 V1.1(唯一对外表达基准) */
  10. --brand: #F97316;
  11. --brand-deep: #C2410C;
  12. --brand-600: #EA580C;
  13. --brand-400: #FB923C;
  14. --brand-200: #FDBA74;
  15. --brand-100: #FFEDD5;
  16. --brand-50: #FFF7ED;
  17. --line: #F0E6DC;
  18. --line-2: #F5D9BE;
  19. --paper: #ffffff;
  20. --bg: #FBF9F6;
  21. --ok: #0B7A5B;
  22. --ok-light: #E9F9F3;
  23. --teal: var(--ok); /* 改善 / 指标变化 强调色,少量使用 */
  24. --teal-light: var(--ok-light);
  25. /* Brand Colors(品牌橙主导,克制留白) */
  26. --color-primary: var(--brand);
  27. --color-primary-hover: var(--brand-deep);
  28. --color-primary-light: var(--brand-50);
  29. --color-secondary: var(--ok);
  30. --color-accent: var(--brand-400);
  31. --color-accent-light: var(--brand-50);
  32. /* Text Colors */
  33. --color-text-primary: #333333;
  34. --color-text-secondary: #666666;
  35. --color-text-muted: #999999;
  36. /* Surfaces */
  37. --bg-body: var(--bg);
  38. --bg-surface: var(--paper);
  39. --bg-section-alt: var(--brand-50);
  40. /* Other UI */
  41. --color-border: var(--line);
  42. --color-border-light: #F7EEE5;
  43. --shadow-sm: 0 1px 3px rgba(45, 52, 54, .08);
  44. --shadow-md: 0 4px 12px rgba(45, 52, 54, .10);
  45. --shadow-lg: 0 12px 40px rgba(45, 52, 54, .12);
  46. --shadow-xl: 0 24px 60px rgba(45, 52, 54, .15);
  47. /* Typography */
  48. --font-family: system-ui, -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  49. --font-size-display: clamp(2.25rem, 5vw, 3.5rem);
  50. --font-size-h1: clamp(1.75rem, 4vw, 2.5rem);
  51. --font-size-h2: clamp(1.5rem, 3vw, 2.25rem);
  52. --font-size-h3: 1.25rem;
  53. --font-size-body: 1rem;
  54. --font-size-small: .875rem;
  55. --font-size-tiny: .75rem;
  56. /* Spacing */
  57. --space-xs: .5rem;
  58. --space-sm: .75rem;
  59. --space-md: 1rem;
  60. --space-lg: 1.5rem;
  61. --space-xl: 2rem;
  62. --space-2xl: 3rem;
  63. --space-3xl: 4rem;
  64. --space-section: 5rem;
  65. /* Border Radius */
  66. --radius-sm: 8px;
  67. --radius-md: 12px;
  68. --radius-lg: 16px;
  69. --radius-xl: 24px;
  70. --radius-full: 9999px;
  71. /* Transitions */
  72. --transition-fast: .2s ease;
  73. --transition-normal: .3s ease;
  74. --transition-slow: .5s cubic-bezier(.4, 0, .2, 1);
  75. /* Layout */
  76. --max-width: 1200px;
  77. --header-height: 64px;
  78. /* 冷暖交替 · 深色科技带专用 token(仅 section-ai-tech 使用,不改动品牌橙) */
  79. --ink-900: #0F1526;
  80. --ink-800: #141A2E;
  81. --ink-700: #1B2340;
  82. --ink-600: #232C4D;
  83. --ink-line: rgba(199, 210, 232, .16);
  84. --ink-text: #E8EEF9;
  85. --ink-text-soft: #C7D2E8;
  86. --glow-orange: #F97316;
  87. --glow-cyan: #22D3EE;
  88. }
  89. /* ----------------------------------------------------------
  90. 1. Reset & Base
  91. ---------------------------------------------------------- */
  92. *, *::before, *::after {
  93. margin: 0;
  94. padding: 0;
  95. box-sizing: border-box;
  96. }
  97. html {
  98. scroll-behavior: smooth;
  99. -webkit-text-size-adjust: 100%;
  100. scroll-padding-top: var(--header-height);
  101. scroll-snap-type: y proximity;
  102. }
  103. /* Sections gently align when scrolling stops */
  104. section[id] {
  105. scroll-snap-align: start;
  106. }
  107. body {
  108. font-family: var(--font-family);
  109. font-size: var(--font-size-body);
  110. line-height: 1.6;
  111. color: var(--color-text-primary);
  112. background: var(--bg-body);
  113. -webkit-font-smoothing: antialiased;
  114. -moz-osx-font-smoothing: grayscale;
  115. overflow-x: hidden;
  116. }
  117. img { max-width: 100%; height: auto; display: block; }
  118. a { color: inherit; text-decoration: none; }
  119. ul { list-style: none; }
  120. /* ----------------------------------------------------------
  121. 2. Container
  122. ---------------------------------------------------------- */
  123. .container {
  124. width: 100%;
  125. max-width: var(--max-width);
  126. margin: 0 auto;
  127. padding: 0 var(--space-xl);
  128. }
  129. /* ----------------------------------------------------------
  130. 3. Header / Navigation
  131. ---------------------------------------------------------- */
  132. .site-header {
  133. position: fixed;
  134. top: 0;
  135. left: 0;
  136. right: 0;
  137. height: var(--header-height);
  138. background: rgba(245, 250, 254, .92);
  139. backdrop-filter: blur(16px) saturate(180%);
  140. -webkit-backdrop-filter: blur(16px) saturate(180%);
  141. border-bottom: 1px solid var(--color-border-light);
  142. z-index: 1000;
  143. transition: box-shadow var(--transition-normal);
  144. }
  145. .site-header.scrolled {
  146. box-shadow: var(--shadow-sm);
  147. }
  148. .header-inner {
  149. display: flex;
  150. align-items: center;
  151. justify-content: space-between;
  152. height: 100%;
  153. }
  154. /* Logo */
  155. .logo {
  156. display: flex;
  157. align-items: center;
  158. gap: var(--space-xs);
  159. font-weight: 700;
  160. font-size: 1.125rem;
  161. }
  162. .logo-icon { font-size: 1.5rem; }
  163. .logo-text {
  164. color: var(--color-text-primary);
  165. }
  166. .logo-tag {
  167. color: var(--color-primary);
  168. font-weight: 600;
  169. }
  170. /* Nav Toggle (Mobile) */
  171. .nav-toggle {
  172. display: none;
  173. flex-direction: column;
  174. gap: 5px;
  175. background: none;
  176. border: none;
  177. cursor: pointer;
  178. padding: 4px;
  179. z-index: 1001;
  180. }
  181. .nav-toggle span {
  182. display: block;
  183. width: 24px;
  184. height: 2px;
  185. background: var(--color-text-primary);
  186. border-radius: 2px;
  187. transition: var(--transition-fast);
  188. transform-origin: center;
  189. }
  190. .nav-toggle.active span:nth-child(1) {
  191. transform: translateY(7px) rotate(45deg);
  192. }
  193. .nav-toggle.active span:nth-child(2) {
  194. opacity: 0;
  195. }
  196. .nav-toggle.active span:nth-child(3) {
  197. transform: translateY(-7px) rotate(-45deg);
  198. }
  199. /* Nav List */
  200. .nav-list {
  201. display: flex;
  202. align-items: center;
  203. gap: var(--space-lg);
  204. }
  205. .nav-link {
  206. font-size: var(--font-size-small);
  207. font-weight: 500;
  208. color: var(--color-text-secondary);
  209. transition: color var(--transition-fast);
  210. position: relative;
  211. padding: var(--space-xs) 0;
  212. }
  213. .nav-link::after {
  214. content: '';
  215. position: absolute;
  216. bottom: 0;
  217. left: 0;
  218. width: 0;
  219. height: 2px;
  220. background: var(--color-primary);
  221. border-radius: 1px;
  222. transition: width var(--transition-normal);
  223. }
  224. .nav-link:hover,
  225. .nav-link.active {
  226. color: var(--color-primary);
  227. }
  228. .nav-link:hover::after,
  229. .nav-link.active::after {
  230. width: 100%;
  231. }
  232. /* Nav login button */
  233. .nav-login-btn {
  234. display: inline-flex;
  235. align-items: center;
  236. padding: .5rem 1.125rem;
  237. font-size: var(--font-size-tiny);
  238. font-weight: 600;
  239. color: #fff;
  240. background: var(--color-primary);
  241. border-radius: var(--radius-full);
  242. transition: all var(--transition-fast);
  243. margin-left: var(--space-md);
  244. white-space: nowrap;
  245. }
  246. .nav-login-btn:hover {
  247. background: var(--color-primary-hover);
  248. transform: translateY(-1px);
  249. box-shadow: 0 4px 12px rgba(249, 115, 22, .3);
  250. }
  251. /* ----------------------------------------------------------
  252. 4. Section Shell
  253. ---------------------------------------------------------- */
  254. .section {
  255. padding: var(--space-section) 0;
  256. }
  257. .section-header {
  258. text-align: center;
  259. max-width: 720px;
  260. margin: 0 auto var(--space-3xl);
  261. }
  262. .section-tag {
  263. display: inline-block;
  264. font-size: var(--font-size-tiny);
  265. font-weight: 600;
  266. letter-spacing: .08em;
  267. text-transform: uppercase;
  268. color: var(--color-primary);
  269. background: var(--color-primary-light);
  270. padding: .35em 1em;
  271. border-radius: var(--radius-full);
  272. margin-bottom: var(--space-md);
  273. }
  274. .section-title {
  275. font-size: var(--font-size-h1);
  276. font-weight: 700;
  277. line-height: 1.25;
  278. margin-bottom: var(--space-md);
  279. color: var(--color-text-primary);
  280. }
  281. .section-subtitle {
  282. font-size: 1.1rem;
  283. font-weight: 500;
  284. color: var(--color-primary);
  285. margin-bottom: var(--space-md);
  286. letter-spacing: .02em;
  287. }
  288. .section-desc {
  289. font-size: var(--font-size-body);
  290. color: var(--color-text-secondary);
  291. line-height: 1.7;
  292. max-width: 600px;
  293. margin: 0 auto;
  294. }
  295. /* ----------------------------------------------------------
  296. 5. Buttons
  297. ---------------------------------------------------------- */
  298. .btn {
  299. display: inline-flex;
  300. align-items: center;
  301. gap: var(--space-xs);
  302. padding: .75rem 1.75rem;
  303. font-family: var(--font-family);
  304. font-size: var(--font-size-small);
  305. font-weight: 600;
  306. border-radius: var(--radius-md);
  307. border: 2px solid transparent;
  308. cursor: pointer;
  309. transition: all var(--transition-fast);
  310. text-align: center;
  311. }
  312. .btn-primary {
  313. background: var(--color-primary);
  314. color: #fff;
  315. border-color: var(--color-primary);
  316. }
  317. .btn-primary:hover {
  318. background: var(--color-primary-hover);
  319. border-color: var(--color-primary-hover);
  320. transform: translateY(-2px);
  321. box-shadow: 0 8px 24px rgba(249, 115, 22, .35);
  322. }
  323. .btn-outline {
  324. background: var(--color-primary);
  325. color: #fff;
  326. border-color: var(--color-primary);
  327. }
  328. .btn-outline:hover {
  329. background: var(--color-primary-hover);
  330. border-color: var(--color-primary-hover);
  331. transform: translateY(-2px);
  332. }
  333. .btn-accent {
  334. background: linear-gradient(135deg, var(--brand) 0%, var(--brand-400) 100%);
  335. color: #fff;
  336. border-color: var(--brand);
  337. box-shadow: 0 4px 16px rgba(249, 115, 22, .3);
  338. }
  339. .btn-accent:hover {
  340. transform: translateY(-2px);
  341. box-shadow: 0 8px 28px rgba(249, 115, 22, .45);
  342. background: linear-gradient(135deg, var(--brand-600) 0%, var(--brand) 100%);
  343. }
  344. /* Hero service provider link */
  345. .hero-service-link {
  346. margin-top: var(--space-lg);
  347. font-size: var(--font-size-small);
  348. color: var(--color-text-muted);
  349. display: flex;
  350. align-items: center;
  351. gap: var(--space-xs);
  352. }
  353. .hero-service-link a {
  354. color: var(--color-primary);
  355. font-weight: 600;
  356. transition: color var(--transition-fast);
  357. }
  358. .hero-service-link a:hover {
  359. color: var(--color-primary-hover);
  360. text-decoration: underline;
  361. }
  362. /* Role card login button */
  363. .role-login-btn {
  364. display: inline-block;
  365. margin-top: var(--space-md);
  366. padding: .5rem 1.25rem;
  367. font-size: var(--font-size-tiny);
  368. font-weight: 600;
  369. color: #fff;
  370. background: var(--color-text-primary);
  371. border-radius: var(--radius-full);
  372. transition: all var(--transition-fast);
  373. }
  374. .role-login-btn:hover {
  375. background: var(--color-primary);
  376. transform: translateY(-1px);
  377. box-shadow: 0 4px 12px rgba(249, 115, 22, .25);
  378. }
  379. .role-teacher .role-login-btn:hover {
  380. background: var(--brand-600);
  381. box-shadow: 0 4px 12px rgba(234, 88, 12, .3);
  382. }
  383. .role-admin .role-login-btn:hover {
  384. background: var(--brand-400);
  385. box-shadow: 0 4px 12px rgba(251, 146, 60, .3);
  386. }
  387. /* ----------------------------------------------------------
  388. 6. Hero Section
  389. ---------------------------------------------------------- */
  390. .hero {
  391. min-height: 100vh;
  392. display: flex;
  393. align-items: center;
  394. position: relative;
  395. padding-top: var(--header-height);
  396. overflow: hidden;
  397. }
  398. .hero-bg {
  399. position: absolute;
  400. inset: 0;
  401. background:
  402. radial-gradient(ellipse 80% 50% at 50% -10%, rgba(249, 115, 22, .10), transparent),
  403. radial-gradient(ellipse 60% 40% at 80% 80%, rgba(15, 110, 86, .06), transparent),
  404. radial-gradient(ellipse 50% 50% at 20% 70%, rgba(251, 146, 60, .07), transparent);
  405. pointer-events: none;
  406. }
  407. .hero-bg::after {
  408. content: '';
  409. position: absolute;
  410. inset: 0;
  411. background: linear-gradient(
  412. to right,
  413. rgba(251, 250, 252, 0.92) 0%,
  414. rgba(251, 250, 252, 0.72) 45%,
  415. rgba(251, 250, 252, 0.15) 70%,
  416. transparent 100%
  417. );
  418. pointer-events: none;
  419. }
  420. .hero-inner {
  421. display: grid;
  422. grid-template-columns: 1fr 1fr;
  423. gap: var(--space-3xl);
  424. align-items: center;
  425. position: relative;
  426. z-index: 1;
  427. }
  428. .hero-badge {
  429. display: inline-block;
  430. font-size: var(--font-size-tiny);
  431. font-weight: 600;
  432. letter-spacing: .06em;
  433. color: var(--color-primary);
  434. background: var(--color-primary-light);
  435. padding: .4em 1.2em;
  436. border-radius: var(--radius-full);
  437. margin-bottom: var(--space-lg);
  438. }
  439. .hero-title {
  440. font-size: var(--font-size-display);
  441. font-weight: 800;
  442. line-height: 1.15;
  443. margin-bottom: var(--space-lg);
  444. }
  445. .highlight {
  446. color: var(--color-primary);
  447. }
  448. .hero-desc {
  449. font-size: 1.0625rem;
  450. color: var(--color-text-secondary);
  451. line-height: 1.8;
  452. margin-bottom: var(--space-xl);
  453. max-width: 540px;
  454. }
  455. .hero-desc strong {
  456. color: var(--color-text-primary);
  457. }
  458. .hero-actions {
  459. display: flex;
  460. gap: var(--space-md);
  461. flex-wrap: wrap;
  462. }
  463. /* Hero Visual - Orbit Animation */
  464. .hero-visual {
  465. display: flex;
  466. justify-content: center;
  467. align-items: center;
  468. }
  469. .dimension-orbit {
  470. position: relative;
  471. width: 320px;
  472. height: 320px;
  473. display: flex;
  474. align-items: center;
  475. justify-content: center;
  476. }
  477. .orbit-center {
  478. width: 80px;
  479. height: 80px;
  480. border-radius: 50%;
  481. background: var(--color-primary);
  482. color: #fff;
  483. font-size: 1.5rem;
  484. font-weight: 700;
  485. display: flex;
  486. align-items: center;
  487. justify-content: center;
  488. box-shadow: 0 0 40px rgba(249, 115, 22, .3);
  489. position: relative;
  490. z-index: 2;
  491. animation: pulseCenter 3s ease-in-out infinite;
  492. }
  493. @keyframes pulseCenter {
  494. 0%, 100% { box-shadow: 0 0 40px rgba(249, 115, 22, .3); transform: scale(1); }
  495. 50% { box-shadow: 0 0 60px rgba(249, 115, 22, .5); transform: scale(1.05); }
  496. }
  497. .orbit-item {
  498. position: absolute;
  499. width: 56px;
  500. height: 56px;
  501. border-radius: 50%;
  502. background: var(--bg-surface);
  503. border: 2px solid var(--color-border-light);
  504. display: flex;
  505. align-items: center;
  506. justify-content: center;
  507. font-size: 1.25rem;
  508. font-weight: 700;
  509. color: var(--color-text-secondary);
  510. box-shadow: var(--shadow-sm);
  511. animation: orbit 12s linear infinite;
  512. animation-delay: calc(var(--i) * -2.4s);
  513. z-index: 1;
  514. }
  515. @keyframes orbit {
  516. 0% {
  517. transform: rotate(0deg) translateX(130px) rotate(0deg);
  518. }
  519. 100% {
  520. transform: rotate(360deg) translateX(130px) rotate(-360deg);
  521. }
  522. }
  523. .orbit-item:nth-child(2) { --i: 1; }
  524. .orbit-item:nth-child(3) { --i: 2; }
  525. .orbit-item:nth-child(4) { --i: 3; }
  526. .orbit-item:nth-child(5) { --i: 4; }
  527. /* Hero Visual — 温暖生活流 / 时间轴(保留 .orbit-item 节点结构) */
  528. .evidence-chain {
  529. width: 100%;
  530. max-width: 420px;
  531. background: var(--bg-surface);
  532. border: 1px solid var(--color-border);
  533. border-radius: var(--radius-lg);
  534. padding: var(--space-xl);
  535. box-shadow: var(--shadow-lg);
  536. }
  537. .ec-head {
  538. display: flex;
  539. flex-direction: column;
  540. gap: 4px;
  541. padding-bottom: var(--space-md);
  542. margin-bottom: var(--space-md);
  543. border-bottom: 1px solid var(--color-border-light);
  544. }
  545. .ec-kicker {
  546. font-size: var(--font-size-tiny);
  547. font-weight: 700;
  548. letter-spacing: .14em;
  549. color: var(--color-primary);
  550. }
  551. .ec-title {
  552. font-size: 1rem;
  553. font-weight: 700;
  554. color: var(--color-text-primary);
  555. }
  556. .ec-track {
  557. position: relative;
  558. display: flex;
  559. flex-direction: column;
  560. gap: var(--space-sm);
  561. }
  562. .ec-track::before {
  563. content: '';
  564. position: absolute;
  565. left: 19px;
  566. top: 18px;
  567. bottom: 18px;
  568. width: 2px;
  569. background: linear-gradient(to bottom, var(--brand-400), var(--brand), var(--teal));
  570. opacity: .5;
  571. }
  572. /* 复用 .orbit-item 作为证据链节点,覆盖旧轨道定位与动画 */
  573. .orbit-item.ec-node {
  574. position: relative;
  575. width: 100%;
  576. height: auto;
  577. min-height: 56px;
  578. border-radius: var(--radius-md);
  579. background: var(--brand-50);
  580. border: 1px solid var(--brand-100);
  581. box-shadow: none;
  582. animation: none;
  583. display: flex;
  584. align-items: center;
  585. gap: var(--space-sm);
  586. padding: var(--space-sm) var(--space-md);
  587. z-index: 1;
  588. transition: border-color var(--transition-fast), transform var(--transition-fast);
  589. }
  590. .orbit-item.ec-node:hover {
  591. border-color: var(--brand-400);
  592. transform: translateX(3px);
  593. box-shadow: var(--shadow-sm);
  594. }
  595. .ec-idx {
  596. flex-shrink: 0;
  597. width: 28px;
  598. height: 28px;
  599. border-radius: 50%;
  600. background: var(--brand);
  601. color: #fff;
  602. font-size: .75rem;
  603. font-weight: 700;
  604. display: flex;
  605. align-items: center;
  606. justify-content: center;
  607. }
  608. .ec-node:last-child .ec-idx { background: var(--teal); }
  609. .ec-body {
  610. display: flex;
  611. flex-direction: column;
  612. gap: 2px;
  613. text-align: left;
  614. }
  615. .ec-body strong {
  616. font-size: var(--font-size-small);
  617. font-weight: 700;
  618. color: var(--color-text-primary);
  619. }
  620. .ec-body small {
  621. font-size: var(--font-size-tiny);
  622. color: var(--color-text-muted);
  623. }
  624. /* Scroll Indicator */
  625. .scroll-indicator {
  626. position: absolute;
  627. bottom: var(--space-xl);
  628. left: 50%;
  629. transform: translateX(-50%);
  630. display: flex;
  631. flex-direction: column;
  632. align-items: center;
  633. gap: var(--space-xs);
  634. color: var(--color-text-muted);
  635. font-size: var(--font-size-tiny);
  636. animation: fadeInUp 1s ease 1s both;
  637. }
  638. .scroll-arrow {
  639. width: 20px;
  640. height: 20px;
  641. border-right: 2px solid var(--color-text-muted);
  642. border-bottom: 2px solid var(--color-text-muted);
  643. transform: rotate(45deg);
  644. animation: scrollBounce 2s ease-in-out infinite;
  645. }
  646. @keyframes scrollBounce {
  647. 0%, 100% { transform: rotate(45deg) translateY(0); opacity: .5; }
  648. 50% { transform: rotate(45deg) translateY(6px); opacity: 1; }
  649. }
  650. @keyframes fadeInUp {
  651. from { opacity: 0; transform: translateX(-50%) translateY(10px); }
  652. to { opacity: 1; transform: translateX(-50%) translateY(0); }
  653. }
  654. /* Stats Banner */
  655. .stats-banner {
  656. background: var(--brand-50);
  657. padding: var(--space-2xl) 0;
  658. border-bottom: 1px solid var(--color-border-light);
  659. }
  660. .stats-banner .container {
  661. display: flex;
  662. justify-content: center;
  663. align-items: center;
  664. gap: var(--space-3xl);
  665. }
  666. .stats-item {
  667. text-align: center;
  668. display: flex;
  669. flex-direction: column;
  670. align-items: center;
  671. gap: var(--space-xs);
  672. }
  673. .stat-number {
  674. font-size: 2.5rem;
  675. font-weight: 800;
  676. color: var(--brand-600);
  677. line-height: 1.2;
  678. }
  679. .stat-number--text {
  680. font-size: 1.15rem;
  681. font-weight: 700;
  682. color: var(--brand-600);
  683. }
  684. .stat-num--word {
  685. display: block;
  686. font-size: 1.05rem;
  687. font-weight: 700;
  688. color: var(--brand);
  689. line-height: 1.3;
  690. margin-bottom: var(--space-xs);
  691. }
  692. .stat-label {
  693. font-size: var(--font-size-small);
  694. color: var(--color-text-secondary);
  695. font-weight: 500;
  696. }
  697. @media (max-width: 768px) {
  698. .stats-banner .container {
  699. flex-direction: column;
  700. gap: var(--space-xl);
  701. }
  702. .stat-number {
  703. font-size: 2rem;
  704. }
  705. }
  706. /* ----------------------------------------------------------
  707. 7. About Section
  708. ---------------------------------------------------------- */
  709. .section-about {
  710. background: var(--bg-surface);
  711. }
  712. .about-grid {
  713. display: grid;
  714. grid-template-columns: repeat(3, 1fr);
  715. gap: var(--space-xl);
  716. }
  717. .about-card {
  718. background: var(--bg-surface);
  719. border: 1px solid var(--color-border-light);
  720. border-radius: var(--radius-lg);
  721. padding: var(--space-2xl);
  722. text-align: center;
  723. transition: all var(--transition-normal);
  724. }
  725. .about-card:hover {
  726. transform: translateY(-4px);
  727. box-shadow: var(--shadow-md);
  728. border-color: transparent;
  729. }
  730. .about-icon {
  731. width: 72px;
  732. height: 72px;
  733. margin: 0 auto var(--space-lg);
  734. display: flex;
  735. align-items: center;
  736. justify-content: center;
  737. }
  738. .about-card h3 {
  739. font-size: var(--font-size-h3);
  740. margin-bottom: var(--space-sm);
  741. font-weight: 700;
  742. }
  743. .about-card p {
  744. color: var(--color-text-secondary);
  745. line-height: 1.7;
  746. font-size: var(--font-size-small);
  747. }
  748. /* ----------------------------------------------------------
  749. 8. Product Section
  750. ---------------------------------------------------------- */
  751. .section-product {
  752. background: linear-gradient(180deg, var(--bg-body) 0%, var(--color-primary-light) 100%);
  753. }
  754. .product-showcase {
  755. max-width: 800px;
  756. margin: 0 auto;
  757. }
  758. .product-quote {
  759. background: var(--bg-surface);
  760. border-left: 4px solid var(--color-primary);
  761. padding: var(--space-xl) var(--space-2xl);
  762. border-radius: 0 var(--radius-md) var(--radius-md) 0;
  763. margin-bottom: var(--space-2xl);
  764. box-shadow: var(--shadow-sm);
  765. }
  766. .product-quote p {
  767. font-size: 1.0625rem;
  768. line-height: 1.9;
  769. color: var(--color-text-secondary);
  770. font-style: italic;
  771. }
  772. .product-stats {
  773. display: grid;
  774. grid-template-columns: repeat(4, 1fr);
  775. gap: var(--space-lg);
  776. margin-bottom: var(--space-2xl);
  777. }
  778. .stat {
  779. text-align: center;
  780. padding: var(--space-lg);
  781. background: var(--bg-surface);
  782. border-radius: var(--radius-md);
  783. border: 1px solid var(--color-border-light);
  784. }
  785. .stat-link {
  786. display: block;
  787. text-decoration: none;
  788. color: inherit;
  789. transition: transform var(--transition-normal);
  790. }
  791. .stat-link:hover {
  792. transform: translateY(-3px);
  793. }
  794. .stat-num {
  795. display: block;
  796. font-size: 2rem;
  797. font-weight: 800;
  798. color: var(--color-primary);
  799. line-height: 1.2;
  800. margin-bottom: var(--space-xs);
  801. }
  802. .stat-label {
  803. font-size: var(--font-size-tiny);
  804. color: var(--color-text-secondary);
  805. font-weight: 500;
  806. }
  807. /* 幸福三支柱 */
  808. .section-pillars {
  809. background: linear-gradient(180deg, var(--bg-body) 0%, var(--color-primary-light) 100%);
  810. }
  811. .pillars-grid {
  812. display: flex;
  813. flex-direction: column;
  814. gap: var(--space-xl);
  815. max-width: 960px;
  816. margin: 0 auto;
  817. }
  818. .pillar-card {
  819. background: var(--bg-surface);
  820. border: 1px solid var(--color-border-light);
  821. border-radius: var(--radius-lg);
  822. padding: var(--space-2xl);
  823. transition: all var(--transition-normal);
  824. position: relative;
  825. overflow: hidden;
  826. }
  827. .pillar-card::before {
  828. content: '';
  829. position: absolute;
  830. top: 0;
  831. left: 0;
  832. right: 0;
  833. height: 4px;
  834. background: var(--pillar-color, var(--color-primary));
  835. opacity: .6;
  836. transition: opacity var(--transition-normal);
  837. }
  838. .pillar-card:hover {
  839. transform: translateY(-4px);
  840. box-shadow: var(--shadow-md);
  841. border-color: transparent;
  842. }
  843. .pillar-card:hover::before {
  844. opacity: 1;
  845. }
  846. .pillar-main {
  847. display: flex;
  848. align-items: center;
  849. gap: var(--space-xl);
  850. margin-bottom: var(--space-lg);
  851. }
  852. .pillar-left {
  853. flex-shrink: 0;
  854. min-width: 160px;
  855. text-align: center;
  856. }
  857. .pillar-name {
  858. font-size: var(--font-size-h3);
  859. font-weight: 700;
  860. color: var(--pillar-color, var(--color-primary));
  861. margin-bottom: var(--space-xs);
  862. }
  863. .pillar-subtitle {
  864. font-size: var(--font-size-tiny);
  865. color: var(--color-text-muted);
  866. font-weight: 500;
  867. }
  868. .pillar-arrow {
  869. flex-shrink: 0;
  870. font-size: 1.5rem;
  871. color: var(--color-text-muted);
  872. }
  873. .pillar-dimensions {
  874. display: flex;
  875. gap: var(--space-md);
  876. flex-wrap: wrap;
  877. }
  878. .pillar-dim-badge {
  879. display: inline-flex;
  880. align-items: center;
  881. gap: var(--space-xs);
  882. padding: .5em 1.25em;
  883. border-radius: var(--radius-full);
  884. font-size: var(--font-size-small);
  885. font-weight: 600;
  886. color: #fff;
  887. background: var(--dim-color, var(--brand));
  888. white-space: nowrap;
  889. }
  890. .pillar-dim-badge .dim-sub {
  891. font-weight: 400;
  892. font-size: var(--font-size-tiny);
  893. opacity: .85;
  894. }
  895. .pillar-interpretation {
  896. font-size: var(--font-size-small);
  897. color: var(--color-text-secondary);
  898. line-height: 1.8;
  899. padding-top: var(--space-lg);
  900. border-top: 1px dashed var(--color-border-light);
  901. }
  902. .pillar-interpretation strong {
  903. color: var(--color-text-primary);
  904. }
  905. /* Pillar-specific colors */
  906. .pillar-card--material { --pillar-color: #F97316; }
  907. .pillar-card--respect { --pillar-color: #FB923C; }
  908. .pillar-card--legacy { --pillar-color: #0B7A5B; }
  909. /* Responsive */
  910. /* Desktop: hide the line-break, keep title inline */
  911. .hide-desktop { display:none; }
  912. @media (max-width: 768px) {
  913. .pillar-main {
  914. flex-direction: column;
  915. text-align: center;
  916. gap: var(--space-md);
  917. }
  918. .pillar-arrow {
  919. transform: rotate(90deg);
  920. }
  921. .pillar-dimensions {
  922. justify-content: center;
  923. }
  924. .pillar-left {
  925. min-width: auto;
  926. }
  927. }
  928. @media (max-width: 480px) {
  929. .pillar-card {
  930. padding: var(--space-lg);
  931. }
  932. .pillar-dim-badge {
  933. padding: .4em 1em;
  934. font-size: var(--font-size-tiny);
  935. }
  936. .pillar-dimensions {
  937. flex-direction: column;
  938. align-items: center;
  939. }
  940. }
  941. /* ----------------------------------------------------------
  942. 9. Footer
  943. ---------------------------------------------------------- */
  944. .section-products {
  945. background: linear-gradient(180deg, var(--color-primary-light) 0%, var(--bg-body) 100%);
  946. }
  947. .products-grid {
  948. display: grid;
  949. grid-template-columns: repeat(2, 1fr);
  950. gap: var(--space-xl);
  951. max-width: 920px;
  952. margin: 0 auto;
  953. }
  954. .product-card {
  955. background: var(--bg-surface);
  956. border-radius: var(--radius-lg);
  957. padding: var(--space-2xl);
  958. border: 1px solid var(--color-border-light);
  959. transition: all var(--transition-normal);
  960. position: relative;
  961. overflow: hidden;
  962. }
  963. .product-card::before {
  964. content: '';
  965. position: absolute;
  966. top: 0;
  967. left: 0;
  968. right: 0;
  969. height: 4px;
  970. background: var(--product-color, var(--color-primary));
  971. }
  972. .product-card:hover {
  973. transform: translateY(-4px);
  974. box-shadow: var(--shadow-md);
  975. border-color: transparent;
  976. }
  977. .product-card-icon {
  978. width: 56px;
  979. height: 56px;
  980. display: flex;
  981. align-items: center;
  982. justify-content: center;
  983. border-radius: var(--radius-md);
  984. background: var(--product-bg, var(--color-primary-light));
  985. margin-bottom: var(--space-md);
  986. }
  987. .product-card h3 {
  988. font-size: 1.1rem;
  989. font-weight: 700;
  990. color: var(--color-text-primary);
  991. margin-bottom: var(--space-xs);
  992. }
  993. .product-card .product-sub {
  994. font-size: var(--font-size-small);
  995. color: var(--product-color, var(--color-primary));
  996. font-weight: 600;
  997. margin-bottom: var(--space-sm);
  998. margin-top: -4px;
  999. }
  1000. .product-card > p {
  1001. font-size: var(--font-size-small);
  1002. color: var(--color-text-secondary);
  1003. line-height: 1.75;
  1004. margin-bottom: var(--space-md);
  1005. }
  1006. .product-tags {
  1007. display: flex;
  1008. flex-wrap: wrap;
  1009. gap: var(--space-xs);
  1010. }
  1011. .product-tags span {
  1012. display: inline-block;
  1013. padding: 2px 10px;
  1014. font-size: var(--font-size-tiny);
  1015. color: var(--product-color, var(--color-text-secondary));
  1016. background: color-mix(in srgb, var(--product-color, var(--color-primary)) 10%, transparent);
  1017. border-radius: 100px;
  1018. font-weight: 500;
  1019. }
  1020. .product-plus {
  1021. color: var(--product-color, var(--color-primary));
  1022. font-weight: 700;
  1023. }
  1024. .product-footnote {
  1025. display: inline-block;
  1026. margin-top: var(--space-sm);
  1027. font-size: var(--font-size-tiny);
  1028. font-weight: 600;
  1029. color: var(--teal);
  1030. background: var(--teal-light);
  1031. padding: .2em .7em;
  1032. border-radius: var(--radius-full);
  1033. }
  1034. @media (max-width: 768px) {
  1035. .products-grid {
  1036. grid-template-columns: 1fr;
  1037. gap: var(--space-lg);
  1038. }
  1039. }
  1040. /* ----------------------------------------------------------
  1041. 10. Dimensions Section
  1042. ---------------------------------------------------------- */
  1043. .section-dimensions {
  1044. background: var(--bg-surface);
  1045. }
  1046. .dimension-grid {
  1047. display: flex;
  1048. flex-wrap: wrap;
  1049. justify-content: center;
  1050. gap: var(--space-xl);
  1051. }
  1052. .dimension-grid > .dimension-card {
  1053. width: calc((100% - var(--space-xl) * 2) / 3);
  1054. }
  1055. .dimension-card {
  1056. background: var(--bg-surface);
  1057. border: 1px solid var(--color-border-light);
  1058. border-radius: var(--radius-lg);
  1059. padding: var(--space-2xl);
  1060. position: relative;
  1061. overflow: hidden;
  1062. transition: all var(--transition-normal);
  1063. }
  1064. .dim-bg-illustration {
  1065. position: absolute;
  1066. bottom: 0;
  1067. left: 0;
  1068. width: 100%;
  1069. height: 28%;
  1070. pointer-events: none;
  1071. opacity: 0.3;
  1072. transition: opacity var(--transition-normal);
  1073. mask-image: linear-gradient(to top, black 0%, black 50%, transparent 100%);
  1074. -webkit-mask-image: linear-gradient(to top, black 0%, black 50%, transparent 100%);
  1075. }
  1076. .dim-bg-illustration svg {
  1077. width: 100%;
  1078. height: 100%;
  1079. color: var(--dim-color);
  1080. display: block;
  1081. }
  1082. .dimension-card:hover .dim-bg-illustration {
  1083. opacity: 0.3;
  1084. }
  1085. .dimension-card::before {
  1086. content: '';
  1087. position: absolute;
  1088. top: 0;
  1089. left: 0;
  1090. right: 0;
  1091. height: 4px;
  1092. background: var(--dim-color);
  1093. opacity: .6;
  1094. transition: opacity var(--transition-normal);
  1095. }
  1096. .dimension-card:hover {
  1097. transform: translateY(-6px);
  1098. box-shadow: var(--shadow-lg);
  1099. border-color: transparent;
  1100. }
  1101. .dimension-card:hover::before {
  1102. opacity: 1;
  1103. }
  1104. .dim-title {
  1105. font-size: var(--font-size-h3);
  1106. font-weight: 700;
  1107. margin-bottom: var(--space-sm);
  1108. display: flex;
  1109. align-items: center;
  1110. gap: var(--space-xs);
  1111. }
  1112. .dim-emoji {
  1113. font-size: 1.5rem;
  1114. }
  1115. .dim-desc {
  1116. font-size: var(--font-size-small);
  1117. color: var(--color-text-secondary);
  1118. line-height: 1.8;
  1119. margin-bottom: var(--space-md);
  1120. }
  1121. .dim-points {
  1122. display: flex;
  1123. flex-wrap: wrap;
  1124. gap: var(--space-xs);
  1125. }
  1126. .dim-points li {
  1127. font-size: var(--font-size-tiny);
  1128. font-weight: 500;
  1129. color: var(--dim-color);
  1130. background: var(--dim-bg);
  1131. padding: .3em .9em;
  1132. border-radius: var(--radius-full);
  1133. }
  1134. /* Make 2 items in last row centered */
  1135. /* 5 items in 3-col grid: items 4 & 5 naturally wrap to row 2, cols 1 & 2 */
  1136. /* ----------------------------------------------------------
  1137. 11. Features Section
  1138. ---------------------------------------------------------- */
  1139. .section-features {
  1140. background: var(--bg-section-alt);
  1141. }
  1142. .features-grid {
  1143. display: grid;
  1144. grid-template-columns: repeat(4, 1fr);
  1145. gap: var(--space-lg);
  1146. }
  1147. .feature-card {
  1148. background: var(--bg-surface);
  1149. border: 1px solid var(--color-border-light);
  1150. border-radius: var(--radius-lg);
  1151. padding: var(--space-xl);
  1152. transition: all var(--transition-normal);
  1153. text-align: center;
  1154. }
  1155. .feature-card:hover {
  1156. transform: translateY(-4px);
  1157. box-shadow: var(--shadow-md);
  1158. border-color: transparent;
  1159. }
  1160. .feature-icon {
  1161. width: 56px;
  1162. height: 56px;
  1163. margin: 0 auto var(--space-md);
  1164. display: flex;
  1165. align-items: center;
  1166. justify-content: center;
  1167. border-radius: var(--radius-md);
  1168. background: color-mix(in srgb, var(--fc) 10%, white);
  1169. color: var(--fc);
  1170. }
  1171. .feature-card h3 {
  1172. font-size: 1rem;
  1173. font-weight: 700;
  1174. margin-bottom: var(--space-sm);
  1175. }
  1176. .feature-card p {
  1177. font-size: var(--font-size-small);
  1178. color: var(--color-text-secondary);
  1179. line-height: 1.7;
  1180. }
  1181. /* Loop flow — 科学成长闭环 */
  1182. .loop-flow {
  1183. display: flex;
  1184. align-items: flex-start;
  1185. justify-content: center;
  1186. gap: var(--space-md);
  1187. flex-wrap: wrap;
  1188. }
  1189. .loop-step {
  1190. flex: 1;
  1191. min-width: 200px;
  1192. max-width: 260px;
  1193. background: var(--bg-surface);
  1194. border-radius: var(--radius-lg);
  1195. padding: var(--space-xl) var(--space-lg);
  1196. border: 1px solid var(--color-border-light);
  1197. text-align: left;
  1198. transition: transform .3s ease, box-shadow .3s ease;
  1199. }
  1200. .loop-step:hover {
  1201. transform: translateY(-4px);
  1202. box-shadow: var(--shadow-lg);
  1203. }
  1204. .loop-header {
  1205. display: flex;
  1206. align-items: center;
  1207. gap: var(--space-sm);
  1208. margin-bottom: var(--space-md);
  1209. }
  1210. .loop-icon {
  1211. color: var(--step-color);
  1212. flex-shrink: 0;
  1213. display: flex;
  1214. align-items: center;
  1215. justify-content: center;
  1216. width: 40px;
  1217. height: 40px;
  1218. border-radius: var(--radius-md);
  1219. background: var(--step-bg);
  1220. }
  1221. .loop-step h3 {
  1222. font-size: 1rem;
  1223. font-weight: 700;
  1224. color: var(--color-text-primary);
  1225. margin-bottom: 0;
  1226. }
  1227. .loop-step p {
  1228. font-size: var(--font-size-small);
  1229. color: var(--color-text-secondary);
  1230. line-height: 1.7;
  1231. margin-bottom: var(--space-md);
  1232. }
  1233. .loop-tags {
  1234. display: flex;
  1235. flex-wrap: wrap;
  1236. justify-content: flex-start;
  1237. gap: .3em;
  1238. }
  1239. .loop-tags span {
  1240. font-size: 11px;
  1241. padding: .2em .6em;
  1242. border-radius: var(--radius-full);
  1243. background: var(--step-bg);
  1244. color: var(--step-color);
  1245. font-weight: 500;
  1246. }
  1247. .loop-arrow {
  1248. font-size: 1.5rem;
  1249. color: var(--color-text-muted);
  1250. align-self: center;
  1251. flex-shrink: 0;
  1252. }
  1253. @media (max-width: 900px) {
  1254. .loop-flow {
  1255. flex-direction: column;
  1256. align-items: center;
  1257. }
  1258. .loop-arrow {
  1259. transform: rotate(90deg);
  1260. margin: 0;
  1261. }
  1262. }
  1263. /* ----------------------------------------------------------
  1264. 12. AI Technology Section
  1265. ---------------------------------------------------------- */
  1266. .section-ai-tech {
  1267. background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-section-alt) 100%);
  1268. }
  1269. .ai-grid {
  1270. display: grid;
  1271. grid-template-columns: repeat(3, 1fr);
  1272. gap: var(--space-xl);
  1273. max-width: 1000px;
  1274. margin: 0 auto;
  1275. }
  1276. .ai-card {
  1277. background: var(--bg-surface);
  1278. border-radius: var(--radius-lg);
  1279. padding: var(--space-2xl);
  1280. border: 1px solid var(--color-border-light);
  1281. transition: all var(--transition-normal);
  1282. position: relative;
  1283. overflow: hidden;
  1284. }
  1285. .ai-card::before {
  1286. content: '';
  1287. position: absolute;
  1288. top: 0;
  1289. left: 0;
  1290. right: 0;
  1291. height: 3px;
  1292. background: var(--ai-color, var(--color-primary));
  1293. opacity: .4;
  1294. transition: opacity var(--transition-normal);
  1295. }
  1296. .ai-card:hover {
  1297. transform: translateY(-4px);
  1298. box-shadow: var(--shadow-md);
  1299. border-color: transparent;
  1300. }
  1301. .ai-card:hover::before {
  1302. opacity: 1;
  1303. }
  1304. .ai-card-header {
  1305. display: flex;
  1306. align-items: center;
  1307. gap: var(--space-sm);
  1308. margin-bottom: var(--space-md);
  1309. }
  1310. .ai-card-icon {
  1311. width: 48px;
  1312. height: 48px;
  1313. display: flex;
  1314. align-items: center;
  1315. justify-content: center;
  1316. border-radius: var(--radius-md);
  1317. background: var(--ai-bg, var(--color-primary-light));
  1318. flex-shrink: 0;
  1319. }
  1320. .ai-card-badge {
  1321. display: inline-block;
  1322. padding: 2px 10px;
  1323. font-size: var(--font-size-tiny);
  1324. font-weight: 600;
  1325. color: var(--ai-color, var(--color-primary));
  1326. background: color-mix(in srgb, var(--ai-color, var(--color-primary)) 10%, white);
  1327. border-radius: 100px;
  1328. white-space: nowrap;
  1329. }
  1330. .ai-card h3 {
  1331. font-size: 1.05rem;
  1332. font-weight: 700;
  1333. color: var(--color-text-primary);
  1334. margin-bottom: var(--space-sm);
  1335. line-height: 1.4;
  1336. }
  1337. .ai-card p {
  1338. font-size: var(--font-size-small);
  1339. color: var(--color-text-secondary);
  1340. line-height: 1.8;
  1341. margin: 0;
  1342. }
  1343. @media (max-width: 900px) {
  1344. .ai-grid {
  1345. grid-template-columns: repeat(2, 1fr);
  1346. }
  1347. }
  1348. @media (max-width: 600px) {
  1349. .ai-grid {
  1350. grid-template-columns: 1fr;
  1351. }
  1352. }
  1353. /* ----------------------------------------------------------
  1354. 13. Roles Section
  1355. ---------------------------------------------------------- */
  1356. .section-roles {
  1357. background: var(--bg-surface);
  1358. }
  1359. .roles-flow {
  1360. display: flex;
  1361. align-items: stretch;
  1362. justify-content: center;
  1363. gap: var(--space-xl);
  1364. max-width: 960px;
  1365. margin: 0 auto;
  1366. }
  1367. .role-card {
  1368. flex: 1;
  1369. background: var(--bg-surface);
  1370. border: 1px solid var(--color-border-light);
  1371. border-radius: var(--radius-lg);
  1372. padding: var(--space-xl);
  1373. text-align: center;
  1374. position: relative;
  1375. transition: all var(--transition-normal);
  1376. }
  1377. .role-card:hover {
  1378. transform: translateY(-4px);
  1379. box-shadow: var(--shadow-md);
  1380. }
  1381. .role-badge {
  1382. display: inline-block;
  1383. font-size: var(--font-size-tiny);
  1384. font-weight: 600;
  1385. padding: .25em 1em;
  1386. border-radius: var(--radius-full);
  1387. margin-bottom: var(--space-md);
  1388. }
  1389. .role-parent .role-badge { background: var(--color-primary-light); color: var(--color-primary); }
  1390. .role-teacher .role-badge { background: var(--brand-50); color: var(--brand-600); }
  1391. .role-admin .role-badge { background: var(--brand-50); color: var(--brand); }
  1392. .role-member-tag {
  1393. display: inline-block;
  1394. font-size: .7rem;
  1395. font-weight: 500;
  1396. color: var(--color-primary);
  1397. background: var(--color-primary-light);
  1398. padding: .15em .7em;
  1399. border-radius: var(--radius-full);
  1400. vertical-align: middle;
  1401. margin-left: .4em;
  1402. }
  1403. .role-icon {
  1404. margin-bottom: var(--space-md);
  1405. }
  1406. .role-card h3 {
  1407. font-size: var(--font-size-h3);
  1408. font-weight: 700;
  1409. margin-bottom: var(--space-sm);
  1410. }
  1411. .role-card > p {
  1412. font-size: var(--font-size-small);
  1413. color: var(--color-text-secondary);
  1414. line-height: 1.7;
  1415. margin-bottom: var(--space-md);
  1416. }
  1417. .role-perms {
  1418. text-align: left;
  1419. }
  1420. .role-perms li {
  1421. font-size: var(--font-size-tiny);
  1422. color: var(--color-text-secondary);
  1423. padding: .35em 0;
  1424. display: flex;
  1425. align-items: flex-start;
  1426. gap: var(--space-xs);
  1427. }
  1428. .role-perms li::before {
  1429. content: '';
  1430. width: 5px;
  1431. height: 5px;
  1432. border-radius: 50%;
  1433. background: var(--color-primary);
  1434. flex-shrink: 0;
  1435. margin-top: 7px;
  1436. }
  1437. .role-teacher .role-perms li::before { background: var(--brand-600); }
  1438. .role-admin .role-perms li::before { background: var(--brand); }
  1439. /* 客户角色 — 小程序二维码 */
  1440. .role-qr {
  1441. margin-top: var(--space-lg);
  1442. padding-top: var(--space-md);
  1443. border-top: 1px solid var(--color-border-light);
  1444. display: flex;
  1445. flex-direction: column;
  1446. align-items: center;
  1447. gap: var(--space-xs);
  1448. }
  1449. .role-qr-code {
  1450. display: block;
  1451. width: 180px;
  1452. height: 180px;
  1453. border-radius: var(--radius-md);
  1454. box-shadow: 0 2px 8px rgba(0,0,0,.10);
  1455. transition: transform .3s ease, box-shadow .3s ease;
  1456. }
  1457. .role-qr-code:hover {
  1458. transform: scale(1.08);
  1459. box-shadow: 0 4px 16px rgba(0,0,0,.12);
  1460. }
  1461. .role-qr-label {
  1462. font-size: var(--font-size-tiny);
  1463. color: var(--color-text-secondary);
  1464. font-weight: 500;
  1465. letter-spacing: .05em;
  1466. }
  1467. .roles-connector {
  1468. display: flex;
  1469. flex-direction: column;
  1470. align-items: center;
  1471. gap: var(--space-xs);
  1472. color: var(--color-text-muted);
  1473. font-size: var(--font-size-tiny);
  1474. font-weight: 500;
  1475. flex-shrink: 0;
  1476. align-self: center;
  1477. }
  1478. .connector-arrow {
  1479. width: 2px;
  1480. height: 40px;
  1481. background: var(--color-border);
  1482. position: relative;
  1483. }
  1484. .connector-arrow::after {
  1485. content: '';
  1486. position: absolute;
  1487. bottom: -4px;
  1488. left: 50%;
  1489. transform: translateX(-50%);
  1490. border: 5px solid transparent;
  1491. border-top-color: var(--color-border);
  1492. }
  1493. /* ----------------------------------------------------------
  1494. 14. Contact Section
  1495. ---------------------------------------------------------- */
  1496. .section-contact {
  1497. background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-body) 100%);
  1498. }
  1499. .contact-grid {
  1500. display: grid;
  1501. grid-template-columns: 1fr 1fr;
  1502. gap: var(--space-3xl);
  1503. align-items: start;
  1504. max-width: 800px;
  1505. margin: 0 auto;
  1506. }
  1507. .contact-info {
  1508. display: flex;
  1509. flex-direction: column;
  1510. gap: var(--space-lg);
  1511. }
  1512. .contact-item {
  1513. display: flex;
  1514. align-items: flex-start;
  1515. gap: var(--space-md);
  1516. padding: var(--space-lg);
  1517. background: var(--bg-surface);
  1518. border-radius: var(--radius-md);
  1519. border: 1px solid var(--color-border-light);
  1520. }
  1521. .contact-item svg {
  1522. flex-shrink: 0;
  1523. margin-top: 2px;
  1524. }
  1525. .contact-item strong {
  1526. display: block;
  1527. font-size: var(--font-size-tiny);
  1528. color: var(--color-text-muted);
  1529. font-weight: 500;
  1530. text-transform: uppercase;
  1531. letter-spacing: .04em;
  1532. margin-bottom: 2px;
  1533. }
  1534. .contact-item span {
  1535. font-weight: 600;
  1536. color: var(--color-text-primary);
  1537. }
  1538. .contact-cta {
  1539. text-align: center;
  1540. padding: var(--space-2xl);
  1541. background: var(--bg-surface);
  1542. border-radius: var(--radius-lg);
  1543. border: 1px solid var(--color-border-light);
  1544. }
  1545. .contact-cta > p {
  1546. font-size: var(--font-size-h3);
  1547. font-weight: 700;
  1548. margin-bottom: var(--space-xs);
  1549. }
  1550. .cta-sub {
  1551. font-size: var(--font-size-small) !important;
  1552. font-weight: 400 !important;
  1553. color: var(--color-text-secondary);
  1554. margin-bottom: var(--space-xl) !important;
  1555. }
  1556. .cta-cards {
  1557. display: grid;
  1558. grid-template-columns: repeat(3, 1fr);
  1559. gap: var(--space-sm);
  1560. }
  1561. .cta-card {
  1562. display: flex;
  1563. flex-direction: column;
  1564. align-items: center;
  1565. gap: var(--space-xs);
  1566. padding: var(--space-md);
  1567. background: var(--bg-body);
  1568. border-radius: var(--radius-md);
  1569. font-size: var(--font-size-tiny);
  1570. font-weight: 600;
  1571. border: 1px solid var(--color-border-light);
  1572. transition: all var(--transition-fast);
  1573. }
  1574. .cta-card:hover {
  1575. border-color: var(--color-primary);
  1576. background: var(--color-primary-light);
  1577. }
  1578. .cta-card-icon {
  1579. font-size: 1.5rem;
  1580. }
  1581. .cta-card-desc {
  1582. font-weight: 400;
  1583. color: var(--color-text-muted);
  1584. font-size: var(--font-size-tiny);
  1585. }
  1586. .contact-qr img {
  1587. width: 200px;
  1588. height: auto;
  1589. border-radius: var(--radius-md);
  1590. display: block;
  1591. margin: 0 auto;
  1592. }
  1593. .contact-qr span {
  1594. display: block;
  1595. margin-top: var(--space-sm);
  1596. font-size: var(--font-size-tiny);
  1597. color: var(--color-text-muted);
  1598. }
  1599. @media (max-width: 768px) {
  1600. .contact-qr img {
  1601. width: 160px;
  1602. }
  1603. }
  1604. /* Testimonials Section */
  1605. .section-testimonials { background: var(--bg-section-alt); }
  1606. .testimonials-grid {
  1607. display: grid;
  1608. grid-template-columns: repeat(3, 1fr);
  1609. gap: var(--space-lg);
  1610. max-width: 960px;
  1611. margin: 0 auto;
  1612. }
  1613. .testimonial-card {
  1614. background: var(--bg-surface);
  1615. border: 1px solid var(--color-border-light);
  1616. border-radius: var(--radius-lg);
  1617. padding: var(--space-xl);
  1618. border-left: 4px solid var(--color-primary);
  1619. transition: all var(--transition-normal);
  1620. }
  1621. .testimonial-card:hover {
  1622. transform: translateY(-4px);
  1623. box-shadow: var(--shadow-md);
  1624. border-color: transparent;
  1625. border-left-color: var(--color-primary);
  1626. }
  1627. .testimonial-stars { display: flex; gap: 2px; margin-bottom: var(--space-md); }
  1628. .testimonial-text {
  1629. font-size: var(--font-size-small);
  1630. color: var(--color-text-secondary);
  1631. line-height: 1.8;
  1632. font-style: italic;
  1633. margin-bottom: var(--space-lg);
  1634. }
  1635. .testimonial-author {
  1636. border-top: 1px solid var(--color-border-light);
  1637. padding-top: var(--space-md);
  1638. }
  1639. .testimonial-name { font-size: var(--font-size-tiny); font-weight: 600; color: var(--color-text-primary); }
  1640. @media (max-width: 900px) { .testimonials-grid { grid-template-columns: repeat(2, 1fr); } }
  1641. @media (max-width: 600px) { .testimonials-grid { grid-template-columns: 1fr; } }
  1642. /* ----------------------------------------------------------
  1643. 14.5. FAQ Section
  1644. ---------------------------------------------------------- */
  1645. .section-faq {
  1646. background: var(--bg-section-alt);
  1647. }
  1648. .faq-list {
  1649. max-width: 800px;
  1650. margin: 0 auto;
  1651. display: flex;
  1652. flex-direction: column;
  1653. gap: var(--space-md);
  1654. }
  1655. .faq-item {
  1656. background: var(--bg-surface);
  1657. border: 1px solid var(--color-border-light);
  1658. border-radius: var(--radius-md);
  1659. overflow: hidden;
  1660. transition: all var(--transition-normal);
  1661. }
  1662. .faq-item:hover {
  1663. border-color: var(--color-primary);
  1664. box-shadow: var(--shadow-sm);
  1665. }
  1666. .faq-item[open] {
  1667. border-color: var(--color-primary);
  1668. box-shadow: var(--shadow-md);
  1669. }
  1670. .faq-item > summary {
  1671. padding: var(--space-lg) var(--space-xl);
  1672. font-weight: 600;
  1673. font-size: var(--font-size-body);
  1674. color: var(--color-text-primary);
  1675. cursor: pointer;
  1676. list-style: none;
  1677. display: flex;
  1678. align-items: center;
  1679. justify-content: space-between;
  1680. gap: var(--space-md);
  1681. transition: color var(--transition-fast);
  1682. }
  1683. .faq-item > summary::-webkit-details-marker {
  1684. display: none;
  1685. }
  1686. .faq-item > summary::after {
  1687. content: '+';
  1688. font-size: 1.25rem;
  1689. font-weight: 700;
  1690. color: var(--color-primary);
  1691. flex-shrink: 0;
  1692. transition: transform var(--transition-fast);
  1693. }
  1694. .faq-item[open] > summary::after {
  1695. content: '−';
  1696. }
  1697. .faq-item > summary:hover {
  1698. color: var(--color-primary);
  1699. }
  1700. .faq-answer {
  1701. padding: 0 var(--space-xl) var(--space-lg);
  1702. font-size: var(--font-size-small);
  1703. color: var(--color-text-secondary);
  1704. line-height: 1.8;
  1705. border-top: 1px solid var(--color-border-light);
  1706. padding-top: var(--space-md);
  1707. }
  1708. @media (max-width: 768px) {
  1709. .faq-item > summary {
  1710. padding: var(--space-md) var(--space-lg);
  1711. font-size: var(--font-size-small);
  1712. }
  1713. .faq-answer {
  1714. padding: 0 var(--space-lg) var(--space-md);
  1715. font-size: var(--font-size-tiny);
  1716. }
  1717. }
  1718. /* ----------------------------------------------------------
  1719. 15. Footer
  1720. ---------------------------------------------------------- */
  1721. .site-footer {
  1722. background: var(--color-text-primary);
  1723. color: #fff;
  1724. padding: var(--space-3xl) 0 0;
  1725. }
  1726. .footer-inner {
  1727. display: flex;
  1728. justify-content: space-between;
  1729. gap: var(--space-3xl);
  1730. padding-bottom: var(--space-2xl);
  1731. border-bottom: 1px solid rgba(255, 255, 255, .1);
  1732. }
  1733. .footer-brand .logo-text {
  1734. color: #fff;
  1735. font-size: 1.25rem;
  1736. font-weight: 700;
  1737. }
  1738. .footer-brand .logo-tag {
  1739. color: var(--color-primary);
  1740. font-weight: 600;
  1741. font-size: 1.25rem;
  1742. }
  1743. .footer-brand p {
  1744. color: rgba(255, 255, 255, .6);
  1745. font-size: var(--font-size-small);
  1746. margin-top: var(--space-sm);
  1747. max-width: 300px;
  1748. line-height: 1.7;
  1749. }
  1750. .footer-links {
  1751. display: flex;
  1752. gap: var(--space-3xl);
  1753. }
  1754. .footer-col h4 {
  1755. font-size: var(--font-size-tiny);
  1756. font-weight: 600;
  1757. text-transform: uppercase;
  1758. letter-spacing: .06em;
  1759. color: rgba(255, 255, 255, .5);
  1760. margin-bottom: var(--space-md);
  1761. }
  1762. .footer-col ul li {
  1763. margin-bottom: var(--space-sm);
  1764. }
  1765. .footer-col ul li a {
  1766. font-size: var(--font-size-small);
  1767. color: rgba(255, 255, 255, .7);
  1768. transition: color var(--transition-fast);
  1769. }
  1770. .footer-col ul li a:hover {
  1771. color: var(--color-primary);
  1772. }
  1773. .footer-bottom {
  1774. text-align: center;
  1775. padding: var(--space-lg) 0;
  1776. }
  1777. .footer-bottom p {
  1778. font-size: var(--font-size-tiny);
  1779. color: rgba(255, 255, 255, .4);
  1780. }
  1781. /* ----------------------------------------------------------
  1782. 16. Scroll Animations (AOS-like)
  1783. ---------------------------------------------------------- */
  1784. .reveal {
  1785. opacity: 0;
  1786. transform: translateY(30px);
  1787. transition: opacity .6s ease, transform .6s cubic-bezier(.4, 0, .2, 1);
  1788. }
  1789. .reveal.visible {
  1790. opacity: 1;
  1791. transform: translateY(0);
  1792. }
  1793. /* ----------------------------------------------------------
  1794. 17. Responsive - Tablet
  1795. ---------------------------------------------------------- */
  1796. @media (max-width: 1024px) {
  1797. .hero-inner {
  1798. grid-template-columns: 1fr;
  1799. text-align: center;
  1800. }
  1801. .hero-desc {
  1802. margin-left: auto;
  1803. margin-right: auto;
  1804. }
  1805. .hero-actions {
  1806. justify-content: center;
  1807. }
  1808. .hero-visual {
  1809. display: flex;
  1810. margin-top: var(--space-2xl);
  1811. }
  1812. .dimension-grid > .dimension-card {
  1813. width: calc((100% - var(--space-xl)) / 2);
  1814. }
  1815. .features-grid {
  1816. grid-template-columns: repeat(2, 1fr);
  1817. }
  1818. .roles-flow {
  1819. gap: var(--space-md);
  1820. }
  1821. .role-card {
  1822. padding: var(--space-lg) var(--space-md);
  1823. }
  1824. .roles-connector {
  1825. flex-direction: row;
  1826. gap: 0;
  1827. }
  1828. .connector-arrow {
  1829. width: 40px;
  1830. height: 2px;
  1831. }
  1832. .connector-arrow::after {
  1833. top: 50%;
  1834. left: auto;
  1835. right: -4px;
  1836. bottom: auto;
  1837. transform: translateY(-50%);
  1838. border: 5px solid transparent;
  1839. border-left-color: var(--color-border);
  1840. border-top-color: transparent;
  1841. }
  1842. .contact-grid {
  1843. grid-template-columns: 1fr;
  1844. }
  1845. .product-stats {
  1846. grid-template-columns: repeat(2, 1fr);
  1847. }
  1848. }
  1849. /* ----------------------------------------------------------
  1850. 18. Responsive - Mobile
  1851. ---------------------------------------------------------- */
  1852. @media (max-width: 768px) {
  1853. :root {
  1854. --space-section: 3.5rem;
  1855. --header-height: 56px;
  1856. }
  1857. .container {
  1858. padding: 0 var(--space-md);
  1859. }
  1860. /* Mobile Nav */
  1861. .nav-toggle {
  1862. display: flex;
  1863. }
  1864. .nav {
  1865. position: fixed;
  1866. top: var(--header-height);
  1867. left: 0;
  1868. right: 0;
  1869. background: rgba(245, 250, 254, .97);
  1870. backdrop-filter: blur(16px);
  1871. -webkit-backdrop-filter: blur(16px);
  1872. border-bottom: 1px solid var(--color-border-light);
  1873. padding: var(--space-lg);
  1874. transform: translateY(-110%);
  1875. opacity: 0;
  1876. transition: all var(--transition-normal);
  1877. pointer-events: none;
  1878. }
  1879. .nav.open {
  1880. transform: translateY(0);
  1881. opacity: 1;
  1882. pointer-events: auto;
  1883. }
  1884. .nav-list {
  1885. flex-direction: column;
  1886. gap: 0;
  1887. }
  1888. .nav-link {
  1889. display: block;
  1890. padding: var(--space-md) 0;
  1891. border-bottom: 1px solid var(--color-border-light);
  1892. width: 100%;
  1893. }
  1894. .nav-link::after {
  1895. display: none;
  1896. }
  1897. /* Hero */
  1898. .hero-title {
  1899. font-size: clamp(1.75rem, 7vw, 2.5rem);
  1900. }
  1901. .hero-desc {
  1902. font-size: var(--font-size-small);
  1903. }
  1904. .hero-actions {
  1905. flex-direction: column;
  1906. align-items: stretch;
  1907. }
  1908. .btn {
  1909. justify-content: center;
  1910. }
  1911. /* Grids */
  1912. .about-grid {
  1913. grid-template-columns: 1fr;
  1914. }
  1915. .dimension-grid > .dimension-card {
  1916. width: 100%;
  1917. }
  1918. .features-grid {
  1919. grid-template-columns: 1fr;
  1920. }
  1921. .contact-grid {
  1922. grid-template-columns: 1fr;
  1923. }
  1924. .product-stats {
  1925. grid-template-columns: repeat(2, 1fr);
  1926. }
  1927. .cta-cards {
  1928. grid-template-columns: 1fr;
  1929. }
  1930. .footer-inner {
  1931. flex-direction: column;
  1932. gap: var(--space-xl);
  1933. }
  1934. .footer-links {
  1935. gap: var(--space-xl);
  1936. }
  1937. .product-quote {
  1938. padding: var(--space-md) var(--space-lg);
  1939. }
  1940. .product-quote p {
  1941. font-size: var(--font-size-small);
  1942. }
  1943. .stat-num {
  1944. font-size: 1.5rem;
  1945. }
  1946. /* Roles row — tighter spacing */
  1947. .roles-flow {
  1948. gap: var(--space-sm);
  1949. }
  1950. .role-card {
  1951. padding: var(--space-md);
  1952. }
  1953. .role-card h3 {
  1954. font-size: calc(var(--font-size-h3) * 0.85);
  1955. }
  1956. .role-perms li {
  1957. font-size: calc(var(--font-size-tiny) * 0.9);
  1958. }
  1959. .role-qr-code {
  1960. width: 150px;
  1961. height: 150px;
  1962. }
  1963. }
  1964. @media (max-width: 480px) {
  1965. .product-stats {
  1966. grid-template-columns: repeat(2, 1fr);
  1967. gap: var(--space-sm);
  1968. }
  1969. .stat {
  1970. padding: var(--space-md);
  1971. }
  1972. .roles-flow {
  1973. flex-direction: column;
  1974. gap: var(--space-md);
  1975. }
  1976. .roles-connector {
  1977. flex-direction: column;
  1978. gap: var(--space-xs);
  1979. }
  1980. .connector-arrow {
  1981. width: 2px;
  1982. height: 40px;
  1983. }
  1984. .connector-arrow::after {
  1985. top: auto;
  1986. left: 50%;
  1987. right: auto;
  1988. bottom: -4px;
  1989. transform: translateX(-50%);
  1990. border: 5px solid transparent;
  1991. border-top-color: var(--color-border);
  1992. border-left-color: transparent;
  1993. }
  1994. .footer-links {
  1995. flex-direction: column;
  1996. gap: var(--space-lg);
  1997. }
  1998. }
  1999. /* ----------------------------------------------------------
  2000. 19. Logo
  2001. ---------------------------------------------------------- */
  2002. .logo-img {
  2003. display: block;
  2004. flex-shrink: 0;
  2005. border-radius: 8px;
  2006. width: 36px;
  2007. height: 36px;
  2008. object-fit: contain;
  2009. }
  2010. .footer-logo-img {
  2011. display: block;
  2012. flex-shrink: 0;
  2013. border-radius: 10px;
  2014. margin-bottom: var(--space-xs);
  2015. object-fit: contain;
  2016. }
  2017. /* ----------------------------------------------------------
  2018. 20. Wuxing Philosophy Section
  2019. ---------------------------------------------------------- */
  2020. .section-wuxing {
  2021. background: linear-gradient(180deg, var(--bg-body) 0%, var(--bg-surface) 100%);
  2022. }
  2023. /* --- Diagram --- */
  2024. .wuxing-diagram {
  2025. position: relative;
  2026. width: 100%;
  2027. max-width: 480px;
  2028. aspect-ratio: 1;
  2029. margin: 0 auto var(--space-3xl);
  2030. }
  2031. .wuxing-diagram canvas {
  2032. display: block;
  2033. width: 100%;
  2034. height: 100%;
  2035. }
  2036. .wuxing-diagram .taiji-center {
  2037. position: absolute;
  2038. top: 50%;
  2039. left: 50%;
  2040. transform: translate(-50%, -50%);
  2041. pointer-events: none;
  2042. z-index: 1;
  2043. color: var(--color-text-secondary);
  2044. }
  2045. .wuxing-diagram .taiji-svg {
  2046. display: block;
  2047. animation: taiji-rotate 24s linear infinite;
  2048. }
  2049. @keyframes taiji-rotate {
  2050. to { transform: rotate(360deg); }
  2051. }
  2052. /* --- Explanation Cards --- */
  2053. .wuxing-explanations {
  2054. max-width: 960px;
  2055. margin: 0 auto;
  2056. }
  2057. .we-section {
  2058. margin-bottom: var(--space-2xl);
  2059. }
  2060. .we-section:last-child {
  2061. margin-bottom: 0;
  2062. }
  2063. .we-title {
  2064. font-size: var(--font-size-h3);
  2065. font-weight: 700;
  2066. margin-bottom: var(--space-xs);
  2067. }
  2068. .we-sheng {
  2069. color: var(--color-secondary);
  2070. }
  2071. .we-ke {
  2072. color: var(--color-primary);
  2073. }
  2074. .we-subtitle {
  2075. font-size: var(--font-size-small);
  2076. color: var(--color-text-secondary);
  2077. margin-bottom: var(--space-lg);
  2078. }
  2079. .we-grid {
  2080. display: grid;
  2081. grid-template-columns: repeat(5, 1fr);
  2082. gap: var(--space-md);
  2083. }
  2084. .wuxing-card {
  2085. background: var(--bg-surface);
  2086. border: 1px solid var(--color-border-light);
  2087. border-radius: var(--radius-md);
  2088. padding: var(--space-lg);
  2089. text-align: center;
  2090. transition: all var(--transition-normal);
  2091. position: relative;
  2092. overflow: hidden;
  2093. }
  2094. .wuxing-card::before {
  2095. content: '';
  2096. position: absolute;
  2097. top: 0;
  2098. left: 0;
  2099. right: 0;
  2100. height: 3px;
  2101. background: var(--wc-color);
  2102. opacity: .5;
  2103. transition: opacity var(--transition-normal);
  2104. }
  2105. .wuxing-card:hover {
  2106. transform: translateY(-4px);
  2107. box-shadow: var(--shadow-md);
  2108. border-color: transparent;
  2109. }
  2110. .wuxing-card:hover::before {
  2111. opacity: 1;
  2112. }
  2113. .wc-arrow {
  2114. display: inline-block;
  2115. font-size: var(--font-size-tiny);
  2116. font-weight: 700;
  2117. color: var(--wc-color);
  2118. padding: .15em .6em;
  2119. border-radius: var(--radius-full);
  2120. background: color-mix(in srgb, var(--wc-color) 10%, white);
  2121. margin-bottom: var(--space-sm);
  2122. }
  2123. .wuxing-card h4 {
  2124. font-size: 1rem;
  2125. font-weight: 700;
  2126. margin-bottom: var(--space-xs);
  2127. color: var(--color-text-primary);
  2128. }
  2129. .wuxing-card p {
  2130. font-size: var(--font-size-tiny);
  2131. color: var(--color-text-secondary);
  2132. line-height: 1.6;
  2133. }
  2134. @media (max-width: 1024px) {
  2135. .we-grid {
  2136. grid-template-columns: repeat(3, 1fr);
  2137. }
  2138. }
  2139. @media (max-width: 600px) {
  2140. .we-grid {
  2141. grid-template-columns: repeat(2, 1fr);
  2142. }
  2143. }
  2144. @media (max-width: 480px) {
  2145. .we-grid {
  2146. grid-template-columns: 1fr;
  2147. }
  2148. }
  2149. /* Mobile: prevent dimension title wrapping */
  2150. @media (max-width: 600px) {
  2151. .dim-title {
  2152. font-size: 1rem;
  2153. flex-wrap: wrap;
  2154. }
  2155. .dim-emoji {
  2156. font-size: 1.2rem;
  2157. }
  2158. .dim-element {
  2159. font-size: 9px;
  2160. }
  2161. }
  2162. /* ----------------------------------------------------------
  2163. 21. Dimension Energy Tips
  2164. ---------------------------------------------------------- */
  2165. .dim-energy {
  2166. margin-top: var(--space-md);
  2167. padding-top: var(--space-md);
  2168. border-top: 1px dashed var(--color-border-light);
  2169. }
  2170. .dim-energy h4 {
  2171. font-size: var(--font-size-small);
  2172. font-weight: 700;
  2173. color: var(--dim-color);
  2174. margin-bottom: var(--space-sm);
  2175. }
  2176. .dim-energy ul {
  2177. display: flex;
  2178. flex-direction: column;
  2179. gap: var(--space-xs);
  2180. }
  2181. .dim-energy ul li {
  2182. font-size: var(--font-size-tiny);
  2183. color: var(--color-text-secondary);
  2184. padding: .25em 0;
  2185. display: flex;
  2186. align-items: center;
  2187. gap: var(--space-xs);
  2188. }
  2189. .dim-energy ul li::before {
  2190. content: '✦';
  2191. color: var(--dim-color);
  2192. font-size: 10px;
  2193. flex-shrink: 0;
  2194. }
  2195. /* Dim element badge */
  2196. .dim-element {
  2197. display: inline-block;
  2198. font-size: 10px;
  2199. font-weight: 600;
  2200. color: #fff;
  2201. padding: .15em .6em;
  2202. border-radius: var(--radius-full);
  2203. margin-left: var(--space-xs);
  2204. vertical-align: middle;
  2205. letter-spacing: .04em;
  2206. white-space: nowrap;
  2207. }
  2208. /* Prevent role name (家长/孩子/成长规划师) from breaking across lines */
  2209. .role-perms li strong {
  2210. white-space: nowrap;
  2211. }
  2212. /* ----------------------------------------------------------
  2213. 22. Product Feature Bullet Lists
  2214. ---------------------------------------------------------- */
  2215. .product-summary {
  2216. font-size: var(--font-size-small);
  2217. color: var(--color-text-secondary);
  2218. line-height: 1.6;
  2219. margin-bottom: var(--space-sm);
  2220. }
  2221. .product-features {
  2222. list-style: none;
  2223. padding: 0;
  2224. margin: 0 0 var(--space-md);
  2225. }
  2226. .product-features li {
  2227. position: relative;
  2228. padding-left: 1.25em;
  2229. font-size: var(--font-size-small);
  2230. color: var(--color-text-secondary);
  2231. line-height: 1.8;
  2232. }
  2233. .product-features li::before {
  2234. content: '·';
  2235. position: absolute;
  2236. left: .35em;
  2237. color: var(--product-color, var(--color-primary));
  2238. font-weight: 700;
  2239. font-size: 1.1em;
  2240. }
  2241. /* ----------------------------------------------------------
  2242. 23. Floating CTA Button
  2243. ---------------------------------------------------------- */
  2244. .float-cta {
  2245. position: fixed;
  2246. bottom: 2rem;
  2247. right: 2rem;
  2248. z-index: 999;
  2249. display: flex;
  2250. flex-direction: column;
  2251. align-items: flex-end;
  2252. gap: var(--space-sm);
  2253. }
  2254. .float-cta-btn {
  2255. width: 52px;
  2256. height: 52px;
  2257. border-radius: 50%;
  2258. border: none;
  2259. background: var(--color-primary);
  2260. color: #fff;
  2261. cursor: pointer;
  2262. display: flex;
  2263. align-items: center;
  2264. justify-content: center;
  2265. box-shadow: 0 4px 16px rgba(249, 115, 22, .35);
  2266. transition: all var(--transition-fast);
  2267. position: relative;
  2268. }
  2269. .float-cta-btn:hover {
  2270. background: var(--color-primary-hover);
  2271. transform: scale(1.08);
  2272. box-shadow: 0 6px 24px rgba(249, 115, 22, .45);
  2273. }
  2274. .float-cta-btn:active {
  2275. transform: scale(.95);
  2276. }
  2277. .float-cta-popup {
  2278. position: absolute;
  2279. bottom: 64px;
  2280. right: 0;
  2281. opacity: 0;
  2282. visibility: hidden;
  2283. transform: translateY(8px) scale(.95);
  2284. transition: all var(--transition-normal);
  2285. transform-origin: bottom right;
  2286. }
  2287. .float-cta-popup.open {
  2288. opacity: 1;
  2289. visibility: visible;
  2290. transform: translateY(0) scale(1);
  2291. }
  2292. .float-cta-popup-inner {
  2293. background: var(--bg-surface);
  2294. border-radius: var(--radius-lg);
  2295. box-shadow: var(--shadow-xl);
  2296. padding: var(--space-lg);
  2297. text-align: center;
  2298. min-width: 200px;
  2299. position: relative;
  2300. }
  2301. .float-cta-close {
  2302. position: absolute;
  2303. top: 6px;
  2304. right: 10px;
  2305. border: none;
  2306. background: none;
  2307. font-size: 1.4rem;
  2308. color: var(--color-text-muted);
  2309. cursor: pointer;
  2310. line-height: 1;
  2311. padding: 4px;
  2312. }
  2313. .float-cta-close:hover {
  2314. color: var(--color-text-primary);
  2315. }
  2316. .float-cta-title {
  2317. font-size: var(--font-size-small);
  2318. font-weight: 600;
  2319. color: var(--color-text-primary);
  2320. margin-bottom: var(--space-sm);
  2321. }
  2322. .float-cta-qr {
  2323. margin: 0 auto var(--space-sm);
  2324. width: 72px;
  2325. height: 72px;
  2326. display: flex;
  2327. align-items: center;
  2328. justify-content: center;
  2329. background: var(--bg-body);
  2330. border-radius: var(--radius-sm);
  2331. }
  2332. .float-cta-tip {
  2333. font-size: var(--font-size-tiny);
  2334. color: var(--color-text-muted);
  2335. }
  2336. /* ----------------------------------------------------------
  2337. 24. Cookie Consent Banner
  2338. ---------------------------------------------------------- */
  2339. .cookie-consent {
  2340. position: fixed;
  2341. bottom: 0;
  2342. left: 0;
  2343. right: 0;
  2344. background: var(--color-text-primary);
  2345. color: #fff;
  2346. padding: var(--space-md) var(--space-xl);
  2347. display: flex;
  2348. align-items: center;
  2349. justify-content: center;
  2350. gap: var(--space-lg);
  2351. z-index: 1000;
  2352. transform: translateY(100%);
  2353. transition: transform var(--transition-normal);
  2354. flex-wrap: wrap;
  2355. }
  2356. .cookie-consent.visible {
  2357. transform: translateY(0);
  2358. }
  2359. .cookie-consent-text {
  2360. font-size: var(--font-size-small);
  2361. color: rgba(255, 255, 255, .85);
  2362. line-height: 1.5;
  2363. }
  2364. .cookie-consent-text a {
  2365. color: var(--color-accent);
  2366. text-decoration: underline;
  2367. }
  2368. .cookie-consent-btn {
  2369. background: var(--color-primary);
  2370. color: #fff;
  2371. border: none;
  2372. border-radius: var(--radius-full);
  2373. padding: .5em 1.5em;
  2374. font-size: var(--font-size-small);
  2375. cursor: pointer;
  2376. white-space: nowrap;
  2377. transition: background var(--transition-fast);
  2378. flex-shrink: 0;
  2379. }
  2380. .cookie-consent-btn:hover {
  2381. background: var(--color-primary-hover);
  2382. }
  2383. /* ----------------------------------------------------------
  2384. 25. Footer Enhancements
  2385. ---------------------------------------------------------- */
  2386. .footer-contact li {
  2387. font-size: var(--font-size-small);
  2388. color: var(--color-text-secondary);
  2389. line-height: 1.8;
  2390. }
  2391. .footer-legal {
  2392. margin-top: var(--space-xs);
  2393. font-size: var(--font-size-tiny);
  2394. color: var(--color-text-muted);
  2395. display: flex;
  2396. gap: var(--space-md);
  2397. justify-content: center;
  2398. flex-wrap: wrap;
  2399. }
  2400. .footer-legal a {
  2401. color: var(--color-text-muted);
  2402. text-decoration: underline;
  2403. }
  2404. .footer-legal a:hover {
  2405. color: var(--color-primary);
  2406. }
  2407. /* Responsive footer bottom on small screens */
  2408. @media (max-width: 480px) {
  2409. .footer-legal {
  2410. flex-direction: column;
  2411. gap: var(--space-xs);
  2412. align-items: center;
  2413. }
  2414. .float-cta {
  2415. bottom: 1rem;
  2416. right: 1rem;
  2417. }
  2418. .float-cta-btn {
  2419. width: 46px;
  2420. height: 46px;
  2421. }
  2422. .cookie-consent {
  2423. padding: var(--space-sm) var(--space-md);
  2424. flex-direction: column;
  2425. text-align: center;
  2426. }
  2427. }
  2428. /* ----------------------------------------------------------
  2429. 26. Knowledge Base Section
  2430. ---------------------------------------------------------- */
  2431. .section-knowledge {
  2432. background: var(--bg-section-alt);
  2433. }
  2434. .knowledge-grid {
  2435. display: grid;
  2436. grid-template-columns: repeat(2, 1fr);
  2437. gap: var(--space-xl);
  2438. margin-top: var(--space-xl);
  2439. }
  2440. .knowledge-card {
  2441. background: var(--bg-surface);
  2442. border-radius: var(--radius-lg);
  2443. overflow: hidden;
  2444. box-shadow: var(--shadow-sm);
  2445. transition: all var(--transition-normal);
  2446. display: flex;
  2447. flex-direction: column;
  2448. }
  2449. .knowledge-card:hover {
  2450. box-shadow: var(--shadow-md);
  2451. transform: translateY(-3px);
  2452. }
  2453. .knowledge-card-cover {
  2454. width: 100%;
  2455. height: 180px;
  2456. object-fit: cover;
  2457. background: var(--color-primary-light);
  2458. display: flex;
  2459. align-items: center;
  2460. justify-content: center;
  2461. color: var(--color-primary);
  2462. font-size: 2.5rem;
  2463. }
  2464. .knowledge-card-body {
  2465. padding: var(--space-lg);
  2466. flex: 1;
  2467. display: flex;
  2468. flex-direction: column;
  2469. }
  2470. .knowledge-card-category {
  2471. display: inline-block;
  2472. font-size: var(--font-size-tiny);
  2473. font-weight: 600;
  2474. color: var(--color-primary);
  2475. background: var(--color-primary-light);
  2476. padding: .2em .8em;
  2477. border-radius: var(--radius-full);
  2478. margin-bottom: var(--space-sm);
  2479. align-self: flex-start;
  2480. }
  2481. .knowledge-card-title {
  2482. font-size: 1.05rem;
  2483. font-weight: 700;
  2484. color: var(--color-text-primary);
  2485. line-height: 1.5;
  2486. margin-bottom: var(--space-sm);
  2487. display: -webkit-box;
  2488. -webkit-line-clamp: 2;
  2489. -webkit-box-orient: vertical;
  2490. overflow: hidden;
  2491. }
  2492. .knowledge-card-summary {
  2493. font-size: var(--font-size-small);
  2494. color: var(--color-text-secondary);
  2495. line-height: 1.7;
  2496. flex: 1;
  2497. display: -webkit-box;
  2498. -webkit-line-clamp: 3;
  2499. -webkit-box-orient: vertical;
  2500. overflow: hidden;
  2501. margin-bottom: var(--space-md);
  2502. }
  2503. .knowledge-card-meta {
  2504. font-size: var(--font-size-tiny);
  2505. color: var(--color-text-muted);
  2506. display: flex;
  2507. align-items: center;
  2508. gap: var(--space-md);
  2509. padding-top: var(--space-sm);
  2510. border-top: 1px solid var(--color-border-light);
  2511. }
  2512. .knowledge-card-meta .dimension-tag {
  2513. display: inline-block;
  2514. font-size: 10px;
  2515. font-weight: 600;
  2516. padding: .15em .5em;
  2517. border-radius: var(--radius-full);
  2518. color: #fff;
  2519. }
  2520. .knowledge-footer {
  2521. text-align: center;
  2522. margin-top: var(--space-2xl);
  2523. }
  2524. .knowledge-tip {
  2525. font-size: var(--font-size-small);
  2526. color: var(--color-text-muted);
  2527. }
  2528. .knowledge-tip strong {
  2529. color: var(--color-primary);
  2530. }
  2531. .knowledge-loading {
  2532. grid-column: 1 / -1;
  2533. text-align: center;
  2534. padding: var(--space-3xl) 0;
  2535. }
  2536. .knowledge-loading-text {
  2537. font-size: var(--font-size-small);
  2538. color: var(--color-text-muted);
  2539. }
  2540. .knowledge-error {
  2541. grid-column: 1 / -1;
  2542. text-align: center;
  2543. padding: var(--space-xl) 0;
  2544. color: var(--color-text-muted);
  2545. font-size: var(--font-size-small);
  2546. }
  2547. @media (max-width: 600px) {
  2548. .knowledge-grid {
  2549. grid-template-columns: 1fr;
  2550. }
  2551. .knowledge-card-cover {
  2552. height: 140px;
  2553. }
  2554. }
  2555. /* ====== Knowledge Page Styles ====== */
  2556. /* Nav active state */
  2557. .nav-link.active {
  2558. color: var(--color-primary) !important;
  2559. }
  2560. .nav-link.active::after {
  2561. width: 100% !important;
  2562. opacity: 1 !important;
  2563. }
  2564. /* Hero Section */
  2565. .k-hero {
  2566. min-height: 70vh;
  2567. display: flex;
  2568. align-items: center;
  2569. position: relative;
  2570. padding-top: var(--header-height);
  2571. overflow: hidden;
  2572. }
  2573. .k-hero-bg {
  2574. position: absolute;
  2575. inset: 0;
  2576. background:
  2577. radial-gradient(ellipse 80% 50% at 50% -10%, rgba(249, 115, 22, .08), transparent),
  2578. radial-gradient(ellipse 60% 40% at 80% 80%, rgba(16, 185, 129, .05), transparent);
  2579. pointer-events: none;
  2580. }
  2581. .k-hero-inner {
  2582. display: grid;
  2583. grid-template-columns: 1fr 1fr;
  2584. gap: var(--space-3xl);
  2585. align-items: center;
  2586. position: relative;
  2587. z-index: 1;
  2588. }
  2589. .k-hero-badge {
  2590. display: inline-block;
  2591. font-size: var(--font-size-tiny);
  2592. font-weight: 600;
  2593. letter-spacing: .06em;
  2594. color: var(--color-primary);
  2595. background: var(--color-primary-light);
  2596. padding: .4em 1.2em;
  2597. border-radius: var(--radius-full);
  2598. margin-bottom: var(--space-lg);
  2599. }
  2600. .k-hero-title {
  2601. font-size: 2.8rem;
  2602. font-weight: 800;
  2603. line-height: 1.15;
  2604. margin-bottom: var(--space-lg);
  2605. }
  2606. .k-hero-desc {
  2607. font-size: 1.0625rem;
  2608. color: var(--color-text-secondary);
  2609. line-height: 1.8;
  2610. margin-bottom: var(--space-xl);
  2611. max-width: 520px;
  2612. }
  2613. .k-hero-desc strong {
  2614. color: var(--color-text-primary);
  2615. }
  2616. .k-hero-actions {
  2617. display: flex;
  2618. gap: var(--space-md);
  2619. flex-wrap: wrap;
  2620. }
  2621. .k-hero-visual {
  2622. display: flex;
  2623. justify-content: center;
  2624. align-items: center;
  2625. }
  2626. /* Section Headers */
  2627. .k-section-header {
  2628. display: flex;
  2629. align-items: center;
  2630. gap: var(--space-xl);
  2631. margin-bottom: var(--space-2xl);
  2632. padding-bottom: var(--space-xl);
  2633. border-bottom: 2px solid var(--color-border-light);
  2634. }
  2635. .k-section-icon {
  2636. flex-shrink: 0;
  2637. width: 90px;
  2638. display: flex;
  2639. justify-content: center;
  2640. align-items: center;
  2641. }
  2642. .k-section-text {
  2643. flex: 1;
  2644. }
  2645. .k-section-tag {
  2646. display: inline-block;
  2647. font-size: .75rem;
  2648. font-weight: 700;
  2649. letter-spacing: .08em;
  2650. padding: .3em .8em;
  2651. border-radius: var(--radius-full);
  2652. margin-bottom: var(--space-sm);
  2653. }
  2654. .k-section-title {
  2655. font-size: var(--font-size-h2);
  2656. font-weight: 800;
  2657. line-height: 1.2;
  2658. margin-bottom: var(--space-xs);
  2659. }
  2660. .k-section-desc {
  2661. font-size: var(--font-size-small);
  2662. color: var(--color-text-secondary);
  2663. line-height: 1.7;
  2664. max-width: 640px;
  2665. }
  2666. .k-section-desc strong {
  2667. color: var(--color-text-primary);
  2668. }
  2669. /* Dimension section */
  2670. .k-dim-section {
  2671. margin-bottom: var(--space-2xl);
  2672. padding: var(--space-xl);
  2673. border-radius: var(--radius-lg);
  2674. background: var(--k-bg);
  2675. border: 1px solid var(--color-border-light);
  2676. }
  2677. .k-dim-header {
  2678. display: flex;
  2679. align-items: center;
  2680. gap: var(--space-sm);
  2681. margin-bottom: var(--space-lg);
  2682. padding-bottom: var(--space-md);
  2683. border-bottom: 1px solid var(--color-border-light);
  2684. }
  2685. .k-dim-dot {
  2686. width: 12px;
  2687. height: 12px;
  2688. border-radius: 50%;
  2689. flex-shrink: 0;
  2690. }
  2691. .k-dim-name {
  2692. font-size: 1.3rem;
  2693. font-weight: 800;
  2694. color: var(--k-color);
  2695. line-height: 1;
  2696. }
  2697. .k-dim-sub {
  2698. font-size: var(--font-size-small);
  2699. color: var(--color-text-muted);
  2700. margin-left: auto;
  2701. }
  2702. /* Article Grid */
  2703. .k-article-grid {
  2704. display: grid;
  2705. grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  2706. gap: var(--space-md);
  2707. }
  2708. .k-article-card {
  2709. display: flex;
  2710. align-items: center;
  2711. gap: var(--space-md);
  2712. padding: var(--space-md);
  2713. background: #fff;
  2714. border-radius: var(--radius-md);
  2715. text-decoration: none;
  2716. border: 1px solid var(--color-border-light);
  2717. transition: all var(--transition-fast);
  2718. }
  2719. .k-article-card:hover {
  2720. box-shadow: var(--shadow-md);
  2721. border-color: var(--k-color, var(--color-primary));
  2722. transform: translateY(-2px);
  2723. }
  2724. .k-article-icon {
  2725. font-size: 1.6rem;
  2726. flex-shrink: 0;
  2727. width: 40px;
  2728. text-align: center;
  2729. }
  2730. .k-article-info {
  2731. flex: 1;
  2732. min-width: 0;
  2733. }
  2734. .k-article-info h4 {
  2735. font-size: .9375rem;
  2736. font-weight: 700;
  2737. color: var(--color-text-primary);
  2738. margin-bottom: .25em;
  2739. line-height: 1.4;
  2740. }
  2741. .k-article-info p {
  2742. font-size: .8125rem;
  2743. color: var(--color-text-muted);
  2744. line-height: 1.5;
  2745. display: -webkit-box;
  2746. -webkit-line-clamp: 2;
  2747. -webkit-box-orient: vertical;
  2748. overflow: hidden;
  2749. }
  2750. .k-article-arrow {
  2751. color: var(--color-text-muted);
  2752. font-size: 1rem;
  2753. flex-shrink: 0;
  2754. transition: transform var(--transition-fast);
  2755. }
  2756. .k-article-card:hover .k-article-arrow {
  2757. color: var(--k-color, var(--color-primary));
  2758. transform: translateX(3px);
  2759. }
  2760. .k-article-card--coming {
  2761. cursor: default;
  2762. opacity: .7;
  2763. }
  2764. .k-article-card--coming:hover {
  2765. transform: none;
  2766. box-shadow: var(--shadow-sm);
  2767. border-color: var(--color-border-light);
  2768. }
  2769. .k-coming-badge {
  2770. display: inline-block;
  2771. font-size: .6875rem;
  2772. color: var(--color-text-muted);
  2773. background: var(--color-bg-secondary);
  2774. padding: .2em .6em;
  2775. border-radius: var(--radius-full);
  2776. margin-top: .3em;
  2777. }
  2778. /* Footer CTA */
  2779. .k-footer-cta {
  2780. text-align: center;
  2781. padding: var(--space-2xl) 0;
  2782. }
  2783. .k-footer-cta p {
  2784. font-size: var(--font-size-small);
  2785. color: var(--color-text-secondary);
  2786. margin-bottom: var(--space-md);
  2787. }
  2788. /* Section alt (行·富) */
  2789. .section-knowledge-alt {
  2790. background: var(--color-bg-secondary, #FAFBFD);
  2791. }
  2792. /* Responsive */
  2793. @media (max-width: 768px) {
  2794. .k-hero-inner {
  2795. grid-template-columns: 1fr;
  2796. text-align: center;
  2797. }
  2798. .k-hero-desc {
  2799. max-width: 100%;
  2800. }
  2801. .k-hero-actions {
  2802. justify-content: center;
  2803. }
  2804. .k-hero-visual {
  2805. display: none;
  2806. }
  2807. .k-section-header {
  2808. flex-direction: column;
  2809. text-align: center;
  2810. }
  2811. .k-section-icon {
  2812. margin-bottom: var(--space-sm);
  2813. }
  2814. .k-section-desc {
  2815. max-width: 100%;
  2816. }
  2817. .k-article-grid {
  2818. grid-template-columns: 1fr;
  2819. }
  2820. .k-dim-sub {
  2821. display: none;
  2822. }
  2823. }
  2824. /* Responsive: Wuxing diagram — handled by aspect-ratio and Canvas redraw */
  2825. @media (max-width: 600px) {
  2826. .wuxing-diagram {
  2827. max-width: 360px;
  2828. }
  2829. }
  2830. /* Application Scenarios Section */
  2831. .section-scenarios { background: var(--bg-section-alt); }
  2832. .scenarios-grid {
  2833. display: grid;
  2834. grid-template-columns: repeat(4, 1fr);
  2835. gap: var(--space-lg);
  2836. max-width: 1200px;
  2837. margin: 0 auto;
  2838. }
  2839. @media (max-width: 1100px) {
  2840. .scenarios-grid { grid-template-columns: repeat(3, 1fr); }
  2841. }
  2842. @media (max-width: 900px) {
  2843. .scenarios-grid { grid-template-columns: repeat(2, 1fr); }
  2844. }
  2845. @media (max-width: 600px) {
  2846. .scenarios-grid { grid-template-columns: 1fr; }
  2847. }
  2848. .scenario-card {
  2849. background: var(--bg-surface);
  2850. border: 1px solid var(--color-border-light);
  2851. border-radius: var(--radius-lg);
  2852. padding: var(--space-xl);
  2853. border-left: 4px solid var(--color-primary);
  2854. transition: all var(--transition-normal);
  2855. }
  2856. .scenario-card:hover {
  2857. transform: translateY(-4px);
  2858. box-shadow: var(--shadow-md);
  2859. border-color: transparent;
  2860. border-left-color: var(--color-primary);
  2861. }
  2862. .scenario-header {
  2863. display: flex;
  2864. align-items: center;
  2865. gap: var(--space-sm);
  2866. margin-bottom: var(--space-md);
  2867. }
  2868. .scenario-icon {
  2869. font-size: 1.5rem;
  2870. }
  2871. .scenario-tag {
  2872. display: inline-block;
  2873. padding: var(--space-xs) var(--space-sm);
  2874. background: var(--bg-section-alt);
  2875. border-radius: var(--radius-md);
  2876. font-size: var(--font-size-tiny);
  2877. font-weight: 600;
  2878. color: var(--color-primary);
  2879. margin-left: var(--space-sm);
  2880. }
  2881. .scenario-title {
  2882. font-size: var(--font-size-h3);
  2883. font-weight: 700;
  2884. color: var(--color-text-primary);
  2885. margin-bottom: var(--space-sm);
  2886. }
  2887. .scenario-desc {
  2888. font-size: var(--font-size-small);
  2889. color: var(--color-text-secondary);
  2890. line-height: 1.6;
  2891. margin-bottom: var(--space-lg);
  2892. }
  2893. .scenario-benefits {
  2894. display: flex;
  2895. flex-wrap: wrap;
  2896. gap: var(--space-sm);
  2897. margin-top: var(--space-md);
  2898. }
  2899. .scenario-benefits li {
  2900. display: flex;
  2901. align-items: center;
  2902. gap: var(--space-xs);
  2903. font-size: var(--font-size-tiny);
  2904. color: var(--color-text-muted);
  2905. }
  2906. .scenarios-cta {
  2907. margin-top: var(--space-2xl);
  2908. padding-top: var(--space-lg);
  2909. border-top: 1px solid var(--color-border-light);
  2910. }
  2911. .scenarios-cta p {
  2912. font-size: var(--font-size-small);
  2913. color: var(--color-text-secondary);
  2914. margin-bottom: var(--space-md);
  2915. }
  2916. .scenarios-cta-actions {
  2917. display: flex;
  2918. gap: var(--space-md);
  2919. }
  2920. .scenarios-cta-actions .btn:first-child {
  2921. flex: 1;
  2922. }
  2923. /* Override testimonial grid for consistency */
  2924. @media (max-width: 900px) {
  2925. .testimonials-grid { grid-template-columns: repeat(2, 1fr) !important; }
  2926. }
  2927. @media (max-width: 600px) {
  2928. .testimonials-grid { grid-template-columns: 1fr !important; }
  2929. }
  2930. /* ----------------------------------------------------------
  2931. 27. 换个过日子的方式 · 概念区 / 合规脚注 / 能力陈述
  2932. ---------------------------------------------------------- */
  2933. .concept-panel {
  2934. background: var(--bg-surface);
  2935. border: 1px solid var(--color-border-light);
  2936. border-radius: var(--radius-lg);
  2937. padding: var(--space-2xl);
  2938. text-align: center;
  2939. box-shadow: var(--shadow-sm);
  2940. }
  2941. .concept-title {
  2942. font-size: clamp(1.2rem, 3.5vw, 1.5rem);
  2943. font-weight: 700;
  2944. color: var(--color-text-primary);
  2945. margin-bottom: .5rem;
  2946. line-height: 1.5;
  2947. }
  2948. .concept-sub {
  2949. font-size: var(--font-size-small);
  2950. color: var(--color-text-muted);
  2951. margin-bottom: var(--space-xl);
  2952. }
  2953. .concept-lines {
  2954. display: flex;
  2955. flex-direction: column;
  2956. gap: .6rem;
  2957. max-width: 700px;
  2958. margin: 0 auto;
  2959. text-align: left;
  2960. }
  2961. .concept-line {
  2962. border: 1px solid var(--color-border-light);
  2963. border-radius: var(--radius-md);
  2964. padding: var(--space-lg);
  2965. }
  2966. .concept-line--passive { background: #faf9f6; }
  2967. .concept-line--active { background: var(--brand-50); border-color: var(--brand-100); }
  2968. .concept-line-head {
  2969. display: flex;
  2970. align-items: center;
  2971. gap: .4rem;
  2972. margin-bottom: .4rem;
  2973. font-size: 1.05rem;
  2974. color: var(--color-text-primary);
  2975. }
  2976. .concept-line-icon {
  2977. display: inline-flex;
  2978. width: 22px;
  2979. height: 22px;
  2980. align-items: center;
  2981. justify-content: center;
  2982. border-radius: 50%;
  2983. background: var(--color-border);
  2984. color: var(--color-text-muted);
  2985. font-size: .75rem;
  2986. }
  2987. .concept-line--active .concept-line-icon { background: var(--teal); color: #fff; }
  2988. .concept-line p {
  2989. font-size: var(--font-size-small);
  2990. color: var(--color-text-secondary);
  2991. line-height: 1.7;
  2992. margin: 0;
  2993. }
  2994. .concept-divider {
  2995. display: flex;
  2996. align-items: center;
  2997. justify-content: center;
  2998. gap: .4rem;
  2999. padding: .2rem 0;
  3000. color: var(--color-text-muted);
  3001. font-size: var(--font-size-tiny);
  3002. }
  3003. .concept-loop { margin-top: var(--space-xl); }
  3004. .concept-loop-label {
  3005. font-size: var(--font-size-small);
  3006. color: var(--color-text-muted);
  3007. margin-bottom: var(--space-md);
  3008. }
  3009. .concept-loop-track {
  3010. display: flex;
  3011. flex-wrap: wrap;
  3012. align-items: center;
  3013. justify-content: center;
  3014. gap: .5rem;
  3015. }
  3016. .concept-chip {
  3017. background: var(--brand-50);
  3018. border: 1px solid var(--brand-100);
  3019. padding: .45rem .85rem;
  3020. border-radius: var(--radius-sm);
  3021. font-size: var(--font-size-small);
  3022. color: var(--brand-600);
  3023. font-weight: 600;
  3024. }
  3025. .concept-chip--end {
  3026. background: var(--teal-light);
  3027. border-color: #BFE8DC;
  3028. color: var(--teal);
  3029. }
  3030. .concept-arrow { color: var(--brand-200); font-size: 1rem; }
  3031. /* 合规红线脚注(赤裸裸的诚实限定) */
  3032. .compliance-note {
  3033. max-width: 900px;
  3034. margin: var(--space-2xl) auto 0;
  3035. padding: var(--space-md) var(--space-lg);
  3036. background: var(--bg-body);
  3037. border: 1px solid var(--color-border-light);
  3038. border-left: 3px solid var(--brand-400);
  3039. border-radius: var(--radius-sm);
  3040. font-size: var(--font-size-tiny);
  3041. line-height: 1.7;
  3042. color: var(--color-text-muted);
  3043. text-align: left;
  3044. }
  3045. .contact-cta .compliance-note {
  3046. margin: var(--space-lg) 0 0;
  3047. font-size: var(--font-size-tiny);
  3048. text-align: center;
  3049. }
  3050. /* ----------------------------------------------------------
  3051. 28. 健康生活方式 · 图片位 / 五方面卡片
  3052. ---------------------------------------------------------- */
  3053. .hero-subtitle {
  3054. font-size: 1.05rem;
  3055. font-weight: 600;
  3056. color: var(--brand-600);
  3057. margin: calc(-1 * var(--space-sm)) 0 var(--space-md);
  3058. }
  3059. .hero-visual {
  3060. flex-direction: column;
  3061. gap: var(--space-md);
  3062. width: 100%;
  3063. }
  3064. /* 生活方式场景图占位容器:用户给图后直接把 <img> 填进容器即可 */
  3065. .lifestyle-shot {
  3066. position: relative;
  3067. width: 100%;
  3068. aspect-ratio: 4 / 3;
  3069. border-radius: var(--radius-lg);
  3070. border: 1px dashed var(--brand-200);
  3071. background: linear-gradient(135deg, var(--brand-50) 0%, #FFE8D2 55%, var(--brand-100) 100%);
  3072. display: flex;
  3073. align-items: center;
  3074. justify-content: center;
  3075. overflow: hidden;
  3076. color: var(--brand-600);
  3077. }
  3078. .lifestyle-shot::before {
  3079. content: '';
  3080. position: absolute;
  3081. inset: 0;
  3082. background: radial-gradient(circle at 25% 20%, rgba(255, 255, 255, .78), transparent 60%);
  3083. pointer-events: none;
  3084. }
  3085. .lifestyle-shot-hint {
  3086. position: relative;
  3087. z-index: 1;
  3088. font-size: var(--font-size-tiny);
  3089. font-weight: 600;
  3090. letter-spacing: .04em;
  3091. padding: .5em 1em;
  3092. background: rgba(255, 255, 255, .88);
  3093. border: 1px solid var(--brand-100);
  3094. border-radius: var(--radius-full);
  3095. text-align: center;
  3096. }
  3097. .lifestyle-shot--hero {
  3098. max-width: 420px;
  3099. aspect-ratio: 16 / 9;
  3100. }
  3101. .lifestyle-aspects {
  3102. display: grid;
  3103. grid-template-columns: repeat(5, 1fr);
  3104. gap: var(--space-md);
  3105. max-width: 1200px;
  3106. margin: 0 auto var(--space-3xl);
  3107. }
  3108. .aspect-card {
  3109. background: var(--bg-surface);
  3110. border: 1px solid var(--color-border-light);
  3111. border-radius: var(--radius-lg);
  3112. padding: var(--space-md);
  3113. text-align: center;
  3114. transition: all var(--transition-normal);
  3115. }
  3116. .aspect-card:hover {
  3117. transform: translateY(-4px);
  3118. box-shadow: var(--shadow-md);
  3119. border-color: transparent;
  3120. }
  3121. .aspect-card .lifestyle-shot {
  3122. aspect-ratio: 4 / 3;
  3123. border-radius: var(--radius-md);
  3124. }
  3125. .aspect-key {
  3126. display: inline-block;
  3127. margin: var(--space-md) 0 var(--space-xs);
  3128. font-size: 1.1rem;
  3129. font-weight: 800;
  3130. color: var(--aspect-color, var(--brand));
  3131. background: var(--aspect-bg, var(--brand-50));
  3132. padding: .2em .8em;
  3133. border-radius: var(--radius-full);
  3134. }
  3135. .aspect-card h3 {
  3136. font-size: 1rem;
  3137. font-weight: 700;
  3138. color: var(--color-text-primary);
  3139. line-height: 1.5;
  3140. margin-bottom: var(--space-xs);
  3141. }
  3142. .aspect-card p {
  3143. font-size: var(--font-size-tiny);
  3144. color: var(--color-text-secondary);
  3145. line-height: 1.7;
  3146. margin: 0;
  3147. }
  3148. @media (max-width: 1100px) {
  3149. .lifestyle-aspects { grid-template-columns: repeat(3, 1fr); }
  3150. }
  3151. @media (max-width: 768px) {
  3152. .lifestyle-aspects { grid-template-columns: repeat(2, 1fr); }
  3153. }
  3154. @media (max-width: 480px) {
  3155. .lifestyle-aspects { grid-template-columns: 1fr; }
  3156. }
  3157. .testimonials-cta {
  3158. max-width: 960px;
  3159. margin: var(--space-2xl) auto 0;
  3160. padding: var(--space-xl);
  3161. text-align: center;
  3162. background: var(--brand-50);
  3163. border: 1px solid var(--brand-100);
  3164. border-radius: var(--radius-lg);
  3165. }
  3166. .testimonials-cta p {
  3167. font-size: var(--font-size-body);
  3168. font-weight: 600;
  3169. color: var(--brand-deep);
  3170. margin-bottom: var(--space-md);
  3171. }
  3172. /* 已填生活方式场景图:铺满容器、去掉占位提示 */
  3173. .lifestyle-shot.has-photo{border-style:solid;border-color:var(--brand-100)}
  3174. .lifestyle-shot.has-photo::before{display:none}
  3175. .lifestyle-shot img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:inherit}
  3176. /* ----------------------------------------------------------
  3177. 29. AI 陪伴叙事 · 三段式主线 / 温暖共生区
  3178. 了解自己 → 了解家人 → 了解环境;最适合 = 最简单
  3179. ---------------------------------------------------------- */
  3180. .section-concept {
  3181. background: linear-gradient(180deg, var(--bg-surface) 0%, var(--brand-50) 55%, var(--bg-body) 100%);
  3182. }
  3183. .understand-grid {
  3184. display: grid;
  3185. grid-template-columns: repeat(3, 1fr);
  3186. gap: var(--space-xl);
  3187. max-width: 1080px;
  3188. margin: 0 auto var(--space-2xl);
  3189. }
  3190. .understand-card {
  3191. position: relative;
  3192. background: var(--bg-surface);
  3193. border: 1px solid var(--color-border-light);
  3194. border-top: 4px solid var(--u-color, var(--brand));
  3195. border-radius: var(--radius-lg);
  3196. padding: var(--space-2xl) var(--space-xl);
  3197. text-align: center;
  3198. box-shadow: var(--shadow-sm);
  3199. transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  3200. }
  3201. .understand-card::before {
  3202. content: '';
  3203. position: absolute;
  3204. inset: 0;
  3205. border-radius: inherit;
  3206. background: linear-gradient(160deg, var(--u-bg, var(--brand-50)), transparent 70%);
  3207. opacity: .7;
  3208. pointer-events: none;
  3209. }
  3210. .understand-card > * { position: relative; z-index: 1; }
  3211. .understand-card:hover {
  3212. transform: translateY(-6px);
  3213. box-shadow: var(--shadow-md);
  3214. }
  3215. .understep {
  3216. display: inline-block;
  3217. font-size: var(--font-size-tiny);
  3218. font-weight: 700;
  3219. letter-spacing: .08em;
  3220. color: var(--u-color, var(--brand));
  3221. background: var(--u-bg, var(--brand-50));
  3222. padding: .35em 1em;
  3223. border-radius: var(--radius-full);
  3224. margin-bottom: var(--space-md);
  3225. }
  3226. .understand-card h3 {
  3227. font-size: 1.3rem;
  3228. font-weight: 700;
  3229. color: var(--color-text-primary);
  3230. margin-bottom: var(--space-sm);
  3231. }
  3232. .understand-card p {
  3233. font-size: var(--font-size-small);
  3234. color: var(--color-text-secondary);
  3235. line-height: 1.8;
  3236. margin-bottom: var(--space-lg);
  3237. }
  3238. .under-line {
  3239. display: block;
  3240. font-size: var(--font-size-tiny);
  3241. font-weight: 600;
  3242. color: var(--u-color, var(--brand));
  3243. padding-top: var(--space-sm);
  3244. border-top: 1px dashed var(--color-border-light);
  3245. }
  3246. .section-concept .concept-panel {
  3247. max-width: 900px;
  3248. margin: 0 auto;
  3249. }
  3250. .section-tip {
  3251. font-size: var(--font-size-small);
  3252. color: var(--brand-deep);
  3253. line-height: 1.8;
  3254. margin-top: var(--space-lg);
  3255. text-align: center;
  3256. }
  3257. /* AI 共生区:温暖柔和渐变,不堆科技蓝 */
  3258. .section-ai-tech {
  3259. background:
  3260. radial-gradient(ellipse 60% 40% at 12% 8%, rgba(249, 115, 22, .08), transparent),
  3261. radial-gradient(ellipse 55% 40% at 88% 92%, rgba(251, 146, 60, .09), transparent),
  3262. linear-gradient(180deg, var(--bg-surface) 0%, var(--brand-50) 100%);
  3263. }
  3264. .section-ai-tech .ai-card {
  3265. background: linear-gradient(160deg, var(--bg-surface) 0%, var(--ai-bg, var(--brand-50)) 140%);
  3266. }
  3267. @media (max-width: 900px) {
  3268. .understand-grid { grid-template-columns: 1fr; gap: var(--space-lg); }
  3269. }
  3270. /* ----------------------------------------------------------
  3271. 30. 照片底图与冷暖交替科技带
  3272. —— 多彩靠照片(band-*),科技感靠深色带(section-ai-tech)
  3273. 界面元素色板不动;品牌橙 token 值保持不变。
  3274. ---------------------------------------------------------- */
  3275. /* 30.1 Hero 首屏 · 照片底图压字 */
  3276. .hero { isolation: isolate; }
  3277. .hero-photo {
  3278. position: absolute;
  3279. inset: 0;
  3280. z-index: 0;
  3281. background-image: url('../img/band-hero.png');
  3282. background-size: cover;
  3283. background-position: center right;
  3284. pointer-events: none;
  3285. }
  3286. /* 从右下向左上的暖色渐变遮罩:左/上(压字区)加米橙,右/下(照片区)渐透,底部渐隐入下一 section */
  3287. .hero-photo::after {
  3288. content: '';
  3289. position: absolute;
  3290. inset: 0;
  3291. background:
  3292. linear-gradient(to top, rgba(251, 249, 246, .96) 0%, rgba(251, 249, 246, 0) 16%),
  3293. linear-gradient(215deg, rgba(255, 247, 237, .96) 0%, rgba(255, 247, 237, .78) 38%, rgba(255, 247, 237, .34) 62%, rgba(255, 247, 237, .16) 100%);
  3294. pointer-events: none;
  3295. }
  3296. .hero-content { position: relative; z-index: 1; }
  3297. .hero-visual { position: relative; z-index: 1; }
  3298. /* 照片套照片:视觉卡片加白描边 + 大圆角 + 深投影,叠在底图之上 */
  3299. .lifestyle-shot--hero {
  3300. border-radius: var(--radius-xl);
  3301. border: 3px solid rgba(255, 255, 255, .92);
  3302. box-shadow: 0 24px 60px rgba(20, 26, 46, .28);
  3303. }
  3304. /* 30.2 AI 科技带 · 深色反转(冷暖交替) */
  3305. .section-ai-tech {
  3306. position: relative;
  3307. color: var(--ink-text);
  3308. overflow: hidden;
  3309. background:
  3310. linear-gradient(180deg, var(--brand-50) 0%, transparent 96px),
  3311. linear-gradient(0deg, var(--brand-50) 0%, transparent 96px),
  3312. linear-gradient(180deg, var(--ink-900) 0%, var(--ink-800) 55%, var(--ink-900) 100%);
  3313. }
  3314. .ai-band-bg {
  3315. position: absolute;
  3316. inset: 0;
  3317. z-index: 0;
  3318. background-image: url('../img/band-ai.png');
  3319. background-size: cover;
  3320. background-position: center;
  3321. opacity: .5;
  3322. pointer-events: none;
  3323. }
  3324. .ai-band-bg::after {
  3325. content: '';
  3326. position: absolute;
  3327. inset: 0;
  3328. background: linear-gradient(90deg, rgba(15, 21, 38, .86) 0%, rgba(15, 21, 38, .55) 48%, rgba(15, 21, 38, .78) 100%);
  3329. pointer-events: none;
  3330. }
  3331. /* 细网格线背景(纯 CSS,克制) */
  3332. .ai-band-grid {
  3333. position: absolute;
  3334. inset: 0;
  3335. z-index: 0;
  3336. background-image:
  3337. repeating-linear-gradient(0deg, rgba(199, 210, 232, .045) 0 1px, transparent 1px 52px),
  3338. repeating-linear-gradient(90deg, rgba(199, 210, 232, .045) 0 1px, transparent 1px 52px);
  3339. pointer-events: none;
  3340. }
  3341. /* 数据流光线 */
  3342. .ai-band-flow {
  3343. position: absolute;
  3344. inset: 0;
  3345. z-index: 0;
  3346. overflow: hidden;
  3347. pointer-events: none;
  3348. }
  3349. .ai-flow-line {
  3350. position: absolute;
  3351. width: 100%;
  3352. height: 60px;
  3353. opacity: .5;
  3354. will-change: transform;
  3355. }
  3356. .ai-flow-line--1 { top: 16%; animation: aiFlowDrift 11s ease-in-out infinite; }
  3357. .ai-flow-line--2 { top: 74%; animation: aiFlowDrift 15s ease-in-out infinite reverse; }
  3358. @keyframes aiFlowDrift {
  3359. 0%, 100% { transform: translateX(-2.5%); }
  3360. 50% { transform: translateX(2.5%); }
  3361. }
  3362. /* 深色带内容层 */
  3363. .section-ai-tech .container { position: relative; z-index: 1; }
  3364. .section-ai-tech .section-tag {
  3365. color: var(--brand-400);
  3366. background: rgba(249, 115, 22, .14);
  3367. }
  3368. .section-ai-tech .section-title { color: #fff; }
  3369. .section-ai-tech .section-desc { color: var(--ink-text-soft); }
  3370. /* 六卡玻璃拟态 */
  3371. .section-ai-tech .ai-card {
  3372. background: rgba(255, 255, 255, .05);
  3373. border: 1px solid var(--ink-line);
  3374. backdrop-filter: blur(12px) saturate(140%);
  3375. -webkit-backdrop-filter: blur(12px) saturate(140%);
  3376. box-shadow: 0 10px 36px rgba(5, 8, 18, .35);
  3377. }
  3378. .section-ai-tech .ai-card::before { opacity: .5; }
  3379. .section-ai-tech .ai-card:hover {
  3380. background: rgba(255, 255, 255, .09);
  3381. border-color: rgba(251, 146, 60, .5);
  3382. box-shadow: 0 14px 44px rgba(5, 8, 18, .5);
  3383. }
  3384. .section-ai-tech .ai-card-icon {
  3385. background: rgba(255, 255, 255, .08);
  3386. color: var(--brand-400);
  3387. }
  3388. .section-ai-tech .ai-card-badge {
  3389. color: var(--brand-200);
  3390. background: rgba(249, 115, 22, .16);
  3391. }
  3392. .section-ai-tech .ai-card h3 { color: #fff; }
  3393. .section-ai-tech .ai-card p { color: var(--ink-text-soft); }
  3394. .section-ai-tech .compliance-note {
  3395. background: rgba(255, 255, 255, .04);
  3396. border-color: var(--ink-line);
  3397. border-left-color: var(--brand-400);
  3398. color: var(--ink-text-soft);
  3399. }
  3400. /* 30.3 照片分隔带(band-env / band-cta 通用) */
  3401. .photo-band {
  3402. position: relative;
  3403. display: flex;
  3404. align-items: center;
  3405. overflow: hidden;
  3406. color: #fff;
  3407. text-align: center;
  3408. }
  3409. .band-env { min-height: 320px; }
  3410. .band-cta { min-height: 340px; }
  3411. .photo-band-bg {
  3412. position: absolute;
  3413. inset: 0;
  3414. background-size: cover;
  3415. background-position: center;
  3416. pointer-events: none;
  3417. }
  3418. .band-env .photo-band-bg { background-image: url('../img/band-env.png'); }
  3419. .band-cta .photo-band-bg { background-image: url('../img/band-cta.png'); }
  3420. /* 遮罩:暖橙渐变,保证白字对比度 */
  3421. .photo-band-bg::after {
  3422. content: '';
  3423. position: absolute;
  3424. inset: 0;
  3425. background:
  3426. linear-gradient(180deg, rgba(15, 21, 38, .20) 0%, rgba(194, 65, 12, .38) 55%, rgba(15, 21, 38, .48) 100%);
  3427. pointer-events: none;
  3428. }
  3429. .photo-band-inner {
  3430. position: relative;
  3431. z-index: 1;
  3432. max-width: 820px;
  3433. margin: 0 auto;
  3434. padding: var(--space-2xl) var(--space-xl);
  3435. }
  3436. .photo-band-title {
  3437. font-size: clamp(1.4rem, 3.5vw, 2.1rem);
  3438. font-weight: 800;
  3439. line-height: 1.4;
  3440. color: #fff;
  3441. text-shadow: 0 2px 18px rgba(0, 0, 0, .38);
  3442. margin-bottom: var(--space-md);
  3443. }
  3444. .photo-band-sub {
  3445. font-size: var(--font-size-body);
  3446. color: rgba(255, 255, 255, .92);
  3447. text-shadow: 0 1px 12px rgba(0, 0, 0, .38);
  3448. margin-bottom: var(--space-xl);
  3449. }
  3450. .photo-band-actions {
  3451. display: flex;
  3452. gap: var(--space-md);
  3453. justify-content: center;
  3454. flex-wrap: wrap;
  3455. }
  3456. /* 30.4 五方面卡片 · 多彩靠图(hover 上浮 + 顶部照片略增) */
  3457. .aspect-card .lifestyle-shot { aspect-ratio: 1 / 1; }
  3458. /* 30.5 响应式 · 照片带高度递减 / 深色带玻璃卡单列 / hero 遮罩加重 */
  3459. @media (max-width: 900px) {
  3460. .band-env { min-height: 240px; }
  3461. .band-cta { min-height: 260px; }
  3462. }
  3463. @media (max-width: 600px) {
  3464. .band-env { min-height: 200px; }
  3465. .band-cta { min-height: 220px; }
  3466. .photo-band-inner { padding: var(--space-xl) var(--space-md); }
  3467. .photo-band-title { font-size: 1.25rem; }
  3468. .photo-band-sub { font-size: var(--font-size-small); }
  3469. .photo-band-actions { flex-direction: column; align-items: stretch; }
  3470. }
  3471. @media (max-width: 768px) {
  3472. /* 移动端 hero:底图自适应、遮罩加重,保证深字对比 */
  3473. .hero-photo {
  3474. background-position: center;
  3475. background-size: cover;
  3476. }
  3477. .hero-photo::after {
  3478. background:
  3479. linear-gradient(to top, rgba(251, 249, 246, .98) 0%, rgba(251, 249, 246, 0) 18%),
  3480. linear-gradient(215deg, rgba(255, 247, 237, .97) 0%, rgba(255, 247, 237, .88) 45%, rgba(255, 247, 237, .55) 100%);
  3481. }
  3482. }