/* 全局与头部样式重置，确保清晰的白底深色文字效果 */
body {
    margin: 0;
    font-family: system-ui, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    background-color: #fff;
}

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

/* 头部区域：纯白背景，清晰阴影 */
header {
    background-color: #ffffff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

/* Logo 样式：深色文字，清晰可见 */
.logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;  /* 深蓝黑，非常清晰 */
    letter-spacing: 0.5px;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

/* 导航列表 */
nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

nav ul li {
    position: relative;
    margin-left: 28px;
}

/* 导航链接及下拉按钮基础样式：深色文字，清晰 */
nav ul li a,
.dropdown-toggle {
    text-decoration: none;
    color: #1e293b;  /* 深灰色，保证可读性 */
    font-size: 16px;
    font-weight: 500;
    padding: 10px 0;
    transition: color 0.2s ease;
    white-space: nowrap;
    background: none;
    border: none;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
}

nav ul li a:hover,
.dropdown-toggle:hover {
    color: #2563eb;  /* 悬停时变为蓝色 */
}

/* 下拉菜单指示箭头 */
.dropdown-toggle:after {
    content: '';
    display: inline-block;
    margin-left: 6px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #1e293b;
    transition: transform 0.2s, border-top-color 0.2s;
}

.dropdown-toggle:hover:after {
    border-top-color: #2563eb;
}

/* 下拉菜单容器 */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffffff;
    min-width: 185px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
    border-radius: 12px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    z-index: 200;
    margin-top: 8px;
    border: 1px solid rgba(0,0,0,0.04);
    text-align: center;
}

/* 下拉菜单链接：深色文字，清晰 */
.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: #1e293b;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
    margin: 0;
    border-bottom: 1px solid #f1f5f9;
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background-color: #f0f4ff;
    color: #2563eb;
}

/* 显示下拉菜单 */
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 4px;
}

/* 移动端适配 */
@media (max-width: 850px) {
    .header-content {
        flex-wrap: wrap;
        height: auto;
        padding: 15px 0;
    }
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    nav ul li {
        margin: 5px 14px;
    }
    .dropdown-menu {
        left: 0;
        transform: none;
        min-width: 170px;
    }
}

/* 其余区域样式保持原设计感 */
.hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: white;
    padding: 70px 0;
    text-align: center;
}
.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    font-weight: 700;
}
.hero p {
    font-size: 1.3rem;
    opacity: 0.92;
    max-width: 700px;
    margin: 0 auto 30px;
}
.cta-button {
    background: #f59e0b;
    color: #1e293b;
    padding: 14px 40px;
    border-radius: 40px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    font-size: 1.1rem;
    transition: 0.2s;
    box-shadow: 0 6px 14px rgba(245, 158, 11, 0.4);
}
.cta-button:hover {
    background: #fbbf24;
}
.section {
    padding: 70px 0;
}
.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: #0f172a;
    font-weight: 700;
}
.content-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
}
.card {
    background: white;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
    overflow: hidden;
    width: 330px;
    transition: transform 0.2s;
    border: 1px solid #f1f5f9;
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 30px rgba(0,0,0,0.08);
}
.card-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.card-content {
    padding: 20px;
}
.card-content h3 {
    margin-top: 0;
    color: #1e3a8a;
    font-weight: 700;
}
.product-features {
    display: flex;
    justify-content: center;
    gap: 35px;
    margin-top: 50px;
    flex-wrap: wrap;
}
.feature {
    text-align: center;
    max-width: 200px;
}
.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}
.contact-info {
    text-align: center;
    font-size: 1.2rem;
    background: #f8fafc;
    padding: 35px;
    border-radius: 24px;
    max-width: 700px;
    margin: 0 auto;
    color: #1e293b;
}
.contact-info a {
    color: #2563eb;
    font-weight: 700;
    text-decoration: none;
}
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}
.social-link {
    background: #e2e8f0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    color: #1e293b;
    font-weight: 700;
}
footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 35px 0;
    text-align: center;
}
.footer-links a {
    color: #cbd5e1;
    margin: 0 15px;
    text-decoration: none;
    font-weight: 500;
}
.footer-links a:hover {
    color: white;
}
.copyright {
    margin-top: 18px;
    font-size: 0.9rem;
}

.product-description {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px;
    font-size: 18px;
    color: #334155;
}

.contact-description {
    margin-top: 20px;
    font-size: 18px;
}
