html,
body {
    height: 100%;
    width: 100%;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: "Roboto", "SF Pro SC", "SF Pro Display", "SF Pro Icons", "PingFang SC", BlinkMacSystemFont, -apple-system, "Segoe UI", "Microsoft Yahei", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    font-weight: 400;
    margin: 0;
}

a {
    -webkit-transition: all 0.35s;
    -moz-transition: all 0.35s;
    transition: all 0.35s;
    color: #474157;
}

a:hover,
a:focus {
    color: #474157;
}

hr {
    max-width: 100px;
    margin: 25px auto 0;
    border-width: 1px;
    border-color: rgba(34, 34, 34, 0.1);
}

hr.light {
    border-color: white;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 200;
    letter-spacing: 1px;
}

p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
}


/* 官网布局 */
.page-landing {
    scroll-behavior: smooth;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* 顶栏 */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(241, 246, 253, 0.92);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(23, 19, 71, 0.06);
}

.site-header__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 14px 20px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 12px 16px;
}

.site-logo {
    font-size: 1.15rem;
    font-weight: 600;
    color: #171347;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.site-logo:hover,
.site-logo:focus {
    color: #171347;
    opacity: 0.85;
}

.site-nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 22px;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.site-nav a {
    font-size: 14px;
    color: #474157;
    text-decoration: none;
    opacity: 0.9;
}

.site-nav a:hover,
.site-nav a:focus {
    color: #171347;
}

.site-header__actions {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 12px 18px;
}

.link-muted {
    font-size: 14px;
    text-decoration: none;
    color: #474157;
}

.link-muted:hover,
.link-muted:focus {
    color: #171347;
}

.btn {
    display: inline-block;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    padding: 10px 22px;
    border-radius: 999px;
    -webkit-transition: color 0.2s, background 0.2s, box-shadow 0.2s, -webkit-transform 0.15s;
    transition: color 0.2s, background 0.2s, box-shadow 0.2s, -webkit-transform 0.15s;
    transition: color 0.2s, background 0.2s, box-shadow 0.2s, transform 0.15s;
    border: 2px solid transparent;
    cursor: pointer;
    color: #171347;
}

.btn:hover,
.btn:focus {
    color: #171347;
}

.btn-ghost {
    border-color: rgba(23, 19, 71, 0.15);
    background: #fff;
}

.btn-ghost:hover,
.btn-ghost:focus {
    border-color: #fdcc52;
    box-shadow: 0 3px 14px rgba(23, 19, 71, 0.08);
}

.btn-primary {
    background: #fdcc52;
    background: -webkit-linear-gradient(135deg, #fdcc52, #f5b32d);
    background: linear-gradient(135deg, #fdcc52, #f5b32d);
    color: #2b2108;
    font-weight: 600;
    border: none;
    box-shadow: 0 4px 18px rgba(245, 179, 45, 0.35);
}

.btn-primary:hover,
.btn-primary:focus {
    color: #2b2108;
    box-shadow: 0 6px 22px rgba(245, 179, 45, 0.45);
    -webkit-transform: translateY(-1px);
    transform: translateY(-1px);
}

.btn-secondary {
    background: #fff;
    color: #171347;
    border: 2px solid rgba(23, 19, 71, 0.12);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background: #fff;
    border-color: #171347;
    color: #171347;
}

.btn-light {
    background: #fff;
    color: #171347;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-light:hover,
.btn-light:focus {
    color: #171347;
    background: #f1f6fd;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 16px;
}

#mainbody {
    position: relative;
    width: 100%;
    min-height: auto;
    overflow: visible;
    background: #f1f6fd;
    color: #474157;
}

#mainbody.landing {
    padding-top: 64px;
    min-height: calc(100vh - 60px);
}

/* Hero */
.hero {
    padding: 48px 0 72px;
    overflow: hidden;
}

.hero__grid {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 1.05fr;
    grid-template-columns: 1fr 1.05fr;
    gap: 40px 48px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.hero__eyebrow {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #6a6380;
    margin: 0 0 12px;
}

.hero__title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: #171347;
    margin: 0 0 18px;
    letter-spacing: 0.02em;
}

.text-gradient {
    background: -webkit-linear-gradient(120deg, #5a4b9a, #7c5ce7);
    background: linear-gradient(120deg, #5a4b9a, #7c5ce7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero__lead {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #5c5669;
    margin: 0 0 28px;
    max-width: 34em;
}

.hero__cta {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 12px 16px;
    margin-bottom: 20px;
}

.hero__note {
    font-size: 13px;
    color: #6a6380;
    margin: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 8px;
}

.hero__note .fa {
    color: #5a4b9a;
}

.hero__visual {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
}

.hero__card {
    width: 100%;
    max-width: 360px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(23, 19, 71, 0.12);
    border: 1px solid rgba(23, 19, 71, 0.06);
    padding: 0;
    overflow: hidden;
}

.hero__card-head {
    background: -webkit-linear-gradient(90deg, #e8e4f3, #f1f6fd);
    background: linear-gradient(90deg, #e8e4f3, #f1f6fd);
    padding: 12px 16px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot--r { background: #ff6b6b; }
.dot--y { background: #fdcc52; }
.dot--g { background: #5fd39a; }

.hero__feeds {
    list-style: none;
    margin: 0;
    padding: 20px 22px 24px;
}

.feed-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(23, 19, 71, 0.06);
    color: #474157;
    font-size: 15px;
}

.feed-item:last-child {
    border-bottom: none;
}

.feed-item .fa {
    color: #7c5ce7;
    width: 22px;
    text-align: center;
    font-size: 18px;
}

/* 区块 */
.section {
    padding: 64px 0;
}

.section--alt {
    background: -webkit-linear-gradient(180deg, #ece9f5 0%, #f1f6fd 100%);
    background: linear-gradient(180deg, #ece9f5 0%, #f1f6fd 100%);
}

.section__head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 48px;
}

.section__title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #171347;
    margin: 0 0 12px;
    letter-spacing: 0.02em;
}

.section__subtitle {
    font-size: 1rem;
    color: #6a6380;
    margin: 0;
    line-height: 1.6;
}

.feature-grid {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 1fr 1fr 1fr;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background: #fff;
    border-radius: 16px;
    padding: 26px 22px 28px;
    border: 1px solid rgba(23, 19, 71, 0.06);
    box-shadow: 0 4px 20px rgba(23, 19, 71, 0.05);
    -webkit-transition: box-shadow 0.25s, -webkit-transform 0.2s;
    transition: box-shadow 0.25s, -webkit-transform 0.2s;
    transition: box-shadow 0.25s, transform 0.2s;
}

.feature-card:hover {
    box-shadow: 0 12px 36px rgba(23, 19, 71, 0.1);
    -webkit-transform: translateY(-3px);
    transform: translateY(-3px);
}

.feature-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: -webkit-linear-gradient(135deg, #fdcc52, #e8a830);
    background: linear-gradient(135deg, #fdcc52, #e8a830);
    color: #2b2108;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
}

.feature-card__title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #171347;
    margin: 0 0 10px;
    letter-spacing: 0.02em;
}

.feature-card__text {
    font-size: 14px;
    line-height: 1.65;
    color: #5c5669;
    margin: 0;
}

.scene-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    counter-reset: scene;
}

.scene-list li {
    position: relative;
    padding: 20px 20px 20px 56px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(23, 19, 71, 0.08);
    margin-bottom: 14px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 4px;
}

.scene-list li::before {
    counter-increment: scene;
    content: counter(scene);
    position: absolute;
    left: 16px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    background: -webkit-linear-gradient(135deg, #7c5ce7, #5a4b9a);
    background: linear-gradient(135deg, #7c5ce7, #5a4b9a);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
}

.scene-list li strong {
    color: #171347;
    font-size: 1.05rem;
    font-weight: 600;
}

.scene-list li span {
    color: #5c5669;
    font-size: 14px;
    line-height: 1.55;
}

.section--cta {
    background: -webkit-linear-gradient(135deg, #171347 0%, #2d2560 50%, #3d2f7a 100%);
    background: linear-gradient(135deg, #171347 0%, #2d2560 50%, #3d2f7a 100%);
    color: #e8e4f3;
    padding: 64px 0 72px;
}

.cta-block {
    text-align: center;
}

.cta-block__title {
    font-size: 1.65rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 12px;
    letter-spacing: 0.02em;
}

.cta-block__text {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 auto 28px;
    max-width: 520px;
}

.cta-block__btns {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 14px 18px;
}

.section--cta .btn-primary {
    color: #2b2108;
}

.section--cta .btn-light {
    color: #171347;
    background: #fff;
}

@media (max-width: 991px) {
    .feature-grid {
        -ms-grid-columns: 1fr 1fr;
        grid-template-columns: repeat(2, 1fr);
    }

    .hero__grid {
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    }

    .hero__visual {
        -webkit-box-ordinal-group: 0;
        -ms-flex-order: -1;
        order: -1;
    }
}

@media (max-width: 767px) {
    .site-nav {
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
        order: 1;
        width: 100%;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    .site-header__actions {
        margin-left: auto;
    }

    .hero {
        padding-top: 20px;
    }

    .hero__title {
        font-size: 1.75rem;
    }

    .feature-grid {
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    }

    .section {
        padding: 48px 0;
    }
}

/* 兼容旧版首页结构（.text-center） */
#mainbody > .container > .text-center {
    text-align: center;
    padding: 350px 0 50px;
    position: relative;
    min-height: 100vh;
}

#mainbody > .container > .text-center h1 {
    font-size: 50px;
    font-weight: bold;
    color: #171347
}

#mainbody > .container > .text-center > a {
    background: #fdcc52;
    background: -webkit-linear-gradient(#fdcc52, #fdc539);
    background: linear-gradient(#fdcc52, #fdc539);
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 300px;
    margin-top: 20px;
    padding: 10px 45px;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
    color: #2b2108;
}

@media (min-width: 768px) {
    .navbar-default {
        background-color: transparent;
        border-color: transparent;
    }

    #mainbody .index-text {
        text-align: left;
    }
}

@media (max-width: 767px) {
    #mainbody > .container > .text-center {
        padding: 130px 0 0 0;
        min-height: auto;
    }

    #mainbody > .container > .text-center > h1 {
        font-size: 50px;
        margin-bottom: 20px;
    }
}

.footer {
    background-color: #222222;
    padding: 20px 0;
    color: rgba(255, 255, 255, 0.3);
    text-align: center;
}

.footer p {
    font-size: 14px;
    margin: 0;
}

.footer a {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
}

.footer a:hover,
.footer a:focus {
    color: rgba(255, 255, 255, 0.75);
}
