* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #f8fafc;
    color: #0b1a2f;
    line-height: 1.6;
}

:root {
    --primary-blue: #0a66c2;
    --primary-dark: #0b1a2f;
    --accent-cyan: #00bcd4;
    --light-bg: #f0f4fa;
    --card-shadow: 0 20px 40px -12px rgba(0, 20, 50, 0.15);
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

.btn-primary {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 10px 28px;
    border-radius: 60px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 8px 18px rgba(10, 102, 194, 0.25);
}
.btn-primary:hover {
    background: #004a9a;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(10, 102, 194, 0.35);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 8px 24px;
    border-radius: 60px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}
.btn-outline:hover {
    background: var(--primary-blue);
    color: white;
}

.hamburger {
    display: none;
    font-size: 1.8rem;
    background: none;
    border: none;
    color: var(--primary-dark);
    cursor: pointer;
}

@media (max-width: 1024px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background: white;
        padding: 24px 0;
        gap: 16px;
        border-top: 1px solid #eef3f8;
    }
    .nav-menu.open { display: flex; }
    .hamburger { display: block; }
    .nav-actions .btn-primary { display: none; }
    .nav-actions .lang-toggle { display: none; }
}

.hero-carousel {
    position: relative;
    width: 100%;
    height: 92vh;
    max-height: 800px;
    min-height: 520px;
    overflow: hidden;
    background: #0b1a2f;
}

.carousel-slides {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-slide {
    flex: 0 0 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 5%;
    position: relative;
    background-size: cover;
    background-position: center;
}

.slide-content {
    max-width: 700px;
    color: white;
    position: relative;
    z-index: 2;
    animation: fadeUp 0.9s ease-out;
}

@keyframes fadeUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

.slide-content .tag {
    display: inline-block;
    background: rgba(10, 102, 194, 0.7);
    backdrop-filter: blur(4px);
    padding: 6px 20px;
    border-radius: 60px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: white;
    margin-bottom: 18px;
    border: 1px solid rgba(255,255,255,0.1);
}

.slide-content h1 {
    font-size: 3.8rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 20px;
}
.slide-content h1 .highlight {
    color: #7bbaff;
    position: relative;
}
.slide-content p {
    font-size: 1.25rem;
    opacity: 0.85;
    margin-bottom: 32px;
    max-width: 500px;
    font-weight: 300;
}
.slide-content .btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
.slide-content .btn-primary {
    background: white;
    color: var(--primary-dark);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.slide-content .btn-primary:hover {
    background: #e6f0fe;
    transform: translateY(-2px);
}
.slide-content .btn-outline-light {
    background: transparent;
    border: 1.5px solid rgba(255,255,255,0.5);
    color: white;
    padding: 10px 28px;
    border-radius: 60px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}
.slide-content .btn-outline-light:hover {
    background: rgba(255,255,255,0.12);
    border-color: white;
}

.carousel-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 16px;
    z-index: 20;
    align-items: center;
}

.carousel-dots {
    display: flex;
    gap: 12px;
}
.carousel-dots button {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}
.carousel-dots button.active {
    background: white;
    transform: scale(1.2);
    box-shadow: 0 0 16px rgba(255,255,255,0.4);
}
.carousel-dots button:hover {
    background: rgba(255,255,255,0.7);
}

.carousel-arrow {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.15);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}
.carousel-arrow:hover {
    background: rgba(255,255,255,0.2);
}

@media (max-width: 768px) {
    .hero-carousel { height: 70vh; min-height: 420px; }
    .slide-content h1 { font-size: 2.4rem; }
    .slide-content p { font-size: 1rem; }
    .carousel-controls { bottom: 20px; gap: 10px; }
    .carousel-arrow { width: 36px; height: 36px; font-size: 1rem; }
}

.section-title {
    font-size: 2.2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 16px;
    color: var(--primary-dark);
}
.section-sub {
    text-align: center;
    color: #4a5d78;
    max-width: 600px;
    margin: 0 auto 48px;
    font-size: 1.1rem;
}

.features {
    padding: 80px 0;
    background: white;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
}
.feature-card {
    background: var(--light-bg);
    padding: 36px 24px;
    border-radius: 32px;
    transition: var(--transition);
    border: 1px solid transparent;
}
.feature-card:hover {
    background: white;
    border-color: rgba(10, 102, 194, 0.15);
    box-shadow: var(--card-shadow);
    transform: translateY(-6px);
}
.feature-icon { font-size: 2.8rem; color: var(--primary-blue); margin-bottom: 16px; display: flex; align-items: center; justify-content: center; }
.feature-icon img { width: 64px; height: 64px; object-fit: contain; }
.feature-card h4 { font-size: 1.2rem; font-weight: 600; margin-bottom: 10px; }
.feature-card p { color: #3e5670; font-size: 0.95rem; }

.products {
    padding: 80px 0;
    background: #f8fafc;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
    transition: var(--transition);
    border: 1px solid #ecf2f8;
    text-decoration: none;
    color: inherit;
    display: block;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow);
    border-color: rgba(10, 102, 194, 0.2);
}
.product-image {
    height: 180px;
    background: #e9f0f8;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    border-radius: 20px 20px 0 0;
}
.product-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.product-card:hover .product-image img { transform: scale(1.03); }
.product-image .icon-placeholder {
    font-size: 3rem; color: var(--primary-blue);
}
.product-category-tag {
    position: absolute;
    top: 12px; left: 12px;
    background: var(--primary-blue);
    color: white;
    padding: 6px 12px;
    border-radius: 60px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}
.product-content { padding: 20px; }
.product-content h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 8px; color: var(--primary-dark); line-height: 1.3; }
.product-content p {
    color: #4a5d78;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.about-summary {
    padding: 80px 0;
    background: white;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-text h2 { font-size: 2.2rem; font-weight: 600; margin-bottom: 16px; }
.about-text p { color: #2c405a; margin-bottom: 20px; font-size: 1.05rem; }
.about-stats { display: flex; gap: 40px; }
.about-stats div h3 { font-size: 2rem; color: var(--primary-blue); }
.about-image {
    background: linear-gradient(145deg, #dce7f5, #cbd9ea);
    border-radius: 40px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--primary-dark);
    box-shadow: var(--card-shadow);
}

.news {
    padding: 80px 0;
    background: #f8fafc;
}
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}
.news-card {
    background: white;
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    transition: var(--transition);
    border: 1px solid #ecf2f8;
}
.news-card:hover {
    box-shadow: var(--card-shadow);
    transform: translateY(-4px);
}
.news-date { font-size: 0.8rem; color: var(--primary-blue); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.news-card h4 { margin: 10px 0 8px; font-weight: 600; }
.news-card p { color: #4a5d78; font-size: 0.95rem; }
.news-card a { color: var(--primary-blue); font-weight: 500; text-decoration: none; display: inline-block; margin-top: 12px; }

.partners {
    padding: 64px 0;
    background: white;
    border-top: 1px solid #eef3f8;
    border-bottom: 1px solid #eef3f8;
}
.partner-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 48px 72px;
}
.partner-logos span { font-size: 1.4rem; font-weight: 500; color: #8a9bb0; letter-spacing: 0.5px; opacity: 0.7; }

.footer {
    background: var(--primary-dark);
    color: #c8d6e8;
    padding: 48px 0 24px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-brand h4 { color: white; font-size: 1.4rem; margin-bottom: 12px; }
.footer-brand p { font-size: 0.95rem; max-width: 300px; opacity: 0.8; }
.footer-links h5 { color: white; font-weight: 600; margin-bottom: 16px; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: #b0c4dd; text-decoration: none; transition: var(--transition); font-size: 0.9rem; }
.footer-links a:hover { color: white; }
.footer-bottom {
    border-top: 1px solid #1d3047;
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    font-size: 0.9rem;
    opacity: 0.7;
}

@media (max-width: 1024px) {
    .about-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .container { padding: 0 20px; }
    .hero-carousel { height: 60vh; min-height: 360px; }
    .slide-content h1 { font-size: 2rem; }
    .about-stats { flex-wrap: wrap; gap: 20px; }
    .footer-grid { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: 1fr; }
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}
.modal-overlay.show {
    display: flex;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.modal-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-radius: 24px;
    max-width: 720px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-header {
    padding: 22px 28px;
    background: linear-gradient(135deg, #0f3460 0%, #16213e 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 24px 24px 0 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.modal-header h3 {
    margin: 0;
    font-size: 1.4rem;
    color: #ffffff;
    font-weight: 600;
}
.modal-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: var(--transition);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: rotate(90deg);
}
.modal-body {
    padding: 28px;
}
.modal-body p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 0.95rem;
}
.contact-main {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 28px;
    align-items: flex-start;
}
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.contact-item:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
}
.contact-item i {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5af19 0%, #f12711 100%);
    color: white;
    border-radius: 10px;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.contact-item span {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}
.wechat-section {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    min-width: 170px;
}
.wechat-section img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
}
.wechat-section p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.5;
}
@media (max-width: 600px) {
    .contact-main {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .wechat-section {
        min-width: auto;
    }
    .wechat-section img {
        width: 120px;
        height: 120px;
    }
    .modal-header {
        padding: 18px 22px;
    }
    .modal-header h3 {
        font-size: 1.25rem;
    }
    .modal-body {
        padding: 20px;
    }
    .contact-item {
        padding: 12px 14px;
    }
    .contact-item i {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
}