/* 全局变量定义 */
:root {
    --mg-blue: #005BAC;
    --mg-blue-dark: #004B8D;
    --mg-green: #10b981;
    --mg-gray: #F2F2F2;
    
    /* Tailwind 标准灰色映射 */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-700: #374151;
    --gray-800: #111827;

    /* 容器宽度 */
    --container-max-width: 1280px;

    /* 断点变量（逻辑参考） */
    --sm: 640px;
    --md: 768px;
    --lg: 1024px;
    --xl: 1280px;
}

/* 基础样式复位与全局样式 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

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

body {
    font-family: 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333333;
    background-color: var(--gray-50);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease, background-color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* --- 原 index.html 内联样式重定位 --- */

/* 产品卡片悬停效果 */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.product-card img {
    transition: transform 0.5s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

/* 分类项悬停效果 */
.category-item {
    transition: all 0.3s ease;
}

.category-item:hover {
    background-color: var(--mg-green);
    color: white;
}

/* 轮播图样式 */
.carousel-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.7s ease-in-out;
}

/* 移动端菜单 */
.mobile-menu {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.mobile-menu.open {
    transform: translateX(0);
}

/* 回到顶部按钮 */
.back-to-top {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/* 遮罩层 */
.menu-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 40;
}

.hidden {
    display: none !important;
}

.lg-hidden {
    display: block;
}

@media (min-width: 1024px) {
    .lg-hidden {
        display: none !important;
    }
}

/* 新闻列表项 */
.news-item {
    transition: all 0.3s ease;
}

.news-item:hover {
    background-color: var(--gray-50);
}

.news-item:hover .news-title {
    color: var(--mg-blue);
}

.btn-primary {
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 91, 172, 0.3);
}

.img-hover {
    transition: transform 0.5s ease;
}

.img-hover:hover {
    transform: scale(1.05);
}

.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* 内联SVG通用样式 */
.icon-svg {
    width: 1em;
    height: 1em;
    display: inline-block;
    flex-shrink: 0;
    vertical-align: middle;
}

.icon-svg-lg {
    width: 1.25em;
    height: 1.25em;
}

.icon-svg-xl {
    width: 1.5em;
    height: 1.5em;
}

.icon-svg-2xl {
    width: 2rem;
    height: 2rem;
}

.icon-svg-5xl {
    width: 3rem;
    height: 3rem;
}

/* --- 自定义语义化类名映射 (Tailwind Replacement) --- */

/* 通用容器 */
.container-center {
    width: 100%;
    max-width: var(--container-max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .container-center {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container-center {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* 顶部栏 */
.top-bar-wrapper {
    background-color: var(--gray-100);
    border-bottom: 1px solid var(--gray-200);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 2rem;
    font-size: 0.75rem;
    color: var(--gray-500);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: auto;
}

@media (min-width: 640px) {
    .top-bar-right {
        margin-left: 0;
    }
}

/* 头部 */
.header-wrapper {
    background-color: white;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

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

.header-logo-area {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-logo-img {
    height: 4rem;
    width: auto;
}

.logo-slogan-box {
    display: none;
    border-left: 1px solid var(--gray-300);
    padding-left: 1rem;
}

@media (min-width: 768px) {
    .logo-slogan-box {
        display: block;
    }
}

.logo-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-700);
    letter-spacing: 0.05em;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--mg-blue);
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.contact-label {
    font-size: 10px;
    color: var(--gray-500);
    text-align: right;
}

@media (min-width: 640px) {
    .contact-label {
        font-size: 0.75rem;
    }
}

.contact-number {
    font-size: 1rem;
    font-weight: 700;
    color: var(--mg-blue);
    margin-top: 0.125rem;
    text-align: right;
}

@media (min-width: 640px) {
    .contact-number {
        font-size: 1.25rem;
        margin-top: 0;
    }
}

/* 导航栏 */
.nav-wrapper {
    background-color: var(--mg-blue);
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.nav-desktop {
    display: none;
    justify-content: center;
}

@media (min-width: 1024px) {
    .nav-desktop {
        display: flex;
    }
}

.nav-list {
    display: flex;
}

.nav-item-link {
    display: block;
    padding: 1rem 1.5rem;
    color: white;
    font-weight: 500;
}

@media (min-width: 1280px) {
    .nav-item-link {
        padding: 1rem 2rem;
    }
}

.nav-item-active {
    background-color: #16a34a;
}

.nav-item-link:hover {
    background-color: #16a34a;
}

.nav-mobile-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

@media (min-width: 1024px) {
    .nav-mobile-bar {
        display: none;
    }
}

.nav-mobile-title {
    color: white;
    font-weight: 500;
}

.nav-mobile-btn {
    color: white;
    background: none;
    border: none;
    cursor: pointer;
}

/* 轮播图 */
.hero-carousel {
    position: relative;
    height: 350px;
    overflow: hidden;
}

/* 移动端抽屉菜单内部样式 */
.mobile-menu-drawer {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 16rem;
    background-color: white;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    z-index: 50;
}

.mobile-menu-header {
    padding: 1rem;
    background-color: var(--mg-blue);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-menu-title {
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
}

.mobile-menu-list {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.mobile-menu-item {
    border-bottom: 1px solid var(--gray-100);
}

.mobile-menu-link {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--gray-700);
    transition: all 0.3s;
}

.mobile-menu-link:hover, .mobile-menu-link.active {
    background-color: #f0fdf4;
    color: #16a34a;
}

@media (min-width: 768px) {
    .hero-carousel {
        height: 400px;
    }
}

@media (min-width: 1024px) {
    .hero-carousel {
        height: 450px;
    }
}

.carousel-slide-img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.carousel-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.carousel-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 9999px;
    background-color: white;
    border: none;
    cursor: pointer;
}

.carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 3rem;
    height: 3rem;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border: none;
    transition: background-color 0.3s;
    z-index: 10;
    cursor: pointer;
}

.carousel-nav-btn:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

.carousel-prev { left: 1rem; }
.carousel-next { right: 1rem; }

/* 响应式网格 */
.grid-standard {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .grid-standard {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .grid-standard-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* 栏目标题 */
.section-title-box {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.section-h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--mg-blue);
    border-left: 4px solid var(--mg-green);
    padding-left: 1rem;
}

.section-h2-sub {
    font-size: 1rem;
    font-weight: 400;
    color: var(--gray-400);
}

.section-divider {
    flex: 1;
    border-bottom: 1px solid var(--gray-100);
    margin-left: 1.5rem;
}

.more-link {
    margin-left: 1.5rem;
    font-size: 0.875rem;
    color: var(--gray-400);
}

.more-link:hover {
    color: var(--mg-green);
}

/* 产品卡片 */
.product-card-article {
    position: relative;
    padding: 1rem;
    background-color: white;
    border: 1px solid var(--gray-100);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s;
}

.product-card-article:hover {
    border-color: var(--mg-green);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.hot-tag-box {
    position: absolute;
    top: 0;
    right: 0;
    width: 3.5rem;
    height: 3.5rem;
}

.hot-tag-span {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    color: white;
    font-size: 9px;
    font-weight: 700;
    transform: rotate(45deg);
}

.product-img-box {
    height: 12rem;
    margin-bottom: 1rem;
    overflow: hidden;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.img-hover:hover {
    transform: scale(1.05);
}

.product-title {
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    margin-bottom: 0.5rem;
}

.product-card-article:hover .product-title {
    color: var(--mg-green);
}

.product-desc {
    font-size: 0.875rem;
    color: var(--gray-500);
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1rem;
}

.product-btn-box {
    text-align: center;
}

.product-btn {
    font-size: 0.75rem;
    background-color: var(--mg-blue);
    color: white;
    padding: 0.375rem 1rem;
    display: inline-block;
}

.product-btn:hover {
    background-color: var(--mg-green);
}

/* 主内容布局 */
.section-gray { font-size: 14px; padding-top: 4rem; padding-bottom: 4rem; background-color: var(--gray-50); }
.section-white { padding-top: 4rem; padding-bottom: 4rem; background-color: white; }

.main-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .main-grid {
        grid-template-columns: repeat(12, minmax(0, 1fr));
    }
}

/* 侧边栏分类 */
.aside-filter {
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
}

@media (min-width: 1024px) {
    .aside-filter {
        grid-column: span 3 / span 3;
        height: 400px;
        margin-bottom: 0;
    }
}

.aside-title {
    background-color: var(--mg-blue);
    color: white;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 1.125rem;
    letter-spacing: 0.05em;
    text-align: center;
}

.aside-title-sub {
    display: block;
    font-size: 0.875rem;
    font-weight: 400;
    opacity: 0.7;
    margin-top: 0.25rem;
    letter-spacing: 0.1em;
}

.aside-list {
    background-color: white;
    border: 1px solid var(--gray-100);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.aside-item {
    flex: 1;
    border-bottom: 1px solid var(--gray-100);
}

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

.aside-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 1.5rem;
    font-size: 15px;
    transition: all 0.3s;
}

.aside-link:hover {
    background-color: var(--mg-green);
    color: white;
}

/* 产品幻灯片列销 */
.product-showcase {
    position: relative;
    background-color: white;
    overflow: hidden;
    height: 300px;
}

@media (min-width: 768px) {
    .product-showcase { height: 400px; }
}

@media (min-width: 1024px) {
    .product-showcase { grid-column: span 9 / span 9; }
}

.product-slide-item {
    position: absolute;
    inset: 0;
    transition: opacity 0.6s ease-in-out;
    pointer-events: none;
    z-index: 0;
}

.product-slide-item.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 10;
}

.product-slide-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: white;
    text-align: center;
}

.slide-badge {
    display: inline-block;
    background-color: var(--mg-green);
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    margin-bottom: 0.75rem;
}

.slide-title { font-size: 1.875rem; font-weight: 700; margin-bottom: 0.25rem; }
.slide-subtitle { color: var(--gray-300); margin-bottom: 1rem; font-size: 0.875rem; }

.slide-btn {
    display: inline-block;
    background-color: var(--mg-green);
    color: white;
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    border-radius: 0.25rem;
    transition: background-color 0.3s;
}

.slide-btn:hover { background-color: #15803d; }

.slide-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 3rem;
    height: 3rem;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border: none;
    cursor: pointer;
    z-index: 50;
    transition: all 0.3s;
}

.slide-nav-btn:hover { background-color: rgba(0, 0, 0, 0.5); }
.slide-prev { left: 0.75rem; }
.slide-next { right: 0.75rem; }

/* 侧边菜单链接详细 */
.news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.news-group-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--gray-100);
    padding-bottom: 0.5rem;
}

.news-h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--mg-blue);
    border-left: 4px solid var(--mg-green);
    padding-left: 1rem;
}

.news-h2-sub {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--gray-400);
}

.news-list-v { display: flex; flex-direction: column; gap: 1.5rem; }
.news-card { display: flex; gap: 1rem; }
.news-card-img-box { width: 8rem; height: 6rem; flex-shrink: 0; background-color: var(--gray-100); overflow: hidden; }
.news-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.news-card-content { flex: 1; }
.news-card-title { font-weight: 700; margin-bottom: 0.25rem; cursor: pointer; }
.news-card-title:hover { color: var(--mg-green); }
.news-card-excerpt { font-size: 0.75rem; color: var(--gray-500); margin-bottom: 0.5rem; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-meta { display: flex; align-items: center; font-size: 10px; color: var(--gray-400); gap: 1rem; }
.news-meta-item { display: flex; align-items: center; gap: 0.25rem; font-size: 0.75rem; }

.news-border-item { padding-top: 1rem; border-top: 1px solid #f9fafb; }

.ency-list { display: flex; flex-direction: column; gap: 1rem; }
.ency-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    border-bottom: 1px solid #f9fafb;
    padding-bottom: 0.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    transition: all 0.3s;
}

.ency-item:hover { background-color: #f9fafb; }
.ency-link { display: flex; align-items: center; }
.ency-link:hover { color: var(--mg-green); }
.ency-icon { color: var(--gray-300); margin-right: 0.75rem; }
.ency-date { color: var(--gray-400); font-size: 0.75rem; text-align: right; }

/* 走进美固 */
.about-section {
    position: relative;
    height: 300px;
    overflow: hidden;
}

@media (min-width: 768px) {
    .about-section { height: 400px; }
}

.about-bg-img {
    position: absolute;
    inset: 0;
    transition: transform 1s;
}

.about-section:hover .about-bg-img { transform: scale(1.05); }

.about-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 91, 172, 0.85);
}

.about-layer {
    position: relative;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
    max-width: var(--container-max-width);
}

.about-flex-center {
    display: flex;
    align-items: center;
    height: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
}

.about-content-box {
    max-width: 42rem;
    color: white;
    transform: translateY(1rem);
    transition: transform 0.5s;
}

.about-section:hover .about-content-box { transform: translateY(0); }

.about-tag-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.about-tag-line { width: 3rem; height: 0.25rem; background-color: var(--mg-green); }
.about-tag-text { font-size: 0.875rem; letter-spacing: 0.3em; font-weight: 500; color: #4ade80; }

@media (min-width: 768px) {
    .about-tag-text { font-size: 1rem; }
}

.about-h2 { font-size: 1.875rem; font-weight: 700; margin-bottom: 1rem; letter-spacing: 0.05em; }

@media (min-width: 768px) { .about-h2 { font-size: 2.25rem; } }
@media (min-width: 1024px) { .about-h2 { font-size: 3rem; } }

.about-h3 { font-size: 1.125rem; color: #dbeafe; margin-bottom: 1.5rem; font-weight: 300; letter-spacing: 0.025em; }

@media (min-width: 768px) { .about-h3 { font-size: 1.25rem; } }

.about-p {
    display: none;
    font-size: 0.875rem;
    color: var(--gray-200);
    margin-bottom: 2rem;
    line-height: 1.625;
    max-width: 36rem;
}

@media (min-width: 768px) { .about-p { display: block; font-size: 1rem; } }

.about-btn-row { display: flex; align-items: center; gap: 1.5rem; }

.about-btn-green {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    background-color: var(--mg-green);
    color: white;
    font-weight: 500;
    transition: all 0.3s;
    box-shadow: 0 10px 15px -3px rgba(34, 197, 94, 0.3);
}

.about-btn-green:hover { background-color: #16a34a; transform: translateY(-0.25rem); }

.about-btn-outline {
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: white;
    font-weight: 500;
    transition: all 0.3s;
}

@media (min-width: 640px) { .about-btn-outline { display: inline-flex; } }

.about-btn-outline:hover { background-color: white; color: var(--mg-blue); }

/* 页脚样式 */
.footer-wrapper {
    background: linear-gradient(to bottom right, #0f172a, #1e293b, #0f172a);
    color: white;
    padding-top: 4rem;
    padding-bottom: 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 768px) {
    .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.footer-logo { width: 308px; height: 64px; max-width: 100%; background: transparent; border-radius: 0.5rem; padding: 0.125rem; margin-bottom: 1.5rem; }
.footer-text { font-size: 0.875rem; color: var(--gray-300); line-height: 1.625; }
.footer-subtitle { font-size: 1.125rem; font-weight: 600; margin-bottom: 1rem; }

.footer-contact-list { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-contact-item { display: flex; align-items: center; cursor: pointer; transition: color 0.3s; }
.footer-contact-item:hover { color: #4ade80; }

.footer-icon-circle {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    background-color: #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    transition: background-color 0.3s;
}

.footer-contact-item:hover .footer-icon-circle { background-color: rgba(34, 197, 94, 0.2); }
.footer-icon-green { color: var(--mg-green); width: 1rem; height: 1rem; }

.footer-social-box { display: flex; flex-direction: column; align-items: center; }

@media (min-width: 768px) { .footer-social-box { align-items: flex-start; } }

.qr-code-box {
    background-color: white;
    padding: 0.75rem;
    border-radius: 0.75rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    margin-bottom: 0.75rem;
    transition: transform 0.3s;
}

.qr-code-box:hover { transform: scale(1.05); }

.qr-placeholder-icon {
    width: 7rem;
    height: 7rem;
    background: linear-gradient(to bottom right, #f1f5f9, #e2e8f0);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-icon-gray { color: var(--gray-400); width: 3.5rem; height: 3.5rem; }

.footer-bottom { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid #334155; text-align: center; }
.footer-copyright { font-size: 0.875rem; color: var(--gray-400); }
.footer-tech { font-size: 0.75rem; color: var(--gray-500); margin-top: 0.5rem; }

/* 悬浮按钮组 */
.floating-btns {
    position: fixed;
    right: 1rem;
    bottom: 6rem;
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.floating-btn {
    width: 3rem;
    height: 3rem;
    background-color: white;
    border: 1px solid var(--gray-200);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mg-blue);
    transition: all 0.3s;
    position: relative;
}

.floating-btn:hover { background-color: var(--mg-blue); color: white; }

.floating-tooltip {
    position: absolute;
    right: 100%;
    margin-right: 0.5rem;
    background-color: var(--mg-blue);
    color: white;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.floating-btn:hover .floating-tooltip { opacity: 1; }

.qr-expanded {
    position: absolute;
    right: 100%;
    margin-right: 0.5rem;
    background-color: white;
    padding: 0.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: opacity 0.3s;
    border: 1px solid var(--gray-100);
    pointer-events: none;
}

.floating-btn:hover .qr-expanded { opacity: 1; }

.qr-mini-box { width: 6rem; height: 6rem; background-color: var(--gray-100); display: flex; align-items: center; justify-content: center; border-radius: 0.25rem; }

.back-to-top-btn {
    width: 3rem;
    height: 3rem;
    background-color: var(--mg-green);
    color: white;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.back-to-top-btn:hover { background-color: var(--mg-blue); }

/* --- 子页面组件 (自 news.html 迁移) --- */

/* 子页面 Banner */
.sub-banner {
    position: relative;
    height: 350px;
    background: linear-gradient(to right, var(--mg-blue), var(--mg-blue-dark));
    overflow: hidden;
}

.sub-banner-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.2);
}

.sub-banner-content {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.sub-banner-text {
    color: white;
}

.sub-banner-h1 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .sub-banner-h1 { font-size: 3rem; }
}

.sub-banner-p {
    font-size: 1.25rem;
    opacity: 0.9;
}

@media (min-width: 768px) {
    .sub-banner-p { font-size: 1.5rem; }
}

.sub-banner-desc {
    margin-top: 1rem;
    font-size: 1.125rem;
    opacity: 0.8;
}

/* 面包屑导航 */
.breadcrumb-nav {
    background-color: white;
    border-bottom: 1px solid var(--gray-200);
}

.breadcrumb-content {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: var(--gray-500);
}

.breadcrumb-separator {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    color: var(--gray-400);
}

.breadcrumb-current {
    color: var(--gray-800);
    font-weight: 500;
}

/* 主内容布局辅助 */
.main-content-layout {
    padding-top: 4rem;
    padding-bottom: 4rem;
    background-color: var(--gray-50);
}

.main-grid-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .main-grid-container {
        grid-template-columns: repeat(12, minmax(0, 1fr));
    }
}

.aside-column {
    display: flex;
    flex-direction: column;
}

@media (min-width: 1024px) {
    .aside-column {
        grid-column: span 3 / span 3;
    }
}

.content-column {
    display: flex;
    flex-direction: column;
}

@media (min-width: 1024px) {
    .content-column {
        grid-column: span 9 / span 9;
    }
}

/* 侧边栏卡片 */
.aside-card {
    background-color: white;
    border-radius: 0.25rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.aside-card + .aside-card {
    margin-top: 1.5rem;
}

.aside-card-header {
    background-color: var(--mg-blue);
    color: white;
    padding: 0.75rem 1rem;
}

.aside-card-header.bg-mg-green {
    background-color: var(--mg-green);
}

.aside-card-header h3 {
    font-weight: 700;
    font-size: 1.125rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.aside-card-subtitle {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0.8;
    margin-top: 0.25rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.aside-card-body {
    padding: 1rem;
}

/* 侧边栏分类列表扩展 */
.category-list {
    display: flex;
    flex-direction: column;
}

.category-list li {
    border-bottom: 1px solid var(--gray-100);
}

.category-list li:last-child {
    border-bottom: none;
}

.category-link {
    display: block;
    padding: 1rem;
    color: var(--gray-700);
    font-weight: 500;
    transition: all 0.3s;
}

.category-link:hover {
    background-color: #16a34a;
    color: white;
}

.category-item.active .category-link {
    background-color: #16a34a;
    color: white;
}

/* 侧边栏联系我们 */
.aside-contact-title { color: var(--gray-600); margin-bottom: 0.5rem; }
.aside-contact-phone { font-size: 1.5rem; font-weight: 700; color: var(--mg-blue); margin-bottom: 1rem; }
.aside-contact-btn {
    display: block;
    width: 100%;
    background-color: var(--mg-blue);
    color: white;
    text-align: center;
    padding: 0.75rem 0;
    border-radius: 0.25rem;
    transition: background-color 0.3s;
}
.aside-contact-btn:hover { background-color: var(--mg-blue-dark); }

/* 新闻列表容器 */
.news-list-container {
    background-color: white;
    border-radius: 0.25rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.news-list-inner {
    padding: 1.5rem;
}

/* 新闻列表项 (扩展已有的 .news-item) */
.news-item-flex {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-100);
}

@media (min-width: 768px) {
    .news-item-flex {
        flex-direction: row;
    }
}

.news-item-flex:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.news-item-thumb {
    width: 100%;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 0.25rem;
    border: 1px solid var(--gray-200);
}

@media (min-width: 768px) {
    .news-item-thumb {
        width: 300px;
    }
}

.news-thumb-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.5s;
}

.news-item-flex:hover .news-thumb-img {
    transform: scale(1.05);
}

.news-item-content {
    flex: 1;
}

.news-item-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.75rem;
}

.news-item-title a:hover {
    color: var(--mg-green);
}

.news-item-excerpt {
    color: var(--gray-600);
    font-size: 0.875rem;
    line-height: 1.625;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.news-item-meta {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: var(--gray-500);
}

.news-meta-date { margin-right: 1rem; }

/* 分页器 */
.pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.pagination {
    display: flex;
    gap: 0.5rem;
}

.pagination li {
    padding: 0.5rem 1rem;
    border: 1px solid var(--gray-200);
    cursor: pointer;
    background-color: white;
    transition: all 0.3s;
}

.pagination li a {
    color: var(--gray-700);
}

.pagination li:hover, .pagination li.current {
    background-color: var(--mg-green);
    border-color: var(--mg-green);
}

.pagination li:hover a, .pagination li.current a {
    color: white;
}

.pagination li.disabled {
    color: var(--gray-400);
    cursor: not-allowed;
    background-color: var(--gray-50);
}

.pagination li.disabled:hover {
    background-color: var(--gray-50);
    border-color: var(--gray-200);
}

/* 产品列表容器 */
.product-list-wrapper {
    background-color: white;
    border: 1px solid var(--gray-200);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.product-list-header {
    background-color: var(--gray-50);
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.product-list-header h2 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--mg-blue);
}

.product-list-body {
    padding: 1.5rem;
}

/* 产品网格 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* 产品项卡片 */
.product-item-card {
    border: 1px solid var(--gray-200);
    padding: 1rem;
    background-color: white;
    transition: all 0.3s;
}

.product-item-card:hover {
    border-color: var(--mg-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.product-item-thumb {
    height: 16rem;
    margin-bottom: 1rem;
    overflow: hidden;
    background-color: var(--gray-50);
}

.product-item-img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    transition: transform 0.5s;
}

.product-item-card:hover .product-item-img {
    transform: scale(1.05);
}

.product-item-title {
    font-weight: 600;
    text-align: center;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.product-item-card:hover .product-item-title {
    color: var(--mg-green);
}

.product-item-title a {
    display: block;
}

/* 新闻详情容器 */
.news-detail-wrapper {
    background-color: white;
    border-radius: 0.25rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.news-detail-content {
    padding: 1.5rem;
}

@media (min-width: 768px) {
    .news-detail-content {
        padding: 2.5rem;
    }
}

.news-detail-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 1rem;
    text-align: center;
}

@media (min-width: 768px) {
    .news-detail-title {
        font-size: 1.875rem;
    }
}

.news-detail-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
}

.news-detail-meta span {
    display: flex;
    align-items: center;
}

.news-detail-meta i {
    margin-right: 0.25rem;
}

/* 文章正文富文本样式 */
.article-content {
    color: var(--gray-700);
    line-height: 1.8;
}

.article-content h1, .article-content h2, .article-content h3 {
    color: var(--gray-800);
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-content h1 { font-size: 1.5rem; border-left: 4px solid var(--mg-blue); padding-left: 0.75rem; }
.article-content h2 { font-size: 1.25rem; }

.article-content p {
    margin-bottom: 1.25rem;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.25rem;
    margin: 1.5rem auto;
    display: block;
}

.article-content ul, .article-content ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.article-content ul { list-style-type: disc; }
.article-content ol { list-style-type: decimal; }

.article-content li {
    margin-bottom: 0.5rem;
}

/* 详情页导航 (上一篇/下一篇) */
.news-detail-nav {
    border-top: 1px solid var(--gray-200);
    margin-top: 2rem;
    padding-top: 1.5rem;
}

.news-nav-flex {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .news-nav-flex {
        flex-direction: row;
        justify-content: space-between;
    }
}

.news-nav-item {
    color: var(--gray-600);
    font-size: 0.875rem;
}

.news-nav-label {
    font-weight: 600;
}

.news-nav-link {
    color: var(--mg-blue);
    transition: color 0.3s;
}

.news-nav-link:hover {
    color: var(--mg-green);
    text-decoration: underline;
}

/* 相关信息卡片 (主内容区下方) */
.related-info-card {
    background-color: white;
    border-radius: 0.25rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-top: 1.5rem;
}

.related-info-header {
    background-color: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
    padding: 1rem 1.5rem;
}

.related-header-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-800);
    display: flex;
    align-items: center;
}

.related-header-title i {
    color: var(--mg-blue);
    margin-right: 0.5rem;
}

.related-info-body {
    padding: 1rem;
}

.related-list {
    display: flex;
    flex-direction: column;
}

.related-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-50);
    transition: all 0.3s;
}

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

.related-item i {
    color: var(--gray-400);
    font-size: 0.75rem;
    margin-right: 0.75rem;
}

.related-link {
    color: var(--gray-700);
    transition: color 0.3s;
    flex: 1;
}

.related-item:hover .related-link {
    color: var(--mg-green);
    padding-left: 0.25rem;
}

/* --- ��Ʒ����ҳר�õ����廯���� --- */
.product-detail-card {
    background-color: white;
    border: 1px solid var(--gray-200);
}

.product-detail-padding {
    padding: 1.5rem;
}

.product-title-h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .product-title-h1 {
        font-size: 1.875rem;
    }
}

.product-info-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .product-info-grid {
        flex-direction: row;
    }
}

.product-main-image-wrapper {
    width: 100%;
}

@media (min-width: 768px) {
    .product-main-image-wrapper {
        width: 50%;
    }
}

.product-image-container {
    position: relative;
    border: 1px solid var(--gray-200);
    padding: 1rem;
    background-color: white;
    border-radius: 0.4rem;
}

.product-main-img {
    width: 100%;
    height: 20rem;
    object-fit: contain;
}

.product-info-content {
    width: 100%;
}

@media (min-width: 768px) {
    .product-info-content {
        width: 50%;
    }
}

.product-meta-panel {
    background-color: var(--gray-50);
    padding: 1rem;
    border-radius: 0.25rem;
    margin-bottom: 1rem;
}

.product-meta-item {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: 0.5rem;
}

.product-meta-label {
    font-weight: 500;
}

.product-meta-value-blue {
    color: var(--mg-blue);
    font-weight: 700;
    font-size: 1.125rem;
}

.product-action-btns {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.btn-action-blue {
    display: block;
    width: 100%;
    background-color: var(--mg-blue);
    color: white;
    text-align: center;
    padding: 0.75rem 0;
    border-radius: 0.25rem;
    transition: background-color 0.3s;
}

.btn-action-blue:hover {
    background-color: var(--mg-blue-dark);
}

.btn-action-green {
    display: block;
    width: 100%;
    background-color: #22c55e;
    color: white;
    text-align: center;
    padding: 0.75rem 0;
    border-radius: 0.25rem;
    transition: background-color 0.3s;
}

.btn-action-green:hover {
    background-color: #16a34a;
}

.product-tabs-wrapper {
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 1.5rem;
}

.product-tabs-list {
    display: flex;
}

.product-tab-item {
    margin-right: 0.25rem;
}

.product-tab-link-active {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--mg-blue);
    color: white;
    font-weight: 500;
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
}

.product-description-container {
    background-color: white;
    border: 1px solid var(--gray-200);
    border-bottom-left-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
    padding: 1.5rem;
}

.product-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--gray-300);
    margin-bottom: 1rem;
}

.product-table td {
    border: 1px solid var(--gray-300);
    padding: 0.5rem 1rem;
}

.product-table tr:nth-child(even) {
    background-color: var(--gray-50);
}

.product-table-label {
    font-weight: 500;
}

.product-detail-img-full {
    width: 100%;
    max-width: 42rem;
    margin: 1.5rem auto 0;
    border-radius: 0.25rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* �༭��������ʽ */
.editor-content p {
    margin-bottom: 1rem;
    color: var(--gray-600);
    line-height: 1.8;
}

.editor-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.editor-content ul {
    list-style-type: disc;
    list-style-position: inside;
    margin-bottom: 1rem;
    color: var(--gray-600);
}

.editor-content li {
    margin-bottom: 0.5rem;
}

/* ��Ʒ�������Ԫ����ʽ */
.product-feature-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.product-feature-list {
    list-style-type: disc;
    list-style-position: inside;
    margin-bottom: 1rem;
    color: var(--gray-600);
}

.product-feature-list li {
    margin-bottom: 0.5rem;
}

/* --- ��������ҳ��ר�õ����廯���� --- */
.about-profile-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
    background-color: white;
}

.about-profile-flex {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .about-profile-flex {
        flex-direction: row;
    }
}

.about-profile-img-box {
    width: 100%;
    flex-shrink: 0;
}

@media (min-width: 1024px) {
    .about-profile-img-box {
        width: 442px;
    }
}

.about-profile-img-wrapper {
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.about-profile-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s;
}

.about-profile-img:hover {
    transform: scale(1.05);
}

.about-profile-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--mg-blue);
    margin-bottom: 1.5rem;
}

.about-profile-content {
    color: var(--gray-600);
    font-size: 1rem;
    line-height: 1.8;
}

.about-profile-content p {
    margin-bottom: 1rem;
}

.about-profile-tags {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.about-profile-tag {
    display: flex;
    align-items: center;
    color: var(--gray-700);
}

/* ��˾���� */
.about-env-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
    background-color: var(--gray-50);
}

.about-section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.about-section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.about-section-desc {
    color: var(--gray-600);
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.about-env-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

@media (min-width: 768px) {
    .about-env-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1.5rem;
    }
}

.env-card {
    background-color: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.env-img-box {
    overflow: hidden;
}

.env-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.env-card-info {
    padding: 0.75rem;
    text-align: center;
}

.env-card-title {
    color: var(--gray-700);
    font-weight: 500;
}

/* ��˾��ɫ��Ƭ */
.about-features-section {
    padding-top: 5rem;
    padding-bottom: 6rem;
    background-color: var(--gray-50);
}

.about-features-card {
    background-color: white;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    position: relative;
}

.about-features-header {
    display: flex;
    align-items: center;
    height: 6rem;
    position: relative;
}

.about-features-badge {
    position: absolute;
    left: 2rem;
    top: -1rem;
    background-color: #41abfc;
    color: white;
    width: 6rem;
    height: 7rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    z-index: 20;
}

@media (min-width: 1024px) {
    .about-features-badge {
        left: 3rem;
        top: -1.5rem;
        width: 7rem;
        height: 7.5rem;
    }
}

.about-features-header-text {
    padding-left: 9rem;
}

@media (min-width: 1024px) {
    .about-features-header-text {
        padding-left: 12rem;
    }
}

.about-features-title {
    color: var(--mg-blue);
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

@media (min-width: 1024px) {
    .about-features-title {
        font-size: 1.375rem;
    }
}

.about-features-subtitle {
    color: var(--gray-400);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 0.25rem;
}

.about-features-visual {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .about-features-visual {
        height: 400px;
    }
}

.about-features-tabs {
    display: flex;
    flex-wrap: wrap;
    background-color: white;
    position: relative;
    z-index: 20;
    border-top: 1px solid var(--gray-100);
}

@media (min-width: 1024px) {
    .about-features-tabs {
        flex-wrap: nowrap;
    }
}

.tab-trigger {
    width: 33.333333%;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
    border-right: 1px solid var(--gray-100);
}

@media (min-width: 1024px) {
    .tab-trigger {
        flex: 1;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
}

.tab-trigger:hover {
    background-color: var(--gray-50);
}

.tab-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    font-weight: 300;
    color: transparent;
    -webkit-text-stroke: 1px var(--gray-200);
    pointer-events: none;
    line-height: 1;
}

@media (min-width: 1024px) {
    .tab-number {
        font-size: 4.375rem;
    }
}

.tab-label {
    position: relative;
    z-index: 10;
    color: var(--gray-700);
    font-size: 1rem;
    transition: color 0.3s;
}

@media (min-width: 1024px) {
    .tab-label {
        font-size: 1.125rem;
    }
}

.tab-trigger.active .tab-label {
    color: var(--mg-blue);
}

/* ��ϵ���Ƕ��� */
.about-contact-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
    background: linear-gradient(to right, var(--gray-800), #111827);
}

.about-contact-flex {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

@media (min-width: 1024px) {
    .about-contact-flex {
        flex-direction: row;
    }
}

.about-contact-info {
    width: 100%;
}

@media (min-width: 1024px) {
    .about-contact-info {
        width: 50%;
    }
}

.about-contact-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
}

.about-contact-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-contact-item {
    display: flex;
    align-items: flex-start;
}

.about-contact-icon {
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--mg-blue);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.about-contact-text-label {
    color: var(--gray-400);
    font-size: 0.875rem;
}

.about-contact-text-value {
    color: white;
    font-size: 1.125rem;
}

.about-contact-btn-box {
    margin-top: 2rem;
}

.btn-contact-blue {
    display: inline-flex;
    align-items: center;
    background-color: var(--mg-blue);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: background-color 0.3s;
}

.btn-contact-blue:hover {
    background-color: var(--mg-blue-dark);
}

.about-contact-map-box {
    width: 100%;
}

@media (min-width: 1024px) {
    .about-contact-map-box {
        width: 50%;
    }
}

.about-map-placeholder {
    background-color: #374151;
    border-radius: 0.5rem;
    overflow: hidden;
    height: 100%;
    position: relative;
}

.about-map-image {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.about-map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.3);
}

@media (min-width: 1024px) {
    .about-map-placeholder {
        height: 100%;
    }
}

/* �ײ����� */
.about-slogan-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
    background: linear-gradient(to right, var(--mg-blue), var(--mg-blue-dark));
    text-align: center;
}

.about-slogan-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: white;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .about-slogan-title {
        font-size: 3rem;
    }
}

.about-slogan-title + .about-slogan-title {
    margin-top: 1rem;
}

.about-slogan-desc {
    color: rgba(255, 255, 255, 0.8);
    margin-top: 1.5rem;
    font-size: 1.125rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

/* �����ڲ���ʽ */
.about-badge-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (min-width: 1024px) {
    .about-badge-logo {
        width: 100%;
        height: 100%;
    }
}

.about-badge-text {
    font-size: 10px;
    letter-spacing: 0.1em;
    margin-top: 0.5rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* ͨ�ü���븨���� */
.mr-2 { margin-right: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }

.text-mg-blue { color: var(--mg-blue); }
.text-mg-green { color: var(--mg-green); }

.map-icon-large {
    font-size: 3.75rem;
    margin-bottom: 1rem;
    color: var(--gray-400);
}

/* Tab �л������ʽ */
.tab-pane {
    position: absolute;
    inset: 0;
    transition: opacity 0.5s ease-in-out;
    opacity: 0;
    z-index: 0;
}

.tab-pane.active {
    opacity: 1;
    z-index: 10;
}

.tab-pane-img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}
