:root {
    --brand: #ff5f2e;
    --brand-deep: #e64a19;
    --brand-soft: #fff2ec;
    --ink: #1f2329;
    --text: #616875;
    --muted: #9aa1ac;
    --line: #ececf1;
    --soft: #fafafb;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: var(--ink);
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
    user-select: none;
    -webkit-user-drag: none;
}

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

ul {
    list-style: none;
}

::selection {
    background: rgba(255, 95, 46, .18);
}

.wrap {
    width: 1330px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 24px;
}

.site-head {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    transition: box-shadow .25s ease;
}

.site-head.scrolled {
    box-shadow: 0 6px 22px rgba(31, 35, 41, .07);
}

.head-inner {
    height: 70px;
    display: flex;
    align-items: center;
    gap: 38px;
}

.brand img {
    height: 40px;
    width: auto;
    user-select: none;
}

.nav {
    display: flex;
    gap: 44px;
    margin-left: auto;
    margin-right: 40px;
}

.nav a {
    display: block;
    font-size: 16px;
    font-weight: 500;
    line-height: 70px;
    color: var(--ink);
    transition: color .2s;
}

.nav a:hover,
.nav a.active {
    color: var(--brand);
    font-weight: 600;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 30px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    user-select: none;
    transition: background .2s, border-color .2s, transform .2s, box-shadow .2s;
}

.btn-sm {
    height: 38px;
    padding: 0 20px;
    font-size: 14px;
}

.btn-primary {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 8px 18px rgba(255, 95, 46, .24);
}

.btn-primary:hover {
    background: var(--brand-deep);
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(255, 95, 46, .3);
}

.btn-ghost {
    background: #fff;
    color: var(--ink);
    border-color: #e3e5ea;
}

.btn-ghost:hover {
    border-color: #cfd3da;
    transform: translateY(-1px);
}

.btn-white {
    background: #fff;
    color: var(--brand-deep);
}

.btn-white:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, .14);
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 148px 0 96px;
    background: linear-gradient(180deg, #fff6f0 0%, #fffbf8 58%, #fff 100%);
}

.hero-glow {
    position: absolute;
    top: -160px;
    right: -140px;
    width: 640px;
    height: 640px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 95, 46, .2), rgba(255, 95, 46, 0) 66%);
    pointer-events: none;
    user-select: none;
}

.hero-inner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 56px;
}

.hero-text {
    flex: 1;
    min-width: 0;
}

.eyebrow {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
    background: var(--brand-soft);
    color: var(--brand-deep);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .5px;
    user-select: none;
}

.hero-text h1 {
    margin-top: 20px;
    font-size: 52px;
    line-height: 1.24;
    font-weight: 700;
    letter-spacing: -.5px;
}

.hero-text h1 em {
    font-style: normal;
    color: var(--brand);
}

.hero-text p {
    max-width: 520px;
    margin-top: 18px;
    font-size: 16.5px;
    line-height: 1.85;
    color: var(--text);
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-top: 32px;
}

.hero-points {
    display: flex;
    gap: 22px;
    margin-top: 28px;
    font-size: 13px;
    color: var(--muted);
}

.hero-points li::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 7px;
    border-radius: 50%;
    background: var(--brand);
    vertical-align: 2px;
}

.hero-visual {
    position: relative;
    width: 460px;
    flex-shrink: 0;
    user-select: none;
}

.live-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 26px 64px rgba(31, 35, 41, .13);
}

.live-stage {
    position: relative;
    height: 232px;
    background: linear-gradient(135deg, #242b3c 0%, #3a445c 58%, #2a3346 100%);
}

.live-stage::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 28% 18%, rgba(255, 255, 255, .14), transparent 56%);
}

.live-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 4px;
    background: rgba(0, 0, 0, .42);
    color: #fff;
    font-size: 12px;
    letter-spacing: .5px;
}

.live-badge i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ff4d4f;
    box-shadow: 0 0 0 3px rgba(255, 77, 79, .25);
}

.live-video {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #242b3c;
    pointer-events: none;
    user-select: none;
}

.live-count {
    position: absolute;
    right: 14px;
    bottom: 12px;
    z-index: 2;
    padding: 3px 9px;
    border-radius: 4px;
    background: rgba(0, 0, 0, .36);
    color: rgba(255, 255, 255, .92);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

.live-body {
    padding: 18px 20px 20px;
}

.live-title {
    font-size: 16px;
    font-weight: 600;
}

.live-meta {
    margin-top: 3px;
    font-size: 12px;
    color: var(--muted);
}

.live-chat {
    display: grid;
    gap: 8px;
    margin-top: 14px;
}

.live-chat span {
    padding: 8px 10px;
    border-radius: 6px;
    background: #f6f7f9;
    font-size: 12px;
    color: #6b7280;
}

.live-chat b {
    margin-right: 6px;
    color: var(--ink);
    font-weight: 600;
}

.stat-card {
    position: absolute;
    left: -40px;
    top: 146px;
    z-index: 3;
    width: 168px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 16px 36px rgba(31, 35, 41, .12);
    animation: float 6s ease-in-out infinite;
}

.stat-num {
    font-size: 23px;
    font-weight: 700;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}

.stat-label {
    margin-top: 2px;
    font-size: 11px;
    color: var(--muted);
}

.stat-bar {
    height: 4px;
    margin-top: 10px;
    border-radius: 2px;
    background: #f0f1f4;
    overflow: hidden;
}

.stat-bar i {
    display: block;
    width: 72%;
    height: 100%;
    border-radius: 2px;
    background: linear-gradient(90deg, #ff8c4f, var(--brand));
}

.repo-card {
    position: absolute;
    right: -12px;
    top: -18px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 14px 32px rgba(31, 35, 41, .1);
}

.repo-dot {
    width: 10px;
    height: 10px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #22ab7e;
    box-shadow: 0 0 0 4px rgba(34, 171, 126, .16);
}

.repo-title {
    font-size: 12px;
    font-weight: 600;
}

.repo-sub {
    font-size: 11px;
    color: var(--muted);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.section {
    padding: 96px 0;
    scroll-margin-top: 88px;
}

.section-soft {
    background: var(--soft);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section-head {
    text-align: center;
}

.section-head h2 {
    font-size: 34px;
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: -.3px;
}

.section-head p {
    max-width: 640px;
    margin: 14px auto 0;
    font-size: 15px;
    color: var(--text);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 46px;
}

.feature-card {
    padding: 26px 22px 28px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    transition: transform .25s, box-shadow .25s, border-color .25s;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: #ffe0d2;
    box-shadow: 0 18px 40px rgba(31, 35, 41, .08);
}

.feature-card img {
    width: 46px;
    height: 46px;
}

.feature-card h3 {
    margin: 16px 0 8px;
    font-size: 16.5px;
    font-weight: 600;
}

.feature-card p {
    font-size: 13.5px;
    line-height: 1.78;
    color: var(--text);
}

.scene-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 46px;
}

.scene-card {
    padding: 28px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    transition: transform .25s, box-shadow .25s;
}

.scene-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(31, 35, 41, .08);
}

.scene-num {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--brand);
}

.scene-card h3 {
    margin: 12px 0 8px;
    font-size: 19px;
    font-weight: 600;
}

.scene-card p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text);
}

.scene-tag {
    display: inline-block;
    margin-top: 18px;
    padding: 4px 10px;
    border-radius: 4px;
    background: var(--brand-soft);
    color: var(--brand-deep);
    font-size: 12px;
    font-weight: 600;
}

.start-inner {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 56px;
    align-items: start;
    margin-top: 46px;
}

.step {
    display: flex;
    gap: 18px;
    padding: 22px 0;
    border-bottom: 1px dashed #e4e6ec;
}

.step:first-child {
    padding-top: 0;
}

.step:last-child {
    border-bottom: 0;
}

.step-idx {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 6px;
    background: var(--brand-soft);
    color: var(--brand-deep);
    font-size: 15px;
    font-weight: 700;
    user-select: none;
}

.step h3 {
    font-size: 17px;
    font-weight: 600;
}

.step p {
    margin-top: 5px;
    font-size: 14px;
    line-height: 1.75;
    color: var(--text);
}

.advantages {
    display: grid;
    gap: 14px;
}

.adv {
    display: flex;
    gap: 14px;
    padding: 18px 20px;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.adv-icon {
    position: relative;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    border-radius: 6px;
    background: var(--brand-soft);
}

.adv-icon::after {
    content: "";
    position: absolute;
    top: 9px;
    left: 8px;
    width: 10px;
    height: 5px;
    border-left: 2px solid var(--brand);
    border-bottom: 2px solid var(--brand);
    transform: rotate(-45deg);
}

.adv h4 {
    font-size: 15px;
    font-weight: 600;
}

.adv p {
    margin-top: 2px;
    font-size: 13px;
    color: var(--text);
}

.cta-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    width: 1330px;
    max-width: calc(100% - 48px);
    margin: 0 auto 88px;
    padding: 42px 48px;
    border-radius: 12px;
    background: linear-gradient(110deg, #ff5f2e 0%, #ff8c4f 100%);
    box-shadow: 0 22px 48px rgba(255, 95, 46, .26);
    color: #fff;
}

.cta-band h2 {
    font-size: 26px;
    line-height: 1.45;
    font-weight: 700;
}

.cta-band p {
    margin-top: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, .86);
}

.site-foot {
    padding: 34px 0 44px;
    border-top: 1px solid var(--line);
    background: #fff;
}

.foot-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.foot-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.foot-brand img {
    height: 26px;
    width: auto;
    user-select: none;
}

.foot-brand span {
    font-size: 13px;
    color: var(--muted);
}

.foot-info {
    font-size: 13px;
    line-height: 1.95;
    color: var(--muted);
    text-align: right;
}

.foot-info a {
    transition: color .2s;
}

.foot-info a:hover {
    color: var(--brand);
}

@media (max-width: 1100px) {
    .hero-text h1 {
        font-size: 44px;
    }

    .hero-visual {
        width: 420px;
    }

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

@media (max-width: 900px) {
    .nav {
        display: none;
    }

    .head-btn {
        margin-left: auto;
    }

    .hero {
        padding: 118px 0 72px;
    }

    .hero-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 44px;
    }

    .hero-text {
        width: 100%;
    }

    .hero-text h1 {
        font-size: 40px;
    }

    .hero-text p {
        max-width: 100%;
    }

    .hero-visual {
        align-self: center;
        width: 100%;
        max-width: 460px;
    }

    .stat-card,
    .repo-card {
        display: none;
    }

    .start-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .scene-card {
        padding: 22px 20px;
    }

    .cta-band {
        flex-direction: column;
        align-items: flex-start;
        padding: 32px;
        margin-bottom: 64px;
    }
}

@media (max-width: 640px) {
    .wrap {
        padding: 0 18px;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .hero-text p {
        font-size: 15px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .head-btn {
        width: auto;
    }

    .hero-points {
        flex-wrap: wrap;
        gap: 10px 18px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .scene-grid {
        grid-template-columns: 1fr;
    }

    .cta-band .btn {
        width: 100%;
    }

    .section {
        padding: 64px 0;
    }

    .section-head h2 {
        font-size: 26px;
    }

    .cta-band {
        max-width: calc(100% - 36px);
    }

    .cta-band h2 {
        font-size: 22px;
    }

    .foot-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .foot-info {
        text-align: left;
    }

    .live-stage {
        height: 190px;
    }
}
