style.css 56 KB

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