/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 按钮样式 */
.cta-button, .learn-more-btn, .contact-btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.cta-button:hover, .learn-more-btn:hover, .contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

/* 英雄区域 */
.hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-content-onlytext {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    pointer-events: none;
}

.hero-content-onlytext h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 18px;
    line-height: 1.2;
    color: #fff;
    text-shadow: 0 4px 24px rgba(0,0,0,0.18);
}

.hero-content-onlytext .hero-subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.12);
}

.hero-image {
    width: 100%;
    height: 60vh;
    overflow: hidden;
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 60vh;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
    filter: brightness(0.82) contrast(1.08);
}

/* 首页头图16:9 */
.hero.hero-image-only {
    min-height: 0;
    padding: 0;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: none;
}

/* 首页头图文字覆盖层 */
.hero-content-overlay {
    position: absolute;
    left: 8%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    max-width: 650px;
    padding: 50px;
    background: rgba(30, 41, 59, 0.75);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* 英文版本需要更大的容器宽度 */
[lang="en"] .hero-content-overlay {
    max-width: 850px;
    padding: 45px 55px;
}

.hero-company-name {
    font-size: 2.2rem;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    line-height: 1.3;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

/* 英文版本的公司名称样式调整 */
[lang="en"] .hero-company-name {
    font-size: 1.4rem;
    white-space: normal;
    line-height: 1.4;
    letter-spacing: 0.2px;
    max-width: 100%;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.hero-company-slogan {
    font-size: 1.2rem;
    color: #e8f4f8;
    margin-bottom: 30px;
    line-height: 1.6;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.hero-cta-btn {
    font-size: 1.1rem;
    padding: 14px 32px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.hero-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.5);
}

.hero-img-16-9 {
    width: 100vw;
    max-width: 100%;
    aspect-ratio: 16/9;
    height: auto;
    display: block;
    object-fit: cover;
    margin: 0 auto;
    border-radius: 0;
    box-shadow: none;
}

.hero-img-1920-800 {
  width: 100%;
  height: auto;
  max-width: 1920px;
  max-height: 800px;
  display: block;
  margin: 0 auto;
}

.hero-img-wrapper {
  position: relative;
  width: 100%;
  max-width: 1921px;
  margin: 0 auto;
  overflow: hidden;
}
.hero-img-1921-1061 {
  width: 100%;
  height: auto;
  max-width: 1921px;
  max-height: 1061px;
  display: block;
}
.hero-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  padding-bottom: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  pointer-events: none;
}
.hero-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  background: rgba(30, 41, 59, 0.72);
  border-radius: 10px 10px 0 0;
  padding: 12px 36px 6px 36px;
  margin-bottom: 0;
  letter-spacing: 2px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
}
.hero-subtitle {
  font-size: 1.18rem;
  color: #fff;
  background: rgba(30, 41, 59, 0.60);
  border-radius: 0 0 10px 10px;
  padding: 6px 36px 12px 36px;
  letter-spacing: 1px;
  font-weight: 400;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
}
@media (max-width: 900px) {
  .hero-title { font-size: 1.2rem; padding: 8px 16px 4px 16px; }
  .hero-subtitle { font-size: 0.95rem; padding: 4px 16px 8px 16px; }
  .hero-img-1921-1061 { max-height: 40vw; }
}

/* 响应式设计 - 首页头图文字覆盖层 */
@media (max-width: 900px) {
    .hero-content-overlay {
        left: 5%;
        max-width: 550px;
        padding: 40px;
    }
    
    /* 英文版本在中等屏幕需要更大宽度 */
    [lang="en"] .hero-content-overlay {
        max-width: 720px;
        padding: 35px 45px;
    }
    
    .hero-company-name {
        font-size: 1.8rem;
        margin-bottom: 15px;
        white-space: nowrap;
    }
    
    /* 英文版本在中等屏幕的调整 */
    [lang="en"] .hero-company-name {
        font-size: 1.2rem;
        white-space: normal;
        line-height: 1.4;
        letter-spacing: 0.1px;
        max-width: 100%;
        word-wrap: break-word;
        word-break: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .hero-company-slogan {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }
    
    .hero-cta-btn {
        font-size: 1rem;
        padding: 12px 28px;
    }
    
    .hero-content-onlytext h1 {
        font-size: 2rem;
    }
    .hero-content-onlytext .hero-subtitle {
        font-size: 1.05rem;
    }
    .hero-image, .hero-image img {
        height: 38vh;
    }
}

@media (max-width: 600px) {
    .hero-content-overlay {
        left: 3%;
        right: 3%;
        max-width: none;
        padding: 30px 25px;
        transform: translateY(-50%);
    }
    
    /* 英文版本在小屏幕的优化 */
    [lang="en"] .hero-content-overlay {
        left: 1%;
        right: 1%;
        padding: 25px 18px;
    }
    
    .hero-company-name {
        font-size: 1.3rem;
        margin-bottom: 12px;
        line-height: 1.3;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    /* 英文版本在小屏幕的调整 */
    [lang="en"] .hero-company-name {
        font-size: 0.9rem;
        white-space: normal;
        line-height: 1.5;
        overflow: visible;
        text-overflow: initial;
        letter-spacing: 0px;
        max-width: 100%;
        word-wrap: break-word;
        word-break: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .hero-company-slogan {
        font-size: 0.95rem;
        margin-bottom: 20px;
        line-height: 1.5;
    }
    
    .hero-cta-btn {
        font-size: 0.9rem;
        padding: 10px 24px;
    }
    
    .hero-content-onlytext h1 {
        font-size: 1.2rem;
    }
    .hero-content-onlytext .hero-subtitle {
        font-size: 0.95rem;
    }
    .hero-image, .hero-image img {
        height: 28vh;
    }
}

/* 公司简介 */
.company-intro {
    padding: 80px 0;
    background: #f8f9fa;
}

.company-intro h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #2c3e50;
}

.intro-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: center;
}

.intro-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #555;
}

.intro-stats {
    display: grid;
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item h3 {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 10px;
}

.stat-item p {
    color: #7f8c8d;
    font-weight: 500;
}

/* 核心业务 */
.core-business {
    padding: 80px 0;
    background: white;
}

.core-business h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #2c3e50;
}

.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.business-card {
    padding: 40px 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #ecf0f1;
}

.business-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.business-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.business-card p {
    color: #7f8c8d;
    line-height: 1.6;
}

/* 联系我们预览 */
.contact-preview {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.contact-preview h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.contact-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.contact-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #ecf0f1;
}

.contact-item p {
    font-size: 1rem;
    opacity: 0.9;
}

.contact-btn {
    display: block;
    width: fit-content;
    margin: 0 auto;
    background: white;
    color: #3498db;
}

.contact-btn:hover {
    background: #f8f9fa;
}

/* 页脚 */
.footer {
    background: #2c3e50;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: #ecf0f1;
}

.footer-section p {
    margin-bottom: 10px;
    opacity: 0.8;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #3498db;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
}

.footer-bottom .copyright {
    margin-bottom: 8px;
    opacity: 0.9;
    font-size: 0.9rem;
    color: #bdc3c7;
}

.footer-bottom .beian {
    margin-bottom: 0;
    font-size: 0.85rem;
    color: #95a5a6;
}

.footer-bottom .beian a {
    color: #95a5a6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom .beian a:hover {
    color: #3498db;
    text-decoration: underline;
}

.footer-bottom .separator {
    margin: 0 10px;
    color: #7f8c8d;
}

@media (max-width: 768px) {
    .footer-bottom .copyright {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .footer-bottom .beian {
        font-size: 0.75rem;
        line-height: 1.4;
    }
    
    .footer-bottom .separator {
        margin: 0 8px;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .intro-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .business-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .company-intro h2,
    .core-business h2,
    .contact-preview h2 {
        font-size: 2rem;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* 滚动动画 */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
} 