:root { color-scheme: light; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; color: #1d2233; background: #f5f6fa; }
* { box-sizing: border-box; } body { margin: 0; min-width: 320px; } button, input, textarea { font: inherit; } button { cursor: pointer; } a { color: inherit; }
.shell { min-height: 100vh; } .topbar { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 clamp(18px, 5vw, 72px); color: #f8f7ff; background: #20213d; box-shadow: 0 2px 12px #16172a22; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: .01em; } .brand-mark { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 10px; color: #1d2340; background: linear-gradient(135deg, #ffd87d, #efb9ee); font-size: 16px; } .brand small { display: block; margin-top: 2px; color: #b8b7d2; font-size: 11px; font-weight: 600; }
.nav { display: flex; align-items: center; gap: 8px; } .nav button { border: 0; border-radius: 9px; padding: 8px 11px; color: #c9c9df; background: transparent; font-size: 13px; } .nav button.active, .nav button:hover { color: white; background: #35375d; }
.demo-banner { display: flex; gap: 9px; align-items: flex-start; max-width: 1200px; margin: 18px auto 0; padding: 12px 16px; border: 1px solid #f1dcb1; border-radius: 12px; color: #785315; background: #fffaf0; font-size: 13px; line-height: 1.5; } .demo-banner b { color: #5e3b06; }
.main { width: min(1200px, calc(100% - 36px)); margin: 22px auto 64px; } .page-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 20px; } .eyebrow { margin: 0 0 7px; color: #7a65c4; font-size: 11px; font-weight: 800; letter-spacing: .14em; } h1, h2, h3, p { margin-top: 0; } h1 { margin-bottom: 6px; font-size: clamp(25px, 4vw, 34px); letter-spacing: -.03em; } h2 { margin-bottom: 6px; font-size: 20px; letter-spacing: -.02em; } h3 { margin-bottom: 5px; font-size: 15px; } .muted { color: #74788b; font-size: 13px; line-height: 1.6; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 38px; padding: 0 14px; border: 1px solid #d7d9e5; border-radius: 10px; color: #323751; background: white; font-size: 13px; font-weight: 700; text-decoration: none; } .button:hover { border-color: #9a8bd0; background: #fbfaff; } .button.primary { border-color: #6954b4; color: white; background: #6954b4; box-shadow: 0 8px 18px #6954b433; } .button.primary:hover { background: #58439f; } .button:disabled { cursor: not-allowed; opacity: .55; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; margin-bottom: 18px; } .stat { min-height: 116px; padding: 18px; border: 1px solid #e3e4ec; border-radius: 15px; background: white; box-shadow: 0 7px 20px #30375008; } .stat .label { color: #757a8b; font-size: 12px; } .stat .value { margin-top: 12px; color: #262941; font-size: 29px; font-weight: 800; letter-spacing: -.05em; } .stat .hint { margin-top: 4px; color: #9599a8; font-size: 11px; }
.grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 18px; } .card { padding: 20px; border: 1px solid #e3e4ec; border-radius: 15px; background: white; box-shadow: 0 7px 20px #30375008; } .card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; } .card-head h2 { margin: 0; }.table { width: 100%; border-collapse: collapse; font-size: 13px; }.table th { padding: 0 8px 10px; color: #8a8e9f; text-align: left; font-size: 11px; font-weight: 700; }.table td { padding: 12px 8px; border-top: 1px solid #edf0f4; color: #3a3e51; }.table tr:hover td { background: #fcfcfe; }.tag { display: inline-flex; align-items: center; gap: 5px; border-radius: 99px; padding: 4px 8px; color: #6b56af; background: #f1effc; font-size: 11px; font-weight: 700; }.dot { width: 6px; height: 6px; border-radius: 99px; background: #6b56af; }.progress { height: 8px; overflow: hidden; border-radius: 99px; background: #eff0f5; }.progress > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #9c85ee, #6b55bc); }
.brochure-list { display: grid; gap: 10px; }.brochure-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px; border: 1px solid #e7e7ef; border-radius: 12px; }.brochure-row strong { display: block; font-size: 14px; }.brochure-row small { color: #888da0; font-size: 11px; }.empty { padding: 35px 20px; color: #7d8192; text-align: center; }
.reader-shell { min-height: 100vh; color: #eef0ff; background: radial-gradient(circle at 8% 0%, #4c4781, #1c1e35 45%, #141522 100%); }.reader-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px clamp(17px, 4vw, 56px); border-bottom: 1px solid #ffffff17; }.reader-header strong { display: block; font-size: 15px; }.reader-header small { color: #b8bbd4; }.reader-layout { display: grid; grid-template-columns: minmax(0, 520px); justify-content: center; gap: 22px; width: min(100% - 36px, 520px); margin: 0 auto; padding: 38px 0 56px; }.reader-stage { min-width: 0; display: grid; place-items: center; }.flip-host { position: relative; width: min(100%, 520px); min-height: 650px; display: grid; place-items: center; }.book-page { width: 100%; height: 100%; overflow: hidden; position: relative; padding: clamp(24px, 6vw, 54px); color: #1d2543; background: #fbfaf4; box-shadow: 0 25px 70px #00000055; }.book-page::after { content: ''; position: absolute; inset: 12px; border: 1px solid #27345d20; pointer-events: none; }.book-page.cover { color: #fbf8e8; background: linear-gradient(145deg, #1b3157, #493a75 62%, #c78a85); }.book-page.blue { background: linear-gradient(145deg, #d8edee, #f7f8ef 55%, #d6e4ee); }.book-page.orange { background: linear-gradient(145deg, #f8e6c9, #fff9ec 58%, #e8af81); }.book-page.green { background: linear-gradient(145deg, #dfe9d5, #f8f5e9 58%, #b4cfaf); }.page-number { position: absolute; right: 25px; bottom: 22px; color: inherit; opacity: .58; font-size: 12px; font-weight: 800; }.page-word { position: relative; z-index: 1; margin-top: 15%; font-size: clamp(26px, 4.5vw, 44px); line-height: 1.12; letter-spacing: -.06em; }.page-body { position: relative; z-index: 1; max-width: 330px; margin-top: 22px; font-size: 15px; line-height: 1.8; opacity: .84; }.page-tags { position: absolute; z-index: 1; bottom: 54px; left: clamp(24px, 6vw, 54px); display: flex; flex-wrap: wrap; gap: 7px; }.page-tags span { padding: 6px 9px; border: 1px solid currentColor; border-radius: 99px; font-size: 11px; font-weight: 700; opacity: .8; }.image-page { padding: 0; background: #f6f6f6; }.image-page img { width: 100%; height: 100%; object-fit: contain; }.reader-controls { display: flex; justify-content: center; gap: 10px; margin-top: 22px; }.round-button { width: 42px; height: 42px; border: 1px solid #ffffff2c; border-radius: 50%; color: white; background: #ffffff16; font-size: 19px; }.round-button:hover { background: #ffffff2b; }.reader-meta { color: #c6c9de; text-align: center; font-size: 12px; }.reader-side { width: 100%; align-self: start; padding: 22px; border: 1px solid #ffffff22; border-radius: 17px; background: #ffffff0d; backdrop-filter: blur(12px); }.reader-side h2 { font-size: 23px; }.reader-side .muted { color: #bdc1d9; }.cta-box { margin-top: 20px; padding: 15px; border: 1px solid #ffffff24; border-radius: 13px; background: #10121e55; }.cta-box .button { width: 100%; margin-top: 10px; }.video-slot { margin-top: 13px; padding: 13px; border: 1px dashed #ffffff42; border-radius: 12px; color: #cfd2e7; }.video-slot strong { display: block; margin-bottom: 5px; font-size: 13px; }.video-slot small { display: block; color: #9da3c5; line-height: 1.5; }.notice { margin-top: 15px; padding: 10px 11px; border-radius: 10px; color: #6c4a13; background: #fff4d8; font-size: 12px; line-height: 1.5; }
.reader-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; }.reader-cta p { margin: 0; color: #d7d9eb; font-size: 14px; }.reader-cta .button { flex: 0 0 auto; }
.modal-mask { position: fixed; z-index: 5; inset: 0; display: grid; place-items: center; padding: 18px; background: #0d1026aa; }.modal { width: min(100%, 470px); padding: 24px; border-radius: 18px; color: #2a2d40; background: white; box-shadow: 0 24px 80px #080a1880; }.modal h2 { margin-bottom: 7px; }.form { display: grid; gap: 12px; margin-top: 17px; }.form label { display: grid; gap: 6px; color: #53576a; font-size: 12px; font-weight: 700; }.form input, .form textarea { width: 100%; border: 1px solid #dce0e8; border-radius: 10px; padding: 10px 11px; outline: none; color: #252a3d; background: #fff; font-size: 14px; }.form textarea { min-height: 88px; resize: vertical; }.form input:focus, .form textarea:focus { border-color: #8672cc; box-shadow: 0 0 0 3px #e8e3fa; }.inline { display: flex; gap: 8px; }.inline input { flex: 1; }.privacy { display: flex !important; grid-template-columns: 17px 1fr; align-items: start; color: #717587 !important; font-weight: 500 !important; line-height: 1.5; }.privacy input { width: 15px; margin: 3px 0 0; }.form-msg { min-height: 19px; color: #a04738; font-size: 12px; }.success { color: #187351; }
@media (max-width: 820px) { .topbar { height: auto; min-height: 64px; padding-block: 10px; }.nav button:not(.active) { display: none; }.stats { grid-template-columns: repeat(2, 1fr); }.grid, .reader-layout { grid-template-columns: 1fr; }.reader-side { width: min(100%, 560px); justify-self: center; }.flip-host { min-height: 480px; }.page-word { margin-top: 18%; }.page-tags { bottom: 42px; }.page-number { bottom: 15px; }.main { width: min(100% - 26px, 1200px); }.demo-banner { margin-inline: 13px; }.page-heading { align-items: start; flex-direction: column; } }
@media (max-width: 520px) { .reader-cta { align-items: stretch; flex-direction: column; }.reader-cta .button { width: 100%; } }
