style.css 62 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050
  1. /* ============================================================
  2. 亿图腾 · 浠艾福 — 企业官网样式表
  3. 设计系统基于 DESIGN.md 设计 Token
  4. ============================================================ */
  5. /* ----------------------------------------------------------
  6. 0. CSS Custom Properties (Design Tokens)
  7. ---------------------------------------------------------- */
  8. :root {
  9. /* Brand Colors (from logo sky-blue palette) */
  10. --color-primary: #4A9BD7;
  11. --color-primary-hover: #3993CC;
  12. --color-primary-light: #E8F4FA;
  13. --color-secondary: #4ECDC4;
  14. --color-accent: #FFD93D;
  15. --color-accent-light: #FFFBEB;
  16. /* Text Colors */
  17. --color-text-primary: #2D3436;
  18. --color-text-secondary: #636E72;
  19. --color-text-muted: #B2BEC3;
  20. /* Surfaces */
  21. --bg-body: #F5FAFE;
  22. --bg-surface: #FFFFFF;
  23. --bg-section-alt: #EEF5FB;
  24. /* Other UI */
  25. --color-border: #D8E5F0;
  26. --color-border-light: #E5EEF5;
  27. --shadow-sm: 0 1px 3px rgba(45, 52, 54, .08);
  28. --shadow-md: 0 4px 12px rgba(45, 52, 54, .10);
  29. --shadow-lg: 0 12px 40px rgba(45, 52, 54, .12);
  30. --shadow-xl: 0 24px 60px rgba(45, 52, 54, .15);
  31. /* Typography */
  32. --font-family: system-ui, -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  33. --font-size-display: clamp(2.25rem, 5vw, 3.5rem);
  34. --font-size-h1: clamp(1.75rem, 4vw, 2.5rem);
  35. --font-size-h2: clamp(1.5rem, 3vw, 2.25rem);
  36. --font-size-h3: 1.25rem;
  37. --font-size-body: 1rem;
  38. --font-size-small: .875rem;
  39. --font-size-tiny: .75rem;
  40. /* Spacing */
  41. --space-xs: .5rem;
  42. --space-sm: .75rem;
  43. --space-md: 1rem;
  44. --space-lg: 1.5rem;
  45. --space-xl: 2rem;
  46. --space-2xl: 3rem;
  47. --space-3xl: 4rem;
  48. --space-section: 5rem;
  49. /* Border Radius */
  50. --radius-sm: 8px;
  51. --radius-md: 12px;
  52. --radius-lg: 16px;
  53. --radius-xl: 24px;
  54. --radius-full: 9999px;
  55. /* Transitions */
  56. --transition-fast: .2s ease;
  57. --transition-normal: .3s ease;
  58. --transition-slow: .5s cubic-bezier(.4, 0, .2, 1);
  59. /* Layout */
  60. --max-width: 1200px;
  61. --header-height: 64px;
  62. }
  63. /* ----------------------------------------------------------
  64. 1. Reset & Base
  65. ---------------------------------------------------------- */
  66. *, *::before, *::after {
  67. margin: 0;
  68. padding: 0;
  69. box-sizing: border-box;
  70. }
  71. html {
  72. scroll-behavior: smooth;
  73. -webkit-text-size-adjust: 100%;
  74. scroll-padding-top: var(--header-height);
  75. scroll-snap-type: y proximity;
  76. }
  77. /* Sections gently align when scrolling stops */
  78. section[id] {
  79. scroll-snap-align: start;
  80. }
  81. body {
  82. font-family: var(--font-family);
  83. font-size: var(--font-size-body);
  84. line-height: 1.6;
  85. color: var(--color-text-primary);
  86. background: var(--bg-body);
  87. -webkit-font-smoothing: antialiased;
  88. -moz-osx-font-smoothing: grayscale;
  89. overflow-x: hidden;
  90. }
  91. img { max-width: 100%; height: auto; display: block; }
  92. a { color: inherit; text-decoration: none; }
  93. ul { list-style: none; }
  94. /* ----------------------------------------------------------
  95. 2. Container
  96. ---------------------------------------------------------- */
  97. .container {
  98. width: 100%;
  99. max-width: var(--max-width);
  100. margin: 0 auto;
  101. padding: 0 var(--space-xl);
  102. }
  103. /* ----------------------------------------------------------
  104. 3. Header / Navigation
  105. ---------------------------------------------------------- */
  106. .site-header {
  107. position: fixed;
  108. top: 0;
  109. left: 0;
  110. right: 0;
  111. height: var(--header-height);
  112. background: rgba(245, 250, 254, .92);
  113. backdrop-filter: blur(16px) saturate(180%);
  114. -webkit-backdrop-filter: blur(16px) saturate(180%);
  115. border-bottom: 1px solid var(--color-border-light);
  116. z-index: 1000;
  117. transition: box-shadow var(--transition-normal);
  118. }
  119. .site-header.scrolled {
  120. box-shadow: var(--shadow-sm);
  121. }
  122. .header-inner {
  123. display: flex;
  124. align-items: center;
  125. justify-content: space-between;
  126. height: 100%;
  127. }
  128. /* Logo */
  129. .logo {
  130. display: flex;
  131. align-items: center;
  132. gap: var(--space-xs);
  133. font-weight: 700;
  134. font-size: 1.125rem;
  135. }
  136. .logo-icon { font-size: 1.5rem; }
  137. .logo-text {
  138. color: var(--color-text-primary);
  139. }
  140. .logo-tag {
  141. color: var(--color-primary);
  142. font-weight: 600;
  143. }
  144. /* Nav Toggle (Mobile) */
  145. .nav-toggle {
  146. display: none;
  147. flex-direction: column;
  148. gap: 5px;
  149. background: none;
  150. border: none;
  151. cursor: pointer;
  152. padding: 4px;
  153. z-index: 1001;
  154. }
  155. .nav-toggle span {
  156. display: block;
  157. width: 24px;
  158. height: 2px;
  159. background: var(--color-text-primary);
  160. border-radius: 2px;
  161. transition: var(--transition-fast);
  162. transform-origin: center;
  163. }
  164. .nav-toggle.active span:nth-child(1) {
  165. transform: translateY(7px) rotate(45deg);
  166. }
  167. .nav-toggle.active span:nth-child(2) {
  168. opacity: 0;
  169. }
  170. .nav-toggle.active span:nth-child(3) {
  171. transform: translateY(-7px) rotate(-45deg);
  172. }
  173. /* Nav List */
  174. .nav-list {
  175. display: flex;
  176. align-items: center;
  177. gap: var(--space-lg);
  178. }
  179. .nav-link {
  180. font-size: var(--font-size-small);
  181. font-weight: 500;
  182. color: var(--color-text-secondary);
  183. transition: color var(--transition-fast);
  184. position: relative;
  185. padding: var(--space-xs) 0;
  186. }
  187. .nav-link::after {
  188. content: '';
  189. position: absolute;
  190. bottom: 0;
  191. left: 0;
  192. width: 0;
  193. height: 2px;
  194. background: var(--color-primary);
  195. border-radius: 1px;
  196. transition: width var(--transition-normal);
  197. }
  198. .nav-link:hover,
  199. .nav-link.active {
  200. color: var(--color-primary);
  201. }
  202. .nav-link:hover::after,
  203. .nav-link.active::after {
  204. width: 100%;
  205. }
  206. /* Nav login button */
  207. .nav-login-btn {
  208. display: inline-flex;
  209. align-items: center;
  210. padding: .5rem 1.125rem;
  211. font-size: var(--font-size-tiny);
  212. font-weight: 600;
  213. color: #fff;
  214. background: var(--color-primary);
  215. border-radius: var(--radius-full);
  216. transition: all var(--transition-fast);
  217. margin-left: var(--space-md);
  218. white-space: nowrap;
  219. }
  220. .nav-login-btn:hover {
  221. background: var(--color-primary-hover);
  222. transform: translateY(-1px);
  223. box-shadow: 0 4px 12px rgba(74, 155, 215, .3);
  224. }
  225. /* ----------------------------------------------------------
  226. 4. Section Shell
  227. ---------------------------------------------------------- */
  228. .section {
  229. padding: var(--space-section) 0;
  230. }
  231. .section-header {
  232. text-align: center;
  233. max-width: 720px;
  234. margin: 0 auto var(--space-3xl);
  235. }
  236. .section-tag {
  237. display: inline-block;
  238. font-size: var(--font-size-tiny);
  239. font-weight: 600;
  240. letter-spacing: .08em;
  241. text-transform: uppercase;
  242. color: var(--color-primary);
  243. background: var(--color-primary-light);
  244. padding: .35em 1em;
  245. border-radius: var(--radius-full);
  246. margin-bottom: var(--space-md);
  247. }
  248. .section-title {
  249. font-size: var(--font-size-h1);
  250. font-weight: 700;
  251. line-height: 1.25;
  252. margin-bottom: var(--space-md);
  253. color: var(--color-text-primary);
  254. }
  255. .section-subtitle {
  256. font-size: 1.1rem;
  257. font-weight: 500;
  258. color: var(--color-primary);
  259. margin-bottom: var(--space-md);
  260. letter-spacing: .02em;
  261. }
  262. .section-desc {
  263. font-size: var(--font-size-body);
  264. color: var(--color-text-secondary);
  265. line-height: 1.7;
  266. max-width: 600px;
  267. margin: 0 auto;
  268. }
  269. /* ----------------------------------------------------------
  270. 5. Buttons
  271. ---------------------------------------------------------- */
  272. .btn {
  273. display: inline-flex;
  274. align-items: center;
  275. gap: var(--space-xs);
  276. padding: .75rem 1.75rem;
  277. font-family: var(--font-family);
  278. font-size: var(--font-size-small);
  279. font-weight: 600;
  280. border-radius: var(--radius-md);
  281. border: 2px solid transparent;
  282. cursor: pointer;
  283. transition: all var(--transition-fast);
  284. text-align: center;
  285. }
  286. .btn-primary {
  287. background: var(--color-primary);
  288. color: #fff;
  289. border-color: var(--color-primary);
  290. }
  291. .btn-primary:hover {
  292. background: var(--color-primary-hover);
  293. border-color: var(--color-primary-hover);
  294. transform: translateY(-2px);
  295. box-shadow: 0 8px 24px rgba(74, 155, 215, .35);
  296. }
  297. .btn-outline {
  298. background: var(--color-primary);
  299. color: #fff;
  300. border-color: var(--color-primary);
  301. }
  302. .btn-outline:hover {
  303. background: var(--color-primary-hover);
  304. border-color: var(--color-primary-hover);
  305. transform: translateY(-2px);
  306. }
  307. .btn-accent {
  308. background: linear-gradient(135deg, var(--color-primary) 0%, #6BB5E0 100%);
  309. color: #fff;
  310. border-color: var(--color-primary);
  311. box-shadow: 0 4px 16px rgba(74, 155, 215, .3);
  312. }
  313. .btn-accent:hover {
  314. transform: translateY(-2px);
  315. box-shadow: 0 8px 28px rgba(74, 155, 215, .45);
  316. background: linear-gradient(135deg, var(--color-primary-hover) 0%, #5DABD6 100%);
  317. }
  318. /* Hero service provider link */
  319. .hero-service-link {
  320. margin-top: var(--space-lg);
  321. font-size: var(--font-size-small);
  322. color: var(--color-text-muted);
  323. display: flex;
  324. align-items: center;
  325. gap: var(--space-xs);
  326. }
  327. .hero-service-link a {
  328. color: var(--color-primary);
  329. font-weight: 600;
  330. transition: color var(--transition-fast);
  331. }
  332. .hero-service-link a:hover {
  333. color: var(--color-primary-hover);
  334. text-decoration: underline;
  335. }
  336. /* Role card login button */
  337. .role-login-btn {
  338. display: inline-block;
  339. margin-top: var(--space-md);
  340. padding: .5rem 1.25rem;
  341. font-size: var(--font-size-tiny);
  342. font-weight: 600;
  343. color: #fff;
  344. background: var(--color-text-primary);
  345. border-radius: var(--radius-full);
  346. transition: all var(--transition-fast);
  347. }
  348. .role-login-btn:hover {
  349. background: var(--color-primary);
  350. transform: translateY(-1px);
  351. box-shadow: 0 4px 12px rgba(74, 155, 215, .25);
  352. }
  353. .role-teacher .role-login-btn:hover {
  354. background: #3B82F6;
  355. box-shadow: 0 4px 12px rgba(59, 130, 246, .3);
  356. }
  357. .role-admin .role-login-btn:hover {
  358. background: #6366F1;
  359. box-shadow: 0 4px 12px rgba(99, 102, 241, .3);
  360. }
  361. /* ----------------------------------------------------------
  362. 6. Hero Section
  363. ---------------------------------------------------------- */
  364. .hero {
  365. min-height: 100vh;
  366. display: flex;
  367. align-items: center;
  368. position: relative;
  369. padding-top: var(--header-height);
  370. overflow: hidden;
  371. }
  372. .hero-bg {
  373. position: absolute;
  374. inset: 0;
  375. background:
  376. url(../img/hero-family-bg.png) center/cover no-repeat,
  377. radial-gradient(ellipse 80% 50% at 50% -10%, rgba(74, 155, 215, .10), transparent),
  378. radial-gradient(ellipse 60% 40% at 80% 80%, rgba(78, 205, 196, .08), transparent),
  379. radial-gradient(ellipse 50% 50% at 20% 70%, rgba(255, 217, 61, .06), transparent);
  380. pointer-events: none;
  381. }
  382. .hero-bg::after {
  383. content: '';
  384. position: absolute;
  385. inset: 0;
  386. background: linear-gradient(
  387. to right,
  388. rgba(254, 249, 240, 0.82) 0%,
  389. rgba(254, 249, 240, 0.65) 45%,
  390. rgba(254, 249, 240, 0.10) 70%,
  391. transparent 100%
  392. );
  393. pointer-events: none;
  394. }
  395. .hero-inner {
  396. display: grid;
  397. grid-template-columns: 1fr 1fr;
  398. gap: var(--space-3xl);
  399. align-items: center;
  400. position: relative;
  401. z-index: 1;
  402. }
  403. .hero-badge {
  404. display: inline-block;
  405. font-size: var(--font-size-tiny);
  406. font-weight: 600;
  407. letter-spacing: .06em;
  408. color: var(--color-primary);
  409. background: var(--color-primary-light);
  410. padding: .4em 1.2em;
  411. border-radius: var(--radius-full);
  412. margin-bottom: var(--space-lg);
  413. }
  414. .hero-title {
  415. font-size: var(--font-size-display);
  416. font-weight: 800;
  417. line-height: 1.15;
  418. margin-bottom: var(--space-lg);
  419. }
  420. .highlight {
  421. color: var(--color-primary);
  422. }
  423. .hero-desc {
  424. font-size: 1.0625rem;
  425. color: var(--color-text-secondary);
  426. line-height: 1.8;
  427. margin-bottom: var(--space-xl);
  428. max-width: 540px;
  429. }
  430. .hero-desc strong {
  431. color: var(--color-text-primary);
  432. }
  433. .hero-actions {
  434. display: flex;
  435. gap: var(--space-md);
  436. flex-wrap: wrap;
  437. }
  438. /* Hero Visual - Orbit Animation */
  439. .hero-visual {
  440. display: flex;
  441. justify-content: center;
  442. align-items: center;
  443. }
  444. .dimension-orbit {
  445. position: relative;
  446. width: 320px;
  447. height: 320px;
  448. display: flex;
  449. align-items: center;
  450. justify-content: center;
  451. }
  452. .orbit-center {
  453. width: 80px;
  454. height: 80px;
  455. border-radius: 50%;
  456. background: var(--color-primary);
  457. color: #fff;
  458. font-size: 1.5rem;
  459. font-weight: 700;
  460. display: flex;
  461. align-items: center;
  462. justify-content: center;
  463. box-shadow: 0 0 40px rgba(74, 155, 215, .3);
  464. position: relative;
  465. z-index: 2;
  466. animation: pulseCenter 3s ease-in-out infinite;
  467. }
  468. @keyframes pulseCenter {
  469. 0%, 100% { box-shadow: 0 0 40px rgba(74, 155, 215, .3); transform: scale(1); }
  470. 50% { box-shadow: 0 0 60px rgba(74, 155, 215, .5); transform: scale(1.05); }
  471. }
  472. .orbit-item {
  473. position: absolute;
  474. width: 56px;
  475. height: 56px;
  476. border-radius: 50%;
  477. background: var(--bg-surface);
  478. border: 2px solid var(--color-border-light);
  479. display: flex;
  480. align-items: center;
  481. justify-content: center;
  482. font-size: 1.25rem;
  483. font-weight: 700;
  484. color: var(--color-text-secondary);
  485. box-shadow: var(--shadow-sm);
  486. animation: orbit 12s linear infinite;
  487. animation-delay: calc(var(--i) * -2.4s);
  488. z-index: 1;
  489. }
  490. @keyframes orbit {
  491. 0% {
  492. transform: rotate(0deg) translateX(130px) rotate(0deg);
  493. }
  494. 100% {
  495. transform: rotate(360deg) translateX(130px) rotate(-360deg);
  496. }
  497. }
  498. .orbit-item:nth-child(2) { --i: 1; }
  499. .orbit-item:nth-child(3) { --i: 2; }
  500. .orbit-item:nth-child(4) { --i: 3; }
  501. .orbit-item:nth-child(5) { --i: 4; }
  502. /* Scroll Indicator */
  503. .scroll-indicator {
  504. position: absolute;
  505. bottom: var(--space-xl);
  506. left: 50%;
  507. transform: translateX(-50%);
  508. display: flex;
  509. flex-direction: column;
  510. align-items: center;
  511. gap: var(--space-xs);
  512. color: var(--color-text-muted);
  513. font-size: var(--font-size-tiny);
  514. animation: fadeInUp 1s ease 1s both;
  515. }
  516. .scroll-arrow {
  517. width: 20px;
  518. height: 20px;
  519. border-right: 2px solid var(--color-text-muted);
  520. border-bottom: 2px solid var(--color-text-muted);
  521. transform: rotate(45deg);
  522. animation: scrollBounce 2s ease-in-out infinite;
  523. }
  524. @keyframes scrollBounce {
  525. 0%, 100% { transform: rotate(45deg) translateY(0); opacity: .5; }
  526. 50% { transform: rotate(45deg) translateY(6px); opacity: 1; }
  527. }
  528. @keyframes fadeInUp {
  529. from { opacity: 0; transform: translateX(-50%) translateY(10px); }
  530. to { opacity: 1; transform: translateX(-50%) translateY(0); }
  531. }
  532. /* Stats Banner */
  533. .stats-banner {
  534. background: #EEF5FB;
  535. padding: var(--space-2xl) 0;
  536. border-bottom: 1px solid var(--color-border-light);
  537. }
  538. .stats-banner .container {
  539. display: flex;
  540. justify-content: center;
  541. align-items: center;
  542. gap: var(--space-3xl);
  543. }
  544. .stats-item {
  545. text-align: center;
  546. display: flex;
  547. flex-direction: column;
  548. align-items: center;
  549. gap: var(--space-xs);
  550. }
  551. .stat-number {
  552. font-size: 2.5rem;
  553. font-weight: 800;
  554. color: #1a4a6e;
  555. line-height: 1.2;
  556. }
  557. .stat-label {
  558. font-size: var(--font-size-small);
  559. color: var(--color-text-secondary);
  560. font-weight: 500;
  561. }
  562. @media (max-width: 768px) {
  563. .stats-banner .container {
  564. flex-direction: column;
  565. gap: var(--space-xl);
  566. }
  567. .stat-number {
  568. font-size: 2rem;
  569. }
  570. }
  571. /* ----------------------------------------------------------
  572. 7. About Section
  573. ---------------------------------------------------------- */
  574. .section-about {
  575. background: var(--bg-surface);
  576. }
  577. .about-grid {
  578. display: grid;
  579. grid-template-columns: repeat(3, 1fr);
  580. gap: var(--space-xl);
  581. }
  582. .about-card {
  583. background: var(--bg-surface);
  584. border: 1px solid var(--color-border-light);
  585. border-radius: var(--radius-lg);
  586. padding: var(--space-2xl);
  587. text-align: center;
  588. transition: all var(--transition-normal);
  589. }
  590. .about-card:hover {
  591. transform: translateY(-4px);
  592. box-shadow: var(--shadow-md);
  593. border-color: transparent;
  594. }
  595. .about-icon {
  596. width: 72px;
  597. height: 72px;
  598. margin: 0 auto var(--space-lg);
  599. display: flex;
  600. align-items: center;
  601. justify-content: center;
  602. }
  603. .about-card h3 {
  604. font-size: var(--font-size-h3);
  605. margin-bottom: var(--space-sm);
  606. font-weight: 700;
  607. }
  608. .about-card p {
  609. color: var(--color-text-secondary);
  610. line-height: 1.7;
  611. font-size: var(--font-size-small);
  612. }
  613. /* ----------------------------------------------------------
  614. 8. Product Section
  615. ---------------------------------------------------------- */
  616. .section-product {
  617. background: linear-gradient(180deg, var(--bg-body) 0%, var(--color-primary-light) 100%);
  618. }
  619. .product-showcase {
  620. max-width: 800px;
  621. margin: 0 auto;
  622. }
  623. .product-quote {
  624. background: var(--bg-surface);
  625. border-left: 4px solid var(--color-primary);
  626. padding: var(--space-xl) var(--space-2xl);
  627. border-radius: 0 var(--radius-md) var(--radius-md) 0;
  628. margin-bottom: var(--space-2xl);
  629. box-shadow: var(--shadow-sm);
  630. }
  631. .product-quote p {
  632. font-size: 1.0625rem;
  633. line-height: 1.9;
  634. color: var(--color-text-secondary);
  635. font-style: italic;
  636. }
  637. .product-stats {
  638. display: grid;
  639. grid-template-columns: repeat(4, 1fr);
  640. gap: var(--space-lg);
  641. margin-bottom: var(--space-2xl);
  642. }
  643. .stat {
  644. text-align: center;
  645. padding: var(--space-lg);
  646. background: var(--bg-surface);
  647. border-radius: var(--radius-md);
  648. border: 1px solid var(--color-border-light);
  649. }
  650. .stat-link {
  651. display: block;
  652. text-decoration: none;
  653. color: inherit;
  654. transition: transform var(--transition-normal);
  655. }
  656. .stat-link:hover {
  657. transform: translateY(-3px);
  658. }
  659. .stat-num {
  660. display: block;
  661. font-size: 2rem;
  662. font-weight: 800;
  663. color: var(--color-primary);
  664. line-height: 1.2;
  665. margin-bottom: var(--space-xs);
  666. }
  667. .stat-label {
  668. font-size: var(--font-size-tiny);
  669. color: var(--color-text-secondary);
  670. font-weight: 500;
  671. }
  672. /* 幸福三支柱 */
  673. .section-pillars {
  674. background: linear-gradient(180deg, var(--bg-body) 0%, var(--color-primary-light) 100%);
  675. }
  676. .pillars-grid {
  677. display: flex;
  678. flex-direction: column;
  679. gap: var(--space-xl);
  680. max-width: 960px;
  681. margin: 0 auto;
  682. }
  683. .pillar-card {
  684. background: var(--bg-surface);
  685. border: 1px solid var(--color-border-light);
  686. border-radius: var(--radius-lg);
  687. padding: var(--space-2xl);
  688. transition: all var(--transition-normal);
  689. position: relative;
  690. overflow: hidden;
  691. }
  692. .pillar-card::before {
  693. content: '';
  694. position: absolute;
  695. top: 0;
  696. left: 0;
  697. right: 0;
  698. height: 4px;
  699. background: var(--pillar-color, var(--color-primary));
  700. opacity: .6;
  701. transition: opacity var(--transition-normal);
  702. }
  703. .pillar-card:hover {
  704. transform: translateY(-4px);
  705. box-shadow: var(--shadow-md);
  706. border-color: transparent;
  707. }
  708. .pillar-card:hover::before {
  709. opacity: 1;
  710. }
  711. .pillar-main {
  712. display: flex;
  713. align-items: center;
  714. gap: var(--space-xl);
  715. margin-bottom: var(--space-lg);
  716. }
  717. .pillar-left {
  718. flex-shrink: 0;
  719. min-width: 160px;
  720. text-align: center;
  721. }
  722. .pillar-name {
  723. font-size: var(--font-size-h3);
  724. font-weight: 700;
  725. color: var(--pillar-color, var(--color-primary));
  726. margin-bottom: var(--space-xs);
  727. }
  728. .pillar-subtitle {
  729. font-size: var(--font-size-tiny);
  730. color: var(--color-text-muted);
  731. font-weight: 500;
  732. }
  733. .pillar-arrow {
  734. flex-shrink: 0;
  735. font-size: 1.5rem;
  736. color: var(--color-text-muted);
  737. }
  738. .pillar-dimensions {
  739. display: flex;
  740. gap: var(--space-md);
  741. flex-wrap: wrap;
  742. }
  743. .pillar-dim-badge {
  744. display: inline-flex;
  745. align-items: center;
  746. gap: var(--space-xs);
  747. padding: .5em 1.25em;
  748. border-radius: var(--radius-full);
  749. font-size: var(--font-size-small);
  750. font-weight: 600;
  751. color: #fff;
  752. background: var(--dim-color);
  753. white-space: nowrap;
  754. }
  755. .pillar-dim-badge .dim-sub {
  756. font-weight: 400;
  757. font-size: var(--font-size-tiny);
  758. opacity: .85;
  759. }
  760. .pillar-interpretation {
  761. font-size: var(--font-size-small);
  762. color: var(--color-text-secondary);
  763. line-height: 1.8;
  764. padding-top: var(--space-lg);
  765. border-top: 1px dashed var(--color-border-light);
  766. }
  767. .pillar-interpretation strong {
  768. color: var(--color-text-primary);
  769. }
  770. /* Pillar-specific colors */
  771. .pillar-card--material { --pillar-color: #FF8C42; }
  772. .pillar-card--respect { --pillar-color: #6366F1; }
  773. .pillar-card--legacy { --pillar-color: #FF6B9D; }
  774. /* Responsive */
  775. /* Desktop: hide the line-break, keep title inline */
  776. .hide-desktop { display:none; }
  777. @media (max-width: 768px) {
  778. .pillar-main {
  779. flex-direction: column;
  780. text-align: center;
  781. gap: var(--space-md);
  782. }
  783. .pillar-arrow {
  784. transform: rotate(90deg);
  785. }
  786. .pillar-dimensions {
  787. justify-content: center;
  788. }
  789. .pillar-left {
  790. min-width: auto;
  791. }
  792. }
  793. @media (max-width: 480px) {
  794. .pillar-card {
  795. padding: var(--space-lg);
  796. }
  797. .pillar-dim-badge {
  798. padding: .4em 1em;
  799. font-size: var(--font-size-tiny);
  800. }
  801. .pillar-dimensions {
  802. flex-direction: column;
  803. align-items: center;
  804. }
  805. }
  806. /* ----------------------------------------------------------
  807. 9. Footer
  808. ---------------------------------------------------------- */
  809. .section-products {
  810. background: linear-gradient(180deg, var(--color-primary-light) 0%, var(--bg-body) 100%);
  811. }
  812. .products-grid {
  813. display: grid;
  814. grid-template-columns: repeat(2, 1fr);
  815. gap: var(--space-xl);
  816. max-width: 920px;
  817. margin: 0 auto;
  818. }
  819. .product-card {
  820. background: var(--bg-surface);
  821. border-radius: var(--radius-lg);
  822. padding: var(--space-2xl);
  823. border: 1px solid var(--color-border-light);
  824. transition: all var(--transition-normal);
  825. position: relative;
  826. overflow: hidden;
  827. }
  828. .product-card::before {
  829. content: '';
  830. position: absolute;
  831. top: 0;
  832. left: 0;
  833. right: 0;
  834. height: 4px;
  835. background: var(--product-color, var(--color-primary));
  836. }
  837. .product-card:hover {
  838. transform: translateY(-4px);
  839. box-shadow: var(--shadow-md);
  840. border-color: transparent;
  841. }
  842. .product-card-icon {
  843. width: 56px;
  844. height: 56px;
  845. display: flex;
  846. align-items: center;
  847. justify-content: center;
  848. border-radius: var(--radius-md);
  849. background: var(--product-bg, var(--color-primary-light));
  850. margin-bottom: var(--space-md);
  851. }
  852. .product-card h3 {
  853. font-size: 1.1rem;
  854. font-weight: 700;
  855. color: var(--color-text-primary);
  856. margin-bottom: var(--space-xs);
  857. }
  858. .product-card .product-sub {
  859. font-size: var(--font-size-small);
  860. color: var(--product-color, var(--color-primary));
  861. font-weight: 600;
  862. margin-bottom: var(--space-sm);
  863. margin-top: -4px;
  864. }
  865. .product-card > p {
  866. font-size: var(--font-size-small);
  867. color: var(--color-text-secondary);
  868. line-height: 1.75;
  869. margin-bottom: var(--space-md);
  870. }
  871. .product-tags {
  872. display: flex;
  873. flex-wrap: wrap;
  874. gap: var(--space-xs);
  875. }
  876. .product-tags span {
  877. display: inline-block;
  878. padding: 2px 10px;
  879. font-size: var(--font-size-tiny);
  880. color: var(--product-color, var(--color-text-secondary));
  881. background: color-mix(in srgb, var(--product-color, var(--color-primary)) 10%, transparent);
  882. border-radius: 100px;
  883. font-weight: 500;
  884. }
  885. .product-plus {
  886. color: var(--product-color, var(--color-primary));
  887. font-weight: 700;
  888. }
  889. @media (max-width: 768px) {
  890. .products-grid {
  891. grid-template-columns: 1fr;
  892. gap: var(--space-lg);
  893. }
  894. }
  895. /* ----------------------------------------------------------
  896. 10. Dimensions Section
  897. ---------------------------------------------------------- */
  898. .section-dimensions {
  899. background: var(--bg-surface);
  900. }
  901. .dimension-grid {
  902. display: flex;
  903. flex-wrap: wrap;
  904. justify-content: center;
  905. gap: var(--space-xl);
  906. }
  907. .dimension-grid > .dimension-card {
  908. width: calc((100% - var(--space-xl) * 2) / 3);
  909. }
  910. .dimension-card {
  911. background: var(--bg-surface);
  912. border: 1px solid var(--color-border-light);
  913. border-radius: var(--radius-lg);
  914. padding: var(--space-2xl);
  915. position: relative;
  916. overflow: hidden;
  917. transition: all var(--transition-normal);
  918. }
  919. .dim-bg-illustration {
  920. position: absolute;
  921. bottom: 0;
  922. left: 0;
  923. width: 100%;
  924. height: 28%;
  925. pointer-events: none;
  926. opacity: 0.3;
  927. transition: opacity var(--transition-normal);
  928. mask-image: linear-gradient(to top, black 0%, black 50%, transparent 100%);
  929. -webkit-mask-image: linear-gradient(to top, black 0%, black 50%, transparent 100%);
  930. }
  931. .dim-bg-illustration svg {
  932. width: 100%;
  933. height: 100%;
  934. color: var(--dim-color);
  935. display: block;
  936. }
  937. .dimension-card:hover .dim-bg-illustration {
  938. opacity: 0.3;
  939. }
  940. .dimension-card::before {
  941. content: '';
  942. position: absolute;
  943. top: 0;
  944. left: 0;
  945. right: 0;
  946. height: 4px;
  947. background: var(--dim-color);
  948. opacity: .6;
  949. transition: opacity var(--transition-normal);
  950. }
  951. .dimension-card:hover {
  952. transform: translateY(-6px);
  953. box-shadow: var(--shadow-lg);
  954. border-color: transparent;
  955. }
  956. .dimension-card:hover::before {
  957. opacity: 1;
  958. }
  959. .dim-title {
  960. font-size: var(--font-size-h3);
  961. font-weight: 700;
  962. margin-bottom: var(--space-sm);
  963. display: flex;
  964. align-items: center;
  965. gap: var(--space-xs);
  966. }
  967. .dim-emoji {
  968. font-size: 1.5rem;
  969. }
  970. .dim-desc {
  971. font-size: var(--font-size-small);
  972. color: var(--color-text-secondary);
  973. line-height: 1.8;
  974. margin-bottom: var(--space-md);
  975. }
  976. .dim-points {
  977. display: flex;
  978. flex-wrap: wrap;
  979. gap: var(--space-xs);
  980. }
  981. .dim-points li {
  982. font-size: var(--font-size-tiny);
  983. font-weight: 500;
  984. color: var(--dim-color);
  985. background: var(--dim-bg);
  986. padding: .3em .9em;
  987. border-radius: var(--radius-full);
  988. }
  989. /* Make 2 items in last row centered */
  990. /* 5 items in 3-col grid: items 4 & 5 naturally wrap to row 2, cols 1 & 2 */
  991. /* ----------------------------------------------------------
  992. 11. Features Section
  993. ---------------------------------------------------------- */
  994. .section-features {
  995. background: var(--bg-section-alt);
  996. }
  997. .features-grid {
  998. display: grid;
  999. grid-template-columns: repeat(4, 1fr);
  1000. gap: var(--space-lg);
  1001. }
  1002. .feature-card {
  1003. background: var(--bg-surface);
  1004. border: 1px solid var(--color-border-light);
  1005. border-radius: var(--radius-lg);
  1006. padding: var(--space-xl);
  1007. transition: all var(--transition-normal);
  1008. text-align: center;
  1009. }
  1010. .feature-card:hover {
  1011. transform: translateY(-4px);
  1012. box-shadow: var(--shadow-md);
  1013. border-color: transparent;
  1014. }
  1015. .feature-icon {
  1016. width: 56px;
  1017. height: 56px;
  1018. margin: 0 auto var(--space-md);
  1019. display: flex;
  1020. align-items: center;
  1021. justify-content: center;
  1022. border-radius: var(--radius-md);
  1023. background: color-mix(in srgb, var(--fc) 10%, white);
  1024. color: var(--fc);
  1025. }
  1026. .feature-card h3 {
  1027. font-size: 1rem;
  1028. font-weight: 700;
  1029. margin-bottom: var(--space-sm);
  1030. }
  1031. .feature-card p {
  1032. font-size: var(--font-size-small);
  1033. color: var(--color-text-secondary);
  1034. line-height: 1.7;
  1035. }
  1036. /* Loop flow — 科学成长闭环 */
  1037. .loop-flow {
  1038. display: flex;
  1039. align-items: flex-start;
  1040. justify-content: center;
  1041. gap: var(--space-md);
  1042. flex-wrap: wrap;
  1043. }
  1044. .loop-step {
  1045. flex: 1;
  1046. min-width: 200px;
  1047. max-width: 260px;
  1048. background: var(--bg-surface);
  1049. border-radius: var(--radius-lg);
  1050. padding: var(--space-xl) var(--space-lg);
  1051. border: 1px solid var(--color-border-light);
  1052. text-align: left;
  1053. transition: transform .3s ease, box-shadow .3s ease;
  1054. }
  1055. .loop-step:hover {
  1056. transform: translateY(-4px);
  1057. box-shadow: var(--shadow-lg);
  1058. }
  1059. .loop-header {
  1060. display: flex;
  1061. align-items: center;
  1062. gap: var(--space-sm);
  1063. margin-bottom: var(--space-md);
  1064. }
  1065. .loop-icon {
  1066. color: var(--step-color);
  1067. flex-shrink: 0;
  1068. display: flex;
  1069. align-items: center;
  1070. justify-content: center;
  1071. width: 40px;
  1072. height: 40px;
  1073. border-radius: var(--radius-md);
  1074. background: var(--step-bg);
  1075. }
  1076. .loop-step h3 {
  1077. font-size: 1rem;
  1078. font-weight: 700;
  1079. color: var(--color-text-primary);
  1080. margin-bottom: 0;
  1081. }
  1082. .loop-step p {
  1083. font-size: var(--font-size-small);
  1084. color: var(--color-text-secondary);
  1085. line-height: 1.7;
  1086. margin-bottom: var(--space-md);
  1087. }
  1088. .loop-tags {
  1089. display: flex;
  1090. flex-wrap: wrap;
  1091. justify-content: flex-start;
  1092. gap: .3em;
  1093. }
  1094. .loop-tags span {
  1095. font-size: 11px;
  1096. padding: .2em .6em;
  1097. border-radius: var(--radius-full);
  1098. background: var(--step-bg);
  1099. color: var(--step-color);
  1100. font-weight: 500;
  1101. }
  1102. .loop-arrow {
  1103. font-size: 1.5rem;
  1104. color: var(--color-text-muted);
  1105. align-self: center;
  1106. flex-shrink: 0;
  1107. }
  1108. @media (max-width: 900px) {
  1109. .loop-flow {
  1110. flex-direction: column;
  1111. align-items: center;
  1112. }
  1113. .loop-arrow {
  1114. transform: rotate(90deg);
  1115. margin: 0;
  1116. }
  1117. }
  1118. /* ----------------------------------------------------------
  1119. 12. AI Technology Section
  1120. ---------------------------------------------------------- */
  1121. .section-ai-tech {
  1122. background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-section-alt) 100%);
  1123. }
  1124. .ai-grid {
  1125. display: grid;
  1126. grid-template-columns: repeat(3, 1fr);
  1127. gap: var(--space-xl);
  1128. max-width: 1000px;
  1129. margin: 0 auto;
  1130. }
  1131. .ai-card {
  1132. background: var(--bg-surface);
  1133. border-radius: var(--radius-lg);
  1134. padding: var(--space-2xl);
  1135. border: 1px solid var(--color-border-light);
  1136. transition: all var(--transition-normal);
  1137. position: relative;
  1138. overflow: hidden;
  1139. }
  1140. .ai-card::before {
  1141. content: '';
  1142. position: absolute;
  1143. top: 0;
  1144. left: 0;
  1145. right: 0;
  1146. height: 3px;
  1147. background: var(--ai-color, var(--color-primary));
  1148. opacity: .4;
  1149. transition: opacity var(--transition-normal);
  1150. }
  1151. .ai-card:hover {
  1152. transform: translateY(-4px);
  1153. box-shadow: var(--shadow-md);
  1154. border-color: transparent;
  1155. }
  1156. .ai-card:hover::before {
  1157. opacity: 1;
  1158. }
  1159. .ai-card-header {
  1160. display: flex;
  1161. align-items: center;
  1162. gap: var(--space-sm);
  1163. margin-bottom: var(--space-md);
  1164. }
  1165. .ai-card-icon {
  1166. width: 48px;
  1167. height: 48px;
  1168. display: flex;
  1169. align-items: center;
  1170. justify-content: center;
  1171. border-radius: var(--radius-md);
  1172. background: var(--ai-bg, var(--color-primary-light));
  1173. flex-shrink: 0;
  1174. }
  1175. .ai-card-badge {
  1176. display: inline-block;
  1177. padding: 2px 10px;
  1178. font-size: var(--font-size-tiny);
  1179. font-weight: 600;
  1180. color: var(--ai-color, var(--color-primary));
  1181. background: color-mix(in srgb, var(--ai-color, var(--color-primary)) 10%, white);
  1182. border-radius: 100px;
  1183. white-space: nowrap;
  1184. }
  1185. .ai-card h3 {
  1186. font-size: 1.05rem;
  1187. font-weight: 700;
  1188. color: var(--color-text-primary);
  1189. margin-bottom: var(--space-sm);
  1190. line-height: 1.4;
  1191. }
  1192. .ai-card p {
  1193. font-size: var(--font-size-small);
  1194. color: var(--color-text-secondary);
  1195. line-height: 1.8;
  1196. margin: 0;
  1197. }
  1198. @media (max-width: 900px) {
  1199. .ai-grid {
  1200. grid-template-columns: repeat(2, 1fr);
  1201. }
  1202. }
  1203. @media (max-width: 600px) {
  1204. .ai-grid {
  1205. grid-template-columns: 1fr;
  1206. }
  1207. }
  1208. /* ----------------------------------------------------------
  1209. 13. Roles Section
  1210. ---------------------------------------------------------- */
  1211. .section-roles {
  1212. background: var(--bg-surface);
  1213. }
  1214. .roles-flow {
  1215. display: flex;
  1216. align-items: stretch;
  1217. justify-content: center;
  1218. gap: var(--space-xl);
  1219. max-width: 960px;
  1220. margin: 0 auto;
  1221. }
  1222. .role-card {
  1223. flex: 1;
  1224. background: var(--bg-surface);
  1225. border: 1px solid var(--color-border-light);
  1226. border-radius: var(--radius-lg);
  1227. padding: var(--space-xl);
  1228. text-align: center;
  1229. position: relative;
  1230. transition: all var(--transition-normal);
  1231. }
  1232. .role-card:hover {
  1233. transform: translateY(-4px);
  1234. box-shadow: var(--shadow-md);
  1235. }
  1236. .role-badge {
  1237. display: inline-block;
  1238. font-size: var(--font-size-tiny);
  1239. font-weight: 600;
  1240. padding: .25em 1em;
  1241. border-radius: var(--radius-full);
  1242. margin-bottom: var(--space-md);
  1243. }
  1244. .role-parent .role-badge { background: var(--color-primary-light); color: var(--color-primary); }
  1245. .role-teacher .role-badge { background: #F0F7FF; color: #3B82F6; }
  1246. .role-admin .role-badge { background: #EEF0FF; color: #6366F1; }
  1247. .role-member-tag {
  1248. display: inline-block;
  1249. font-size: .7rem;
  1250. font-weight: 500;
  1251. color: var(--color-primary);
  1252. background: var(--color-primary-light);
  1253. padding: .15em .7em;
  1254. border-radius: var(--radius-full);
  1255. vertical-align: middle;
  1256. margin-left: .4em;
  1257. }
  1258. .role-icon {
  1259. margin-bottom: var(--space-md);
  1260. }
  1261. .role-card h3 {
  1262. font-size: var(--font-size-h3);
  1263. font-weight: 700;
  1264. margin-bottom: var(--space-sm);
  1265. }
  1266. .role-card > p {
  1267. font-size: var(--font-size-small);
  1268. color: var(--color-text-secondary);
  1269. line-height: 1.7;
  1270. margin-bottom: var(--space-md);
  1271. }
  1272. .role-perms {
  1273. text-align: left;
  1274. }
  1275. .role-perms li {
  1276. font-size: var(--font-size-tiny);
  1277. color: var(--color-text-secondary);
  1278. padding: .35em 0;
  1279. display: flex;
  1280. align-items: flex-start;
  1281. gap: var(--space-xs);
  1282. }
  1283. .role-perms li::before {
  1284. content: '';
  1285. width: 5px;
  1286. height: 5px;
  1287. border-radius: 50%;
  1288. background: var(--color-primary);
  1289. flex-shrink: 0;
  1290. margin-top: 7px;
  1291. }
  1292. .role-teacher .role-perms li::before { background: #3B82F6; }
  1293. .role-admin .role-perms li::before { background: #6366F1; }
  1294. /* 客户角色 — 小程序二维码 */
  1295. .role-qr {
  1296. margin-top: var(--space-lg);
  1297. padding-top: var(--space-md);
  1298. border-top: 1px solid var(--color-border-light);
  1299. display: flex;
  1300. flex-direction: column;
  1301. align-items: center;
  1302. gap: var(--space-xs);
  1303. }
  1304. .role-qr-code {
  1305. display: block;
  1306. width: 180px;
  1307. height: 180px;
  1308. border-radius: var(--radius-md);
  1309. box-shadow: 0 2px 8px rgba(0,0,0,.10);
  1310. transition: transform .3s ease, box-shadow .3s ease;
  1311. }
  1312. .role-qr-code:hover {
  1313. transform: scale(1.08);
  1314. box-shadow: 0 4px 16px rgba(0,0,0,.12);
  1315. }
  1316. .role-qr-label {
  1317. font-size: var(--font-size-tiny);
  1318. color: var(--color-text-secondary);
  1319. font-weight: 500;
  1320. letter-spacing: .05em;
  1321. }
  1322. .roles-connector {
  1323. display: flex;
  1324. flex-direction: column;
  1325. align-items: center;
  1326. gap: var(--space-xs);
  1327. color: var(--color-text-muted);
  1328. font-size: var(--font-size-tiny);
  1329. font-weight: 500;
  1330. flex-shrink: 0;
  1331. align-self: center;
  1332. }
  1333. .connector-arrow {
  1334. width: 2px;
  1335. height: 40px;
  1336. background: var(--color-border);
  1337. position: relative;
  1338. }
  1339. .connector-arrow::after {
  1340. content: '';
  1341. position: absolute;
  1342. bottom: -4px;
  1343. left: 50%;
  1344. transform: translateX(-50%);
  1345. border: 5px solid transparent;
  1346. border-top-color: var(--color-border);
  1347. }
  1348. /* ----------------------------------------------------------
  1349. 14. Contact Section
  1350. ---------------------------------------------------------- */
  1351. .section-contact {
  1352. background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-body) 100%);
  1353. }
  1354. .contact-grid {
  1355. display: grid;
  1356. grid-template-columns: 1fr 1fr;
  1357. gap: var(--space-3xl);
  1358. align-items: start;
  1359. max-width: 800px;
  1360. margin: 0 auto;
  1361. }
  1362. .contact-info {
  1363. display: flex;
  1364. flex-direction: column;
  1365. gap: var(--space-lg);
  1366. }
  1367. .contact-item {
  1368. display: flex;
  1369. align-items: flex-start;
  1370. gap: var(--space-md);
  1371. padding: var(--space-lg);
  1372. background: var(--bg-surface);
  1373. border-radius: var(--radius-md);
  1374. border: 1px solid var(--color-border-light);
  1375. }
  1376. .contact-item svg {
  1377. flex-shrink: 0;
  1378. margin-top: 2px;
  1379. }
  1380. .contact-item strong {
  1381. display: block;
  1382. font-size: var(--font-size-tiny);
  1383. color: var(--color-text-muted);
  1384. font-weight: 500;
  1385. text-transform: uppercase;
  1386. letter-spacing: .04em;
  1387. margin-bottom: 2px;
  1388. }
  1389. .contact-item span {
  1390. font-weight: 600;
  1391. color: var(--color-text-primary);
  1392. }
  1393. .contact-cta {
  1394. text-align: center;
  1395. padding: var(--space-2xl);
  1396. background: var(--bg-surface);
  1397. border-radius: var(--radius-lg);
  1398. border: 1px solid var(--color-border-light);
  1399. }
  1400. .contact-cta > p {
  1401. font-size: var(--font-size-h3);
  1402. font-weight: 700;
  1403. margin-bottom: var(--space-xs);
  1404. }
  1405. .cta-sub {
  1406. font-size: var(--font-size-small) !important;
  1407. font-weight: 400 !important;
  1408. color: var(--color-text-secondary);
  1409. margin-bottom: var(--space-xl) !important;
  1410. }
  1411. .cta-cards {
  1412. display: grid;
  1413. grid-template-columns: repeat(3, 1fr);
  1414. gap: var(--space-sm);
  1415. }
  1416. .cta-card {
  1417. display: flex;
  1418. flex-direction: column;
  1419. align-items: center;
  1420. gap: var(--space-xs);
  1421. padding: var(--space-md);
  1422. background: var(--bg-body);
  1423. border-radius: var(--radius-md);
  1424. font-size: var(--font-size-tiny);
  1425. font-weight: 600;
  1426. border: 1px solid var(--color-border-light);
  1427. transition: all var(--transition-fast);
  1428. }
  1429. .cta-card:hover {
  1430. border-color: var(--color-primary);
  1431. background: var(--color-primary-light);
  1432. }
  1433. .cta-card-icon {
  1434. font-size: 1.5rem;
  1435. }
  1436. .cta-card-desc {
  1437. font-weight: 400;
  1438. color: var(--color-text-muted);
  1439. font-size: var(--font-size-tiny);
  1440. }
  1441. .contact-qr img {
  1442. width: 200px;
  1443. height: auto;
  1444. border-radius: var(--radius-md);
  1445. display: block;
  1446. margin: 0 auto;
  1447. }
  1448. .contact-qr span {
  1449. display: block;
  1450. margin-top: var(--space-sm);
  1451. font-size: var(--font-size-tiny);
  1452. color: var(--color-text-muted);
  1453. }
  1454. @media (max-width: 768px) {
  1455. .contact-qr img {
  1456. width: 160px;
  1457. }
  1458. }
  1459. /* Testimonials Section */
  1460. .section-testimonials { background: var(--bg-section-alt); }
  1461. .testimonials-grid {
  1462. display: grid;
  1463. grid-template-columns: repeat(3, 1fr);
  1464. gap: var(--space-lg);
  1465. max-width: 960px;
  1466. margin: 0 auto;
  1467. }
  1468. .testimonial-card {
  1469. background: var(--bg-surface);
  1470. border: 1px solid var(--color-border-light);
  1471. border-radius: var(--radius-lg);
  1472. padding: var(--space-xl);
  1473. border-left: 4px solid var(--color-primary);
  1474. transition: all var(--transition-normal);
  1475. }
  1476. .testimonial-card:hover {
  1477. transform: translateY(-4px);
  1478. box-shadow: var(--shadow-md);
  1479. border-color: transparent;
  1480. border-left-color: var(--color-primary);
  1481. }
  1482. .testimonial-stars { display: flex; gap: 2px; margin-bottom: var(--space-md); }
  1483. .testimonial-text {
  1484. font-size: var(--font-size-small);
  1485. color: var(--color-text-secondary);
  1486. line-height: 1.8;
  1487. font-style: italic;
  1488. margin-bottom: var(--space-lg);
  1489. }
  1490. .testimonial-author {
  1491. border-top: 1px solid var(--color-border-light);
  1492. padding-top: var(--space-md);
  1493. }
  1494. .testimonial-name { font-size: var(--font-size-tiny); font-weight: 600; color: var(--color-text-primary); }
  1495. @media (max-width: 900px) { .testimonials-grid { grid-template-columns: repeat(2, 1fr); } }
  1496. @media (max-width: 600px) { .testimonials-grid { grid-template-columns: 1fr; } }
  1497. /* ----------------------------------------------------------
  1498. 14.5. FAQ Section
  1499. ---------------------------------------------------------- */
  1500. .section-faq {
  1501. background: var(--bg-section-alt);
  1502. }
  1503. .faq-list {
  1504. max-width: 800px;
  1505. margin: 0 auto;
  1506. display: flex;
  1507. flex-direction: column;
  1508. gap: var(--space-md);
  1509. }
  1510. .faq-item {
  1511. background: var(--bg-surface);
  1512. border: 1px solid var(--color-border-light);
  1513. border-radius: var(--radius-md);
  1514. overflow: hidden;
  1515. transition: all var(--transition-normal);
  1516. }
  1517. .faq-item:hover {
  1518. border-color: var(--color-primary);
  1519. box-shadow: var(--shadow-sm);
  1520. }
  1521. .faq-item[open] {
  1522. border-color: var(--color-primary);
  1523. box-shadow: var(--shadow-md);
  1524. }
  1525. .faq-item > summary {
  1526. padding: var(--space-lg) var(--space-xl);
  1527. font-weight: 600;
  1528. font-size: var(--font-size-body);
  1529. color: var(--color-text-primary);
  1530. cursor: pointer;
  1531. list-style: none;
  1532. display: flex;
  1533. align-items: center;
  1534. justify-content: space-between;
  1535. gap: var(--space-md);
  1536. transition: color var(--transition-fast);
  1537. }
  1538. .faq-item > summary::-webkit-details-marker {
  1539. display: none;
  1540. }
  1541. .faq-item > summary::after {
  1542. content: '+';
  1543. font-size: 1.25rem;
  1544. font-weight: 700;
  1545. color: var(--color-primary);
  1546. flex-shrink: 0;
  1547. transition: transform var(--transition-fast);
  1548. }
  1549. .faq-item[open] > summary::after {
  1550. content: '−';
  1551. }
  1552. .faq-item > summary:hover {
  1553. color: var(--color-primary);
  1554. }
  1555. .faq-answer {
  1556. padding: 0 var(--space-xl) var(--space-lg);
  1557. font-size: var(--font-size-small);
  1558. color: var(--color-text-secondary);
  1559. line-height: 1.8;
  1560. border-top: 1px solid var(--color-border-light);
  1561. padding-top: var(--space-md);
  1562. }
  1563. @media (max-width: 768px) {
  1564. .faq-item > summary {
  1565. padding: var(--space-md) var(--space-lg);
  1566. font-size: var(--font-size-small);
  1567. }
  1568. .faq-answer {
  1569. padding: 0 var(--space-lg) var(--space-md);
  1570. font-size: var(--font-size-tiny);
  1571. }
  1572. }
  1573. /* ----------------------------------------------------------
  1574. 15. Footer
  1575. ---------------------------------------------------------- */
  1576. .site-footer {
  1577. background: var(--color-text-primary);
  1578. color: #fff;
  1579. padding: var(--space-3xl) 0 0;
  1580. }
  1581. .footer-inner {
  1582. display: flex;
  1583. justify-content: space-between;
  1584. gap: var(--space-3xl);
  1585. padding-bottom: var(--space-2xl);
  1586. border-bottom: 1px solid rgba(255, 255, 255, .1);
  1587. }
  1588. .footer-brand .logo-text {
  1589. color: #fff;
  1590. font-size: 1.25rem;
  1591. font-weight: 700;
  1592. }
  1593. .footer-brand .logo-tag {
  1594. color: var(--color-primary);
  1595. font-weight: 600;
  1596. font-size: 1.25rem;
  1597. }
  1598. .footer-brand p {
  1599. color: rgba(255, 255, 255, .6);
  1600. font-size: var(--font-size-small);
  1601. margin-top: var(--space-sm);
  1602. max-width: 300px;
  1603. line-height: 1.7;
  1604. }
  1605. .footer-links {
  1606. display: flex;
  1607. gap: var(--space-3xl);
  1608. }
  1609. .footer-col h4 {
  1610. font-size: var(--font-size-tiny);
  1611. font-weight: 600;
  1612. text-transform: uppercase;
  1613. letter-spacing: .06em;
  1614. color: rgba(255, 255, 255, .5);
  1615. margin-bottom: var(--space-md);
  1616. }
  1617. .footer-col ul li {
  1618. margin-bottom: var(--space-sm);
  1619. }
  1620. .footer-col ul li a {
  1621. font-size: var(--font-size-small);
  1622. color: rgba(255, 255, 255, .7);
  1623. transition: color var(--transition-fast);
  1624. }
  1625. .footer-col ul li a:hover {
  1626. color: var(--color-primary);
  1627. }
  1628. .footer-bottom {
  1629. text-align: center;
  1630. padding: var(--space-lg) 0;
  1631. }
  1632. .footer-bottom p {
  1633. font-size: var(--font-size-tiny);
  1634. color: rgba(255, 255, 255, .4);
  1635. }
  1636. /* ----------------------------------------------------------
  1637. 16. Scroll Animations (AOS-like)
  1638. ---------------------------------------------------------- */
  1639. .reveal {
  1640. opacity: 0;
  1641. transform: translateY(30px);
  1642. transition: opacity .6s ease, transform .6s cubic-bezier(.4, 0, .2, 1);
  1643. }
  1644. .reveal.visible {
  1645. opacity: 1;
  1646. transform: translateY(0);
  1647. }
  1648. /* ----------------------------------------------------------
  1649. 17. Responsive - Tablet
  1650. ---------------------------------------------------------- */
  1651. @media (max-width: 1024px) {
  1652. .hero-inner {
  1653. grid-template-columns: 1fr;
  1654. text-align: center;
  1655. }
  1656. .hero-desc {
  1657. margin-left: auto;
  1658. margin-right: auto;
  1659. }
  1660. .hero-actions {
  1661. justify-content: center;
  1662. }
  1663. .hero-visual {
  1664. display: none;
  1665. }
  1666. .dimension-grid > .dimension-card {
  1667. width: calc((100% - var(--space-xl)) / 2);
  1668. }
  1669. .features-grid {
  1670. grid-template-columns: repeat(2, 1fr);
  1671. }
  1672. .roles-flow {
  1673. gap: var(--space-md);
  1674. }
  1675. .role-card {
  1676. padding: var(--space-lg) var(--space-md);
  1677. }
  1678. .roles-connector {
  1679. flex-direction: row;
  1680. gap: 0;
  1681. }
  1682. .connector-arrow {
  1683. width: 40px;
  1684. height: 2px;
  1685. }
  1686. .connector-arrow::after {
  1687. top: 50%;
  1688. left: auto;
  1689. right: -4px;
  1690. bottom: auto;
  1691. transform: translateY(-50%);
  1692. border: 5px solid transparent;
  1693. border-left-color: var(--color-border);
  1694. border-top-color: transparent;
  1695. }
  1696. .contact-grid {
  1697. grid-template-columns: 1fr;
  1698. }
  1699. .product-stats {
  1700. grid-template-columns: repeat(2, 1fr);
  1701. }
  1702. }
  1703. /* ----------------------------------------------------------
  1704. 18. Responsive - Mobile
  1705. ---------------------------------------------------------- */
  1706. @media (max-width: 768px) {
  1707. :root {
  1708. --space-section: 3.5rem;
  1709. --header-height: 56px;
  1710. }
  1711. .container {
  1712. padding: 0 var(--space-md);
  1713. }
  1714. /* Mobile Nav */
  1715. .nav-toggle {
  1716. display: flex;
  1717. }
  1718. .nav {
  1719. position: fixed;
  1720. top: var(--header-height);
  1721. left: 0;
  1722. right: 0;
  1723. background: rgba(245, 250, 254, .97);
  1724. backdrop-filter: blur(16px);
  1725. -webkit-backdrop-filter: blur(16px);
  1726. border-bottom: 1px solid var(--color-border-light);
  1727. padding: var(--space-lg);
  1728. transform: translateY(-110%);
  1729. opacity: 0;
  1730. transition: all var(--transition-normal);
  1731. pointer-events: none;
  1732. }
  1733. .nav.open {
  1734. transform: translateY(0);
  1735. opacity: 1;
  1736. pointer-events: auto;
  1737. }
  1738. .nav-list {
  1739. flex-direction: column;
  1740. gap: 0;
  1741. }
  1742. .nav-link {
  1743. display: block;
  1744. padding: var(--space-md) 0;
  1745. border-bottom: 1px solid var(--color-border-light);
  1746. width: 100%;
  1747. }
  1748. .nav-link::after {
  1749. display: none;
  1750. }
  1751. /* Hero */
  1752. .hero-title {
  1753. font-size: clamp(1.75rem, 7vw, 2.5rem);
  1754. }
  1755. .hero-desc {
  1756. font-size: var(--font-size-small);
  1757. }
  1758. .hero-actions {
  1759. flex-direction: column;
  1760. align-items: stretch;
  1761. }
  1762. .btn {
  1763. justify-content: center;
  1764. }
  1765. /* Grids */
  1766. .about-grid {
  1767. grid-template-columns: 1fr;
  1768. }
  1769. .dimension-grid > .dimension-card {
  1770. width: 100%;
  1771. }
  1772. .features-grid {
  1773. grid-template-columns: 1fr;
  1774. }
  1775. .contact-grid {
  1776. grid-template-columns: 1fr;
  1777. }
  1778. .product-stats {
  1779. grid-template-columns: repeat(2, 1fr);
  1780. }
  1781. .cta-cards {
  1782. grid-template-columns: 1fr;
  1783. }
  1784. .footer-inner {
  1785. flex-direction: column;
  1786. gap: var(--space-xl);
  1787. }
  1788. .footer-links {
  1789. gap: var(--space-xl);
  1790. }
  1791. .product-quote {
  1792. padding: var(--space-md) var(--space-lg);
  1793. }
  1794. .product-quote p {
  1795. font-size: var(--font-size-small);
  1796. }
  1797. .stat-num {
  1798. font-size: 1.5rem;
  1799. }
  1800. /* Roles row — tighter spacing */
  1801. .roles-flow {
  1802. gap: var(--space-sm);
  1803. }
  1804. .role-card {
  1805. padding: var(--space-md);
  1806. }
  1807. .role-card h3 {
  1808. font-size: calc(var(--font-size-h3) * 0.85);
  1809. }
  1810. .role-perms li {
  1811. font-size: calc(var(--font-size-tiny) * 0.9);
  1812. }
  1813. .role-qr-code {
  1814. width: 150px;
  1815. height: 150px;
  1816. }
  1817. }
  1818. @media (max-width: 480px) {
  1819. .product-stats {
  1820. grid-template-columns: repeat(2, 1fr);
  1821. gap: var(--space-sm);
  1822. }
  1823. .stat {
  1824. padding: var(--space-md);
  1825. }
  1826. .roles-flow {
  1827. flex-direction: column;
  1828. gap: var(--space-md);
  1829. }
  1830. .roles-connector {
  1831. flex-direction: column;
  1832. gap: var(--space-xs);
  1833. }
  1834. .connector-arrow {
  1835. width: 2px;
  1836. height: 40px;
  1837. }
  1838. .connector-arrow::after {
  1839. top: auto;
  1840. left: 50%;
  1841. right: auto;
  1842. bottom: -4px;
  1843. transform: translateX(-50%);
  1844. border: 5px solid transparent;
  1845. border-top-color: var(--color-border);
  1846. border-left-color: transparent;
  1847. }
  1848. .footer-links {
  1849. flex-direction: column;
  1850. gap: var(--space-lg);
  1851. }
  1852. }
  1853. /* ----------------------------------------------------------
  1854. 19. Logo
  1855. ---------------------------------------------------------- */
  1856. .logo-img {
  1857. display: block;
  1858. flex-shrink: 0;
  1859. border-radius: 8px;
  1860. width: 36px;
  1861. height: 36px;
  1862. object-fit: contain;
  1863. }
  1864. .footer-logo-img {
  1865. display: block;
  1866. flex-shrink: 0;
  1867. border-radius: 10px;
  1868. margin-bottom: var(--space-xs);
  1869. object-fit: contain;
  1870. }
  1871. /* ----------------------------------------------------------
  1872. 20. Wuxing Philosophy Section
  1873. ---------------------------------------------------------- */
  1874. .section-wuxing {
  1875. background: linear-gradient(180deg, var(--bg-body) 0%, var(--bg-surface) 100%);
  1876. }
  1877. /* --- Diagram --- */
  1878. .wuxing-diagram {
  1879. position: relative;
  1880. width: 100%;
  1881. max-width: 480px;
  1882. aspect-ratio: 1;
  1883. margin: 0 auto var(--space-3xl);
  1884. }
  1885. .wuxing-diagram canvas {
  1886. display: block;
  1887. width: 100%;
  1888. height: 100%;
  1889. }
  1890. .wuxing-diagram .taiji-center {
  1891. position: absolute;
  1892. top: 50%;
  1893. left: 50%;
  1894. transform: translate(-50%, -50%);
  1895. pointer-events: none;
  1896. z-index: 1;
  1897. color: var(--color-text-secondary);
  1898. }
  1899. .wuxing-diagram .taiji-svg {
  1900. display: block;
  1901. animation: taiji-rotate 24s linear infinite;
  1902. }
  1903. @keyframes taiji-rotate {
  1904. to { transform: rotate(360deg); }
  1905. }
  1906. /* --- Explanation Cards --- */
  1907. .wuxing-explanations {
  1908. max-width: 960px;
  1909. margin: 0 auto;
  1910. }
  1911. .we-section {
  1912. margin-bottom: var(--space-2xl);
  1913. }
  1914. .we-section:last-child {
  1915. margin-bottom: 0;
  1916. }
  1917. .we-title {
  1918. font-size: var(--font-size-h3);
  1919. font-weight: 700;
  1920. margin-bottom: var(--space-xs);
  1921. }
  1922. .we-sheng {
  1923. color: var(--color-secondary);
  1924. }
  1925. .we-ke {
  1926. color: var(--color-primary);
  1927. }
  1928. .we-subtitle {
  1929. font-size: var(--font-size-small);
  1930. color: var(--color-text-secondary);
  1931. margin-bottom: var(--space-lg);
  1932. }
  1933. .we-grid {
  1934. display: grid;
  1935. grid-template-columns: repeat(5, 1fr);
  1936. gap: var(--space-md);
  1937. }
  1938. .wuxing-card {
  1939. background: var(--bg-surface);
  1940. border: 1px solid var(--color-border-light);
  1941. border-radius: var(--radius-md);
  1942. padding: var(--space-lg);
  1943. text-align: center;
  1944. transition: all var(--transition-normal);
  1945. position: relative;
  1946. overflow: hidden;
  1947. }
  1948. .wuxing-card::before {
  1949. content: '';
  1950. position: absolute;
  1951. top: 0;
  1952. left: 0;
  1953. right: 0;
  1954. height: 3px;
  1955. background: var(--wc-color);
  1956. opacity: .5;
  1957. transition: opacity var(--transition-normal);
  1958. }
  1959. .wuxing-card:hover {
  1960. transform: translateY(-4px);
  1961. box-shadow: var(--shadow-md);
  1962. border-color: transparent;
  1963. }
  1964. .wuxing-card:hover::before {
  1965. opacity: 1;
  1966. }
  1967. .wc-arrow {
  1968. display: inline-block;
  1969. font-size: var(--font-size-tiny);
  1970. font-weight: 700;
  1971. color: var(--wc-color);
  1972. padding: .15em .6em;
  1973. border-radius: var(--radius-full);
  1974. background: color-mix(in srgb, var(--wc-color) 10%, white);
  1975. margin-bottom: var(--space-sm);
  1976. }
  1977. .wuxing-card h4 {
  1978. font-size: 1rem;
  1979. font-weight: 700;
  1980. margin-bottom: var(--space-xs);
  1981. color: var(--color-text-primary);
  1982. }
  1983. .wuxing-card p {
  1984. font-size: var(--font-size-tiny);
  1985. color: var(--color-text-secondary);
  1986. line-height: 1.6;
  1987. }
  1988. @media (max-width: 1024px) {
  1989. .we-grid {
  1990. grid-template-columns: repeat(3, 1fr);
  1991. }
  1992. }
  1993. @media (max-width: 600px) {
  1994. .we-grid {
  1995. grid-template-columns: repeat(2, 1fr);
  1996. }
  1997. }
  1998. @media (max-width: 480px) {
  1999. .we-grid {
  2000. grid-template-columns: 1fr;
  2001. }
  2002. }
  2003. /* Mobile: prevent dimension title wrapping */
  2004. @media (max-width: 600px) {
  2005. .dim-title {
  2006. font-size: 1rem;
  2007. flex-wrap: wrap;
  2008. }
  2009. .dim-emoji {
  2010. font-size: 1.2rem;
  2011. }
  2012. .dim-element {
  2013. font-size: 9px;
  2014. }
  2015. }
  2016. /* ----------------------------------------------------------
  2017. 21. Dimension Energy Tips
  2018. ---------------------------------------------------------- */
  2019. .dim-energy {
  2020. margin-top: var(--space-md);
  2021. padding-top: var(--space-md);
  2022. border-top: 1px dashed var(--color-border-light);
  2023. }
  2024. .dim-energy h4 {
  2025. font-size: var(--font-size-small);
  2026. font-weight: 700;
  2027. color: var(--dim-color);
  2028. margin-bottom: var(--space-sm);
  2029. }
  2030. .dim-energy ul {
  2031. display: flex;
  2032. flex-direction: column;
  2033. gap: var(--space-xs);
  2034. }
  2035. .dim-energy ul li {
  2036. font-size: var(--font-size-tiny);
  2037. color: var(--color-text-secondary);
  2038. padding: .25em 0;
  2039. display: flex;
  2040. align-items: center;
  2041. gap: var(--space-xs);
  2042. }
  2043. .dim-energy ul li::before {
  2044. content: '✦';
  2045. color: var(--dim-color);
  2046. font-size: 10px;
  2047. flex-shrink: 0;
  2048. }
  2049. /* Dim element badge */
  2050. .dim-element {
  2051. display: inline-block;
  2052. font-size: 10px;
  2053. font-weight: 600;
  2054. color: #fff;
  2055. padding: .15em .6em;
  2056. border-radius: var(--radius-full);
  2057. margin-left: var(--space-xs);
  2058. vertical-align: middle;
  2059. letter-spacing: .04em;
  2060. white-space: nowrap;
  2061. }
  2062. /* Prevent role name (家长/孩子/成长规划师) from breaking across lines */
  2063. .role-perms li strong {
  2064. white-space: nowrap;
  2065. }
  2066. /* ----------------------------------------------------------
  2067. 22. Product Feature Bullet Lists
  2068. ---------------------------------------------------------- */
  2069. .product-summary {
  2070. font-size: var(--font-size-small);
  2071. color: var(--color-text-secondary);
  2072. line-height: 1.6;
  2073. margin-bottom: var(--space-sm);
  2074. }
  2075. .product-features {
  2076. list-style: none;
  2077. padding: 0;
  2078. margin: 0 0 var(--space-md);
  2079. }
  2080. .product-features li {
  2081. position: relative;
  2082. padding-left: 1.25em;
  2083. font-size: var(--font-size-small);
  2084. color: var(--color-text-secondary);
  2085. line-height: 1.8;
  2086. }
  2087. .product-features li::before {
  2088. content: '·';
  2089. position: absolute;
  2090. left: .35em;
  2091. color: var(--product-color, var(--color-primary));
  2092. font-weight: 700;
  2093. font-size: 1.1em;
  2094. }
  2095. /* ----------------------------------------------------------
  2096. 23. Floating CTA Button
  2097. ---------------------------------------------------------- */
  2098. .float-cta {
  2099. position: fixed;
  2100. bottom: 2rem;
  2101. right: 2rem;
  2102. z-index: 999;
  2103. display: flex;
  2104. flex-direction: column;
  2105. align-items: flex-end;
  2106. gap: var(--space-sm);
  2107. }
  2108. .float-cta-btn {
  2109. width: 52px;
  2110. height: 52px;
  2111. border-radius: 50%;
  2112. border: none;
  2113. background: var(--color-primary);
  2114. color: #fff;
  2115. cursor: pointer;
  2116. display: flex;
  2117. align-items: center;
  2118. justify-content: center;
  2119. box-shadow: 0 4px 16px rgba(74, 155, 215, .35);
  2120. transition: all var(--transition-fast);
  2121. position: relative;
  2122. }
  2123. .float-cta-btn:hover {
  2124. background: var(--color-primary-hover);
  2125. transform: scale(1.08);
  2126. box-shadow: 0 6px 24px rgba(74, 155, 215, .45);
  2127. }
  2128. .float-cta-btn:active {
  2129. transform: scale(.95);
  2130. }
  2131. .float-cta-popup {
  2132. position: absolute;
  2133. bottom: 64px;
  2134. right: 0;
  2135. opacity: 0;
  2136. visibility: hidden;
  2137. transform: translateY(8px) scale(.95);
  2138. transition: all var(--transition-normal);
  2139. transform-origin: bottom right;
  2140. }
  2141. .float-cta-popup.open {
  2142. opacity: 1;
  2143. visibility: visible;
  2144. transform: translateY(0) scale(1);
  2145. }
  2146. .float-cta-popup-inner {
  2147. background: var(--bg-surface);
  2148. border-radius: var(--radius-lg);
  2149. box-shadow: var(--shadow-xl);
  2150. padding: var(--space-lg);
  2151. text-align: center;
  2152. min-width: 200px;
  2153. position: relative;
  2154. }
  2155. .float-cta-close {
  2156. position: absolute;
  2157. top: 6px;
  2158. right: 10px;
  2159. border: none;
  2160. background: none;
  2161. font-size: 1.4rem;
  2162. color: var(--color-text-muted);
  2163. cursor: pointer;
  2164. line-height: 1;
  2165. padding: 4px;
  2166. }
  2167. .float-cta-close:hover {
  2168. color: var(--color-text-primary);
  2169. }
  2170. .float-cta-title {
  2171. font-size: var(--font-size-small);
  2172. font-weight: 600;
  2173. color: var(--color-text-primary);
  2174. margin-bottom: var(--space-sm);
  2175. }
  2176. .float-cta-qr {
  2177. margin: 0 auto var(--space-sm);
  2178. width: 72px;
  2179. height: 72px;
  2180. display: flex;
  2181. align-items: center;
  2182. justify-content: center;
  2183. background: var(--bg-body);
  2184. border-radius: var(--radius-sm);
  2185. }
  2186. .float-cta-tip {
  2187. font-size: var(--font-size-tiny);
  2188. color: var(--color-text-muted);
  2189. }
  2190. /* ----------------------------------------------------------
  2191. 24. Cookie Consent Banner
  2192. ---------------------------------------------------------- */
  2193. .cookie-consent {
  2194. position: fixed;
  2195. bottom: 0;
  2196. left: 0;
  2197. right: 0;
  2198. background: var(--color-text-primary);
  2199. color: #fff;
  2200. padding: var(--space-md) var(--space-xl);
  2201. display: flex;
  2202. align-items: center;
  2203. justify-content: center;
  2204. gap: var(--space-lg);
  2205. z-index: 1000;
  2206. transform: translateY(100%);
  2207. transition: transform var(--transition-normal);
  2208. flex-wrap: wrap;
  2209. }
  2210. .cookie-consent.visible {
  2211. transform: translateY(0);
  2212. }
  2213. .cookie-consent-text {
  2214. font-size: var(--font-size-small);
  2215. color: rgba(255, 255, 255, .85);
  2216. line-height: 1.5;
  2217. }
  2218. .cookie-consent-text a {
  2219. color: var(--color-accent);
  2220. text-decoration: underline;
  2221. }
  2222. .cookie-consent-btn {
  2223. background: var(--color-primary);
  2224. color: #fff;
  2225. border: none;
  2226. border-radius: var(--radius-full);
  2227. padding: .5em 1.5em;
  2228. font-size: var(--font-size-small);
  2229. cursor: pointer;
  2230. white-space: nowrap;
  2231. transition: background var(--transition-fast);
  2232. flex-shrink: 0;
  2233. }
  2234. .cookie-consent-btn:hover {
  2235. background: var(--color-primary-hover);
  2236. }
  2237. /* ----------------------------------------------------------
  2238. 25. Footer Enhancements
  2239. ---------------------------------------------------------- */
  2240. .footer-contact li {
  2241. font-size: var(--font-size-small);
  2242. color: var(--color-text-secondary);
  2243. line-height: 1.8;
  2244. }
  2245. .footer-legal {
  2246. margin-top: var(--space-xs);
  2247. font-size: var(--font-size-tiny);
  2248. color: var(--color-text-muted);
  2249. display: flex;
  2250. gap: var(--space-md);
  2251. justify-content: center;
  2252. flex-wrap: wrap;
  2253. }
  2254. .footer-legal a {
  2255. color: var(--color-text-muted);
  2256. text-decoration: underline;
  2257. }
  2258. .footer-legal a:hover {
  2259. color: var(--color-primary);
  2260. }
  2261. /* Responsive footer bottom on small screens */
  2262. @media (max-width: 480px) {
  2263. .footer-legal {
  2264. flex-direction: column;
  2265. gap: var(--space-xs);
  2266. align-items: center;
  2267. }
  2268. .float-cta {
  2269. bottom: 1rem;
  2270. right: 1rem;
  2271. }
  2272. .float-cta-btn {
  2273. width: 46px;
  2274. height: 46px;
  2275. }
  2276. .cookie-consent {
  2277. padding: var(--space-sm) var(--space-md);
  2278. flex-direction: column;
  2279. text-align: center;
  2280. }
  2281. }
  2282. /* ----------------------------------------------------------
  2283. 26. Knowledge Base Section
  2284. ---------------------------------------------------------- */
  2285. .section-knowledge {
  2286. background: var(--bg-section-alt);
  2287. }
  2288. .knowledge-grid {
  2289. display: grid;
  2290. grid-template-columns: repeat(2, 1fr);
  2291. gap: var(--space-xl);
  2292. margin-top: var(--space-xl);
  2293. }
  2294. .knowledge-card {
  2295. background: var(--bg-surface);
  2296. border-radius: var(--radius-lg);
  2297. overflow: hidden;
  2298. box-shadow: var(--shadow-sm);
  2299. transition: all var(--transition-normal);
  2300. display: flex;
  2301. flex-direction: column;
  2302. }
  2303. .knowledge-card:hover {
  2304. box-shadow: var(--shadow-md);
  2305. transform: translateY(-3px);
  2306. }
  2307. .knowledge-card-cover {
  2308. width: 100%;
  2309. height: 180px;
  2310. object-fit: cover;
  2311. background: var(--color-primary-light);
  2312. display: flex;
  2313. align-items: center;
  2314. justify-content: center;
  2315. color: var(--color-primary);
  2316. font-size: 2.5rem;
  2317. }
  2318. .knowledge-card-body {
  2319. padding: var(--space-lg);
  2320. flex: 1;
  2321. display: flex;
  2322. flex-direction: column;
  2323. }
  2324. .knowledge-card-category {
  2325. display: inline-block;
  2326. font-size: var(--font-size-tiny);
  2327. font-weight: 600;
  2328. color: var(--color-primary);
  2329. background: var(--color-primary-light);
  2330. padding: .2em .8em;
  2331. border-radius: var(--radius-full);
  2332. margin-bottom: var(--space-sm);
  2333. align-self: flex-start;
  2334. }
  2335. .knowledge-card-title {
  2336. font-size: 1.05rem;
  2337. font-weight: 700;
  2338. color: var(--color-text-primary);
  2339. line-height: 1.5;
  2340. margin-bottom: var(--space-sm);
  2341. display: -webkit-box;
  2342. -webkit-line-clamp: 2;
  2343. -webkit-box-orient: vertical;
  2344. overflow: hidden;
  2345. }
  2346. .knowledge-card-summary {
  2347. font-size: var(--font-size-small);
  2348. color: var(--color-text-secondary);
  2349. line-height: 1.7;
  2350. flex: 1;
  2351. display: -webkit-box;
  2352. -webkit-line-clamp: 3;
  2353. -webkit-box-orient: vertical;
  2354. overflow: hidden;
  2355. margin-bottom: var(--space-md);
  2356. }
  2357. .knowledge-card-meta {
  2358. font-size: var(--font-size-tiny);
  2359. color: var(--color-text-muted);
  2360. display: flex;
  2361. align-items: center;
  2362. gap: var(--space-md);
  2363. padding-top: var(--space-sm);
  2364. border-top: 1px solid var(--color-border-light);
  2365. }
  2366. .knowledge-card-meta .dimension-tag {
  2367. display: inline-block;
  2368. font-size: 10px;
  2369. font-weight: 600;
  2370. padding: .15em .5em;
  2371. border-radius: var(--radius-full);
  2372. color: #fff;
  2373. }
  2374. .knowledge-footer {
  2375. text-align: center;
  2376. margin-top: var(--space-2xl);
  2377. }
  2378. .knowledge-tip {
  2379. font-size: var(--font-size-small);
  2380. color: var(--color-text-muted);
  2381. }
  2382. .knowledge-tip strong {
  2383. color: var(--color-primary);
  2384. }
  2385. .knowledge-loading {
  2386. grid-column: 1 / -1;
  2387. text-align: center;
  2388. padding: var(--space-3xl) 0;
  2389. }
  2390. .knowledge-loading-text {
  2391. font-size: var(--font-size-small);
  2392. color: var(--color-text-muted);
  2393. }
  2394. .knowledge-error {
  2395. grid-column: 1 / -1;
  2396. text-align: center;
  2397. padding: var(--space-xl) 0;
  2398. color: var(--color-text-muted);
  2399. font-size: var(--font-size-small);
  2400. }
  2401. @media (max-width: 600px) {
  2402. .knowledge-grid {
  2403. grid-template-columns: 1fr;
  2404. }
  2405. .knowledge-card-cover {
  2406. height: 140px;
  2407. }
  2408. }
  2409. /* ====== Knowledge Page Styles ====== */
  2410. /* Nav active state */
  2411. .nav-link.active {
  2412. color: var(--color-primary) !important;
  2413. }
  2414. .nav-link.active::after {
  2415. width: 100% !important;
  2416. opacity: 1 !important;
  2417. }
  2418. /* Hero Section */
  2419. .k-hero {
  2420. min-height: 70vh;
  2421. display: flex;
  2422. align-items: center;
  2423. position: relative;
  2424. padding-top: var(--header-height);
  2425. overflow: hidden;
  2426. }
  2427. .k-hero-bg {
  2428. position: absolute;
  2429. inset: 0;
  2430. background:
  2431. radial-gradient(ellipse 80% 50% at 50% -10%, rgba(74, 155, 215, .08), transparent),
  2432. radial-gradient(ellipse 60% 40% at 80% 80%, rgba(16, 185, 129, .05), transparent);
  2433. pointer-events: none;
  2434. }
  2435. .k-hero-inner {
  2436. display: grid;
  2437. grid-template-columns: 1fr 1fr;
  2438. gap: var(--space-3xl);
  2439. align-items: center;
  2440. position: relative;
  2441. z-index: 1;
  2442. }
  2443. .k-hero-badge {
  2444. display: inline-block;
  2445. font-size: var(--font-size-tiny);
  2446. font-weight: 600;
  2447. letter-spacing: .06em;
  2448. color: var(--color-primary);
  2449. background: var(--color-primary-light);
  2450. padding: .4em 1.2em;
  2451. border-radius: var(--radius-full);
  2452. margin-bottom: var(--space-lg);
  2453. }
  2454. .k-hero-title {
  2455. font-size: 2.8rem;
  2456. font-weight: 800;
  2457. line-height: 1.15;
  2458. margin-bottom: var(--space-lg);
  2459. }
  2460. .k-hero-desc {
  2461. font-size: 1.0625rem;
  2462. color: var(--color-text-secondary);
  2463. line-height: 1.8;
  2464. margin-bottom: var(--space-xl);
  2465. max-width: 520px;
  2466. }
  2467. .k-hero-desc strong {
  2468. color: var(--color-text-primary);
  2469. }
  2470. .k-hero-actions {
  2471. display: flex;
  2472. gap: var(--space-md);
  2473. flex-wrap: wrap;
  2474. }
  2475. .k-hero-visual {
  2476. display: flex;
  2477. justify-content: center;
  2478. align-items: center;
  2479. }
  2480. /* Section Headers */
  2481. .k-section-header {
  2482. display: flex;
  2483. align-items: center;
  2484. gap: var(--space-xl);
  2485. margin-bottom: var(--space-2xl);
  2486. padding-bottom: var(--space-xl);
  2487. border-bottom: 2px solid var(--color-border-light);
  2488. }
  2489. .k-section-icon {
  2490. flex-shrink: 0;
  2491. width: 90px;
  2492. display: flex;
  2493. justify-content: center;
  2494. align-items: center;
  2495. }
  2496. .k-section-text {
  2497. flex: 1;
  2498. }
  2499. .k-section-tag {
  2500. display: inline-block;
  2501. font-size: .75rem;
  2502. font-weight: 700;
  2503. letter-spacing: .08em;
  2504. padding: .3em .8em;
  2505. border-radius: var(--radius-full);
  2506. margin-bottom: var(--space-sm);
  2507. }
  2508. .k-section-title {
  2509. font-size: var(--font-size-h2);
  2510. font-weight: 800;
  2511. line-height: 1.2;
  2512. margin-bottom: var(--space-xs);
  2513. }
  2514. .k-section-desc {
  2515. font-size: var(--font-size-small);
  2516. color: var(--color-text-secondary);
  2517. line-height: 1.7;
  2518. max-width: 640px;
  2519. }
  2520. .k-section-desc strong {
  2521. color: var(--color-text-primary);
  2522. }
  2523. /* Dimension section */
  2524. .k-dim-section {
  2525. margin-bottom: var(--space-2xl);
  2526. padding: var(--space-xl);
  2527. border-radius: var(--radius-lg);
  2528. background: var(--k-bg);
  2529. border: 1px solid var(--color-border-light);
  2530. }
  2531. .k-dim-header {
  2532. display: flex;
  2533. align-items: center;
  2534. gap: var(--space-sm);
  2535. margin-bottom: var(--space-lg);
  2536. padding-bottom: var(--space-md);
  2537. border-bottom: 1px solid var(--color-border-light);
  2538. }
  2539. .k-dim-dot {
  2540. width: 12px;
  2541. height: 12px;
  2542. border-radius: 50%;
  2543. flex-shrink: 0;
  2544. }
  2545. .k-dim-name {
  2546. font-size: 1.3rem;
  2547. font-weight: 800;
  2548. color: var(--k-color);
  2549. line-height: 1;
  2550. }
  2551. .k-dim-sub {
  2552. font-size: var(--font-size-small);
  2553. color: var(--color-text-muted);
  2554. margin-left: auto;
  2555. }
  2556. /* Article Grid */
  2557. .k-article-grid {
  2558. display: grid;
  2559. grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  2560. gap: var(--space-md);
  2561. }
  2562. .k-article-card {
  2563. display: flex;
  2564. align-items: center;
  2565. gap: var(--space-md);
  2566. padding: var(--space-md);
  2567. background: #fff;
  2568. border-radius: var(--radius-md);
  2569. text-decoration: none;
  2570. border: 1px solid var(--color-border-light);
  2571. transition: all var(--transition-fast);
  2572. }
  2573. .k-article-card:hover {
  2574. box-shadow: var(--shadow-md);
  2575. border-color: var(--k-color, var(--color-primary));
  2576. transform: translateY(-2px);
  2577. }
  2578. .k-article-icon {
  2579. font-size: 1.6rem;
  2580. flex-shrink: 0;
  2581. width: 40px;
  2582. text-align: center;
  2583. }
  2584. .k-article-info {
  2585. flex: 1;
  2586. min-width: 0;
  2587. }
  2588. .k-article-info h4 {
  2589. font-size: .9375rem;
  2590. font-weight: 700;
  2591. color: var(--color-text-primary);
  2592. margin-bottom: .25em;
  2593. line-height: 1.4;
  2594. }
  2595. .k-article-info p {
  2596. font-size: .8125rem;
  2597. color: var(--color-text-muted);
  2598. line-height: 1.5;
  2599. display: -webkit-box;
  2600. -webkit-line-clamp: 2;
  2601. -webkit-box-orient: vertical;
  2602. overflow: hidden;
  2603. }
  2604. .k-article-arrow {
  2605. color: var(--color-text-muted);
  2606. font-size: 1rem;
  2607. flex-shrink: 0;
  2608. transition: transform var(--transition-fast);
  2609. }
  2610. .k-article-card:hover .k-article-arrow {
  2611. color: var(--k-color, var(--color-primary));
  2612. transform: translateX(3px);
  2613. }
  2614. .k-article-card--coming {
  2615. cursor: default;
  2616. opacity: .7;
  2617. }
  2618. .k-article-card--coming:hover {
  2619. transform: none;
  2620. box-shadow: var(--shadow-sm);
  2621. border-color: var(--color-border-light);
  2622. }
  2623. .k-coming-badge {
  2624. display: inline-block;
  2625. font-size: .6875rem;
  2626. color: var(--color-text-muted);
  2627. background: var(--color-bg-secondary);
  2628. padding: .2em .6em;
  2629. border-radius: var(--radius-full);
  2630. margin-top: .3em;
  2631. }
  2632. /* Footer CTA */
  2633. .k-footer-cta {
  2634. text-align: center;
  2635. padding: var(--space-2xl) 0;
  2636. }
  2637. .k-footer-cta p {
  2638. font-size: var(--font-size-small);
  2639. color: var(--color-text-secondary);
  2640. margin-bottom: var(--space-md);
  2641. }
  2642. /* Section alt (行·富) */
  2643. .section-knowledge-alt {
  2644. background: var(--color-bg-secondary, #FAFBFD);
  2645. }
  2646. /* Responsive */
  2647. @media (max-width: 768px) {
  2648. .k-hero-inner {
  2649. grid-template-columns: 1fr;
  2650. text-align: center;
  2651. }
  2652. .k-hero-desc {
  2653. max-width: 100%;
  2654. }
  2655. .k-hero-actions {
  2656. justify-content: center;
  2657. }
  2658. .k-hero-visual {
  2659. display: none;
  2660. }
  2661. .k-section-header {
  2662. flex-direction: column;
  2663. text-align: center;
  2664. }
  2665. .k-section-icon {
  2666. margin-bottom: var(--space-sm);
  2667. }
  2668. .k-section-desc {
  2669. max-width: 100%;
  2670. }
  2671. .k-article-grid {
  2672. grid-template-columns: 1fr;
  2673. }
  2674. .k-dim-sub {
  2675. display: none;
  2676. }
  2677. }
  2678. /* Responsive: Wuxing diagram — handled by aspect-ratio and Canvas redraw */
  2679. @media (max-width: 600px) {
  2680. .wuxing-diagram {
  2681. max-width: 360px;
  2682. }
  2683. }