﻿/* Vision页面样式 - 模仿Yusen Logistics设计 */

/* 页面横幅区域 */
.vision-banner {
    background: url('../assets/vision-banner-bg.jpg') center/cover no-repeat; /* 修正相对路径 */
    color: white;
    min-height: 72vh; display: flex; align-items: center;
    position: relative;
    overflow: hidden;
}

.vision-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

@media (max-width: 1200px) {
    .vision-banner { min-height: 68vh; }
}

.vision-banner-content { max-width: 1200px; text-align: left; padding: 0 20px; width: 100%;
    position: static;
    z-index: auto;
}

.vision-banner h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
    text-align: left;
}

.vision-banner-text {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    padding: 40px 50px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 0;
    width: 50%; max-width: none; box-sizing: border-box;
    position: absolute;
    top: 0;
    left: 0;
    transform: translateX(-100%);
    opacity: 0;
    animation: slideInFromLeft 1.2s ease-out 0.3s forwards;
}

.vision-banner-text::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, 
        rgba(30, 58, 138, 0.95) 0%, 
        rgba(30, 58, 138, 0.85) 30%, 
        rgba(30, 58, 138, 0.7) 50%, 
        rgba(30, 58, 138, 0.4) 70%, 
        rgba(30, 58, 138, 0.2) 85%, 
        rgba(30, 58, 138, 0.05) 95%, 
        transparent 100%);
    border-radius: 0;
    z-index: -1;
    /* 添加毛边效果 - 使用更复杂的mask创建不规则边缘 */
    mask: 
        radial-gradient(ellipse 200px 100% at 70% 50%, black 0%, black 40%, transparent 70%),
        linear-gradient(90deg, 
            black 0%, 
            black 55%, 
            rgba(0, 0, 0, 0.9) 65%, 
            rgba(0, 0, 0, 0.7) 75%, 
            rgba(0, 0, 0, 0.4) 85%, 
            rgba(0, 0, 0, 0.1) 95%, 
            transparent 100%);
    -webkit-mask: 
        radial-gradient(ellipse 200px 100% at 70% 50%, black 0%, black 40%, transparent 70%),
        linear-gradient(90deg, 
            black 0%, 
            black 55%, 
            rgba(0, 0, 0, 0.9) 65%, 
            rgba(0, 0, 0, 0.7) 75%, 
            rgba(0, 0, 0, 0.4) 85%, 
            rgba(0, 0, 0, 0.1) 95%, 
            transparent 100%);
    mask-composite: intersect;
    -webkit-mask-composite: source-in;
}

@keyframes slideInFromLeft {
    0% { transform: translateX(-100%); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

.vision-banner p {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 640px;
    text-align: left;
    line-height: 1.6;
}

/* 愿景使命价值观主容器 */
.vision-main {
    background: #f8fafc;
    padding: 0;
}

/* 愿景主容器，增加宽度以适应4列卡片布局 */
.vision-container { max-width: 1400px; padding: 0 20px; margin: 0 auto; }

/* 愿景部分 */
.vision-section {
    background: transparent;
    padding: 16px 0;
    margin-bottom: 0;
}

.vision-header {
    text-align: center;
    margin-bottom: 32px;
}

.vision-badge {
    display: none;
}

/* 调整价值观区块标题与副标题的行距 */
.vision-title {
    font-size: 1.6rem; /* 缩小一号 */
    font-weight: 800;
    color: #475569;
    margin-bottom: 6px; /* 缩小段间距 */
    line-height: 1.2;  /* 略微紧凑 */
    letter-spacing: -0.02em;
}

.vision-subtitle {
    font-size: 1.6rem; /* 缩小一号 */
    color: #475569;
    font-weight: 800;
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.5; /* 行距略收紧 */
}

.vision-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.vision-text {
    font-size: 1.125rem;
    color: #475569;
    line-height: 1.8;
}

.vision-text p {
    margin-bottom: 28px;
    font-weight: 400;
}

.vision-text p:first-child {
    font-size: 1.2rem;
    color: #334155;
    font-weight: 500;
}

.vision-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.vision-icon {
    width: 240px;
    height: 240px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.3);
    position: relative;
    overflow: hidden;
}

.vision-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: rotate 8s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.vision-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.vision-icon svg {
    width: 100px;
    height: 100px;
    color: white;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

/* 价值观展示区块 */
.values-showcase {
	margin: 80px 0;
	padding: 0 20px;
}

.values-container {
	display: flex;
	gap: 60px;
	align-items: flex-start;
	max-width: 1200px;
	margin: 0 auto;
}

/* 左侧：价值观列表 */
.values-list {
	flex: 0 0 35%; /* 固定宽度为35%，缩短左侧长度 */
	display: flex;
	flex-direction: column;
	gap: 12px; /* 减少项目间距 */
}

.value-item {
	padding: 16px 20px; /* 减少内边距，配合固定高度 */
	border-radius: 12px;
	height: 62px; /* 设置固定高度62px */
	display: flex;
	flex-direction: column;
	justify-content: center; /* 垂直居中内容 */
	border: 1px solid rgba(0, 0, 0, 0.04); /* 极淡的边框，增加现代感 */
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02); /* 极淡的阴影，增加层次感 */
	transition: all 0.3s ease; /* 添加过渡动画 */
	cursor: pointer; /* 添加鼠标指针 */
	position: relative; /* 为内容切换做准备 */
	overflow: hidden; /* 隐藏超出部分 */
}

/* 默认显示的内容 */
.value-content {
	transition: opacity 0.3s ease;
}

/* 悬停时显示的内容 */
.value-hover-content {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 16px 20px;
	display: flex;
	align-items: center;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.hover-text {
	font-size: 0.9rem;
	line-height: 1.4;
	text-align: left;
}

/* 悬停效果 - 背景变蓝色，文字变白色 */
.value-item:hover {
	background: #1976d2 !important; /* 蓝色背景 */
	border: 1px solid #1976d2; /* 蓝色边框 */
	box-shadow: 0 4px 12px rgba(25, 118, 210, 0.3); /* 蓝色阴影 */
}

/* 交替背景色 - 增加对比度，区分更明显 */
.value-item:nth-child(odd) {
	background: #e6ebff; /* 较饱和的浅蓝紫，贴近附图2 */
}

.value-item:nth-child(even) {
	background: #ffffff; /* 白色，贴近附图2 */
}

.value-title {
	font-size: 1.1rem; /* 稍微减小字体，适应固定高度 */
	font-weight: 600;
	margin-bottom: 4px; /* 减少标题和描述之间的间距 */
	line-height: 1.2; /* 减少行高 */
}

.value-description {
	font-size: 0.85rem; /* 稍微减小字体，适应固定高度 */
	line-height: 1.3; /* 减少行高 */
	font-style: italic;
}

/* 浅色背景上的文字颜色 */
.value-item:nth-child(odd) .value-title {
	color: #1976d2;
}

.value-item:nth-child(odd) .value-description {
	color: #424242;
}

/* 白色背景上的文字颜色 */
.value-item:nth-child(even) .value-title {
	color: #1976d2;
}

.value-item:nth-child(even) .value-description {
	color: #424242;
}

/* 悬停时的文字颜色 - 白色文字 */
.value-item:hover .value-title {
	color: white !important;
}

.value-item:hover .value-description {
	color: white !important;
}

/* 悬停时的内容切换效果 */
.value-item:hover .value-content {
	opacity: 0; /* 隐藏默认内容 */
}

.value-item:hover .value-hover-content {
	opacity: 1; /* 显示悬停内容 */
}

.value-item:hover .hover-text {
	color: white !important; /* 悬停文字为白色 */
}

/* 右侧：3D等距图展示 */
.diagram-area {
	flex: 1;
	position: relative;
	display: flex;
	align-items: flex-start; /* 顶部对齐，保持与左列同一水平线 */
	justify-content: center;
	height: auto;
	min-height: 0;
	padding-top: 0; /* 去除多余上边距 */
}

.vision-diagram {
	max-width: 100%;
	max-height: 65%;  /* 再次缩小整体视觉体量 */
	width: auto;
	height: auto;
	object-fit: contain;
	object-position: top center; /* 图片内容向上对齐 */
	display: block;
	transform: translateY(-8px); /* 轻微上移，确保与左列第一项对齐 */
}

.blockchain-city {
	position: relative;
	width: 100%;
	height: 100%;
	transform-style: preserve-3d;
}

/* 中央平台 */
.central-platform {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) rotateX(60deg) rotateY(-15deg);
	width: 200px;
	height: 120px;
	background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
	border-radius: 8px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* 主建筑群 */
.main-buildings {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) rotateX(60deg) rotateY(-15deg);
	display: flex;
	gap: 20px;
	align-items: flex-end;
}

.building {
	width: 40px;
	background: white;
	border: 2px solid #1976d2;
	border-radius: 4px;
	position: relative;
}

.building-1 {
	height: 80px;
}

.building-2 {
	height: 100px;
}

.building-3 {
	height: 60px;
}

/* 顶部结构 */
.top-structure {
	position: absolute;
	top: 30%;
	left: 50%;
	transform: translate(-50%, -50%) rotateX(60deg) rotateY(-15deg);
	background: rgba(255, 255, 255, 0.9);
	padding: 8px 12px;
	border-radius: 6px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.structure-text {
	font-size: 0.8rem;
	font-weight: 600;
	color: #1976d2;
	text-align: center;
	line-height: 1.2;
}

/* 浮动节点 */
.floating-nodes {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.node {
	position: absolute;
	width: 60px;
	height: 60px;
	background: white;
	border: 2px solid #1976d2;
	border-radius: 8px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	transform-style: preserve-3d;
}

.node-1 {
	top: 15%;
	left: 15%;
	transform: rotateX(60deg) rotateY(-15deg);
}

.node-2 {
	top: 20%;
	right: 25%;
	transform: rotateX(60deg) rotateY(-15deg);
}

.node-3 {
	top: 50%;
	right: 20%;
	transform: rotateX(60deg) rotateY(-15deg);
}

.node-4 {
	bottom: 25%;
	right: 30%;
	transform: rotateX(60deg) rotateY(-15deg);
}

.node-5 {
	bottom: 20%;
	left: 25%;
	transform: rotateX(60deg) rotateY(-15deg);
}

.node-icon {
	font-size: 0.6rem;
	font-weight: 600;
	color: #1976d2;
	margin-bottom: 2px;
}

.node-label {
	font-size: 0.7rem;
	font-weight: 500;
	color: #1976d2;
	transform: rotate(15deg);
}

/* 连接线 */
.connection-lines {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
}

.line {
	position: absolute;
	background: linear-gradient(90deg, #1976d2, transparent);
	height: 2px;
	transform-origin: left center;
}

.line-1 {
	top: 30%;
	left: 20%;
	width: 80px;
	transform: rotate(15deg);
}

.line-2 {
	top: 35%;
	right: 30%;
	width: 70px;
	transform: rotate(-20deg);
}

.line-3 {
	top: 55%;
	right: 25%;
	width: 60px;
	transform: rotate(10deg);
}

.line-4 {
	bottom: 30%;
	right: 35%;
	width: 50px;
	transform: rotate(-15deg);
}

.line-5 {
	bottom: 25%;
	left: 30%;
	width: 70px;
	transform: rotate(25deg);
}

.vision-content-wrapper {
	display: grid;
	grid-template-columns: 1fr 1fr; /* 等宽比例 */
	gap: 0; /* 取消间距，让图片严格贴紧右边缘 */
	align-items: stretch;
	width: 100%; /* 占满容器宽度 */
	margin: 0 auto;
	padding: 0; /* 取消左右 padding，确保图片右边沿与容器右边严格对齐 */
	height: 160px; /* 进一步减少高度，让容器贴紧图片的上下边缘 */
	min-height: 160px; /* 设置最小高度 */
}

.vision-text-content {
	padding: 12px 12px 12px 12px; /* 减少上下padding，适应更矮的容器 */
	display: flex;
	flex-direction: column;
	justify-content: center;
	overflow: hidden;
}

.vision-text-content h3 {
	font-size: 1.4rem; /* 恢复合适的标题字体大小 */
	font-weight: 700;
	color: #0f172a;
	margin-bottom: 6px; /* 减少底部间距，适应更矮的容器 */
	line-height: 1.2;
}

.vision-text-content p {
	font-size: 0.95rem; /* 恢复合适的段落字体大小 */
	color: #475569;
	line-height: 1.4; /* 稍微紧凑的行高，适应更矮的容器 */
	margin-bottom: 8px; /* 减少底部间距，适应更矮的容器 */
}

.vision-text-content ul { list-style: none; padding: 0; margin: 0; }
.vision-text-content li {
	padding-left: 20px; /* 恢复合适的左边距 */
	margin-bottom: 4px; /* 减少列表项间距，适应更矮的容器 */
	font-size: 0.9rem; /* 恢复合适的列表项字体大小 */
	color: #64748b;
	line-height: 1.3; /* 稍微紧凑的行高，适应更矮的容器 */
}
.vision-text-content li::before {
	content: '';
	position: absolute;
	left: 0; top: 8px;
	width: 7px; height: 7px;
	background: #3b82f6; border-radius: 50%;
}

.vision-image-content { 
	display: flex;
	justify-content: flex-end; /* 改为右对齐，让图片贴紧右边缘 */
	align-items: center;
	width: 100%;
	height: 100%;
	position: relative;
	overflow: hidden; /* 确保不超出容器 */
	padding: 0; /* 确保没有内边距 */
}

/* 图片保持原比例，不裁切不放大 */
.vision-image-content img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain; /* 使用contain保持原比例 */
	object-position: center;
	border-radius: 0;
	box-shadow: none;
	background: #e9edf3;
}

@media (max-width: 1024px) {
	.values-showcase {
		margin: 60px 0;
		padding: 0 16px;
	}
	
	.values-container {
		flex-direction: column;
		gap: 40px;
	}
	
	.values-list {
		order: 2;
	}
	
	.diagram-area {
		order: 1;
		height: 400px;
	}
	
	.central-platform {
		width: 150px;
		height: 90px;
	}
	
	.building {
		width: 30px;
	}
	
	.building-1 {
		height: 60px;
	}
	
	.building-2 {
		height: 80px;
	}
	
	.building-3 {
		height: 45px;
	}
	
	.node {
		width: 50px;
		height: 50px;
	}
	
	.node-icon {
		font-size: 0.5rem;
	}
	
	.node-label {
		font-size: 0.6rem;
	}
	
	.vision-container { padding: 0 16px; }
}

@media (max-width: 768px) {
	.values-showcase {
		margin: 40px 0;
		padding: 0 12px;
	}
	
	.values-container {
		gap: 30px;
	}
	
	.value-item {
		padding: 16px 20px;
	}
	
	.value-title {
		font-size: 1rem;
	}
	
	.value-description {
		font-size: 0.8rem;
	}
	
	.diagram-area {
		height: 300px;
	}
	
	.central-platform {
		width: 120px;
		height: 70px;
	}
	
	.building {
		width: 25px;
	}
	
	.building-1 {
		height: 50px;
	}
	
	.building-2 {
		height: 65px;
	}
	
	.building-3 {
		height: 35px;
	}
	
	.node {
		width: 40px;
		height: 40px;
	}
	
	.node-icon {
		font-size: 0.4rem;
	}
	
	.node-label {
		font-size: 0.5rem;
	}
	
	.structure-text {
		font-size: 0.6rem;
	}
}

/* 使命部分 */
.mission-section {
    background: white;
    border-radius: 16px;
    padding: 60px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

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

.mission-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mission-icon {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.mission-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: rotate 8s linear infinite reverse;
}

.mission-icon svg {
    width: 80px;
    height: 80px;
    color: white;
    position: relative;
    z-index: 2;
}

/* 价值观部分 */
.values-section {
    background: white;
    border-radius: 16px;
    padding: 60px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

/* 调整价值观区块标题与副标题的位置、字号、行距 */
.values-section { margin-top: -10px; } /* 整段上移一些 */

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

.value-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 25px 20px;
    position: relative;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #10b981);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    border-color: #3b82f6;
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    position: relative;
}

.value-icon svg {
    width: 40px;
    height: 40px;
    color: white;
}

.value-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 16px;
}

.value-card p {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .vision-content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .vision-content-wrapper.reverse {
        direction: ltr;
    }
    
    .vision-content-block {
        padding: 60px 0;
    }
    
    .vision-section {
        padding: 40px 0;
    }
    
    .vision-content,
    .mission-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .mission-section,
    .values-section {
        padding: 40px;
    }
    
    .values-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .vision-banner {
        padding: 80px 0 60px;
    }
    
    .vision-banner h1 {
        font-size: 2.2rem;
    }
    
    .vision-main {
        padding: 60px 0;
    }
    
    .vision-section,
    .mission-section,
    .values-section {
        padding: 30px;
        margin-bottom: 30px;
    }
    
    .vision-title {
        font-size: 2rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .value-card {
        padding: 30px 20px;
    }
    
    .vision-icon,
    .mission-icon {
        width: 150px;
        height: 150px;
    }
    
    .vision-icon svg,
    .mission-icon svg {
        width: 60px;
        height: 60px;
    }
}





