:root {
    --page-bg: #f7f9fc;
    --surface: #ffffff;
    --surface-soft: #eef5fb;
    --surface-line: #d7e3ef;
    --text-main: #142033;
    --text-muted: #607086;
    --accent: #1684d8;
    --accent-strong: #0868b8;
    --accent-soft: #dff0ff;
    --shadow: 0 22px 70px rgba(32, 70, 112, 0.14);
    --radius-card: 18px;
    --radius-control: 999px;
    color-scheme: light;
}

body.theme-bill {
    --accent: #18a56f;
    --accent-strong: #0b8152;
    --accent-soft: #e4f7ee;
}

body.theme-read {
    --accent: #4d77d8;
    --accent-strong: #2f57b8;
    --accent-soft: #e9efff;
}

body.theme-live {
    --accent: #cf6a25;
    --accent-strong: #a84d14;
    --accent-soft: #fff0e4;
}

body.theme-publish {
    --accent: #8c62d9;
    --accent-strong: #6542b7;
    --accent-soft: #f0eaff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--page-bg);
    color: var(--text-main);
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.product-site {
    overflow: hidden;
    max-width: 100vw;
}

.product-section {
    padding: 92px 24px;
}

.product-inner {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

.product-hero {
    min-height: auto;
    display: flex;
    align-items: flex-start;
    padding: 84px 24px 88px;
    background: var(--page-bg);
}

.product-hero-grid {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 0.94fr) minmax(360px, 1.06fr);
    align-items: start;
    gap: 56px;
}

.product-hero-grid > *,
.feature-row > *,
.showcase-grid > * {
    min-width: 0;
}

.product-mark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    color: var(--accent-strong);
    font-size: 15px;
    font-weight: 700;
}

.product-logo {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    object-fit: cover;
    background: #ffffff;
    border: 1px solid var(--surface-line);
    box-shadow: 0 10px 24px rgba(22, 132, 216, 0.16);
}

.product-hero h1 {
    max-width: 700px;
    margin: 0;
    font-size: clamp(42px, 6.2vw, 76px);
    line-height: 1.05;
    letter-spacing: 0;
    font-weight: 850;
    overflow-wrap: anywhere;
    word-break: break-all;
}

.product-copy {
    max-width: 620px;
    margin: 28px 0 0;
    color: var(--text-muted);
    font-size: 20px;
    line-height: 1.75;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: var(--radius-control);
    border: 1px solid transparent;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:active {
    transform: translateY(1px);
}

.button-primary {
    background: var(--accent);
    color: #ffffff;
    box-shadow: 0 14px 32px color-mix(in srgb, var(--accent) 28%, transparent);
}

.button-primary:hover,
.button-primary:focus {
    background: var(--accent-strong);
}

.button-secondary {
    background: var(--surface);
    color: var(--text-main);
    border-color: var(--surface-line);
}

.button-secondary:hover,
.button-secondary:focus {
    border-color: var(--accent);
}

.product-visual {
    min-height: 540px;
    display: grid;
    align-items: center;
}

.visual-card {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    border: 1px solid var(--surface-line);
    background:
        radial-gradient(circle at 20% 0%, color-mix(in srgb, var(--accent-soft) 78%, transparent), transparent 38%),
        linear-gradient(145deg, #ffffff, #eef5fb);
    box-shadow: var(--shadow);
    padding: 36px;
}

.visual-card::after {
    content: "";
    position: absolute;
    inset: auto 28px 28px auto;
    width: 120px;
    height: 120px;
    border-radius: 36px;
    background: color-mix(in srgb, var(--accent) 12%, transparent);
    transform: rotate(8deg);
}

.visual-main-logo {
    width: 96px;
    height: 96px;
    border-radius: 24px;
    object-fit: cover;
    border: 1px solid var(--surface-line);
    background: #ffffff;
    box-shadow: 0 16px 34px rgba(32, 70, 112, 0.14);
}

.visual-card h2 {
    position: relative;
    z-index: 1;
    max-width: 420px;
    margin: 28px 0 12px;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.12;
    letter-spacing: 0;
    overflow-wrap: anywhere;
    word-break: break-all;
}

.visual-card p {
    position: relative;
    z-index: 1;
    max-width: 420px;
    margin: 0;
    color: var(--text-muted);
    font-size: 17px;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.visual-chips {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.visual-chips span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: var(--radius-control);
    background: color-mix(in srgb, var(--accent-soft) 82%, #ffffff);
    color: var(--accent-strong);
    font-size: 14px;
    font-weight: 700;
}

.visual-list {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 12px;
    margin-top: 30px;
}

.visual-list div {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--surface-line);
    color: var(--text-main);
    font-weight: 700;
}

.visual-list span {
    color: var(--text-muted);
    font-weight: 600;
}

.cover-rail {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: end;
    margin-top: 28px;
}

.cover-rail img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: 0 18px 34px rgba(24, 38, 64, 0.16);
    background: #ffffff;
}

.cover-rail img:nth-child(2) {
    transform: translateY(-18px);
}

.poster-rail {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
}

.poster-rail img {
    width: 100%;
    aspect-ratio: 1 / 1.64;
    object-fit: cover;
    border-radius: 18px;
    border: 1px solid var(--surface-line);
    box-shadow: 0 18px 34px rgba(24, 38, 64, 0.14);
}

.section-head {
    max-width: 760px;
    margin-bottom: 34px;
}

.section-head h2 {
    margin: 0;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.18;
    overflow-wrap: anywhere;
    word-break: break-all;
}

.section-head p {
    margin: 14px 0 0;
    color: var(--text-muted);
    font-size: 18px;
}

.flow-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.flow-card {
    min-height: 218px;
    padding: 22px;
    border-radius: var(--radius-card);
    border: 1px solid var(--surface-line);
    background: var(--surface);
    box-shadow: 0 16px 38px rgba(32, 70, 112, 0.08);
}

.flow-card b {
    display: inline-flex;
    margin-bottom: 28px;
    color: var(--accent-strong);
    font-size: 14px;
}

.flow-card h3 {
    margin: 0;
    font-size: 22px;
    line-height: 1.25;
    overflow-wrap: anywhere;
    word-break: break-all;
}

.flow-card p {
    margin: 12px 0 0;
    color: var(--text-muted);
    font-size: 15px;
}

.feature-row {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
    gap: 34px;
    align-items: center;
    padding: 32px;
    border-radius: 28px;
    border: 1px solid var(--surface-line);
    background: var(--surface);
    box-shadow: 0 18px 44px rgba(32, 70, 112, 0.08);
}

.feature-row + .feature-row {
    margin-top: 26px;
}

.feature-copy h3 {
    margin: 0;
    font-size: clamp(28px, 3.4vw, 40px);
    line-height: 1.18;
    overflow-wrap: anywhere;
    word-break: break-all;
}

.feature-copy p {
    margin: 16px 0 0;
    color: var(--text-muted);
    font-size: 17px;
}

.feature-list {
    display: grid;
    gap: 12px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.feature-list li {
    padding-left: 18px;
    border-left: 3px solid var(--accent);
    color: var(--text-main);
    font-weight: 700;
}

.asset-panel {
    min-height: 320px;
    display: grid;
    align-content: center;
    gap: 18px;
    padding: 28px;
    border-radius: 22px;
    background: linear-gradient(145deg, var(--accent-soft), #ffffff);
    border: 1px solid var(--surface-line);
}

.asset-panel.compact {
    min-height: auto;
}

.asset-panel h4 {
    margin: 0;
    font-size: 24px;
}

.asset-panel p {
    margin: 0;
    color: var(--text-muted);
}

.asset-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.asset-grid span {
    min-height: 84px;
    display: grid;
    align-content: center;
    padding: 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid var(--surface-line);
    color: var(--text-main);
    font-weight: 800;
}

.image-panel {
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid var(--surface-line);
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(32, 70, 112, 0.08);
}

.image-panel img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
}

.showcase-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
    gap: 22px;
    align-items: stretch;
}

.showcase-card {
    padding: 28px;
    border-radius: 24px;
    border: 1px solid var(--surface-line);
    background: var(--surface);
}

.showcase-card h3 {
    margin: 0;
    font-size: 28px;
}

.showcase-card p {
    margin: 14px 0 0;
    color: var(--text-muted);
}

.book-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.book-grid img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 18px;
    border: 1px solid var(--surface-line);
    background: #ffffff;
    box-shadow: 0 18px 34px rgba(24, 38, 64, 0.12);
}

.download-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 34px;
    border-radius: 28px;
    border: 1px solid var(--surface-line);
    background:
        radial-gradient(circle at 12% 0%, color-mix(in srgb, var(--accent-soft) 92%, transparent), transparent 36%),
        var(--surface);
    box-shadow: var(--shadow);
}

.download-panel h2 {
    margin: 0;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.16;
    overflow-wrap: anywhere;
    word-break: break-all;
}

.download-panel p {
    margin: 12px 0 0;
    color: var(--text-muted);
    font-size: 17px;
}

.download-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
}

.footer {
    border-top: 1px solid var(--surface-line);
    background: var(--surface);
}

.footer-inner {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 24px;
    color: var(--text-muted);
    font-size: 13px;
}

.footer a {
    color: var(--accent-strong);
}

@media (max-width: 980px) {
    .product-hero {
        align-items: flex-start;
        padding-top: 52px;
    }

    .product-hero-grid,
    .feature-row,
    .showcase-grid {
        grid-template-columns: 1fr;
    }

    .product-visual {
        min-height: auto;
    }

    .flow-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .product-section {
        padding: 62px 16px;
    }

    .product-hero {
        padding: 42px 16px 58px;
    }

    .product-inner,
    .product-hero-grid,
    .visual-card,
    .feature-row,
    .download-panel {
        max-width: calc(100vw - 32px);
    }

    .product-hero h1 {
        max-width: 360px;
        font-size: clamp(36px, 10.5vw, 46px);
        line-height: 1.12;
    }

    .product-copy {
        max-width: 360px;
        font-size: 17px;
    }

    .visual-card h2 {
        max-width: 320px;
        font-size: clamp(28px, 9vw, 36px);
    }

    .visual-card p {
        max-width: 320px;
    }

    .visual-list div {
        flex-wrap: wrap;
    }

    .visual-card,
    .feature-row,
    .download-panel {
        padding: 24px;
        border-radius: 22px;
    }

    .flow-grid,
    .asset-grid,
    .book-grid {
        grid-template-columns: 1fr;
    }

    .cover-rail,
    .poster-rail {
        grid-template-columns: repeat(3, minmax(90px, 1fr));
        overflow-x: auto;
        padding-bottom: 6px;
    }

    .download-panel {
        align-items: flex-start;
        flex-direction: column;
    }

    .download-actions {
        justify-content: flex-start;
    }

    .footer-inner {
        display: grid;
    }
}
