style.css 71 KB

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