style.css 62 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047
  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. @media (max-width: 768px) {
  776. .pillar-main {
  777. flex-direction: column;
  778. text-align: center;
  779. gap: var(--space-md);
  780. }
  781. .pillar-arrow {
  782. transform: rotate(90deg);
  783. }
  784. .pillar-dimensions {
  785. justify-content: center;
  786. }
  787. .pillar-left {
  788. min-width: auto;
  789. }
  790. }
  791. @media (max-width: 480px) {
  792. .pillar-card {
  793. padding: var(--space-lg);
  794. }
  795. .pillar-dim-badge {
  796. padding: .4em 1em;
  797. font-size: var(--font-size-tiny);
  798. }
  799. .pillar-dimensions {
  800. flex-direction: column;
  801. align-items: center;
  802. }
  803. }
  804. /* ----------------------------------------------------------
  805. 9. Footer
  806. ---------------------------------------------------------- */
  807. .section-products {
  808. background: linear-gradient(180deg, var(--color-primary-light) 0%, var(--bg-body) 100%);
  809. }
  810. .products-grid {
  811. display: grid;
  812. grid-template-columns: repeat(2, 1fr);
  813. gap: var(--space-xl);
  814. max-width: 920px;
  815. margin: 0 auto;
  816. }
  817. .product-card {
  818. background: var(--bg-surface);
  819. border-radius: var(--radius-lg);
  820. padding: var(--space-2xl);
  821. border: 1px solid var(--color-border-light);
  822. transition: all var(--transition-normal);
  823. position: relative;
  824. overflow: hidden;
  825. }
  826. .product-card::before {
  827. content: '';
  828. position: absolute;
  829. top: 0;
  830. left: 0;
  831. right: 0;
  832. height: 4px;
  833. background: var(--product-color, var(--color-primary));
  834. }
  835. .product-card:hover {
  836. transform: translateY(-4px);
  837. box-shadow: var(--shadow-md);
  838. border-color: transparent;
  839. }
  840. .product-card-icon {
  841. width: 56px;
  842. height: 56px;
  843. display: flex;
  844. align-items: center;
  845. justify-content: center;
  846. border-radius: var(--radius-md);
  847. background: var(--product-bg, var(--color-primary-light));
  848. margin-bottom: var(--space-md);
  849. }
  850. .product-card h3 {
  851. font-size: 1.1rem;
  852. font-weight: 700;
  853. color: var(--color-text-primary);
  854. margin-bottom: var(--space-xs);
  855. }
  856. .product-card .product-sub {
  857. font-size: var(--font-size-small);
  858. color: var(--product-color, var(--color-primary));
  859. font-weight: 600;
  860. margin-bottom: var(--space-sm);
  861. margin-top: -4px;
  862. }
  863. .product-card > p {
  864. font-size: var(--font-size-small);
  865. color: var(--color-text-secondary);
  866. line-height: 1.75;
  867. margin-bottom: var(--space-md);
  868. }
  869. .product-tags {
  870. display: flex;
  871. flex-wrap: wrap;
  872. gap: var(--space-xs);
  873. }
  874. .product-tags span {
  875. display: inline-block;
  876. padding: 2px 10px;
  877. font-size: var(--font-size-tiny);
  878. color: var(--product-color, var(--color-text-secondary));
  879. background: color-mix(in srgb, var(--product-color, var(--color-primary)) 10%, transparent);
  880. border-radius: 100px;
  881. font-weight: 500;
  882. }
  883. .product-plus {
  884. color: var(--product-color, var(--color-primary));
  885. font-weight: 700;
  886. }
  887. @media (max-width: 768px) {
  888. .products-grid {
  889. grid-template-columns: 1fr;
  890. gap: var(--space-lg);
  891. }
  892. }
  893. /* ----------------------------------------------------------
  894. 10. Dimensions Section
  895. ---------------------------------------------------------- */
  896. .section-dimensions {
  897. background: var(--bg-surface);
  898. }
  899. .dimension-grid {
  900. display: flex;
  901. flex-wrap: wrap;
  902. justify-content: center;
  903. gap: var(--space-xl);
  904. }
  905. .dimension-grid > .dimension-card {
  906. width: calc((100% - var(--space-xl) * 2) / 3);
  907. }
  908. .dimension-card {
  909. background: var(--bg-surface);
  910. border: 1px solid var(--color-border-light);
  911. border-radius: var(--radius-lg);
  912. padding: var(--space-2xl);
  913. position: relative;
  914. overflow: hidden;
  915. transition: all var(--transition-normal);
  916. }
  917. .dim-bg-illustration {
  918. position: absolute;
  919. bottom: 0;
  920. left: 0;
  921. width: 100%;
  922. height: 28%;
  923. pointer-events: none;
  924. opacity: 0.3;
  925. transition: opacity var(--transition-normal);
  926. mask-image: linear-gradient(to top, black 0%, black 50%, transparent 100%);
  927. -webkit-mask-image: linear-gradient(to top, black 0%, black 50%, transparent 100%);
  928. }
  929. .dim-bg-illustration svg {
  930. width: 100%;
  931. height: 100%;
  932. color: var(--dim-color);
  933. display: block;
  934. }
  935. .dimension-card:hover .dim-bg-illustration {
  936. opacity: 0.3;
  937. }
  938. .dimension-card::before {
  939. content: '';
  940. position: absolute;
  941. top: 0;
  942. left: 0;
  943. right: 0;
  944. height: 4px;
  945. background: var(--dim-color);
  946. opacity: .6;
  947. transition: opacity var(--transition-normal);
  948. }
  949. .dimension-card:hover {
  950. transform: translateY(-6px);
  951. box-shadow: var(--shadow-lg);
  952. border-color: transparent;
  953. }
  954. .dimension-card:hover::before {
  955. opacity: 1;
  956. }
  957. .dim-title {
  958. font-size: var(--font-size-h3);
  959. font-weight: 700;
  960. margin-bottom: var(--space-sm);
  961. display: flex;
  962. align-items: center;
  963. gap: var(--space-xs);
  964. }
  965. .dim-emoji {
  966. font-size: 1.5rem;
  967. }
  968. .dim-desc {
  969. font-size: var(--font-size-small);
  970. color: var(--color-text-secondary);
  971. line-height: 1.8;
  972. margin-bottom: var(--space-md);
  973. }
  974. .dim-points {
  975. display: flex;
  976. flex-wrap: wrap;
  977. gap: var(--space-xs);
  978. }
  979. .dim-points li {
  980. font-size: var(--font-size-tiny);
  981. font-weight: 500;
  982. color: var(--dim-color);
  983. background: var(--dim-bg);
  984. padding: .3em .9em;
  985. border-radius: var(--radius-full);
  986. }
  987. /* Make 2 items in last row centered */
  988. /* 5 items in 3-col grid: items 4 & 5 naturally wrap to row 2, cols 1 & 2 */
  989. /* ----------------------------------------------------------
  990. 11. Features Section
  991. ---------------------------------------------------------- */
  992. .section-features {
  993. background: var(--bg-section-alt);
  994. }
  995. .features-grid {
  996. display: grid;
  997. grid-template-columns: repeat(4, 1fr);
  998. gap: var(--space-lg);
  999. }
  1000. .feature-card {
  1001. background: var(--bg-surface);
  1002. border: 1px solid var(--color-border-light);
  1003. border-radius: var(--radius-lg);
  1004. padding: var(--space-xl);
  1005. transition: all var(--transition-normal);
  1006. text-align: center;
  1007. }
  1008. .feature-card:hover {
  1009. transform: translateY(-4px);
  1010. box-shadow: var(--shadow-md);
  1011. border-color: transparent;
  1012. }
  1013. .feature-icon {
  1014. width: 56px;
  1015. height: 56px;
  1016. margin: 0 auto var(--space-md);
  1017. display: flex;
  1018. align-items: center;
  1019. justify-content: center;
  1020. border-radius: var(--radius-md);
  1021. background: color-mix(in srgb, var(--fc) 10%, white);
  1022. color: var(--fc);
  1023. }
  1024. .feature-card h3 {
  1025. font-size: 1rem;
  1026. font-weight: 700;
  1027. margin-bottom: var(--space-sm);
  1028. }
  1029. .feature-card p {
  1030. font-size: var(--font-size-small);
  1031. color: var(--color-text-secondary);
  1032. line-height: 1.7;
  1033. }
  1034. /* Loop flow — 科学成长闭环 */
  1035. .loop-flow {
  1036. display: flex;
  1037. align-items: flex-start;
  1038. justify-content: center;
  1039. gap: var(--space-md);
  1040. flex-wrap: wrap;
  1041. }
  1042. .loop-step {
  1043. flex: 1;
  1044. min-width: 200px;
  1045. max-width: 260px;
  1046. background: var(--bg-surface);
  1047. border-radius: var(--radius-lg);
  1048. padding: var(--space-xl) var(--space-lg);
  1049. border: 1px solid var(--color-border-light);
  1050. text-align: left;
  1051. transition: transform .3s ease, box-shadow .3s ease;
  1052. }
  1053. .loop-step:hover {
  1054. transform: translateY(-4px);
  1055. box-shadow: var(--shadow-lg);
  1056. }
  1057. .loop-header {
  1058. display: flex;
  1059. align-items: center;
  1060. gap: var(--space-sm);
  1061. margin-bottom: var(--space-md);
  1062. }
  1063. .loop-icon {
  1064. color: var(--step-color);
  1065. flex-shrink: 0;
  1066. display: flex;
  1067. align-items: center;
  1068. justify-content: center;
  1069. width: 40px;
  1070. height: 40px;
  1071. border-radius: var(--radius-md);
  1072. background: var(--step-bg);
  1073. }
  1074. .loop-step h3 {
  1075. font-size: 1rem;
  1076. font-weight: 700;
  1077. color: var(--color-text-primary);
  1078. margin-bottom: 0;
  1079. }
  1080. .loop-step p {
  1081. font-size: var(--font-size-small);
  1082. color: var(--color-text-secondary);
  1083. line-height: 1.7;
  1084. margin-bottom: var(--space-md);
  1085. }
  1086. .loop-tags {
  1087. display: flex;
  1088. flex-wrap: wrap;
  1089. justify-content: flex-start;
  1090. gap: .3em;
  1091. }
  1092. .loop-tags span {
  1093. font-size: 11px;
  1094. padding: .2em .6em;
  1095. border-radius: var(--radius-full);
  1096. background: var(--step-bg);
  1097. color: var(--step-color);
  1098. font-weight: 500;
  1099. }
  1100. .loop-arrow {
  1101. font-size: 1.5rem;
  1102. color: var(--color-text-muted);
  1103. align-self: center;
  1104. flex-shrink: 0;
  1105. }
  1106. @media (max-width: 900px) {
  1107. .loop-flow {
  1108. flex-direction: column;
  1109. align-items: center;
  1110. }
  1111. .loop-arrow {
  1112. transform: rotate(90deg);
  1113. margin: 0;
  1114. }
  1115. }
  1116. /* ----------------------------------------------------------
  1117. 12. AI Technology Section
  1118. ---------------------------------------------------------- */
  1119. .section-ai-tech {
  1120. background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-section-alt) 100%);
  1121. }
  1122. .ai-grid {
  1123. display: grid;
  1124. grid-template-columns: repeat(3, 1fr);
  1125. gap: var(--space-xl);
  1126. max-width: 1000px;
  1127. margin: 0 auto;
  1128. }
  1129. .ai-card {
  1130. background: var(--bg-surface);
  1131. border-radius: var(--radius-lg);
  1132. padding: var(--space-2xl);
  1133. border: 1px solid var(--color-border-light);
  1134. transition: all var(--transition-normal);
  1135. position: relative;
  1136. overflow: hidden;
  1137. }
  1138. .ai-card::before {
  1139. content: '';
  1140. position: absolute;
  1141. top: 0;
  1142. left: 0;
  1143. right: 0;
  1144. height: 3px;
  1145. background: var(--ai-color, var(--color-primary));
  1146. opacity: .4;
  1147. transition: opacity var(--transition-normal);
  1148. }
  1149. .ai-card:hover {
  1150. transform: translateY(-4px);
  1151. box-shadow: var(--shadow-md);
  1152. border-color: transparent;
  1153. }
  1154. .ai-card:hover::before {
  1155. opacity: 1;
  1156. }
  1157. .ai-card-header {
  1158. display: flex;
  1159. align-items: center;
  1160. gap: var(--space-sm);
  1161. margin-bottom: var(--space-md);
  1162. }
  1163. .ai-card-icon {
  1164. width: 48px;
  1165. height: 48px;
  1166. display: flex;
  1167. align-items: center;
  1168. justify-content: center;
  1169. border-radius: var(--radius-md);
  1170. background: var(--ai-bg, var(--color-primary-light));
  1171. flex-shrink: 0;
  1172. }
  1173. .ai-card-badge {
  1174. display: inline-block;
  1175. padding: 2px 10px;
  1176. font-size: var(--font-size-tiny);
  1177. font-weight: 600;
  1178. color: var(--ai-color, var(--color-primary));
  1179. background: color-mix(in srgb, var(--ai-color, var(--color-primary)) 10%, white);
  1180. border-radius: 100px;
  1181. white-space: nowrap;
  1182. }
  1183. .ai-card h3 {
  1184. font-size: 1.05rem;
  1185. font-weight: 700;
  1186. color: var(--color-text-primary);
  1187. margin-bottom: var(--space-sm);
  1188. line-height: 1.4;
  1189. }
  1190. .ai-card p {
  1191. font-size: var(--font-size-small);
  1192. color: var(--color-text-secondary);
  1193. line-height: 1.8;
  1194. margin: 0;
  1195. }
  1196. @media (max-width: 900px) {
  1197. .ai-grid {
  1198. grid-template-columns: repeat(2, 1fr);
  1199. }
  1200. }
  1201. @media (max-width: 600px) {
  1202. .ai-grid {
  1203. grid-template-columns: 1fr;
  1204. }
  1205. }
  1206. /* ----------------------------------------------------------
  1207. 13. Roles Section
  1208. ---------------------------------------------------------- */
  1209. .section-roles {
  1210. background: var(--bg-surface);
  1211. }
  1212. .roles-flow {
  1213. display: flex;
  1214. align-items: stretch;
  1215. justify-content: center;
  1216. gap: var(--space-xl);
  1217. max-width: 960px;
  1218. margin: 0 auto;
  1219. }
  1220. .role-card {
  1221. flex: 1;
  1222. background: var(--bg-surface);
  1223. border: 1px solid var(--color-border-light);
  1224. border-radius: var(--radius-lg);
  1225. padding: var(--space-xl);
  1226. text-align: center;
  1227. position: relative;
  1228. transition: all var(--transition-normal);
  1229. }
  1230. .role-card:hover {
  1231. transform: translateY(-4px);
  1232. box-shadow: var(--shadow-md);
  1233. }
  1234. .role-badge {
  1235. display: inline-block;
  1236. font-size: var(--font-size-tiny);
  1237. font-weight: 600;
  1238. padding: .25em 1em;
  1239. border-radius: var(--radius-full);
  1240. margin-bottom: var(--space-md);
  1241. }
  1242. .role-parent .role-badge { background: var(--color-primary-light); color: var(--color-primary); }
  1243. .role-teacher .role-badge { background: #F0F7FF; color: #3B82F6; }
  1244. .role-admin .role-badge { background: #EEF0FF; color: #6366F1; }
  1245. .role-member-tag {
  1246. display: inline-block;
  1247. font-size: .7rem;
  1248. font-weight: 500;
  1249. color: var(--color-primary);
  1250. background: var(--color-primary-light);
  1251. padding: .15em .7em;
  1252. border-radius: var(--radius-full);
  1253. vertical-align: middle;
  1254. margin-left: .4em;
  1255. }
  1256. .role-icon {
  1257. margin-bottom: var(--space-md);
  1258. }
  1259. .role-card h3 {
  1260. font-size: var(--font-size-h3);
  1261. font-weight: 700;
  1262. margin-bottom: var(--space-sm);
  1263. }
  1264. .role-card > p {
  1265. font-size: var(--font-size-small);
  1266. color: var(--color-text-secondary);
  1267. line-height: 1.7;
  1268. margin-bottom: var(--space-md);
  1269. }
  1270. .role-perms {
  1271. text-align: left;
  1272. }
  1273. .role-perms li {
  1274. font-size: var(--font-size-tiny);
  1275. color: var(--color-text-secondary);
  1276. padding: .35em 0;
  1277. display: flex;
  1278. align-items: flex-start;
  1279. gap: var(--space-xs);
  1280. }
  1281. .role-perms li::before {
  1282. content: '';
  1283. width: 5px;
  1284. height: 5px;
  1285. border-radius: 50%;
  1286. background: var(--color-primary);
  1287. flex-shrink: 0;
  1288. margin-top: 7px;
  1289. }
  1290. .role-teacher .role-perms li::before { background: #3B82F6; }
  1291. .role-admin .role-perms li::before { background: #6366F1; }
  1292. /* 客户角色 — 小程序二维码 */
  1293. .role-qr {
  1294. margin-top: var(--space-lg);
  1295. padding-top: var(--space-md);
  1296. border-top: 1px solid var(--color-border-light);
  1297. display: flex;
  1298. flex-direction: column;
  1299. align-items: center;
  1300. gap: var(--space-xs);
  1301. }
  1302. .role-qr-code {
  1303. display: block;
  1304. width: 180px;
  1305. height: 180px;
  1306. border-radius: var(--radius-md);
  1307. box-shadow: 0 2px 8px rgba(0,0,0,.10);
  1308. transition: transform .3s ease, box-shadow .3s ease;
  1309. }
  1310. .role-qr-code:hover {
  1311. transform: scale(1.08);
  1312. box-shadow: 0 4px 16px rgba(0,0,0,.12);
  1313. }
  1314. .role-qr-label {
  1315. font-size: var(--font-size-tiny);
  1316. color: var(--color-text-secondary);
  1317. font-weight: 500;
  1318. letter-spacing: .05em;
  1319. }
  1320. .roles-connector {
  1321. display: flex;
  1322. flex-direction: column;
  1323. align-items: center;
  1324. gap: var(--space-xs);
  1325. color: var(--color-text-muted);
  1326. font-size: var(--font-size-tiny);
  1327. font-weight: 500;
  1328. flex-shrink: 0;
  1329. align-self: center;
  1330. }
  1331. .connector-arrow {
  1332. width: 2px;
  1333. height: 40px;
  1334. background: var(--color-border);
  1335. position: relative;
  1336. }
  1337. .connector-arrow::after {
  1338. content: '';
  1339. position: absolute;
  1340. bottom: -4px;
  1341. left: 50%;
  1342. transform: translateX(-50%);
  1343. border: 5px solid transparent;
  1344. border-top-color: var(--color-border);
  1345. }
  1346. /* ----------------------------------------------------------
  1347. 14. Contact Section
  1348. ---------------------------------------------------------- */
  1349. .section-contact {
  1350. background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-body) 100%);
  1351. }
  1352. .contact-grid {
  1353. display: grid;
  1354. grid-template-columns: 1fr 1fr;
  1355. gap: var(--space-3xl);
  1356. align-items: start;
  1357. max-width: 800px;
  1358. margin: 0 auto;
  1359. }
  1360. .contact-info {
  1361. display: flex;
  1362. flex-direction: column;
  1363. gap: var(--space-lg);
  1364. }
  1365. .contact-item {
  1366. display: flex;
  1367. align-items: flex-start;
  1368. gap: var(--space-md);
  1369. padding: var(--space-lg);
  1370. background: var(--bg-surface);
  1371. border-radius: var(--radius-md);
  1372. border: 1px solid var(--color-border-light);
  1373. }
  1374. .contact-item svg {
  1375. flex-shrink: 0;
  1376. margin-top: 2px;
  1377. }
  1378. .contact-item strong {
  1379. display: block;
  1380. font-size: var(--font-size-tiny);
  1381. color: var(--color-text-muted);
  1382. font-weight: 500;
  1383. text-transform: uppercase;
  1384. letter-spacing: .04em;
  1385. margin-bottom: 2px;
  1386. }
  1387. .contact-item span {
  1388. font-weight: 600;
  1389. color: var(--color-text-primary);
  1390. }
  1391. .contact-cta {
  1392. text-align: center;
  1393. padding: var(--space-2xl);
  1394. background: var(--bg-surface);
  1395. border-radius: var(--radius-lg);
  1396. border: 1px solid var(--color-border-light);
  1397. }
  1398. .contact-cta > p {
  1399. font-size: var(--font-size-h3);
  1400. font-weight: 700;
  1401. margin-bottom: var(--space-xs);
  1402. }
  1403. .cta-sub {
  1404. font-size: var(--font-size-small) !important;
  1405. font-weight: 400 !important;
  1406. color: var(--color-text-secondary);
  1407. margin-bottom: var(--space-xl) !important;
  1408. }
  1409. .cta-cards {
  1410. display: grid;
  1411. grid-template-columns: repeat(3, 1fr);
  1412. gap: var(--space-sm);
  1413. }
  1414. .cta-card {
  1415. display: flex;
  1416. flex-direction: column;
  1417. align-items: center;
  1418. gap: var(--space-xs);
  1419. padding: var(--space-md);
  1420. background: var(--bg-body);
  1421. border-radius: var(--radius-md);
  1422. font-size: var(--font-size-tiny);
  1423. font-weight: 600;
  1424. border: 1px solid var(--color-border-light);
  1425. transition: all var(--transition-fast);
  1426. }
  1427. .cta-card:hover {
  1428. border-color: var(--color-primary);
  1429. background: var(--color-primary-light);
  1430. }
  1431. .cta-card-icon {
  1432. font-size: 1.5rem;
  1433. }
  1434. .cta-card-desc {
  1435. font-weight: 400;
  1436. color: var(--color-text-muted);
  1437. font-size: var(--font-size-tiny);
  1438. }
  1439. .contact-qr img {
  1440. width: 200px;
  1441. height: auto;
  1442. border-radius: var(--radius-md);
  1443. display: block;
  1444. margin: 0 auto;
  1445. }
  1446. .contact-qr span {
  1447. display: block;
  1448. margin-top: var(--space-sm);
  1449. font-size: var(--font-size-tiny);
  1450. color: var(--color-text-muted);
  1451. }
  1452. @media (max-width: 768px) {
  1453. .contact-qr img {
  1454. width: 160px;
  1455. }
  1456. }
  1457. /* Testimonials Section */
  1458. .section-testimonials { background: var(--bg-section-alt); }
  1459. .testimonials-grid {
  1460. display: grid;
  1461. grid-template-columns: repeat(3, 1fr);
  1462. gap: var(--space-lg);
  1463. max-width: 960px;
  1464. margin: 0 auto;
  1465. }
  1466. .testimonial-card {
  1467. background: var(--bg-surface);
  1468. border: 1px solid var(--color-border-light);
  1469. border-radius: var(--radius-lg);
  1470. padding: var(--space-xl);
  1471. border-left: 4px solid var(--color-primary);
  1472. transition: all var(--transition-normal);
  1473. }
  1474. .testimonial-card:hover {
  1475. transform: translateY(-4px);
  1476. box-shadow: var(--shadow-md);
  1477. border-color: transparent;
  1478. border-left-color: var(--color-primary);
  1479. }
  1480. .testimonial-stars { display: flex; gap: 2px; margin-bottom: var(--space-md); }
  1481. .testimonial-text {
  1482. font-size: var(--font-size-small);
  1483. color: var(--color-text-secondary);
  1484. line-height: 1.8;
  1485. font-style: italic;
  1486. margin-bottom: var(--space-lg);
  1487. }
  1488. .testimonial-author {
  1489. border-top: 1px solid var(--color-border-light);
  1490. padding-top: var(--space-md);
  1491. }
  1492. .testimonial-name { font-size: var(--font-size-tiny); font-weight: 600; color: var(--color-text-primary); }
  1493. @media (max-width: 900px) { .testimonials-grid { grid-template-columns: repeat(2, 1fr); } }
  1494. @media (max-width: 600px) { .testimonials-grid { grid-template-columns: 1fr; } }
  1495. /* ----------------------------------------------------------
  1496. 14.5. FAQ Section
  1497. ---------------------------------------------------------- */
  1498. .section-faq {
  1499. background: var(--bg-section-alt);
  1500. }
  1501. .faq-list {
  1502. max-width: 800px;
  1503. margin: 0 auto;
  1504. display: flex;
  1505. flex-direction: column;
  1506. gap: var(--space-md);
  1507. }
  1508. .faq-item {
  1509. background: var(--bg-surface);
  1510. border: 1px solid var(--color-border-light);
  1511. border-radius: var(--radius-md);
  1512. overflow: hidden;
  1513. transition: all var(--transition-normal);
  1514. }
  1515. .faq-item:hover {
  1516. border-color: var(--color-primary);
  1517. box-shadow: var(--shadow-sm);
  1518. }
  1519. .faq-item[open] {
  1520. border-color: var(--color-primary);
  1521. box-shadow: var(--shadow-md);
  1522. }
  1523. .faq-item > summary {
  1524. padding: var(--space-lg) var(--space-xl);
  1525. font-weight: 600;
  1526. font-size: var(--font-size-body);
  1527. color: var(--color-text-primary);
  1528. cursor: pointer;
  1529. list-style: none;
  1530. display: flex;
  1531. align-items: center;
  1532. justify-content: space-between;
  1533. gap: var(--space-md);
  1534. transition: color var(--transition-fast);
  1535. }
  1536. .faq-item > summary::-webkit-details-marker {
  1537. display: none;
  1538. }
  1539. .faq-item > summary::after {
  1540. content: '+';
  1541. font-size: 1.25rem;
  1542. font-weight: 700;
  1543. color: var(--color-primary);
  1544. flex-shrink: 0;
  1545. transition: transform var(--transition-fast);
  1546. }
  1547. .faq-item[open] > summary::after {
  1548. content: '−';
  1549. }
  1550. .faq-item > summary:hover {
  1551. color: var(--color-primary);
  1552. }
  1553. .faq-answer {
  1554. padding: 0 var(--space-xl) var(--space-lg);
  1555. font-size: var(--font-size-small);
  1556. color: var(--color-text-secondary);
  1557. line-height: 1.8;
  1558. border-top: 1px solid var(--color-border-light);
  1559. padding-top: var(--space-md);
  1560. }
  1561. @media (max-width: 768px) {
  1562. .faq-item > summary {
  1563. padding: var(--space-md) var(--space-lg);
  1564. font-size: var(--font-size-small);
  1565. }
  1566. .faq-answer {
  1567. padding: 0 var(--space-lg) var(--space-md);
  1568. font-size: var(--font-size-tiny);
  1569. }
  1570. }
  1571. /* ----------------------------------------------------------
  1572. 15. Footer
  1573. ---------------------------------------------------------- */
  1574. .site-footer {
  1575. background: var(--color-text-primary);
  1576. color: #fff;
  1577. padding: var(--space-3xl) 0 0;
  1578. }
  1579. .footer-inner {
  1580. display: flex;
  1581. justify-content: space-between;
  1582. gap: var(--space-3xl);
  1583. padding-bottom: var(--space-2xl);
  1584. border-bottom: 1px solid rgba(255, 255, 255, .1);
  1585. }
  1586. .footer-brand .logo-text {
  1587. color: #fff;
  1588. font-size: 1.25rem;
  1589. font-weight: 700;
  1590. }
  1591. .footer-brand .logo-tag {
  1592. color: var(--color-primary);
  1593. font-weight: 600;
  1594. font-size: 1.25rem;
  1595. }
  1596. .footer-brand p {
  1597. color: rgba(255, 255, 255, .6);
  1598. font-size: var(--font-size-small);
  1599. margin-top: var(--space-sm);
  1600. max-width: 300px;
  1601. line-height: 1.7;
  1602. }
  1603. .footer-links {
  1604. display: flex;
  1605. gap: var(--space-3xl);
  1606. }
  1607. .footer-col h4 {
  1608. font-size: var(--font-size-tiny);
  1609. font-weight: 600;
  1610. text-transform: uppercase;
  1611. letter-spacing: .06em;
  1612. color: rgba(255, 255, 255, .5);
  1613. margin-bottom: var(--space-md);
  1614. }
  1615. .footer-col ul li {
  1616. margin-bottom: var(--space-sm);
  1617. }
  1618. .footer-col ul li a {
  1619. font-size: var(--font-size-small);
  1620. color: rgba(255, 255, 255, .7);
  1621. transition: color var(--transition-fast);
  1622. }
  1623. .footer-col ul li a:hover {
  1624. color: var(--color-primary);
  1625. }
  1626. .footer-bottom {
  1627. text-align: center;
  1628. padding: var(--space-lg) 0;
  1629. }
  1630. .footer-bottom p {
  1631. font-size: var(--font-size-tiny);
  1632. color: rgba(255, 255, 255, .4);
  1633. }
  1634. /* ----------------------------------------------------------
  1635. 16. Scroll Animations (AOS-like)
  1636. ---------------------------------------------------------- */
  1637. .reveal {
  1638. opacity: 0;
  1639. transform: translateY(30px);
  1640. transition: opacity .6s ease, transform .6s cubic-bezier(.4, 0, .2, 1);
  1641. }
  1642. .reveal.visible {
  1643. opacity: 1;
  1644. transform: translateY(0);
  1645. }
  1646. /* ----------------------------------------------------------
  1647. 17. Responsive - Tablet
  1648. ---------------------------------------------------------- */
  1649. @media (max-width: 1024px) {
  1650. .hero-inner {
  1651. grid-template-columns: 1fr;
  1652. text-align: center;
  1653. }
  1654. .hero-desc {
  1655. margin-left: auto;
  1656. margin-right: auto;
  1657. }
  1658. .hero-actions {
  1659. justify-content: center;
  1660. }
  1661. .hero-visual {
  1662. display: none;
  1663. }
  1664. .dimension-grid > .dimension-card {
  1665. width: calc((100% - var(--space-xl)) / 2);
  1666. }
  1667. .features-grid {
  1668. grid-template-columns: repeat(2, 1fr);
  1669. }
  1670. .roles-flow {
  1671. gap: var(--space-md);
  1672. }
  1673. .role-card {
  1674. padding: var(--space-lg) var(--space-md);
  1675. }
  1676. .roles-connector {
  1677. flex-direction: row;
  1678. gap: 0;
  1679. }
  1680. .connector-arrow {
  1681. width: 40px;
  1682. height: 2px;
  1683. }
  1684. .connector-arrow::after {
  1685. top: 50%;
  1686. left: auto;
  1687. right: -4px;
  1688. bottom: auto;
  1689. transform: translateY(-50%);
  1690. border: 5px solid transparent;
  1691. border-left-color: var(--color-border);
  1692. border-top-color: transparent;
  1693. }
  1694. .contact-grid {
  1695. grid-template-columns: 1fr;
  1696. }
  1697. .product-stats {
  1698. grid-template-columns: repeat(2, 1fr);
  1699. }
  1700. }
  1701. /* ----------------------------------------------------------
  1702. 18. Responsive - Mobile
  1703. ---------------------------------------------------------- */
  1704. @media (max-width: 768px) {
  1705. :root {
  1706. --space-section: 3.5rem;
  1707. --header-height: 56px;
  1708. }
  1709. .container {
  1710. padding: 0 var(--space-md);
  1711. }
  1712. /* Mobile Nav */
  1713. .nav-toggle {
  1714. display: flex;
  1715. }
  1716. .nav {
  1717. position: fixed;
  1718. top: var(--header-height);
  1719. left: 0;
  1720. right: 0;
  1721. background: rgba(245, 250, 254, .97);
  1722. backdrop-filter: blur(16px);
  1723. -webkit-backdrop-filter: blur(16px);
  1724. border-bottom: 1px solid var(--color-border-light);
  1725. padding: var(--space-lg);
  1726. transform: translateY(-110%);
  1727. opacity: 0;
  1728. transition: all var(--transition-normal);
  1729. pointer-events: none;
  1730. }
  1731. .nav.open {
  1732. transform: translateY(0);
  1733. opacity: 1;
  1734. pointer-events: auto;
  1735. }
  1736. .nav-list {
  1737. flex-direction: column;
  1738. gap: 0;
  1739. }
  1740. .nav-link {
  1741. display: block;
  1742. padding: var(--space-md) 0;
  1743. border-bottom: 1px solid var(--color-border-light);
  1744. width: 100%;
  1745. }
  1746. .nav-link::after {
  1747. display: none;
  1748. }
  1749. /* Hero */
  1750. .hero-title {
  1751. font-size: clamp(1.75rem, 7vw, 2.5rem);
  1752. }
  1753. .hero-desc {
  1754. font-size: var(--font-size-small);
  1755. }
  1756. .hero-actions {
  1757. flex-direction: column;
  1758. align-items: stretch;
  1759. }
  1760. .btn {
  1761. justify-content: center;
  1762. }
  1763. /* Grids */
  1764. .about-grid {
  1765. grid-template-columns: 1fr;
  1766. }
  1767. .dimension-grid > .dimension-card {
  1768. width: 100%;
  1769. }
  1770. .features-grid {
  1771. grid-template-columns: 1fr;
  1772. }
  1773. .contact-grid {
  1774. grid-template-columns: 1fr;
  1775. }
  1776. .product-stats {
  1777. grid-template-columns: repeat(2, 1fr);
  1778. }
  1779. .cta-cards {
  1780. grid-template-columns: 1fr;
  1781. }
  1782. .footer-inner {
  1783. flex-direction: column;
  1784. gap: var(--space-xl);
  1785. }
  1786. .footer-links {
  1787. gap: var(--space-xl);
  1788. }
  1789. .product-quote {
  1790. padding: var(--space-md) var(--space-lg);
  1791. }
  1792. .product-quote p {
  1793. font-size: var(--font-size-small);
  1794. }
  1795. .stat-num {
  1796. font-size: 1.5rem;
  1797. }
  1798. /* Roles row — tighter spacing */
  1799. .roles-flow {
  1800. gap: var(--space-sm);
  1801. }
  1802. .role-card {
  1803. padding: var(--space-md);
  1804. }
  1805. .role-card h3 {
  1806. font-size: calc(var(--font-size-h3) * 0.85);
  1807. }
  1808. .role-perms li {
  1809. font-size: calc(var(--font-size-tiny) * 0.9);
  1810. }
  1811. .role-qr-code {
  1812. width: 150px;
  1813. height: 150px;
  1814. }
  1815. }
  1816. @media (max-width: 480px) {
  1817. .product-stats {
  1818. grid-template-columns: repeat(2, 1fr);
  1819. gap: var(--space-sm);
  1820. }
  1821. .stat {
  1822. padding: var(--space-md);
  1823. }
  1824. .roles-flow {
  1825. flex-direction: column;
  1826. gap: var(--space-md);
  1827. }
  1828. .roles-connector {
  1829. flex-direction: column;
  1830. gap: var(--space-xs);
  1831. }
  1832. .connector-arrow {
  1833. width: 2px;
  1834. height: 40px;
  1835. }
  1836. .connector-arrow::after {
  1837. top: auto;
  1838. left: 50%;
  1839. right: auto;
  1840. bottom: -4px;
  1841. transform: translateX(-50%);
  1842. border: 5px solid transparent;
  1843. border-top-color: var(--color-border);
  1844. border-left-color: transparent;
  1845. }
  1846. .footer-links {
  1847. flex-direction: column;
  1848. gap: var(--space-lg);
  1849. }
  1850. }
  1851. /* ----------------------------------------------------------
  1852. 19. Logo
  1853. ---------------------------------------------------------- */
  1854. .logo-img {
  1855. display: block;
  1856. flex-shrink: 0;
  1857. border-radius: 8px;
  1858. width: 36px;
  1859. height: 36px;
  1860. object-fit: contain;
  1861. }
  1862. .footer-logo-img {
  1863. display: block;
  1864. flex-shrink: 0;
  1865. border-radius: 10px;
  1866. margin-bottom: var(--space-xs);
  1867. object-fit: contain;
  1868. }
  1869. /* ----------------------------------------------------------
  1870. 20. Wuxing Philosophy Section
  1871. ---------------------------------------------------------- */
  1872. .section-wuxing {
  1873. background: linear-gradient(180deg, var(--bg-body) 0%, var(--bg-surface) 100%);
  1874. }
  1875. /* --- Diagram --- */
  1876. .wuxing-diagram {
  1877. position: relative;
  1878. width: 100%;
  1879. max-width: 480px;
  1880. aspect-ratio: 1;
  1881. margin: 0 auto var(--space-3xl);
  1882. }
  1883. .wuxing-diagram canvas {
  1884. display: block;
  1885. width: 100%;
  1886. height: 100%;
  1887. }
  1888. .wuxing-diagram .taiji-center {
  1889. position: absolute;
  1890. top: 50%;
  1891. left: 50%;
  1892. transform: translate(-50%, -50%);
  1893. pointer-events: none;
  1894. z-index: 1;
  1895. color: var(--color-text-secondary);
  1896. }
  1897. .wuxing-diagram .taiji-svg {
  1898. display: block;
  1899. animation: taiji-rotate 24s linear infinite;
  1900. }
  1901. @keyframes taiji-rotate {
  1902. to { transform: rotate(360deg); }
  1903. }
  1904. /* --- Explanation Cards --- */
  1905. .wuxing-explanations {
  1906. max-width: 960px;
  1907. margin: 0 auto;
  1908. }
  1909. .we-section {
  1910. margin-bottom: var(--space-2xl);
  1911. }
  1912. .we-section:last-child {
  1913. margin-bottom: 0;
  1914. }
  1915. .we-title {
  1916. font-size: var(--font-size-h3);
  1917. font-weight: 700;
  1918. margin-bottom: var(--space-xs);
  1919. }
  1920. .we-sheng {
  1921. color: var(--color-secondary);
  1922. }
  1923. .we-ke {
  1924. color: var(--color-primary);
  1925. }
  1926. .we-subtitle {
  1927. font-size: var(--font-size-small);
  1928. color: var(--color-text-secondary);
  1929. margin-bottom: var(--space-lg);
  1930. }
  1931. .we-grid {
  1932. display: grid;
  1933. grid-template-columns: repeat(5, 1fr);
  1934. gap: var(--space-md);
  1935. }
  1936. .wuxing-card {
  1937. background: var(--bg-surface);
  1938. border: 1px solid var(--color-border-light);
  1939. border-radius: var(--radius-md);
  1940. padding: var(--space-lg);
  1941. text-align: center;
  1942. transition: all var(--transition-normal);
  1943. position: relative;
  1944. overflow: hidden;
  1945. }
  1946. .wuxing-card::before {
  1947. content: '';
  1948. position: absolute;
  1949. top: 0;
  1950. left: 0;
  1951. right: 0;
  1952. height: 3px;
  1953. background: var(--wc-color);
  1954. opacity: .5;
  1955. transition: opacity var(--transition-normal);
  1956. }
  1957. .wuxing-card:hover {
  1958. transform: translateY(-4px);
  1959. box-shadow: var(--shadow-md);
  1960. border-color: transparent;
  1961. }
  1962. .wuxing-card:hover::before {
  1963. opacity: 1;
  1964. }
  1965. .wc-arrow {
  1966. display: inline-block;
  1967. font-size: var(--font-size-tiny);
  1968. font-weight: 700;
  1969. color: var(--wc-color);
  1970. padding: .15em .6em;
  1971. border-radius: var(--radius-full);
  1972. background: color-mix(in srgb, var(--wc-color) 10%, white);
  1973. margin-bottom: var(--space-sm);
  1974. }
  1975. .wuxing-card h4 {
  1976. font-size: 1rem;
  1977. font-weight: 700;
  1978. margin-bottom: var(--space-xs);
  1979. color: var(--color-text-primary);
  1980. }
  1981. .wuxing-card p {
  1982. font-size: var(--font-size-tiny);
  1983. color: var(--color-text-secondary);
  1984. line-height: 1.6;
  1985. }
  1986. @media (max-width: 1024px) {
  1987. .we-grid {
  1988. grid-template-columns: repeat(3, 1fr);
  1989. }
  1990. }
  1991. @media (max-width: 600px) {
  1992. .we-grid {
  1993. grid-template-columns: repeat(2, 1fr);
  1994. }
  1995. }
  1996. @media (max-width: 480px) {
  1997. .we-grid {
  1998. grid-template-columns: 1fr;
  1999. }
  2000. }
  2001. /* Mobile: prevent dimension title wrapping */
  2002. @media (max-width: 600px) {
  2003. .dim-title {
  2004. font-size: 1rem;
  2005. flex-wrap: wrap;
  2006. }
  2007. .dim-emoji {
  2008. font-size: 1.2rem;
  2009. }
  2010. .dim-element {
  2011. font-size: 9px;
  2012. }
  2013. }
  2014. /* ----------------------------------------------------------
  2015. 21. Dimension Energy Tips
  2016. ---------------------------------------------------------- */
  2017. .dim-energy {
  2018. margin-top: var(--space-md);
  2019. padding-top: var(--space-md);
  2020. border-top: 1px dashed var(--color-border-light);
  2021. }
  2022. .dim-energy h4 {
  2023. font-size: var(--font-size-small);
  2024. font-weight: 700;
  2025. color: var(--dim-color);
  2026. margin-bottom: var(--space-sm);
  2027. }
  2028. .dim-energy ul {
  2029. display: flex;
  2030. flex-direction: column;
  2031. gap: var(--space-xs);
  2032. }
  2033. .dim-energy ul li {
  2034. font-size: var(--font-size-tiny);
  2035. color: var(--color-text-secondary);
  2036. padding: .25em 0;
  2037. display: flex;
  2038. align-items: center;
  2039. gap: var(--space-xs);
  2040. }
  2041. .dim-energy ul li::before {
  2042. content: '✦';
  2043. color: var(--dim-color);
  2044. font-size: 10px;
  2045. flex-shrink: 0;
  2046. }
  2047. /* Dim element badge */
  2048. .dim-element {
  2049. display: inline-block;
  2050. font-size: 10px;
  2051. font-weight: 600;
  2052. color: #fff;
  2053. padding: .15em .6em;
  2054. border-radius: var(--radius-full);
  2055. margin-left: var(--space-xs);
  2056. vertical-align: middle;
  2057. letter-spacing: .04em;
  2058. white-space: nowrap;
  2059. }
  2060. /* Prevent role name (家长/孩子/成长规划师) from breaking across lines */
  2061. .role-perms li strong {
  2062. white-space: nowrap;
  2063. }
  2064. /* ----------------------------------------------------------
  2065. 22. Product Feature Bullet Lists
  2066. ---------------------------------------------------------- */
  2067. .product-summary {
  2068. font-size: var(--font-size-small);
  2069. color: var(--color-text-secondary);
  2070. line-height: 1.6;
  2071. margin-bottom: var(--space-sm);
  2072. }
  2073. .product-features {
  2074. list-style: none;
  2075. padding: 0;
  2076. margin: 0 0 var(--space-md);
  2077. }
  2078. .product-features li {
  2079. position: relative;
  2080. padding-left: 1.25em;
  2081. font-size: var(--font-size-small);
  2082. color: var(--color-text-secondary);
  2083. line-height: 1.8;
  2084. }
  2085. .product-features li::before {
  2086. content: '·';
  2087. position: absolute;
  2088. left: .35em;
  2089. color: var(--product-color, var(--color-primary));
  2090. font-weight: 700;
  2091. font-size: 1.1em;
  2092. }
  2093. /* ----------------------------------------------------------
  2094. 23. Floating CTA Button
  2095. ---------------------------------------------------------- */
  2096. .float-cta {
  2097. position: fixed;
  2098. bottom: 2rem;
  2099. right: 2rem;
  2100. z-index: 999;
  2101. display: flex;
  2102. flex-direction: column;
  2103. align-items: flex-end;
  2104. gap: var(--space-sm);
  2105. }
  2106. .float-cta-btn {
  2107. width: 52px;
  2108. height: 52px;
  2109. border-radius: 50%;
  2110. border: none;
  2111. background: var(--color-primary);
  2112. color: #fff;
  2113. cursor: pointer;
  2114. display: flex;
  2115. align-items: center;
  2116. justify-content: center;
  2117. box-shadow: 0 4px 16px rgba(74, 155, 215, .35);
  2118. transition: all var(--transition-fast);
  2119. position: relative;
  2120. }
  2121. .float-cta-btn:hover {
  2122. background: var(--color-primary-hover);
  2123. transform: scale(1.08);
  2124. box-shadow: 0 6px 24px rgba(74, 155, 215, .45);
  2125. }
  2126. .float-cta-btn:active {
  2127. transform: scale(.95);
  2128. }
  2129. .float-cta-popup {
  2130. position: absolute;
  2131. bottom: 64px;
  2132. right: 0;
  2133. opacity: 0;
  2134. visibility: hidden;
  2135. transform: translateY(8px) scale(.95);
  2136. transition: all var(--transition-normal);
  2137. transform-origin: bottom right;
  2138. }
  2139. .float-cta-popup.open {
  2140. opacity: 1;
  2141. visibility: visible;
  2142. transform: translateY(0) scale(1);
  2143. }
  2144. .float-cta-popup-inner {
  2145. background: var(--bg-surface);
  2146. border-radius: var(--radius-lg);
  2147. box-shadow: var(--shadow-xl);
  2148. padding: var(--space-lg);
  2149. text-align: center;
  2150. min-width: 200px;
  2151. position: relative;
  2152. }
  2153. .float-cta-close {
  2154. position: absolute;
  2155. top: 6px;
  2156. right: 10px;
  2157. border: none;
  2158. background: none;
  2159. font-size: 1.4rem;
  2160. color: var(--color-text-muted);
  2161. cursor: pointer;
  2162. line-height: 1;
  2163. padding: 4px;
  2164. }
  2165. .float-cta-close:hover {
  2166. color: var(--color-text-primary);
  2167. }
  2168. .float-cta-title {
  2169. font-size: var(--font-size-small);
  2170. font-weight: 600;
  2171. color: var(--color-text-primary);
  2172. margin-bottom: var(--space-sm);
  2173. }
  2174. .float-cta-qr {
  2175. margin: 0 auto var(--space-sm);
  2176. width: 72px;
  2177. height: 72px;
  2178. display: flex;
  2179. align-items: center;
  2180. justify-content: center;
  2181. background: var(--bg-body);
  2182. border-radius: var(--radius-sm);
  2183. }
  2184. .float-cta-tip {
  2185. font-size: var(--font-size-tiny);
  2186. color: var(--color-text-muted);
  2187. }
  2188. /* ----------------------------------------------------------
  2189. 24. Cookie Consent Banner
  2190. ---------------------------------------------------------- */
  2191. .cookie-consent {
  2192. position: fixed;
  2193. bottom: 0;
  2194. left: 0;
  2195. right: 0;
  2196. background: var(--color-text-primary);
  2197. color: #fff;
  2198. padding: var(--space-md) var(--space-xl);
  2199. display: flex;
  2200. align-items: center;
  2201. justify-content: center;
  2202. gap: var(--space-lg);
  2203. z-index: 1000;
  2204. transform: translateY(100%);
  2205. transition: transform var(--transition-normal);
  2206. flex-wrap: wrap;
  2207. }
  2208. .cookie-consent.visible {
  2209. transform: translateY(0);
  2210. }
  2211. .cookie-consent-text {
  2212. font-size: var(--font-size-small);
  2213. color: rgba(255, 255, 255, .85);
  2214. line-height: 1.5;
  2215. }
  2216. .cookie-consent-text a {
  2217. color: var(--color-accent);
  2218. text-decoration: underline;
  2219. }
  2220. .cookie-consent-btn {
  2221. background: var(--color-primary);
  2222. color: #fff;
  2223. border: none;
  2224. border-radius: var(--radius-full);
  2225. padding: .5em 1.5em;
  2226. font-size: var(--font-size-small);
  2227. cursor: pointer;
  2228. white-space: nowrap;
  2229. transition: background var(--transition-fast);
  2230. flex-shrink: 0;
  2231. }
  2232. .cookie-consent-btn:hover {
  2233. background: var(--color-primary-hover);
  2234. }
  2235. /* ----------------------------------------------------------
  2236. 25. Footer Enhancements
  2237. ---------------------------------------------------------- */
  2238. .footer-contact li {
  2239. font-size: var(--font-size-small);
  2240. color: var(--color-text-secondary);
  2241. line-height: 1.8;
  2242. }
  2243. .footer-legal {
  2244. margin-top: var(--space-xs);
  2245. font-size: var(--font-size-tiny);
  2246. color: var(--color-text-muted);
  2247. display: flex;
  2248. gap: var(--space-md);
  2249. justify-content: center;
  2250. flex-wrap: wrap;
  2251. }
  2252. .footer-legal a {
  2253. color: var(--color-text-muted);
  2254. text-decoration: underline;
  2255. }
  2256. .footer-legal a:hover {
  2257. color: var(--color-primary);
  2258. }
  2259. /* Responsive footer bottom on small screens */
  2260. @media (max-width: 480px) {
  2261. .footer-legal {
  2262. flex-direction: column;
  2263. gap: var(--space-xs);
  2264. align-items: center;
  2265. }
  2266. .float-cta {
  2267. bottom: 1rem;
  2268. right: 1rem;
  2269. }
  2270. .float-cta-btn {
  2271. width: 46px;
  2272. height: 46px;
  2273. }
  2274. .cookie-consent {
  2275. padding: var(--space-sm) var(--space-md);
  2276. flex-direction: column;
  2277. text-align: center;
  2278. }
  2279. }
  2280. /* ----------------------------------------------------------
  2281. 26. Knowledge Base Section
  2282. ---------------------------------------------------------- */
  2283. .section-knowledge {
  2284. background: var(--bg-section-alt);
  2285. }
  2286. .knowledge-grid {
  2287. display: grid;
  2288. grid-template-columns: repeat(2, 1fr);
  2289. gap: var(--space-xl);
  2290. margin-top: var(--space-xl);
  2291. }
  2292. .knowledge-card {
  2293. background: var(--bg-surface);
  2294. border-radius: var(--radius-lg);
  2295. overflow: hidden;
  2296. box-shadow: var(--shadow-sm);
  2297. transition: all var(--transition-normal);
  2298. display: flex;
  2299. flex-direction: column;
  2300. }
  2301. .knowledge-card:hover {
  2302. box-shadow: var(--shadow-md);
  2303. transform: translateY(-3px);
  2304. }
  2305. .knowledge-card-cover {
  2306. width: 100%;
  2307. height: 180px;
  2308. object-fit: cover;
  2309. background: var(--color-primary-light);
  2310. display: flex;
  2311. align-items: center;
  2312. justify-content: center;
  2313. color: var(--color-primary);
  2314. font-size: 2.5rem;
  2315. }
  2316. .knowledge-card-body {
  2317. padding: var(--space-lg);
  2318. flex: 1;
  2319. display: flex;
  2320. flex-direction: column;
  2321. }
  2322. .knowledge-card-category {
  2323. display: inline-block;
  2324. font-size: var(--font-size-tiny);
  2325. font-weight: 600;
  2326. color: var(--color-primary);
  2327. background: var(--color-primary-light);
  2328. padding: .2em .8em;
  2329. border-radius: var(--radius-full);
  2330. margin-bottom: var(--space-sm);
  2331. align-self: flex-start;
  2332. }
  2333. .knowledge-card-title {
  2334. font-size: 1.05rem;
  2335. font-weight: 700;
  2336. color: var(--color-text-primary);
  2337. line-height: 1.5;
  2338. margin-bottom: var(--space-sm);
  2339. display: -webkit-box;
  2340. -webkit-line-clamp: 2;
  2341. -webkit-box-orient: vertical;
  2342. overflow: hidden;
  2343. }
  2344. .knowledge-card-summary {
  2345. font-size: var(--font-size-small);
  2346. color: var(--color-text-secondary);
  2347. line-height: 1.7;
  2348. flex: 1;
  2349. display: -webkit-box;
  2350. -webkit-line-clamp: 3;
  2351. -webkit-box-orient: vertical;
  2352. overflow: hidden;
  2353. margin-bottom: var(--space-md);
  2354. }
  2355. .knowledge-card-meta {
  2356. font-size: var(--font-size-tiny);
  2357. color: var(--color-text-muted);
  2358. display: flex;
  2359. align-items: center;
  2360. gap: var(--space-md);
  2361. padding-top: var(--space-sm);
  2362. border-top: 1px solid var(--color-border-light);
  2363. }
  2364. .knowledge-card-meta .dimension-tag {
  2365. display: inline-block;
  2366. font-size: 10px;
  2367. font-weight: 600;
  2368. padding: .15em .5em;
  2369. border-radius: var(--radius-full);
  2370. color: #fff;
  2371. }
  2372. .knowledge-footer {
  2373. text-align: center;
  2374. margin-top: var(--space-2xl);
  2375. }
  2376. .knowledge-tip {
  2377. font-size: var(--font-size-small);
  2378. color: var(--color-text-muted);
  2379. }
  2380. .knowledge-tip strong {
  2381. color: var(--color-primary);
  2382. }
  2383. .knowledge-loading {
  2384. grid-column: 1 / -1;
  2385. text-align: center;
  2386. padding: var(--space-3xl) 0;
  2387. }
  2388. .knowledge-loading-text {
  2389. font-size: var(--font-size-small);
  2390. color: var(--color-text-muted);
  2391. }
  2392. .knowledge-error {
  2393. grid-column: 1 / -1;
  2394. text-align: center;
  2395. padding: var(--space-xl) 0;
  2396. color: var(--color-text-muted);
  2397. font-size: var(--font-size-small);
  2398. }
  2399. @media (max-width: 600px) {
  2400. .knowledge-grid {
  2401. grid-template-columns: 1fr;
  2402. }
  2403. .knowledge-card-cover {
  2404. height: 140px;
  2405. }
  2406. }
  2407. /* ====== Knowledge Page Styles ====== */
  2408. /* Nav active state */
  2409. .nav-link.active {
  2410. color: var(--color-primary) !important;
  2411. }
  2412. .nav-link.active::after {
  2413. width: 100% !important;
  2414. opacity: 1 !important;
  2415. }
  2416. /* Hero Section */
  2417. .k-hero {
  2418. min-height: 70vh;
  2419. display: flex;
  2420. align-items: center;
  2421. position: relative;
  2422. padding-top: var(--header-height);
  2423. overflow: hidden;
  2424. }
  2425. .k-hero-bg {
  2426. position: absolute;
  2427. inset: 0;
  2428. background:
  2429. radial-gradient(ellipse 80% 50% at 50% -10%, rgba(74, 155, 215, .08), transparent),
  2430. radial-gradient(ellipse 60% 40% at 80% 80%, rgba(16, 185, 129, .05), transparent);
  2431. pointer-events: none;
  2432. }
  2433. .k-hero-inner {
  2434. display: grid;
  2435. grid-template-columns: 1fr 1fr;
  2436. gap: var(--space-3xl);
  2437. align-items: center;
  2438. position: relative;
  2439. z-index: 1;
  2440. }
  2441. .k-hero-badge {
  2442. display: inline-block;
  2443. font-size: var(--font-size-tiny);
  2444. font-weight: 600;
  2445. letter-spacing: .06em;
  2446. color: var(--color-primary);
  2447. background: var(--color-primary-light);
  2448. padding: .4em 1.2em;
  2449. border-radius: var(--radius-full);
  2450. margin-bottom: var(--space-lg);
  2451. }
  2452. .k-hero-title {
  2453. font-size: 2.8rem;
  2454. font-weight: 800;
  2455. line-height: 1.15;
  2456. margin-bottom: var(--space-lg);
  2457. }
  2458. .k-hero-desc {
  2459. font-size: 1.0625rem;
  2460. color: var(--color-text-secondary);
  2461. line-height: 1.8;
  2462. margin-bottom: var(--space-xl);
  2463. max-width: 520px;
  2464. }
  2465. .k-hero-desc strong {
  2466. color: var(--color-text-primary);
  2467. }
  2468. .k-hero-actions {
  2469. display: flex;
  2470. gap: var(--space-md);
  2471. flex-wrap: wrap;
  2472. }
  2473. .k-hero-visual {
  2474. display: flex;
  2475. justify-content: center;
  2476. align-items: center;
  2477. }
  2478. /* Section Headers */
  2479. .k-section-header {
  2480. display: flex;
  2481. align-items: center;
  2482. gap: var(--space-xl);
  2483. margin-bottom: var(--space-2xl);
  2484. padding-bottom: var(--space-xl);
  2485. border-bottom: 2px solid var(--color-border-light);
  2486. }
  2487. .k-section-icon {
  2488. flex-shrink: 0;
  2489. width: 90px;
  2490. display: flex;
  2491. justify-content: center;
  2492. align-items: center;
  2493. }
  2494. .k-section-text {
  2495. flex: 1;
  2496. }
  2497. .k-section-tag {
  2498. display: inline-block;
  2499. font-size: .75rem;
  2500. font-weight: 700;
  2501. letter-spacing: .08em;
  2502. padding: .3em .8em;
  2503. border-radius: var(--radius-full);
  2504. margin-bottom: var(--space-sm);
  2505. }
  2506. .k-section-title {
  2507. font-size: var(--font-size-h2);
  2508. font-weight: 800;
  2509. line-height: 1.2;
  2510. margin-bottom: var(--space-xs);
  2511. }
  2512. .k-section-desc {
  2513. font-size: var(--font-size-small);
  2514. color: var(--color-text-secondary);
  2515. line-height: 1.7;
  2516. max-width: 640px;
  2517. }
  2518. .k-section-desc strong {
  2519. color: var(--color-text-primary);
  2520. }
  2521. /* Dimension section */
  2522. .k-dim-section {
  2523. margin-bottom: var(--space-2xl);
  2524. padding: var(--space-xl);
  2525. border-radius: var(--radius-lg);
  2526. background: var(--k-bg);
  2527. border: 1px solid var(--color-border-light);
  2528. }
  2529. .k-dim-header {
  2530. display: flex;
  2531. align-items: center;
  2532. gap: var(--space-sm);
  2533. margin-bottom: var(--space-lg);
  2534. padding-bottom: var(--space-md);
  2535. border-bottom: 1px solid var(--color-border-light);
  2536. }
  2537. .k-dim-dot {
  2538. width: 12px;
  2539. height: 12px;
  2540. border-radius: 50%;
  2541. flex-shrink: 0;
  2542. }
  2543. .k-dim-name {
  2544. font-size: 1.3rem;
  2545. font-weight: 800;
  2546. color: var(--k-color);
  2547. line-height: 1;
  2548. }
  2549. .k-dim-sub {
  2550. font-size: var(--font-size-small);
  2551. color: var(--color-text-muted);
  2552. margin-left: auto;
  2553. }
  2554. /* Article Grid */
  2555. .k-article-grid {
  2556. display: grid;
  2557. grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  2558. gap: var(--space-md);
  2559. }
  2560. .k-article-card {
  2561. display: flex;
  2562. align-items: center;
  2563. gap: var(--space-md);
  2564. padding: var(--space-md);
  2565. background: #fff;
  2566. border-radius: var(--radius-md);
  2567. text-decoration: none;
  2568. border: 1px solid var(--color-border-light);
  2569. transition: all var(--transition-fast);
  2570. }
  2571. .k-article-card:hover {
  2572. box-shadow: var(--shadow-md);
  2573. border-color: var(--k-color, var(--color-primary));
  2574. transform: translateY(-2px);
  2575. }
  2576. .k-article-icon {
  2577. font-size: 1.6rem;
  2578. flex-shrink: 0;
  2579. width: 40px;
  2580. text-align: center;
  2581. }
  2582. .k-article-info {
  2583. flex: 1;
  2584. min-width: 0;
  2585. }
  2586. .k-article-info h4 {
  2587. font-size: .9375rem;
  2588. font-weight: 700;
  2589. color: var(--color-text-primary);
  2590. margin-bottom: .25em;
  2591. line-height: 1.4;
  2592. }
  2593. .k-article-info p {
  2594. font-size: .8125rem;
  2595. color: var(--color-text-muted);
  2596. line-height: 1.5;
  2597. display: -webkit-box;
  2598. -webkit-line-clamp: 2;
  2599. -webkit-box-orient: vertical;
  2600. overflow: hidden;
  2601. }
  2602. .k-article-arrow {
  2603. color: var(--color-text-muted);
  2604. font-size: 1rem;
  2605. flex-shrink: 0;
  2606. transition: transform var(--transition-fast);
  2607. }
  2608. .k-article-card:hover .k-article-arrow {
  2609. color: var(--k-color, var(--color-primary));
  2610. transform: translateX(3px);
  2611. }
  2612. .k-article-card--coming {
  2613. cursor: default;
  2614. opacity: .7;
  2615. }
  2616. .k-article-card--coming:hover {
  2617. transform: none;
  2618. box-shadow: var(--shadow-sm);
  2619. border-color: var(--color-border-light);
  2620. }
  2621. .k-coming-badge {
  2622. display: inline-block;
  2623. font-size: .6875rem;
  2624. color: var(--color-text-muted);
  2625. background: var(--color-bg-secondary);
  2626. padding: .2em .6em;
  2627. border-radius: var(--radius-full);
  2628. margin-top: .3em;
  2629. }
  2630. /* Footer CTA */
  2631. .k-footer-cta {
  2632. text-align: center;
  2633. padding: var(--space-2xl) 0;
  2634. }
  2635. .k-footer-cta p {
  2636. font-size: var(--font-size-small);
  2637. color: var(--color-text-secondary);
  2638. margin-bottom: var(--space-md);
  2639. }
  2640. /* Section alt (行·富) */
  2641. .section-knowledge-alt {
  2642. background: var(--color-bg-secondary, #FAFBFD);
  2643. }
  2644. /* Responsive */
  2645. @media (max-width: 768px) {
  2646. .k-hero-inner {
  2647. grid-template-columns: 1fr;
  2648. text-align: center;
  2649. }
  2650. .k-hero-desc {
  2651. max-width: 100%;
  2652. }
  2653. .k-hero-actions {
  2654. justify-content: center;
  2655. }
  2656. .k-hero-visual {
  2657. display: none;
  2658. }
  2659. .k-section-header {
  2660. flex-direction: column;
  2661. text-align: center;
  2662. }
  2663. .k-section-icon {
  2664. margin-bottom: var(--space-sm);
  2665. }
  2666. .k-section-desc {
  2667. max-width: 100%;
  2668. }
  2669. .k-article-grid {
  2670. grid-template-columns: 1fr;
  2671. }
  2672. .k-dim-sub {
  2673. display: none;
  2674. }
  2675. }
  2676. /* Responsive: Wuxing diagram — handled by aspect-ratio and Canvas redraw */
  2677. @media (max-width: 600px) {
  2678. .wuxing-diagram {
  2679. max-width: 360px;
  2680. }
  2681. }