/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0066cc;
    --primary-dark: #004999;
    --primary-light: #3385d6;
    --secondary-color: #ff6b35;
    --accent-color: #ffd23f;
    --text-dark: #1a1a1a;
    --text-gray: #666666;
    --text-light: #999999;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --success-color: #28a745;
    --gradient-primary: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    --gradient-hero: linear-gradient(135deg, rgba(0, 102, 204, 0.95) 0%, rgba(0, 82, 163, 0.95) 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-img {
    width: 40px;
    height: 40px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}

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

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: var(--shadow-md);
    border-radius: 8px;
    padding: 12px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--text-dark);
    font-size: 14px;
}

.dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.nav-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

.btn-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    transition: color 0.3s ease;
}

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

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    padding: 10px 24px;
    border-radius: 24px;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Hero区 */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 70px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #7e22ce 100%);
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hero);
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: white;
    padding: 60px 0;
}

.official-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.badge-icon {
    width: 20px;
    height: 20px;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero-title .highlight {
    color: var(--accent-color);
}

.hero-subtitle {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 12px;
    opacity: 0.95;
}

.hero-description {
    font-size: 18px;
    margin-bottom: 48px;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-bottom: 48px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    opacity: 0.9;
}

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

.btn-hero-primary {
    background: var(--accent-color);
    color: var(--primary-dark);
    padding: 16px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(255, 210, 63, 0.3);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(255, 210, 63, 0.5);
}

.btn-hero-secondary {
    background: white;
    color: var(--primary-color);
    padding: 16px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-hero-outline {
    background: transparent;
    color: white;
    padding: 16px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    border: 2px solid white;
    transition: all 0.3s ease;
}

.btn-hero-outline:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    opacity: 0.8;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    font-size: 14px;
    margin-bottom: 8px;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-left: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(-45deg);
    margin: 0 auto;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* 覆盖市场 */
.markets {
    padding: 100px 0;
    background: var(--bg-light);
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-dark);
}

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

.markets-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.market-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.market-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.market-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.market-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.market-card p {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.8;
}

/* 五大核心服务 */
.services {
    padding: 100px 0;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-icon {
    font-size: 56px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.service-tagline {
    color: var(--primary-color);
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    margin-bottom: 24px;
}

.service-features li {
    padding: 8px 0;
    color: var(--text-gray);
    font-size: 14px;
    position: relative;
    padding-left: 20px;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 700;
}

.service-badge {
    display: inline-block;
    background: var(--secondary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
}

.service-link:hover {
    gap: 8px;
}

/* 核心优势 */
.advantages {
    padding: 100px 0;
    background: var(--bg-light);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.advantage-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.advantage-icon {
    font-size: 56px;
    margin-bottom: 20px;
}

.advantage-card h3 {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--primary-color);
}

.advantage-content ul {
    list-style: none;
    margin-bottom: 20px;
}

.advantage-content li {
    padding: 8px 0;
    color: var(--text-dark);
    font-size: 15px;
    position: relative;
    padding-left: 24px;
}

.advantage-content li::before {
    content: '●';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.advantage-subtitle {
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 16px;
    margin-bottom: 8px;
}

.advantage-value {
    background: linear-gradient(135deg, #fff3cd 0%, #ffe69c 100%);
    padding: 16px;
    border-radius: 8px;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 15px;
    border-left: 4px solid var(--accent-color);
}

/* CTA区域 - 易货贸易 */
.cta-barter {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.cta-badge {
    display: inline-block;
    background: var(--accent-color);
    color: var(--primary-dark);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.cta-text h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-text h3 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 32px;
    opacity: 0.95;
}

.cta-features {
    list-style: none;
    margin-bottom: 40px;
}

.cta-features li {
    padding: 12px 0;
    font-size: 18px;
    font-weight: 500;
}

.btn-cta {
    display: inline-block;
    background: white;
    color: var(--primary-color);
    padding: 16px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.cta-visual {
    text-align: center;
}

.barter-diagram {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 48px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-bottom: 24px;
}

.barter-item {
    font-size: 32px;
    background: rgba(255, 255, 255, 0.2);
    padding: 24px 32px;
    border-radius: 12px;
    font-weight: 600;
}

.barter-arrow {
    font-size: 48px;
    font-weight: 700;
}

.barter-note {
    font-size: 16px;
    opacity: 0.9;
}

/* CTA区域 - CIPS结算 */
.cta-settlement {
    padding: 100px 0;
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    color: var(--text-dark);
}

.cta-settlement-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.rate-comparison {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-bottom: 24px;
}

.rate-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    min-width: 180px;
    box-shadow: var(--shadow-md);
}

.rate-label {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 12px;
}

.rate-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-dark);
}

.rate-card.wanhe {
    background: var(--gradient-primary);
    color: white;
    position: relative;
    transform: scale(1.1);
}

.rate-card.wanhe .rate-label,
.rate-card.wanhe .rate-number {
    color: white;
}

.rate-badge {
    display: block;
    background: var(--accent-color);
    color: var(--primary-dark);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 8px;
}

.vs {
    font-size: 32px;
    font-weight: 800;
    color: white;
}

.savings-note {
    font-size: 16px;
    font-weight: 500;
    text-align: center;
}

/* 成功案例 */
.cases {
    padding: 100px 0;
    background: white;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.case-card {
    background: var(--bg-light);
    padding: 32px;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.case-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.case-tag {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.case-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.case-card p {
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-gray);
}

.case-card strong {
    color: var(--text-dark);
}

/* 前端服务站 */
.stations {
    padding: 100px 0;
    background: var(--bg-light);
}

.stations-stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-bottom: 60px;
}

.stat-box {
    text-align: center;
}

.stat-num {
    font-size: 56px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.stat-desc {
    font-size: 16px;
    color: var(--text-gray);
}

.stations-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 48px;
}

.map-placeholder {
    background: white;
    border-radius: 16px;
    padding: 100px 40px;
    text-align: center;
    color: var(--text-gray);
    border: 2px dashed var(--border-color);
    font-size: 18px;
}

.stations-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.station-group h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.station-group ul {
    list-style: none;
}

.station-group li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: var(--text-dark);
    font-size: 15px;
}

.station-group li::before {
    content: '📍';
    position: absolute;
    left: 0;
}

.stations-cta {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.btn-secondary {
    background: var(--primary-color);
    color: white;
    padding: 14px 32px;
    border-radius: 24px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: var(--primary-dark);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    padding: 14px 32px;
    border-radius: 24px;
    text-decoration: none;
    font-weight: 500;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* 信任背书 */
.trust {
    padding: 100px 0;
    background: white;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.trust-item {
    text-align: center;
}

.trust-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
}

.trust-item p {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-dark);
}

.trust-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-content {
    background: var(--bg-light);
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    padding: 60px 20px;
    width: 100%;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.placeholder-icon {
    font-size: 64px;
    margin-bottom: 16px;
}

.placeholder-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.placeholder-desc {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
}

/* 底部CTA */
.bottom-cta {
    padding: 100px 0;
    background: var(--gradient-primary);
    color: white;
    text-align: center;
}

.bottom-cta h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
}

.bottom-cta p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* 页脚 */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 12px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 8px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.social-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 12px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.footer-bottom p {
    margin-bottom: 4px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

@media (max-width: 768px) {
    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 24px;
    }

    .hero-stats {
        gap: 40px;
    }

    .services-grid,
    .markets-grid,
    .advantages-grid,
    .cases-grid,
    .trust-grid {
        grid-template-columns: 1fr;
    }

    .cta-content,
    .cta-settlement-content,
    .stations-content {
        grid-template-columns: 1fr;
    }

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

    .nav-menu {
        display: none;
    }
}
