/* ================= 全局样式 ================= */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #0a0e27;
    color: #333;
}

* {
    box-sizing: border-box;
}

/* ================= 导航栏样式 ================= */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(135deg, #1a1d3a 0%, #0a0e27 100%);
    box-shadow: 0 4px 20px rgba(0, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(78, 205, 196, 0.2);
    padding: 0.8rem 0;
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    background: linear-gradient(135deg, #4ecdc4 0%, #44a3f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
    text-shadow: 0 0 30px rgba(78, 205, 196, 0.3);
}

nav ul {
    display: flex;
    gap: 1rem;
    align-items: center;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0;
}

nav ul li a {
    color: #e0e0e0;
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.95rem;
}

nav ul li a:hover {
    color: #4ecdc4;
    background: rgba(78, 205, 196, 0.1);
    transform: translateY(-2px);
}

.contact-email-nav {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a3f7 100%);
    color: white !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: 25px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.3);
}

.contact-email-nav:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(78, 205, 196, 0.4);
}

#languageSwitcher {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(78, 205, 196, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

#languageSwitcher:hover {
    background: rgba(78, 205, 196, 0.2);
    border-color: #4ecdc4;
}

/* ================= 首页Hero区域 ================= */
.hero {
    margin-top: 70px;
    min-height: 90vh;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1d3a 50%, #2a3d5a 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(78, 205, 196, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(68, 163, 247, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 20%, rgba(138, 43, 226, 0.1) 0%, transparent 40%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #4ecdc4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(78, 205, 196, 0.3);
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #e0e0e0;
    animation: fadeInUp 1.2s ease;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #b0b0b0;
    margin-bottom: 3rem;
    animation: fadeInUp 1.4s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1.6s ease;
}

.btn {
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a3f7 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(78, 205, 196, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(78, 205, 196, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid #4ecdc4;
}

.btn-secondary:hover {
    background: rgba(78, 205, 196, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(78, 205, 196, 0.2);
}

/* ================= 滚动动画 ================= */
.scroll-section {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-section.active {
    opacity: 1;
    transform: translateY(0);
}

.section-content {
    width: 90%;
    max-width: 1200px;
    text-align: center;
}

/* ================= 特性部分样式 ================= */
.features {
    background: linear-gradient(135deg, #0a0e27 0%, #1a1d3a 100%);
    background-size: cover;
    background-position: center;
}

.features .section-content {
    padding: 60px 20px;
}

.features h2 {
    color: white;
    font-size: 2.8rem;
    margin-bottom: 4rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #4ecdc4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.feature {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(78, 205, 196, 0.2);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4ecdc4 0%, #44a3f7 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature:hover::before {
    transform: scaleX(1);
}

.feature:hover {
    transform: translateY(-10px);
    border-color: #4ecdc4;
    box-shadow: 0 15px 40px rgba(78, 205, 196, 0.3);
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.1) 0%, rgba(68, 163, 247, 0.05) 100%);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 20px rgba(78, 205, 196, 0.5));
}

.feature h3 {
    color: #4ecdc4;
    margin-bottom: 1rem;
    font-size: 1.6rem;
    font-weight: 600;
}

.feature p {
    color: #b0b0b0;
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 0.8rem;
}

.feature-detail {
    color: #808080;
    font-size: 0.95rem;
    font-style: italic;
}

/* ================= 产品部分样式 ================= */
.products {
    background: linear-gradient(135deg, #1a1d3a 0%, #0a0e27 100%);
    background-size: cover;
    background-position: center;
}

.products .section-content {
    max-width: 1300px;
    padding: 60px 20px;
}

.products h2 {
    color: white;
    font-size: 2.8rem;
    margin-bottom: 4rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #4ecdc4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.product {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(78, 205, 196, 0.2);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: left;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.product::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4ecdc4 0%, #44a3f7 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.product:hover::before {
    transform: scaleX(1);
}

.product:hover {
    transform: translateY(-10px);
    border-color: #4ecdc4;
    box-shadow: 0 15px 40px rgba(78, 205, 196, 0.3);
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.1) 0%, rgba(68, 163, 247, 0.05) 100%);
}

.product-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 20px rgba(78, 205, 196, 0.5));
}

.product h3 {
    color: #4ecdc4;
    margin-bottom: 1rem;
    font-size: 1.6rem;
    font-weight: 600;
}

.product > p {
    color: #808080;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(78, 205, 196, 0.2);
}

.product-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    text-align: left;
}

.product-features li {
    color: #b0b0b0;
    padding: 0.6rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4ecdc4;
    font-weight: bold;
}

.product-link {
    display: inline-block;
    margin-top: 1.5rem;
    color: #4ecdc4;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.product-link:hover {
    color: #44a3f7;
    transform: translateX(5px);
}

/* ================= 合作伙伴部分 ================= */
.clients {
    background: linear-gradient(135deg, #0a0e27 0%, #1a1d3a 100%);
    background-size: cover;
    background-position: center;
}

.clients .section-content {
    padding: 60px 20px;
}

.clients h2 {
    color: white;
    font-size: 2.8rem;
    margin-bottom: 4rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #4ecdc4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.client-hex-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px 24px;
    margin-top: 3rem;
}

.client-hex {
    width: 140px;
    height: 160px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    clip-path: polygon(
        50% 0%, 100% 25%, 100% 75%, 
        50% 100%, 0% 75%, 0% 25%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(78, 205, 196, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(78, 205, 196, 0.3);
}

.client-hex:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 8px 24px rgba(78, 205, 196, 0.4);
}

.client-hex img {
    max-width: 80px;
    max-height: 80px;
    object-fit: contain;
    filter: brightness(1.2);
}

/* ================= 浮动联系按钮 ================= */
.floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #4ecdc4 0%, #44a3f7 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(78, 205, 196, 0.4);
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.floating-contact:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(78, 205, 196, 0.5);
}

.floating-contact-icon {
    font-size: 1.5rem;
}

.floating-contact-text {
    font-size: 1rem;
}

/* ================= 返回顶部按钮 ================= */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background: rgba(78, 205, 196, 0.2);
    color: #4ecdc4;
    border: 2px solid #4ecdc4;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 999;
    transition: all 0.3s ease;
    display: none;
}

.back-to-top:hover {
    background: #4ecdc4;
    color: white;
    transform: translateY(-5px);
}

/* ================= 页脚样式 ================= */
footer {
    background: linear-gradient(135deg, #0a0e27 0%, #1a1d3a 100%);
    color: white;
    padding: 0;
    position: relative;
    width: 100%;
    border-top: 1px solid rgba(78, 205, 196, 0.2);
}

.footer-main {
    width: 100%;
    background: transparent;
    padding: 32px 0 24px 0;
}

.footer-main-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 40px;
    padding: 0 20px;
}

.footer-logo-col {
    flex: 1 1 220px;
    min-width: 180px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.footer-logo {
    height: 40px;
    margin-bottom: 8px;
    filter: brightness(1.2);
}

.footer-copyright {
    color: #b0b0b0;
    font-size: 0.95rem;
    margin-top: 8px;
    line-height: 1.6;
}

.footer-copyright a {
    color: #4ecdc4;
    text-decoration: none;
}

.footer-links-col {
    flex: 1 1 160px;
    min-width: 140px;
}

.footer-col-title {
    font-weight: bold;
    color: #4ecdc4;
    margin-bottom: 12px;
    font-size: 1.08rem;
}

.footer-links-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links-col a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s;
}

.footer-links-col a:hover {
    color: #4ecdc4;
}

/* ================= 产品中心页面 ================= */
.products-content {
    margin-top: 100px;
    min-height: calc(100vh - 350px);
    width: 100%;
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1d3a 100%);
}

.products-content h1 {
    color: white;
    font-size: 2.8rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #4ecdc4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.products-content p {
    color: #b0b0b0;
    font-size: 1.2rem;
}

/* ================= 关于我们页面 ================= */
.about-content {
    margin-top: 100px;
    min-height: calc(100vh - 350px);
    width: 100%;
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1d3a 100%);
}

.about-content h1 {
    color: white;
    font-size: 2.8rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #4ecdc4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-content p {
    color: #b0b0b0;
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 1.5rem auto;
}

/* ================= 采购合作页面 ================= */
.sales-products-content {
    margin-top: 100px;
    width: 100%;
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1d3a 100%);
}

.sales-products-content h1 {
    color: white;
    font-size: 2.8rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #4ecdc4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sales-products-content p {
    color: #b0b0b0;
    font-size: 1.2rem;
}

.sales-info-form {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(78, 205, 196, 0.2);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(78, 205, 196, 0.2);
    max-width: 800px;
    margin: 3rem auto;
    backdrop-filter: blur(10px);
}

.sales-info-form h2 {
    color: #4ecdc4;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.form-group {
    flex: 1;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #b0b0b0;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid rgba(78, 205, 196, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4ecdc4;
    box-shadow: 0 0 15px rgba(78, 205, 196, 0.3);
}

input[type="submit"] {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a3f7 100%);
    color: white;
    padding: 1rem 3rem;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(78, 205, 196, 0.3);
}

input[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(78, 205, 196, 0.4);
}

/* ================= 新闻页面 ================= */
.news-section {
    max-width: 1100px;
    margin: 100px auto 0 auto;
    padding: 60px 20px;
    text-align: center;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1d3a 100%);
    min-height: calc(100vh - 200px);
}

.news-section h1 {
    color: white;
    font-size: 2.8rem;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #ffffff 0%, #4ecdc4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.news-list {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
    align-items: center;
}

/* 新闻内容区域 */
.news-content {
    max-width: 1200px;
    margin: 100px auto 0 auto;
    padding: 60px 20px;
    text-align: center;
    min-height: calc(100vh - 200px);
}

.news-content h1 {
    color: #ffffff;
    font-size: 2.8rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #4ecdc4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 新闻网格布局 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    text-align: left;
}

/* 新闻卡片 */
.news-card {
    background: linear-gradient(135deg, rgba(26, 29, 58, 0.8) 0%, rgba(42, 61, 90, 0.6) 100%);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(78, 205, 196, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.news-card:hover {
    transform: translateY(-8px);
    border-color: rgba(78, 205, 196, 0.5);
    box-shadow: 0 8px 25px rgba(78, 205, 196, 0.2);
}

.news-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.news-info {
    padding: 1.8rem;
}

.news-info h3 {
    color: #ffffff;
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.news-date {
    color: #4ecdc4;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.news-summary {
    color: #b0b0b0;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* ================= 响应式设计 ================= */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .feature-grid,
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 900px) {
    nav {
        padding: 0 20px;
    }
    
    nav ul {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .contact-email-nav {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .feature-grid,
    .product-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .client-hex-logos {
        gap: 20px 10px;
    }
    
    .client-hex {
        width: 100px;
        height: 110px;
    }
    
    .client-hex img {
        max-width: 60px;
        max-height: 60px;
    }
    
    .footer-main-inner {
        flex-direction: column;
        gap: 24px;
    }
    
    .footer-logo-col,
    .footer-links-col {
        min-width: 0;
        width: 100%;
    }
    
    .floating-contact-text {
        display: none;
    }
    
    .floating-contact {
        width: 60px;
        height: 60px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }
    
    .form-row {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .logo {
        font-size: 1.2rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .features h2,
    .products h2,
    .clients h2 {
        font-size: 2rem;
    }
    
    .feature,
    .product {
        padding: 2rem 1.5rem;
    }
}
