style.css 85 KB

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