/**
 * 产品页面样式
 */

/* Hero 区域 */
.product-hero {
    padding: 140px 0 60px;
    text-align: center;
    background: transparent;
}

.product-hero .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.product-hero-title {
    font-size: 38px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 24px 0;
    line-height: 1.2;
}

.product-hero-desc {
    font-size: 18px;
    color: #94979e;
    line-height: 1.8;
    margin: 0 0 32px;
}

.product-hero-desc p,
.product-hero-desc span {
    margin-bottom: 10px;
}

.product-hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* 视频展示区域 */
.product-video-section {
    padding: 20px 0 80px;
    position: relative;
}

.product-video-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.product-video-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

/* 视频播放器样式 */
.product-video {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    background: #000;
    display: block;
}

/* 视频无内容时的占位样式 */
.product-video:not([src]),
.product-video[src=""] {
    min-height: 400px;
    background: linear-gradient(135deg, #e8f0f8 0%, #dce8f5 100%);
}

/* 响应式 - Hero 和视频 */
@media (max-width: 992px) {
    .product-hero {
        padding: 120px 0 40px;
    }

    .product-hero-title {
        font-size: 36px;
    }

    .product-hero-desc {
        font-size: 15px;
    }

    .browser-content {
        min-height: 300px;
    }

    .video-placeholder {
        min-height: 300px;
        padding: 24px;
    }

    .video-placeholder-inner {
        padding: 32px 40px;
    }

    .video-title {
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .product-hero {
        padding: 100px 0 30px;
    }

    .product-hero-title {
        font-size: 28px;
    }

    .product-hero-desc {
        font-size: 14px;
    }

    .product-hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .browser-content {
        min-height: 250px;
    }

    .video-placeholder {
        min-height: 250px;
        padding: 16px;
    }

    .video-placeholder-inner {
        padding: 24px;
    }

    .video-title {
        font-size: 18px;
        flex-direction: column;
    }

    .video-subtitle {
        font-size: 14px;
    }

    .btn-video {
        padding: 12px 24px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .product-hero {
        padding: 110px 0 36px;
    }

    .product-hero-title {
        font-size: 32px;
    }

    .product-video-section {
        padding: 16px 0 60px;
    }

    .product-video {
        border-radius: 8px;
    }
}

/* 功能展示区域 */

.feature-block {
    padding: 80px 0;
}

.feature-block:first-of-type {
    padding-top: 120px;
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: flex-start;
}

.feature-row.reverse {
    direction: rtl;
}

.feature-row.reverse>* {
    direction: ltr;
}

/* 图片区域 */
.feature-image {
    display: flex;
    justify-content: center;
}

.feature-image img {
    width: 100%;
    max-width: 600px;
    height: 400px;
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
}

/* 文字区域 */
.feature-text {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-tag {
    font-size: 16px;
    letter-spacing: 1px;
    background-image: linear-gradient(270deg, rgb(9, 48, 145) 0%, rgb(23, 183, 255) 100%);
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    width: fit-content;
}

.feature-title {
    font-size: 42px;
    font-weight: 400;
    color: var(--color-text-main);
    margin: 0;
    line-height: 1.2;
}

.feature-desc {
    font-size: 16px;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* 列表 */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.check-icon {
    width: 26px;
    height: 26px;
    min-width: 26px;
    margin-top: 1px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='%230066FF'/%3E%3Cpath d='M9 12.5 L11 14.5 L15.5 10' stroke='%23fff' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

/* 按钮样式 */
.feature-text .btn {
    width: 120px;
    text-align: center;
    font-size: 16px;
}

/* 响应式 */
@media (max-width: 992px) {
    .feature-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .feature-row.reverse {
        direction: ltr;
    }

    .feature-block:first-of-type {
        padding-top: 100px;
    }

    .feature-title {
        font-size: 32px;
    }

    .feature-image img {
        max-width: 100%;
    }
}

@media (max-width: 768px) {

    /* 移动端：文字在上，图片在下 */
    .feature-row {
        display: flex;
        flex-direction: column;
    }

    .feature-text {
        order: 1;
    }

    .feature-image {
        order: 2;
    }
}

@media (max-width: 576px) {
    .feature-block {
        padding: 50px 0;
    }

    .feature-block:first-of-type {
        padding-top: 80px;
    }

    .feature-title {
        font-size: 28px;
    }

    .feature-row {
        gap: 32px;
    }

    .feature-list li {
        font-size: 14px;
    }
}