 @charset "utf-8";
/* CSS Document */
 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: "Microsoft YaHei", Arial, sans-serif;
        }
        
        body {
            background-color: #f5f5f5;
            color: #333;
            line-height: 1.6;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }
        
        /* 头部样式 */
        header {
            background-color: #fff;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        
        .header-top {
            background-color: #1a3a6c;
            color: white;
            padding: 8px 0;
            font-size: 14px;
        }
        
        .header-top .container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .sos {
            font-weight: bold;
            font-size: 16px;
        }
        
        .qrcode {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .qrcode span {
            font-size: 13px;
        }
        
        nav {
            padding: 15px 0;
        }
        
        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .logo {
            font-size: 24px;
            font-weight: bold;
            color: #1a3a6c;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .logo img {
            height: 40px;
        }
        
        .logo span {
            color: #e63946;
        }
        
        .nav-menu {
            display: flex;
            list-style: none;
            gap: 30px;
        }
        
        .nav-menu a {
            text-decoration: none;
            color: #333;
            font-weight: 500;
            transition: color 0.3s;
            display: flex;
            align-items: center;
            gap: 5px;
        }
        
        .nav-menu a:hover {
            color: #1a3a6c;
        }
        
        /* 横幅样式 */
        .banner {
            background: linear-gradient(135deg, #1a3a6c 0%, #2c5282 100%);
            color: white;
            padding: 80px 0;
            text-align: center;
            margin-bottom: 40px;
            position: relative;
            overflow: hidden;
        }
        
        .banner::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><path d="M0 0L100 100M100 0L0 100" stroke="rgba(255,255,255,0.05)" stroke-width="2"/></svg>');
            opacity: 0.5;
        }
        
        .banner h1 {
            font-size: 42px;
            margin-bottom: 20px;
            text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
            position: relative;
        }
        
        .banner p {
            font-size: 20px;
            max-width: 700px;
            margin: 0 auto 25px;
            position: relative;
        }
        
        .resistor-badge {
            display: inline-block;
            background-color: #e63946;
            color: white;
            padding: 10px 25px;
            border-radius: 30px;
            font-weight: bold;
            margin-top: 10px;
            font-size: 18px;
            letter-spacing: 1px;
            position: relative;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        }
        
        /* 主要内容区域 */
        .main-content {
            padding: 40px 0;
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 40px;
            position: relative;
        }
        
        .section-title h2 {
            font-size: 32px;
            color: #1a3a6c;
            display: inline-block;
            padding-bottom: 10px;
        }
        
        .section-title h2:after {
            content: '';
            position: absolute;
            width: 80px;
            height: 3px;
            background-color: #e63946;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
        }
        
        .about-section {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            margin-bottom: 60px;
        }
        
        .about-text {
            padding-right: 20px;
        }
        
        .about-text h3 {
            color: #1a3a6c;
            margin-bottom: 20px;
            font-size: 22px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .about-text h3 i {
            color: #e63946;
        }
        
        .about-text p {
            margin-bottom: 15px;
            text-align: justify;
        }
        
        .highlight {
            background-color: #e6f2ff;
            padding: 15px;
            border-left: 4px solid #1a3a6c;
            margin: 20px 0;
            border-radius: 0 8px 8px 0;
        }
        
        .component-image {
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: #f8f9fa;
            border-radius: 8px;
            padding: 0px;
            box-shadow: 0 5px 5px rgba(0, 0, 0, 0.05);
            height: 100%;
        }
        
        .component-image img {
            max-width: 100%;
            max-height: 100%;
            border-radius: 4px;
        }
        
        .concept-section {
            background-color: white;
            padding: 40px;
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            margin-bottom: 60px;
        }
        
        .concept-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 25px;
            margin-top: 30px;
        }
        
        .concept-item {
            padding: 20px;
            background-color: #f8f9fa;
            border-radius: 6px;
            transition: transform 0.3s, box-shadow 0.3s;
            border-left: 4px solid #1a3a6c;
        }
        
        .concept-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        }
        
        .concept-item h4 {
            color: #1a3a6c;
            margin-bottom: 10px;
            font-size: 18px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .concept-item h4 i {
            color: #e63946;
        }
        
        /* 产品分类样式 */
        .product-categories {
            margin-bottom: 60px;
        }
        
        .categories-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
        }
        
        .category-item {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            padding: 25px 20px;
            border-radius: 8px;
            text-align: center;
            transition: transform 0.3s, box-shadow 0.3s;
            border-top: 4px solid #1a3a6c;
        }
        
        .category-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        }
        
        .category-item i {
            font-size: 36px;
            color: #1a3a6c;
            margin-bottom: 15px;
        }
        
        .category-item h3 {
            color: #1a3a6c;
            margin-bottom: 10px;
            font-size: 18px;
        }
        
        .category-item p {
            color: #666;
            font-size: 14px;
        }
        
		        /* 产品分类导航 */
        .product-categories-nav {
            background-color: white;
            padding: 20px 0;
            margin-bottom: 40px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        }
        
        .categories-nav {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 10px;
        }
        
        .category-btn {
            background-color: #f8f9fa;
            border: 1px solid #e9ecef;
            padding: 10px 20px;
            border-radius: 30px;
            cursor: pointer;
            transition: all 0.3s;
            font-weight: 500;
        }
        
        .category-btn:hover, .category-btn.active {
            background-color: #1a3a6c;
            color: white;
            border-color: #1a3a6c;
        }
        
    /* 产品展示区域 */
        .products-section {
            padding: 40px 0 80px;
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 40px;
            position: relative;
        }
        
        .section-title h2 {
            font-size: 32px;
            color: #1a3a6c;
            display: inline-block;
            padding-bottom: 10px;
        }
        
        .section-title h2:after {
            content: '';
            position: absolute;
            width: 80px;
            height: 3px;
            background-color: #e63946;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
        }
        
        .products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 30px;
            margin-bottom: 60px;
        }
        
        .product-card {
            background-color: white;
            border-radius: 8px;
            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(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        }
        
        .product-image {
            height: 200px;
            background-color: #e9ecef;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }
        
        .product-image img {
            max-width: 80%;
            max-height: 80%;
            transition: transform 0.5s;
        }
        
        .product-card:hover .product-image img {
            transform: scale(1.05);
        }
        
        .product-badge {
            position: absolute;
            top: 15px;
            right: 15px;
            background-color: #e63946;
            color: white;
            padding: 5px 10px;
            border-radius: 4px;
            font-size: 12px;
            font-weight: bold;
        }
        
        .product-info {
            padding: 20px;
        }
        
        .product-info h3 {
            color: #1a3a6c;
            margin-bottom: 10px;
            font-size: 18px;
            height: 50px;
            overflow: hidden;
        }
        
        .product-info p {
            color: #666;
            margin-bottom: 15px;
            font-size: 14px;
            height: 60px;
            overflow: hidden;
        }
        
        .product-specs {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 15px;
        }
        
        .product-spec {
            background-color: #f8f9fa;
            padding: 5px 10px;
            border-radius: 4px;
            font-size: 12px;
            color: #495057;
        }
        
        .product-actions {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .product-price {
            font-weight: bold;
            color: #e63946;
            font-size: 18px;
        }
        
        .btn {
            display: inline-block;
            background-color: #1a3a6c;
            color: white;
            padding: 8px 15px;
            border: none;
            border-radius: 4px;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            transition: background-color 0.3s;
            text-decoration: none;
        }
        
        .btn:hover {
            background-color: #e63946;
        }
        
        .btn-outline {
            background-color: transparent;
            border: 1px solid #1a3a6c;
            color: #1a3a6c;
        }
        
        .btn-outline:hover {
            background-color: #1a3a6c;
            color: white;
        }
        
        /* 产品特色区域 */
        .features-section {
            background-color: white;
            padding: 60px 0;
            margin-bottom: 60px;
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }
        
        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
        }
        
        .feature-item {
            text-align: center;
            padding: 20px;
        }
        
        .feature-icon {
            width: 70px;
            height: 70px;
            background-color: #e6f2ff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            color: #1a3a6c;
            font-size: 30px;
        }
        
        .feature-item h3 {
            color: #1a3a6c;
            margin-bottom: 15px;
            font-size: 18px;
        }
        
        .feature-item p {
            color: #666;
            font-size: 14px;
        }
        
        /* 页脚样式 */
        footer {
            background-color: #1a3a6c;
            color: white;
            padding: 50px 0 20px;
        }
        
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 30px;
            margin-bottom: 30px;
        }
        
        .footer-column h4 {
            margin-bottom: 20px;
            font-size: 18px;
            position: relative;
            padding-bottom: 10px;
        }
        
        .footer-column h4:after {
            content: '';
            position: absolute;
            width: 40px;
            height: 2px;
            background-color: #e63946;
            bottom: 0;
            left: 0;
        }
        
        .footer-column ul {
            list-style: none;
        }
        
        .footer-column ul li {
            margin-bottom: 10px;
        }
        
        .footer-column ul li a {
            color: #ccc;
            text-decoration: none;
            transition: color 0.3s;
        }
        
        .footer-column ul li a:hover {
            color: white;
        }
        
        .contact-info-footer {
            display: flex;
            align-items: center;
            margin-bottom: 10px;
        }
        
        .contact-info-footer i {
            margin-right: 10px;
            color: #e63946;
        }
        
        .social-links {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }
        
        .social-links a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background-color: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            color: white;
            text-decoration: none;
            transition: background-color 0.3s;
        }
        
        .social-links a:hover {
            background-color: #e63946;
        }
        
        .copyright {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            font-size: 14px;
            color: #aaa;
        }
        
        /* 置顶按钮样式 */
        .back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            background-color: #1a3a6c;
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            cursor: pointer;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            transition: all 0.3s ease;
            opacity: 0;
            visibility: hidden;
            z-index: 999;
        }
        
        .back-to-top.show {
            opacity: 1;
            visibility: visible;
        }
        
        .back-to-top:hover {
            background-color: #e63946;
            transform: translateY(-5px);
        }
        
        /* 响应式设计 */
        @media (max-width: 768px) {
            .about-section {
                grid-template-columns: 1fr;
            }
            
            .nav-menu {
                gap: 15px;
            }
            
            .banner h1 {
                font-size: 32px;
            }
            
            .banner p {
                font-size: 18px;
            }
            
            .categories-grid, .products-grid {
                grid-template-columns: 1fr;
            }
            
            .back-to-top {
                bottom: 20px;
                right: 20px;
                width: 45px;
                height: 45px;
                font-size: 18px;
            }
        }
        
        @media (max-width: 576px) {
            .nav-container {
                flex-direction: column;
                gap: 15px;
            }
            
            .nav-menu {
                flex-wrap: wrap;
                justify-content: center;
            }
            
            .concept-grid {
                grid-template-columns: 1fr;
            }
            
            .banner {
                padding: 60px 0;
            }
            
            .back-to-top {
                bottom: 15px;
                right: 15px;
                width: 40px;
                height: 40px;
                font-size: 16px;
            }
        }
