/* 添加全局样式防止水平滚动 */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

.about-main {
    padding-top: 80px;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
    position: relative;
}

.about-hero {
    position: relative;
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: white;
    text-align: center;
    padding: 0;
    overflow: hidden;
    min-height: 95vh;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/ai-pattern.svg') center/cover;
    opacity: 0.1;
    animation: float 20s linear infinite;
    width: 100%;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    box-sizing: border-box;
    transform: translateY(-15%);
}

.hero-content h2 {
    font-size: 4.5rem;
    margin-bottom: 2rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    animation: fadeInUp 1s ease;
    background: linear-gradient(to right, #ffffff, #e0e0e0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content h2::after {
    display: none;
}

.hero-content p {
    font-size: 1.6rem;
    line-height: 1.8;
    margin: 2rem auto 0;
    max-width: 800px;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.3s backwards;
    text-shadow: 0 1px 5px rgba(0,0,0,0.1);
    position: relative;
    padding: 0 1rem;
}

.hero-content p::before,
.hero-content p::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background: rgba(255, 255, 255, 0.5);
    top: 50%;
    transform: translateY(-50%);
}

.hero-content p::before {
    left: -20px;
}

.hero-content p::after {
    right: -20px;
}

.company-intro {
    padding: 5rem 1rem;
    background: #f8f9fa;
}

.intro-content {
    max-width: 1200px;
    margin: 0 auto;
}

.intro-content h2 {
    text-align: center;
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.intro-content > p {
    text-align: center;
    color: #666;
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.company-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
}

.value-item h3 {
    color: #3498db;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.value-item p {
    color: #666;
    line-height: 1.6;
}

.team-section {
    padding: 5rem 1rem;
    background: white;
}

.team-section h3 {
    text-align: center;
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

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

.team-member {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem;
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.member-title {
    color: #3498db;
    font-weight: bold;
    margin-bottom: 1rem;
}

.member-desc {
    color: #666;
    line-height: 1.6;
}

.contact-section {
    padding: 5rem 1rem;
    background: white;
}

.contact-section h2 {
    text-align: center;
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

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

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
}

.info-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.info-item h3 {
    color: #3498db;
    margin-bottom: 0.5rem;
}

.info-item p {
    color: #666;
    margin: 0.5rem 0;
}

.info-detail {
    font-size: 0.9rem;
    color: #999;
    font-style: italic;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #3498db;
    outline: none;
}

.submit-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-100%) rotate(360deg); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@media (max-width: 768px) {
    .about-hero {
        padding-top: 12vh;
    }

    .hero-content {
        transform: translateY(-10%);
    }

    .hero-content h2 {
        font-size: 3rem;
        margin-bottom: 1.5rem;
    }

    .hero-content p {
        font-size: 1.3rem;
        line-height: 1.6;
        margin-top: 1.5rem;
        padding: 0 0.5rem;
    }

    .hero-content p::before,
    .hero-content p::after {
        width: 20px;
    }

    .hero-content p::before {
        left: -10px;
    }

    .hero-content p::after {
        right: -10px;
    }

    .company-values,
    .team-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .info-item {
        padding: 1.5rem;
    }
} 

/* 内容容器，左右并排 */
.content-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.mission, .vision {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    flex: 1 1 400px;
    max-width: 500px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0; /* 初始透明，用于动画 */
    animation: fadeInUp 1s ease forwards;
  }
  
.mission:hover, .vision:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
  }
  
.mission h3, .vision h3 {
    font-size: 2rem;
    color: #3498db;
    margin-bottom: 1rem;
    text-align: center;
  }
  
.mission p, .vision p {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.7;
    text-align: center;
  }
  
  /* 价值观卡片布局 */
  .company-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
  }
  
  /* 单张卡片样式 */
  .value-item {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  /* 悬停交互 */
  .value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.12);
  }
  
  /* 图标样式 */
  .value-item i {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 1rem;
    display: inline-block;
    transition: transform 0.3s ease;
  }
  
  .value-item:hover i {
    transform: scale(1.2);
  }
  
  /* 标题与描述 */
  .value-item h3 {
    color: #2c3e50;
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }
  
  .value-item p {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.7;
  }
  
  /* 移动端适配 */
  @media (max-width: 768px) {
    .company-values {
      grid-template-columns: 1fr;
    }
  
    .value-item {
      padding: 2rem 1.5rem;
    }
  }

/* 合作伙伴样式 */
.partners {
    padding: 6rem 1rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    position: relative;
    overflow: hidden;
}

.partners::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/pattern.svg') center/cover;
    opacity: 0.05;
    animation: float 20s linear infinite;
}

/* 标题样式 */
.section-title {
    position: relative;
    z-index: 1;
    margin-bottom: 2rem;
    text-align: center;
    font-size: 2.8rem;
    color: #2c3e50;
    font-weight: 700;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #3498db;
    margin: 10px auto 0;
    border-radius: 2px;
    position: relative;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.partner-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(52, 152, 219, 0.1);
    backdrop-filter: blur(10px);
    width: 100%;
}

.partner-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #3498db;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: left;
}

.partner-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(46, 204, 113, 0.1));
    opacity: 0;
    transition: opacity 0.5s ease;
}

.partner-card:nth-child(3n+1)::before {
    background: linear-gradient(to bottom, #3498db, #2980b9);
}

.partner-card:nth-child(3n+2)::before {
    background: linear-gradient(to bottom, #2ecc71, #27ae60);
}

.partner-card:nth-child(3n+3)::before {
    background: linear-gradient(to bottom, #e74c3c, #c0392b);
}

.partner-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 35px rgba(52, 152, 219, 0.15);
    border-color: rgba(52, 152, 219, 0.3);
}

.partner-card:hover::before {
    width: 100%;
    opacity: 0.1;
}

.partner-card:hover::after {
    opacity: 1;
}

.partner-icon {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    background: white;
    border-radius: 16px;
    padding: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.5s ease;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-card:hover .partner-icon {
    transform: scale(1.15) rotate(8deg);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.2);
}

.partner-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.partner-icon i {
    font-size: 2.2rem;
    color: #1db77c;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    transition: transform 0.5s ease;
}

.partner-card:hover .partner-icon i {
    transform: scale(1.15);
}

.partner-info {
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1;
    text-align: center;
}

.partner-info h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    line-height: 1.4;
    word-wrap: break-word;
    white-space: normal;
    overflow: visible;
}

.partner-info p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.partner-card:hover .partner-info h3 {
    color: #3498db;
    transform: translateX(5px);
}

.partner-card:hover .partner-info p {
    opacity: 1;
    transform: translateX(8px);
}

@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .partner-card {
        padding: 1.5rem;
    }
    
    .partner-icon {
        width: 60px;
        height: 60px;
        padding: 0.8rem;
    }
    
    .partner-info h3 {
        font-size: 1.2rem;
    }
    
    .partner-info p {
        font-size: 0.95rem;
    }
}

/* 确保所有容器都使用border-box */
* {
    box-sizing: border-box;
}

/* 确保所有section都不会溢出 */
section {
    width: 100%;
    overflow-x: hidden;
}

.nutrients-hero {
    position: relative;
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: white;
    text-align: center;
    padding: 0;
    overflow: hidden;
    min-height: 95vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nutrients-hero .hero-content {
    margin-top: 8vh;
    width: 100%;
    max-width: 1200px;
    padding: 0 2rem;
    transform: translateY(-10%);
}

.nutrients-hero h2 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    animation: fadeInUp 1s ease;
    max-width: 800px;
    line-height: 1.3;
    margin-left: auto;
    margin-right: auto;
}

.nutrients-hero p {
    font-size: 1.4rem;
    line-height: 1.8;
    margin: 0 auto 3rem;
    max-width: 700px;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.3s backwards;
    text-shadow: 0 1px 5px rgba(0,0,0,0.1);
}

.search-box {
    display: flex;
    gap: 1rem;
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    animation: fadeInUp 1s ease 0.6s backwards;
}

.search-box input {
    flex: 1;
    padding: 1.2rem 1.5rem;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.search-box input::placeholder {
    color: #999;
}

.search-button {
    padding: 1.2rem 2rem;
    background: #2ecc71;
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

.search-button:hover {
    background: #27ae60;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4);
}

@media (max-width: 768px) {
    .nutrients-hero .hero-content {
        margin-top: 6vh;
        padding: 0 1.5rem;
        transform: translateY(-5%);
    }

    .nutrients-hero h2 {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }

    .nutrients-hero p {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }

    .search-box {
        flex-direction: column;
        gap: 1rem;
    }

    .search-box input,
    .search-button {
        width: 100%;
        padding: 1rem 1.5rem;
    }
}

/* 团队卡片动画效果 */
.team-card {
    perspective: 1000px;
    height: 400px;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.team-card.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.team-card.aos-animate .card-inner {
    animation: flipIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes flipIn {
    0% {
        transform: rotateY(0) scale(0.9);
        opacity: 0;
    }
    50% {
        transform: rotateY(180deg) scale(1.05);
        opacity: 0.5;
    }
    100% {
        transform: rotateY(360deg) scale(1);
        opacity: 1;
    }
}

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

.member-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.team-card:hover .member-avatar {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 0% 0%; /* 水平居中，垂直位置在30%处（更靠上） */
    transition: transform 0.3s ease;
}

.team-card:hover .member-avatar img {
    transform: scale(1.1);
}

.team-card h4 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
    text-align: center;
    width: 100%;
}

.team-card:hover h4 {
    color: #3498db;
}

.team-card p {
    color: #666;
    text-align: center;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
    width: 100%;
}

.team-card:hover p {
    color: #555;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .team-card {
        height: 350px;
        padding: 1.5rem;
    }
    
    .member-avatar {
        width: 120px;
        height: 120px;
    }
    
    .team-card h4 {
        font-size: 1.3rem;
    }
    
    .team-card p {
        font-size: 0.9rem;
    }
}

/* 动画形状 */
.animated-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 8s infinite ease-in-out;
}

.shape1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape3 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 30%;
    animation-delay: 4s;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
    100% {
        transform: translateY(0) rotate(360deg);
    }
}

/* 确保动画在移动设备上也能流畅运行 */
@media (prefers-reduced-motion: reduce) {
    .team-card:hover .card-inner {
        transform: none;
    }
    
    .shape {
        animation: none;
    }
}
  