/* =========================================================
   公共样式 common.css
   风格：科技环保未来主义 (Tech-Eco Futurism)
   适用于：沛然环保 / AEC GreenTech 全站页面
   背景：深青绿渐变 + 顶部柔光 + 粒子点阵
   ========================================================= */

:root {
	/* ========== 背景：深青绿渐变 ========== */
	--bg-base: #08343a;
	/* 用户渐变起点 */
	--bg-light: #155144;
	/* 用户渐变终点 */
	--bg-deep: #051F23;
	/* 更深一档 */
	--bg-card: rgba(255, 255, 255, 0.045);
	/* 半透明卡片 */
	--bg-elevated: rgba(255, 255, 255, 0.07);
	/* 浮起卡片 */

	/* ========== 主色：亮生态绿 + 荧光青 ========== */
	--primary: #4ADE80;
	/* 亮生态绿 */
	--primary-hover: #22C55E;
	--primary-light: #86EFAC;
	--primary-bg: rgba(74, 222, 128, 0.10);
	--primary-glow: rgba(74, 222, 128, 0.4);
	--primary-glow-strong: rgba(74, 222, 128, 0.55);

	--accent: #22D3EE;
	/* 荧光青 */
	--accent-glow: rgba(34, 211, 238, 0.35);

	--gold: #FBBF24;
	/* 亮金 */
	--gold-light: #FCD34D;
    --text-main: #1a1a1a;
	--white: #FFFFFF;
	/* 极浅绿白 */
	--text-secondary: #A7D4C0;
	--text-light: #6B8A7D;
	--border-subtle: rgba(74, 222, 128, 0.18);
	--border-default: rgba(167, 212, 192, 0.18);

	/* ========== 阴影（深背景下用发光阴影）========== */
	--shadow-soft: 0 12px 32px -8px rgba(0, 0, 0, 0.4);
	--shadow-hover: 0 20px 48px -10px rgba(0, 0, 0, 0.5);
	--shadow-glow: 0 0 30px rgba(74, 222, 128, 0.25);
	--shadow-glow-strong: 0 0 50px rgba(74, 222, 128, 0.45);

	/* ========== 圆角 ========== */
	--radius-sm: 8px;
	--radius-md: 14px;
	--radius-card: 24px;
	--radius-btn: 50px;

	/* ========== 过渡 ========== */
	--transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
	--transition-slow: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);

	/* ========== 字体 ========== */
	--font-sans: 'Montserrat', 'Helvetica Now', 'PingFang SC',
		'Source Han Sans SC', 'Noto Sans SC', sans-serif;
	--header-height: 80px;
}

/* ========== Reset ========== */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--font-sans);
	color: var(--text-main);
	/* 用户的深青绿渐变 */

	background-attachment: fixed;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	position: relative;
}

/* 整页顶部柔光 + 全屏粒子点阵 */
body::before {
	content: '';
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 0;
	left: -80%;
	background-image:
		/* 顶部柔光 */
		radial-gradient(ellipse at 50% 0%, rgba(19, 74, 68, 0.10) 0%, transparent 50%),
		/* 底部柔光 */
		radial-gradient(ellipse at 50% 100%, rgba(19, 74, 68, 0.08) 0%, transparent 50%),
		/* 绿色粒子点阵 */
		radial-gradient(circle at 25% 75%, rgba(19, 74, 68, 0.06) 1px, transparent 1px),
		/* 青色粒子点阵 */
		radial-gradient(circle at 75% 25%, rgba(19, 74, 68, 0.05) 1px, transparent 1px);
	background-size: 100% 100%, 100% 100%, 60px 60px, 80px 80px;
}

/* 确保所有内容浮于装饰之上 */
body>* {
	position: relative;
	z-index: 1;
}

a {
	text-decoration: none;
	color: var(--white);
	transition: var(--transition);
}

ul {
	list-style: none;
}

img {
	max-width: 100%;
	display: block;
	object-fit: cover;
}
.containers {
	width: 90%;
	margin: 0 auto;
}
.container {
	width: 90%;
	max-width: 1240px;
	margin: 0 auto;
}

/* ===== 頂部導航 ===== */
		header {
		    background: rgba(255,255,255,.97);
		    backdrop-filter: blur(12px);
		    -webkit-backdrop-filter: blur(12px);
		    position: sticky;
		    top: 0;
		    z-index: 1000;
		    border-bottom: 1px solid rgba(0,0,0,.05);
		    height: 80px;
		}
		
		.navbar {
		    display: flex;
		    justify-content: space-between;
		    align-items: center;
		    height: 100%;
		}
		
		.logo-area {
		    display: flex;
		    align-items: center;
		    gap: 12px;
		    font-weight: 800;
		    font-size: 22px;
		    color: var(--primary);
		    flex-shrink: 0;
		}
		
		.logo-area img {
		    height: 50px;
		    width: auto;
		}
		
		/* 漢堡按鈕 */
		.hamburger {
		    display: none;
		    flex-direction: column;
		    justify-content: center;
		    gap: 5px;
		    width: 36px;
		    height: 36px;
		    background: none;
		    border: none;
		    cursor: pointer;
		    padding: 6px;
		    z-index: 1010;
		}
		
		.hamburger span {
		    display: block;
		    width: 100%;
		    height: 2px;
		    background: #1a1a1a;
		    border-radius: 2px;
		    transition: all .3s ease;
		    transform-origin: center;
		}
		
		.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
		.hamburger.open span:nth-child(2) { opacity: 0; }
		.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
		
		/* 遮罩 */
		.nav-overlay {
		    display: none;
		    position: fixed;
		    inset: 0;
		    background: rgba(0,0,0,.4);
		    z-index: 998;
		}
		
		.nav-overlay.show { display: block; }
		
		/* 導航容器 */
		.nav-wrap {
		    display: flex;
		    align-items: center;
		    height: 100%;
			width: 70%;
			justify-content: space-between;
		}
		
		.nav-menu {
		    display: flex;
		    gap: 50px;
		    align-items: center;
		    height: 100%;
		}
		
		.nav-item {
		    position: relative;
		    height: 100%;
		    display: flex;
		    align-items: center;
		}
		
		.nav-link {
		    font-size: 15px;
		    font-weight: 500;
		    color: #103d43;
		    padding: 10px 0;
		    display: flex;
		    align-items: center;
		    gap: 4px;
		    white-space: nowrap;
		    transition: color .25s;
		}
		
		.nav-link:hover { color: var(--primary); }
		
		.nav-link .chevron {
		    width: 12px;
		    height: 12px;
		    transition: transform .3s;
		    flex-shrink: 0;
		}
		
		/* 下拉菜單 — 基礎樣式（所有尺寸共用） */
		.dropdown {
		    background: #fff;
		    border-radius: 12px;
		    padding: 8px 0;
		    border: 1px solid rgba(0,0,0,.05);
		    min-width: 200px;
		}
		
		.dropdown li a {
		    display: block;
		    padding: 10px 24px;
		    font-size: 14px;
		    color: #1a1a1a;
		    transition: all .2s;
		}
		
		.dropdown li a:hover {
		    background: var(--primary-bg);
		    color: var(--primary);
		    padding-left: 30px;
		}
		
		/* 語言切換 */
		.lang-switch {
		    position: relative;
		    cursor: pointer;
		    padding: 6px 16px;
		    border-radius: 20px;
		    background: #f0f2f1;
		    font-size: 14px;
		    font-weight: 600;
		    color:  #103d43;
		    display: flex;
		    align-items: center;
		    gap: 6px;
		    transition: all .25s;
		    margin-left: 20px;
		    flex-shrink: 0;
		    user-select: none;
		}
		
		
		
		.lang-switch .icon-svg {
		    width: 18px;
		    height: 18px;
		    flex-shrink: 0;
		}
		
		.lang-switch .lang-chevron { transition: transform .3s; }
		.lang-switch.open .lang-chevron { transform: rotate(180deg); }
		
		.lang-dropdown {
		    position: absolute;
		    top: calc(100% + 6px);
		    right: 0;
		    background: #fff;
		    border-radius: 12px;
		    box-shadow: 0 10px 30px rgba(0,0,0,.1);
		    width: 90px;
		    overflow: hidden;
		    opacity: 0;
		    visibility: hidden;
		    transform: translateY(6px);
		    transition: all .25s ease;
		    border: 1px solid rgba(0,0,0,.05);
		    z-index: 10;
		}
		
		.lang-switch.open .lang-dropdown {
		    opacity: 1;
		    visibility: visible;
		    transform: translateY(0);
		}
		
		.lang-dropdown li a {
		    display: block;
		    padding: 10px 20px;
		    font-size: 13px;
		    color: #103d43;
		    transition: all .2s;
		}
		
		.lang-dropdown li a:hover {
		    background: #f9f9f9;
		    color: var(--primary);
		}
/* ========== 通用按钮 ========== */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 36px;
	border-radius: var(--radius-btn);
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	cursor: pointer;
	transition: var(--transition);
	border: none;
	gap: 8px;
	position: relative;
	overflow: hidden;
}

.btn-primary {
	background: linear-gradient(135deg, var(--primary), var(--primary-light));
	color: var(--bg-deep);
	box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 30px var(--primary-glow-strong);
}

.btn-ghost {
	background: transparent;
	color: var(--primary);
	border: 1px solid var(--primary);
}

.btn-ghost:hover {
	background: var(--primary);
	color: var(--bg-deep);
	box-shadow: var(--shadow-glow);
}

/* ========== 通用区块标题（顶部光带 + 三粒子 + 发光）========== */
.section-header {
	text-align: center;
	margin-bottom: 60px;
	position: relative;
}

/* 顶部渐变光带 */



/* ===== Tab 导航 ===== */
.about-tabs {
   background: linear-gradient(-170deg, #08293f, #1a693c);
    border-bottom: 1px solid var(--border-subtle);
   /* position: sticky;
    top: var(--header-height); */
    z-index: 100;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
}
.about-tabs::before {
    content: '';
    position: absolute;
    bottom: -1px; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--accent), transparent);
    opacity: 0.5;
}

.section-header h2 {
	font-size: 42px;
	font-weight: 800;
	margin-bottom: 16px;
	letter-spacing: -0.5px;
	text-transform: uppercase;
	    background: linear-gradient(180deg, var(--white), var(--primary));
	    -webkit-background-clip: text;
	    -webkit-text-fill-color: transparent;
	    background-clip: text;
	    letter-spacing: -1px;
}
.section-header.section-headered h2 {
	  background: linear-gradient(180deg, #08293f, var(--primary));
	  -webkit-background-clip: text;
	  -webkit-text-fill-color: transparent;
	  background-clip: text;
	  letter-spacing: -1px;
}

.section-header .subtitle {
	font-size: 15px;
	color: var(--text-secondary);
	max-width: 600px;
	margin: 0 auto 20px;
	letter-spacing: 0.5px;
}


/* ========== 通用SVG图标 ========== */
.icon-svg {
	width: 28px;
	height: 28px;
	fill: none;
	stroke: #103d43;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* ========== 通用动画 ========== */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes pulseGlow {

	0%,
	100% {
		box-shadow: 0 0 20px var(--primary-glow);
	}

	50% {
		box-shadow: 0 0 40px var(--primary-glow-strong);
	}
}

@keyframes floatY {

	0%,
	100% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(-8px);
	}
}

/* ========== 通用工具类 ========== */
.glow-text {
	text-shadow: 0 0 20px var(--primary-glow);
}

.gradient-text {
	background: linear-gradient(135deg, var(--primary), var(--accent));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

   @media (max-width: 992px) {
            .navbar { flex-wrap: wrap; }
        }
		
		/* ===== 桌面端：hover 下拉（僅 >1024px 生效） ===== */
		@media (min-width: 1025px) {
		    .dropdown {
		        position: absolute;
		        top: 100%;
		        left: 50%;
		        transform: translateX(-50%) translateY(8px);
		        box-shadow: 0 10px 30px rgba(0,0,0,.1);
		        opacity: 0;
		        visibility: hidden;
		        transition: all .3s ease;
		        pointer-events: none;
		    }
		
		    .nav-item:hover > .dropdown {
		        opacity: 1;
		        visibility: visible;
		        transform: translateX(-50%) translateY(0);
		        pointer-events: auto;
		    }
		
		    .nav-item:hover > .nav-link .chevron {
		        transform: rotate(180deg);
		    }
		}
		
		/* ===== 移動端（≤1024px） ===== */
		@media (max-width: 1024px) {
		    .hamburger { display: flex; }
		
		    .nav-wrap {
		        position: fixed;
		        top: 0;
		        right: 0;
		        width: 300px;
		        max-width: 85vw;
		        height: 100dvh;
		        background: #fff;
		        z-index: 999;
		        flex-direction: column;
		        align-items: stretch;
		        justify-content: flex-start;
		        padding: 80px 0 30px;
		        overflow-y: auto;
		        overflow-x: hidden;
		        transform: translateX(100%);
		        transition: transform .35s cubic-bezier(.4, 0, .2, 1);
		        box-shadow: -6px 0 30px rgba(0,0,0,.1);
				display: none;
		    }
		
		    .nav-wrap.open { transform: translateX(0); display: block; }
		
		    .nav-menu {
		        flex-direction: column;
		        gap: 0;
		        height: auto;
		        width: 100%;
		    }
		
		    .nav-item {
		        height: auto;
		        flex-direction: column;
		        align-items: stretch;
		        border-bottom: 1px solid rgba(0,0,0,.05);
				width: 100%;
		    }
		
		    .nav-link {
		        font-size: 16px;
		        padding: 14px 24px;
		        justify-content: space-between;
		    }
		
		    /* 移動端下拉：展開式，不用 hover */
		    .dropdown {
		        position: static;
		        transform: none;
		        box-shadow: none;
		        border-radius: 0;
		        border: none;
		        min-width: 0;
		        padding: 0;
		        max-height: 0;
		        overflow: hidden;
		        opacity: 1;
		        visibility: visible;
		        pointer-events: auto;
		        background: #f9faf9;
		        transition: max-height .35s ease;
		    }
		
		    .nav-item.sub-open > .dropdown {
		        max-height: 400px;
		        padding: 4px 0;
		    }
		
		    .nav-item.sub-open > .nav-link .chevron {
		        transform: rotate(180deg);
		    }
		
		    .dropdown li a {
		        padding: 12px 24px 12px 40px;
		        font-size: 14px;
		    }
		
		    .lang-switch {
		        margin: 16px 24px 0;
		        align-self: flex-start;
		    }
			.lang-switch.open .lang-dropdown {
			    width: 100%;
			}
		}
		
		@media (max-width: 480px) {
		    .logo-area img { height: 40px; }
		    .nav-wrap { width: 280px; }
		}
		
		footer { background: #111; color: #fff; padding: 80px 0 30px; }
		.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
		.footer-brand h2 { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
		.footer-brand p { color: #999; font-size: 14px; max-width: 300px; }
		.footer-col h4 { margin-bottom: 20px; font-size: 16px; }
		.footer-col ul li { margin-bottom: 12px; }
		.footer-col a { color: #999; font-size: 14px; }
		.footer-col a:hover { color: var(--primary-light); }
		.footer-bottom {
		    border-top: 1px solid #333; padding-top: 30px;
		    display: flex; justify-content: space-between; align-items: center;
		}
		.social-icons { display: flex; gap: 15px; }
		.social-link {
		    width: 40px; height: 40px; border-radius: 50%; background: #222;
		    display: flex; align-items: center; justify-content: center;
		    transition: var(--transition);
		}
		.social-link:hover { background: var(--primary); transform: translateY(-3px); }
		.social-link svg { fill: #fff; stroke: none; }
		
		@media (max-width: 992px) {
		    .footer-grid {
		        grid-template-columns: 1fr;
		        flex-direction: column;
		    }
		}