:root {
    --primary-color: #1e90ff;
    --secondary-color: #4169e1;
    --accent-color: #ff6b35;
    --accent-hover: #ff4d00;
    --text-dark: #2c3e50;
    --text-light: #5a6a7a;
    --bg-light: #f8f9ff;
    --bg-white: #ffffff;
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent-color) 0%, #ffa500 100%);
    --shadow-sm: 0 4px 15px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 25px rgba(0,0,0,0.08);
    --shadow-lg: 0 15px 35px rgba(30, 144, 255, 0.15);
}
body, html {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* 禁止水平滚动 */
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    /* 新增渐变背景和装饰图案 */
    background: linear-gradient(135deg, #daf3ff 0%, #ade5ff 100%);
    background-attachment: fixed;
    position: relative;
    /* overflow: hidden; */
}

body::before {
    content: '';
    position: fixed;
    top: -120px;
    left: -120px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle at 30% 30%, #a5d8ff 0%, transparent 70%);
    opacity: 0.35;
    z-index: 0;
    pointer-events: none;
}
body::after {
    content: '';
    position: fixed;
    bottom: -100px;
    right: -100px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle at 70% 70%, #ffd6a5 0%, transparent 70%);
    opacity: 0.25;
    z-index: 0;
    pointer-events: none;
}

.main-scroll-container {
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    /* 让主内容可滚动，sticky header 依然生效 */
}

/* --- Header --- */
.header {
    background: var(--gradient-primary);
    color: white;
    height: 52px;
    padding: 0.3rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease;

}

.header.scrolled {
     box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.nav-container {
    /* max-width: 1300px; */
    display: flex;
    align-items: center;
    padding: 0.2rem 0rem;
    height: 40px;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    margin-right: auto;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 48px;
    width: auto;
    /* margin-right: 18px; */
    vertical-align: middle;
    font-size: 0;
    display: inline;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    display: inline-block;
    position: absolute;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-item {
    margin: 0 0.2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    transition: background-color 0.3s, color 0.3s;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease-in-out;
}

.nav-link:hover::before, .nav-item.active .nav-link::before {
    width: 60%;
}

.nav-item.active .nav-link {
    color: #fff;
    font-weight: 700;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 1001;
}

/* Banner */
.hero-banner {
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.9), rgba(91, 167, 247, 0.9)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23f8f9fa" width="1200" height="600"/><circle fill="%234A90E2" opacity="0.1" cx="200" cy="150" r="80"/><circle fill="%235BA7F7" opacity="0.1" cx="800" cy="400" r="120"/><circle fill="%23FF6B35" opacity="0.1" cx="1000" cy="200" r="60"/></svg>');
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 70px;
    margin-top: auto;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 3rem;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.8rem;
    opacity: 0.9;
}

/* 主要内容区域 */
.main-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.2rem;
    background: rgba(255,255,255,0.85);
    border-radius: 18px;
    box-shadow: 0 6px 32px rgba(30,144,255,0.08);
}

.section {
    padding: 3.5rem 1.2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    background: #fff;
    box-shadow: 0 2px 12px rgba(30,144,255,0.06);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    position: relative;
}

.section-title::after {
    content: '';
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #4A90E2, #5BA7F7);
    display: block;
    margin: 1rem auto;
    border-radius: 2px;
}

/* 公司简介 */
.company-intro {
    background: #f8f9fa;
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.intro-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #4A90E2;
    display: block;
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
}

/* 使命愿景 */
.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.mv-item {
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.mv-item:hover {
    transform: translateY(-10px);
}

.mv-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.mv-item h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.mv-item p {
    color: #666;
    line-height: 1.8;
}

/* 发展历程 */
.timeline-section {
    background: #f8f9fa;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #4A90E2, #5BA7F7);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin: 3rem 0;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    width: 45%;
    position: relative;
}

.timeline-date {
    font-size: 1.2rem;
    font-weight: bold;
    color: #4A90E2;
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.timeline-desc {
    color: #666;
    font-size: 0.9rem;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: #4A90E2;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 0 4px #4A90E2;
}

/* 团队介绍 */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.team-member {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.team-member:hover {
    transform: translateY(-10px);
}

.member-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4A90E2, #5BA7F7);
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}

.member-name {
    font-size: 1.3rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.member-position {
    color: #4A90E2;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.member-bio {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* 价值观 */
.values-section {
    background: #f8f9fa;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(250px, 1fr));
    gap: 2rem;
}

.value-item {
    background: white;
    padding: 70px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.value-item:hover {
    transform: translateY(-5px);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.value-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.value-desc {
    color: #666;
    font-size: 0.9rem;
}

/* 联系方式 */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    background: white;
    padding: 2.2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: grid;
    max-height: 700px;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 31px;
}


.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-height: 700px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4A90E2;
}

.submit-btn {
    background: linear-gradient(135deg, #4A90E2, #5BA7F7);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.3s;
}

.submit-btn:hover {
    transform: translateY(-2px);
}

/* --- Footer --- */
.footer {
    background: linear-gradient(135deg, #2c3e50, #1a2530);
    color: white;
    padding: 4rem 0 0rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding: 0 2rem;
}

.footer-about {
    padding-right: 2rem;
    margin-top: -2rem;
    
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    height: 30%;
}

.footer-logo i {
    margin-right: 10px;
    color: #4ecdc4;
}

.footer-about-text {
    color: #bbb;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    transition: all 0.3s;
    text-decoration: none;
}

.social-icon:hover {
    background: #1e90ff;
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: #4ecdc4;
}

.footer-links-container { 
    max-width: 200px;
}

.footer-links {
    list-style: none;
}

.footer-link-item {
    margin-bottom: 0.8rem;
}

.footer-link {
    color: #bbb;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.footer-link i {
    margin-right: 8px;
    font-size: 0.9rem;
}

.footer-link:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    margin-bottom: 1rem;
    color: #bbb;
    font-size: 0.95rem;
    max-width: 100%;
}

.footer-contact-item i {
    margin-right: 10px;
    color: #4ecdc4;
    font-size: 1.1rem;
    min-width: 20px;
}

.footer-bottom {
    max-width: auto;
    margin:0;
    padding: 1rem 1rem 0.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: #999;
    font-size: 0.9rem;
}

.footer-bottom-declaration {
    max-width: auto;
    margin:0;
    text-align: center;
    color: #999;
    font-size: 0.6rem;
}

/* 友情链接 */
.friend-links {
    width: 100%;
    padding: 32px 0 24px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px 32px;
    align-items: flex-end;
}

.friend-link-title { 
    text-align: center;
    font-style: var(--text-light);
    margin-bottom: -20px;
    margin-top: 30px;
}

.friend-link-item {
    text-align: center;
}
.friend-link-item img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    box-shadow: 0 2px 8px #ddd;
}
.friend-link-item div {
    margin-top: 8px;
    width: 103px;
    font-size: 15px;
    color: #858585;
}

@media (max-width: 600px) {
    .friend-links {
        gap: 24px 8px;
        padding: 20px 0 16px 0;
    }
    .friend-link-item img {
        width: 60px;
        height: 60px;
    }
    .friend-link-item div {
        font-size: 13px;
        width: 75px;
    }
}

/* 悬浮联系方式 */
.floating-contact-wrapper {
    position: fixed;
    right: 0;
    bottom: 0;
    top: 35%;
    align-items:flex-end !important;
    height: 200px;
    /* width: 300px; */
    z-index: 1000;
    display: flex;
    flex-direction: column;
}
.floating-contact {

    left: auto;
    display: flex;
    flex-direction: row;
    gap: 8px;
    padding: 10px 12px;
    cursor: pointer;
    width: 56px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.436);
    border-radius: 8px;
    background: #fff;
    margin-bottom: 0;
    z-index: 9999;
}
.floating-contact-2 {margin-right: 0;transform: translateY(-31%);max-width: 250px; height: 90px;align-items: center;}
.floating-contact-3 {transform: translateY(-50%); max-width: 220px;}
.floating-contact-4 {  transform: translateY(-50%); max-width: 300px;}

.floating-contact .contact-icon {
    font-size: 1.3em;
    color: rgb(71, 211, 253);
    flex-shrink: 0;
    transition: color 0.3s;
}
.floating-contact .contact-tip,
.floating-contact .contact-details {
    opacity: 0;
    margin-left: 0;
    transition: opacity 0.3s, max-width 0.3s, margin-left 0.3s;
    white-space: nowrap;
    overflow: hidden;
}
.floating-contact:hover,
.floating-contact:focus {
    width: 100%;
    background: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    align-items: center;
}
.floating-contact:hover .contact-tip,
.floating-contact:hover .contact-details,
.floating-contact:focus .contact-tip,
.floating-contact:focus .contact-details {
    opacity: 1;
    max-width: 400px;
}
.floating-contact .contact-phone,
.floating-contact .contact-email {
    font-size: 1em;
    color: var(--accent-color);
    font-weight: 600;
}
.floating-contact .contact-qr {
    width: 72px;
    height: 72px;
    border-radius: 6px;
    border: 1px solid #eee;
}
/* 响应式设计 */


@media (max-width: 1000px) {
    .nav-menu { display: none; }
    .mobile-menu-btn { display: block; margin-left: 1rem; margin-right: 0.5rem;}
    
    /* Styles for the mobile navigation menu */
    .nav-menu.mobile-active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--secondary-color);
        padding: 1rem 0;
        animation: slideDown 0.3s ease-out;
    }

    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-20px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    .nav-item { margin: 0; }
    .nav-link { border-radius: 0; width: 100%; }
    .footer-container { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
}

/* 美化与正文响应式优化 */

/* 主内容区块美化 */
.main-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.2rem;
    background: rgba(255,255,255,0.85);
    border-radius: 18px;
    box-shadow: 0 6px 32px rgba(30,144,255,0.08);
}

/* 响应式正文优化 */
@media (max-width: 1000px) {
    .main-content {
        padding: 0 0.5rem;
    }
    .section {
        padding: 2.5rem 0.5rem;
    }
    .intro-content, .mission-vision, .contact-section {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    .timeline-content {
        width: 90% !important;
        margin: 0 auto;
    }
}
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }
    .main-content {
        max-width: 100%;
        padding: 0 0.2rem;
    }
    .section {
        padding: 1.5rem 0.2rem;
        border-radius: 10px;
    }
    .section-title {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }
    .intro-content, .mission-vision, .contact-section {
        grid-template-columns: 1fr !important;
        gap: 1.2rem !important;
    }
    .intro-stats {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    .timeline {
        max-width: 100%;
    }
    .timeline-content {
        width: 95% !important;
        padding: 1.2rem;
    }
    .team-grid, .values-grid {
        grid-template-columns: 1fr !important;
        gap: 1.2rem !important;
    }
    .team-member, .value-item {
        padding: 1.2rem 0.7rem;
        border-radius: 10px;
    }
    .member-avatar {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    .contact-info, .contact-form {
        padding: 1.2rem;
        border-radius: 10px;
    }
    .footer-logo {
        font-size: 1.6rem;
    }
}
@media (max-width: 600px) {
    .main-content {
        padding: 0 0.1rem;
    }
    .section {
        padding: 1rem 0.1rem;
        margin-bottom: 1rem;
    }
    .section-title {
        font-size: 1.2rem;
    }
    .intro-content, .mission-vision, .contact-section {
        grid-template-columns: 1fr !important;
        gap: 0.7rem !important;
    }
    .intro-stats {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    .timeline-content {
        width: 99% !important;
        padding: 0.7rem;
    }
    .timeline-item {
        margin: 1.2rem 0;
    }
    .team-member, .value-item {
        padding: 3.7rem 0.3rem;
    }
    .member-avatar {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }
    .contact-info, .contact-form {
        padding: 0.7rem;
    }
}

/* 细节优化 */
.section-title {
    letter-spacing: 1px;
    font-weight: 700;
}
.intro-content, .mission-vision, .contact-section {
    transition: all 0.3s;
}
.timeline-content, .team-member, .value-item {
    transition: box-shadow 0.3s, transform 0.3s;
}
.timeline-content:hover, .team-member:hover, .value-item:hover {
    box-shadow: 0 8px 32px rgba(30,144,255,0.13);
    transform: translateY(-4px) scale(1.02);
}

/* 保证图片、视频自适应 */
img, video {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

