/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plain', sans-serif;
}

body {
    background-color: #111111;
    color: #F8F7E8;
    min-width: 1400px;
}

.container {
    width: 100%;
    max-width: 1728px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    min-width: 1400px;
    overflow: visible;
}

/* Background Elements */
.bg-mask {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #111111;
    z-index: -2;
}

.balls {
    position: fixed;
    top: 0;
    z-index: -1;
    width: 100%;
    right: 0;
    overflow: hidden;
    opacity: 1;
    transition: opacity 0.8s ease;
}

.balls video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hero Section */
.hero {
    padding: 200px 164px 0;
    position: relative;
    z-index: 1;
}

#hero-tagline {
    height: 400px;
    margin-bottom: 0;
    transform: scale(0.7);
    transform-origin: left top;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-top: -140px;
    opacity: 0;
    transition: opacity 1.5s ease;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px 12px;
    border-radius: 24px;
    font-size: 15px;
    font-weight: 300;
    height: 37px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #F8F7E8;
    color: #111111;
    border: 1px solid #F8F7E8;
}

.btn-outline {
    background-color: transparent;
    color: #F8F7E8;
    border: 1px solid rgba(248, 247, 232, 0.4);
}

/* Mission & Vision Section */
.mission-vision {
    padding: 260px 164px 200px;
    display: flex;
    flex-direction: column;
    gap: 120px;
}

.mission-container, .vision-container {
    position: relative;
    padding-left: 21px;
}

.mission-container::before, .vision-container::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 1px;
    height: 100%;
    background-color: rgba(248, 247, 232, 0.2);
}

.mission-title, .vision-title {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 80px;
    color: #F8F7E8;
}

.mission-text, .vision-text {
    font-size: 24px;
    line-height: 26.4px;
    margin-bottom: 20px;
    font-weight: 300;
}

/* 添加 brain-network 的初始样式 */
.mission-text .brain-network {
    color: #7639E5;  /* 紫色 */
    transition: color 1s;  /* 保持过渡效果 */
}

/* 添加 vision 部分的 brain-network 初始样式 */
.vision-text .brain-network {
    color: #7639E5;  /* 紫色 */
    transition: color 1s;  /* 保持过渡效果 */
}

.vision-line {
    height: 1px;
    background-color: #7639E5;
    margin: 20px 0;
}

.mission-container {
    margin-top: 100px;
    width: 695px;
    height: 226px;
    position: relative;
}

.vision-container {
    width: 588px;
    height: 176px;
    left: 820px;
    position: relative;
}

/* 修改图片容器样式，添加过渡效果 */
.mission-image {
    position: absolute;
    width: 400px;
    height: 200px;
    top: 0;
    left: 100px;
    z-index: -1;
    transition: transform 0.2s ease-out, opacity 0.2s ease-out; /* 添加透明度过渡 */
    opacity: 0; /* 初始状态为透明 */
}

.mission-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 修改 vision 图片容器样式，添加过渡效果 */
.vision-image {
    position: absolute;
    width: 200px;
    height: 240px;
    top: -100px;
    left: 150px;
    z-index: -1;
    transition: transform 0.2s ease-out, opacity 0.2s ease-out; /* 添加透明度过渡 */
    opacity: 0; /* 初始状态为透明 */
}

.vision-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Products Section */
.products {
    position: relative;
    overflow: visible;
}

/* 修改 products-info-bg 的样式 */
.products-info-bg {
    position: absolute;
    top: 120px;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    height: 200px;
    background-color: #111111;
    z-index: -1;
    transition: background-color 0.3s ease, height 0.3s ease;
    min-width: 1400px;
}

.products-header {
    height: 261px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 164px;
    overflow: visible;
    margin-bottom: 60px;
}

.products-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.1;
}

.products-title {
    font-size: 40px;
    font-family: 'Affairs Test', serif;
    font-style: italic;
    text-align: center;
    font-weight: 400;
    margin-bottom: 80px;
    line-height: 40px;
    letter-spacing: -0.4px;
}

.products-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-top: 0;
    margin-bottom: 40px;
}

.products-divider-line {
    width: 60px;
    height: 1px;
    background-color: rgba(248, 247, 232, 0.4);
}

.products-divider-text {
    font-size: 16px;
    font-weight: 400;
    line-height: 16px;
}

.products-description {
    font-size: 14px;
    list-style: 15px;
    max-width: 930px;
    font-weight: 400;
    text-align: center;
    margin: 0 auto;
    height: 45px;
    transition: opacity 0.3s ease; /* 添加透明度过渡 */
}

.product-card {
    display: flex;
    border-top: 1px solid #383734;
    border-bottom: 1px solid #383734;
    padding: 40px 164px;
    transition: margin-top 0.3s ease;
    background-color: #111111; /* 确保背景色不透明 */
}

/* 使用唯一类名来设置样式 */
.product-card-1 {
    position: relative;
    z-index: 1;
}

.product-card-2 {
    position: relative;
    z-index: 10; /* 使用更高的z-index确保在上面 */
}

.product-card-3 {
    position: relative;
    z-index: 20; /* 更高的z-index */
}

.product-number {
    width: 24px;
    height: 24px;
    background-color: #7639E5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin-right: 36px;
}

.product-visual {
    width: 360px;
    height: 360px;
    position: relative;
    margin-right: 112px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    min-width: 360px;
}

.product-content {
    flex: 1;
}

.product-title {
    font-size: 48px;
    font-family: 'Affairs Test', serif;
    font-style: italic;
    margin-bottom: 20px;
    letter-spacing: -0.4px;
}

.product-subtitle {
    font-size: 16px;
    color: #7639E5;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.product-tag {
    font-size: 13px;
    color: #7639E5;
    border: 1px solid #7639E5;
    padding: 5px 10px;
    display: inline-block;
}

.product-features {
    margin-top: 100px;
}

.feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
}

.feature-dot {
    width: 6px;
    height: 6px;
    background-color: #F8F7E8;
    margin-top: 5px;
    margin-right: 12px;
    flex-shrink: 0;
}

.feature-text {
    font-size: 14px;
    white-space: nowrap;
}

/* Product Visualizations */
.zenobrain-visual {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.zenobrain-ellipse {
    border: 1px solid #F8F7E8;
    border-radius: 50%;
    position: absolute;
}

.zenobrain-line {
    width: 1px;
    height: 240px;
    background-color: #F8F7E8;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.zenomind-visual {
    min-width: 360px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.zenoesis-visual {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Responsive Styles */
@media (max-width: 1728px) {
    .hero, .mission-vision, .products-header, .team-section, .logo-grid {
        padding-left: calc((100vw - 1400px) / 2);
        padding-right: calc((100vw - 1400px) / 2);
    }
    
    .wave {
        width: 100%;
    }
}

@media (max-width: 1400px) {
    .hero, .mission-vision, .products-header, .team-section, .logo-grid {
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media (max-width: 768px) {
    
    .product-card {
        padding: 40px 40px;
    }
    
    .product-visual {
        width: 280px;
        height: 280px;
    }
    
    .product-title {
        font-size: 36px;
    }
    
    .products-title {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .hero, .mission-vision {
        padding: 100px 20px 0;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .mission-text, .vision-text {
        font-size: 18px;
    }
    
    .product-visual {
        width: 240px;
        height: 240px;
    }
}

.brain-network {
    font-family: 'Affairs Test';
    font-weight: 400;
    font-style: italic;
    font-size: 24px;
    line-height: 26.4px;
    letter-spacing: 0;
    text-decoration: underline;
}

.wave {
    width: 100vw;
    height: 200px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    min-width: 1400px;
}

.wave video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@font-face {
    font-family: 'Affairs Test';
    src: url('../font/Affair test.otf') format('opentype');
}

/* Team Section */
.team-section {
    width: 100%;
    height: 640px;
    background-color: #111111;
    position: relative;
    padding: 0 164px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.content-wrapper {
    max-width: 812px;
}

.team-label {
    color: #F8F7E8;
    font-size: 16px;
    margin-bottom: 40px;
    letter-spacing: -0.4px;
}

.team-description {
    color: #F8F7E8;
    font-size: 24px;
    line-height: 1.5;
    margin-bottom: 30px;
    letter-spacing: -0.4px;
}

.meet-us-button {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px 12px;
    border: 1px solid rgba(248, 247, 232, 0.4);
    border-radius: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.meet-us-button span {
    color: #F8F7E8;
    font-size: 16px;
}

.meet-us-button:hover {
    background-color: rgba(248, 247, 232, 0.1);
}

.team-image {
    width: 460px;
    height: 320px;
    position: relative;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}

.team-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
}

#myCanvas,
#myCanvas2,
#myCanvas3,
#myCanvas4,
#myCanvas5,
#myCanvas6,
#myCanvas7 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    pointer-events: none;
}
