/* ========== 全局样式与重置 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2b8c5e;
    --primary-dark: #1f6844;
    --primary-light: #e9f4ef;
    --text-dark: #1e2a3a;
    --text-gray: #5a6e7c;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --footer-bg: #0a1a2f;
    --shadow-sm: 0 8px 20px rgba(0,0,0,0.05);
    --shadow-md: 0 12px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Segoe UI', 'Poppins', system-ui, -apple-system, 'Roboto', sans-serif;
    background-color: var(--white);
    color: var(--text-dark);
    overflow-x: hidden;
}

/* ========== 顶部导航栏 ========== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding: 0.8rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    transition: var(--transition);
}

.logo h1 {
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), #ff6800);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo p {
    font-size: 0.7rem;
    color: var(--primary-color);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    font-weight: 600;
    color: var(--text-dark);
    transition: color 0.2s;
    font-size: 1rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: var(--text-dark);
}

/* ========== 全屏滚动容器 ========== */
.scroll-container {
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.scroll-container::-webkit-scrollbar {
    width: 6px;
}
.scroll-container::-webkit-scrollbar-track {
    background: #e0e0e0;
    border-radius: 3px;
}
.scroll-container::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.section {
    scroll-snap-align: start;
    scroll-snap-stop: always;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 80px 20px 60px;
}

.container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
}

/* ========== 标题通用 ========== */
.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}
.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 16px auto 0;
    border-radius: 2px;
}
.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
}

/* ========== 第1屏：轮播图 ========== */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    z-index: 1;
}
.slide.active {
    opacity: 1;
    z-index: 2;
}
.slide video, .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.slide-overlay {
    position: absolute;
    bottom: 25%;
    left: 10%;
    right: 10%;
    color: white;
    text-shadow: 0 2px 12px rgba(0,0,0,0.5);
    z-index: 3;
    text-align: left;
}
.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}
.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}
.hero-btn {
    background: var(--primary-color);
    border: none;
    padding: 12px 32px;
    border-radius: 40px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: var(--transition);
    animation: fadeInUp 0.8s ease 0.4s both;
}
.hero-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(43,140,94,0.3);
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}
.nav-dot {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.6);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}
.nav-dot.active {
    background: var(--primary-color);
    width: 24px;
    border-radius: 20px;
}
.slider-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
    pointer-events: none;
}
.slider-arrows button {
    pointer-events: auto;
    background: rgba(0,0,0,0.5);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.2rem;
}
.slider-arrows button:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}
.scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    z-index: 20;
    background: rgba(0,0,0,0.5);
    padding: 8px 16px;
    border-radius: 30px;
    backdrop-filter: blur(4px);
    font-size: 14px;
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%,20%,50%,80%,100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ========== 产品中心 ========== */
.product-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}
.category-btn {
    background: #eef2f5;
    border: none;
    padding: 0.6rem 1.8rem;
    border-radius: 40px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}
.category-btn.active, .category-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}
.product-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.product-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: #eef2f5;
    transition: transform 0.5s ease;
}
.product-card:hover .product-img {
    transform: scale(1.05);
}
.product-info {
    padding: 1.2rem;
}
.product-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}
.product-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-color);
    padding: 0.2rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

/* ========== 关于我们 ========== */
.about-tabs {
    background: var(--white);
    border-radius: 32px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}
.tab-buttons {
    display: flex;
    gap: 1rem;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}
.tab-btn {
    background: none;
    border: none;
    padding: 0.8rem 1.5rem;
    font-weight: 600;
    color: var(--text-gray);
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}
.tab-btn.active {
    color: var(--primary-color);
}
.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
}
.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}
.tab-pane.active {
    display: block;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.intro-content {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: center;
}
.intro-text {
    flex: 1;
}
.intro-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}
.intro-text p {
    line-height: 1.8;
    color: var(--text-gray);
}
.company-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}
.stat-item {
    text-align: center;
    background: var(--bg-light);
    padding: 1rem 1.5rem;
    border-radius: 16px;
    flex: 1;
    min-width: 100px;
    transition: var(--transition);
}
.stat-item:hover {
    transform: translateY(-5px);
    background: var(--primary-light);
}
.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    display: block;
}
.stat-label {
    font-size: 0.85rem;
    color: var(--text-gray);
}
.intro-image {
    flex: 1;
}
.intro-image img {
    border-radius: 24px;
    width: 100%;
    transition: var(--transition);
}
.intro-image img:hover {
    transform: scale(1.02);
}
.dynamic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}
.dynamic-item {
    background: var(--bg-light);
    padding: 1.8rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
}
.dynamic-item:hover {
    transform: translateY(-5px);
    background: var(--primary-light);
}
.dynamic-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}
.dynamic-item h4 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}
.dynamic-item p {
    color: var(--text-gray);
    font-size: 0.9rem;
}
.timeline {
    position: relative;
    padding-left: 30px;
}
.timeline-item {
    margin-bottom: 2rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}
.timeline-year {
    font-weight: 800;
    background: var(--primary-light);
    padding: 0.3rem 1.2rem;
    border-radius: 30px;
    color: var(--primary-color);
    min-width: 80px;
    text-align: center;
}
.timeline-item h4 {
    margin-bottom: 0.3rem;
}
.timeline-item p {
    color: var(--text-gray);
}

/* ========== 新闻资讯 ========== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}
.news-card {
    background: var(--white);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.news-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: #eef2f5;
    transition: transform 0.5s ease;
}
.news-card:hover .news-img {
    transform: scale(1.05);
}
.news-info {
    padding: 1.5rem;
}
.news-date {
    color: var(--primary-color);
    font-weight: 500;
    display: inline-block;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}
.news-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}
.news-info p {
    color: var(--text-gray);
    line-height: 1.6;
}
.read-more {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}
.read-more:hover {
    transform: translateX(5px);
}

/* ========== 精英团队 ========== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}
.team-card {
    background: var(--white);
    text-align: center;
    padding: 2rem 1rem;
    border-radius: 48px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}
.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.team-card .avatar {
    width: 130px;
    height: 130px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary-color);
    transition: var(--transition);
}
.team-card:hover .avatar {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
}
.team-card h4 {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}
.team-card p {
    color: var(--text-gray);
}
.social-links {
    margin-top: 1rem;
}
.social-links a {
    margin: 0 5px;
    color: var(--primary-color);
    font-size: 1.2rem;
    display: inline-block;
    transition: var(--transition);
}
.social-links a:hover {
    transform: translateY(-3px);
}

/* ========== 人才招聘 ========== */
.jobs-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.job-card {
    background: var(--white);
    border-radius: 28px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}
.job-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.job-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}
.job-tags {
    display: flex;
    gap: 0.8rem;
    margin: 0.5rem 0;
    flex-wrap: wrap;
}
.job-tag {
    background: var(--primary-light);
    padding: 0.2rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--primary-color);
}
.job-desc {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}
.apply-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.6rem 1.8rem;
    border-radius: 40px;
    cursor: pointer;
    transition: var(--transition);
}
.apply-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(43,140,94,0.3);
}

/* ========== 第7屏：底部导航（全屏深色风格） ========== */
.footer-section {
    background-color: var(--footer-bg);
    color: rgba(255,255,255,0.85);
    padding: 0;
}
.footer-fullscreen {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 40px 40px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}
.footer-col h3 {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    color: white;
    font-weight: 700;
}
.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    color: white;
    position: relative;
    display: inline-block;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}
.footer-desc {
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}
.contact-info p {
    margin-bottom: 10px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.contact-info i {
    width: 24px;
    color: var(--primary-color);
}
.friend-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.friend-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
    padding: 5px 0;
    border-bottom: 1px dashed rgba(255,255,255,0.1);
}
.friend-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
    border-bottom-color: var(--primary-color);
}
.qrcode-box {
    text-align: center;
}
.qrcode-box img {
    width: 130px;
    height: 130px;
    background: white;
    padding: 6px;
    border-radius: 12px;
    margin-bottom: 12px;
    transition: transform 0.3s;
}
.qrcode-box img:hover {
    transform: scale(1.02);
}
.qrcode-box p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 25px;
    text-align: center;
}
.copyright {
    margin-bottom: 12px;
    font-size: 0.85rem;
}
.copyright a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    margin-left: 10px;
}
.copyright a:hover {
    color: var(--primary-color);
}
.footer-nav a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    margin: 0 8px;
    font-size: 0.85rem;
}
.footer-nav a:hover {
    color: var(--primary-color);
}

/* ========== 右侧圆点导航 ========== */
.side-nav {
    position: fixed;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 99;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.nav-dot-side {
    width: 10px;
    height: 10px;
    background: #cbd5e1;
    border-radius: 50%;
    transition: var(--transition);
    cursor: pointer;
}
.nav-dot-side.active {
    background: var(--primary-color);
    width: 24px;
    border-radius: 20px;
}
.nav-dot-side:hover {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* ========== 在线咨询按钮 ========== */
.online-consultant {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 1000;
}
.consultant-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border: none;
    color: white;
    font-size: 1.6rem;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}
.consultant-btn:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 12px 35px rgba(43,140,94,0.4);
}
.consultant-popup {
    position: absolute;
    right: 0;
    bottom: 75px;
    width: 320px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 1001;
}
.consultant-popup.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #eef2f5;
    background: #fafafa;
    border-radius: 16px 16px 0 0;
}
.popup-header h4 {
    margin: 0;
    color: var(--text-dark);
}
.close-popup {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #999;
    transition: var(--transition);
}
.close-popup:hover {
    color: var(--primary-color);
}
.popup-content {
    padding: 1.5rem;
}
.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}
.contact-method:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
.contact-method i {
    font-size: 1.4rem;
    color: var(--primary-color);
}
.contact-method p:first-child {
    color: var(--text-gray);
    font-size: 0.8rem;
    margin-bottom: 0.2rem;
}
.contact-value {
    font-weight: 600;
    color: var(--text-dark);
}
.wechat-qrcode {
    margin-top: 0.8rem;
    text-align: center;
}
.wechat-qrcode img {
    width: 120px;
    height: 120px;
    border: 1px solid #eee;
    padding: 8px;
    border-radius: 8px;
}

/* ========== 响应式 ========== */
@media (max-width: 992px) {
    .hero-title { font-size: 2.5rem; }
    .section-title { font-size: 2.2rem; }
    .intro-content { flex-direction: column; }
    .footer-fullscreen { padding: 40px 25px; }
    .footer-grid { gap: 35px; }
}
@media (max-width: 768px) {
    .site-header { padding: 0.8rem 1rem; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
        box-shadow: var(--shadow-md);
    }
    .nav-links.show { display: flex; }
    .mobile-menu-btn { display: block; }
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 1rem; }
    .section-title { font-size: 1.8rem; }
    .job-card { flex-direction: column; text-align: center; gap: 1rem; }
    .side-nav { display: none; }
    .online-consultant { right: 15px; bottom: 15px; }
    .consultant-btn { width: 50px; height: 50px; font-size: 1.3rem; }
    .consultant-popup { right: -60px; width: 280px; bottom: 65px; }
    .footer-fullscreen { padding: 30px 20px; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 30px; }
    .footer-col h4::after { left: 50%; transform: translateX(-50%); }
    .contact-info p { justify-content: center; }
    .friend-links a { display: inline-block; margin: 5px 0; }
}
@media (max-width: 576px) {
    .products-grid, .news-grid, .team-grid { grid-template-columns: 1fr; }
    .dynamic-grid { grid-template-columns: 1fr; }
    .company-stats { flex-direction: column; }
}

/* ========== 打印样式 ========== */
@media print {
    .site-header, .side-nav, .online-consultant, .scroll-hint {
        display: none !important;
    }
    .section {
        page-break-after: always;
        height: auto !important;
        min-height: 0 !important;
    }
}