style.css 45 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195
  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 mandatory;
  76. }
  77. /* All major sections snap to top when scrolling stops */
  78. section[id] {
  79. scroll-snap-align: start;
  80. scroll-snap-stop: always;
  81. }
  82. body {
  83. font-family: var(--font-family);
  84. font-size: var(--font-size-body);
  85. line-height: 1.6;
  86. color: var(--color-text-primary);
  87. background: var(--bg-body);
  88. -webkit-font-smoothing: antialiased;
  89. -moz-osx-font-smoothing: grayscale;
  90. overflow-x: hidden;
  91. }
  92. img { max-width: 100%; height: auto; display: block; }
  93. a { color: inherit; text-decoration: none; }
  94. ul { list-style: none; }
  95. /* ----------------------------------------------------------
  96. 2. Container
  97. ---------------------------------------------------------- */
  98. .container {
  99. width: 100%;
  100. max-width: var(--max-width);
  101. margin: 0 auto;
  102. padding: 0 var(--space-xl);
  103. }
  104. /* ----------------------------------------------------------
  105. 3. Header / Navigation
  106. ---------------------------------------------------------- */
  107. .site-header {
  108. position: fixed;
  109. top: 0;
  110. left: 0;
  111. right: 0;
  112. height: var(--header-height);
  113. background: rgba(245, 250, 254, .92);
  114. backdrop-filter: blur(16px) saturate(180%);
  115. -webkit-backdrop-filter: blur(16px) saturate(180%);
  116. border-bottom: 1px solid var(--color-border-light);
  117. z-index: 1000;
  118. transition: box-shadow var(--transition-normal);
  119. }
  120. .site-header.scrolled {
  121. box-shadow: var(--shadow-sm);
  122. }
  123. .header-inner {
  124. display: flex;
  125. align-items: center;
  126. justify-content: space-between;
  127. height: 100%;
  128. }
  129. /* Logo */
  130. .logo {
  131. display: flex;
  132. align-items: center;
  133. gap: var(--space-xs);
  134. font-weight: 700;
  135. font-size: 1.125rem;
  136. }
  137. .logo-icon { font-size: 1.5rem; }
  138. .logo-text {
  139. color: var(--color-text-primary);
  140. }
  141. .logo-tag {
  142. color: var(--color-primary);
  143. font-weight: 600;
  144. }
  145. /* Nav Toggle (Mobile) */
  146. .nav-toggle {
  147. display: none;
  148. flex-direction: column;
  149. gap: 5px;
  150. background: none;
  151. border: none;
  152. cursor: pointer;
  153. padding: 4px;
  154. z-index: 1001;
  155. }
  156. .nav-toggle span {
  157. display: block;
  158. width: 24px;
  159. height: 2px;
  160. background: var(--color-text-primary);
  161. border-radius: 2px;
  162. transition: var(--transition-fast);
  163. transform-origin: center;
  164. }
  165. .nav-toggle.active span:nth-child(1) {
  166. transform: translateY(7px) rotate(45deg);
  167. }
  168. .nav-toggle.active span:nth-child(2) {
  169. opacity: 0;
  170. }
  171. .nav-toggle.active span:nth-child(3) {
  172. transform: translateY(-7px) rotate(-45deg);
  173. }
  174. /* Nav List */
  175. .nav-list {
  176. display: flex;
  177. align-items: center;
  178. gap: var(--space-lg);
  179. }
  180. .nav-link {
  181. font-size: var(--font-size-small);
  182. font-weight: 500;
  183. color: var(--color-text-secondary);
  184. transition: color var(--transition-fast);
  185. position: relative;
  186. padding: var(--space-xs) 0;
  187. }
  188. .nav-link::after {
  189. content: '';
  190. position: absolute;
  191. bottom: 0;
  192. left: 0;
  193. width: 0;
  194. height: 2px;
  195. background: var(--color-primary);
  196. border-radius: 1px;
  197. transition: width var(--transition-normal);
  198. }
  199. .nav-link:hover,
  200. .nav-link.active {
  201. color: var(--color-primary);
  202. }
  203. .nav-link:hover::after,
  204. .nav-link.active::after {
  205. width: 100%;
  206. }
  207. /* Nav login button */
  208. .nav-login-btn {
  209. display: inline-flex;
  210. align-items: center;
  211. padding: .5rem 1.125rem;
  212. font-size: var(--font-size-tiny);
  213. font-weight: 600;
  214. color: #fff;
  215. background: var(--color-primary);
  216. border-radius: var(--radius-full);
  217. transition: all var(--transition-fast);
  218. margin-left: var(--space-md);
  219. white-space: nowrap;
  220. }
  221. .nav-login-btn:hover {
  222. background: var(--color-primary-hover);
  223. transform: translateY(-1px);
  224. box-shadow: 0 4px 12px rgba(74, 155, 215, .3);
  225. }
  226. /* ----------------------------------------------------------
  227. 4. Section Shell
  228. ---------------------------------------------------------- */
  229. .section {
  230. padding: var(--space-section) 0;
  231. }
  232. .section-header {
  233. text-align: center;
  234. max-width: 720px;
  235. margin: 0 auto var(--space-3xl);
  236. }
  237. .section-tag {
  238. display: inline-block;
  239. font-size: var(--font-size-tiny);
  240. font-weight: 600;
  241. letter-spacing: .08em;
  242. text-transform: uppercase;
  243. color: var(--color-primary);
  244. background: var(--color-primary-light);
  245. padding: .35em 1em;
  246. border-radius: var(--radius-full);
  247. margin-bottom: var(--space-md);
  248. }
  249. .section-title {
  250. font-size: var(--font-size-h1);
  251. font-weight: 700;
  252. line-height: 1.25;
  253. margin-bottom: var(--space-md);
  254. color: var(--color-text-primary);
  255. }
  256. .section-subtitle {
  257. font-size: 1.1rem;
  258. font-weight: 500;
  259. color: var(--color-primary);
  260. margin-bottom: var(--space-md);
  261. letter-spacing: .02em;
  262. }
  263. .section-desc {
  264. font-size: var(--font-size-body);
  265. color: var(--color-text-secondary);
  266. line-height: 1.7;
  267. max-width: 600px;
  268. margin: 0 auto;
  269. }
  270. /* ----------------------------------------------------------
  271. 5. Buttons
  272. ---------------------------------------------------------- */
  273. .btn {
  274. display: inline-flex;
  275. align-items: center;
  276. gap: var(--space-xs);
  277. padding: .75rem 1.75rem;
  278. font-family: var(--font-family);
  279. font-size: var(--font-size-small);
  280. font-weight: 600;
  281. border-radius: var(--radius-md);
  282. border: 2px solid transparent;
  283. cursor: pointer;
  284. transition: all var(--transition-fast);
  285. text-align: center;
  286. }
  287. .btn-primary {
  288. background: var(--color-primary);
  289. color: #fff;
  290. border-color: var(--color-primary);
  291. }
  292. .btn-primary:hover {
  293. background: var(--color-primary-hover);
  294. border-color: var(--color-primary-hover);
  295. transform: translateY(-2px);
  296. box-shadow: 0 8px 24px rgba(74, 155, 215, .35);
  297. }
  298. .btn-outline {
  299. background: var(--color-primary);
  300. color: #fff;
  301. border-color: var(--color-primary);
  302. }
  303. .btn-outline:hover {
  304. background: var(--color-primary-hover);
  305. border-color: var(--color-primary-hover);
  306. transform: translateY(-2px);
  307. }
  308. .btn-accent {
  309. background: linear-gradient(135deg, var(--color-primary) 0%, #6BB5E0 100%);
  310. color: #fff;
  311. border-color: var(--color-primary);
  312. box-shadow: 0 4px 16px rgba(74, 155, 215, .3);
  313. }
  314. .btn-accent:hover {
  315. transform: translateY(-2px);
  316. box-shadow: 0 8px 28px rgba(74, 155, 215, .45);
  317. background: linear-gradient(135deg, var(--color-primary-hover) 0%, #5DABD6 100%);
  318. }
  319. /* Hero service provider link */
  320. .hero-service-link {
  321. margin-top: var(--space-lg);
  322. font-size: var(--font-size-small);
  323. color: var(--color-text-muted);
  324. display: flex;
  325. align-items: center;
  326. gap: var(--space-xs);
  327. }
  328. .hero-service-link a {
  329. color: var(--color-primary);
  330. font-weight: 600;
  331. transition: color var(--transition-fast);
  332. }
  333. .hero-service-link a:hover {
  334. color: var(--color-primary-hover);
  335. text-decoration: underline;
  336. }
  337. /* Role card login button */
  338. .role-login-btn {
  339. display: inline-block;
  340. margin-top: var(--space-md);
  341. padding: .5rem 1.25rem;
  342. font-size: var(--font-size-tiny);
  343. font-weight: 600;
  344. color: #fff;
  345. background: var(--color-text-primary);
  346. border-radius: var(--radius-full);
  347. transition: all var(--transition-fast);
  348. }
  349. .role-login-btn:hover {
  350. background: var(--color-primary);
  351. transform: translateY(-1px);
  352. box-shadow: 0 4px 12px rgba(74, 155, 215, .25);
  353. }
  354. .role-teacher .role-login-btn:hover {
  355. background: #3B82F6;
  356. box-shadow: 0 4px 12px rgba(59, 130, 246, .3);
  357. }
  358. .role-admin .role-login-btn:hover {
  359. background: #6366F1;
  360. box-shadow: 0 4px 12px rgba(99, 102, 241, .3);
  361. }
  362. /* ----------------------------------------------------------
  363. 6. Hero Section
  364. ---------------------------------------------------------- */
  365. .hero {
  366. min-height: 100vh;
  367. display: flex;
  368. align-items: center;
  369. position: relative;
  370. padding-top: var(--header-height);
  371. overflow: hidden;
  372. }
  373. .hero-bg {
  374. position: absolute;
  375. inset: 0;
  376. background:
  377. radial-gradient(ellipse 80% 50% at 50% -10%, rgba(74, 155, 215, .10), transparent),
  378. radial-gradient(ellipse 60% 40% at 80% 80%, rgba(78, 205, 196, .08), transparent),
  379. radial-gradient(ellipse 50% 50% at 20% 70%, rgba(255, 217, 61, .06), transparent);
  380. pointer-events: none;
  381. }
  382. .hero-inner {
  383. display: grid;
  384. grid-template-columns: 1fr 1fr;
  385. gap: var(--space-3xl);
  386. align-items: center;
  387. position: relative;
  388. z-index: 1;
  389. }
  390. .hero-badge {
  391. display: inline-block;
  392. font-size: var(--font-size-tiny);
  393. font-weight: 600;
  394. letter-spacing: .06em;
  395. color: var(--color-primary);
  396. background: var(--color-primary-light);
  397. padding: .4em 1.2em;
  398. border-radius: var(--radius-full);
  399. margin-bottom: var(--space-lg);
  400. }
  401. .hero-title {
  402. font-size: var(--font-size-display);
  403. font-weight: 800;
  404. line-height: 1.15;
  405. margin-bottom: var(--space-lg);
  406. }
  407. .highlight {
  408. color: var(--color-primary);
  409. }
  410. .hero-desc {
  411. font-size: 1.0625rem;
  412. color: var(--color-text-secondary);
  413. line-height: 1.8;
  414. margin-bottom: var(--space-xl);
  415. max-width: 540px;
  416. }
  417. .hero-desc strong {
  418. color: var(--color-text-primary);
  419. }
  420. .hero-actions {
  421. display: flex;
  422. gap: var(--space-md);
  423. flex-wrap: wrap;
  424. }
  425. /* Hero Visual - Orbit Animation */
  426. .hero-visual {
  427. display: flex;
  428. justify-content: center;
  429. align-items: center;
  430. }
  431. .dimension-orbit {
  432. position: relative;
  433. width: 320px;
  434. height: 320px;
  435. display: flex;
  436. align-items: center;
  437. justify-content: center;
  438. }
  439. .orbit-center {
  440. width: 80px;
  441. height: 80px;
  442. border-radius: 50%;
  443. background: var(--color-primary);
  444. color: #fff;
  445. font-size: 1.5rem;
  446. font-weight: 700;
  447. display: flex;
  448. align-items: center;
  449. justify-content: center;
  450. box-shadow: 0 0 40px rgba(74, 155, 215, .3);
  451. position: relative;
  452. z-index: 2;
  453. animation: pulseCenter 3s ease-in-out infinite;
  454. }
  455. @keyframes pulseCenter {
  456. 0%, 100% { box-shadow: 0 0 40px rgba(74, 155, 215, .3); transform: scale(1); }
  457. 50% { box-shadow: 0 0 60px rgba(74, 155, 215, .5); transform: scale(1.05); }
  458. }
  459. .orbit-item {
  460. position: absolute;
  461. width: 56px;
  462. height: 56px;
  463. border-radius: 50%;
  464. background: var(--bg-surface);
  465. border: 2px solid var(--color-border-light);
  466. display: flex;
  467. align-items: center;
  468. justify-content: center;
  469. font-size: 1.25rem;
  470. font-weight: 700;
  471. color: var(--color-text-secondary);
  472. box-shadow: var(--shadow-sm);
  473. animation: orbit 12s linear infinite;
  474. animation-delay: calc(var(--i) * -2.4s);
  475. z-index: 1;
  476. }
  477. @keyframes orbit {
  478. 0% {
  479. transform: rotate(0deg) translateX(130px) rotate(0deg);
  480. }
  481. 100% {
  482. transform: rotate(360deg) translateX(130px) rotate(-360deg);
  483. }
  484. }
  485. .orbit-item:nth-child(2) { --i: 1; }
  486. .orbit-item:nth-child(3) { --i: 2; }
  487. .orbit-item:nth-child(4) { --i: 3; }
  488. .orbit-item:nth-child(5) { --i: 4; }
  489. /* Scroll Indicator */
  490. .scroll-indicator {
  491. position: absolute;
  492. bottom: var(--space-xl);
  493. left: 50%;
  494. transform: translateX(-50%);
  495. display: flex;
  496. flex-direction: column;
  497. align-items: center;
  498. gap: var(--space-xs);
  499. color: var(--color-text-muted);
  500. font-size: var(--font-size-tiny);
  501. animation: fadeInUp 1s ease 1s both;
  502. }
  503. .scroll-arrow {
  504. width: 20px;
  505. height: 20px;
  506. border-right: 2px solid var(--color-text-muted);
  507. border-bottom: 2px solid var(--color-text-muted);
  508. transform: rotate(45deg);
  509. animation: scrollBounce 2s ease-in-out infinite;
  510. }
  511. @keyframes scrollBounce {
  512. 0%, 100% { transform: rotate(45deg) translateY(0); opacity: .5; }
  513. 50% { transform: rotate(45deg) translateY(6px); opacity: 1; }
  514. }
  515. @keyframes fadeInUp {
  516. from { opacity: 0; transform: translateX(-50%) translateY(10px); }
  517. to { opacity: 1; transform: translateX(-50%) translateY(0); }
  518. }
  519. /* Stats Banner */
  520. .stats-banner {
  521. background: var(--bg-surface);
  522. padding: var(--space-2xl) 0;
  523. border-bottom: 1px solid var(--color-border-light);
  524. }
  525. .stats-banner .container {
  526. display: flex;
  527. justify-content: center;
  528. align-items: center;
  529. gap: var(--space-3xl);
  530. }
  531. .stats-item {
  532. text-align: center;
  533. display: flex;
  534. flex-direction: column;
  535. align-items: center;
  536. gap: var(--space-xs);
  537. }
  538. .stat-number {
  539. font-size: 2.5rem;
  540. font-weight: 800;
  541. color: var(--color-primary);
  542. line-height: 1.2;
  543. }
  544. .stat-label {
  545. font-size: var(--font-size-small);
  546. color: var(--color-text-secondary);
  547. font-weight: 500;
  548. }
  549. @media (max-width: 768px) {
  550. .stats-banner .container {
  551. flex-direction: column;
  552. gap: var(--space-xl);
  553. }
  554. .stat-number {
  555. font-size: 2rem;
  556. }
  557. }
  558. /* ----------------------------------------------------------
  559. 7. About Section
  560. ---------------------------------------------------------- */
  561. .section-about {
  562. background: var(--bg-surface);
  563. }
  564. .about-grid {
  565. display: grid;
  566. grid-template-columns: repeat(3, 1fr);
  567. gap: var(--space-xl);
  568. }
  569. .about-card {
  570. background: var(--bg-surface);
  571. border: 1px solid var(--color-border-light);
  572. border-radius: var(--radius-lg);
  573. padding: var(--space-2xl);
  574. text-align: center;
  575. transition: all var(--transition-normal);
  576. }
  577. .about-card:hover {
  578. transform: translateY(-4px);
  579. box-shadow: var(--shadow-md);
  580. border-color: transparent;
  581. }
  582. .about-icon {
  583. width: 72px;
  584. height: 72px;
  585. margin: 0 auto var(--space-lg);
  586. display: flex;
  587. align-items: center;
  588. justify-content: center;
  589. }
  590. .about-card h3 {
  591. font-size: var(--font-size-h3);
  592. margin-bottom: var(--space-sm);
  593. font-weight: 700;
  594. }
  595. .about-card p {
  596. color: var(--color-text-secondary);
  597. line-height: 1.7;
  598. font-size: var(--font-size-small);
  599. }
  600. /* ----------------------------------------------------------
  601. 8. Product Section
  602. ---------------------------------------------------------- */
  603. .section-product {
  604. background: linear-gradient(180deg, var(--bg-body) 0%, var(--color-primary-light) 100%);
  605. }
  606. .product-showcase {
  607. max-width: 800px;
  608. margin: 0 auto;
  609. }
  610. .product-quote {
  611. background: var(--bg-surface);
  612. border-left: 4px solid var(--color-primary);
  613. padding: var(--space-xl) var(--space-2xl);
  614. border-radius: 0 var(--radius-md) var(--radius-md) 0;
  615. margin-bottom: var(--space-2xl);
  616. box-shadow: var(--shadow-sm);
  617. }
  618. .product-quote p {
  619. font-size: 1.0625rem;
  620. line-height: 1.9;
  621. color: var(--color-text-secondary);
  622. font-style: italic;
  623. }
  624. .product-stats {
  625. display: grid;
  626. grid-template-columns: repeat(4, 1fr);
  627. gap: var(--space-lg);
  628. margin-bottom: var(--space-2xl);
  629. }
  630. .stat {
  631. text-align: center;
  632. padding: var(--space-lg);
  633. background: var(--bg-surface);
  634. border-radius: var(--radius-md);
  635. border: 1px solid var(--color-border-light);
  636. }
  637. .stat-link {
  638. display: block;
  639. text-decoration: none;
  640. color: inherit;
  641. transition: transform var(--transition-normal);
  642. }
  643. .stat-link:hover {
  644. transform: translateY(-3px);
  645. }
  646. .stat-num {
  647. display: block;
  648. font-size: 2rem;
  649. font-weight: 800;
  650. color: var(--color-primary);
  651. line-height: 1.2;
  652. margin-bottom: var(--space-xs);
  653. }
  654. .stat-label {
  655. font-size: var(--font-size-tiny);
  656. color: var(--color-text-secondary);
  657. font-weight: 500;
  658. }
  659. /* 幸福三支柱 */
  660. /* ----------------------------------------------------------
  661. 9. Footer
  662. ---------------------------------------------------------- */
  663. .section-products {
  664. background: linear-gradient(180deg, var(--color-primary-light) 0%, var(--bg-body) 100%);
  665. }
  666. .products-grid {
  667. display: grid;
  668. grid-template-columns: repeat(2, 1fr);
  669. gap: var(--space-xl);
  670. max-width: 920px;
  671. margin: 0 auto;
  672. }
  673. .product-card {
  674. background: var(--bg-surface);
  675. border-radius: var(--radius-lg);
  676. padding: var(--space-2xl);
  677. border: 1px solid var(--color-border-light);
  678. transition: all var(--transition-normal);
  679. position: relative;
  680. overflow: hidden;
  681. }
  682. .product-card::before {
  683. content: '';
  684. position: absolute;
  685. top: 0;
  686. left: 0;
  687. right: 0;
  688. height: 4px;
  689. background: var(--product-color, var(--color-primary));
  690. }
  691. .product-card:hover {
  692. transform: translateY(-4px);
  693. box-shadow: var(--shadow-md);
  694. border-color: transparent;
  695. }
  696. .product-card-icon {
  697. width: 56px;
  698. height: 56px;
  699. display: flex;
  700. align-items: center;
  701. justify-content: center;
  702. border-radius: var(--radius-md);
  703. background: var(--product-bg, var(--color-primary-light));
  704. margin-bottom: var(--space-md);
  705. }
  706. .product-card h3 {
  707. font-size: 1.1rem;
  708. font-weight: 700;
  709. color: var(--color-text-primary);
  710. margin-bottom: var(--space-xs);
  711. }
  712. .product-card .product-sub {
  713. font-size: var(--font-size-small);
  714. color: var(--product-color, var(--color-primary));
  715. font-weight: 600;
  716. margin-bottom: var(--space-sm);
  717. margin-top: -4px;
  718. }
  719. .product-card > p {
  720. font-size: var(--font-size-small);
  721. color: var(--color-text-secondary);
  722. line-height: 1.75;
  723. margin-bottom: var(--space-md);
  724. }
  725. .product-tags {
  726. display: flex;
  727. flex-wrap: wrap;
  728. gap: var(--space-xs);
  729. }
  730. .product-tags span {
  731. display: inline-block;
  732. padding: 2px 10px;
  733. font-size: var(--font-size-tiny);
  734. color: var(--product-color, var(--color-text-secondary));
  735. background: color-mix(in srgb, var(--product-color, var(--color-primary)) 10%, transparent);
  736. border-radius: 100px;
  737. font-weight: 500;
  738. }
  739. .product-plus {
  740. color: var(--product-color, var(--color-primary));
  741. font-weight: 700;
  742. }
  743. @media (max-width: 768px) {
  744. .products-grid {
  745. grid-template-columns: 1fr;
  746. gap: var(--space-lg);
  747. }
  748. }
  749. /* ----------------------------------------------------------
  750. 10. Dimensions Section
  751. ---------------------------------------------------------- */
  752. .section-dimensions {
  753. background: var(--bg-surface);
  754. }
  755. .dimension-grid {
  756. display: flex;
  757. flex-wrap: wrap;
  758. justify-content: center;
  759. gap: var(--space-xl);
  760. }
  761. .dimension-grid > .dimension-card {
  762. width: calc((100% - var(--space-xl) * 2) / 3);
  763. }
  764. .dimension-card {
  765. background: var(--bg-surface);
  766. border: 1px solid var(--color-border-light);
  767. border-radius: var(--radius-lg);
  768. padding: var(--space-2xl);
  769. position: relative;
  770. overflow: hidden;
  771. transition: all var(--transition-normal);
  772. }
  773. .dim-bg-illustration {
  774. position: absolute;
  775. bottom: 0;
  776. left: 0;
  777. width: 100%;
  778. height: 28%;
  779. pointer-events: none;
  780. opacity: 0.3;
  781. transition: opacity var(--transition-normal);
  782. mask-image: linear-gradient(to top, black 0%, black 50%, transparent 100%);
  783. -webkit-mask-image: linear-gradient(to top, black 0%, black 50%, transparent 100%);
  784. }
  785. .dim-bg-illustration svg {
  786. width: 100%;
  787. height: 100%;
  788. color: var(--dim-color);
  789. display: block;
  790. }
  791. .dimension-card:hover .dim-bg-illustration {
  792. opacity: 0.3;
  793. }
  794. .dimension-card::before {
  795. content: '';
  796. position: absolute;
  797. top: 0;
  798. left: 0;
  799. right: 0;
  800. height: 4px;
  801. background: var(--dim-color);
  802. opacity: .6;
  803. transition: opacity var(--transition-normal);
  804. }
  805. .dimension-card:hover {
  806. transform: translateY(-6px);
  807. box-shadow: var(--shadow-lg);
  808. border-color: transparent;
  809. }
  810. .dimension-card:hover::before {
  811. opacity: 1;
  812. }
  813. .dim-title {
  814. font-size: var(--font-size-h3);
  815. font-weight: 700;
  816. margin-bottom: var(--space-sm);
  817. display: flex;
  818. align-items: center;
  819. gap: var(--space-xs);
  820. }
  821. .dim-emoji {
  822. font-size: 1.5rem;
  823. }
  824. .dim-desc {
  825. font-size: var(--font-size-small);
  826. color: var(--color-text-secondary);
  827. line-height: 1.8;
  828. margin-bottom: var(--space-md);
  829. }
  830. .dim-points {
  831. display: flex;
  832. flex-wrap: wrap;
  833. gap: var(--space-xs);
  834. }
  835. .dim-points li {
  836. font-size: var(--font-size-tiny);
  837. font-weight: 500;
  838. color: var(--dim-color);
  839. background: var(--dim-bg);
  840. padding: .3em .9em;
  841. border-radius: var(--radius-full);
  842. }
  843. /* Make 2 items in last row centered */
  844. /* 5 items in 3-col grid: items 4 & 5 naturally wrap to row 2, cols 1 & 2 */
  845. /* ----------------------------------------------------------
  846. 11. Features Section
  847. ---------------------------------------------------------- */
  848. .section-features {
  849. background: var(--bg-section-alt);
  850. }
  851. .features-grid {
  852. display: grid;
  853. grid-template-columns: repeat(4, 1fr);
  854. gap: var(--space-lg);
  855. }
  856. .feature-card {
  857. background: var(--bg-surface);
  858. border: 1px solid var(--color-border-light);
  859. border-radius: var(--radius-lg);
  860. padding: var(--space-xl);
  861. transition: all var(--transition-normal);
  862. text-align: center;
  863. }
  864. .feature-card:hover {
  865. transform: translateY(-4px);
  866. box-shadow: var(--shadow-md);
  867. border-color: transparent;
  868. }
  869. .feature-icon {
  870. width: 56px;
  871. height: 56px;
  872. margin: 0 auto var(--space-md);
  873. display: flex;
  874. align-items: center;
  875. justify-content: center;
  876. border-radius: var(--radius-md);
  877. background: color-mix(in srgb, var(--fc) 10%, white);
  878. color: var(--fc);
  879. }
  880. .feature-card h3 {
  881. font-size: 1rem;
  882. font-weight: 700;
  883. margin-bottom: var(--space-sm);
  884. }
  885. .feature-card p {
  886. font-size: var(--font-size-small);
  887. color: var(--color-text-secondary);
  888. line-height: 1.7;
  889. }
  890. /* Loop flow — 科学成长闭环 */
  891. .loop-flow {
  892. display: flex;
  893. align-items: flex-start;
  894. justify-content: center;
  895. gap: var(--space-md);
  896. flex-wrap: wrap;
  897. }
  898. .loop-step {
  899. flex: 1;
  900. min-width: 200px;
  901. max-width: 260px;
  902. background: var(--bg-surface);
  903. border-radius: var(--radius-lg);
  904. padding: var(--space-xl) var(--space-lg);
  905. border: 1px solid var(--color-border-light);
  906. text-align: left;
  907. transition: transform .3s ease, box-shadow .3s ease;
  908. }
  909. .loop-step:hover {
  910. transform: translateY(-4px);
  911. box-shadow: var(--shadow-lg);
  912. }
  913. .loop-header {
  914. display: flex;
  915. align-items: center;
  916. gap: var(--space-sm);
  917. margin-bottom: var(--space-md);
  918. }
  919. .loop-icon {
  920. color: var(--step-color);
  921. flex-shrink: 0;
  922. display: flex;
  923. align-items: center;
  924. justify-content: center;
  925. width: 40px;
  926. height: 40px;
  927. border-radius: var(--radius-md);
  928. background: var(--step-bg);
  929. }
  930. .loop-step h3 {
  931. font-size: 1rem;
  932. font-weight: 700;
  933. color: var(--color-text-primary);
  934. margin-bottom: 0;
  935. }
  936. .loop-step p {
  937. font-size: var(--font-size-small);
  938. color: var(--color-text-secondary);
  939. line-height: 1.7;
  940. margin-bottom: var(--space-md);
  941. }
  942. .loop-tags {
  943. display: flex;
  944. flex-wrap: wrap;
  945. justify-content: flex-start;
  946. gap: .3em;
  947. }
  948. .loop-tags span {
  949. font-size: 11px;
  950. padding: .2em .6em;
  951. border-radius: var(--radius-full);
  952. background: var(--step-bg);
  953. color: var(--step-color);
  954. font-weight: 500;
  955. }
  956. .loop-arrow {
  957. font-size: 1.5rem;
  958. color: var(--color-text-muted);
  959. align-self: center;
  960. flex-shrink: 0;
  961. }
  962. @media (max-width: 900px) {
  963. .loop-flow {
  964. flex-direction: column;
  965. align-items: center;
  966. }
  967. .loop-arrow {
  968. transform: rotate(90deg);
  969. margin: 0;
  970. }
  971. }
  972. /* ----------------------------------------------------------
  973. 12. AI Technology Section
  974. ---------------------------------------------------------- */
  975. .section-ai-tech {
  976. background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-section-alt) 100%);
  977. }
  978. .ai-grid {
  979. display: grid;
  980. grid-template-columns: repeat(3, 1fr);
  981. gap: var(--space-xl);
  982. max-width: 1000px;
  983. margin: 0 auto;
  984. }
  985. .ai-card {
  986. background: var(--bg-surface);
  987. border-radius: var(--radius-lg);
  988. padding: var(--space-2xl);
  989. border: 1px solid var(--color-border-light);
  990. transition: all var(--transition-normal);
  991. position: relative;
  992. overflow: hidden;
  993. }
  994. .ai-card::before {
  995. content: '';
  996. position: absolute;
  997. top: 0;
  998. left: 0;
  999. right: 0;
  1000. height: 3px;
  1001. background: var(--ai-color, var(--color-primary));
  1002. opacity: .4;
  1003. transition: opacity var(--transition-normal);
  1004. }
  1005. .ai-card:hover {
  1006. transform: translateY(-4px);
  1007. box-shadow: var(--shadow-md);
  1008. border-color: transparent;
  1009. }
  1010. .ai-card:hover::before {
  1011. opacity: 1;
  1012. }
  1013. .ai-card-header {
  1014. display: flex;
  1015. align-items: center;
  1016. gap: var(--space-sm);
  1017. margin-bottom: var(--space-md);
  1018. }
  1019. .ai-card-icon {
  1020. width: 48px;
  1021. height: 48px;
  1022. display: flex;
  1023. align-items: center;
  1024. justify-content: center;
  1025. border-radius: var(--radius-md);
  1026. background: var(--ai-bg, var(--color-primary-light));
  1027. flex-shrink: 0;
  1028. }
  1029. .ai-card-badge {
  1030. display: inline-block;
  1031. padding: 2px 10px;
  1032. font-size: var(--font-size-tiny);
  1033. font-weight: 600;
  1034. color: var(--ai-color, var(--color-primary));
  1035. background: color-mix(in srgb, var(--ai-color, var(--color-primary)) 10%, white);
  1036. border-radius: 100px;
  1037. white-space: nowrap;
  1038. }
  1039. .ai-card h3 {
  1040. font-size: 1.05rem;
  1041. font-weight: 700;
  1042. color: var(--color-text-primary);
  1043. margin-bottom: var(--space-sm);
  1044. line-height: 1.4;
  1045. }
  1046. .ai-card p {
  1047. font-size: var(--font-size-small);
  1048. color: var(--color-text-secondary);
  1049. line-height: 1.8;
  1050. margin: 0;
  1051. }
  1052. @media (max-width: 900px) {
  1053. .ai-grid {
  1054. grid-template-columns: repeat(2, 1fr);
  1055. }
  1056. }
  1057. @media (max-width: 600px) {
  1058. .ai-grid {
  1059. grid-template-columns: 1fr;
  1060. }
  1061. }
  1062. /* ----------------------------------------------------------
  1063. 13. Roles Section
  1064. ---------------------------------------------------------- */
  1065. .section-roles {
  1066. background: var(--bg-surface);
  1067. }
  1068. .roles-flow {
  1069. display: flex;
  1070. align-items: stretch;
  1071. justify-content: center;
  1072. gap: var(--space-xl);
  1073. max-width: 960px;
  1074. margin: 0 auto;
  1075. }
  1076. .role-card {
  1077. flex: 1;
  1078. background: var(--bg-surface);
  1079. border: 1px solid var(--color-border-light);
  1080. border-radius: var(--radius-lg);
  1081. padding: var(--space-xl);
  1082. text-align: center;
  1083. position: relative;
  1084. transition: all var(--transition-normal);
  1085. }
  1086. .role-card:hover {
  1087. transform: translateY(-4px);
  1088. box-shadow: var(--shadow-md);
  1089. }
  1090. .role-badge {
  1091. display: inline-block;
  1092. font-size: var(--font-size-tiny);
  1093. font-weight: 600;
  1094. padding: .25em 1em;
  1095. border-radius: var(--radius-full);
  1096. margin-bottom: var(--space-md);
  1097. }
  1098. .role-parent .role-badge { background: var(--color-primary-light); color: var(--color-primary); }
  1099. .role-teacher .role-badge { background: #F0F7FF; color: #3B82F6; }
  1100. .role-admin .role-badge { background: #EEF0FF; color: #6366F1; }
  1101. .role-member-tag {
  1102. display: inline-block;
  1103. font-size: .7rem;
  1104. font-weight: 500;
  1105. color: var(--color-primary);
  1106. background: var(--color-primary-light);
  1107. padding: .15em .7em;
  1108. border-radius: var(--radius-full);
  1109. vertical-align: middle;
  1110. margin-left: .4em;
  1111. }
  1112. .role-icon {
  1113. margin-bottom: var(--space-md);
  1114. }
  1115. .role-card h3 {
  1116. font-size: var(--font-size-h3);
  1117. font-weight: 700;
  1118. margin-bottom: var(--space-sm);
  1119. }
  1120. .role-card > p {
  1121. font-size: var(--font-size-small);
  1122. color: var(--color-text-secondary);
  1123. line-height: 1.7;
  1124. margin-bottom: var(--space-md);
  1125. }
  1126. .role-perms {
  1127. text-align: left;
  1128. }
  1129. .role-perms li {
  1130. font-size: var(--font-size-tiny);
  1131. color: var(--color-text-secondary);
  1132. padding: .35em 0;
  1133. display: flex;
  1134. align-items: flex-start;
  1135. gap: var(--space-xs);
  1136. }
  1137. .role-perms li::before {
  1138. content: '';
  1139. width: 5px;
  1140. height: 5px;
  1141. border-radius: 50%;
  1142. background: var(--color-primary);
  1143. flex-shrink: 0;
  1144. margin-top: 7px;
  1145. }
  1146. .role-teacher .role-perms li::before { background: #3B82F6; }
  1147. .role-admin .role-perms li::before { background: #6366F1; }
  1148. /* 客户角色 — 小程序二维码 */
  1149. .role-qr {
  1150. margin-top: var(--space-lg);
  1151. padding-top: var(--space-md);
  1152. border-top: 1px solid var(--color-border-light);
  1153. display: flex;
  1154. flex-direction: column;
  1155. align-items: center;
  1156. gap: var(--space-xs);
  1157. }
  1158. .role-qr-code {
  1159. display: block;
  1160. width: 180px;
  1161. height: 180px;
  1162. border-radius: var(--radius-md);
  1163. box-shadow: 0 2px 8px rgba(0,0,0,.10);
  1164. transition: transform .3s ease, box-shadow .3s ease;
  1165. }
  1166. .role-qr-code:hover {
  1167. transform: scale(1.08);
  1168. box-shadow: 0 4px 16px rgba(0,0,0,.12);
  1169. }
  1170. .role-qr-label {
  1171. font-size: var(--font-size-tiny);
  1172. color: var(--color-text-secondary);
  1173. font-weight: 500;
  1174. letter-spacing: .05em;
  1175. }
  1176. .roles-connector {
  1177. display: flex;
  1178. flex-direction: column;
  1179. align-items: center;
  1180. gap: var(--space-xs);
  1181. color: var(--color-text-muted);
  1182. font-size: var(--font-size-tiny);
  1183. font-weight: 500;
  1184. flex-shrink: 0;
  1185. align-self: center;
  1186. }
  1187. .connector-arrow {
  1188. width: 2px;
  1189. height: 40px;
  1190. background: var(--color-border);
  1191. position: relative;
  1192. }
  1193. .connector-arrow::after {
  1194. content: '';
  1195. position: absolute;
  1196. bottom: -4px;
  1197. left: 50%;
  1198. transform: translateX(-50%);
  1199. border: 5px solid transparent;
  1200. border-top-color: var(--color-border);
  1201. }
  1202. /* ----------------------------------------------------------
  1203. 14. Contact Section
  1204. ---------------------------------------------------------- */
  1205. .section-contact {
  1206. background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-body) 100%);
  1207. }
  1208. .contact-grid {
  1209. display: grid;
  1210. grid-template-columns: 1fr 1fr;
  1211. gap: var(--space-3xl);
  1212. align-items: start;
  1213. max-width: 800px;
  1214. margin: 0 auto;
  1215. }
  1216. .contact-info {
  1217. display: flex;
  1218. flex-direction: column;
  1219. gap: var(--space-lg);
  1220. }
  1221. .contact-item {
  1222. display: flex;
  1223. align-items: flex-start;
  1224. gap: var(--space-md);
  1225. padding: var(--space-lg);
  1226. background: var(--bg-surface);
  1227. border-radius: var(--radius-md);
  1228. border: 1px solid var(--color-border-light);
  1229. }
  1230. .contact-item svg {
  1231. flex-shrink: 0;
  1232. margin-top: 2px;
  1233. }
  1234. .contact-item strong {
  1235. display: block;
  1236. font-size: var(--font-size-tiny);
  1237. color: var(--color-text-muted);
  1238. font-weight: 500;
  1239. text-transform: uppercase;
  1240. letter-spacing: .04em;
  1241. margin-bottom: 2px;
  1242. }
  1243. .contact-item span {
  1244. font-weight: 600;
  1245. color: var(--color-text-primary);
  1246. }
  1247. .contact-cta {
  1248. text-align: center;
  1249. padding: var(--space-2xl);
  1250. background: var(--bg-surface);
  1251. border-radius: var(--radius-lg);
  1252. border: 1px solid var(--color-border-light);
  1253. }
  1254. .contact-cta > p {
  1255. font-size: var(--font-size-h3);
  1256. font-weight: 700;
  1257. margin-bottom: var(--space-xs);
  1258. }
  1259. .cta-sub {
  1260. font-size: var(--font-size-small) !important;
  1261. font-weight: 400 !important;
  1262. color: var(--color-text-secondary);
  1263. margin-bottom: var(--space-xl) !important;
  1264. }
  1265. .cta-cards {
  1266. display: grid;
  1267. grid-template-columns: repeat(3, 1fr);
  1268. gap: var(--space-sm);
  1269. }
  1270. .cta-card {
  1271. display: flex;
  1272. flex-direction: column;
  1273. align-items: center;
  1274. gap: var(--space-xs);
  1275. padding: var(--space-md);
  1276. background: var(--bg-body);
  1277. border-radius: var(--radius-md);
  1278. font-size: var(--font-size-tiny);
  1279. font-weight: 600;
  1280. border: 1px solid var(--color-border-light);
  1281. transition: all var(--transition-fast);
  1282. }
  1283. .cta-card:hover {
  1284. border-color: var(--color-primary);
  1285. background: var(--color-primary-light);
  1286. }
  1287. .cta-card-icon {
  1288. font-size: 1.5rem;
  1289. }
  1290. .cta-card-desc {
  1291. font-weight: 400;
  1292. color: var(--color-text-muted);
  1293. font-size: var(--font-size-tiny);
  1294. }
  1295. /* Testimonials Section */
  1296. .section-testimonials { background: var(--bg-section-alt); }
  1297. .testimonials-grid {
  1298. display: grid;
  1299. grid-template-columns: repeat(3, 1fr);
  1300. gap: var(--space-lg);
  1301. max-width: 960px;
  1302. margin: 0 auto;
  1303. }
  1304. .testimonial-card {
  1305. background: var(--bg-surface);
  1306. border: 1px solid var(--color-border-light);
  1307. border-radius: var(--radius-lg);
  1308. padding: var(--space-xl);
  1309. border-left: 4px solid var(--color-primary);
  1310. transition: all var(--transition-normal);
  1311. }
  1312. .testimonial-card:hover {
  1313. transform: translateY(-4px);
  1314. box-shadow: var(--shadow-md);
  1315. border-color: transparent;
  1316. border-left-color: var(--color-primary);
  1317. }
  1318. .testimonial-stars { display: flex; gap: 2px; margin-bottom: var(--space-md); }
  1319. .testimonial-text {
  1320. font-size: var(--font-size-small);
  1321. color: var(--color-text-secondary);
  1322. line-height: 1.8;
  1323. font-style: italic;
  1324. margin-bottom: var(--space-lg);
  1325. }
  1326. .testimonial-author {
  1327. border-top: 1px solid var(--color-border-light);
  1328. padding-top: var(--space-md);
  1329. }
  1330. .testimonial-name { font-size: var(--font-size-tiny); font-weight: 600; color: var(--color-text-primary); }
  1331. @media (max-width: 900px) { .testimonials-grid { grid-template-columns: repeat(2, 1fr); } }
  1332. @media (max-width: 600px) { .testimonials-grid { grid-template-columns: 1fr; } }
  1333. /* ----------------------------------------------------------
  1334. 14.5. FAQ Section
  1335. ---------------------------------------------------------- */
  1336. .section-faq {
  1337. background: var(--bg-section-alt);
  1338. }
  1339. .faq-list {
  1340. max-width: 800px;
  1341. margin: 0 auto;
  1342. display: flex;
  1343. flex-direction: column;
  1344. gap: var(--space-md);
  1345. }
  1346. .faq-item {
  1347. background: var(--bg-surface);
  1348. border: 1px solid var(--color-border-light);
  1349. border-radius: var(--radius-md);
  1350. overflow: hidden;
  1351. transition: all var(--transition-normal);
  1352. }
  1353. .faq-item:hover {
  1354. border-color: var(--color-primary);
  1355. box-shadow: var(--shadow-sm);
  1356. }
  1357. .faq-item[open] {
  1358. border-color: var(--color-primary);
  1359. box-shadow: var(--shadow-md);
  1360. }
  1361. .faq-item > summary {
  1362. padding: var(--space-lg) var(--space-xl);
  1363. font-weight: 600;
  1364. font-size: var(--font-size-body);
  1365. color: var(--color-text-primary);
  1366. cursor: pointer;
  1367. list-style: none;
  1368. display: flex;
  1369. align-items: center;
  1370. justify-content: space-between;
  1371. gap: var(--space-md);
  1372. transition: color var(--transition-fast);
  1373. }
  1374. .faq-item > summary::-webkit-details-marker {
  1375. display: none;
  1376. }
  1377. .faq-item > summary::after {
  1378. content: '+';
  1379. font-size: 1.25rem;
  1380. font-weight: 700;
  1381. color: var(--color-primary);
  1382. flex-shrink: 0;
  1383. transition: transform var(--transition-fast);
  1384. }
  1385. .faq-item[open] > summary::after {
  1386. content: '−';
  1387. }
  1388. .faq-item > summary:hover {
  1389. color: var(--color-primary);
  1390. }
  1391. .faq-answer {
  1392. padding: 0 var(--space-xl) var(--space-lg);
  1393. font-size: var(--font-size-small);
  1394. color: var(--color-text-secondary);
  1395. line-height: 1.8;
  1396. border-top: 1px solid var(--color-border-light);
  1397. padding-top: var(--space-md);
  1398. }
  1399. @media (max-width: 768px) {
  1400. .faq-item > summary {
  1401. padding: var(--space-md) var(--space-lg);
  1402. font-size: var(--font-size-small);
  1403. }
  1404. .faq-answer {
  1405. padding: 0 var(--space-lg) var(--space-md);
  1406. font-size: var(--font-size-tiny);
  1407. }
  1408. }
  1409. /* ----------------------------------------------------------
  1410. 15. Footer
  1411. ---------------------------------------------------------- */
  1412. .site-footer {
  1413. background: var(--color-text-primary);
  1414. color: #fff;
  1415. padding: var(--space-3xl) 0 0;
  1416. }
  1417. .footer-inner {
  1418. display: flex;
  1419. justify-content: space-between;
  1420. gap: var(--space-3xl);
  1421. padding-bottom: var(--space-2xl);
  1422. border-bottom: 1px solid rgba(255, 255, 255, .1);
  1423. }
  1424. .footer-brand .logo-text {
  1425. color: #fff;
  1426. font-size: 1.25rem;
  1427. font-weight: 700;
  1428. }
  1429. .footer-brand .logo-tag {
  1430. color: var(--color-primary);
  1431. font-weight: 600;
  1432. font-size: 1.25rem;
  1433. }
  1434. .footer-brand p {
  1435. color: rgba(255, 255, 255, .6);
  1436. font-size: var(--font-size-small);
  1437. margin-top: var(--space-sm);
  1438. max-width: 300px;
  1439. line-height: 1.7;
  1440. }
  1441. .footer-links {
  1442. display: flex;
  1443. gap: var(--space-3xl);
  1444. }
  1445. .footer-col h4 {
  1446. font-size: var(--font-size-tiny);
  1447. font-weight: 600;
  1448. text-transform: uppercase;
  1449. letter-spacing: .06em;
  1450. color: rgba(255, 255, 255, .5);
  1451. margin-bottom: var(--space-md);
  1452. }
  1453. .footer-col ul li {
  1454. margin-bottom: var(--space-sm);
  1455. }
  1456. .footer-col ul li a {
  1457. font-size: var(--font-size-small);
  1458. color: rgba(255, 255, 255, .7);
  1459. transition: color var(--transition-fast);
  1460. }
  1461. .footer-col ul li a:hover {
  1462. color: var(--color-primary);
  1463. }
  1464. .footer-bottom {
  1465. text-align: center;
  1466. padding: var(--space-lg) 0;
  1467. }
  1468. .footer-bottom p {
  1469. font-size: var(--font-size-tiny);
  1470. color: rgba(255, 255, 255, .4);
  1471. }
  1472. /* ----------------------------------------------------------
  1473. 16. Scroll Animations (AOS-like)
  1474. ---------------------------------------------------------- */
  1475. .reveal {
  1476. opacity: 0;
  1477. transform: translateY(30px);
  1478. transition: opacity .6s ease, transform .6s cubic-bezier(.4, 0, .2, 1);
  1479. }
  1480. .reveal.visible {
  1481. opacity: 1;
  1482. transform: translateY(0);
  1483. }
  1484. /* ----------------------------------------------------------
  1485. 17. Responsive - Tablet
  1486. ---------------------------------------------------------- */
  1487. @media (max-width: 1024px) {
  1488. .hero-inner {
  1489. grid-template-columns: 1fr;
  1490. text-align: center;
  1491. }
  1492. .hero-desc {
  1493. margin-left: auto;
  1494. margin-right: auto;
  1495. }
  1496. .hero-actions {
  1497. justify-content: center;
  1498. }
  1499. .hero-visual {
  1500. display: none;
  1501. }
  1502. .dimension-grid > .dimension-card {
  1503. width: calc((100% - var(--space-xl)) / 2);
  1504. }
  1505. .features-grid {
  1506. grid-template-columns: repeat(2, 1fr);
  1507. }
  1508. .roles-flow {
  1509. gap: var(--space-md);
  1510. }
  1511. .role-card {
  1512. padding: var(--space-lg) var(--space-md);
  1513. }
  1514. .roles-connector {
  1515. flex-direction: row;
  1516. gap: 0;
  1517. }
  1518. .connector-arrow {
  1519. width: 40px;
  1520. height: 2px;
  1521. }
  1522. .connector-arrow::after {
  1523. top: 50%;
  1524. left: auto;
  1525. right: -4px;
  1526. bottom: auto;
  1527. transform: translateY(-50%);
  1528. border: 5px solid transparent;
  1529. border-left-color: var(--color-border);
  1530. border-top-color: transparent;
  1531. }
  1532. .contact-grid {
  1533. grid-template-columns: 1fr;
  1534. }
  1535. .product-stats {
  1536. grid-template-columns: repeat(2, 1fr);
  1537. }
  1538. }
  1539. /* ----------------------------------------------------------
  1540. 18. Responsive - Mobile
  1541. ---------------------------------------------------------- */
  1542. @media (max-width: 768px) {
  1543. :root {
  1544. --space-section: 3.5rem;
  1545. --header-height: 56px;
  1546. }
  1547. .container {
  1548. padding: 0 var(--space-md);
  1549. }
  1550. /* Mobile Nav */
  1551. .nav-toggle {
  1552. display: flex;
  1553. }
  1554. .nav {
  1555. position: fixed;
  1556. top: var(--header-height);
  1557. left: 0;
  1558. right: 0;
  1559. background: rgba(255, 249, 240, .98);
  1560. backdrop-filter: blur(16px);
  1561. -webkit-backdrop-filter: blur(16px);
  1562. border-bottom: 1px solid var(--color-border-light);
  1563. padding: var(--space-lg);
  1564. transform: translateY(-110%);
  1565. opacity: 0;
  1566. transition: all var(--transition-normal);
  1567. pointer-events: none;
  1568. }
  1569. .nav.open {
  1570. transform: translateY(0);
  1571. opacity: 1;
  1572. pointer-events: auto;
  1573. }
  1574. .nav-list {
  1575. flex-direction: column;
  1576. gap: 0;
  1577. }
  1578. .nav-link {
  1579. display: block;
  1580. padding: var(--space-md) 0;
  1581. border-bottom: 1px solid var(--color-border-light);
  1582. width: 100%;
  1583. }
  1584. .nav-link::after {
  1585. display: none;
  1586. }
  1587. /* Hero */
  1588. .hero-title {
  1589. font-size: clamp(1.75rem, 7vw, 2.5rem);
  1590. }
  1591. .hero-desc {
  1592. font-size: var(--font-size-small);
  1593. }
  1594. .hero-actions {
  1595. flex-direction: column;
  1596. align-items: stretch;
  1597. }
  1598. .btn {
  1599. justify-content: center;
  1600. }
  1601. /* Grids */
  1602. .about-grid {
  1603. grid-template-columns: 1fr;
  1604. }
  1605. .dimension-grid > .dimension-card {
  1606. width: 100%;
  1607. }
  1608. .features-grid {
  1609. grid-template-columns: 1fr;
  1610. }
  1611. .contact-grid {
  1612. grid-template-columns: 1fr;
  1613. }
  1614. .product-stats {
  1615. grid-template-columns: repeat(2, 1fr);
  1616. }
  1617. .cta-cards {
  1618. grid-template-columns: 1fr;
  1619. }
  1620. .footer-inner {
  1621. flex-direction: column;
  1622. gap: var(--space-xl);
  1623. }
  1624. .footer-links {
  1625. gap: var(--space-xl);
  1626. }
  1627. .product-quote {
  1628. padding: var(--space-md) var(--space-lg);
  1629. }
  1630. .product-quote p {
  1631. font-size: var(--font-size-small);
  1632. }
  1633. .stat-num {
  1634. font-size: 1.5rem;
  1635. }
  1636. /* Roles row — tighter spacing */
  1637. .roles-flow {
  1638. gap: var(--space-sm);
  1639. }
  1640. .role-card {
  1641. padding: var(--space-md);
  1642. }
  1643. .role-card h3 {
  1644. font-size: calc(var(--font-size-h3) * 0.85);
  1645. }
  1646. .role-perms li {
  1647. font-size: calc(var(--font-size-tiny) * 0.9);
  1648. }
  1649. .role-qr-code {
  1650. width: 150px;
  1651. height: 150px;
  1652. }
  1653. }
  1654. @media (max-width: 480px) {
  1655. .product-stats {
  1656. grid-template-columns: repeat(2, 1fr);
  1657. gap: var(--space-sm);
  1658. }
  1659. .stat {
  1660. padding: var(--space-md);
  1661. }
  1662. .roles-flow {
  1663. flex-direction: column;
  1664. gap: var(--space-md);
  1665. }
  1666. .roles-connector {
  1667. flex-direction: column;
  1668. gap: var(--space-xs);
  1669. }
  1670. .connector-arrow {
  1671. width: 2px;
  1672. height: 40px;
  1673. }
  1674. .connector-arrow::after {
  1675. top: auto;
  1676. left: 50%;
  1677. right: auto;
  1678. bottom: -4px;
  1679. transform: translateX(-50%);
  1680. border: 5px solid transparent;
  1681. border-top-color: var(--color-border);
  1682. border-left-color: transparent;
  1683. }
  1684. .footer-links {
  1685. flex-direction: column;
  1686. gap: var(--space-lg);
  1687. }
  1688. }
  1689. /* ----------------------------------------------------------
  1690. 19. Logo
  1691. ---------------------------------------------------------- */
  1692. .logo-img {
  1693. display: block;
  1694. flex-shrink: 0;
  1695. border-radius: 8px;
  1696. width: 36px;
  1697. height: 36px;
  1698. object-fit: contain;
  1699. }
  1700. .footer-logo-img {
  1701. display: block;
  1702. flex-shrink: 0;
  1703. border-radius: 10px;
  1704. margin-bottom: var(--space-xs);
  1705. object-fit: contain;
  1706. }
  1707. /* ----------------------------------------------------------
  1708. 20. Wuxing Philosophy Section
  1709. ---------------------------------------------------------- */
  1710. .section-wuxing {
  1711. background: linear-gradient(180deg, var(--bg-body) 0%, var(--bg-surface) 100%);
  1712. }
  1713. /* --- Diagram --- */
  1714. .wuxing-diagram {
  1715. position: relative;
  1716. width: 100%;
  1717. max-width: 480px;
  1718. aspect-ratio: 1;
  1719. margin: 0 auto var(--space-3xl);
  1720. }
  1721. .wuxing-diagram canvas {
  1722. display: block;
  1723. width: 100%;
  1724. height: 100%;
  1725. }
  1726. .wuxing-diagram .taiji-center {
  1727. position: absolute;
  1728. top: 50%;
  1729. left: 50%;
  1730. transform: translate(-50%, -50%);
  1731. pointer-events: none;
  1732. z-index: 1;
  1733. color: var(--color-text-secondary);
  1734. }
  1735. .wuxing-diagram .taiji-svg {
  1736. display: block;
  1737. animation: taiji-rotate 24s linear infinite;
  1738. }
  1739. @keyframes taiji-rotate {
  1740. to { transform: rotate(360deg); }
  1741. }
  1742. /* --- Explanation Cards --- */
  1743. .wuxing-explanations {
  1744. max-width: 960px;
  1745. margin: 0 auto;
  1746. }
  1747. .we-section {
  1748. margin-bottom: var(--space-2xl);
  1749. }
  1750. .we-section:last-child {
  1751. margin-bottom: 0;
  1752. }
  1753. .we-title {
  1754. font-size: var(--font-size-h3);
  1755. font-weight: 700;
  1756. margin-bottom: var(--space-xs);
  1757. }
  1758. .we-sheng {
  1759. color: var(--color-secondary);
  1760. }
  1761. .we-ke {
  1762. color: var(--color-primary);
  1763. }
  1764. .we-subtitle {
  1765. font-size: var(--font-size-small);
  1766. color: var(--color-text-secondary);
  1767. margin-bottom: var(--space-lg);
  1768. }
  1769. .we-grid {
  1770. display: grid;
  1771. grid-template-columns: repeat(5, 1fr);
  1772. gap: var(--space-md);
  1773. }
  1774. .wuxing-card {
  1775. background: var(--bg-surface);
  1776. border: 1px solid var(--color-border-light);
  1777. border-radius: var(--radius-md);
  1778. padding: var(--space-lg);
  1779. text-align: center;
  1780. transition: all var(--transition-normal);
  1781. position: relative;
  1782. overflow: hidden;
  1783. }
  1784. .wuxing-card::before {
  1785. content: '';
  1786. position: absolute;
  1787. top: 0;
  1788. left: 0;
  1789. right: 0;
  1790. height: 3px;
  1791. background: var(--wc-color);
  1792. opacity: .5;
  1793. transition: opacity var(--transition-normal);
  1794. }
  1795. .wuxing-card:hover {
  1796. transform: translateY(-4px);
  1797. box-shadow: var(--shadow-md);
  1798. border-color: transparent;
  1799. }
  1800. .wuxing-card:hover::before {
  1801. opacity: 1;
  1802. }
  1803. .wc-arrow {
  1804. display: inline-block;
  1805. font-size: var(--font-size-tiny);
  1806. font-weight: 700;
  1807. color: var(--wc-color);
  1808. padding: .15em .6em;
  1809. border-radius: var(--radius-full);
  1810. background: color-mix(in srgb, var(--wc-color) 10%, white);
  1811. margin-bottom: var(--space-sm);
  1812. }
  1813. .wuxing-card h4 {
  1814. font-size: 1rem;
  1815. font-weight: 700;
  1816. margin-bottom: var(--space-xs);
  1817. color: var(--color-text-primary);
  1818. }
  1819. .wuxing-card p {
  1820. font-size: var(--font-size-tiny);
  1821. color: var(--color-text-secondary);
  1822. line-height: 1.6;
  1823. }
  1824. @media (max-width: 1024px) {
  1825. .we-grid {
  1826. grid-template-columns: repeat(3, 1fr);
  1827. }
  1828. }
  1829. @media (max-width: 600px) {
  1830. .we-grid {
  1831. grid-template-columns: repeat(2, 1fr);
  1832. }
  1833. }
  1834. @media (max-width: 480px) {
  1835. .we-grid {
  1836. grid-template-columns: 1fr;
  1837. }
  1838. }
  1839. /* Mobile: prevent dimension title wrapping */
  1840. @media (max-width: 600px) {
  1841. .dim-title {
  1842. font-size: 1rem;
  1843. flex-wrap: wrap;
  1844. }
  1845. .dim-emoji {
  1846. font-size: 1.2rem;
  1847. }
  1848. .dim-element {
  1849. font-size: 9px;
  1850. }
  1851. }
  1852. /* ----------------------------------------------------------
  1853. 21. Dimension Energy Tips
  1854. ---------------------------------------------------------- */
  1855. .dim-energy {
  1856. margin-top: var(--space-md);
  1857. padding-top: var(--space-md);
  1858. border-top: 1px dashed var(--color-border-light);
  1859. }
  1860. .dim-energy h4 {
  1861. font-size: var(--font-size-small);
  1862. font-weight: 700;
  1863. color: var(--dim-color);
  1864. margin-bottom: var(--space-sm);
  1865. }
  1866. .dim-energy ul {
  1867. display: flex;
  1868. flex-direction: column;
  1869. gap: var(--space-xs);
  1870. }
  1871. .dim-energy ul li {
  1872. font-size: var(--font-size-tiny);
  1873. color: var(--color-text-secondary);
  1874. padding: .25em 0;
  1875. display: flex;
  1876. align-items: center;
  1877. gap: var(--space-xs);
  1878. }
  1879. .dim-energy ul li::before {
  1880. content: '✦';
  1881. color: var(--dim-color);
  1882. font-size: 10px;
  1883. flex-shrink: 0;
  1884. }
  1885. /* Dim element badge */
  1886. .dim-element {
  1887. display: inline-block;
  1888. font-size: 10px;
  1889. font-weight: 600;
  1890. color: #fff;
  1891. padding: .15em .6em;
  1892. border-radius: var(--radius-full);
  1893. margin-left: var(--space-xs);
  1894. vertical-align: middle;
  1895. letter-spacing: .04em;
  1896. white-space: nowrap;
  1897. }
  1898. /* Prevent role name (家长/孩子/成长规划师) from breaking across lines */
  1899. .role-perms li strong {
  1900. white-space: nowrap;
  1901. }
  1902. /* Responsive: Wuxing diagram — handled by aspect-ratio and Canvas redraw */
  1903. @media (max-width: 600px) {
  1904. .wuxing-diagram {
  1905. max-width: 360px;
  1906. }
  1907. }