/* ==========================================
   全局样式与变量
========================================== */
:root {
    --primary-color: #0D9488;
    --primary-light: #14B8A6;
    --primary-dark: #0F766E;
    --primary-bg: #F0FDFA;
    --accent-color: #2DD4BF;
    --text-dark: #1E293B;
    --text-light: #64748B;
    --text-white: #FFFFFF;
    --bg-light: #F8FAFC;
    --bg-white: #FFFFFF;
    --border-color: #E2E8F0;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    --gradient-hero: linear-gradient(135deg, #0F766E 0%, #14B8A6 50%, #2DD4BF 100%);
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --border-radius-sm: 6px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    color: var(--text-dark);
    background: var(--bg-light);
    line-height: 1.6;
}

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

.container.narrow {
    max-width: 1200px;
}

img {
  pointer-events: auto; /* 确保图片依然可以触发点击事件 */
  -webkit-touch-callout: none; /* 禁用 iOS Safari 的长按呼出菜单 */
  user-select: none; /* 禁用文字和图片的选择 */
  -webkit-user-select: none;
}

/* ==========================================
   顶部导航
========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition-normal);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

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

.logo-icon {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 22px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.logo-text {
    font-family: 'ZCOOL XiaoWei', serif;
    font-size: 24px;
    font-weight: 400;
    color: var(--primary-color);
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 16px;
    font-weight: 500;
    position: relative;
    transition: var(--transition-normal);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-normal);
}

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

.nav-menu a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    color: var(--text-dark);
    cursor: pointer;
}

/* ==========================================
   轮播图
========================================== */
.carousel-section {
    margin-top: 70px;
    height: calc(100vh);
    max-height: 800px;
    position: relative;
    overflow: hidden;
}

.carousel {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-inner {
    width: 100%;
    height: 100%;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.carousel-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-item.active {
    opacity: 1;
}

.carousel-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-white);
    padding: 20px;
    max-width: 800px;
}

.carousel-content h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.carousel-content p {
    font-size: 20px;
    opacity: 0.95;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition-normal);
}

.indicator.active,
.indicator:hover {
    background: var(--text-white);
    transform: scale(1.2);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-white);
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition-normal);
    // backdrop-filter: blur(5px);
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.4);
}

.carousel-btn.prev { left: 30px; }
.carousel-btn.next { right: 30px; }

/* ==========================================
   文件下载模块
========================================== */
.files-section {
    padding: 50px 0;
    background: var(--bg-white);
}

.section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 50px;
}

.files-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.file-card {
    background: var(--bg-white);
    border-radius: 6px;
    padding: 20px 15px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-normal);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.file-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-normal);
}

.file-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.file-card:hover::before {
    opacity: 1;
}

.file-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 10px;
    background: var(--primary-bg);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 24px;
}

.file-card h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.file-card p {
    font-size: 12px;
    color: var(--text-light);
}

/* ==========================================
   关于我们
========================================== */
.about-section {
    padding: 80px 0;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(230, 247, 246, 0.85);
    z-index: 1;
}

.about-section > .container {
    position: relative;
    z-index: 2;
}

.about-content {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.about-text {
    background: transparent;
    border-radius: 0;
    padding: 50px 100px;
    box-shadow: none;
    border: none;
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 20px;
    text-indent: 2em;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* ==========================================
   业务模块
========================================== */
.services-section {
    padding: 80px 20px;
    background: var(--bg-white);
}

.services-wrapper {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.service-block {
    background: var(--bg-light);
    border-radius: 16px;
    overflow: hidden;
    border-left: none;
    box-shadow: 0 4px 20px rgba(13, 148, 136, 0.08);
}

.service-block:nth-child(1) {
    background: #F5FAFA;
}

.service-block:nth-child(2) {
    background: #EBF5F4;
}

.service-block:nth-child(3) {
    background: #E0F2F1;
}

.service-block-header {
    background: var(--gradient-primary);
    color: var(--text-white);
    padding: 24px 48px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.service-block-header i {
    font-size: 28px;
}

.service-block-header h3 {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 1px;
}

.service-products {
    padding: 30px 48px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 30px;
    transition: var(--transition-normal);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.12);
}

.product-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.product-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.product-price span {
    font-size: 14px;
    font-weight: 400;
}

.product-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ==========================================
   地理位置展示
========================================== */
.location-section {
    padding: 80px 0;
    background: #fefefe;
}
.location-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
	margin-left: 100px;
    margin-top: 40px;
	justify-content: flex-end;  /* 子元素整体靠右排列 */
}

.map-container {
    flex: 1;
    max-width: 330px;
}

.china-map {
    width: 100%;
    height: auto;
}

.map-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.map-outline {
    fill: var(--primary-bg);
    stroke: var(--primary-light);
    stroke-width: 2;
}

.marker {
    fill: var(--primary-color);
    filter: drop-shadow(0 0 10px var(--primary-color));
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        r: 8;
        opacity: 1;
    }
    50% {
        r: 12;
        opacity: 0.7;
    }
}

.radiation-line {
    stroke: var(--primary-color);
    stroke-width: 2;
    stroke-dasharray: 5, 5;
    opacity: 0.6;
    animation: radiation 2s linear infinite;
}

@keyframes radiation {
    0% {
        stroke-dashoffset: 20;
        opacity: 0.6;
    }
    100% {
        stroke-dashoffset: 0;
        opacity: 0.3;
    }
}

.city-label {
    fill: var(--text-dark);
    font-size: 14px;
    font-weight: 600;
    text-anchor: middle;
}

.location-text {
    flex: 1;
    text-align: center;
}

.location-text h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.location-text p {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 40px;
}

.service-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

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

/* ==========================================
   网站底部
========================================== */
.footer {
    background: var(--text-dark);
    color: var(--text-white);
    padding: 60px 0 30px;
}

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

.footer-info .footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-info .logo-text {
    color: var(--text-white);
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-contact h4,
.footer-qrcode h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.footer-contact i {
    color: var(--primary-light);
    width: 16px;
}

.qrcode-placeholder {
    width: 120px;
    height: 120px;
    background: var(--bg-white);
    border-radius: var(--border-radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 12px;
}

.qrcode-placeholder i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* ==========================================
   固定悬浮客服 - 直接展示二维码
========================================== */
.floating-service {
    position: fixed;
    right: 20px;
    bottom: 100px;
    z-index: 999;
    background: var(--bg-white);
    border-radius: 6px;
    box-shadow: var(--shadow-xl);
    padding: 15px;
    width: 150px;
}

.service-panel-header {
    background: var(--gradient-primary);
    color: var(--text-white);
    padding: 10px 15px;
    border-radius: 6px 6px 0 0;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    margin: -15px -15px 15px -15px;
}

.service-qrcode-box {
    width: 100%;
    text-align: center;
}

.service-qrcode-img {
    width: 120px;
    height: 120px;
    border-radius: 6px;
    display: block;
    margin: 0 auto;
}

.service-qrcode-placeholder {
    width: 120px;
    height: 120px;
    background: var(--bg-light);
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 12px;
    margin: 0 auto;
}

.service-qrcode-placeholder i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.service-tip {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 10px;
    text-align: center;
}

/* ==========================================
   弹窗样式
========================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}
.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.modal-content {
	background: #f1f3f5;
    position: relative;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
}

.modal-close {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    color: var(--text-light);
    font-size: 18px;
    cursor: pointer;
    border-radius: 50%;
    transition: var(--transition-fast);
}

.modal-close:hover {
    background: var(--bg-light);
    color: var(--text-dark);
}

.modal-body {
    padding: 25px;
    overflow-y: auto;
}

/* 文件预览弹窗 */
.file-preview-modal {
    width: 600px;
}

.preview-images {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.preview-image {
    width: 100%;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.preview-image img {
    width: 100%;
    display: block;
}

.preview-footer {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.preview-footer-tip {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
}

.contact-btn {
    background: var(--gradient-primary);
    color: var(--text-white);
    border: none;
    padding: 12px 30px;
    border-radius: var(--border-radius-md);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* 二维码弹窗 */
.qrcode-modal {
    width: 350px;
}

.qrcode-modal .modal-header {
    padding: 12px 18px;
}

.qrcode-modal .modal-header h3 {
    font-size: 15px;
    font-weight: 500;
}

.qrcode-big {
    text-align: center;
    display: flex;
    justify-content: center;
}

.qrcode-placeholder.large {
    width: 250px;
    height: 280px;
    margin: 0 auto;
}

.qrcode-placeholder.large i {
    font-size: 60px;
}

.qrcode-tip {
    text-align: center;
    color: var(--text-light);
    font-size: 14px;
    margin-top: 15px;
}

/* ==========================================
   响应式设计
========================================== */
@media (max-width: 1024px) {
    .files-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .service-products {
        grid-template-columns: repeat(2, 1fr);
    }

    .location-content {
        gap: 10px;
		margin-left: 0px;
    }

    .map-container {
        max-width: 100%;
    }

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

    .about-text {
        padding: 40px 30px;
    }

    .service-products {
        padding: 25px 30px;
    }
}

@media (max-width: 768px) {
    .header-content {
        height: 60px;
    }

    .logo-icon {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }

    .logo-text {
        font-size: 18px;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .carousel-section {
        margin-top: 60px;
        height: 70vh;
        max-height: 600px;
    }
    .carousel-inner {
        width: 100%;
        height: 100%;
    }
    .carousel-item {
        width: 100%;
        height: 100%;
    }
    .carousel-item img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    .carousel-content h2 {
        font-size: 28px;
    }

    .carousel-content p {
        font-size: 16px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .carousel-btn.prev { left: 15px; }
    .carousel-btn.next { right: 15px; }

    .section-title {
        font-size: 28px;
    }

    .files-section,
    .about-section {
        padding: 50px 0;
    }

    .services-section {
        padding: 50px 16px;
    }

    .location-section {
        padding: 50px 0;
    }

    .files-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .file-card {
        padding: 15px 12px;
    }

    .file-card h4 {
        font-size: 12px;
    }

    .file-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
        margin-bottom: 8px;
    }

    .about-text {
        padding: 30px 20px;
    }

    .service-block-header {
        padding: 15px 25px;
    }

    .service-block-header h3 {
        font-size: 18px;
    }

    .service-products {
        grid-template-columns: 1fr;
        padding: 20px 25px;
        gap: 15px;
    }

    .product-card {
        padding: 20px;
    }

    .location-text h3 {
        font-size: 24px;
    }

    .location-text p {
        font-size: 16px;
    }

    .service-stats {
        flex-wrap: wrap;
        gap: 30px;
        justify-content: center;
    }

    .stat-number {
        font-size: 32px;
    }

    .footer {
        padding: 40px 0 20px;
    }

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

    .floating-service {
        right: 15px;
        bottom: 80px;
        width: 130px;
        padding: 12px;
    }

    .service-qrcode-img {
        width: 100px;
        height: 100px;
    }

    .service-qrcode-placeholder {
        width: 100px;
        height: 100px;
    }

    .file-preview-modal,
    .qrcode-modal {
        width: 95vw;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .carousel-content h2 {
        font-size: 22px;
    }

    .files-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-name {
        font-size: 16px;
    }

    .product-price {
        font-size: 20px;
    }

    .qrcode-placeholder {
        width: 100px;
        height: 100px;
    }

    .qrcode-placeholder.large {
        width: 200px;
        height: 230px;
    }

    .floating-service {
        width: 120px;
        bottom: 60px;
    }

    .service-qrcode-img {
        width: 90px;
        height: 90px;
    }

    .service-qrcode-placeholder {
        width: 90px;
        height: 90px;
    }

	/* ====地理位置展示图片置顶===
   
       .location-section > .container {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .location-content {
        align-items: flex-start;
    }
	========================================== */

}