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

:root {
    /* 保持现有的蓝色系主题色，与 yf-img.jpg 兼容 */
    --primary-color: #1e88e5;
    --secondary-color: #0d47a1;
    --accent-color: #42a5f5;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f5f7fa;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #1e88e5 0%, #0d47a1 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

/* 导航栏样式 */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.logo-image {
    height: 45px;
    width: auto;
    object-fit: contain;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
}

.logo i {
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

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

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

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    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%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

/* Hero Banner样式 */
.hero {
    margin-top: 70px;
    height: 600px;
    background: url('../images/yf-img.jpg') center/cover no-repeat;
    background-color: var(--secondary-color);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 136, 229, 0.85) 0%, rgba(13, 71, 161, 0.85) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: inline-block;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

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

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

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

/* 通用Section样式 */
section {
    padding: 80px 0;
}

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

.section-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    letter-spacing: 2px;
}

/* 核心优势样式 */
.advantages {
    background: var(--bg-light);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.advantage-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(30, 136, 229, 0.2);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
}

.advantage-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.advantage-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* 功能列表样式 */
.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: var(--white);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    box-shadow: 0 5px 15px rgba(30, 136, 229, 0.15);
    transform: translateX(5px);
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.feature-content h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.feature-content p {
    color: var(--text-light);
}

/* 服务体系样式 */
.service-intro {
    max-width: 900px;
    margin: 0 auto 50px;
    text-align: center;
}

.intro-text {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    padding: 20px;
    background: linear-gradient(135deg, rgba(30, 136, 229, 0.05) 0%, rgba(13, 71, 161, 0.05) 100%);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
}

.service-category {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.service-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(30, 136, 229, 0.15);
}

.service-category h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-color);
    display: flex;
    align-items: center;
    gap: 15px;
}

.service-category h3 i {
    font-size: 2rem;
}

.service-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 定价方案样式 */
.pricing {
    background: var(--bg-light);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
    border: 3px solid var(--primary-color);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--gradient);
    color: var(--white);
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

.pricing-header h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.price {
    margin-bottom: 30px;
}

.currency {
    font-size: 1.5rem;
    vertical-align: top;
}

.amount {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
}

.period {
    font-size: 1rem;
    color: var(--text-light);
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.pricing-features i {
    margin-right: 10px;
    width: 20px;
}

.pricing-features .fa-check {
    color: #4caf50;
}

.pricing-features .fa-times {
    color: #999;
}

/* 合作伙伴样式 */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.partner-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(30, 136, 229, 0.15);
}

.partner-logo {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
}

.partner-card h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.partner-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* 关于我们样式 */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: var(--bg-light);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: var(--gradient);
    color: var(--white);
    transform: scale(1.05);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-item:hover .stat-number {
    color: var(--white);
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
}

.stat-item:hover .stat-label {
    color: rgba(255, 255, 255, 0.9);
}

/* 联系我们样式 */
.contact {
    background: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: var(--white);
    border-radius: 10px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.info-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.info-item p {
    color: var(--text-light);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-dark);
    background-color: var(--white);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.contact-form select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
    padding-right: 40px;
    cursor: pointer;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.1);
}

.contact-form button {
    align-self: flex-start;
}

/* 隐私政策样式 */
.privacy {
    background: var(--white);
}

.privacy-content {
    max-width: 900px;
    margin: 0 auto;
}

.privacy-section {
    margin-bottom: 40px;
    padding: 30px;
    background: var(--bg-light);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.privacy-section h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
}

.privacy-section h4 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-top: 25px;
    margin-bottom: 15px;
}

.privacy-section p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: justify;
}

.privacy-section ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.privacy-section ul li {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 10px;
    list-style-type: disc;
}

.privacy-section ul li strong {
    color: var(--text-dark);
}

.last-updated {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-top: 10px;
}

.contact-details {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    margin-top: 15px;
}

.contact-details p {
    margin-bottom: 10px;
}

.contact-details strong {
    color: var(--primary-color);
}

.privacy-note {
    margin-top: 40px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(30, 136, 229, 0.1) 0%, rgba(13, 71, 161, 0.1) 100%);
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
}

.privacy-note p {
    color: var(--text-dark);
    font-weight: 500;
    margin: 0;
}

/* 页脚样式 */
.footer {
    background: #1a1a1a;
    color: var(--white);
    padding: 60px 0 20px;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: var(--accent-color);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
}

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

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

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--accent-color);
}

.footer-section ul li i {
    margin-right: 10px;
    width: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.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);
}

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

/* 响应式设计 */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 15px 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-category {
        padding: 30px 20px;
    }

    .service-category h3 {
        font-size: 1.5rem;
    }

    .intro-text {
        font-size: 1rem;
        padding: 15px;
    }

    .pricing-note {
        margin: 30px 20px 0;
        padding: 15px 20px;
    }

    .system-features-grid {
        grid-template-columns: 1fr;
    }

    .system-feature-card {
        padding: 30px 20px;
    }

    .system-feature-card h3 {
        font-size: 1.3rem;
    }

    .system-note {
        margin: 30px 20px 0;
        padding: 20px;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .partners-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 500px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .stat-item {
        padding: 20px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .service-category h3 {
        font-size: 1.3rem;
    }

    .service-category h3 i {
        font-size: 1.5rem;
    }
}

/* 定价提示样式 */
.pricing-note {
    max-width: 1000px;
    margin: 40px auto 0;
    padding: 20px 30px;
    background: linear-gradient(135deg, rgba(30, 136, 229, 0.08) 0%, rgba(13, 71, 161, 0.08) 100%);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.pricing-note p {
    color: var(--text-dark);
    line-height: 1.8;
    margin: 0;
}

.pricing-note strong {
    color: var(--primary-color);
}

/* 订单物流管理系统样式 */
.system-section {
    background: var(--white);
    padding: 80px 0;
}

.system-intro {
    max-width: 900px;
    margin: 0 auto 50px;
    text-align: center;
}

.system-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.system-feature-card {
    background: var(--white);
    padding: 35px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.system-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(30, 136, 229, 0.2);
    border-color: var(--primary-color);
}

.system-feature-card.featured {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(30, 136, 229, 0.05) 0%, rgba(13, 71, 161, 0.05) 100%);
}

.system-feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--white);
    transition: all 0.3s ease;
}

.system-feature-card:hover .system-feature-icon {
    transform: rotate(360deg);
}

.system-feature-card h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    text-align: center;
}

.system-feature-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    padding: 8px 0;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.feature-list li i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.system-note {
    max-width: 900px;
    margin: 40px auto 0;
    padding: 25px 30px;
    background: linear-gradient(135deg, rgba(30, 136, 229, 0.08) 0%, rgba(13, 71, 161, 0.08) 100%);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.system-note p {
    color: var(--text-dark);
    line-height: 1.8;
    margin: 0;
}

.system-note strong {
    color: var(--primary-color);
}
