/* ==================== 动画效果 ==================== */
@keyframes mqh_fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes mqh_fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes mqh_pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes mqh_glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(102, 126, 234, 0.4);
    }
    50% {
        box-shadow: 0 0 40px rgba(102, 126, 234, 0.8);
    }
}

@keyframes mqh_gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes mqh_rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.mqh_animate_fadeIn {
    animation: mqh_fadeInUp 0.8s ease-out;
}

.mqh_animate_pulse {
    animation: mqh_pulse 2s ease-in-out infinite;
}

.mqh_animate_glow {
    animation: mqh_glow 2s ease-in-out infinite;
}

/* ==================== 视差滚动效果 ==================== */
.mqh_parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* ==================== 渐变背景 ==================== */
.mqh_gradient_bg {
    background: linear-gradient(-45deg, #667eea, #764ba2, #f093fb, #f5576c);
    background-size: 400% 400%;
    animation: mqh_gradient 15s ease infinite;
}

/* ==================== 主容器样式 ==================== */
.mqh_wrapper {
    font-family: 'Montserrat', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.mqh_container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== 版块样式 ==================== */
.mqh_section {
    padding: 80px 0;
}

.mqh_section_white {
    background-color: #ffffff;
}

.mqh_section_gray {
    background-color: #f8f9fa;
}

.mqh_section_purple {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
}

/* 标题样式 */
.mqh_title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: #6c4b7f;
}

.mqh_subtitle {
    font-size: 18px;
    text-align: center;
    color: #666;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.mqh_title_white {
    color: #ffffff;
}

.mqh_subtitle_white {
    color: #e0e0e0;
}

/* ==================== Banner版块 ==================== */
.mqh_banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 120px 0;
    text-align: center;
    color: #ffffff;
}

.mqh_banner h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mqh_banner p {
    font-size: 24px;
    font-weight: 300;
}

/* ==================== 产品卡片样式 ==================== */
.mqh_product_grid_4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.mqh_product_grid_8 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.mqh_product_card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    color: #333;
    display: block;
    position: relative;
    animation: mqh_fadeInUp 0.6s ease-out;
}

.mqh_product_card:nth-child(1) { animation-delay: 0.1s; }
.mqh_product_card:nth-child(2) { animation-delay: 0.2s; }
.mqh_product_card:nth-child(3) { animation-delay: 0.3s; }
.mqh_product_card:nth-child(4) { animation-delay: 0.4s; }

.mqh_product_card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.3);
}

.mqh_product_card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
    background-size: 200% 100%;
    animation: mqh_gradient 3s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mqh_product_card:hover::before {
    opacity: 1;
}

.mqh_product_image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #f0f0f0;
    position: relative;
}

.mqh_product_image::after {
    content: '🔥';
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    opacity: 0;
    transform: scale(0) rotate(-180deg);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.mqh_product_card:hover .mqh_product_image::after {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.mqh_product_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mqh_product_card:hover .mqh_product_image img {
    transform: scale(1.15);
}

.mqh_product_info {
    padding: 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.mqh_product_name {
    font-size: 16px;
    font-weight: 600;
    color: #6c4b7f;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.mqh_product_card:hover .mqh_product_name {
    color: #667eea;
}

.mqh_product_desc {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    transition: all 0.3s ease;
}

.mqh_product_card:hover .mqh_product_desc {
    color: #555;
    transform: translateY(-2px);
}

/* ==================== 内容样式 ==================== */
.mqh_content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: justify;
}

.mqh_content p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

.mqh_content h3 {
    font-size: 24px;
    font-weight: 700;
    color: #6c4b7f;
    margin-top: 40px;
    margin-bottom: 20px;
}

.mqh_content h4 {
    font-size: 20px;
    font-weight: 600;
    color: #667eea;
    margin-top: 30px;
    margin-bottom: 15px;
}

.mqh_highlight {
    color: #667eea;
    font-weight: 600;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==================== 科技感图标框样式 ==================== */
.mqh_icon_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.mqh_icon_box {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    padding: 45px 35px;
    border-radius: 20px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    animation: mqh_fadeInUp 0.6s ease-out;
}

.mqh_icon_box:nth-child(1) { animation-delay: 0.1s; }
.mqh_icon_box:nth-child(2) { animation-delay: 0.2s; }
.mqh_icon_box:nth-child(3) { animation-delay: 0.3s; }
.mqh_icon_box:nth-child(4) { animation-delay: 0.4s; }

.mqh_icon_box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mqh_icon_box::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    transform: scale(0.5);
}

.mqh_icon_box:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 20px 50px rgba(102, 126, 234, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.mqh_icon_box:hover::before {
    opacity: 1;
}

.mqh_icon_box:hover::after {
    opacity: 1;
    transform: scale(1);
}

.mqh_icon_wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 25px;
}

.mqh_icon_wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
    border-radius: 50%;
    opacity: 0;
    transition: all 0.4s ease;
}

.mqh_icon_box:hover .mqh_icon_wrapper::before {
    opacity: 1;
    animation: mqh_pulse 2s ease-in-out infinite;
}

.mqh_icon {
    font-size: 56px;
    display: block;
    position: relative;
    z-index: 1;
    transition: transform 0.4s ease;
    filter: drop-shadow(0 4px 8px rgba(102, 126, 234, 0.3));
}

.mqh_icon_box:hover .mqh_icon {
    transform: scale(1.2) rotate(5deg);
}

.mqh_icon_title {
    font-size: 22px;
    font-weight: 700;
    color: #6c4b7f;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.mqh_icon_desc {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* ==================== 科技感品牌故事样式（无图标版本） ==================== */
.mqh_brand_story {
    max-width: 900px;
    margin: 50px auto 0;
}

.mqh_story_item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 45px;
    padding: 40px;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    animation: mqh_fadeInUp 0.8s ease-out;
    border-left: 4px solid transparent;
}

.mqh_story_item:nth-child(1) { animation-delay: 0.1s; border-left-color: #667eea; }
.mqh_story_item:nth-child(2) { animation-delay: 0.2s; border-left-color: #764ba2; }
.mqh_story_item:nth-child(3) { animation-delay: 0.3s; border-left-color: #f093fb; }
.mqh_story_item:nth-child(4) { animation-delay: 0.4s; border-left-color: #f5576c; }
.mqh_story_item:nth-child(5) { animation-delay: 0.5s; border-left-color: #667eea; }
.mqh_story_item:nth-child(6) { animation-delay: 0.6s; border-left-color: #764ba2; }

.mqh_story_item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.03), rgba(118, 75, 162, 0.03));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mqh_story_item::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: all 0.5s ease;
    transform: scale(0.3);
}

.mqh_story_item:hover {
    transform: translateY(-8px) translateX(5px);
    box-shadow: 
        0 20px 50px rgba(102, 126, 234, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.mqh_story_item:hover::before,
.mqh_story_item:hover::after {
    opacity: 1;
}

.mqh_story_item:hover::after {
    transform: scale(1);
}

.mqh_story_content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.mqh_story_title {
    font-size: 24px;
    font-weight: 700;
    color: #6c4b7f;
    margin-bottom: 18px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    padding-bottom: 12px;
}

.mqh_story_title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.mqh_story_item:hover .mqh_story_title::after {
    width: 100px;
}

.mqh_story_content p {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin: 0;
    transition: color 0.3s ease;
}

.mqh_story_item:hover .mqh_story_content p {
    color: #333;
}

/* ==================== FAQ动态样式 ==================== */
.mqh_faq_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.mqh_faq_item {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    padding: 35px;
    border-radius: 20px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border-left: 4px solid transparent;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    animation: mqh_fadeInUp 0.6s ease-out;
}

.mqh_faq_item:nth-child(1) { animation-delay: 0.1s; border-left-color: #667eea; }
.mqh_faq_item:nth-child(2) { animation-delay: 0.2s; border-left-color: #764ba2; }
.mqh_faq_item:nth-child(3) { animation-delay: 0.3s; border-left-color: #f093fb; }
.mqh_faq_item:nth-child(4) { animation-delay: 0.4s; border-left-color: #f5576c; }
.mqh_faq_item:nth-child(5) { animation-delay: 0.5s; border-left-color: #667eea; }
.mqh_faq_item:nth-child(6) { animation-delay: 0.6s; border-left-color: #764ba2; }

.mqh_faq_item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.03), rgba(118, 75, 162, 0.03));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mqh_faq_item::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.6s ease;
}

.mqh_faq_item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 50px rgba(102, 126, 234, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.mqh_faq_item:hover::before {
    opacity: 1;
}

.mqh_faq_item:hover::after {
    left: 100%;
}

.mqh_faq_icon {
    font-size: 32px;
    margin-bottom: 20px;
    display: block;
    opacity: 0.6;
    transition: all 0.4s ease;
}

.mqh_faq_item:hover .mqh_faq_icon {
    opacity: 1;
    transform: scale(1.2) rotate(10deg);
}

.mqh_faq_question {
    font-size: 19px;
    font-weight: 700;
    color: #6c4b7f;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.mqh_faq_item:hover .mqh_faq_question {
    color: #667eea;
}

.mqh_faq_answer {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.mqh_faq_item:hover .mqh_faq_answer {
    color: #555;
    transform: translateY(-2px);
}

/* ==================== 简洁酷炫联系我们样式 ==================== */
.mqh_contact_section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 20px;
}

.mqh_contact_section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: mqh_rotate 30s linear infinite;
}

.mqh_contact_section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,0.1) 100%);
    pointer-events: none;
}

.mqh_contact_container {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.mqh_contact_title {
    font-size: 48px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.2);
    animation: mqh_fadeInUp 0.8s ease-out;
    letter-spacing: -1px;
}

.mqh_contact_title span {
    display: inline-block;
    animation: mqh_pulse 3s ease-in-out infinite;
}

.mqh_contact_desc {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 50px;
    line-height: 1.8;
    animation: mqh_fadeInUp 0.8s ease-out 0.2s;
    animation-fill-mode: both;
    font-weight: 300;
}

.mqh_cta_button {
    display: inline-block;
    padding: 20px 70px;
    background: #ffffff;
    color: #667eea;
    text-decoration: none;
    border-radius: 60px;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 
        0 15px 40px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255,255,255,0.8);
    animation: mqh_fadeInUp 0.8s ease-out 0.4s;
    animation-fill-mode: both;
    position: relative;
    overflow: hidden;
}

.mqh_cta_button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.mqh_cta_button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s ease;
}

.mqh_cta_button:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 
        0 25px 60px rgba(0,0,0,0.4),
        inset 0 1px 0 rgba(255,255,255,0.9);
}

.mqh_cta_button:hover::before {
    width: 300px;
    height: 300px;
}

.mqh_cta_button:hover::after {
    left: 100%;
}

.mqh_cta_button span {
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.mqh_cta_button:hover span {
    color: #ffffff;
}

.mqh_contact_info {
    margin-top: 40px;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    animation: mqh_fadeInUp 0.8s ease-out 0.6s;
    animation-fill-mode: both;
}

.mqh_contact_info a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    border-bottom: 1px dashed rgba(255,255,255,0.4);
    transition: all 0.3s ease;
}

.mqh_contact_info a:hover {
    color: #ffffff;
    border-bottom-style: solid;
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 1024px) {
    .mqh_product_grid_4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .mqh_product_grid_8 {
        grid-template-columns: repeat(3, 1fr);
    }

    .mqh_faq_grid {
        grid-template-columns: 1fr;
    }

    .mqh_contact_cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .mqh_section {
        padding: 50px 0;
    }

    .mqh_banner h1 {
        font-size: 32px;
    }

    .mqh_banner p {
        font-size: 18px;
    }

    .mqh_title {
        font-size: 28px;
    }

    .mqh_subtitle {
        font-size: 16px;
    }

    .mqh_product_grid_4,
    .mqh_product_grid_8 {
        grid-template-columns: 1fr;
    }

    .mqh_icon_grid {
        grid-template-columns: 1fr;
    }

    .mqh_story_item {
        flex-direction: column;
        text-align: center;
    }

    .mqh_contact_title {
        font-size: 32px;
    }

    .mqh_contact_cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .mqh_contact_card {
        padding: 25px 15px;
    }

    .mqh_cta_button {
        padding: 15px 40px;
        font-size: 16px;
    }
}

/* ==================== SEO优化 ==================== */
/* 确保图片alt文本和标题可读 */
img[alt], 
.mqh_product_name, 
.mqh_icon_title, 
.mqh_story_title, 
.mqh_faq_question {
    speak: none;
}

/* 支持屏幕阅读器 */
.mqh_product_card a:focus,
.mqh_cta_button:focus {
    outline: 3px solid #667eea;
    outline-offset: 2px;
}

/* 语义化标签支持 */
article, section, header, footer, nav {
    display: block;
}
