/* 赢之初官网样式 */
:root {
    --primary-color: #c8102e;
    --primary-dark: #9c0c24;
    --text-color: #2b2b2b;
    --text-light: #6b6b6b;
    --bg-alt: #f7f5f2;
    --header-height: 64px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 头部导航 */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    z-index: 100;
}

.header-inner {
    max-width: 1140px;
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 24px;
}

/* 左上角语言切换 */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-label {
    font-size: 13px;
    color: var(--text-light);
}

#langSelect {
    height: 32px;
    padding: 0 8px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    background: #fff;
    font-size: 13px;
    color: var(--text-color);
    cursor: pointer;
}

#langSelect:focus {
    outline: none;
    border-color: var(--primary-color);
}

.logo {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    white-space: nowrap;
}

.logo-en {
    margin-left: 8px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--text-light);
}

.site-nav {
    margin-left: auto;
    display: flex;
    gap: 28px;
}

.site-nav a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s;
}

.site-nav a:hover {
    color: var(--primary-color);
}

/* 首屏横幅 */
.hero {
    min-height: 100vh;
    padding-top: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #4a1020 55%, var(--primary-dark) 100%);
    color: #fff;
}

.hero-content {
    max-width: 760px;
    padding: 0 24px;
}

.hero h1 {
    font-size: 48px;
    line-height: 1.25;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 4px;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
    border: 1px solid var(--primary-color);
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-outline {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.7);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
}

/* 通用区块 */
.section {
    padding: 88px 0;
}

.section-alt {
    background: var(--bg-alt);
}

.section-title {
    font-size: 34px;
    text-align: center;
    margin-bottom: 12px;
}

.section-title::after {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    margin: 14px auto 0;
    background: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 48px;
}

/* 关于我们 */
.about-body {
    max-width: 780px;
    margin: 0 auto 56px;
    text-align: center;
}

.about-body p {
    margin-bottom: 16px;
    color: var(--text-light);
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stat-number {
    font-size: 38px;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
    margin-top: 6px;
}

/* 卡片栅格 */
.card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.card {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 8px;
    padding: 32px 24px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.card h3 {
    font-size: 19px;
    margin-bottom: 12px;
    color: var(--text-color);
}

.card p {
    font-size: 14px;
    color: var(--text-light);
}

.card-advantage {
    border-top: 3px solid var(--primary-color);
}

.section-alt .card {
    border: none;
}

/* 联系我们 */
.contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.contact-label {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.contact-value {
    font-size: 17px;
    font-weight: 600;
}

/* 页脚 */
.site-footer {
    background: #1a1a2e;
    color: rgba(255, 255, 255, 0.75);
    text-align: center;
    padding: 36px 0;
    font-size: 14px;
}

.site-footer p:first-child {
    color: #fff;
    font-size: 16px;
    margin-bottom: 8px;
}

/* 响应式适配 */
@media (max-width: 900px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .hero h1 {
        font-size: 34px;
    }
}

@media (max-width: 640px) {
    .header-inner {
        gap: 12px;
        flex-wrap: wrap;
        height: auto;
        padding: 8px 16px;
    }

    .site-header {
        height: auto;
    }

    .site-nav {
        margin-left: 0;
        gap: 16px;
        flex-wrap: wrap;
    }

    .card-grid,
    .contact-info {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 28px;
    }

    .section {
        padding: 56px 0;
    }
}
