/* 
 * 醉琉科技信息发布平台 - 首页样式
 * 所有自定义类和ID使用zh_前缀
 * 配色参考Figma设计稿的绿色科技风格
 */

/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Helvetica Neue', Arial, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #000;
    overflow-x: hidden;
}

/* 容器样式 */
.zh_container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 主横幅区域 */
.zh_hero_banner {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #fff;
}

.zh_hero_banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(89, 255, 133, 0.1) 0%, transparent 60%),
        radial-gradient(circle at 80% 70%, rgba(89, 255, 133, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 90%, rgba(89, 255, 133, 0.05) 0%, transparent 40%);
    z-index: 1;
}

.zh_hero_content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.zh_hero_text {
    z-index: 3;
}

.zh_hero_title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff, #59ff85);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.zh_hero_subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.zh_hero_buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.zh_btn_primary, .zh_btn_secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.zh_btn_primary {
    background: linear-gradient(135deg, #59ff85, #4ae66d);
    color: #000;
}

.zh_btn_primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(89, 255, 133, 0.4);
}

.zh_btn_secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.zh_btn_secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #59ff85;
    color: #59ff85;
}

.zh_hero_image {
    position: relative;
    z-index: 2;
}

.zh_hero_image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.zh_hero_wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.zh_hero_wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
    color: #111;
}

/* 通用区块样式 */
.zh_section {
    padding: 80px 0;
    position: relative;
}

.zh_dining_section {
    background: linear-gradient(135deg, #111, #0a0a0a);
    color: #fff;
}

.zh_features_section {
    background: linear-gradient(135deg, #0f0f0f, #1a1a1a);
    color: #fff;
}

.zh_intro_section {
    background: linear-gradient(135deg, #111, #0a0a0a);
    color: #fff;
}

.zh_cta_section {
    background: linear-gradient(135deg, rgba(89, 255, 133, 0.1), rgba(0, 0, 0, 0.9));
    color: #fff;
    text-align: center;
}

.zh_section_header {
    text-align: center;
    margin-bottom: 60px;
}

.zh_section_title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.zh_section_title i {
    color: #59ff85;
    font-size: 2rem;
}

.zh_section_subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

/* 点餐信息网格 */
.zh_dining_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.zh_dining_card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.zh_dining_card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(89, 255, 133, 0.2);
    border-color: #59ff85;
}

.zh_card_link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.zh_card_image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.zh_card_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.zh_dining_card:hover .zh_card_image img {
    transform: scale(1.1);
}

.zh_card_overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: #fff;
    font-weight: 600;
    gap: 8px;
}

.zh_dining_card:hover .zh_card_overlay {
    opacity: 1;
}

.zh_card_content {
    padding: 20px;
}

.zh_card_title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #fff;
}

.zh_card_meta {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.zh_contact_info {
    display: flex;
    align-items: center;
    gap: 6px;
}

.zh_contact_info i {
    color: #59ff85;
}

/* 平台优势网格 */
.zh_features_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.zh_feature_card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.zh_feature_card:hover {
    transform: translateY(-10px);
    background: rgba(89, 255, 133, 0.1);
    border-color: #59ff85;
}

.zh_feature_icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #59ff85, #4ae66d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #000;
}

.zh_feature_card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #fff;
}

.zh_feature_card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* 平台介绍区域 */
.zh_intro_content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.zh_intro_title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 15px;
}

.zh_intro_title i {
    color: #59ff85;
}

.zh_intro_description {
    space-y: 20px;
}

.zh_intro_item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border-left: 4px solid #59ff85;
}

.zh_intro_item i {
    color: #59ff85;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.zh_intro_item span {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

.zh_intro_image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* 行动召唤区域 */
.zh_cta_content {
    max-width: 800px;
    margin: 0 auto;
}

.zh_cta_title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff, #59ff85);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.zh_cta_subtitle {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.8);
}

.zh_btn_cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    background: linear-gradient(135deg, #59ff85, #4ae66d);
    color: #000;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    border-radius: 35px;
    transition: all 0.3s ease;
}

.zh_btn_cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(89, 255, 133, 0.4);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .zh_hero_content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .zh_hero_title {
        font-size: 2.5rem;
    }
    
    .zh_hero_subtitle {
        font-size: 1rem;
    }
    
    .zh_hero_buttons {
        justify-content: center;
    }
    
    .zh_section {
        padding: 60px 0;
    }
    
    .zh_section_title {
        font-size: 2rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .zh_dining_grid {
        grid-template-columns: 1fr;
    }
    
    .zh_features_grid {
        grid-template-columns: 1fr;
    }
    
    .zh_intro_content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .zh_intro_title {
        justify-content: center;
        flex-direction: column;
        gap: 10px;
    }
    
    .zh_cta_title {
        font-size: 2rem;
    }
    
    .zh_container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .zh_hero_title {
        font-size: 2rem;
    }
    
    .zh_section_title {
        font-size: 1.8rem;
    }
    
    .zh_btn_primary, .zh_btn_secondary {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .zh_btn_cta {
        padding: 15px 30px;
        font-size: 16px;
    }
    
    .zh_feature_card {
        padding: 30px 20px;
    }
    
    .zh_intro_item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

/* 滚动动画优化 */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* 深色主题优化 */
@media (prefers-color-scheme: dark) {
    body {
        background: #000;
    }
}

/* 高对比度模式支持 */
@media (prefers-contrast: high) {
    .zh_btn_primary {
        border: 2px solid #000;
    }
    
    .zh_btn_secondary {
        border: 2px solid #fff;
    }
    
    .zh_dining_card, .zh_feature_card {
        border: 2px solid rgba(255, 255, 255, 0.3);
    }
}

/* 打印样式 */
@media print {
    .zh_hero_banner {
        background: #fff;
        color: #000;
        min-height: auto;
        padding: 40px 0;
    }
    
    .zh_hero_buttons {
        display: none;
    }
    
    .zh_section {
        padding: 20px 0;
        background: #fff !important;
        color: #000 !important;
    }
}