/* Reset and Base Styles */
* {
 margin: 0;
 padding: 0;
 box-sizing: border-box;
}

body {
 font-family: 'Arial', sans-serif;
 line-height: 1.6;
 color: #333;
 background-color: #fff;
}

.container {
 max-width: 1200px;
 margin: 0 auto;
 padding: 0 20px;
}

/* Header and Navigation */
.navbar {
 background: #1a365d;
 color: white;
 padding: 1rem 0;
 position: sticky;
 top: 0;
 z-index: 1000;
 box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.nav-container {
 max-width: 1200px;
 margin: 0 auto;
 padding: 0 20px;
 display: flex;
 justify-content: space-between;
 align-items: center;
}

.logo {
 display: flex;
 align-items: center;
 gap: 12px;
}

.logo-img {
 height: 50px;
 width: auto;
 object-fit: contain;
}

.logo-text h1 {
 font-size: 1.8rem;
 font-weight: bold;
 color: #ffd700;
 margin: 0;
}

.logo-text p {
 font-size: 0.9rem;
 color: #e2e8f0;
 margin: 0;
 margin-top: -2px;
}

.nav-menu {
 display: flex;
 list-style: none;
 gap: 2rem;
}

.nav-menu a {
 color: white;
 text-decoration: none;
 font-weight: 500;
 transition: color 0.3s;
}

.nav-menu a:hover {
 color: #ffd700;
}

.dropdown {
 position: relative;
}

.dropdown-menu {
 position: absolute;
 top: 100%;
 left: 0;
 background: #2d3748;
 min-width: 200px;
 list-style: none;
 padding: 0.5rem 0;
 opacity: 0;
 visibility: hidden;
 transition: all 0.3s;
 box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.dropdown:hover .dropdown-menu {
 opacity: 1;
 visibility: visible;
}

.dropdown-menu li {
 padding: 0;
}

.dropdown-menu a {
 display: block;
 padding: 0.5rem 1rem;
 color: white;
 text-decoration: none;
 transition: background 0.3s;
}

.dropdown-menu a:hover {
 background: #4a5568;
 color: #ffd700;
}

/* Hero Section */
.hero {
 background: linear-gradient(135deg, #1a365d 0%, #2d5a87 100%);
 color: white;
 padding: 6rem 2rem;
 position: relative;
 overflow: hidden;
}

.hero::before {
 content: '';
 position: absolute;
 top: 0;
 left: 0;
 right: 0;
 bottom: 0;
 background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
 opacity: 0.3;
}

.hero-content {
 position: relative;
 z-index: 1;
 max-width: 1200px;
 margin: 0 auto;
 display: flex;
 align-items: center;
 gap: 4rem;
}

.hero-text {
 flex: 1;
 text-align: left;
}

.hero-image {
 flex: 1;
 text-align: center;
}

.hero-img {
 max-width: 100%;
 height: auto;
 border-radius: 10px;
 box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.hero h1 {
 font-size: 3rem;
 margin-bottom: 1rem;
 font-weight: bold;
}

.hero h2 {
 font-size: 1.5rem;
 color: #ffd700;
 margin-bottom: 1.5rem;
 font-weight: normal;
}

.hero p {
 font-size: 1.2rem;
 margin-bottom: 2rem;
 line-height: 1.8;
}

.hero-buttons {
 display: flex;
 gap: 1rem;
 justify-content: center;
 flex-wrap: wrap;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-outline {
 display: inline-block;
 padding: 12px 30px;
 text-decoration: none;
 border-radius: 5px;
 font-weight: 600;
 transition: all 0.3s;
 border: 2px solid transparent;
}

.btn-primary {
 background: #ffd700;
 color: #1a365d;
 border-color: #ffd700;
}

.btn-primary:hover {
 background: #ffed4e;
 transform: translateY(-2px);
}

.btn-secondary {
 background: transparent;
 color: white;
 border-color: white;
}

.btn-secondary:hover {
 background: white;
 color: #1a365d;
}

.btn-outline {
 background: transparent;
 color: #1a365d;
 border-color: #1a365d;
}

.btn-outline:hover {
 background: #1a365d;
 color: white;
}

/* Sections */
section {
 padding: 4rem 0;
}

.why-choose {
 background: #f7fafc;
}

.why-choose h2, .products h2, .company-overview h2 {
 text-align: center;
 font-size: 2.5rem;
 margin-bottom: 3rem;
 color: #1a365d;
}

/* Features Grid */
.features-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
 gap: 2rem;
}

.feature {
 background: white;
 padding: 2rem;
 border-radius: 10px;
 text-align: center;
 box-shadow: 0 4px 6px rgba(0,0,0,0.1);
 transition: transform 0.3s;
}

.feature:hover {
 transform: translateY(-5px);
}

.feature h3 {
 font-size: 1.3rem;
 margin-bottom: 1rem;
 color: #1a365d;
}

/* Products Grid */
.products-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
 gap: 2rem;
}

.product-card {
 background: white;
 padding: 2rem;
 border-radius: 10px;
 text-align: center;
 box-shadow: 0 4px 6px rgba(0,0,0,0.1);
 transition: transform 0.3s, box-shadow 0.3s;
 border: 2px solid transparent;
}

.product-card:hover {
 transform: translateY(-5px);
 box-shadow: 0 8px 25px rgba(0,0,0,0.15);
 border-color: #ffd700;
}

.product-image {
 margin-bottom: 1.5rem;
 height: 200px;
 display: flex;
 align-items: center;
 justify-content: center;
 background: #f8f9fa;
 border-radius: 8px;
 overflow: hidden;
}

.product-img {
 max-width: 100%;
 max-height: 100%;
 object-fit: contain;
 transition: transform 0.3s;
}

.product-card:hover .product-img {
 transform: scale(1.05);
}

.product-card h3 {
 font-size: 1.5rem;
 margin-bottom: 1rem;
 color: #1a365d;
}

.product-card p {
 margin-bottom: 1.5rem;
 color: #666;
}

/* Company Overview */
.company-overview {
 background: #1a365d;
 color: white;
}

.company-overview h2 {
 color: white;
}

.overview-content {
 display: grid;
 grid-template-columns: 2fr 1fr;
 gap: 3rem;
 align-items: center;
}

.overview-text p {
 font-size: 1.1rem;
 margin-bottom: 1.5rem;
 line-height: 1.8;
}

.overview-stats {
 display: grid;
 gap: 1.5rem;
}

.stat {
 text-align: center;
 padding: 1.5rem;
 background: rgba(255,255,255,0.1);
 border-radius: 10px;
}

.stat h3 {
 font-size: 2.5rem;
 color: #ffd700;
 margin-bottom: 0.5rem;
}

.stat p {
 font-size: 1rem;
 color: #e2e8f0;
}

/* Contact CTA */
.contact-cta {
 background: #f7fafc;
 text-align: center;
}

.contact-cta h2 {
 font-size: 2.5rem;
 margin-bottom: 1rem;
 color: #1a365d;
}

.contact-cta p {
 font-size: 1.2rem;
 margin-bottom: 2rem;
 color: #666;
}

.contact-info {
 display: flex;
 justify-content: center;
 gap: 2rem;
 margin-bottom: 2rem;
 flex-wrap: wrap;
}

.contact-item {
 background: white;
 padding: 1rem 1.5rem;
 border-radius: 5px;
 box-shadow: 0 2px 4px rgba(0,0,0,0.1);
 font-size: 1rem;
}

.contact-item strong {
 color: #1a365d;
}

/* WhatsApp Fixed Icon Section - Global */
.whatsapp-icon-section {
 background: linear-gradient(135deg, #25d366, #128c7e);
 color: white;
 padding: 1.5rem;
 border-radius: 15px;
 position: fixed;
 right: 20px;
 top: 50%;
 transform: translateY(-50%);
 width: 200px;
 z-index: 1000;
 box-shadow: 0 4px 20px rgba(0,0,0,0.3);
 text-align: center;
}

.whatsapp-icon-section h3 {
 margin-bottom: 1rem;
 font-size: 1.3rem;
 text-align: center;
 font-weight: 600;
}

.whatsapp-icon-section .icon-display {
 display: flex;
 flex-direction: column;
 align-items: center;
 gap: 0.8rem;
}

.whatsapp-icon-section .whatsapp-icon-large {
 width: 80px;
 height: 80px;
 transition: transform 0.3s ease;
 background: rgba(255,255,255,0.1);
}

.whatsapp-icon-section .whatsapp-icon-large:hover {
 transform: scale(1.1);
 background: rgba(255,255,255,0.2);
}

.whatsapp-icon-section .icon-display p {
 font-size: 0.9rem;
 margin: 0;
 opacity: 0.95;
 text-align: center;
 line-height: 1.3;
 font-weight: 500;
}

.whatsapp-icon-section .whatsapp-link {
 display: inline-block;
 background: rgba(255,255,255,0.2);
 color: white;
 padding: 0.5rem 1rem;
 border-radius: 20px;
 text-decoration: none;
 font-size: 0.8rem;
 font-weight: 600;
 margin-top: 0.5rem;
 transition: all 0.3s ease;
}

.whatsapp-icon-section .whatsapp-link:hover {
 background: rgba(255,255,255,0.3);
 transform: translateY(-2px);
}

/* Footer */
footer {
 background: #1a365d;
 color: white;
 padding: 3rem 0 1rem;
}

.footer-content {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
 gap: 2rem;
 margin-bottom: 2rem;
}

.footer-section h3, .footer-section h4 {
 margin-bottom: 1rem;
 color: #ffd700;
}

.footer-section ul {
 list-style: none;
}

.footer-section ul li {
 margin-bottom: 0.5rem;
}

.footer-section a {
 color: #e2e8f0;
 text-decoration: none;
 transition: color 0.3s;
}

.footer-section a:hover {
 color: #ffd700;
}

.footer-bottom {
 border-top: 1px solid #2d3748;
 padding-top: 1rem;
 text-align: center;
 color: #a0aec0;
 font-size: 0.9rem;
}

/* Product Pages Specific Styles */
.product-hero {
 background: linear-gradient(135deg, #1a365d 0%, #2d3748 100%);
 color: white;
 padding: 3rem 0;
 text-align: center;
}

.product-details {
 padding: 4rem 0;
 background: #f8f9fa;
}

.product-overview {
 display: flex;
 align-items: center;
 gap: 3rem;
 margin-bottom: 3rem;
 background: white;
 padding: 3rem;
 border-radius: 10px;
 box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.product-info {
 flex: 1;
}

.product-main-image {
 flex: 1;
 text-align: center;
}

.main-product-img {
 max-width: 100%;
 height: auto;
 max-height: 400px;
 object-fit: contain;
 border-radius: 8px;
 box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.details-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
 gap: 2rem;
 margin-bottom: 3rem;
}

.detail-card {
 background: #f7fafc;
 padding: 2rem;
 border-radius: 10px;
 border-left: 4px solid #ffd700;
}

.detail-card h3 {
 color: #1a365d;
 margin-bottom: 1rem;
}

.detail-card ul {
 list-style-position: inside;
 color: #666;
}

.detail-card ul li {
 margin-bottom: 0.5rem;
}

.specifications-table {
 width: 100%;
 border-collapse: collapse;
 margin: 2rem 0;
 background: white;
 box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.specifications-table th,
.specifications-table td {
 padding: 1rem;
 text-align: left;
 border-bottom: 1px solid #e2e8f0;
}

.specifications-table th {
 background: #1a365d;
 color: white;
 font-weight: 600;
}

.specifications-table tr:hover {
 background: #f7fafc;
}

/* Responsive Design */
@media (max-width: 768px) {
 .nav-container {
 flex-direction: column;
 gap: 1rem;
 }
 
 .logo {
 gap: 8px;
 }
 
 .logo-img {
 height: 40px;
 }
 
 .logo-text h1 {
 font-size: 1.5rem;
 }
 
 .logo-text p {
 font-size: 0.8rem;
 }
 
 .nav-menu {
 flex-direction: column;
 gap: 1rem;
 text-align: center;
 }
 
 .hero {
 padding: 3rem 1rem;
 }
 
 .hero-content {
 flex-direction: column;
 gap: 2rem;
 text-align: center;
 }
 
 .hero-text {
 text-align: center;
 }
 
 .hero h1 {
 font-size: 2rem;
 }
 
 .hero h2 {
 font-size: 1.2rem;
 }
 
 .hero-img {
 max-width: 80%;
 }
 
 .hero-buttons {
 flex-direction: column;
 align-items: center;
 }
 
 .features-grid {
 grid-template-columns: 1fr;
 gap: 2rem;
 }
 
 .products-grid {
 grid-template-columns: 1fr;
 gap: 2rem;
 }
 
 .product-image {
 height: 150px;
 }
 
 .product-overview {
 flex-direction: column;
 gap: 2rem;
 padding: 2rem;
 }
 
 .main-product-img {
 max-height: 250px;
 }
 
 .overview-content {
 grid-template-columns: 1fr;
 text-align: center;
 }
 
 .contact-info {
 flex-direction: column;
 align-items: center;
 }
 
 .footer-content {
 grid-template-columns: 1fr;
 text-align: center;
 gap: 2rem;
 }
 
 /* 手机端隐藏固定的WhatsApp面板 */
 .whatsapp-icon-section {
 display: none;
 }
 
 /* 导航栏手机适配 */
 .nav-container {
 flex-direction: column;
 gap: 1rem;
 }
 
 .nav-links {
 flex-direction: column;
 gap: 0.5rem;
 width: 100%;
 text-align: center;
 }
 
 .nav-links a {
 padding: 0.5rem;
 border-bottom: 1px solid rgba(255,255,255,0.1);
 }
 
 /* 按钮和表单手机适配 */
 .btn-primary, .btn-secondary {
 width: 100%;
 padding: 1rem;
 font-size: 1rem;
 margin: 0.5rem 0;
 }
 
 /* 文字大小调整 */
 h1 {
 font-size: 2rem !important;
 }
 
 h2 {
 font-size: 1.5rem !important;
 }
 
 h3 {
 font-size: 1.3rem !important;
 }
 
 p, li {
 font-size: 1rem;
 line-height: 1.6;
 }
 
 /* 容器和间距调?*/
 .container {
 padding: 0 15px;
 }
 
 section {
 padding: 2rem 0;
 }
 
 /* 表格响应?*/
 table {
 font-size: 0.9rem;
 }
 
 th, td {
 padding: 0.5rem;
 }
 
 /* 图片响应?*/
 img {
 max-width: 100%;
 height: auto;
 }
 
 /* Footer链接手机适配 */
 .footer-section ul {
 display: flex;
 flex-wrap: wrap;
 justify-content: center;
 gap: 1rem;
 }
 
 .footer-section ul li {
 margin: 0;
 }
 
 /* 联系信息手机适配 */
 .contact-item {
 margin: 1rem 0;
 text-align: center;
 }
 
 /* 产品详情页手机适配 */
 .product-specs table {
 display: block;
 overflow-x: auto;
 white-space: nowrap;
 }
}
