/* ================================================
   神霄货盘 - 京东风格简洁设计
   红色点缀 + 白色主调
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700;900&family=Noto+Serif+SC:wght@400;700;900&display=swap');

:root {
    /* 主题色 - 京东红 */
    --primary: #E4393C;        /* 京东红 */
    --primary-dark: #C21619;   /* 深红 */
    --primary-light: #FF6B6B;  /* 浅红 */
    
    /* 辅助色 */
    --accent: #FFD700;         /* 金色点缀 */
    --secondary: #1A1A2E;      /* 深蓝黑 */
    
    /* 中性色 - 京东白 */
    --dark: #333333;
    --dark-light: #666666;
    --gray: #999999;
    --gray-light: #E5E5E5;
    --light: #F7F7F7;
    --light-warm: #FAFAFA;
    --white: #FFFFFF;
    
    /* 字体 */
    --font-display: 'Noto Serif SC', serif;
    --font-body: 'Noto Sans SC', sans-serif;
    
    /* 阴影 */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    
    /* 过渡 */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--white);
}

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

/* ================================================
   导航栏 - 简洁白色 + 红色点缀
   ================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    z-index: 1000;
    padding: 16px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 26px;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
}

.brand-logo {
    height: 40px;
    width: auto;
    transition: var(--transition);
}

.nav-brand:hover .brand-logo {
    transform: scale(1.03);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 36px;
}

.nav-link {
    color: var(--dark-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

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

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

.nav-actions {
    display: flex;
    gap: 10px;
}

/* 按钮 */
.btn {
    padding: 8px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: var(--transition);
    border: 1px solid transparent;
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

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

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

.btn-outline:hover {
    background: rgba(228, 57, 60, 0.08);
}

.btn:hover {
    transform: scale(1.08);
}

.btn-large {
    padding: 12px 36px;
    font-size: 16px;
    border-radius: 6px;
}

.btn-block {
    width: 100%;
}

/* ================================================
   英雄区 - 简洁白色 + 红色点缀
   ================================================ */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
    background: #f8f9fa;
}

/* 装饰线条 - 京东风格 */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--white);
    opacity: 0.08;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('world_map.png');
    background-size: 70%;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    opacity: 0;
    animation: fadeInMap 3s ease-in-out forwards;
    filter: contrast(1.3) brightness(0.7);
}

@keyframes fadeInMap {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

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

.hero-title {
    font-family: var(--font-display);
    font-size: 76px;
    font-weight: 950;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: 3px;
}

.hero-title span {
    color: var(--primary);
    background: linear-gradient(90deg, #dc3545, #ff6b6b, #ffaa00, #ff6b6b, #dc3545);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: featherFlow 3s ease-in-out infinite;
    position: relative;
    display: inline-block;
    filter: drop-shadow(0 0 8px rgba(220, 53, 69, 0.5));
}

/* 羽化流光效果 - 剪映风格 */
@keyframes featherFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero-subtitle {
    font-size: 24px;
    color: var(--dark-light);
    margin-bottom: 40px;
    font-weight: 500;
}

/* 简洁统计 */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 48px;
}

.stat-item {
    text-align: center;
    padding: 20px 28px;
    background: transparent;
    border-radius: 8px;
    transition: var(--transition);
}

.stat-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.stat-value {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
    transition: transform 0.3s ease;
}

.stat-item:hover .stat-value {
    transform: scale(1.15);
}

.stat-label {
    font-size: 14px;
    color: var(--dark-light);
}

/* 按钮组 */
.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 40px;
}

/* 滚动提示箭头 */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    cursor: pointer;
    margin-top: 80px;
}

.scroll-arrow {
    position: relative;
    width: 28px;
    height: 20px;
}

.scroll-arrow::before,
.scroll-arrow::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 28px;
    background-color: rgba(128, 128, 128, 0.85);
    border-radius: 2px;
    bottom: 0;
    top: auto;
}

.scroll-arrow::before {
    left: 12px;
    transform: rotate(60deg);
    transform-origin: bottom center;
}

.scroll-arrow::after {
    right: 12px;
    transform: rotate(-60deg);
    transform-origin: bottom center;
}

/* 三个箭头在同一位置，依次亮起和变暗 - 流水灯效果 */
.scroll-indicator .scroll-arrow:nth-child(1) {
    animation: scroll-wave 1.8s ease-in-out infinite;
}

.scroll-indicator .scroll-arrow:nth-child(2) {
    animation: scroll-wave 1.8s ease-in-out infinite;
    animation-delay: 0.6s;
}

.scroll-indicator .scroll-arrow:nth-child(3) {
    animation: scroll-wave 1.8s ease-in-out infinite;
    animation-delay: 1.2s;
}

@keyframes scroll-wave {
    0% {
        opacity: 0.2;
    }
    25% {
        opacity: 1;
    }
    50% {
        opacity: 0.2;
    }
    100% {
        opacity: 0.2;
    }
}

.scroll-indicator:hover .scroll-arrow::before,
.scroll-indicator:hover .scroll-arrow::after {
    background-color: rgba(128, 128, 128, 1);
}

.action-btn {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

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

.info-btn {
    background: white;
    border-color: var(--gray-light);
    color: var(--dark);
}

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

/* ================================================
   通用区块
   ================================================ */
section {
    padding: 80px 0;
}

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

.section-title {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark);
    position: relative;
    display: inline-block;
}

.section-subtitle {
    font-size: 16px;
    color: var(--gray);
    margin-top: 12px;
}

/* ================================================
   六大优势 - 卡片简洁风格
   ================================================ */
.resources-section {
    background: var(--light);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.resource-card {
    background: var(--white);
    padding: 28px 16px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid transparent;
}

.resource-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
    transform: translateY(-4px);
}

.resource-icon {
    font-size: 32px;
    margin-bottom: 16px;
    color: var(--primary);
}

.resource-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark);
}

.resource-card p {
    font-size: 12px;
    color: var(--gray);
    line-height: 1.5;
}

.btn-micro {
    padding: 6px 14px;
    font-size: 12px;
    border-radius: 4px;
    border: 1px solid var(--primary);
    background: transparent;
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    margin-top: 12px;
}

.btn-micro:hover {
    background: var(--primary);
    color: white;
}

/* ================================================
   核心优势 - 白色背景简洁风格
   ================================================ */
.features {
    background: var(--white);
}

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

.feature-card {
    background: var(--white);
    padding: 36px 24px;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--gray-light);
}

.feature-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.feature-icon-circle {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #FFF5F5 0%, #FFF0F0 100%);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary);
    transition: var(--transition);
}

.feature-card:hover .feature-icon-circle {
    background: var(--primary);
    border-color: var(--primary);
}

.feature-icon-circle .icon {
    font-size: 32px;
    color: var(--primary);
    transition: var(--transition);
}

.feature-card:hover .feature-icon-circle .icon {
    color: white;
}

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

.feature-desc {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 16px;
    font-size: 13px;
}

.feature-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    transition: var(--transition);
}

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

/* ================================================
   服务体系 - 卡片简洁风格
   ================================================ */
.services {
    background: var(--light);
}

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

.service-card {
    background: var(--white);
    border-radius: 8px;
    padding: 0;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid transparent;
    overflow: hidden;
}

.service-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.service-icon-box {
    background: var(--white);
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    border-bottom: 1px solid var(--gray-light);
}

.service-content {
    padding: 28px;
}

.service-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 20px;
    text-align: center;
}

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

.service-list li {
    padding: 10px 0;
    padding-left: 20px;
    position: relative;
    color: var(--dark-light);
    font-size: 14px;
    border-bottom: 1px dashed var(--gray-light);
}

.service-list li:last-child {
    border-bottom: none;
}

.service-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.service-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px 0;
    background: var(--white);
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    font-size: 14px;
}

.service-btn:hover {
    background: var(--primary);
    color: white;
}

/* ================================================
   工作流程 - 简洁线条风格
   ================================================ */
.workflow {
    background: var(--primary);
    border-top: 1px solid rgba(255,255,255,0.2);
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.workflow .section-title {
    color: white;
}

.workflow-steps {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
}

.step-number {
    font-size: 48px;
    font-weight: 800;
    font-family: var(--font-display);
    color: #cccccc;
    margin-bottom: 12px;
    transition: transform 0.3s ease, color 0.3s ease;
    display: inline-block;
}

.step:hover .step-number,
.step-connector:hover + .step .step-number {
    color: #FFD700;
    transform: scale(1.15);
}

.step-content h3 {
    font-size: 18px;
    margin-bottom: 6px;
    color: white;
    font-weight: 600;
}

.step-content p {
    color: rgba(255,255,255,0.9);
    font-size: 13px;
}

.step-connector {
    flex: 0.4;
    height: 2px;
    background: #cccccc;
    position: relative;
    margin-top: 30px;
}

.step-connector::after {
    content: '→';
    position: absolute;
    right: -8px;
    top: -10px;
    color: #cccccc;
    font-size: 18px;
}

/* ================================================
   联系我们 - 简洁分栏
   ================================================ */
.contact {
    background: var(--light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-title {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark);
}

.contact-desc {
    font-size: 15px;
    color: var(--dark-light);
    line-height: 1.8;
    margin-bottom: 32px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: var(--white);
    border-radius: 6px;
    border: 1px solid var(--gray-light);
    transition: var(--transition);
}

.contact-item:hover {
    border-color: var(--primary);
}

.contact-icon {
    font-size: 24px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFF5F5;
    border-radius: 6px;
}

.contact-label {
    font-size: 12px;
    color: var(--gray);
    margin-bottom: 2px;
}

.contact-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
}

.contact-form {
    background: var(--white);
    padding: 32px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-light);
}

.form-group {
    margin-bottom: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-light);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 14px;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* ================================================
   页脚 - 简洁深灰
   ================================================ */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.8);
    padding: 48px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-brand .brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 16px;
    color: white;
}

.footer-brand .brand-logo {
    height: 44px;
    width: auto;
}

.footer-desc {
    opacity: 0.7;
    line-height: 1.7;
    font-size: 13px;
    margin-bottom: 12px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.footer-column h4 {
    margin-bottom: 16px;
    font-size: 15px;
    color: white;
    font-weight: 600;
}

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

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition);
    font-size: 13px;
}

.footer-column a:hover {
    color: var(--primary-light);
}

/* 二维码 */
.qr-codes {
    display: flex;
    gap: 16px;
}

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

.qr-image {
    width: 90px;
    height: 90px;
    border-radius: 6px;
    background: white;
    padding: 6px;
}

.qr-label {
    margin-top: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 12px;
    opacity: 0.6;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition);
}

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

/* ================================================
   响应式
   ================================================ */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 52px;
    }
    
    .resources-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero {
        min-height: auto;
        padding: 140px 20px 60px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 12px;
    }
    
    .stat-item {
        padding: 16px 20px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .resources-grid,
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-container {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .workflow-steps {
        flex-direction: column;
        gap: 28px;
    }
    
    .step-connector {
        display: none;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}
