style.css 53 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604
  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. /* ----------------------------------------------------------
  660. 9. Footer
  661. ---------------------------------------------------------- */
  662. .section-products {
  663. background: linear-gradient(180deg, var(--color-primary-light) 0%, var(--bg-body) 100%);
  664. }
  665. .products-grid {
  666. display: grid;
  667. grid-template-columns: repeat(2, 1fr);
  668. gap: var(--space-xl);
  669. max-width: 920px;
  670. margin: 0 auto;
  671. }
  672. .product-card {
  673. background: var(--bg-surface);
  674. border-radius: var(--radius-lg);
  675. padding: var(--space-2xl);
  676. border: 1px solid var(--color-border-light);
  677. transition: all var(--transition-normal);
  678. position: relative;
  679. overflow: hidden;
  680. }
  681. .product-card::before {
  682. content: '';
  683. position: absolute;
  684. top: 0;
  685. left: 0;
  686. right: 0;
  687. height: 4px;
  688. background: var(--product-color, var(--color-primary));
  689. }
  690. .product-card:hover {
  691. transform: translateY(-4px);
  692. box-shadow: var(--shadow-md);
  693. border-color: transparent;
  694. }
  695. .product-card-icon {
  696. width: 56px;
  697. height: 56px;
  698. display: flex;
  699. align-items: center;
  700. justify-content: center;
  701. border-radius: var(--radius-md);
  702. background: var(--product-bg, var(--color-primary-light));
  703. margin-bottom: var(--space-md);
  704. }
  705. .product-card h3 {
  706. font-size: 1.1rem;
  707. font-weight: 700;
  708. color: var(--color-text-primary);
  709. margin-bottom: var(--space-xs);
  710. }
  711. .product-card .product-sub {
  712. font-size: var(--font-size-small);
  713. color: var(--product-color, var(--color-primary));
  714. font-weight: 600;
  715. margin-bottom: var(--space-sm);
  716. margin-top: -4px;
  717. }
  718. .product-card > p {
  719. font-size: var(--font-size-small);
  720. color: var(--color-text-secondary);
  721. line-height: 1.75;
  722. margin-bottom: var(--space-md);
  723. }
  724. .product-tags {
  725. display: flex;
  726. flex-wrap: wrap;
  727. gap: var(--space-xs);
  728. }
  729. .product-tags span {
  730. display: inline-block;
  731. padding: 2px 10px;
  732. font-size: var(--font-size-tiny);
  733. color: var(--product-color, var(--color-text-secondary));
  734. background: color-mix(in srgb, var(--product-color, var(--color-primary)) 10%, transparent);
  735. border-radius: 100px;
  736. font-weight: 500;
  737. }
  738. .product-plus {
  739. color: var(--product-color, var(--color-primary));
  740. font-weight: 700;
  741. }
  742. @media (max-width: 768px) {
  743. .products-grid {
  744. grid-template-columns: 1fr;
  745. gap: var(--space-lg);
  746. }
  747. }
  748. /* ----------------------------------------------------------
  749. 10. Dimensions Section
  750. ---------------------------------------------------------- */
  751. .section-dimensions {
  752. background: var(--bg-surface);
  753. }
  754. .dimension-grid {
  755. display: flex;
  756. flex-wrap: wrap;
  757. justify-content: center;
  758. gap: var(--space-xl);
  759. }
  760. .dimension-grid > .dimension-card {
  761. width: calc((100% - var(--space-xl) * 2) / 3);
  762. }
  763. .dimension-card {
  764. background: var(--bg-surface);
  765. border: 1px solid var(--color-border-light);
  766. border-radius: var(--radius-lg);
  767. padding: var(--space-2xl);
  768. position: relative;
  769. overflow: hidden;
  770. transition: all var(--transition-normal);
  771. }
  772. .dim-bg-illustration {
  773. position: absolute;
  774. bottom: 0;
  775. left: 0;
  776. width: 100%;
  777. height: 28%;
  778. pointer-events: none;
  779. opacity: 0.3;
  780. transition: opacity var(--transition-normal);
  781. mask-image: linear-gradient(to top, black 0%, black 50%, transparent 100%);
  782. -webkit-mask-image: linear-gradient(to top, black 0%, black 50%, transparent 100%);
  783. }
  784. .dim-bg-illustration svg {
  785. width: 100%;
  786. height: 100%;
  787. color: var(--dim-color);
  788. display: block;
  789. }
  790. .dimension-card:hover .dim-bg-illustration {
  791. opacity: 0.3;
  792. }
  793. .dimension-card::before {
  794. content: '';
  795. position: absolute;
  796. top: 0;
  797. left: 0;
  798. right: 0;
  799. height: 4px;
  800. background: var(--dim-color);
  801. opacity: .6;
  802. transition: opacity var(--transition-normal);
  803. }
  804. .dimension-card:hover {
  805. transform: translateY(-6px);
  806. box-shadow: var(--shadow-lg);
  807. border-color: transparent;
  808. }
  809. .dimension-card:hover::before {
  810. opacity: 1;
  811. }
  812. .dim-title {
  813. font-size: var(--font-size-h3);
  814. font-weight: 700;
  815. margin-bottom: var(--space-sm);
  816. display: flex;
  817. align-items: center;
  818. gap: var(--space-xs);
  819. }
  820. .dim-emoji {
  821. font-size: 1.5rem;
  822. }
  823. .dim-desc {
  824. font-size: var(--font-size-small);
  825. color: var(--color-text-secondary);
  826. line-height: 1.8;
  827. margin-bottom: var(--space-md);
  828. }
  829. .dim-points {
  830. display: flex;
  831. flex-wrap: wrap;
  832. gap: var(--space-xs);
  833. }
  834. .dim-points li {
  835. font-size: var(--font-size-tiny);
  836. font-weight: 500;
  837. color: var(--dim-color);
  838. background: var(--dim-bg);
  839. padding: .3em .9em;
  840. border-radius: var(--radius-full);
  841. }
  842. /* Make 2 items in last row centered */
  843. /* 5 items in 3-col grid: items 4 & 5 naturally wrap to row 2, cols 1 & 2 */
  844. /* ----------------------------------------------------------
  845. 11. Features Section
  846. ---------------------------------------------------------- */
  847. .section-features {
  848. background: var(--bg-section-alt);
  849. }
  850. .features-grid {
  851. display: grid;
  852. grid-template-columns: repeat(4, 1fr);
  853. gap: var(--space-lg);
  854. }
  855. .feature-card {
  856. background: var(--bg-surface);
  857. border: 1px solid var(--color-border-light);
  858. border-radius: var(--radius-lg);
  859. padding: var(--space-xl);
  860. transition: all var(--transition-normal);
  861. text-align: center;
  862. }
  863. .feature-card:hover {
  864. transform: translateY(-4px);
  865. box-shadow: var(--shadow-md);
  866. border-color: transparent;
  867. }
  868. .feature-icon {
  869. width: 56px;
  870. height: 56px;
  871. margin: 0 auto var(--space-md);
  872. display: flex;
  873. align-items: center;
  874. justify-content: center;
  875. border-radius: var(--radius-md);
  876. background: color-mix(in srgb, var(--fc) 10%, white);
  877. color: var(--fc);
  878. }
  879. .feature-card h3 {
  880. font-size: 1rem;
  881. font-weight: 700;
  882. margin-bottom: var(--space-sm);
  883. }
  884. .feature-card p {
  885. font-size: var(--font-size-small);
  886. color: var(--color-text-secondary);
  887. line-height: 1.7;
  888. }
  889. /* Loop flow — 科学成长闭环 */
  890. .loop-flow {
  891. display: flex;
  892. align-items: flex-start;
  893. justify-content: center;
  894. gap: var(--space-md);
  895. flex-wrap: wrap;
  896. }
  897. .loop-step {
  898. flex: 1;
  899. min-width: 200px;
  900. max-width: 260px;
  901. background: var(--bg-surface);
  902. border-radius: var(--radius-lg);
  903. padding: var(--space-xl) var(--space-lg);
  904. border: 1px solid var(--color-border-light);
  905. text-align: left;
  906. transition: transform .3s ease, box-shadow .3s ease;
  907. }
  908. .loop-step:hover {
  909. transform: translateY(-4px);
  910. box-shadow: var(--shadow-lg);
  911. }
  912. .loop-header {
  913. display: flex;
  914. align-items: center;
  915. gap: var(--space-sm);
  916. margin-bottom: var(--space-md);
  917. }
  918. .loop-icon {
  919. color: var(--step-color);
  920. flex-shrink: 0;
  921. display: flex;
  922. align-items: center;
  923. justify-content: center;
  924. width: 40px;
  925. height: 40px;
  926. border-radius: var(--radius-md);
  927. background: var(--step-bg);
  928. }
  929. .loop-step h3 {
  930. font-size: 1rem;
  931. font-weight: 700;
  932. color: var(--color-text-primary);
  933. margin-bottom: 0;
  934. }
  935. .loop-step p {
  936. font-size: var(--font-size-small);
  937. color: var(--color-text-secondary);
  938. line-height: 1.7;
  939. margin-bottom: var(--space-md);
  940. }
  941. .loop-tags {
  942. display: flex;
  943. flex-wrap: wrap;
  944. justify-content: flex-start;
  945. gap: .3em;
  946. }
  947. .loop-tags span {
  948. font-size: 11px;
  949. padding: .2em .6em;
  950. border-radius: var(--radius-full);
  951. background: var(--step-bg);
  952. color: var(--step-color);
  953. font-weight: 500;
  954. }
  955. .loop-arrow {
  956. font-size: 1.5rem;
  957. color: var(--color-text-muted);
  958. align-self: center;
  959. flex-shrink: 0;
  960. }
  961. @media (max-width: 900px) {
  962. .loop-flow {
  963. flex-direction: column;
  964. align-items: center;
  965. }
  966. .loop-arrow {
  967. transform: rotate(90deg);
  968. margin: 0;
  969. }
  970. }
  971. /* ----------------------------------------------------------
  972. 12. AI Technology Section
  973. ---------------------------------------------------------- */
  974. .section-ai-tech {
  975. background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-section-alt) 100%);
  976. }
  977. .ai-grid {
  978. display: grid;
  979. grid-template-columns: repeat(3, 1fr);
  980. gap: var(--space-xl);
  981. max-width: 1000px;
  982. margin: 0 auto;
  983. }
  984. .ai-card {
  985. background: var(--bg-surface);
  986. border-radius: var(--radius-lg);
  987. padding: var(--space-2xl);
  988. border: 1px solid var(--color-border-light);
  989. transition: all var(--transition-normal);
  990. position: relative;
  991. overflow: hidden;
  992. }
  993. .ai-card::before {
  994. content: '';
  995. position: absolute;
  996. top: 0;
  997. left: 0;
  998. right: 0;
  999. height: 3px;
  1000. background: var(--ai-color, var(--color-primary));
  1001. opacity: .4;
  1002. transition: opacity var(--transition-normal);
  1003. }
  1004. .ai-card:hover {
  1005. transform: translateY(-4px);
  1006. box-shadow: var(--shadow-md);
  1007. border-color: transparent;
  1008. }
  1009. .ai-card:hover::before {
  1010. opacity: 1;
  1011. }
  1012. .ai-card-header {
  1013. display: flex;
  1014. align-items: center;
  1015. gap: var(--space-sm);
  1016. margin-bottom: var(--space-md);
  1017. }
  1018. .ai-card-icon {
  1019. width: 48px;
  1020. height: 48px;
  1021. display: flex;
  1022. align-items: center;
  1023. justify-content: center;
  1024. border-radius: var(--radius-md);
  1025. background: var(--ai-bg, var(--color-primary-light));
  1026. flex-shrink: 0;
  1027. }
  1028. .ai-card-badge {
  1029. display: inline-block;
  1030. padding: 2px 10px;
  1031. font-size: var(--font-size-tiny);
  1032. font-weight: 600;
  1033. color: var(--ai-color, var(--color-primary));
  1034. background: color-mix(in srgb, var(--ai-color, var(--color-primary)) 10%, white);
  1035. border-radius: 100px;
  1036. white-space: nowrap;
  1037. }
  1038. .ai-card h3 {
  1039. font-size: 1.05rem;
  1040. font-weight: 700;
  1041. color: var(--color-text-primary);
  1042. margin-bottom: var(--space-sm);
  1043. line-height: 1.4;
  1044. }
  1045. .ai-card p {
  1046. font-size: var(--font-size-small);
  1047. color: var(--color-text-secondary);
  1048. line-height: 1.8;
  1049. margin: 0;
  1050. }
  1051. @media (max-width: 900px) {
  1052. .ai-grid {
  1053. grid-template-columns: repeat(2, 1fr);
  1054. }
  1055. }
  1056. @media (max-width: 600px) {
  1057. .ai-grid {
  1058. grid-template-columns: 1fr;
  1059. }
  1060. }
  1061. /* ----------------------------------------------------------
  1062. 13. Roles Section
  1063. ---------------------------------------------------------- */
  1064. .section-roles {
  1065. background: var(--bg-surface);
  1066. }
  1067. .roles-flow {
  1068. display: flex;
  1069. align-items: stretch;
  1070. justify-content: center;
  1071. gap: var(--space-xl);
  1072. max-width: 960px;
  1073. margin: 0 auto;
  1074. }
  1075. .role-card {
  1076. flex: 1;
  1077. background: var(--bg-surface);
  1078. border: 1px solid var(--color-border-light);
  1079. border-radius: var(--radius-lg);
  1080. padding: var(--space-xl);
  1081. text-align: center;
  1082. position: relative;
  1083. transition: all var(--transition-normal);
  1084. }
  1085. .role-card:hover {
  1086. transform: translateY(-4px);
  1087. box-shadow: var(--shadow-md);
  1088. }
  1089. .role-badge {
  1090. display: inline-block;
  1091. font-size: var(--font-size-tiny);
  1092. font-weight: 600;
  1093. padding: .25em 1em;
  1094. border-radius: var(--radius-full);
  1095. margin-bottom: var(--space-md);
  1096. }
  1097. .role-parent .role-badge { background: var(--color-primary-light); color: var(--color-primary); }
  1098. .role-teacher .role-badge { background: #F0F7FF; color: #3B82F6; }
  1099. .role-admin .role-badge { background: #EEF0FF; color: #6366F1; }
  1100. .role-member-tag {
  1101. display: inline-block;
  1102. font-size: .7rem;
  1103. font-weight: 500;
  1104. color: var(--color-primary);
  1105. background: var(--color-primary-light);
  1106. padding: .15em .7em;
  1107. border-radius: var(--radius-full);
  1108. vertical-align: middle;
  1109. margin-left: .4em;
  1110. }
  1111. .role-icon {
  1112. margin-bottom: var(--space-md);
  1113. }
  1114. .role-card h3 {
  1115. font-size: var(--font-size-h3);
  1116. font-weight: 700;
  1117. margin-bottom: var(--space-sm);
  1118. }
  1119. .role-card > p {
  1120. font-size: var(--font-size-small);
  1121. color: var(--color-text-secondary);
  1122. line-height: 1.7;
  1123. margin-bottom: var(--space-md);
  1124. }
  1125. .role-perms {
  1126. text-align: left;
  1127. }
  1128. .role-perms li {
  1129. font-size: var(--font-size-tiny);
  1130. color: var(--color-text-secondary);
  1131. padding: .35em 0;
  1132. display: flex;
  1133. align-items: flex-start;
  1134. gap: var(--space-xs);
  1135. }
  1136. .role-perms li::before {
  1137. content: '';
  1138. width: 5px;
  1139. height: 5px;
  1140. border-radius: 50%;
  1141. background: var(--color-primary);
  1142. flex-shrink: 0;
  1143. margin-top: 7px;
  1144. }
  1145. .role-teacher .role-perms li::before { background: #3B82F6; }
  1146. .role-admin .role-perms li::before { background: #6366F1; }
  1147. /* 客户角色 — 小程序二维码 */
  1148. .role-qr {
  1149. margin-top: var(--space-lg);
  1150. padding-top: var(--space-md);
  1151. border-top: 1px solid var(--color-border-light);
  1152. display: flex;
  1153. flex-direction: column;
  1154. align-items: center;
  1155. gap: var(--space-xs);
  1156. }
  1157. .role-qr-code {
  1158. display: block;
  1159. width: 180px;
  1160. height: 180px;
  1161. border-radius: var(--radius-md);
  1162. box-shadow: 0 2px 8px rgba(0,0,0,.10);
  1163. transition: transform .3s ease, box-shadow .3s ease;
  1164. }
  1165. .role-qr-code:hover {
  1166. transform: scale(1.08);
  1167. box-shadow: 0 4px 16px rgba(0,0,0,.12);
  1168. }
  1169. .role-qr-label {
  1170. font-size: var(--font-size-tiny);
  1171. color: var(--color-text-secondary);
  1172. font-weight: 500;
  1173. letter-spacing: .05em;
  1174. }
  1175. .roles-connector {
  1176. display: flex;
  1177. flex-direction: column;
  1178. align-items: center;
  1179. gap: var(--space-xs);
  1180. color: var(--color-text-muted);
  1181. font-size: var(--font-size-tiny);
  1182. font-weight: 500;
  1183. flex-shrink: 0;
  1184. align-self: center;
  1185. }
  1186. .connector-arrow {
  1187. width: 2px;
  1188. height: 40px;
  1189. background: var(--color-border);
  1190. position: relative;
  1191. }
  1192. .connector-arrow::after {
  1193. content: '';
  1194. position: absolute;
  1195. bottom: -4px;
  1196. left: 50%;
  1197. transform: translateX(-50%);
  1198. border: 5px solid transparent;
  1199. border-top-color: var(--color-border);
  1200. }
  1201. /* ----------------------------------------------------------
  1202. 14. Contact Section
  1203. ---------------------------------------------------------- */
  1204. .section-contact {
  1205. background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-body) 100%);
  1206. }
  1207. .contact-grid {
  1208. display: grid;
  1209. grid-template-columns: 1fr 1fr;
  1210. gap: var(--space-3xl);
  1211. align-items: start;
  1212. max-width: 800px;
  1213. margin: 0 auto;
  1214. }
  1215. .contact-info {
  1216. display: flex;
  1217. flex-direction: column;
  1218. gap: var(--space-lg);
  1219. }
  1220. .contact-item {
  1221. display: flex;
  1222. align-items: flex-start;
  1223. gap: var(--space-md);
  1224. padding: var(--space-lg);
  1225. background: var(--bg-surface);
  1226. border-radius: var(--radius-md);
  1227. border: 1px solid var(--color-border-light);
  1228. }
  1229. .contact-item svg {
  1230. flex-shrink: 0;
  1231. margin-top: 2px;
  1232. }
  1233. .contact-item strong {
  1234. display: block;
  1235. font-size: var(--font-size-tiny);
  1236. color: var(--color-text-muted);
  1237. font-weight: 500;
  1238. text-transform: uppercase;
  1239. letter-spacing: .04em;
  1240. margin-bottom: 2px;
  1241. }
  1242. .contact-item span {
  1243. font-weight: 600;
  1244. color: var(--color-text-primary);
  1245. }
  1246. .contact-cta {
  1247. text-align: center;
  1248. padding: var(--space-2xl);
  1249. background: var(--bg-surface);
  1250. border-radius: var(--radius-lg);
  1251. border: 1px solid var(--color-border-light);
  1252. }
  1253. .contact-cta > p {
  1254. font-size: var(--font-size-h3);
  1255. font-weight: 700;
  1256. margin-bottom: var(--space-xs);
  1257. }
  1258. .cta-sub {
  1259. font-size: var(--font-size-small) !important;
  1260. font-weight: 400 !important;
  1261. color: var(--color-text-secondary);
  1262. margin-bottom: var(--space-xl) !important;
  1263. }
  1264. .cta-cards {
  1265. display: grid;
  1266. grid-template-columns: repeat(3, 1fr);
  1267. gap: var(--space-sm);
  1268. }
  1269. .cta-card {
  1270. display: flex;
  1271. flex-direction: column;
  1272. align-items: center;
  1273. gap: var(--space-xs);
  1274. padding: var(--space-md);
  1275. background: var(--bg-body);
  1276. border-radius: var(--radius-md);
  1277. font-size: var(--font-size-tiny);
  1278. font-weight: 600;
  1279. border: 1px solid var(--color-border-light);
  1280. transition: all var(--transition-fast);
  1281. }
  1282. .cta-card:hover {
  1283. border-color: var(--color-primary);
  1284. background: var(--color-primary-light);
  1285. }
  1286. .cta-card-icon {
  1287. font-size: 1.5rem;
  1288. }
  1289. .cta-card-desc {
  1290. font-weight: 400;
  1291. color: var(--color-text-muted);
  1292. font-size: var(--font-size-tiny);
  1293. }
  1294. .contact-qr img {
  1295. width: 200px;
  1296. height: auto;
  1297. border-radius: var(--radius-md);
  1298. display: block;
  1299. margin: 0 auto;
  1300. }
  1301. .contact-qr span {
  1302. display: block;
  1303. margin-top: var(--space-sm);
  1304. font-size: var(--font-size-tiny);
  1305. color: var(--color-text-muted);
  1306. }
  1307. @media (max-width: 768px) {
  1308. .contact-qr img {
  1309. width: 160px;
  1310. }
  1311. }
  1312. /* Testimonials Section */
  1313. .section-testimonials { background: var(--bg-section-alt); }
  1314. .testimonials-grid {
  1315. display: grid;
  1316. grid-template-columns: repeat(3, 1fr);
  1317. gap: var(--space-lg);
  1318. max-width: 960px;
  1319. margin: 0 auto;
  1320. }
  1321. .testimonial-card {
  1322. background: var(--bg-surface);
  1323. border: 1px solid var(--color-border-light);
  1324. border-radius: var(--radius-lg);
  1325. padding: var(--space-xl);
  1326. border-left: 4px solid var(--color-primary);
  1327. transition: all var(--transition-normal);
  1328. }
  1329. .testimonial-card:hover {
  1330. transform: translateY(-4px);
  1331. box-shadow: var(--shadow-md);
  1332. border-color: transparent;
  1333. border-left-color: var(--color-primary);
  1334. }
  1335. .testimonial-stars { display: flex; gap: 2px; margin-bottom: var(--space-md); }
  1336. .testimonial-text {
  1337. font-size: var(--font-size-small);
  1338. color: var(--color-text-secondary);
  1339. line-height: 1.8;
  1340. font-style: italic;
  1341. margin-bottom: var(--space-lg);
  1342. }
  1343. .testimonial-author {
  1344. border-top: 1px solid var(--color-border-light);
  1345. padding-top: var(--space-md);
  1346. }
  1347. .testimonial-name { font-size: var(--font-size-tiny); font-weight: 600; color: var(--color-text-primary); }
  1348. @media (max-width: 900px) { .testimonials-grid { grid-template-columns: repeat(2, 1fr); } }
  1349. @media (max-width: 600px) { .testimonials-grid { grid-template-columns: 1fr; } }
  1350. /* ----------------------------------------------------------
  1351. 14.5. FAQ Section
  1352. ---------------------------------------------------------- */
  1353. .section-faq {
  1354. background: var(--bg-section-alt);
  1355. }
  1356. .faq-list {
  1357. max-width: 800px;
  1358. margin: 0 auto;
  1359. display: flex;
  1360. flex-direction: column;
  1361. gap: var(--space-md);
  1362. }
  1363. .faq-item {
  1364. background: var(--bg-surface);
  1365. border: 1px solid var(--color-border-light);
  1366. border-radius: var(--radius-md);
  1367. overflow: hidden;
  1368. transition: all var(--transition-normal);
  1369. }
  1370. .faq-item:hover {
  1371. border-color: var(--color-primary);
  1372. box-shadow: var(--shadow-sm);
  1373. }
  1374. .faq-item[open] {
  1375. border-color: var(--color-primary);
  1376. box-shadow: var(--shadow-md);
  1377. }
  1378. .faq-item > summary {
  1379. padding: var(--space-lg) var(--space-xl);
  1380. font-weight: 600;
  1381. font-size: var(--font-size-body);
  1382. color: var(--color-text-primary);
  1383. cursor: pointer;
  1384. list-style: none;
  1385. display: flex;
  1386. align-items: center;
  1387. justify-content: space-between;
  1388. gap: var(--space-md);
  1389. transition: color var(--transition-fast);
  1390. }
  1391. .faq-item > summary::-webkit-details-marker {
  1392. display: none;
  1393. }
  1394. .faq-item > summary::after {
  1395. content: '+';
  1396. font-size: 1.25rem;
  1397. font-weight: 700;
  1398. color: var(--color-primary);
  1399. flex-shrink: 0;
  1400. transition: transform var(--transition-fast);
  1401. }
  1402. .faq-item[open] > summary::after {
  1403. content: '−';
  1404. }
  1405. .faq-item > summary:hover {
  1406. color: var(--color-primary);
  1407. }
  1408. .faq-answer {
  1409. padding: 0 var(--space-xl) var(--space-lg);
  1410. font-size: var(--font-size-small);
  1411. color: var(--color-text-secondary);
  1412. line-height: 1.8;
  1413. border-top: 1px solid var(--color-border-light);
  1414. padding-top: var(--space-md);
  1415. }
  1416. @media (max-width: 768px) {
  1417. .faq-item > summary {
  1418. padding: var(--space-md) var(--space-lg);
  1419. font-size: var(--font-size-small);
  1420. }
  1421. .faq-answer {
  1422. padding: 0 var(--space-lg) var(--space-md);
  1423. font-size: var(--font-size-tiny);
  1424. }
  1425. }
  1426. /* ----------------------------------------------------------
  1427. 15. Footer
  1428. ---------------------------------------------------------- */
  1429. .site-footer {
  1430. background: var(--color-text-primary);
  1431. color: #fff;
  1432. padding: var(--space-3xl) 0 0;
  1433. }
  1434. .footer-inner {
  1435. display: flex;
  1436. justify-content: space-between;
  1437. gap: var(--space-3xl);
  1438. padding-bottom: var(--space-2xl);
  1439. border-bottom: 1px solid rgba(255, 255, 255, .1);
  1440. }
  1441. .footer-brand .logo-text {
  1442. color: #fff;
  1443. font-size: 1.25rem;
  1444. font-weight: 700;
  1445. }
  1446. .footer-brand .logo-tag {
  1447. color: var(--color-primary);
  1448. font-weight: 600;
  1449. font-size: 1.25rem;
  1450. }
  1451. .footer-brand p {
  1452. color: rgba(255, 255, 255, .6);
  1453. font-size: var(--font-size-small);
  1454. margin-top: var(--space-sm);
  1455. max-width: 300px;
  1456. line-height: 1.7;
  1457. }
  1458. .footer-links {
  1459. display: flex;
  1460. gap: var(--space-3xl);
  1461. }
  1462. .footer-col h4 {
  1463. font-size: var(--font-size-tiny);
  1464. font-weight: 600;
  1465. text-transform: uppercase;
  1466. letter-spacing: .06em;
  1467. color: rgba(255, 255, 255, .5);
  1468. margin-bottom: var(--space-md);
  1469. }
  1470. .footer-col ul li {
  1471. margin-bottom: var(--space-sm);
  1472. }
  1473. .footer-col ul li a {
  1474. font-size: var(--font-size-small);
  1475. color: rgba(255, 255, 255, .7);
  1476. transition: color var(--transition-fast);
  1477. }
  1478. .footer-col ul li a:hover {
  1479. color: var(--color-primary);
  1480. }
  1481. .footer-bottom {
  1482. text-align: center;
  1483. padding: var(--space-lg) 0;
  1484. }
  1485. .footer-bottom p {
  1486. font-size: var(--font-size-tiny);
  1487. color: rgba(255, 255, 255, .4);
  1488. }
  1489. /* ----------------------------------------------------------
  1490. 16. Scroll Animations (AOS-like)
  1491. ---------------------------------------------------------- */
  1492. .reveal {
  1493. opacity: 0;
  1494. transform: translateY(30px);
  1495. transition: opacity .6s ease, transform .6s cubic-bezier(.4, 0, .2, 1);
  1496. }
  1497. .reveal.visible {
  1498. opacity: 1;
  1499. transform: translateY(0);
  1500. }
  1501. /* ----------------------------------------------------------
  1502. 17. Responsive - Tablet
  1503. ---------------------------------------------------------- */
  1504. @media (max-width: 1024px) {
  1505. .hero-inner {
  1506. grid-template-columns: 1fr;
  1507. text-align: center;
  1508. }
  1509. .hero-desc {
  1510. margin-left: auto;
  1511. margin-right: auto;
  1512. }
  1513. .hero-actions {
  1514. justify-content: center;
  1515. }
  1516. .hero-visual {
  1517. display: none;
  1518. }
  1519. .dimension-grid > .dimension-card {
  1520. width: calc((100% - var(--space-xl)) / 2);
  1521. }
  1522. .features-grid {
  1523. grid-template-columns: repeat(2, 1fr);
  1524. }
  1525. .roles-flow {
  1526. gap: var(--space-md);
  1527. }
  1528. .role-card {
  1529. padding: var(--space-lg) var(--space-md);
  1530. }
  1531. .roles-connector {
  1532. flex-direction: row;
  1533. gap: 0;
  1534. }
  1535. .connector-arrow {
  1536. width: 40px;
  1537. height: 2px;
  1538. }
  1539. .connector-arrow::after {
  1540. top: 50%;
  1541. left: auto;
  1542. right: -4px;
  1543. bottom: auto;
  1544. transform: translateY(-50%);
  1545. border: 5px solid transparent;
  1546. border-left-color: var(--color-border);
  1547. border-top-color: transparent;
  1548. }
  1549. .contact-grid {
  1550. grid-template-columns: 1fr;
  1551. }
  1552. .product-stats {
  1553. grid-template-columns: repeat(2, 1fr);
  1554. }
  1555. }
  1556. /* ----------------------------------------------------------
  1557. 18. Responsive - Mobile
  1558. ---------------------------------------------------------- */
  1559. @media (max-width: 768px) {
  1560. :root {
  1561. --space-section: 3.5rem;
  1562. --header-height: 56px;
  1563. }
  1564. .container {
  1565. padding: 0 var(--space-md);
  1566. }
  1567. /* Mobile Nav */
  1568. .nav-toggle {
  1569. display: flex;
  1570. }
  1571. .nav {
  1572. position: fixed;
  1573. top: var(--header-height);
  1574. left: 0;
  1575. right: 0;
  1576. background: rgba(245, 250, 254, .97);
  1577. backdrop-filter: blur(16px);
  1578. -webkit-backdrop-filter: blur(16px);
  1579. border-bottom: 1px solid var(--color-border-light);
  1580. padding: var(--space-lg);
  1581. transform: translateY(-110%);
  1582. opacity: 0;
  1583. transition: all var(--transition-normal);
  1584. pointer-events: none;
  1585. }
  1586. .nav.open {
  1587. transform: translateY(0);
  1588. opacity: 1;
  1589. pointer-events: auto;
  1590. }
  1591. .nav-list {
  1592. flex-direction: column;
  1593. gap: 0;
  1594. }
  1595. .nav-link {
  1596. display: block;
  1597. padding: var(--space-md) 0;
  1598. border-bottom: 1px solid var(--color-border-light);
  1599. width: 100%;
  1600. }
  1601. .nav-link::after {
  1602. display: none;
  1603. }
  1604. /* Hero */
  1605. .hero-title {
  1606. font-size: clamp(1.75rem, 7vw, 2.5rem);
  1607. }
  1608. .hero-desc {
  1609. font-size: var(--font-size-small);
  1610. }
  1611. .hero-actions {
  1612. flex-direction: column;
  1613. align-items: stretch;
  1614. }
  1615. .btn {
  1616. justify-content: center;
  1617. }
  1618. /* Grids */
  1619. .about-grid {
  1620. grid-template-columns: 1fr;
  1621. }
  1622. .dimension-grid > .dimension-card {
  1623. width: 100%;
  1624. }
  1625. .features-grid {
  1626. grid-template-columns: 1fr;
  1627. }
  1628. .contact-grid {
  1629. grid-template-columns: 1fr;
  1630. }
  1631. .product-stats {
  1632. grid-template-columns: repeat(2, 1fr);
  1633. }
  1634. .cta-cards {
  1635. grid-template-columns: 1fr;
  1636. }
  1637. .footer-inner {
  1638. flex-direction: column;
  1639. gap: var(--space-xl);
  1640. }
  1641. .footer-links {
  1642. gap: var(--space-xl);
  1643. }
  1644. .product-quote {
  1645. padding: var(--space-md) var(--space-lg);
  1646. }
  1647. .product-quote p {
  1648. font-size: var(--font-size-small);
  1649. }
  1650. .stat-num {
  1651. font-size: 1.5rem;
  1652. }
  1653. /* Roles row — tighter spacing */
  1654. .roles-flow {
  1655. gap: var(--space-sm);
  1656. }
  1657. .role-card {
  1658. padding: var(--space-md);
  1659. }
  1660. .role-card h3 {
  1661. font-size: calc(var(--font-size-h3) * 0.85);
  1662. }
  1663. .role-perms li {
  1664. font-size: calc(var(--font-size-tiny) * 0.9);
  1665. }
  1666. .role-qr-code {
  1667. width: 150px;
  1668. height: 150px;
  1669. }
  1670. }
  1671. @media (max-width: 480px) {
  1672. .product-stats {
  1673. grid-template-columns: repeat(2, 1fr);
  1674. gap: var(--space-sm);
  1675. }
  1676. .stat {
  1677. padding: var(--space-md);
  1678. }
  1679. .roles-flow {
  1680. flex-direction: column;
  1681. gap: var(--space-md);
  1682. }
  1683. .roles-connector {
  1684. flex-direction: column;
  1685. gap: var(--space-xs);
  1686. }
  1687. .connector-arrow {
  1688. width: 2px;
  1689. height: 40px;
  1690. }
  1691. .connector-arrow::after {
  1692. top: auto;
  1693. left: 50%;
  1694. right: auto;
  1695. bottom: -4px;
  1696. transform: translateX(-50%);
  1697. border: 5px solid transparent;
  1698. border-top-color: var(--color-border);
  1699. border-left-color: transparent;
  1700. }
  1701. .footer-links {
  1702. flex-direction: column;
  1703. gap: var(--space-lg);
  1704. }
  1705. }
  1706. /* ----------------------------------------------------------
  1707. 19. Logo
  1708. ---------------------------------------------------------- */
  1709. .logo-img {
  1710. display: block;
  1711. flex-shrink: 0;
  1712. border-radius: 8px;
  1713. width: 36px;
  1714. height: 36px;
  1715. object-fit: contain;
  1716. }
  1717. .footer-logo-img {
  1718. display: block;
  1719. flex-shrink: 0;
  1720. border-radius: 10px;
  1721. margin-bottom: var(--space-xs);
  1722. object-fit: contain;
  1723. }
  1724. /* ----------------------------------------------------------
  1725. 20. Wuxing Philosophy Section
  1726. ---------------------------------------------------------- */
  1727. .section-wuxing {
  1728. background: linear-gradient(180deg, var(--bg-body) 0%, var(--bg-surface) 100%);
  1729. }
  1730. /* --- Diagram --- */
  1731. .wuxing-diagram {
  1732. position: relative;
  1733. width: 100%;
  1734. max-width: 480px;
  1735. aspect-ratio: 1;
  1736. margin: 0 auto var(--space-3xl);
  1737. }
  1738. .wuxing-diagram canvas {
  1739. display: block;
  1740. width: 100%;
  1741. height: 100%;
  1742. }
  1743. .wuxing-diagram .taiji-center {
  1744. position: absolute;
  1745. top: 50%;
  1746. left: 50%;
  1747. transform: translate(-50%, -50%);
  1748. pointer-events: none;
  1749. z-index: 1;
  1750. color: var(--color-text-secondary);
  1751. }
  1752. .wuxing-diagram .taiji-svg {
  1753. display: block;
  1754. animation: taiji-rotate 24s linear infinite;
  1755. }
  1756. @keyframes taiji-rotate {
  1757. to { transform: rotate(360deg); }
  1758. }
  1759. /* --- Explanation Cards --- */
  1760. .wuxing-explanations {
  1761. max-width: 960px;
  1762. margin: 0 auto;
  1763. }
  1764. .we-section {
  1765. margin-bottom: var(--space-2xl);
  1766. }
  1767. .we-section:last-child {
  1768. margin-bottom: 0;
  1769. }
  1770. .we-title {
  1771. font-size: var(--font-size-h3);
  1772. font-weight: 700;
  1773. margin-bottom: var(--space-xs);
  1774. }
  1775. .we-sheng {
  1776. color: var(--color-secondary);
  1777. }
  1778. .we-ke {
  1779. color: var(--color-primary);
  1780. }
  1781. .we-subtitle {
  1782. font-size: var(--font-size-small);
  1783. color: var(--color-text-secondary);
  1784. margin-bottom: var(--space-lg);
  1785. }
  1786. .we-grid {
  1787. display: grid;
  1788. grid-template-columns: repeat(5, 1fr);
  1789. gap: var(--space-md);
  1790. }
  1791. .wuxing-card {
  1792. background: var(--bg-surface);
  1793. border: 1px solid var(--color-border-light);
  1794. border-radius: var(--radius-md);
  1795. padding: var(--space-lg);
  1796. text-align: center;
  1797. transition: all var(--transition-normal);
  1798. position: relative;
  1799. overflow: hidden;
  1800. }
  1801. .wuxing-card::before {
  1802. content: '';
  1803. position: absolute;
  1804. top: 0;
  1805. left: 0;
  1806. right: 0;
  1807. height: 3px;
  1808. background: var(--wc-color);
  1809. opacity: .5;
  1810. transition: opacity var(--transition-normal);
  1811. }
  1812. .wuxing-card:hover {
  1813. transform: translateY(-4px);
  1814. box-shadow: var(--shadow-md);
  1815. border-color: transparent;
  1816. }
  1817. .wuxing-card:hover::before {
  1818. opacity: 1;
  1819. }
  1820. .wc-arrow {
  1821. display: inline-block;
  1822. font-size: var(--font-size-tiny);
  1823. font-weight: 700;
  1824. color: var(--wc-color);
  1825. padding: .15em .6em;
  1826. border-radius: var(--radius-full);
  1827. background: color-mix(in srgb, var(--wc-color) 10%, white);
  1828. margin-bottom: var(--space-sm);
  1829. }
  1830. .wuxing-card h4 {
  1831. font-size: 1rem;
  1832. font-weight: 700;
  1833. margin-bottom: var(--space-xs);
  1834. color: var(--color-text-primary);
  1835. }
  1836. .wuxing-card p {
  1837. font-size: var(--font-size-tiny);
  1838. color: var(--color-text-secondary);
  1839. line-height: 1.6;
  1840. }
  1841. @media (max-width: 1024px) {
  1842. .we-grid {
  1843. grid-template-columns: repeat(3, 1fr);
  1844. }
  1845. }
  1846. @media (max-width: 600px) {
  1847. .we-grid {
  1848. grid-template-columns: repeat(2, 1fr);
  1849. }
  1850. }
  1851. @media (max-width: 480px) {
  1852. .we-grid {
  1853. grid-template-columns: 1fr;
  1854. }
  1855. }
  1856. /* Mobile: prevent dimension title wrapping */
  1857. @media (max-width: 600px) {
  1858. .dim-title {
  1859. font-size: 1rem;
  1860. flex-wrap: wrap;
  1861. }
  1862. .dim-emoji {
  1863. font-size: 1.2rem;
  1864. }
  1865. .dim-element {
  1866. font-size: 9px;
  1867. }
  1868. }
  1869. /* ----------------------------------------------------------
  1870. 21. Dimension Energy Tips
  1871. ---------------------------------------------------------- */
  1872. .dim-energy {
  1873. margin-top: var(--space-md);
  1874. padding-top: var(--space-md);
  1875. border-top: 1px dashed var(--color-border-light);
  1876. }
  1877. .dim-energy h4 {
  1878. font-size: var(--font-size-small);
  1879. font-weight: 700;
  1880. color: var(--dim-color);
  1881. margin-bottom: var(--space-sm);
  1882. }
  1883. .dim-energy ul {
  1884. display: flex;
  1885. flex-direction: column;
  1886. gap: var(--space-xs);
  1887. }
  1888. .dim-energy ul li {
  1889. font-size: var(--font-size-tiny);
  1890. color: var(--color-text-secondary);
  1891. padding: .25em 0;
  1892. display: flex;
  1893. align-items: center;
  1894. gap: var(--space-xs);
  1895. }
  1896. .dim-energy ul li::before {
  1897. content: '✦';
  1898. color: var(--dim-color);
  1899. font-size: 10px;
  1900. flex-shrink: 0;
  1901. }
  1902. /* Dim element badge */
  1903. .dim-element {
  1904. display: inline-block;
  1905. font-size: 10px;
  1906. font-weight: 600;
  1907. color: #fff;
  1908. padding: .15em .6em;
  1909. border-radius: var(--radius-full);
  1910. margin-left: var(--space-xs);
  1911. vertical-align: middle;
  1912. letter-spacing: .04em;
  1913. white-space: nowrap;
  1914. }
  1915. /* Prevent role name (家长/孩子/成长规划师) from breaking across lines */
  1916. .role-perms li strong {
  1917. white-space: nowrap;
  1918. }
  1919. /* ----------------------------------------------------------
  1920. 22. Product Feature Bullet Lists
  1921. ---------------------------------------------------------- */
  1922. .product-summary {
  1923. font-size: var(--font-size-small);
  1924. color: var(--color-text-secondary);
  1925. line-height: 1.6;
  1926. margin-bottom: var(--space-sm);
  1927. }
  1928. .product-features {
  1929. list-style: none;
  1930. padding: 0;
  1931. margin: 0 0 var(--space-md);
  1932. }
  1933. .product-features li {
  1934. position: relative;
  1935. padding-left: 1.25em;
  1936. font-size: var(--font-size-small);
  1937. color: var(--color-text-secondary);
  1938. line-height: 1.8;
  1939. }
  1940. .product-features li::before {
  1941. content: '·';
  1942. position: absolute;
  1943. left: .35em;
  1944. color: var(--product-color, var(--color-primary));
  1945. font-weight: 700;
  1946. font-size: 1.1em;
  1947. }
  1948. /* ----------------------------------------------------------
  1949. 23. Floating CTA Button
  1950. ---------------------------------------------------------- */
  1951. .float-cta {
  1952. position: fixed;
  1953. bottom: 2rem;
  1954. right: 2rem;
  1955. z-index: 999;
  1956. display: flex;
  1957. flex-direction: column;
  1958. align-items: flex-end;
  1959. gap: var(--space-sm);
  1960. }
  1961. .float-cta-btn {
  1962. width: 52px;
  1963. height: 52px;
  1964. border-radius: 50%;
  1965. border: none;
  1966. background: var(--color-primary);
  1967. color: #fff;
  1968. cursor: pointer;
  1969. display: flex;
  1970. align-items: center;
  1971. justify-content: center;
  1972. box-shadow: 0 4px 16px rgba(74, 155, 215, .35);
  1973. transition: all var(--transition-fast);
  1974. position: relative;
  1975. }
  1976. .float-cta-btn:hover {
  1977. background: var(--color-primary-hover);
  1978. transform: scale(1.08);
  1979. box-shadow: 0 6px 24px rgba(74, 155, 215, .45);
  1980. }
  1981. .float-cta-btn:active {
  1982. transform: scale(.95);
  1983. }
  1984. .float-cta-popup {
  1985. position: absolute;
  1986. bottom: 64px;
  1987. right: 0;
  1988. opacity: 0;
  1989. visibility: hidden;
  1990. transform: translateY(8px) scale(.95);
  1991. transition: all var(--transition-normal);
  1992. transform-origin: bottom right;
  1993. }
  1994. .float-cta-popup.open {
  1995. opacity: 1;
  1996. visibility: visible;
  1997. transform: translateY(0) scale(1);
  1998. }
  1999. .float-cta-popup-inner {
  2000. background: var(--bg-surface);
  2001. border-radius: var(--radius-lg);
  2002. box-shadow: var(--shadow-xl);
  2003. padding: var(--space-lg);
  2004. text-align: center;
  2005. min-width: 200px;
  2006. position: relative;
  2007. }
  2008. .float-cta-close {
  2009. position: absolute;
  2010. top: 6px;
  2011. right: 10px;
  2012. border: none;
  2013. background: none;
  2014. font-size: 1.4rem;
  2015. color: var(--color-text-muted);
  2016. cursor: pointer;
  2017. line-height: 1;
  2018. padding: 4px;
  2019. }
  2020. .float-cta-close:hover {
  2021. color: var(--color-text-primary);
  2022. }
  2023. .float-cta-title {
  2024. font-size: var(--font-size-small);
  2025. font-weight: 600;
  2026. color: var(--color-text-primary);
  2027. margin-bottom: var(--space-sm);
  2028. }
  2029. .float-cta-qr {
  2030. margin: 0 auto var(--space-sm);
  2031. width: 72px;
  2032. height: 72px;
  2033. display: flex;
  2034. align-items: center;
  2035. justify-content: center;
  2036. background: var(--bg-body);
  2037. border-radius: var(--radius-sm);
  2038. }
  2039. .float-cta-tip {
  2040. font-size: var(--font-size-tiny);
  2041. color: var(--color-text-muted);
  2042. }
  2043. /* ----------------------------------------------------------
  2044. 24. Cookie Consent Banner
  2045. ---------------------------------------------------------- */
  2046. .cookie-consent {
  2047. position: fixed;
  2048. bottom: 0;
  2049. left: 0;
  2050. right: 0;
  2051. background: var(--color-text-primary);
  2052. color: #fff;
  2053. padding: var(--space-md) var(--space-xl);
  2054. display: flex;
  2055. align-items: center;
  2056. justify-content: center;
  2057. gap: var(--space-lg);
  2058. z-index: 1000;
  2059. transform: translateY(100%);
  2060. transition: transform var(--transition-normal);
  2061. flex-wrap: wrap;
  2062. }
  2063. .cookie-consent.visible {
  2064. transform: translateY(0);
  2065. }
  2066. .cookie-consent-text {
  2067. font-size: var(--font-size-small);
  2068. color: rgba(255, 255, 255, .85);
  2069. line-height: 1.5;
  2070. }
  2071. .cookie-consent-text a {
  2072. color: var(--color-accent);
  2073. text-decoration: underline;
  2074. }
  2075. .cookie-consent-btn {
  2076. background: var(--color-primary);
  2077. color: #fff;
  2078. border: none;
  2079. border-radius: var(--radius-full);
  2080. padding: .5em 1.5em;
  2081. font-size: var(--font-size-small);
  2082. cursor: pointer;
  2083. white-space: nowrap;
  2084. transition: background var(--transition-fast);
  2085. flex-shrink: 0;
  2086. }
  2087. .cookie-consent-btn:hover {
  2088. background: var(--color-primary-hover);
  2089. }
  2090. /* ----------------------------------------------------------
  2091. 25. Footer Enhancements
  2092. ---------------------------------------------------------- */
  2093. .footer-contact li {
  2094. font-size: var(--font-size-small);
  2095. color: var(--color-text-secondary);
  2096. line-height: 1.8;
  2097. }
  2098. .footer-legal {
  2099. margin-top: var(--space-xs);
  2100. font-size: var(--font-size-tiny);
  2101. color: var(--color-text-muted);
  2102. display: flex;
  2103. gap: var(--space-md);
  2104. justify-content: center;
  2105. flex-wrap: wrap;
  2106. }
  2107. .footer-legal a {
  2108. color: var(--color-text-muted);
  2109. text-decoration: underline;
  2110. }
  2111. .footer-legal a:hover {
  2112. color: var(--color-primary);
  2113. }
  2114. /* Responsive footer bottom on small screens */
  2115. @media (max-width: 480px) {
  2116. .footer-legal {
  2117. flex-direction: column;
  2118. gap: var(--space-xs);
  2119. align-items: center;
  2120. }
  2121. .float-cta {
  2122. bottom: 1rem;
  2123. right: 1rem;
  2124. }
  2125. .float-cta-btn {
  2126. width: 46px;
  2127. height: 46px;
  2128. }
  2129. .cookie-consent {
  2130. padding: var(--space-sm) var(--space-md);
  2131. flex-direction: column;
  2132. text-align: center;
  2133. }
  2134. }
  2135. /* ----------------------------------------------------------
  2136. 26. Knowledge Base Section
  2137. ---------------------------------------------------------- */
  2138. .section-knowledge {
  2139. background: var(--bg-section-alt);
  2140. }
  2141. .knowledge-grid {
  2142. display: grid;
  2143. grid-template-columns: repeat(2, 1fr);
  2144. gap: var(--space-xl);
  2145. margin-top: var(--space-xl);
  2146. }
  2147. .knowledge-card {
  2148. background: var(--bg-surface);
  2149. border-radius: var(--radius-lg);
  2150. overflow: hidden;
  2151. box-shadow: var(--shadow-sm);
  2152. transition: all var(--transition-normal);
  2153. display: flex;
  2154. flex-direction: column;
  2155. }
  2156. .knowledge-card:hover {
  2157. box-shadow: var(--shadow-md);
  2158. transform: translateY(-3px);
  2159. }
  2160. .knowledge-card-cover {
  2161. width: 100%;
  2162. height: 180px;
  2163. object-fit: cover;
  2164. background: var(--color-primary-light);
  2165. display: flex;
  2166. align-items: center;
  2167. justify-content: center;
  2168. color: var(--color-primary);
  2169. font-size: 2.5rem;
  2170. }
  2171. .knowledge-card-body {
  2172. padding: var(--space-lg);
  2173. flex: 1;
  2174. display: flex;
  2175. flex-direction: column;
  2176. }
  2177. .knowledge-card-category {
  2178. display: inline-block;
  2179. font-size: var(--font-size-tiny);
  2180. font-weight: 600;
  2181. color: var(--color-primary);
  2182. background: var(--color-primary-light);
  2183. padding: .2em .8em;
  2184. border-radius: var(--radius-full);
  2185. margin-bottom: var(--space-sm);
  2186. align-self: flex-start;
  2187. }
  2188. .knowledge-card-title {
  2189. font-size: 1.05rem;
  2190. font-weight: 700;
  2191. color: var(--color-text-primary);
  2192. line-height: 1.5;
  2193. margin-bottom: var(--space-sm);
  2194. display: -webkit-box;
  2195. -webkit-line-clamp: 2;
  2196. -webkit-box-orient: vertical;
  2197. overflow: hidden;
  2198. }
  2199. .knowledge-card-summary {
  2200. font-size: var(--font-size-small);
  2201. color: var(--color-text-secondary);
  2202. line-height: 1.7;
  2203. flex: 1;
  2204. display: -webkit-box;
  2205. -webkit-line-clamp: 3;
  2206. -webkit-box-orient: vertical;
  2207. overflow: hidden;
  2208. margin-bottom: var(--space-md);
  2209. }
  2210. .knowledge-card-meta {
  2211. font-size: var(--font-size-tiny);
  2212. color: var(--color-text-muted);
  2213. display: flex;
  2214. align-items: center;
  2215. gap: var(--space-md);
  2216. padding-top: var(--space-sm);
  2217. border-top: 1px solid var(--color-border-light);
  2218. }
  2219. .knowledge-card-meta .dimension-tag {
  2220. display: inline-block;
  2221. font-size: 10px;
  2222. font-weight: 600;
  2223. padding: .15em .5em;
  2224. border-radius: var(--radius-full);
  2225. color: #fff;
  2226. }
  2227. .knowledge-footer {
  2228. text-align: center;
  2229. margin-top: var(--space-2xl);
  2230. }
  2231. .knowledge-tip {
  2232. font-size: var(--font-size-small);
  2233. color: var(--color-text-muted);
  2234. }
  2235. .knowledge-tip strong {
  2236. color: var(--color-primary);
  2237. }
  2238. .knowledge-loading {
  2239. grid-column: 1 / -1;
  2240. text-align: center;
  2241. padding: var(--space-3xl) 0;
  2242. }
  2243. .knowledge-loading-text {
  2244. font-size: var(--font-size-small);
  2245. color: var(--color-text-muted);
  2246. }
  2247. .knowledge-error {
  2248. grid-column: 1 / -1;
  2249. text-align: center;
  2250. padding: var(--space-xl) 0;
  2251. color: var(--color-text-muted);
  2252. font-size: var(--font-size-small);
  2253. }
  2254. @media (max-width: 600px) {
  2255. .knowledge-grid {
  2256. grid-template-columns: 1fr;
  2257. }
  2258. .knowledge-card-cover {
  2259. height: 140px;
  2260. }
  2261. }
  2262. /* Responsive: Wuxing diagram — handled by aspect-ratio and Canvas redraw */
  2263. @media (max-width: 600px) {
  2264. .wuxing-diagram {
  2265. max-width: 360px;
  2266. }
  2267. }