/* 应用领域/商业布局页面样式 */

/* ========== 页面容器 ========== */
.app-page {
    width: 100%;
    min-height: 100vh;
    background: #f4f7fa;
    overflow-x: hidden;
}

/* ========== 地图区域 - 全屏大气效果 ========== */
.app-map-section {
    width: 100%;
    padding: 0;
    margin: 0;
}

.app-map-container {
    width: 100%;
    position: relative;
}

/* 全屏地图容器 */
.map-wrapper {
    position: relative;
    width: 100%;
    min-height: 700px;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(0, 119, 217, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(0, 80, 151, 0.4) 0%, transparent 50%),
        linear-gradient(180deg, #0a1628 0%, #0f2744 30%, #0a1f3a 60%, #081a30 100%);
    overflow: hidden;
    margin-bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 装饰网格背景 */
.map-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(0, 119, 217, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 119, 217, 0.08) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 1;
}

/* 地图内部容器 - 包裹图片和点位 */
.map-inner {
    position: relative;
    width: 85%;
    max-width: 1200px;
    z-index: 2;
}

/* 地图图片 */
.china-map-img {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 60px rgba(0, 180, 255, 0.3)) brightness(1.1);
    opacity: 0.95;
}

/* 点位容器 - 与地图图片同尺寸 */
.map-points {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

/* 单个点位 */
.map-point {
    position: absolute;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 10;
}

.point-marker {
    position: relative;
    width: 24px;
    height: 24px;
}

.point-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: #00d4ff;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.8), 0 0 40px rgba(0, 212, 255, 0.4);
    z-index: 3;
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    border: 2px solid rgba(0, 212, 255, 0.6);
    border-radius: 50%;
    animation: pulse 2.5s ease-out infinite;
    z-index: 1;
}

.pulse-ring.delay-1 { animation-delay: 0.8s; }
.pulse-ring.delay-2 { animation-delay: 1.6s; }

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(3); opacity: 0; }
}

.point-label {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 13px;
    font-weight: 500;
    color: #00d4ff;
    background: rgba(10, 30, 60, 0.9);
    border: 1px solid rgba(0, 212, 255, 0.3);
    padding: 5px 12px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
}

/* Tooltip */
.point-tooltip {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    width: 240px;
    background: rgba(15, 30, 55, 0.98);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.point-tooltip::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid rgba(15, 30, 55, 0.98);
}

.map-point.active .point-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

.tooltip-header {
    background: linear-gradient(135deg, #005097, #0077d9);
    color: #fff;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
}

.tooltip-header i { font-size: 13px; }

.tooltip-content {
    padding: 12px 18px;
    max-height: 200px;
    overflow-y: auto;
}

.tooltip-item {
    display: block;
    padding: 9px 0;
    color: #e0e8f0;
    text-decoration: none;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: color 0.2s, padding-left 0.2s;
}

.tooltip-item:last-child { border-bottom: none; }

.tooltip-item:hover {
    color: #00d4ff;
    padding-left: 5px;
}

.tooltip-empty {
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
    padding: 20px 0;
    margin: 0;
}

/* Active state */
.map-point.active .point-core {
    width: 14px;
    height: 14px;
    background: #ff6b35;
    box-shadow: 0 0 25px rgba(255, 107, 53, 0.8);
}

.map-point.active .point-label {
    background: linear-gradient(135deg, #005097, #0077d9);
    color: #fff;
    border-color: rgba(0, 119, 217, 0.5);
}

/* ========== 省份列表 ========== */
.province-list {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
    background: #f4f7fa;
}

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

.section-title h3 {
    font-size: 32px;
    font-weight: 600;
    color: #005097;
    margin: 0 0 12px 0;
}

.section-title p {
    font-size: 16px;
    color: #666;
    margin: 0;
}

.province-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 22px;
}

.province-card {
    background: #fff;
    border-radius: 14px;
    padding: 26px;
    box-shadow: 0 2px 20px rgba(0, 80, 151, 0.06);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(0, 80, 151, 0.05);
}

.province-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 80, 151, 0.15);
    border-color: rgba(0, 119, 217, 0.2);
}

.province-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 2px solid #f0f5fa;
}

.province-header i {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #005097;
    font-size: 16px;
}

.province-header h4 {
    margin: 0;
    font-size: 19px;
    color: #333;
    font-weight: 600;
}

.province-content {
    min-height: 60px;
    max-height: 120px;
    overflow-y: auto;
    margin-bottom: 18px;
}

.province-empty {
    text-align: center;
    color: #ccc;
    font-size: 13px;
    padding: 20px 0;
    margin: 0;
}

.province-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    color: #666;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s, padding-left 0.2s;
}

.province-item i {
    font-size: 6px;
    color: #0077d9;
}

.province-item:hover {
    color: #005097;
    padding-left: 5px;
}

.province-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #005097;
    font-size: 13px;
    text-decoration: none;
    font-weight: 500;
    transition: gap 0.2s;
    padding-top: 12px;
    border-top: 1px dashed #e0e8f0;
    width: 100%;
}

.province-more:hover {
    gap: 12px;
}

.province-more i {
    font-size: 12px;
}

/* ========== 响应式 ========== */
@media screen and (max-width: 1024px) {
    .province-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
    
    .section-title h3 {
        font-size: 26px;
    }
}

@media screen and (max-width: 768px) {
    .map-wrapper {
        min-height: 500px;
    }
    
    .map-inner {
        width: 92%;
    }
    
    .point-label {
        font-size: 11px;
        padding: 3px 8px;
        top: 22px;
    }
    
    .point-tooltip {
        width: 180px;
    }
    
    .province-list {
        padding: 50px 15px;
    }
    
    .section-title h3 {
        font-size: 22px;
    }
    
    .section-title p {
        font-size: 14px;
    }
    
    .province-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .province-card {
        padding: 20px;
    }
}

@media screen and (max-width: 480px) {
    .map-wrapper {
        min-height: 400px;
    }
    
    .map-inner {
        width: 95%;
    }
    
    .point-label {
        display: none;
    }
    
    .point-tooltip {
        width: 160px;
        bottom: 30px;
    }
}
