style.css 45 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214
  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: #EEF5FB;
  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: #1a4a6e;
  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. .contact-qr img {
  1296. width: 200px;
  1297. height: auto;
  1298. border-radius: var(--radius-md);
  1299. display: block;
  1300. margin: 0 auto;
  1301. }
  1302. .contact-qr span {
  1303. display: block;
  1304. margin-top: var(--space-sm);
  1305. font-size: var(--font-size-tiny);
  1306. color: var(--color-text-muted);
  1307. }
  1308. @media (max-width: 768px) {
  1309. .contact-qr img {
  1310. width: 160px;
  1311. }
  1312. }
  1313. /* Testimonials Section */
  1314. .section-testimonials { background: var(--bg-section-alt); }
  1315. .testimonials-grid {
  1316. display: grid;
  1317. grid-template-columns: repeat(3, 1fr);
  1318. gap: var(--space-lg);
  1319. max-width: 960px;
  1320. margin: 0 auto;
  1321. }
  1322. .testimonial-card {
  1323. background: var(--bg-surface);
  1324. border: 1px solid var(--color-border-light);
  1325. border-radius: var(--radius-lg);
  1326. padding: var(--space-xl);
  1327. border-left: 4px solid var(--color-primary);
  1328. transition: all var(--transition-normal);
  1329. }
  1330. .testimonial-card:hover {
  1331. transform: translateY(-4px);
  1332. box-shadow: var(--shadow-md);
  1333. border-color: transparent;
  1334. border-left-color: var(--color-primary);
  1335. }
  1336. .testimonial-stars { display: flex; gap: 2px; margin-bottom: var(--space-md); }
  1337. .testimonial-text {
  1338. font-size: var(--font-size-small);
  1339. color: var(--color-text-secondary);
  1340. line-height: 1.8;
  1341. font-style: italic;
  1342. margin-bottom: var(--space-lg);
  1343. }
  1344. .testimonial-author {
  1345. border-top: 1px solid var(--color-border-light);
  1346. padding-top: var(--space-md);
  1347. }
  1348. .testimonial-name { font-size: var(--font-size-tiny); font-weight: 600; color: var(--color-text-primary); }
  1349. @media (max-width: 900px) { .testimonials-grid { grid-template-columns: repeat(2, 1fr); } }
  1350. @media (max-width: 600px) { .testimonials-grid { grid-template-columns: 1fr; } }
  1351. /* ----------------------------------------------------------
  1352. 14.5. FAQ Section
  1353. ---------------------------------------------------------- */
  1354. .section-faq {
  1355. background: var(--bg-section-alt);
  1356. }
  1357. .faq-list {
  1358. max-width: 800px;
  1359. margin: 0 auto;
  1360. display: flex;
  1361. flex-direction: column;
  1362. gap: var(--space-md);
  1363. }
  1364. .faq-item {
  1365. background: var(--bg-surface);
  1366. border: 1px solid var(--color-border-light);
  1367. border-radius: var(--radius-md);
  1368. overflow: hidden;
  1369. transition: all var(--transition-normal);
  1370. }
  1371. .faq-item:hover {
  1372. border-color: var(--color-primary);
  1373. box-shadow: var(--shadow-sm);
  1374. }
  1375. .faq-item[open] {
  1376. border-color: var(--color-primary);
  1377. box-shadow: var(--shadow-md);
  1378. }
  1379. .faq-item > summary {
  1380. padding: var(--space-lg) var(--space-xl);
  1381. font-weight: 600;
  1382. font-size: var(--font-size-body);
  1383. color: var(--color-text-primary);
  1384. cursor: pointer;
  1385. list-style: none;
  1386. display: flex;
  1387. align-items: center;
  1388. justify-content: space-between;
  1389. gap: var(--space-md);
  1390. transition: color var(--transition-fast);
  1391. }
  1392. .faq-item > summary::-webkit-details-marker {
  1393. display: none;
  1394. }
  1395. .faq-item > summary::after {
  1396. content: '+';
  1397. font-size: 1.25rem;
  1398. font-weight: 700;
  1399. color: var(--color-primary);
  1400. flex-shrink: 0;
  1401. transition: transform var(--transition-fast);
  1402. }
  1403. .faq-item[open] > summary::after {
  1404. content: '−';
  1405. }
  1406. .faq-item > summary:hover {
  1407. color: var(--color-primary);
  1408. }
  1409. .faq-answer {
  1410. padding: 0 var(--space-xl) var(--space-lg);
  1411. font-size: var(--font-size-small);
  1412. color: var(--color-text-secondary);
  1413. line-height: 1.8;
  1414. border-top: 1px solid var(--color-border-light);
  1415. padding-top: var(--space-md);
  1416. }
  1417. @media (max-width: 768px) {
  1418. .faq-item > summary {
  1419. padding: var(--space-md) var(--space-lg);
  1420. font-size: var(--font-size-small);
  1421. }
  1422. .faq-answer {
  1423. padding: 0 var(--space-lg) var(--space-md);
  1424. font-size: var(--font-size-tiny);
  1425. }
  1426. }
  1427. /* ----------------------------------------------------------
  1428. 15. Footer
  1429. ---------------------------------------------------------- */
  1430. .site-footer {
  1431. background: var(--color-text-primary);
  1432. color: #fff;
  1433. padding: var(--space-3xl) 0 0;
  1434. }
  1435. .footer-inner {
  1436. display: flex;
  1437. justify-content: space-between;
  1438. gap: var(--space-3xl);
  1439. padding-bottom: var(--space-2xl);
  1440. border-bottom: 1px solid rgba(255, 255, 255, .1);
  1441. }
  1442. .footer-brand .logo-text {
  1443. color: #fff;
  1444. font-size: 1.25rem;
  1445. font-weight: 700;
  1446. }
  1447. .footer-brand .logo-tag {
  1448. color: var(--color-primary);
  1449. font-weight: 600;
  1450. font-size: 1.25rem;
  1451. }
  1452. .footer-brand p {
  1453. color: rgba(255, 255, 255, .6);
  1454. font-size: var(--font-size-small);
  1455. margin-top: var(--space-sm);
  1456. max-width: 300px;
  1457. line-height: 1.7;
  1458. }
  1459. .footer-links {
  1460. display: flex;
  1461. gap: var(--space-3xl);
  1462. }
  1463. .footer-col h4 {
  1464. font-size: var(--font-size-tiny);
  1465. font-weight: 600;
  1466. text-transform: uppercase;
  1467. letter-spacing: .06em;
  1468. color: rgba(255, 255, 255, .5);
  1469. margin-bottom: var(--space-md);
  1470. }
  1471. .footer-col ul li {
  1472. margin-bottom: var(--space-sm);
  1473. }
  1474. .footer-col ul li a {
  1475. font-size: var(--font-size-small);
  1476. color: rgba(255, 255, 255, .7);
  1477. transition: color var(--transition-fast);
  1478. }
  1479. .footer-col ul li a:hover {
  1480. color: var(--color-primary);
  1481. }
  1482. .footer-bottom {
  1483. text-align: center;
  1484. padding: var(--space-lg) 0;
  1485. }
  1486. .footer-bottom p {
  1487. font-size: var(--font-size-tiny);
  1488. color: rgba(255, 255, 255, .4);
  1489. }
  1490. /* ----------------------------------------------------------
  1491. 16. Scroll Animations (AOS-like)
  1492. ---------------------------------------------------------- */
  1493. .reveal {
  1494. opacity: 0;
  1495. transform: translateY(30px);
  1496. transition: opacity .6s ease, transform .6s cubic-bezier(.4, 0, .2, 1);
  1497. }
  1498. .reveal.visible {
  1499. opacity: 1;
  1500. transform: translateY(0);
  1501. }
  1502. /* ----------------------------------------------------------
  1503. 17. Responsive - Tablet
  1504. ---------------------------------------------------------- */
  1505. @media (max-width: 1024px) {
  1506. .hero-inner {
  1507. grid-template-columns: 1fr;
  1508. text-align: center;
  1509. }
  1510. .hero-desc {
  1511. margin-left: auto;
  1512. margin-right: auto;
  1513. }
  1514. .hero-actions {
  1515. justify-content: center;
  1516. }
  1517. .hero-visual {
  1518. display: none;
  1519. }
  1520. .dimension-grid > .dimension-card {
  1521. width: calc((100% - var(--space-xl)) / 2);
  1522. }
  1523. .features-grid {
  1524. grid-template-columns: repeat(2, 1fr);
  1525. }
  1526. .roles-flow {
  1527. gap: var(--space-md);
  1528. }
  1529. .role-card {
  1530. padding: var(--space-lg) var(--space-md);
  1531. }
  1532. .roles-connector {
  1533. flex-direction: row;
  1534. gap: 0;
  1535. }
  1536. .connector-arrow {
  1537. width: 40px;
  1538. height: 2px;
  1539. }
  1540. .connector-arrow::after {
  1541. top: 50%;
  1542. left: auto;
  1543. right: -4px;
  1544. bottom: auto;
  1545. transform: translateY(-50%);
  1546. border: 5px solid transparent;
  1547. border-left-color: var(--color-border);
  1548. border-top-color: transparent;
  1549. }
  1550. .contact-grid {
  1551. grid-template-columns: 1fr;
  1552. }
  1553. .product-stats {
  1554. grid-template-columns: repeat(2, 1fr);
  1555. }
  1556. }
  1557. /* ----------------------------------------------------------
  1558. 18. Responsive - Mobile
  1559. ---------------------------------------------------------- */
  1560. @media (max-width: 768px) {
  1561. :root {
  1562. --space-section: 3.5rem;
  1563. --header-height: 56px;
  1564. }
  1565. .container {
  1566. padding: 0 var(--space-md);
  1567. }
  1568. /* Mobile Nav */
  1569. .nav-toggle {
  1570. display: flex;
  1571. }
  1572. .nav {
  1573. position: fixed;
  1574. top: var(--header-height);
  1575. left: 0;
  1576. right: 0;
  1577. background: rgba(255, 249, 240, .98);
  1578. backdrop-filter: blur(16px);
  1579. -webkit-backdrop-filter: blur(16px);
  1580. border-bottom: 1px solid var(--color-border-light);
  1581. padding: var(--space-lg);
  1582. transform: translateY(-110%);
  1583. opacity: 0;
  1584. transition: all var(--transition-normal);
  1585. pointer-events: none;
  1586. }
  1587. .nav.open {
  1588. transform: translateY(0);
  1589. opacity: 1;
  1590. pointer-events: auto;
  1591. }
  1592. .nav-list {
  1593. flex-direction: column;
  1594. gap: 0;
  1595. }
  1596. .nav-link {
  1597. display: block;
  1598. padding: var(--space-md) 0;
  1599. border-bottom: 1px solid var(--color-border-light);
  1600. width: 100%;
  1601. }
  1602. .nav-link::after {
  1603. display: none;
  1604. }
  1605. /* Hero */
  1606. .hero-title {
  1607. font-size: clamp(1.75rem, 7vw, 2.5rem);
  1608. }
  1609. .hero-desc {
  1610. font-size: var(--font-size-small);
  1611. }
  1612. .hero-actions {
  1613. flex-direction: column;
  1614. align-items: stretch;
  1615. }
  1616. .btn {
  1617. justify-content: center;
  1618. }
  1619. /* Grids */
  1620. .about-grid {
  1621. grid-template-columns: 1fr;
  1622. }
  1623. .dimension-grid > .dimension-card {
  1624. width: 100%;
  1625. }
  1626. .features-grid {
  1627. grid-template-columns: 1fr;
  1628. }
  1629. .contact-grid {
  1630. grid-template-columns: 1fr;
  1631. }
  1632. .product-stats {
  1633. grid-template-columns: repeat(2, 1fr);
  1634. }
  1635. .cta-cards {
  1636. grid-template-columns: 1fr;
  1637. }
  1638. .footer-inner {
  1639. flex-direction: column;
  1640. gap: var(--space-xl);
  1641. }
  1642. .footer-links {
  1643. gap: var(--space-xl);
  1644. }
  1645. .product-quote {
  1646. padding: var(--space-md) var(--space-lg);
  1647. }
  1648. .product-quote p {
  1649. font-size: var(--font-size-small);
  1650. }
  1651. .stat-num {
  1652. font-size: 1.5rem;
  1653. }
  1654. /* Roles row — tighter spacing */
  1655. .roles-flow {
  1656. gap: var(--space-sm);
  1657. }
  1658. .role-card {
  1659. padding: var(--space-md);
  1660. }
  1661. .role-card h3 {
  1662. font-size: calc(var(--font-size-h3) * 0.85);
  1663. }
  1664. .role-perms li {
  1665. font-size: calc(var(--font-size-tiny) * 0.9);
  1666. }
  1667. .role-qr-code {
  1668. width: 150px;
  1669. height: 150px;
  1670. }
  1671. }
  1672. @media (max-width: 480px) {
  1673. .product-stats {
  1674. grid-template-columns: repeat(2, 1fr);
  1675. gap: var(--space-sm);
  1676. }
  1677. .stat {
  1678. padding: var(--space-md);
  1679. }
  1680. .roles-flow {
  1681. flex-direction: column;
  1682. gap: var(--space-md);
  1683. }
  1684. .roles-connector {
  1685. flex-direction: column;
  1686. gap: var(--space-xs);
  1687. }
  1688. .connector-arrow {
  1689. width: 2px;
  1690. height: 40px;
  1691. }
  1692. .connector-arrow::after {
  1693. top: auto;
  1694. left: 50%;
  1695. right: auto;
  1696. bottom: -4px;
  1697. transform: translateX(-50%);
  1698. border: 5px solid transparent;
  1699. border-top-color: var(--color-border);
  1700. border-left-color: transparent;
  1701. }
  1702. .footer-links {
  1703. flex-direction: column;
  1704. gap: var(--space-lg);
  1705. }
  1706. }
  1707. /* ----------------------------------------------------------
  1708. 19. Logo
  1709. ---------------------------------------------------------- */
  1710. .logo-img {
  1711. display: block;
  1712. flex-shrink: 0;
  1713. border-radius: 8px;
  1714. width: 36px;
  1715. height: 36px;
  1716. object-fit: contain;
  1717. }
  1718. .footer-logo-img {
  1719. display: block;
  1720. flex-shrink: 0;
  1721. border-radius: 10px;
  1722. margin-bottom: var(--space-xs);
  1723. object-fit: contain;
  1724. }
  1725. /* ----------------------------------------------------------
  1726. 20. Wuxing Philosophy Section
  1727. ---------------------------------------------------------- */
  1728. .section-wuxing {
  1729. background: linear-gradient(180deg, var(--bg-body) 0%, var(--bg-surface) 100%);
  1730. }
  1731. /* --- Diagram --- */
  1732. .wuxing-diagram {
  1733. position: relative;
  1734. width: 100%;
  1735. max-width: 480px;
  1736. aspect-ratio: 1;
  1737. margin: 0 auto var(--space-3xl);
  1738. }
  1739. .wuxing-diagram canvas {
  1740. display: block;
  1741. width: 100%;
  1742. height: 100%;
  1743. }
  1744. .wuxing-diagram .taiji-center {
  1745. position: absolute;
  1746. top: 50%;
  1747. left: 50%;
  1748. transform: translate(-50%, -50%);
  1749. pointer-events: none;
  1750. z-index: 1;
  1751. color: var(--color-text-secondary);
  1752. }
  1753. .wuxing-diagram .taiji-svg {
  1754. display: block;
  1755. animation: taiji-rotate 24s linear infinite;
  1756. }
  1757. @keyframes taiji-rotate {
  1758. to { transform: rotate(360deg); }
  1759. }
  1760. /* --- Explanation Cards --- */
  1761. .wuxing-explanations {
  1762. max-width: 960px;
  1763. margin: 0 auto;
  1764. }
  1765. .we-section {
  1766. margin-bottom: var(--space-2xl);
  1767. }
  1768. .we-section:last-child {
  1769. margin-bottom: 0;
  1770. }
  1771. .we-title {
  1772. font-size: var(--font-size-h3);
  1773. font-weight: 700;
  1774. margin-bottom: var(--space-xs);
  1775. }
  1776. .we-sheng {
  1777. color: var(--color-secondary);
  1778. }
  1779. .we-ke {
  1780. color: var(--color-primary);
  1781. }
  1782. .we-subtitle {
  1783. font-size: var(--font-size-small);
  1784. color: var(--color-text-secondary);
  1785. margin-bottom: var(--space-lg);
  1786. }
  1787. .we-grid {
  1788. display: grid;
  1789. grid-template-columns: repeat(5, 1fr);
  1790. gap: var(--space-md);
  1791. }
  1792. .wuxing-card {
  1793. background: var(--bg-surface);
  1794. border: 1px solid var(--color-border-light);
  1795. border-radius: var(--radius-md);
  1796. padding: var(--space-lg);
  1797. text-align: center;
  1798. transition: all var(--transition-normal);
  1799. position: relative;
  1800. overflow: hidden;
  1801. }
  1802. .wuxing-card::before {
  1803. content: '';
  1804. position: absolute;
  1805. top: 0;
  1806. left: 0;
  1807. right: 0;
  1808. height: 3px;
  1809. background: var(--wc-color);
  1810. opacity: .5;
  1811. transition: opacity var(--transition-normal);
  1812. }
  1813. .wuxing-card:hover {
  1814. transform: translateY(-4px);
  1815. box-shadow: var(--shadow-md);
  1816. border-color: transparent;
  1817. }
  1818. .wuxing-card:hover::before {
  1819. opacity: 1;
  1820. }
  1821. .wc-arrow {
  1822. display: inline-block;
  1823. font-size: var(--font-size-tiny);
  1824. font-weight: 700;
  1825. color: var(--wc-color);
  1826. padding: .15em .6em;
  1827. border-radius: var(--radius-full);
  1828. background: color-mix(in srgb, var(--wc-color) 10%, white);
  1829. margin-bottom: var(--space-sm);
  1830. }
  1831. .wuxing-card h4 {
  1832. font-size: 1rem;
  1833. font-weight: 700;
  1834. margin-bottom: var(--space-xs);
  1835. color: var(--color-text-primary);
  1836. }
  1837. .wuxing-card p {
  1838. font-size: var(--font-size-tiny);
  1839. color: var(--color-text-secondary);
  1840. line-height: 1.6;
  1841. }
  1842. @media (max-width: 1024px) {
  1843. .we-grid {
  1844. grid-template-columns: repeat(3, 1fr);
  1845. }
  1846. }
  1847. @media (max-width: 600px) {
  1848. .we-grid {
  1849. grid-template-columns: repeat(2, 1fr);
  1850. }
  1851. }
  1852. @media (max-width: 480px) {
  1853. .we-grid {
  1854. grid-template-columns: 1fr;
  1855. }
  1856. }
  1857. /* Mobile: prevent dimension title wrapping */
  1858. @media (max-width: 600px) {
  1859. .dim-title {
  1860. font-size: 1rem;
  1861. flex-wrap: wrap;
  1862. }
  1863. .dim-emoji {
  1864. font-size: 1.2rem;
  1865. }
  1866. .dim-element {
  1867. font-size: 9px;
  1868. }
  1869. }
  1870. /* ----------------------------------------------------------
  1871. 21. Dimension Energy Tips
  1872. ---------------------------------------------------------- */
  1873. .dim-energy {
  1874. margin-top: var(--space-md);
  1875. padding-top: var(--space-md);
  1876. border-top: 1px dashed var(--color-border-light);
  1877. }
  1878. .dim-energy h4 {
  1879. font-size: var(--font-size-small);
  1880. font-weight: 700;
  1881. color: var(--dim-color);
  1882. margin-bottom: var(--space-sm);
  1883. }
  1884. .dim-energy ul {
  1885. display: flex;
  1886. flex-direction: column;
  1887. gap: var(--space-xs);
  1888. }
  1889. .dim-energy ul li {
  1890. font-size: var(--font-size-tiny);
  1891. color: var(--color-text-secondary);
  1892. padding: .25em 0;
  1893. display: flex;
  1894. align-items: center;
  1895. gap: var(--space-xs);
  1896. }
  1897. .dim-energy ul li::before {
  1898. content: '✦';
  1899. color: var(--dim-color);
  1900. font-size: 10px;
  1901. flex-shrink: 0;
  1902. }
  1903. /* Dim element badge */
  1904. .dim-element {
  1905. display: inline-block;
  1906. font-size: 10px;
  1907. font-weight: 600;
  1908. color: #fff;
  1909. padding: .15em .6em;
  1910. border-radius: var(--radius-full);
  1911. margin-left: var(--space-xs);
  1912. vertical-align: middle;
  1913. letter-spacing: .04em;
  1914. white-space: nowrap;
  1915. }
  1916. /* Prevent role name (家长/孩子/成长规划师) from breaking across lines */
  1917. .role-perms li strong {
  1918. white-space: nowrap;
  1919. }
  1920. /* Responsive: Wuxing diagram — handled by aspect-ratio and Canvas redraw */
  1921. @media (max-width: 600px) {
  1922. .wuxing-diagram {
  1923. max-width: 360px;
  1924. }
  1925. }