/* ============ 全局变量与基础 ============ */
:root {
    --primary: #1a3c5e;
    --primary-dark: #0f2b44;
    --accent: #c9a84c;
    --accent-light: rgba(201, 168, 76, 0.12);
    --light-bg: #f7f9fc;
    --text: #2c3e50;
    --text-light: #5a6a7a;
    --white: #ffffff;
    --border: #e2e8f0;
    --shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 16px 40px rgba(0, 0, 0, 0.12);
    --radius: 16px;
    --radius-sm: 8px;
    --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background-color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ============ 语言切换 ============ */
.lang-switch {
    position: fixed;
    top: 18px;
    right: 30px;
    z-index: 1001;
    display: flex;
    background: var(--white);
    border-radius: 40px;
    box-shadow: var(--shadow);
    padding: 4px;
    border: 1px solid var(--border);
}

.lang-switch button {
    border: none;
    background: transparent;
    padding: 7px 16px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-light);
    letter-spacing: 0.5px;
    font-family: inherit;
}

.lang-switch button.active {
    background: var(--primary);
    color: var(--white);
}

.lang-switch button:hover:not(.active) {
    background: #f0f4fa;
    color: var(--primary);
}

/* ============ 导航栏 ============ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.7);
    transition: var(--transition);
    height: 72px;
    display: flex;
    align-items: center;
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.nav-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: var(--primary);
}

.logo-mark {
    height: 42px;
    padding: 0 14px;
    background: linear-gradient(135deg, var(--primary) 0%, #2a5580 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-weight: 900;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(26, 60, 94, 0.2);
}

.logo-text {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--primary);
    white-space: nowrap;
}

.nav-links {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    position: relative;
    color: var(--text);
    padding: 4px 0;
    white-space: nowrap;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 6px;
}

.hamburger span {
    width: 28px;
    height: 2.5px;
    background: var(--primary);
    border-radius: 4px;
    transition: var(--transition);
}

/* ============ 按钮 ============ */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    letter-spacing: 0.3px;
    font-family: inherit;
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(26, 60, 94, 0.25);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(26, 60, 94, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-accent {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(201, 168, 76, 0.3);
}

.btn-accent:hover {
    background: #b8963a;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(201, 168, 76, 0.35);
}

/* ============ Hero 区域 ============ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f0f4fa 0%, #ffffff 50%, #f9f3e7 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 30px 60px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(26, 60, 94, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    flex-wrap: wrap;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 1 1 500px;
    max-width: 620px;
}

.hero-badge {
    display: inline-block;
    background: var(--accent-light);
    color: #a08124;
    padding: 8px 18px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
    color: var(--primary);
    margin-bottom: 20px;
}

.hero-title span {
    color: var(--accent);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 520px;
    line-height: 1.75;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 36px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -1px;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}

.hero-image {
    flex: 1 1 380px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
    padding: 36px 32px;
    width: 100%;
    max-width: 440px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.hero-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.12);
}

.hero-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-card-list {
    margin-bottom: 18px;
}

.hero-card-list li {
    padding: 9px 0;
    border-bottom: 1px dashed #e2e8f0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    color: var(--text);
}

.hero-card-list li::before {
    content: '✓';
    color: var(--accent);
    font-weight: 700;
    flex-shrink: 0;
}

.hero-card-note {
    font-size: 0.85rem;
    color: #a08124;
    font-weight: 600;
}

/* ============ 平台标签区 ============ */
.platform-section {
    background: var(--white);
    padding: 50px 30px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.platform-group {
    margin-bottom: 22px;
}

.platform-group:last-child {
    margin-bottom: 0;
}

.platform-group-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.platform-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.platform-tag {
    background: var(--light-bg);
    border-radius: 30px;
    padding: 7px 16px;
    font-weight: 600;
    font-size: 0.82rem;
    color: var(--primary);
    border: 1px solid var(--border);
    transition: var(--transition);
    cursor: default;
}

.platform-tag:hover {
    border-color: var(--accent);
    background: #fdfaf3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 168, 76, 0.15);
}

/* ============ 通用 Section ============ */
section {
    padding: 90px 30px;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 55px;
}

.section-tag {
    display: inline-block;
    background: var(--accent-light);
    color: #a08124;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
    margin-bottom: 10px;
    line-height: 1.3;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============ 卡片网格 ============ */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    margin-top: 20px;
}

.card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px 26px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent);
    border-radius: 0 0 4px 4px;
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left;
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.card-icon {
    font-size: 2.4rem;
    margin-bottom: 14px;
}

.card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary);
}

.card p {
    color: var(--text-light);
    font-size: 0.92rem;
    line-height: 1.65;
}

/* ============ 服务列表 ============ */
.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.service-item {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-item:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.service-num {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 1.5px;
}

.service-item h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}

.service-item p {
    color: var(--text-light);
    font-size: 0.92rem;
    flex: 1;
}

/* ============ 品牌展示 ============ */
.brands-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.brand-tag {
    background: var(--white);
    border-radius: 50px;
    padding: 16px 32px;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary);
    border: 2px solid var(--border);
    box-shadow: var(--shadow);
    transition: var(--transition);
    letter-spacing: 1.5px;
    cursor: default;
}

.brand-tag:hover {
    border-color: var(--accent);
    background: #fdfaf3;
    transform: scale(1.05);
}

.brand-tag.highlight {
    border-color: var(--accent);
    background: linear-gradient(135deg, #fdfaf3 0%, #fefefe 100%);
    box-shadow: 0 8px 25px rgba(201, 168, 76, 0.2);
}

.brand-note {
    text-align: center;
    margin-top: 18px;
    font-size: 0.88rem;
    color: var(--text-light);
}

/* ============ 联系区域 ============ */
.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 36px;
    justify-content: space-between;
}

.contact-info-card {
    flex: 1 1 340px;
    background: var(--primary);
    border-radius: var(--radius);
    padding: 40px 36px;
    color: var(--white);
}

.contact-info-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.contact-info-card p {
    margin-bottom: 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    opacity: 0.92;
    line-height: 1.6;
}

.contact-detail-card {
    flex: 1 1 420px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 40px 36px;
    border: 1px solid var(--border);
}

.contact-detail-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

.contact-detail-card ul {
    list-style: none;
}

.contact-detail-card li {
    padding: 13px 0;
    border-bottom: 1px solid #eef2f6;
    font-size: 0.92rem;
    color: var(--text-light);
    display: flex;
    flex-wrap: wrap;
    gap: 4px 0;
}

.contact-detail-card li strong {
    color: var(--text);
    display: inline-block;
    min-width: 110px;
    font-weight: 600;
}

/* ============ 表单 ============ */
.contact-form {
    background: var(--white);
    padding: 36px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
    display: block;
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

.form-success {
    display: none;
    margin-top: 16px;
    padding: 12px 16px;
    background: #e8f5e9;
    color: #2e7d32;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
}

.form-error {
    display: none;
    margin-top: 16px;
    padding: 12px 16px;
    background: #fdecea;
    color: #c62828;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ============ 流程步骤 ============ */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.process-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.process-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.process-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 10px;
}

.process-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.process-card p {
    font-size: 0.88rem;
    color: var(--text-light);
}

/* ============ 页脚 ============ */
footer {
    background: #0f1e2e;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    padding: 32px 20px;
    font-size: 0.85rem;
}

footer a {
    color: var(--accent);
    transition: var(--transition);
}

footer a:hover {
    color: #e0c878;
}

.footer-brand {
    font-weight: 700;
    color: var(--white);
    font-size: 1.1rem;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

/* ============ 面包屑（内页） ============ */
.page-header {
    padding: 140px 30px 60px;
    background: linear-gradient(135deg, #f0f4fa 0%, #ffffff 60%, #f9f3e7 100%);
    text-align: center;
}

.page-header h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ============ 响应式 ============ */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.6rem;
    }
    .nav-links {
        gap: 18px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 90px 20px 50px;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-container {
        gap: 30px;
    }
    .hero-card {
        transform: none;
        padding: 24px 20px;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 20px 30px;
        box-shadow: var(--shadow);
        border-radius: 0 0 20px 20px;
        gap: 18px;
        border-top: 1px solid var(--border);
    }
    .nav-links.open {
        display: flex;
    }
    .hamburger {
        display: flex;
    }
    section {
        padding: 60px 20px;
    }
    .section-title {
        font-size: 1.9rem;
    }
    .page-header {
        padding: 120px 20px 40px;
    }
    .page-header h1 {
        font-size: 2.2rem;
    }
    .stat-number {
        font-size: 2rem;
    }
    .hero-stats {
        gap: 24px;
    }
    .contact-info-card,
    .contact-detail-card {
        padding: 28px 22px;
    }
    .platform-section {
        padding: 35px 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.85rem;
    }
    .btn {
        padding: 11px 22px;
        font-size: 0.88rem;
    }
    .hero-stats {
        gap: 18px;
    }
    .stat-number {
        font-size: 1.7rem;
    }
    .brand-tag {
        padding: 12px 22px;
        font-size: 1rem;
    }
    .logo-mark {
        font-size: 0.75rem;
        padding: 0 10px;
        letter-spacing: 1px;
    }
    .logo-text {
        font-size: 1.15rem;
        letter-spacing: 1px;
    }
}