style.css 75 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545
  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}