* { box-sizing: border-box; }

body.theme-light {
    --bg1: #f2f7ff;
    --bg2: #e7e8ff;
    --ink: #0b1633;
    --muted: #647392;
    --accent: #2f5cff;
    --accent2: #8167ff;
    --card: rgba(255, 255, 255, .74);
    --card-border: rgba(255, 255, 255, .95);
    --pill: rgba(255, 255, 255, .82);
    --icon-bg: linear-gradient(160deg, #ffffff, #e5ecff);
    --track: #e3e9fa;
    --line: rgba(17, 40, 100, .10);
    --line-strong: rgba(17, 40, 100, .18);
    --grid: rgba(47, 92, 255, .075);
    --shadow: 0 18px 40px rgba(67, 92, 180, .13);
    --banner1: #c4d0ff;
    --banner2: #8f8bff;
    --banner3: #d0ccff;
    --aside1: #b8c4ff;
    --aside2: #7b83ff;
    --core1: rgba(126, 132, 255, .40);
    --core2: rgba(205, 211, 255, .10);
    --glow1: rgba(93, 140, 255, .30);
    --glow2: rgba(160, 120, 255, .28);
    --glyph: #2f5cff;
}

body.theme-dark {
    --bg1: #070d20;
    --bg2: #111633;
    --ink: #f2f6ff;
    --muted: #9aa7c7;
    --accent: #5b8cff;
    --accent2: #9b7bff;
    --card: rgba(255, 255, 255, .065);
    --card-border: rgba(255, 255, 255, .12);
    --pill: rgba(255, 255, 255, .055);
    --icon-bg: linear-gradient(160deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .04));
    --track: rgba(255, 255, 255, .08);
    --line: rgba(180, 200, 255, .12);
    --line-strong: rgba(180, 200, 255, .22);
    --grid: rgba(120, 150, 255, .085);
    --shadow: 0 20px 50px rgba(0, 0, 0, .38);
    --banner1: #3d3477;
    --banner2: #5849b4;
    --banner3: #7a6cff;
    --aside1: #3b3480;
    --aside2: #5348b7;
    --core1: rgba(120, 110, 255, .28);
    --core2: rgba(255, 255, 255, .02);
    --glow1: rgba(60, 110, 255, .26);
    --glow2: rgba(140, 80, 255, .24);
    --glyph: #9db6ff;
}

html, body { margin: 0; padding: 0; }

body {
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--ink);
    background: var(--bg1);
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    transition: background .3s ease, color .3s ease;
}

a { -webkit-tap-highlight-color: transparent; }

.page-bg {
    position: fixed;
    inset: 0;
    z-index: -3;
    background: linear-gradient(180deg, var(--bg1) 0%, var(--bg2) 72%, var(--bg1) 100%);
}

.page-grid {
    position: fixed;
    inset: 0;
    z-index: -2;
    background-image:
        linear-gradient(var(--grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid) 1px, transparent 1px);
    background-size: 26px 26px;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .55) 46%, transparent 82%);
    mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .55) 46%, transparent 82%);
    pointer-events: none;
}

.glow {
    position: fixed;
    z-index: -1;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}
.glow-a {
    width: 520px;
    height: 520px;
    left: -180px;
    top: 120px;
    background: var(--glow1);
}
.glow-b {
    width: 480px;
    height: 480px;
    right: -160px;
    top: 420px;
    background: var(--glow2);
}

.container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.nav {
    position: sticky;
    top: 0;
    z-index: 30;
    padding: 16px 0;
    background: linear-gradient(180deg, rgba(242, 247, 255, .82), rgba(242, 247, 255, 0));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
body.theme-dark .nav {
    background: linear-gradient(180deg, rgba(7, 13, 32, .86), rgba(7, 13, 32, 0));
}
.nav-in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--ink);
    text-decoration: none;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: .04em;
    min-width: 0;
}
.brand-logo {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    box-shadow: 0 10px 24px rgba(47, 92, 255, .30), inset 0 1px 0 rgba(255, 255, 255, .4);
}
.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.brand-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.nav-actions {
    display: inline-flex;
    align-items: center;
    padding: 5px;
    border-radius: 999px;
    background: var(--pill);
    border: 1px solid var(--card-border);
    box-shadow: 0 8px 24px rgba(67, 92, 180, .12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
.nav-actions a {
    padding: 8px 18px;
    border-radius: 999px;
    color: var(--ink);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}
.nav-actions a:hover { color: var(--accent); }
.nav-divider {
    width: 1px;
    height: 16px;
    background: var(--line-strong);
}

.hero {
    padding: 58px 16px 0;
    text-align: center;
}
.hero h1 {
    margin: 0;
    font-size: clamp(30px, 5.6vw, 62px);
    line-height: 1.16;
    letter-spacing: -.03em;
    font-weight: 900;
    color: var(--ink);
    text-shadow: 0 10px 30px rgba(47, 92, 255, .10);
}
.hero p {
    margin: 16px 0 0;
    color: var(--muted);
    font-size: clamp(13px, 1.8vw, 18px);
    letter-spacing: .12em;
    font-weight: 500;
}
.hero-cta {
    display: inline-flex;
    align-items: center;
    margin-top: 30px;
    padding: 6px;
    border-radius: 999px;
    background: var(--pill);
    border: 1px solid var(--card-border);
    box-shadow: 0 18px 40px rgba(67, 92, 180, .16);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
.cta-main {
    display: inline-block;
    padding: 13px 38px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), #4b72ff);
    color: #fff;
    font-weight: 800;
    font-size: 15px;
    text-decoration: none;
    box-shadow: 0 12px 26px rgba(47, 92, 255, .36);
    transition: transform .2s ease, box-shadow .2s ease;
}
.cta-main:hover { transform: translateY(-1px); box-shadow: 0 16px 32px rgba(47, 92, 255, .44); }
.cta-sub {
    display: inline-block;
    padding: 13px 24px;
    border-radius: 999px;
    color: var(--ink);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
}
.cta-sub:hover { color: var(--accent); }

.channels {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 50px;
}
.ch-card {
    position: relative;
    padding: 16px 16px 18px;
    border-radius: 18px;
    background: var(--card);
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    overflow: hidden;
}
.ch-bar {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 0;
    height: 3px;
    border-radius: 0 0 4px 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent2) 55%, transparent);
    opacity: .85;
}
.ch-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-top: 8px;
}
.ch-index {
    font-size: 19px;
    font-weight: 800;
    color: var(--muted);
    opacity: .55;
    letter-spacing: .02em;
}
.ch-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: var(--icon-bg);
    border: 1px solid var(--card-border);
    color: var(--accent);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 8px 20px rgba(50, 80, 160, .12);
}
.ch-icon svg { width: 23px; height: 23px; }
.ch-icon.glyph {
    font-size: 22px;
    font-weight: 700;
    color: var(--glyph);
    font-family: "Songti SC", "STSong", serif;
}
.ch-card h3 {
    margin: 22px 0 8px;
    font-size: 15px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: .01em;
}
.ch-card p {
    margin: 0 0 16px;
    min-height: 56px;
    font-size: 11.5px;
    line-height: 1.7;
    color: var(--muted);
}
.ch-line {
    height: 4px;
    border-radius: 4px;
    background: var(--track);
    overflow: hidden;
}
.ch-line span {
    display: block;
    width: 62%;
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
}

.cap-wrap { margin-top: 42px; }
.cap-label {
    margin-bottom: 10px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: .22em;
    color: var(--muted);
}
.cap-banner {
    position: relative;
    height: 136px;
    display: grid;
    place-items: center;
    border-radius: 38px 38px 24px 24px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--banner1), var(--banner2) 52%, var(--banner3));
    box-shadow: 0 24px 50px rgba(96, 92, 190, .22);
}
.cap-banner::before {
    content: "";
    position: absolute;
    inset: 13px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, .55);
    background: linear-gradient(135deg, rgba(255, 255, 255, .32), rgba(255, 255, 255, .04));
}
.cap-banner::after {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: repeating-radial-gradient(circle at center, rgba(255, 255, 255, .16) 0 1px, transparent 1px 16px);
    opacity: .8;
}
.cap-banner span {
    position: relative;
    z-index: 2;
    color: #fff;
    font-size: clamp(24px, 3.4vw, 38px);
    font-weight: 900;
    letter-spacing: .16em;
    text-shadow: 0 8px 22px rgba(70, 60, 160, .38);
}

.section { margin-top: 58px; }
.sec-head {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: center;
}
.sec-head::before,
.sec-head::after {
    content: "";
    height: 1px;
    flex: 1;
    max-width: 330px;
}
.sec-head::before { background: linear-gradient(90deg, transparent, var(--line-strong)); }
.sec-head::after { background: linear-gradient(90deg, var(--line-strong), transparent); }
.sec-head h2 {
    position: relative;
    margin: 0;
    padding-left: 22px;
    font-size: clamp(18px, 2.6vw, 24px);
    font-weight: 800;
    letter-spacing: .04em;
    color: var(--ink);
    white-space: nowrap;
}
.sec-head h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 11px;
    height: 11px;
    margin-top: -5.5px;
    border-radius: 50%;
    border: 3px solid var(--accent);
    box-shadow: 0 0 0 4px rgba(47, 92, 255, .10);
}

.core-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 26px;
}
.core-card {
    border-radius: 18px;
    overflow: hidden;
    background: var(--card);
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}
.core-top {
    position: relative;
    height: 122px;
    display: flex;
    align-items: flex-end;
    padding: 16px;
    background: linear-gradient(150deg, var(--core1), var(--core2));
    overflow: hidden;
}
.core-top::after {
    content: "";
    position: absolute;
    right: -36px;
    top: -36px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .35);
    opacity: .55;
}
.core-art {
    position: absolute;
    right: 14px;
    top: 14px;
    width: 42px;
    height: 42px;
    color: rgba(255, 255, 255, .78);
    opacity: .9;
}
.core-top h3 {
    position: relative;
    z-index: 2;
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    color: var(--ink);
    line-height: 1.3;
}
body.theme-dark .core-top h3 { color: #fff; }
.core-body {
    padding: 14px 16px 18px;
    background: var(--card);
}
.core-body p {
    margin: 0 0 16px;
    min-height: 62px;
    font-size: 11.5px;
    line-height: 1.8;
    color: var(--muted);
}
.progress {
    height: 4px;
    border-radius: 4px;
    background: var(--track);
    overflow: hidden;
}
.progress span {
    display: block;
    width: 58%;
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
}

.quick-wrap {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 16px;
    margin-top: 26px;
}
.quick-aside {
    display: grid;
    place-items: center;
    border-radius: 22px;
    background: linear-gradient(180deg, var(--aside1), var(--aside2));
    box-shadow: 0 20px 44px rgba(96, 92, 190, .24);
    position: relative;
    overflow: hidden;
}
.quick-aside::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 8%;
    width: 1px;
    height: 84%;
    background: rgba(255, 255, 255, .35);
}
.quick-aside span {
    writing-mode: vertical-rl;
    text-orientation: upright;
    letter-spacing: .34em;
    font-size: 20px;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 6px 16px rgba(70, 60, 160, .35);
    position: relative;
    z-index: 2;
}
.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.step {
    position: relative;
    padding: 20px 12px 16px;
    text-align: center;
    border-radius: 16px;
    background: var(--card);
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
.step-no {
    position: absolute;
    left: -9px;
    top: 50%;
    width: 22px;
    height: 22px;
    margin-top: -11px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--pill);
    border: 1px solid var(--card-border);
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(67, 92, 180, .12);
}
.step-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 14px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--icon-bg);
    border: 1px solid var(--card-border);
    color: var(--accent);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 10px 22px rgba(50, 80, 160, .12);
}
.step-icon svg { width: 24px; height: 24px; }
.step h3 {
    margin: 0 0 7px;
    font-size: 15px;
    font-weight: 800;
    color: var(--ink);
}
.step p {
    margin: 0;
    font-size: 11px;
    line-height: 1.6;
    color: var(--muted);
}

.scene-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 26px;
}
.scene {
    padding: 28px 18px 22px;
    text-align: center;
    border-radius: 18px;
    background: var(--card);
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}
.scene-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 20px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    background: var(--icon-bg);
    border: 1px solid var(--card-border);
    color: var(--accent);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 12px 26px rgba(50, 80, 160, .14);
}
.scene-icon svg { width: 34px; height: 34px; }
.scene h3 {
    margin: 0 0 10px;
    font-size: 17px;
    font-weight: 800;
    color: var(--ink);
}
.scene p {
    margin: 0;
    font-size: 11.5px;
    line-height: 1.75;
    color: var(--muted);
}

.footer {
    margin-top: 66px;
    padding: 26px 0 44px;
    text-align: center;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 12px;
}
.footer p { margin: 0 0 8px; }
.footer-links a {
    color: var(--muted);
    text-decoration: none;
}
.footer-links a:hover { color: var(--accent); }
.footer-links span { margin: 0 8px; opacity: .55; }

@media (max-width: 900px) {
    .channels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .core-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
    .container { width: calc(100% - 24px); }
    .nav { padding: 11px 0; }
    .brand { font-size: 15px; gap: 9px; }
    .brand-logo { width: 34px; height: 34px; flex-basis: 34px; border-radius: 10px; }
    .nav-actions a { padding: 6px 13px; font-size: 12px; }
    .hero { padding-top: 38px; }
    .hero h1 { font-size: clamp(27px, 8.6vw, 40px); }
    .hero p { margin-top: 12px; letter-spacing: .08em; }
    .hero-cta { margin-top: 24px; }
    .cta-main { padding: 11px 26px; font-size: 14px; }
    .cta-sub { padding: 11px 16px; font-size: 13px; }
    .channels { gap: 10px; margin-top: 34px; }
    .ch-card { padding: 13px 12px 15px; border-radius: 14px; }
    .ch-index { font-size: 15px; }
    .ch-icon { width: 38px; height: 38px; flex-basis: 38px; border-radius: 11px; }
    .ch-icon svg { width: 19px; height: 19px; }
    .ch-icon.glyph { font-size: 18px; }
    .ch-card h3 { margin-top: 16px; font-size: 13.5px; }
    .ch-card p { min-height: 50px; margin-bottom: 12px; font-size: 10.5px; }
    .cap-wrap { margin-top: 34px; }
    .cap-label { font-size: 13px; }
    .cap-banner { height: 104px; border-radius: 28px 28px 18px 18px; }
    .cap-banner::before { inset: 10px; border-radius: 22px; }
    .cap-banner span { font-size: 23px; letter-spacing: .12em; }
    .section { margin-top: 44px; }
    .sec-head { gap: 12px; }
    .sec-head h2 { font-size: 18px; padding-left: 18px; }
    .sec-head h2::before { width: 9px; height: 9px; margin-top: -4.5px; border-width: 3px; }
    .core-grid { gap: 10px; margin-top: 20px; }
    .core-card { border-radius: 14px; }
    .core-top { height: 100px; padding: 12px; }
    .core-top h3 { font-size: 13.5px; }
    .core-art { width: 30px; height: 30px; right: 10px; top: 10px; }
    .core-body { padding: 12px 12px 14px; }
    .core-body p { min-height: 56px; margin-bottom: 12px; font-size: 10.5px; }
    .quick-wrap { grid-template-columns: 58px minmax(0, 1fr); gap: 9px; margin-top: 20px; }
    .quick-aside { border-radius: 16px; }
    .quick-aside span { font-size: 15px; letter-spacing: .24em; }
    .steps { gap: 10px; }
    .step { padding: 14px 6px 12px; border-radius: 12px; }
    .step-icon { width: 38px; height: 38px; border-radius: 11px; margin-bottom: 10px; }
    .step-icon svg { width: 20px; height: 20px; }
    .step h3 { font-size: 12.5px; margin-bottom: 5px; }
    .step p { font-size: 9.5px; }
    .step-no { left: -6px; width: 18px; height: 18px; margin-top: -9px; font-size: 9px; }
    .scene-grid { gap: 9px; margin-top: 20px; }
    .scene { padding: 18px 8px 16px; border-radius: 14px; }
    .scene-icon { width: 50px; height: 50px; border-radius: 15px; margin-bottom: 14px; }
    .scene-icon svg { width: 25px; height: 25px; }
    .scene h3 { font-size: 12.5px; margin-bottom: 6px; }
    .scene p { font-size: 9.5px; line-height: 1.65; }
    .footer { margin-top: 46px; padding-bottom: 32px; font-size: 11px; }
}
