/* 产品系列页面样式 */

/* 隐藏浏览器扩展错误 */
[data-v-12345678],
[data-v-12345678] *,
[data-v-12345678] *::before,
[data-v-12345678] *::after {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* 隐藏其他可能的扩展错误 */
.__vuesax {
    display: none !important;
}

/* 隐藏扩展注入的元素 */
[role="dialog"] {
    display: none !important;
}

/* 隐藏扩展的弹窗 */
#select-words-content,
#select-words-content *,
#select-words-content *::before,
#select-words-content *::after {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* 隐藏扩展的提示框 */
[role="tooltip"] {
    display: none !important;
}

/* 系列卡片 */
.series-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.series-card:hover {
    transform: translateY(-5px);
}

.card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 15px;
    transition: all 0.3s ease;
    transform: translateY(100%);
}

.series-card:hover .overlay-content {
    transform: translateY(0);
}

.series-card h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.series-card p {
    margin: 5px 0 0;
    font-size: 0.9rem;
}

/* 系列网格 */
.series-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

/* 产品特性 */
.product-features {
    padding: 4rem 0;
    background: #f9f9f9;
}

.product-features .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.feature-description {
    color: #666;
    line-height: 1.6;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .series-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        padding: 1.5rem;
    }
}

/* 联系表单 */
.contact-form {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.form-submit {
    width: 100%;
    padding: 1rem;
    background: #2c3e50;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.form-submit:hover {
    background: #34495e;
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.series-card {
    animation: fadeIn 0.5s ease-out forwards;
}

.feature-card {
    animation: fadeIn 0.5s ease-out forwards;
}

/* 语言选择器 */
.language-selector {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1000;
}

.language-selector select {
    padding: 0.5rem;
    border-radius: 4px;
    border: 1px solid #ddd;
    font-size: 0.9rem;
    cursor: pointer;
}

/* 导航栏 */
.main-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.navbar-left {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-menu li a {
    text-decoration: none;
    color: #333;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu li a:hover {
    color: #2c3e50;
}

/* 移动导航 */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.mobile-nav li {
    width: 100%;
}

.mobile-nav li a {
    display: block;
    padding: 1rem;
    text-align: center;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.mobile-nav li a:hover {
    background: #f5f5f5;
}

/* 响应式导航 */
@media (max-width: 768px) {
    .main-navbar {
        padding: 1rem;
    }

    .nav-menu {
        display: none;
    }

    .mobile-nav {
        display: none;
    }

    .mobile-nav.active {
        display: flex;
    }
}

/* 导航栏样式 */
.main-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: #2c3e50;
}

.navbar-left {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-menu li a {
    text-decoration: none;
    color: white;
    font-size: 1.2rem;
    font-weight: 500;
    padding: 0.8rem 1.5rem;
    transition: color 0.3s ease;
}

.nav-menu li a:hover {
    color: #25D366;
}

/* 下拉菜单 */
.has-dropdown {
    position: relative;
}

.has-dropdown a {
    cursor: pointer;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: #25D366;
    min-width: 250px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 9999;
    right: 0;
    padding: 1rem;
    margin-top: 0.5rem;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 1rem;
    border-width: 8px 8px 0 8px;
    border-style: solid;
    border-color: #25D366 transparent transparent transparent;
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    color: white;
    padding: 1rem;
    text-decoration: none;
    display: block;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.dropdown-menu a:hover {
    background-color: #1a8c47;
    color: white;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.has-dropdown:hover .dropdown-menu {
    display: block;
}

/* 添加下拉箭头 */
.has-dropdown::after {
    content: '▼';
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.has-dropdown:hover::after {
    transform: rotate(180deg);
}

/* 隐藏浏览器扩展错误消息 */
#_chrome_1433439433 {
    display: none !important;
}

#_chrome_1433439433 ~ div {
    display: none !important;
}

#_chrome_1433439433 ~ * {
    display: none !important;
}

#_chrome_1433439433 ~ * ~ * {
    display: none !important;
}

#_chrome_1433439433 ~ * ~ * ~ * {
    display: none !important;
}

/* 隐藏lodash相关错误 */
#lodash-CTh9qzyE {
    display: none !important;
}

#lodash-CTh9qzyE ~ * {
    display: none !important;
}

/* 移动设备下拉菜单 */
.mobile-nav .dropdown-menu {
    display: none;
    position: static;
    background: white;
    box-shadow: none;
    padding: 0;
    border-radius: 0;
    margin: 0;
    width: 100%;
    z-index: 9999;
}

.mobile-nav .dropdown-menu::before {
    display: none;
}

.mobile-nav .dropdown-menu li {
    margin: 0;
}

.mobile-nav .dropdown-menu a {
    color: #2c3e50;
    padding: 1rem;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.mobile-nav .dropdown-menu a:hover {
    background-color: #f8f9fa;
    color: #25D366;
    border-radius: 0;
    box-shadow: none;
}

/* 添加下拉箭头 */
.mobile-nav .has-dropdown::after {
    content: '▼';
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.mobile-nav .has-dropdown:hover::after {
    transform: rotate(180deg);
}

.mobile-nav .dropdown-menu a {
    color: #333;
    padding: 1rem;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.mobile-nav .dropdown-menu a:hover {
    color: #25D366;
    text-shadow: 0 1px 1px rgba(0,0,0,0.1);
}

/* 移动设备下拉菜单 */
.mobile-nav .dropdown-menu {
    display: none;
    position: static;
    background: white;
    box-shadow: none;
    padding: 0;
    border-radius: 0;
    margin: 0;
    width: 100%;
}

.mobile-nav .dropdown-menu::before {
    display: none;
}

.mobile-nav .dropdown-menu li {
    margin: 0;
}

.mobile-nav .dropdown-menu a {
    padding: 1rem;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.mobile-nav .dropdown-menu a:hover {
    background-color: #f8f9fa;
    color: #25D366;
    border-radius: 0;
    box-shadow: none;
}

.has-dropdown:hover .dropdown-menu {
    display: block;
}

/* 移动导航 */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px;
    transition: 0.3s;
}

.hamburger.open div:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open div:nth-child(2) {
    opacity: 0;
}

.hamburger.open div:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* 移动导航遮罩层 */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        display: none;
    }

    .mobile-nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: white;
        flex-direction: column;
        align-items: center;
        padding: 2rem;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .mobile-nav.active {
        display: flex;
    }

    .mobile-nav ul {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .mobile-nav li {
        width: 100%;
    }

    .mobile-nav li a {
        display: block;
        padding: 1rem;
        text-align: center;
        border-radius: 4px;
        transition: background 0.3s ease;
    }

    .mobile-nav li a:hover {
        background: #f5f5f5;
    }

    .mobile-nav .dropdown-menu {
        display: none;
        position: static;
        background: #f9f9f9;
        box-shadow: none;
        padding: 0;
    }

    .mobile-nav .dropdown-menu a {
        color: #333;
    }

    .mobile-nav .dropdown-menu a:hover {
        background-color: #f5f5f5;
        color: #333;
    }

    .mobile-nav .dropdown-menu.active {
        display: block;
    }
}
