:root {
    --primary: #0E6BB0;
    --primary-dark: #0A5489;
    --primary-light: #2B8AD4;
    --primary-lighter: #E8F2FA;
    --text-dark: #1A2A3A;
    --text-regular: #3D4A5C;
    --text-light: #6B7A8F;
    --text-lighter: #9AA5B3;
    --bg-white: #FFFFFF;
    --bg-light: #F5F8FC;
    --bg-gray: #EEF2F7;
    --border: #E1E8F0;
    --shadow-sm: 0 2px 8px rgba(14, 107, 176, 0.06);
    --shadow-md: 0 8px 24px rgba(14, 107, 176, 0.10);
    --shadow-lg: 0 16px 48px rgba(14, 107, 176, 0.14);
    --shadow-hover: 0 12px 32px rgba(14, 107, 176, 0.18);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 999px;
    --header-height: 80px;
    --header-height-mobile: 64px;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", Roboto, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-regular);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    display: block;
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
    outline: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

.section {
    padding: 100px 0;
}

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

@media (max-width: 768px) {
    .section {
        padding: 70px 0;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 16px;
    position: relative;
    padding: 0 24px;
}

.section-label::before,
.section-label::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 18px;
    height: 1px;
    background: var(--primary);
    opacity: 0.4;
}

.section-label::before {
    left: 0;
}

.section-label::after {
    right: 0;
}

.section-title {
    font-size: 42px;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-light);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 30px;
    }
    .section-subtitle {
        font-size: 15px;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 36px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: var(--transition);
    white-space: nowrap;
    text-align: center;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 6px 20px rgba(14, 107, 176, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(14, 107, 176, 0.4);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.btn-outline:hover {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
}

.btn-outline-blue {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline-blue:hover {
    background: var(--primary);
    color: #fff;
}

/* ============ HEADER ============ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 var(--border);
    transition: var(--transition);
}

.site-header.transparent {
    background: transparent;
    box-shadow: none;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* 品牌logo图片（同时支持浅色/深色场景切换） */
.brand-img {
    display: block;
    height: 44px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
}

.brand-img-reverse {
    display: none;
    height: 44px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
}

/* 导航栏透明状态（首屏深色背景）：显示反色logo */
.site-header.transparent .brand-img {
    display: none;
}

.site-header.transparent .brand-img-reverse {
    display: block;
}

/* 老版文字品牌（保留兼容） */
.brand-logo {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(14, 107, 176, 0.3);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-name {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: 1px;
}

.site-header.transparent .brand-name {
    color: #fff;
}

.brand-subtitle {
    font-size: 11px;
    color: var(--text-light);
    letter-spacing: 2px;
    margin-top: 2px;
}

.site-header.transparent .brand-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

/* ============ NAVIGATION ============ */
.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 10px 18px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.site-header.transparent .nav-link {
    color: #fff;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.site-header.transparent .nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
}

.site-header.scrolled .nav-link {
    color: var(--text-dark);
}

.site-header.scrolled .nav-link:hover,
.site-header.scrolled .nav-link.active {
    color: var(--primary);
    background: var(--primary-lighter);
}

.dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 200px;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 12px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-link {
    display: block;
    padding: 12px 16px;
    font-size: 14px;
    color: var(--text-regular);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.dropdown-link:hover {
    background: var(--primary-lighter);
    color: var(--primary);
}

.header-cta {
    margin-left: 16px;
    padding: 12px 26px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: var(--primary);
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.header-cta:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(14, 107, 176, 0.3);
}

.mobile-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

.site-header.transparent .mobile-toggle span {
    background: #fff;
}

.mobile-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1024px) {
    .main-nav {
        display: none;
    }
    .mobile-toggle {
        display: flex;
    }
    .header-cta {
        display: none;
    }
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: #fff;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.1);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    padding: calc(var(--header-height-mobile) + 20px) 20px 20px;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-item {
    border-bottom: 1px solid var(--border);
}

.mobile-menu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 4px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-dark);
}

.mobile-menu-link:hover {
    color: var(--primary);
}

.mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding-left: 16px;
}

.mobile-submenu.active {
    max-height: 500px;
}

.mobile-submenu a {
    display: block;
    padding: 12px 4px;
    color: var(--text-regular);
    font-size: 14px;
}

.mobile-submenu a:hover {
    color: var(--primary);
}

.mobile-menu-cta {
    display: block;
    margin-top: 24px;
    padding: 16px;
    background: var(--primary);
    color: #fff;
    text-align: center;
    font-weight: 600;
    border-radius: var(--radius-full);
}

.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 998;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ============ PAGE BANNER (除首页外) ============ */
.page-banner {
    position: relative;
    height: 480px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    padding-bottom: 80px;
    margin-top: var(--header-height);
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 20, 40, 0.35) 0%, rgba(10, 20, 40, 0.6) 60%, rgba(10, 20, 40, 0.8) 100%);
}

.banner-content {
    position: relative;
    z-index: 2;
    width: 100%;
    color: #fff;
    animation: fadeInUp 0.8s ease;
}

.banner-breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.banner-breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.banner-breadcrumb a:hover {
    color: #fff;
}

.banner-breadcrumb .sep {
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
}

.banner-title {
    font-size: 52px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.banner-desc {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 680px;
    line-height: 1.8;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .page-banner {
        height: 360px;
        padding-bottom: 50px;
        margin-top: var(--header-height-mobile);
    }
    .banner-title {
        font-size: 32px;
    }
    .banner-desc {
        font-size: 15px;
    }
}

/* ============ FOOTER ============ */
.site-footer {
    background: #0A1A2E;
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 60px;
}

.footer-brand .brand-img {
    display: none;
}

.footer-brand .brand-img-reverse {
    display: block;
    height: 52px;
    max-width: 320px;
    margin-bottom: 16px;
}

.footer-brand .brand-name {
    color: #fff;
    font-size: 22px;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.6);
    max-width: 320px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact-icon {
    width: 36px;
    height: 36px;
    background: rgba(14, 107, 176, 0.25);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    flex-shrink: 0;
}

.footer-heading {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 6px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ============ 动画 ============ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============ 通用卡片组件 ============ */
.icon-box {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 8px 20px rgba(14, 107, 176, 0.25);
    flex-shrink: 0;
}

.icon-box svg {
    width: 28px;
    height: 28px;
}

/* ============ 列表项 ============ */
.feature-list-item {
    display: flex;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
}

.feature-list-item:last-child {
    border-bottom: none;
}
