/* 导入 Rubik 字体 */
@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;600;700&display=swap');

/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基础样式 */
html,
body {
    font-family: 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    background-color: #fff;
}

/* 链接样式 */
a {
    text-decoration: none;
    color: inherit;
}

/* 列表样式 */
ul,
ol {
    list-style: none;
}

/* 图片样式 */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 按钮样式 */
button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* 输入框样式 */
input,
textarea {
    font-family: inherit;
    font-size: inherit;
    border: 1px solid #ddd;
    padding: 0.5rem;
    border-radius: 4px;
}

/* 容器类 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* 通用间距类 */
.mt-1 {
    margin-top: 0.25rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-3 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mt-5 {
    margin-top: 2rem;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 2rem;
}

/* 通用文本类 */
.text-center {
    text-align: center;
}

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

.text-right {
    text-align: right;
}

/* 通用显示类 */
.d-flex {
    display: flex;
}

.d-none {
    display: none;
}

.d-block {
    display: block;
}

/* 通用弹性布局类 */
.flex-row {
    flex-direction: row;
}

.flex-column {
    flex-direction: column;
}

.justify-center {
    justify-content: center;
}

.align-center {
    align-items: center;
}

.flex-wrap {
    flex-wrap: wrap;
}

/* 响应式断点 */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 12px;
    }
}

body {
    background: linear-gradient(90deg, #4F9FF4 0%, #4447F6 100%) no-repeat top center;
    background-size: 100% 300px;
}

/* 头部样式 */
.site-header {
    width: 100%;
    /* background: linear-gradient(120deg, #6a6aff 0%, #7f53ff 100%); */
    color: #fff;
    padding: 0;
    position: relative;
    z-index: 10;
}

.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff;
}

.nav {
    display: flex;
    gap: 2.5rem;
}

.nav a {
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.9;
    transition: opacity 0.2s;
    position: relative;
}

.nav a:hover {
    opacity: 1;
}

/* Hero 区域样式 */
.hero {
    /* background: linear-gradient(120deg, #6a6aff 0%, #7f53ff 100%); */
    color: #fff;
    padding: 64px 0 0 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 40px;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
}

.hero-desc {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.btn-primary {
    display: inline-block;
    background: #fff;
    color: #6a6aff;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 2rem;
    padding: 0.8rem 2.2rem;
    box-shadow: 0 2px 16px 0 rgba(122, 86, 255, 0.10);
    margin-bottom: 2.5rem;
    transition: background 0.2s, color 0.2s;
}

.btn-primary:hover {
    background: #f2f2ff;
    color: #7f53ff;
}

.hero-img-box {
    position: relative;
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.hero-img {
    width: 60vw;
    max-width: 800px;
    border-radius: 2rem;
    box-shadow: 0 8px 32px 0 rgba(122, 86, 255, 0.10);
}

.hero-feature {
    position: absolute;
    right: 0;
    top: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border-radius: 1.2rem;
    box-shadow: 0 2px 16px 0 rgba(122, 86, 255, 0.10);
    padding: 1.2rem 1.5rem;
    gap: 1rem;
}

.pdf-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 0.5rem;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.feature-item {
    font-size: 1rem;
    color: #6a6aff;
    font-weight: 600;
    background: #f2f2ff;
    border-radius: 0.7rem;
    padding: 0.3rem 1.2rem;
    text-align: center;
}

/* 底部样式 */
.site-footer {
    background: #18181b;
    color: #fff;
    padding: 56px 0 0 0;
    margin-top: 64px;
}

.footer-flex {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
    padding-bottom: 2rem;
}

.footer-brand {
    max-width: 400px;
}

.footer-brand .logo {
    color: #fff;
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 1rem;
    opacity: 0.8;
    margin-top: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 3rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.footer-col a {
    color: #bdbdbd;
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: #fff;
}

.footer-copyright {
    text-align: center;
    font-size: 0.95rem;
    color: #bdbdbd;
    border-top: 1px solid #23232a;
    padding: 1.2rem 0 1.5rem 0;
    margin-top: 0.5rem;
}

@media (max-width: 900px) {

    .header-flex,
    .footer-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.2rem;
        height: auto;
    }

    .hero-img {
        width: 90vw;
    }

    .footer-links {
        gap: 2rem;
    }
}

@media (max-width: 600px) {

    .site-header,
    .hero,
    .site-footer {
        padding-left: 0;
        padding-right: 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-img {
        width: 100vw;
        border-radius: 1rem;
    }

    .footer-flex {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-brand {
        max-width: 100%;
    }
}