style.css 77 KB

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