style.css 40 KB

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