/* 黑色主题 - Dark Theme */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; line-height: 1.6; color: #e5e5e5; background: #0f0f0f; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* 头部 */
header { background: #1a1a1a; box-shadow: 0 2px 10px rgba(0,0,0,0.3); position: sticky; top: 0; z-index: 100; border-bottom: 1px solid #333; }
header nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
header .container { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.logo { font-size: 24px; font-weight: bold; color: #10b981; }
.logo img { height: 40px; }
.nav-links { display: flex; list-style: none; gap: 25px; position: relative; padding: 0; margin: 0; }
.nav-links > li { list-style: none; }
.nav-links a { font-size: 15px; transition: color 0.3s; color: #e5e5e5; }
.nav-links a:hover, .nav-links a.active { color: #10b981; }
.has-submenu { position: relative; }
.has-submenu > a::after { content: ' ▾'; font-size: 11px; margin-left: 4px; }
.submenu { display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); background: #1a1a1a; box-shadow: 0 4px 20px rgba(0,0,0,0.5); min-width: 140px; border-radius: 8px; padding: 8px 0; z-index: 200; border: 1px solid #333; }
.submenu li { list-style: none; padding: 0; margin: 0; }
.submenu a { display: block; padding: 10px 18px; color: #e5e5e5; font-size: 14px; white-space: nowrap; text-align: center; }
.submenu a:hover { background: #252525; color: #10b981; }
.has-submenu:hover .submenu { display: block; }
.lang-switch { font-size: 13px; color: #e5e5e5; }
.lang-switch a { padding: 5px 10px; border-radius: 3px; }
.lang-switch a:hover { background: #252525; }

/* 移动端 */
@media (max-width: 900px) {
    header nav { flex-direction: column; height: auto; padding: 15px; gap: 10px; }
    .nav-toggle { display: block; width: 30px; height: 24px; cursor: pointer; position: relative; margin-left: auto; }
    .nav-toggle span { display: block; width: 100%; height: 3px; background: #e5e5e5; position: absolute; border-radius: 2px; transition: 0.3s; }
    .nav-toggle span:nth-child(1) { top: 0; }
    .nav-toggle span:nth-child(2) { top: 10px; }
    .nav-toggle span:nth-child(3) { top: 20px; }
    .nav-toggle.active span:nth-child(1) { top: 10px; transform: rotate(45deg); }
    .nav-toggle.active span:nth-child(2) { opacity: 0; }
    .nav-toggle.active span:nth-child(3) { top: 10px; transform: rotate(-45deg); }
    .nav-links { display: none; flex-wrap: wrap; justify-content: center; gap: 15px; font-size: 14px; width: 100%; padding: 10px 0; border-top: 1px solid #333; }
    .nav-links.active { display: flex; flex-direction: column; padding: 15px 0; }
    .banner { display: none; }
    .categories { display: none; }
    .filter-tabs { display: none; }
    .has-submenu { position: relative; }
    .submenu { position: static; transform: none; min-width: 120px; box-shadow: none; display: none; background: transparent; padding: 0; }
    .has-submenu.active .submenu { display: block; }
    header .container { flex-wrap: wrap; }
    .logo { flex: 1; }
    .banner h1 { font-size: 28px; }
    .product-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 15px; }
}

/* Banner */
.banner { position: relative; width: 100%; height: 550px; overflow: hidden; margin: 0; padding: 0; }
.banner .swiper { position: absolute; inset: 0; width: 100%; height: 100%; }
.banner .swiper-wrapper { height: 100%; width: 100%; }
.banner .swiper-slide { background-size: cover; background-position: center center; background-repeat: no-repeat; width: 100%; height: 100%; transition: transform 0.5s ease; }
.banner .swiper-slide:hover { transform: scale(1.02); }
.banner .banner-content { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; text-align: center; padding: 0; margin: 0; }
.banner h1 { font-size: 52px; font-weight: 700; margin-bottom: 15px; text-shadow: 0 2px 20px rgba(0,0,0,0.8); letter-spacing: 2px; }
.banner p { font-size: 22px; margin-bottom: 25px; opacity: 0.95; font-weight: 300; }
.banner .btn { display: inline-block; padding: 14px 45px; background: linear-gradient(135deg, #10b981 0%, #34d399 100%); color: #0f0f0f; border-radius: 30px; font-size: 16px; font-weight: 600; transition: all 0.3s ease; box-shadow: 0 4px 20px rgba(16,185,129,0.3); }
.banner .btn:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(16,185,129,0.5); }
.banner .swiper-button-next, .banner .swiper-button-prev { color: #fff; width: 50px; height: 50px; background: rgba(255,255,255,0.15); border-radius: 50%; backdrop-filter: blur(10px); }
.banner .swiper-button-next:hover, .banner .swiper-button-prev:hover { background: rgba(255,255,255,0.25); }
.banner .swiper-button-next::after, .banner .swiper-button-prev::after { font-size: 20px; font-weight: bold; }
.banner .swiper-pagination { bottom: 30px !important; }
.banner .swiper-pagination .swiper-pagination-bullet { width: 12px; height: 12px; background: rgba(255,255,255,0.5); }
.banner .swiper-pagination .swiper-pagination-bullet-active { width: 30px; border-radius: 6px; background: #10b981; }

@media (max-width: 768px) {
    .banner { height: 400px; }
    .banner h1 { font-size: 32px; }
    .banner p { font-size: 16px; }
    .banner .btn { padding: 12px 30px; font-size: 14px; }
}
.btn { display: inline-block; padding: 12px 40px; background: #10b981; color: #0f0f0f; border-radius: 30px; font-size: 16px; transition: transform 0.3s, background 0.3s; }
.btn:hover { transform: translateY(-2px); background: #059669; }

/* 通用标题 */
h2 { font-size: 32px; text-align: center; margin: 60px 0 30px; color: #e5e5e5; }
h2::after { content: ''; display: block; width: 60px; height: 3px; background: #10b981; margin: 15px auto 0; }

/* 分类 */
.categories { padding: 60px 20px; }
.category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.category-card { background: #1a1a1a; padding: 40px 20px; text-align: center; border-radius: 10px; box-shadow: 0 2px 15px rgba(0,0,0,0.3); transition: transform 0.3s, box-shadow 0.3s; border: 1px solid #333; }
.category-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.5); border-color: #10b981; }
.cat-icon { font-size: 48px; display: block; margin-bottom: 15px; }
.category-card h3 { font-size: 18px; color: #e5e5e5; }

/* 产品列表 */
.products { padding: 40px 20px; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 30px; }
.product-card { background: #1a1a1a; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 15px rgba(0,0,0,0.3); transition: transform 0.3s; border: 1px solid #333; }
.product-card:hover { transform: translateY(-5px); border-color: #10b981; }
.product-card img { width: 100%; height: 250px; object-fit: cover; }
.product-card { padding: 20px; }
.product-card h3 { font-size: 16px; margin: 10px 0; color: #e5e5e5; }
.price { color: #10b981; font-size: 18px; font-weight: bold; }

/* 关于我们 */
.about-section { background: #1a1a1a; padding: 60px 20px; margin-top: 40px; border-top: 1px solid #333; }
.about-content { max-width: 800px; margin: 0 auto; text-align: center; color: #e5e5e5; }

/* 页脚 */
footer { background: #050505; color: #666; padding: 40px 20px; text-align: center; border-top: 1px solid #333; }
footer p { margin: 5px 0; }

/* 响应式 */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .banner h1 { font-size: 32px; }
    h2 { font-size: 24px; }
}