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

:root {
    --primary-color: #3b82f6;
    --primary-dark: #2563eb;
    --secondary-color: #8b5cf6;
    --accent-color: #06b6d4;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --border-color: #e5e7eb;
    --bg-light: #f9fafb;
    --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --white: #fff;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', 'PingFang SC', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
}

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

/* ==================== 头部导航 ==================== */
.header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
}

.logo {
    position: relative;
}

.logo::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 60%;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding-left: 8px;
}

.logo a {
    text-decoration: none;
    color: inherit;
}

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

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

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

.nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
    transition: var(--transition);
}

.nav a:hover::before,
.nav a.active::before {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-color);
    padding: 8px;
    border-radius: 8px;
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    background: var(--bg-light);
}

/* ==================== Banner区域 ==================== */
.banner {
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 70px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(120, 219, 255, 0.2) 0%, transparent 50%);
    animation: gradientShift 15s ease infinite;
}

.banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, var(--white), transparent);
}

@keyframes gradientShift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.banner-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 24px;
}

.banner-content h2 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: 2px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    animation: fadeInDown 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.banner-content p {
    font-size: 22px;
    margin-bottom: 40px;
    opacity: 0.95;
    font-weight: 300;
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.2s backwards;
}

.banner .btn {
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.4s backwards;
    padding: 16px 48px;
    font-size: 16px;
    border-radius: 50px;
    background: var(--white);
    color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.banner .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: var(--transition);
}

.banner .btn:hover::before {
    left: 100%;
}

.banner .btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* 浮动装饰元素 */
.banner-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.banner-shapes::before,
.banner-shapes::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.banner-shapes::before {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.banner-shapes::after {
    width: 150px;
    height: 150px;
    bottom: 20%;
    right: 10%;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* ==================== 通用section样式 ==================== */
.section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
}

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

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
}

.section-title p {
    font-size: 16px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-top: 20px;
}

/* ==================== 关于我们 ==================== */
.about {
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--white) 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
    max-width: 750px;
    margin: 0 auto;
}

.about-text h3 {
    font-size: 32px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.about-text p {
    margin-bottom: 18px;
    color: var(--text-light);
    line-height: 1.9;
    font-size: 16px;
}

.company-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.stat-item {
    text-align: center;
    flex: 1;
    position: relative;
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: var(--border-color);
}

.stat-item:last-child::after {
    display: none;
}

.stat-item h4 {
    font-size: 42px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-item p {
    color: var(--text-light);
    font-size: 14px;
    font-weight: 500;
}

.about-image {
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    opacity: 0.1;
    z-index: 0;
}

.about-image .image-placeholder {
    background: var(--white);
    height: 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 1;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.about-image .image-placeholder i {
    font-size: 100px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.about-image .image-placeholder p {
    color: var(--text-light);
    font-size: 16px;
}

/* ==================== 服务项目 ==================== */
.services {
    background: var(--white);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, var(--bg-light), transparent);
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    position: relative;
    z-index: 1;
}

.service-card {
    background: var(--white);
    padding: 50px 35px;
    border-radius: 24px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.service-card-link {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.service-card-link:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 5px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: var(--transition);
}

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

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.service-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.service-card:hover .service-icon {
    transform: rotateY(180deg);
    border-radius: 50%;
}

.service-icon i {
    font-size: 40px;
    color: var(--white);
}

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

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 15px;
}

/* ==================== 新闻动态 ==================== */
.news {
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--white) 100%);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 35px;
}

.news-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.news-image {
    height: 220px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    position: relative;
    overflow: hidden;
}

.news-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), transparent);
}

.news-image .image-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-image .image-placeholder i {
    font-size: 70px;
    color: var(--white);
    opacity: 0.6;
}

.news-content {
    padding: 30px;
}

.news-date {
    color: var(--text-light);
    font-size: 13px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-date i {
    color: var(--primary-color);
}

.news-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-color);
    font-weight: 700;
    line-height: 1.4;
}

.news-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 15px;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.read-more i {
    transition: var(--transition);
}

.read-more:hover {
    color: var(--secondary-color);
    gap: 12px;
}

/* ==================== 合作伙伴 ==================== */
.partners {
    background: var(--bg-light);
}

.partners-image {
    text-align: center;
    margin-bottom: 20px;
}

.partners-image img {
    max-width: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

/* 合作伙伴滚动展示 */
.partners-scroll {
    width: 100%;
    overflow: hidden;
    margin-top: 20px;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.partners-track {
    display: flex;
    gap: 32px;
    width: max-content;
    animation: partners-scroll-left 25s linear infinite;
}

.partners-track:hover {
    animation-play-state: paused;
}

@keyframes partners-scroll-left {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 40px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    min-width: 180px;
    height: 100px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-logo img {
    max-width: 120px;
    max-height: 60px;
    object-fit: contain;
}

.partner-logo:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

@media (max-width: 768px) {
    .partner-logo {
        padding: 14px 24px;
        min-width: 140px;
        height: 80px;
    }
    .partner-logo img {
        max-width: 90px;
        max-height: 45px;
    }
}

/* ==================== 项目案例 ==================== */
.cases {
    background: var(--white);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.case-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    background: var(--white);
    border: 1px solid var(--border-color);
}

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

.case-card {
    cursor: pointer;
}

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

.case-card img {
    width: 100%;
    display: block;
}

/* 图片放大 Lightbox */
.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
    display: flex;
    opacity: 1;
}

.lightbox-overlay img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: fixed;
    top: 20px;
    right: 30px;
    font-size: 36px;
    color: #fff;
    cursor: pointer;
    z-index: 10000;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    transition: background 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-caption {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 16px;
    background: rgba(0, 0, 0, 0.6);
    padding: 10px 24px;
    border-radius: 8px;
    max-width: 80%;
    text-align: center;
}

/* ==================== 联系我们 ==================== */
.contact {
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    background: var(--white);
    border-radius: 30px;
    padding: 50px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.contact-info h3,
.contact-form h3 {
    font-size: 28px;
    margin-bottom: 35px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 16px;
    transition: var(--transition);
    background: var(--bg-light);
}

.contact-item:hover {
    background: var(--white);
    box-shadow: var(--shadow);
    transform: translateX(10px);
}

.contact-item i {
    font-size: 24px;
    color: var(--white);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.3);
}

.contact-item h4 {
    font-size: 16px;
    margin-bottom: 6px;
    color: var(--text-color);
    font-weight: 600;
}

.contact-item p {
    color: var(--text-light);
    font-size: 15px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-family: inherit;
    font-size: 15px;
    transition: var(--transition);
    background: var(--bg-light);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

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

/* ==================== 按钮样式 ==================== */
.btn {
    display: inline-block;
    padding: 14px 44px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 15px;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: var(--transition);
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

/* ==================== 页脚 ==================== */
.footer {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: var(--white);
    padding: 70px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-section h3 {
    font-size: 22px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 24px;
    color: var(--white);
    font-weight: 600;
}

.footer-section p {
    color: #94a3b8;
    line-height: 1.8;
    margin-bottom: 24px;
    font-size: 15px;
}

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

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

.footer-section ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
}

.footer-section ul li a:hover {
    color: var(--white);
    transform: translateX(5px);
}

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

.social-links a {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
    font-size: 18px;
}

.social-links a:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transform: translateY(-3px);
}

.contact-list li {
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 15px;
}

.contact-list li i {
    color: var(--primary-color);
    width: 20px;
}

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

.footer-bottom p {
    color: #94a3b8;
    margin: 8px 0;
    font-size: 14px;
}

.footer-bottom a {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition);
}

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

/* ==================== 返回顶部 ==================== */
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
    font-size: 20px;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.5);
}

/* ==================== 动画 ==================== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 1024px) {
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .banner-content h2 {
        font-size: 44px;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }

    .nav.active {
        left: 0;
    }

    .nav ul {
        flex-direction: column;
        padding: 40px 24px;
        gap: 24px;
    }

    .mobile-menu-btn {
        display: block;
    }

    .banner {
        min-height: 500px;
    }

    .banner-content h2 {
        font-size: 32px;
    }

    .banner-content p {
        font-size: 18px;
    }

    .section {
        padding: 70px 0;
    }

    .section-title h2 {
        font-size: 32px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .company-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .stat-item {
        flex: 1 1 calc(50% - 20px);
    }

    .stat-item::after {
        display: none;
    }

    .contact-content {
        padding: 30px;
    }

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

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

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

@media (max-width: 480px) {
    .banner-content h2 {
        font-size: 28px;
    }

    .stat-item h4 {
        font-size: 32px;
    }

    .btn {
        padding: 12px 32px;
        font-size: 14px;
    }
}

/* ==================== 动态轨道效果 ==================== */
.orbit-visual {
    position: relative;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    aspect-ratio: 1 / 1;
}

.orbit-svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* 轨道环呼吸动画 */
.orbit-ring-outer {
    animation: outerRingPulse 4s ease-in-out infinite;
}

.orbit-ring-mid {
    animation: midRingPulse 3.5s ease-in-out infinite 0.5s;
}

.orbit-ring-inner {
    animation: innerRingPulse 3s ease-in-out infinite 1s;
}

@keyframes outerRingPulse {
    0%, 100% { opacity: 0.65; }
    50% { opacity: 0.85; }
}

@keyframes midRingPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

@keyframes innerRingPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.7; }
}

/* 中心圆呼吸 */
.center-circle {
    animation: centerBreath 3s ease-in-out infinite;
}

@keyframes centerBreath {
    0%, 100% { r: 90; }
    50% { r: 94; }
}

/* 轨道图标容器 */
.orbit-group {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* 图标定位 - 负边距使图标中心对齐轨道路径 */
.orbit-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    pointer-events: auto;
}

/* 外层轨道 - 顺时针40秒 */
.orbit-outer .orbit-icon {
    --r: 180px;
    margin-top: -26px;
    margin-left: -26px;
    animation: orbitOuter 40s linear infinite;
}

/* 中层轨道 - 逆时针25秒 */
.orbit-mid .orbit-icon {
    --r: 135px;
    margin-top: -21px;
    margin-left: -21px;
    animation: orbitMid 25s linear infinite;
}

/* 内层轨道 - 顺时针15秒 */
.orbit-inner .orbit-icon {
    --r: 95px;
    margin-top: -18px;
    margin-left: -18px;
    animation: orbitInner 15s linear infinite;
}

/* 外层轨道关键帧 - 顺时针旋转，图标保持正向 */
@keyframes orbitOuter {
    0%   { transform: rotate(calc(var(--angle) + 0deg))   translateX(var(--r)) rotate(calc(-1 * var(--angle))); }
    25%  { transform: rotate(calc(var(--angle) + 90deg))  translateX(var(--r)) rotate(calc(-1 * var(--angle) - 90deg)); }
    50%  { transform: rotate(calc(var(--angle) + 180deg)) translateX(var(--r)) rotate(calc(-1 * var(--angle) - 180deg)); }
    75%  { transform: rotate(calc(var(--angle) + 270deg)) translateX(var(--r)) rotate(calc(-1 * var(--angle) - 270deg)); }
    100% { transform: rotate(calc(var(--angle) + 360deg)) translateX(var(--r)) rotate(calc(-1 * var(--angle) - 360deg)); }
}

/* 中层轨道关键帧 - 逆时针旋转 */
@keyframes orbitMid {
    0%   { transform: rotate(calc(var(--angle) + 0deg))    translateX(var(--r)) rotate(calc(-1 * var(--angle))); }
    25%  { transform: rotate(calc(var(--angle) - 90deg))   translateX(var(--r)) rotate(calc(-1 * var(--angle) + 90deg)); }
    50%  { transform: rotate(calc(var(--angle) - 180deg))  translateX(var(--r)) rotate(calc(-1 * var(--angle) + 180deg)); }
    75%  { transform: rotate(calc(var(--angle) - 270deg))  translateX(var(--r)) rotate(calc(-1 * var(--angle) + 270deg)); }
    100% { transform: rotate(calc(var(--angle) - 360deg))  translateX(var(--r)) rotate(calc(-1 * var(--angle) + 360deg)); }
}

/* 内层轨道关键帧 - 顺时针快速旋转 */
@keyframes orbitInner {
    0%   { transform: rotate(calc(var(--angle) + 0deg))   translateX(var(--r)) rotate(calc(-1 * var(--angle))); }
    25%  { transform: rotate(calc(var(--angle) + 90deg))  translateX(var(--r)) rotate(calc(-1 * var(--angle) - 90deg)); }
    50%  { transform: rotate(calc(var(--angle) + 180deg)) translateX(var(--r)) rotate(calc(-1 * var(--angle) - 180deg)); }
    75%  { transform: rotate(calc(var(--angle) + 270deg)) translateX(var(--r)) rotate(calc(-1 * var(--angle) - 270deg)); }
    100% { transform: rotate(calc(var(--angle) + 360deg)) translateX(var(--r)) rotate(calc(-1 * var(--angle) - 360deg)); }
}

/* 图标圆圈样式 */
.icon-circle {
    width: 52px;
    height: 52px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
}

.icon-circle::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.orbit-icon:hover .icon-circle::before {
    opacity: 1;
}

.orbit-icon:hover .icon-circle {
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.2);
}

.icon-sm {
    width: 42px;
    height: 42px;
}

.icon-xs {
    width: 36px;
    height: 36px;
}

.brand-text {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    letter-spacing: -0.5px;
}

/* 轨道效果响应式 */
@media (max-width: 1024px) {
    .orbit-visual {
        max-width: 400px;
    }

    .orbit-outer .orbit-icon { --r: 160px; }
    .orbit-mid .orbit-icon { --r: 115px; }
    .orbit-inner .orbit-icon { --r: 80px; }
}

@media (max-width: 768px) {
    .orbit-visual {
        max-width: 320px;
    }

    .orbit-outer .orbit-icon { --r: 130px; }
    .orbit-mid .orbit-icon { --r: 95px; }
    .orbit-inner .orbit-icon { --r: 65px; }

    .icon-circle {
        width: 44px;
        height: 44px;
    }

    .icon-sm {
        width: 36px;
        height: 36px;
    }

    .icon-xs {
        width: 30px;
        height: 30px;
    }

    .svg-center-number {
        font-size: 28px !important;
    }

    .svg-center-label {
        font-size: 13px !important;
    }
}

@media (max-width: 480px) {
    .orbit-visual {
        max-width: 280px;
    }

    .orbit-outer .orbit-icon { --r: 110px; }
    .orbit-mid .orbit-icon { --r: 80px; }
    .orbit-inner .orbit-icon { --r: 55px; }

    .icon-circle {
        width: 38px;
        height: 38px;
    }

    .icon-sm {
        width: 32px;
        height: 32px;
    }

    .icon-xs {
        width: 26px;
        height: 26px;
    }
}
