/* ============================================
   ScreenLittleGirl优化CSS - 精简版本
   基于原style.css优化
   ============================================ */

/* 全局样式重置和基础设置 */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'PingFang SC','Helvetica Neue',Arial,'Microsoft YaHei',sans-serif; font-size: 14px; line-height: 1.6; color: #333; background: #fff; min-height: 100vh; display: flex; flex-direction: column; }

/* 容器 */
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; width: 100%; }
.container-fluid { width: 100%; padding: 0 15px; }

/* 顶部信息栏 */
.top-info-bar { background: #2c3e50; color: #fff; padding: 8px 0; font-size: 13px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.top-info-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.top-contact-info { display: flex; align-items: center; gap: 20px; }
.top-contact-info span { display: flex; align-items: center; gap: 8px; }
.top-contact-info i { font-size: 12px; color: #3498db; }
.top-contact-info a { color: #fff; text-decoration: none; transition: color 0.3s; }
.top-contact-info a:hover { color: #3498db; }
.top-right-actions { display: flex; align-items: center; gap: 15px; }
.language-switcher { display: flex; align-items: center; gap: 5px; }
.language-switcher a { color: #bdc3c7; text-decoration: none; font-size: 12px; padding: 2px 5px; border-radius: 3px; }
.language-switcher a:hover { color: #3498db; background: rgba(255,255,255,0.1); }
.language-switcher a.active { color: #3498db; background: rgba(255,255,255,0.1); }
.login-btn { background: transparent; border: 1px solid rgba(255,255,255,0.3); color: #fff; padding: 5px 12px; border-radius: 3px; font-size: 12px; cursor: pointer; transition: all 0.3s; }
.login-btn:hover { background: rgba(255,255,255,0.1); border-color: #3498db; }

/* 导航栏 */
.main-header { background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 1000; }
.main-header .container { display: flex; justify-content: space-between; align-items: center; padding: 15px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 40px; width: auto; }
.logo-text { display: flex; flex-direction: column; }
.logo-main { font-size: 24px; font-weight: 700; color: #2c3e50; }
.logo-subtitle { font-size: 12px; color: #7f8c8d; margin-top: -3px; }

/* 主导航 */
.main-nav { display: flex; align-items: center; gap: 30px; }
.nav-links { display: flex; align-items: center; gap: 15px; list-style: none; }
.nav-links a { color: #2c3e50; text-decoration: none; font-size: 14px; padding: 12px 15px; font-weight: 500; transition: color 0.3s; border-radius: 5px; }
.nav-links a:hover { color: #3498db; background: rgba(52,152,219,0.1); }
.nav-links a.active { color: #3498db; background: rgba(52,152,219,0.1); }
.nav-actions { display: flex; align-items: center; gap: 15px; }
.search-box { position: relative; }
.search-box input { width: 200px; padding: 8px 15px 8px 35px; border: 1px solid #ddd; border-radius: 20px; font-size: 13px; transition: border 0.3s; }
.search-box input:focus { outline: none; border-color: #3498db; }
.search-box i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #95a5a6; }
.cart-icon { position: relative; color: #2c3e50; font-size: 18px; text-decoration: none; }
.cart-count { position: absolute; top: -8px; right: -8px; background: #e74c3c; color: #fff; font-size: 10px; min-width: 16px; height: 16px; border-radius: 8px; display: flex; align-items: center; justify-content: center; }

/* 移动菜单按钮 */
.mobile-menu-btn { display: none; background: none; border: none; font-size: 24px; color: #2c3e50; cursor: pointer; padding: 5px; }

/* 英雄区域 */
.hero-section { background: linear-gradient(135deg, #3498db 0%, #2c3e50 100%); color: #fff; padding: 80px 0; position: relative; overflow: hidden; }
.hero-section .container { position: relative; z-index: 2; }
.hero-content { max-width: 600px; }
.hero-title { font-size: 48px; font-weight: 700; line-height: 1.2; margin-bottom: 20px; }
.hero-subtitle { font-size: 18px; line-height: 1.6; margin-bottom: 30px; opacity: 0.9; }
.hero-buttons { display: flex; gap: 15px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 30px; font-size: 16px; font-weight: 600; text-decoration: none; border-radius: 5px; border: none; cursor: pointer; transition: all 0.3s; min-height: 44px; }
.btn-primary { background: #fff; color: #3498db; }
.btn-primary:hover { background: #f8f9fa; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.btn-secondary { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-secondary:hover { background: #fff; color: #3498db; transform: translateY(-2px); }

/* 产品展示 */
.featured-products { padding: 80px 0; background: #f8f9fa; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-title { font-size: 32px; font-weight: 700; color: #2c3e50; margin-bottom: 15px; }
.section-subtitle { font-size: 16px; color: #7f8c8d; max-width: 600px; margin: 0 auto; }

/* 产品网格 */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px; }
.product-card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: transform 0.3s, box-shadow 0.3s; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.product-image { position: relative; height: 200px; overflow: hidden; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.product-card:hover .product-image img { transform: scale(1.05); }
.product-badge { position: absolute; top: 10px; right: 10px; background: #e74c3c; color: #fff; padding: 5px 10px; border-radius: 3px; font-size: 12px; font-weight: 600; }
.product-info { padding: 20px; }
.product-title { font-size: 18px; font-weight: 600; color: #2c3e50; margin-bottom: 10px; }
.product-sku { font-size: 12px; color: #95a5a6; margin-bottom: 10px; }
.product-price { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; }
.current-price { font-size: 20px; font-weight: 700; color: #2c3e50; }
.original-price { font-size: 16px; color: #95a5a6; text-decoration: line-through; }
.product-actions { display: flex; gap: 10px; }
.btn-outline { background: transparent; border: 1px solid #3498db; color: #3498db; padding: 8px 15px; font-size: 14px; border-radius: 5px; }
.btn-outline:hover { background: #3498db; color: #fff; }

/* 服务优势 */
.service-advantages { padding: 80px 0; background: #fff; }
.advantages-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.advantage-card { text-align: center; padding: 30px; }
.advantage-icon { font-size: 40px; color: #3498db; margin-bottom: 20px; }
.advantage-title { font-size: 20px; font-weight: 600; color: #2c3e50; margin-bottom: 15px; }
.advantage-desc { color: #7f8c8d; line-height: 1.6; }

/* 页脚 */
.main-footer { background: #2c3e50; color: #fff; padding: 60px 0 30px; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-column h3 { font-size: 18px; font-weight: 600; margin-bottom: 20px; color: #fff; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #bdc3c7; text-decoration: none; transition: color 0.3s; }
.footer-links a:hover { color: #3498db; }
.footer-bottom { padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; color: #bdc3c7; font-size: 13px; }

/* 响应式设计 */
@media (max-width: 768px) {
    .mobile-menu-btn { display: block; }
    .main-nav { display: none; }
    .main-nav.active { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 20px; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
    .nav-links { flex-direction: column; gap: 0; width: 100%; }
    .nav-links a { display: block; width: 100%; padding: 12px 15px; border-bottom: 1px solid #f0f0f0; }
    .nav-actions { flex-direction: column; width: 100%; gap: 10px; margin-top: 15px; }
    .search-box input { width: 100%; }
    .hero-title { font-size: 32px; }
    .hero-subtitle { font-size: 16px; }
    .products-grid { grid-template-columns: 1fr; }
    .container { padding: 0 10px; }
    .btn { min-height: 44px; min-width: 44px; padding: 12px 20px; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); }
}

/* 打印样式 */
@media print {
    .top-info-bar, .main-header, .main-footer, .btn { display: none; }
    body { color: #000; }
}