/* 核心技术页面样式 */

/* 主容器样式 */
.key-main {
    min-height: 100vh;
    background: #0a0a0a;
    color: #ffffff;
}

/* 第一个容器：核心技术展示 */
.core-technology-section {
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://oss.huanitech.com/HN/HN/HX1.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.core-tech-content {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

/* 技术展示区域 */
.tech-display-area {
    position: relative;
    width: 100%;
    height: 600px;
    margin-bottom: 2rem;
}

/* 屏幕区域 */
.tech-screens {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    gap: 2rem;
}

.screen {
    flex: 1;
    height: 400px;
    background: rgba(0, 20, 40, 0.9);
    border: 2px solid #00aaff;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 170, 255, 0.3);
}

.screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(0, 170, 255, 0.1) 50%, transparent 70%);
    animation: scan 3s linear infinite;
}

@keyframes scan {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.screen-content {
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 左侧屏幕内容 */
.tech-diagram {
    position: relative;
    height: 100%;
}

.diagram-element {
    position: absolute;
    background: #00aaff;
    border-radius: 4px;
}

.main-component {
    width: 120px;
    height: 80px;
    top: 20%;
    left: 20%;
    background: linear-gradient(45deg, #00aaff, #0088cc);
    box-shadow: 0 0 20px rgba(0, 170, 255, 0.5);
}

.sub-component {
    width: 60px;
    height: 40px;
    top: 50%;
    left: 60%;
    background: linear-gradient(45deg, #00ccff, #00aaff);
    box-shadow: 0 0 15px rgba(0, 204, 255, 0.4);
}

.waveform {
    width: 200px;
    height: 4px;
    top: 70%;
    left: 10%;
    background: repeating-linear-gradient(
        90deg,
        #00aaff 0px,
        #00aaff 4px,
        transparent 4px,
        transparent 8px
    );
    animation: wave 2s ease-in-out infinite;
}

@keyframes wave {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* 右侧屏幕内容 */
.robot-interface {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.robot-diagram {
    width: 150px;
    height: 200px;
    margin: 0 auto;
    background: linear-gradient(45deg, #00aaff, #0088cc);
    border-radius: 20px;
    position: relative;
    box-shadow: 0 0 25px rgba(0, 170, 255, 0.4);
}

.robot-diagram::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

.interface-panel {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.panel-item {
    padding: 0.5rem 1rem;
    background: rgba(0, 170, 255, 0.2);
    border: 1px solid #00aaff;
    border-radius: 4px;
    color: #00aaff;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    text-align: center;
    transition: all 0.3s ease;
}

.panel-item:hover {
    background: rgba(0, 170, 255, 0.3);
    box-shadow: 0 0 10px rgba(0, 170, 255, 0.5);
}

/* 人物角色 */
.tech-characters {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.character {
    position: absolute;
    width: 80px;
    height: 120px;
    background: rgba(0, 170, 255, 0.1);
    border: 2px solid #00aaff;
    border-radius: 10px;
}

.left-character {
    left: 10%;
    top: 20%;
    transform: rotate(-15deg);
}

.right-character {
    right: 10%;
    top: 30%;
    transform: rotate(15deg);
}

/* 标题区域 */
.tech-title {
    text-align: center;
    margin-top: 2rem;
}

.tech-title h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(0, 170, 255, 0.5);
    letter-spacing: 0.1em;
}

.tech-title h2 {
    font-size: 2rem;
    font-weight: 400;
    color: #00aaff;
    letter-spacing: 0.2em;
    text-shadow: 0 0 15px rgba(0, 170, 255, 0.3);
}

/* ===== 第七个容器样式：加入我们 ===== */
.tech-section-7 {
    min-height: 60vh;          
    padding: 0;                
    display: flex;            
    align-items: center;       
    justify-content: center;  
    background: #ffffff;       
    color: #333333;           
}

/* 第六个容器样式 - 白色背景 */
.tech-section-6 {
    min-height: 60vh;
    padding: 4rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #333333;
}

/* 第五个容器样式 - 白色背景 */
.tech-section-5 {
    min-height: 60vh;
    padding: 4rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #333333;
}

/* 第四个容器样式 - 白色背景 */
.tech-section-4 {
    min-height: 60vh;
    padding: 4rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #333333;
}

/* 第三个容器样式 - 白色背景 */
.tech-section-3 {
    min-height: 50vh;
    padding: 4rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #333333;
}

/* 第二个容器样式 - 白色背景 */
.tech-section-2 {
    min-height: 60vh;
    padding: 4rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #333333;
}

/* 通用section样式 */
.tech-section-2 h2,
.tech-section-3 h2,
.tech-section-4 h2,
.tech-section-5 h2,
.tech-section-6 h2 {
    font-size: 2.5rem;
    color: #333333;
    margin-bottom: 1rem;
    text-align: center;
}

.tech-section-2 p,
.tech-section-3 p,
.tech-section-4 p,
.tech-section-5 p,
.tech-section-6 p {
    font-size: 1.2rem;
    color: #666666;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

/* 第二个容器的内容布局 */
.tech-content-wrapper {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.tech-image-area {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tech-image-container {
    position: relative;
    max-width: 500px;
    width: 100%;
}

.tech-main-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.tech-text-area {
    flex: 1;
    padding: 2rem;
}

.tech-text-content {
    max-width: 500px;
}

.tech-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333333;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.tech-subtitle {
    font-size: 1.2rem;
    color: #666666;
    margin-bottom: 2rem;
    font-weight: 400;
}

.tech-description {
    margin-bottom: 2rem;
}

.tech-paragraph {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666666;
    margin-bottom: 1.5rem;
    text-align: left;
}

.tech-paragraph strong {
    color: #333333;
    font-weight: 600;
}

/* 第四个容器的列表样式 */
.tech-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tech-list-item {
    margin-bottom: 1.5rem;
}

.tech-list-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.tech-list-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tech-list-item li {
    font-size: 1rem;
    line-height: 1.6;
    color: #666666;
    margin-bottom: 0.5rem;
    padding-left: 1.2rem;
    position: relative;
}

.tech-list-item li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #00aaff;
    font-weight: bold;
}

/* 第四个容器的特殊布局 */
.tech-section-4 .tech-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
    margin-bottom: 3rem;
}

/* 左侧技术特点 */
.tech-features-left {
    flex: 1;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tech-features-right {
    flex: 1;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tech-feature-container {
    background: rgba(173, 216, 230, 0.1);
    border: 2px solid #add8e6;
    border-radius: 15px;
    padding: 1.5rem;
    height: auto;
}

.tech-features-right .tech-feature-container {
    background: rgba(176, 158, 224, 0.1);
    border-color: #7a6997;
}

.tech-feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 1rem;
    text-align: center;
}

.tech-feature-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tech-feature-content li {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #666666;
    margin-bottom: 0.4rem;
    padding-left: 1rem;
    position: relative;
}

.tech-feature-content li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #00aaff;
    font-weight: bold;
}

/* 中间产品图片 */
.tech-center-image {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.tech-center-image .tech-image-container {
    max-width: 250px;
    width: 100%;
    position: relative;
}

.tech-center-image .tech-main-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.tech-image-label {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: #00aaff;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}

/* 底部技术标签 */
.tech-bottom-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
}

.tech-label {
    background: rgba(0, 170, 255, 0.1);
    border: 1px solid #00aaff;
    border-radius: 20px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    color: #333333;
    text-align: center;
    max-width: 200px;
}

/* 底部集成横幅 */
.tech-integration-banner {
    background: linear-gradient(45deg, #0c0b0e, #4b4864);
    color: white;
    padding: 1rem 2rem;
    border-radius: 25px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(122, 109, 167, 0.3);
    max-width: 400px;
    margin: 0 auto;
}

/* 第三个容器的特殊布局 */
.tech-section-3 .tech-content-wrapper {
    justify-content: center;
    text-align: center;
}

.tech-section-3 .tech-text-area {
    flex: none;
    max-width: 800px;
    margin: 0 auto;
}

.tech-section-3 .tech-text-content {
    max-width: 100%;
}

.tech-section-3 .tech-section-title {
    text-align: center;
    margin-bottom: 2rem;
}

.tech-section-3 .tech-paragraph {
    text-align: left;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666666;
    margin-bottom: 0;
}

/* 第五个容器的特殊布局 */
.tech-section-5 .tech-content-wrapper {
    flex-direction: row;
    align-items: center;
    gap: 4rem;
}

/* 技术卡片区域 */
.tech-cards-area {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tech-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 480px;
    width: 100%;
}

.tech-card {
    background: rgba(53, 53, 73, 0.05);
    border: 2px solid rgba(185, 161, 247, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    height: auto;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-card:hover {
    background: rgba(250, 253, 255, 0.1);
    border-color: rgba(147, 134, 194, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(232, 234, 235, 0.2);
}

.tech-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.tech-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333333;
    margin: 0;
    line-height: 1.4;
}

.tech-card-icon {
    font-size: 2rem;
    margin-top: 0.5rem;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .tech-screens {
        flex-direction: column;
        gap: 1rem;
    }
    
    .screen {
        height: 300px;
    }
    
    .tech-display-area {
        height: auto;
        min-height: 500px;
    }
    
    .tech-title h1 {
        font-size: 2.5rem;
    }
    
    .tech-title h2 {
        font-size: 1.5rem;
    }
    
    .tech-content-wrapper {
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .tech-section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .core-tech-content {
        padding: 1rem;
    }
    
    .screen {
        height: 250px;
    }
    
    .screen-content {
        padding: 1rem;
    }
    
    .tech-title h1 {
        font-size: 2rem;
    }
    
    .tech-title h2 {
        font-size: 1.2rem;
    }
    
    .main-component {
        width: 80px;
        height: 60px;
    }
    
    .sub-component {
        width: 40px;
        height: 30px;
    }
    
    .robot-diagram {
        width: 100px;
        height: 150px;
    }
    
    .panel-item {
        font-size: 0.8rem;
        padding: 0.3rem 0.8rem;
    }
    
    .tech-content-wrapper {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .tech-text-area {
        padding: 1rem;
    }
    
    .tech-section-title {
        font-size: 1.8rem;
    }
    
    .tech-subtitle {
        font-size: 1rem;
    }
    
    .tech-paragraph {
        font-size: 1rem;
        text-align: center;
    }
    
    .tech-section-3 .tech-text-area {
        max-width: 100%;
        padding: 1rem;
    }
    
    .tech-section-3 .tech-paragraph {
        text-align: center;
    }
    
    .tech-section-4 .tech-content-wrapper {
        flex-direction: column;
        gap: 2rem;
        margin-bottom: 2rem;
    }
    
    .tech-features-left,
    .tech-features-right {
        max-width: 100%;
    }
    
    .tech-feature-container {
        padding: 1rem;
    }
    
    .tech-feature-title {
        font-size: 1.2rem;
    }
    
    .tech-feature-content li {
        font-size: 0.9rem;
    }
    
    .tech-center-image .tech-image-container {
        max-width: 200px;
    }
    
    .tech-bottom-labels {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .tech-label {
        max-width: 100%;
    }
    
    .tech-integration-banner {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }
    
    .tech-section-4 .tech-text-area {
        padding: 1rem;
    }
    
    .tech-section-4 .tech-image-area {
        padding-top: 0;
    }
    
    .tech-section-4 .tech-section-title,
    .tech-section-4 .tech-subtitle {
        text-align: center;
    }
    
    .tech-list-item h4 {
        font-size: 1.1rem;
    }
    
    .tech-list-item li {
        font-size: 0.9rem;
    }
    
    .tech-section-5 .tech-content-wrapper {
        flex-direction: column;
        gap: 2rem;
    }
    
    .tech-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .tech-card {
        padding: 1rem;
        height: auto;
        min-height: 80px;
    }
    
    .tech-card-title {
        font-size: 0.9rem;
    }
    
    .tech-card-icon {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .tech-screens {
        gap: 0.5rem;
    }
    
    .screen {
        height: 200px;
    }
    
    .tech-title h1 {
        font-size: 1.5rem;
    }
    
    .tech-title h2 {
        font-size: 1rem;
    }
    
    .character {
        width: 60px;
        height: 90px;
    }
    
    .tech-content-wrapper {
        padding: 0 0.5rem;
    }
    
    .tech-section-title {
        font-size: 1.5rem;
    }
    
    .tech-subtitle {
        font-size: 0.9rem;
    }
    
    .tech-paragraph {
        font-size: 0.9rem;
    }
    
    .tech-section-3 .tech-text-area {
        padding: 0.5rem;
    }
    
    .tech-section-4 .tech-text-area {
        padding: 0.5rem;
    }
    
    .tech-feature-container {
        padding: 0.8rem;
    }
    
    .tech-feature-title {
        font-size: 1.1rem;
    }
    
    .tech-feature-content li {
        font-size: 0.8rem;
    }
    
    .tech-center-image .tech-image-container {
        max-width: 150px;
    }
    
    .tech-image-label {
        font-size: 0.8rem;
        padding: 0.3rem 0.8rem;
    }
    
    .tech-label {
        font-size: 0.8rem;
        padding: 0.3rem 0.8rem;
    }
    
    .tech-integration-banner {
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
    }
    
    .tech-list-item h4 {
        font-size: 1rem;
    }
    
    .tech-list-item li {
        font-size: 0.8rem;
    }
    
    .tech-cards-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .tech-card {
        padding: 0.8rem;
        height: auto;
        min-height: 60px;
    }
    
    .tech-card-title {
        font-size: 0.8rem;
    }
    
    .tech-card-icon {
        font-size: 1.2rem;
    }
}

/* 动画效果 */
.core-technology-section {
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 悬停效果 */
.screen:hover {
    box-shadow: 0 0 40px rgba(239, 246, 248, 0.5);
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

.robot-diagram:hover {
    box-shadow: 0 0 35px rgba(240, 244, 247, 0.6);
    transform: scale(1.05);
    transition: all 0.3s ease;
}

/* 内容包装器：让内容占满整个容器 */
.tech-section-7 .tech-content-wrapper {
    width: 100%;               
    max-width: none;           
    margin: 0;                 
    padding: 0;               
}

/* 图片区域：设置图片容器样式 */
.tech-section-7 .tech-image-area {
    flex: 1;                   
    width: 100%;              
    height: 60vh;              
    position: relative;       
}

/* 图片容器：控制图片的显示 */
.tech-section-7 .tech-image-container {
    position: relative;        
    width: 100%;               
    height: 100%;            
    max-width: none;           
}

/* 主图片：设置图片填充整个容器 */
.tech-section-7 .tech-main-image {
    width: 100%;               
    height: 100%;              
    object-fit: cover;         
    border-radius: 0;          
    box-shadow: none;          
}

/* 文字覆盖层：在图片上方显示文字 */
.tech-section-7 .tech-text-overlay {
    position: absolute;        
    top: 0;                    
    left: 0;                   
    right: 0;                  
    bottom: 0;                 
    display: flex;            
    flex-direction: column;   
    justify-content: center;   
    align-items: center;       
    text-align: center;        
    padding: 2rem;             
    background: rgba(255, 255, 255, 0.9); /* 半透明白色背景 */
}

/* 标题样式：大号粗体标题 */
.tech-section-7 .tech-section-title {
    font-size: 3rem;           
    font-weight: 700;         
    color: #333333;            
    margin-bottom: 1.5rem;     
    line-height: 1.2;          
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); 
}

/* 段落样式：描述文字 */
.tech-section-7 .tech-paragraph {
    font-size: 1.3rem;         
    line-height: 1.8;          
    color: #333333;            
    margin-bottom: 0;          
    text-align: center;        
    max-width: 800px;          
    font-weight: 400;          
}
