/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

html {
    scroll-behavior: smooth;
}

/* ===== HEADER & NAVIGATION ===== */
header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: #f8f9fa;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
    font-size: 14px;
}

.header-top-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top-left {
    display: flex;
    gap: 30px;
}

.header-top-right {
    display: flex;
    gap: 20px;
    align-items: center;
}

.header-top a {
    color: #666;
    text-decoration: none;
}

.header-top a:hover {
    color: #e74c3c;
}

.language-select {
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
    cursor: pointer;
    background: white;
    font-size: 14px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #e74c3c;
    text-decoration: none;
    transition: all 0.3s;
}

.logo:hover {
    transform: scale(1.05);
}

.logo span {
    color: #333;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 10px;
}

nav > ul > li {
    position: relative;
}

nav a {
    display: block;
    padding: 8px 15px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

nav > ul > li > a:hover {
    color: #e74c3c;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: fixed;
    background: white;
    border: 1px solid #ddd;
    border-top: 3px solid #e74c3c;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    min-width: 250px;
    z-index: 999;
    max-height: 70vh;
    overflow-y: auto;
}

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

.dropdown-menu a {
    padding: 12px 20px;
    border-bottom: 1px solid #f0f0f0;
    display: block;
}

.dropdown-menu a:hover {
    background: #f8f9fa;
    color: #e74c3c;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

/* 菜单滚动条样式 */
.dropdown-menu::-webkit-scrollbar {
    width: 8px;
}

.dropdown-menu::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.dropdown-menu::-webkit-scrollbar-thumb {
    background: #e74c3c;
    border-radius: 4px;
}

.dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: #c0392b;
}

.header-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn-quote {
    background: #e74c3c;
    color: white;
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-quote:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

/* ===== BUTTONS ===== */
.btn-primary {
    background: #e74c3c;
    color: white;
    padding: 14px 35px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    border: 2px solid #e74c3c;
    cursor: pointer;
    display: inline-block;
}

.btn-primary:hover {
    background: #c0392b;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(231, 76, 60, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 14px 35px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    border: 2px solid white;
    display: inline-block;
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
    transform: translateY(-3px);
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(50%, -50%);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

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

/* ===== COMPANY INTRO SECTION ===== */
.company-intro {
    padding: 80px 20px;
    background: white;
}

.company-intro-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: start;
}

.company-intro-text h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 3px solid #e74c3c;
    padding-bottom: 10px;
}

.company-intro-text h3 {
    font-size: 20px;
    margin: 25px 0 15px;
    color: #333;
}

.company-intro-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.product-list-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 15px 0 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #e74c3c;
}

.product-list-grid span {
    color: #666;
    font-size: 14px;
}

.product-list-grid span::before {
    content: '';
}

.company-intro-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.intro-stat {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s;
}

.intro-stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.stat-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.stat-value {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 13px;
    opacity: 0.9;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .company-intro-content {
        grid-template-columns: 1fr;
    }
    
    .product-list-grid {
        grid-template-columns: 1fr;
    }
    
    .company-intro-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #333;
    position: relative;
}

.section-title::after {
    content: '';
    width: 80px;
    height: 4px;
    background: #e74c3c;
    display: block;
    margin: 20px auto 0;
}

.products-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.product-card-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: #f0f0f0;
}

.product-card-image:not([style*="background-image"]) {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    padding: 20px;
}

.product-card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card h3 {
    margin-bottom: 10px;
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

.product-card p {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.5;
    flex: 1;
}

.product-card a {
    color: #e74c3c;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    align-self: flex-start;
}

.product-card a:hover {
    color: #c0392b;
    margin-left: 5px;
}

/* ===== APPLICATIONS SECTION ===== */
.applications {
    padding: 80px 20px;
}

.applications-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.app-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    border-left: 4px solid #e74c3c;
    transition: all 0.3s;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.app-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.app-card-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.app-card h3 {
    margin-bottom: 15px;
    color: #333;
}

.app-card p {
    color: #666;
    margin-bottom: 15px;
}

.app-card a {
    color: #e74c3c;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
}

.app-card a:hover {
    color: #c0392b;
    margin-left: 5px;
}

/* ===== WHY US SECTION ===== */
.why-us {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 20px;
}

.why-us-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.why-us-text h2 {
    font-size: 36px;
    margin-bottom: 30px;
}

.why-us-list {
    list-style: none;
}

.why-us-list li {
    padding: 15px 0;
    padding-left: 40px;
    position: relative;
    font-size: 16px;
    line-height: 1.6;
}

.why-us-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    font-size: 24px;
    color: #f39c12;
}

.why-us-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.stat-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.stat-number {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    padding: 80px 20px;
    background: #f8f9fa;
}

.testimonials-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.stars {
    color: #f39c12;
    margin-bottom: 15px;
    font-size: 14px;
}

.testimonial-text {
    color: #666;
    margin-bottom: 15px;
    font-style: italic;
    line-height: 1.6;
}

.testimonial-author {
    font-weight: bold;
    color: #333;
}

.testimonial-company {
    font-size: 14px;
    color: #999;
}

/* ===== CTA SECTION ===== */
.cta {
    background: #e74c3c;
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.cta p {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* ===== FOOTER ===== */
footer {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 50px 20px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    margin-bottom: 20px;
    color: white;
    border-bottom: 2px solid #e74c3c;
    padding-bottom: 10px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #ecf0f1;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-section a:hover {
    color: #e74c3c;
    margin-left: 5px;
}

.footer-section p {
    font-size: 14px;
    line-height: 1.6;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #e74c3c;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: #c0392b;
    transform: scale(1.1);
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 30px;
    text-align: center;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    align-items: center;
    font-size: 14px;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom a {
    color: #ecf0f1;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-bottom a:hover {
    color: #e74c3c;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 15px 20px;
        gap: 15px;
    }
    
    nav ul {
        flex-direction: column;
        gap: 5px;
        width: 100%;
    }
    
    .header-top-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .header-top-left,
    .header-top-right {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .why-us-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        grid-template-columns: 1fr;
    }
    
    .dropdown-menu {
        position: static;
        display: none;
        box-shadow: none;
        border: none;
        border-top: none;
    }
    
    .dropdown:hover .dropdown-menu {
        display: none;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .cta h2 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 24px;
    }
    
    .products-grid,
    .applications-grid {
        grid-template-columns: 1fr;
    }
    
    .why-us-stats {
        grid-template-columns: 1fr;
    }
    
    nav a {
        padding: 6px 10px;
    }
    
    .btn-primary,
    .btn-secondary,
    .btn-quote {
        padding: 10px 20px;
        font-size: 14px;
    }
}