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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* ===== 通用容器 ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== 导航栏样式 ===== */
.navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 120px;
    height: 70px;
    object-fit: contain;
}

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

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #3498db;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #3498db;
}

/* 移动端汉堡菜单 */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* ===== 主要内容区域 ===== */
main {
    margin-top: 70px;
}

/* ===== 页面标题区域 ===== */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #a6e1ec 100%);
    color: white;
    padding: 80px 0 60px;
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 300;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* ===== 英雄区域样式 ===== */
.hero {
    min-height: 75vh !important;
    height: 75vh !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border: none !important;
    opacity: 1 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    padding: 0;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero-title,
.hero-subtitle,
.hero-description {
    color: #fff !important;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 300;
}


.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* ===== 按钮样式 ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #3498db;
    color: white;
}

.btn-primary:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background:#3498db ;
    color: white;
    transform: translateY(-2px);
}

/* ===== 通用区块样式 ===== */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
    color: #2c3e50;
    font-weight: 300;
}

.section-description {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== 服务预览区域 ===== */
.services-preview {
    padding: 80px 0;
    background: #f8f9fa;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
    overflow: hidden;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 350px;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.service-card p {
    color: #666;
    line-height: 1.6;
    text-align: justify;
    padding-top: 10px;
}


/* ===== 优势区域 ===== */
.advantages {
    padding: 80px 0;
}

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

.advantage-item {
    text-align: center;
    padding: 30px;
}

.advantage-icon {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 20px;
}

.advantage-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.advantage-item p {
    color: #666;
    line-height: 1.6;
    text-align: justify;
}

/* ===== 关于我们页面样式 ===== */
.company-intro {
    padding: 80px 0;
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.intro-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.intro-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #666;
}
.intro-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.our-advantages {
    padding: 80px 0;
    background: #f8f9fa;
}

.advantages-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.advantage-card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.advantage-card .advantage-icon {
    margin-bottom: 20px;
}

.advantage-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.advantage-card p {
    color: #666;
    line-height: 1.6;
    text-align: justify;
}

.team-intro {
    padding: 80px 0;
}

.team-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.team-poem {
    white-space: pre-line;
    margin-top: 30px;
    line-height: 1.8;
}

.team-features {
    list-style: none;
    margin-top: 10px;
}

.team-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.team-features i {
    color: #27ae60;
}
.team-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.timeline {
    padding: 80px 0;
    background: #f8f9fa;
}

.timeline-content {
    max-width: 800px;
    margin: 40px auto 0;
}

.timeline-item {
    display: flex;
    margin-bottom: 40px;
    align-items: center;
}

.timeline-year {
    background: #3498db;
    color: white;
    padding: 15px 25px;
    border-radius: 25px;
    font-weight: bold;
    margin-right: 30px;
    min-width: 100px;
    text-align: center;
}

.timeline-text h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

.timeline-text p {
    color: #666;
}

/* ===== 服务详情页面样式 ===== */
.services-overview {
    padding: 60px 0;
    background: #f8f9fa;
}

.service-detail {
    padding: 80px 0;
}

.service-detail:nth-child(even) {
    background: #f8f9fa;
}

.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.service-detail.reverse .service-content {
    direction: rtl;
}

.service-detail.reverse .service-text {
    direction: ltr;
}

.service-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-text .service-icon {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 20px;
}

.service-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.service-text h3 {
    font-size: 1.3rem;
    margin: 25px 0 15px;
    color: #2c3e50;
}

.service-features {
    list-style: none;
    margin: 20px 0;
}

.service-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-features i {
    color: #27ae60;
}

.data-assetization {
    padding: 80px 0;
    background: #f8f9fa;
}

.assetization-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.assetization-card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.card-icon {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 20px;
}

.assetization-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.assetization-card p {
    color: #666;
    line-height: 1.6;
    text-align: justify;
}

.service-process {
    padding: 80px 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.process-step {
    text-align: center;
    padding: 30px;
}

.step-number {
    background: #3498db;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.process-step h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.process-step p {
    color: #666;
    text-align: justify;
}

/* ===== 联系我们页面样式 ===== */
.contact-info {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.contact-card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-icon {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 20px;
}

.contact-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.contact-card p {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #333;
}

.contact-note {
    font-size: 0.9rem;
    color: #666;
}

.contact-form-section {
    padding: 80px 0;
}

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

.contact-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.contact-text p {
    margin-bottom: 30px;
    line-height: 1.8;
    color: #666;
}

.contact-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-item i {
    color: #3498db;
    font-size: 1.2rem;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
}

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

.faq-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.faq-content {
    max-width: 800px;
    margin: 50px auto 0;
}

.faq-item {
    background: white;
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.faq-question {
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h3 {
    font-size: 1.1rem;
    color: #2c3e50;
}

.faq-question i {
    color: #3498db;
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 30px 20px;
    color: #666;
    line-height: 1.6;
}

/* ===== 页脚样式 ===== */
.footer {
    background: #2c3e50;
    padding: 60px 0 20px;
    color: white;
}

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

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #3498db;
}

.footer-section p {
    margin-bottom: 10px;
    opacity: 0.8;
}

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

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

.footer-section ul li a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 20px;
    text-align: center;
    font-size: 12px;
    opacity: 0.8;
    color: #999;
}

.service-card,
.advantage-item,
.contact-card {
    animation: fadeInUp 0.6s ease-out;
}

/* ===== 滚动条样式 ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #3498db;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2980b9;
}

@media (min-width: 100px) {
    .hero {
        background: url('../images/banner.jpg') center center/cover no-repeat !important;
    }

}

/*首页悬浮---*/
/* 核心悬停展开实现 */
.scope-container {
    position: relative;
    text-align: justify;
    margin-bottom: 20px;
}

.scope-trigger {
    display: inline-block;
    transition: all 0.3s ease;
    cursor: default;
    backdrop-filter: blur(8px);
    position: relative;
    z-index: 100;
    backface-visibility: hidden;
    will-change: transform, background;
}

.scope-trigger:hover {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 12px 25px rgba(37, 99, 235, 0.2);
    color: #3498db;
    transform: translateY(-3px);
}

.scope-trigger::after {
    display: inline-block;
    transition: transform 0.4s ease;
}

.scope-trigger:hover::after {
    transform: rotate(90deg);
}

.scope-content {
    position: fixed;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    z-index: 9999; /* 最高层级 */
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15);
    transition: all 0.5s cubic-bezier(0.25, 0.76, 0.25, 0.95);
    padding: 60px 40px 40px;
    overflow-y: auto;
    border-left: 1px solid rgba(229, 231, 235, 0.6);
    backface-visibility: hidden; /* 防止渲染问题 */
    will-change: top, opacity, visibility, transform; /* 通知浏览器优化 */
    transform: translateZ(0); /* 触发GPU加速 */
    /*transform: translateY(20px) scale(0.98);*/
}

.scope-container:hover .scope-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(-350px) scale(1);
    max-height: 1000px; /* 展开到足够高度 */
}

.scope-header {
    color: #3498db;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(37, 99, 235, 0.2);
    text-align: center;
}

.scope-content p {
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(239, 246, 255, 0.6);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border-left: 4px solid #93c5fd;
    line-height: 1.7;
}

.scope-content p:hover {
    background: rgba(219, 234, 254, 0.8);
    transform: translateX(8px);
    border-left: 4px solid #3b82f6;
}

.scope-content p strong {
    color: #3498db;
}

.highlight-text {
    color: #3498db;
}

@keyframes float {
    25% { transform: translate(-20px, 20px) rotate(3deg);  }
}


/* 响应式设计 */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        padding: 60px 0;
    }
    .hero-content {
        max-width: 100%;
        margin-bottom: 30px;
    }
    .footer-bottom {
        font-size: 12px;
    }

}
/* ===== 响应式设计 ===== */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: 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;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero {
        flex-direction: column;
        padding: 60px 0;
    }

    .hero-content {
        max-width: 100%;
        margin-bottom: 30px;
        opacity: 1;
    }

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

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

    .hero-buttons {
        justify-content: center;
    }

    .intro-content,
    .team-content,
    .service-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .service-detail.reverse .service-content {
        direction: ltr;
    }

    .timeline-item {
        flex-direction: column;
        text-align: center;
    }

    .timeline-year {
        margin-right: 0;
        margin-bottom: 20px;
    }

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

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

    .container {
        padding: 0 15px;
    }
    .footer-bottom {
        font-size: 10px;
    }
}

@media (max-width: 480px) {

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

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

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

    .btn {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }

    .contact-form {
        padding: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .scope-trigger {
        padding: 12px 25px;
    }
    .footer-bottom {
        font-size: 10px;
    }
}
