/* CSS Variables */
:root {
    --primary-color: #007bff;
    --primary-hover: #0069d9;
    --secondary-color: #6c757d;
    --secondary-hover: #5a6268;
    --text-color: #333;
    --text-light: #666;
    --bg-color: #f9f9f9;
    --bg-white: #fff;
    --border-radius: 8px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --section-padding: 80px 0;
    --section-padding-sm: 60px 0;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background-color: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    max-height: 50px;
}

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

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

.nav-item {
    position: relative;
    margin-left: 20px;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition);
    display: block;
    padding: 6px 0;
    font-size: 14px;
}

/* Language Menu Adjustment */
.nav-item:last-child {
    margin-left: 15px;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

/* Dropdown Menu */
.dropdown-menu, .sub-dropdown-menu {
    background-color: var(--bg-white);
    box-shadow: var(--box-shadow);
    border-radius: 4px;
    padding: 10px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    transform: translateY(10px);
}

.sub-dropdown-menu {
    position: absolute;
    top: 0;
    left: 100%;
    transform: translateX(-10px);
    z-index: 1001;
}

.dropdown-menu li {
    list-style: none;
    position: relative;
}

.dropdown-menu a, .sub-dropdown-menu a {
    display: block;
    padding: 8px 20px;
    color: var(--text-color);
    text-decoration: none;
    transition: background-color var(--transition);
}

.dropdown-menu a:hover, .sub-dropdown-menu a:hover {
    background-color: #f5f5f5;
    color: var(--primary-color);
}

.dropdown-menu li:hover .sub-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: #fff;
}

.btn-secondary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
}

.btn-link {
    color: var(--primary-color);
    background: none;
    padding: 0;
    text-decoration: underline;
}

.btn-link:hover {
    color: #0056b3;
    text-decoration: none;
}

/* Hero Section */
.hero {
    position: relative;
    overflow: hidden;
    height: 600px;
    width: 1440px;
    max-width: 100%;
    margin: 0 auto;
}

.hero-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.slider-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.slider-item.active {
    opacity: 1;
}

.slider-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 1440px) {
    .hero {
        width: min(100%, 1920px); /* 假设轮播图的实际宽度为1920px */
        height: calc(600px * (min(100vw, 1920px) / 1440));
    }
}

@media (max-width: 768px) {
    .hero {
        width: 100%;
        height: 400px;
    }
}

/* Slider Controls & Indicators */
.slider-controls, .slider-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.slider-dot, .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot:hover, .indicator:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.slider-dot.active, .indicator.active {
    background-color: #fff;
    width: 30px;
    border-radius: 6px;
}

.slider-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 10;
}

.slider-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.slider-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Features Section */
.features {
    padding: var(--section-padding);
    background-color: var(--bg-white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

.features-grid, .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-item {
    background-color: var(--bg-color);
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.feature-item p {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Products Section */
.products {
    padding: var(--section-padding);
    background-color: var(--bg-color);
}

.product-item {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.product-item:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.product-info p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.product-actions {
    display: flex;
    gap: 10px;
}

/* Solutions Section */
.solutions {
    padding: var(--section-padding);
    background-color: var(--bg-white);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 30px;
}

/* Common Features Section */
.common-features {
    padding: var(--section-padding);
    background-color: var(--bg-white);
}

.common-features .section-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px 0;
}

.common-features .section-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.common-features .section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    margin-bottom: 10px;
}

.features-content {
    max-width: 1000px;
    margin: 0 auto;
}

.feature-section {
    background-color: var(--bg-color);
    padding: 30px;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
    transition: var(--transition);
}

.feature-section:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.feature-section h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

.feature-section p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.feature-section ul {
    list-style: none;
    padding-left: 0;
}

.feature-section ul li {
    color: var(--text-light);
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.feature-section ul li:before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 0;
}

/* Feature Images */
.feature-image {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    margin-top: 20px;
    box-shadow: var(--box-shadow);
}

.solution-item {
    display: flex;
	flex-direction:column; 
	gap:5px;
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.solution-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.solution-image {
    flex: 1;
    min-width: 200px;
}

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

.solution-info {
    flex: 1;
    padding: 30px;
}

.solution-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.solution-info p {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Call to Action */
.cta {
    padding: var(--section-padding);
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background-color: #333;
    color: #fff;
    padding: 20px 0 15px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
}

.footer-column h3 {
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: #fff;
}

.footer-column p {
    color: #ccc;
    margin-bottom: 10px;
    font-size: 0.8rem;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 36px;
    height: 36px;
    background-color: #444;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color var(--transition);
}

.social-link:hover {
    background-color: var(--primary-color);
}

.footer-links {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.footer-links li {
    margin-bottom: 6px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color var(--transition);
    font-size: 0.8rem;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-contact li {
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    font-size: 0.8rem;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--primary-color);
}

.footer-email {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition);
}

.footer-email:hover {
    color: #0056b3;
    text-decoration: underline;
}

.follow-us-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-link.facebook {
    background-color: #3b5998;
}

.social-link.facebook:hover {
    background-color: #2d4373;
}

.copyright {
    margin-top: 10px;
    font-size: 0.75rem;
    color: #ccc;
}

/* Breadcrumb */
.breadcrumb {
    background-color: #f5f5f5;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
}

.breadcrumb-content {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.breadcrumb-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition);
}

.breadcrumb-content a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Content Sections */
.about,
.contact,
.tech-advantage,
.data-center,
.intelligent-building,
.software,
.documentation,
.terms-of-service,
.refund-policy,
.privacy-policy,
.shipping-policy {
    padding: var(--section-padding-sm);
    background-color: var(--bg-white);
}

.about-content,
.contact-content,
.tech-advantage-content,
.data-center-content,
.intelligent-building-content,
.software-content,
.documentation-content,
.terms-content,
.refund-content,
.privacy-content,
.shipping-content {
    max-width: 1000px;
    margin: 0 auto;
}

/* Images */
.about-image,
.tech-advantage-image,
.data-center-image,
.intelligent-building-image {
    width: 100%;
    max-width: 1000px;
    height: auto;
    margin: 30px 0;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.tech-advantage-image {
    max-width: 800px;
}

/* Info Boxes */
.contact-info,
.software-item,
.documentation-links,
.video-instructions,
.product-docs {
    margin: 30px 0;
    padding: 20px;
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Headings */
.about-content h4,
.contact-info h4,
.tech-advantage-content h4,
.software-item h4,
.video-instructions h4,
.product-docs h4 {
    font-size: 1.2rem;
    color: #3F5676;
    margin: 30px 0 15px;
    font-weight: 600;
}

.tech-advantage-content h4 {
    text-align: center;
}

.terms-content h3,
.refund-content h3,
.privacy-content h3 {
    font-size: 1.4rem;
    color: #3F5676;
    margin: 30px 0 15px;
    font-weight: 600;
}

/* Paragraphs */
.about-content p,
.contact-info p,
.tech-advantage-content p,
.data-center-content p,
.intelligent-building-content p,
.software-description p,
.terms-content p,
.refund-content p,
.privacy-content p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: var(--text-color);
}

.software-description {
    line-height: 1.8;
    color: var(--text-color);
}

.software-description p {
    margin-bottom: 10px;
}

/* Links */
.contact-info a,
.data-center-table a,
.documentation-links a,
.video-links a,
.product-table a,
.certificate-note a,
.terms-content a,
.refund-content a,
.privacy-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition);
}

.contact-info a:hover,
.data-center-table a:hover,
.documentation-links a:hover,
.video-links a:hover,
.product-table a:hover,
.certificate-note a:hover,
.terms-content a:hover,
.refund-content a:hover,
.privacy-content a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Tables */
.data-center-table,
.product-table {
    margin: 30px 0;
    overflow-x: auto;
}

.data-center-table table,
.product-table table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.data-center-table th,
.data-center-table td,
.product-table th,
.product-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.data-center-table th,
.product-table th {
    background-color: #f5f5f5;
    font-weight: 600;
    color: var(--text-color);
}

.data-center-table tr:hover,
.product-table tr:hover {
    background-color: var(--bg-color);
}

/* Lists */
.software-description ul,
.terms-content ul,
.refund-content ul,
.privacy-content ul {
    list-style-type: disc;
    padding-left: 40px;
    margin: 15px 0;
}

.terms-content ol,
.refund-content ol,
.privacy-content ol {
    margin: 15px 0;
    padding-left: 40px;
    list-style-type: decimal;
}

.software-description li,
.terms-content li,
.refund-content li,
.privacy-content li {
    margin-bottom: 8px;
    line-height: 1.6;
    color: var(--text-color);
}

/* Video Links */
.video-links {
    line-height: 2.5;
}

/* Certificate Note */
.certificate-note {
    text-align: right;
    font-size: 0.9rem;
    color: #3F5676;
    margin-top: 15px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .slider-content h1 {
        font-size: 2.5rem;
    }
    
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    
    .solution-item {
        flex-direction: column;
    }
    
    .solution-image {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 60px;
        left: -100%;
        flex-direction: column;
        background-color: var(--bg-white);
        width: 100%;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        transition: left var(--transition);
        padding: 15px;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        margin: 0;
        margin-bottom: 8px;
    }
    
    .nav-item:last-child {
        margin-bottom: 0;
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        padding: 0;
        margin-left: 15px;
        margin-top: 8px;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
    }
    
    .nav-item:hover .dropdown-menu {
        display: block;
    }
    
    .sub-dropdown-menu {
        position: static;
        box-shadow: none;
        padding: 0;
        margin-left: 15px;
        margin-top: 8px;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
    }
    
    .dropdown-menu li:hover .sub-dropdown-menu {
        display: block;
    }
    
    .hero {
        height: 300px;
    }
    
    .logo img {
        max-height: 40px;
    }
    
    .nav-link {
        padding: 6px 0;
    }
    
    .btn {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .nav-item .btn {
        width: 100%;
        text-align: center;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .header-content {
        padding: 15px 0;
    }
    
    .logo img {
        max-height: 40px;
    }
    
    .hero {
        height: 400px;
    }
    
    .slider-content h1 {
        font-size: 1.5rem;
    }
    
    .feature-item,
    .product-item {
        padding: 20px;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 200px;
        text-align: center;
    }
}