/* ==================================================
   筱绎工作室 产品详情页样式（GEO 优化版）
   配套文件：products/*.html
   ================================================== */

/* 面包屑导航 */
.breadcrumb {
    padding: 110px 0 20px;
    background: #f8f9fa;
    font-size: 0.95rem;
}
.breadcrumb .container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.breadcrumb a {
    color: #6a11cb;
    text-decoration: none;
}
.breadcrumb a:hover {
    text-decoration: underline;
}
.breadcrumb .sep {
    color: #aaa;
}
.breadcrumb .current {
    color: #555;
}

/* 产品页头部 */
.product-page-hero {
    padding: 30px 0 60px;
    background: #f8f9fa;
    /* 定位并裁剪 ::before 闪光装饰，防止其超出视口造成页面横向滚动 */
    position: relative;
    overflow: hidden;
}
.product-page-hero .container {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    border-radius: 20px;
    padding: 50px 40px;
    color: #fff;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}
.product-page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 100%);
    transform: rotate(45deg);
    animation: pshine 4s infinite;
}
@keyframes pshine {
    0% { transform: rotate(45deg) translateX(-100%); }
    100% { transform: rotate(45deg) translateX(100%); }
}
.product-page-hero h1 {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}
.product-page-hero .hero-tagline {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 760px;
    position: relative;
    z-index: 1;
}
.product-page-hero .hero-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
    position: relative;
    z-index: 1;
}
.hero-fact {
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 30px;
    padding: 6px 16px;
    font-size: 0.92rem;
    backdrop-filter: blur(4px);
}

/* 内容区块 */
.product-section {
    padding: 60px 0;
    background: #fff;
}
.product-section.alt {
    background: #f8f9fa;
}
.product-section h2 {
    font-size: 1.9rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 14px;
    position: relative;
    padding-bottom: 12px;
}
.product-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70px;
    height: 4px;
    background: linear-gradient(to right, #6a11cb, #2575fc);
    border-radius: 2px;
}
.product-section .lead {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
    max-width: 100%;
}

/* 特性网格 */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 10px;
}
.feature-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 24px 20px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.1);
}
.feature-item .fi-icon {
    font-size: 1.8rem;
    margin-bottom: 10px;
}
.feature-item h3 {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 8px;
}
.feature-item p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
}

/* 使用步骤（HowTo） */
.steps-list {
    list-style: none;
    counter-reset: step;
    margin-top: 10px;
}
.steps-list li {
    counter-increment: step;
    position: relative;
    padding: 18px 20px 18px 74px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    margin-bottom: 14px;
    font-size: 1.02rem;
    color: #444;
    line-height: 1.7;
}
.steps-list li::before {
    content: counter(step);
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.steps-list li strong {
    color: #2c3e50;
}

/* 应用场景 */
.scenario-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 10px;
}
.scenario-item {
    background: #fff;
    border: 1px solid #eee;
    border-left: 4px solid #6a11cb;
    border-radius: 10px;
    padding: 18px 20px;
    color: #444;
    line-height: 1.7;
}
.scenario-item strong {
    color: #2c3e50;
}

/* 常见问题 FAQ */
.faq-list {
    margin-top: 10px;
}
.faq-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
}
.faq-item summary {
    cursor: pointer;
    padding: 18px 22px;
    font-size: 1.05rem;
    font-weight: 600;
    color: #2c3e50;
    list-style: none;
    position: relative;
    padding-right: 50px;
}
.faq-item summary::-webkit-details-marker {
    display: none;
}
.faq-item summary::after {
    content: '\002B';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    color: #6a11cb;
    transition: transform 0.3s;
}
.faq-item[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
}
.faq-item .faq-answer {
    padding: 0 22px 20px;
    color: #555;
    line-height: 1.8;
    font-size: 1rem;
}

/* 对比表 */
.compare-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}
.compare-table th,
.compare-table td {
    padding: 14px 18px;
    border-bottom: 1px solid #eee;
    text-align: left;
    font-size: 0.98rem;
    color: #444;
}
.compare-table thead th {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: #fff;
    font-weight: 600;
}
.compare-table tbody tr:hover {
    background: #f8f6ff;
}
.compare-table .yes {
    color: #16a34a;
    font-weight: 700;
}
.compare-table .no {
    color: #dc2626;
}

/* CTA 区块 */
.cta-section {
    padding: 70px 0;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: #fff;
    text-align: center;
}
.cta-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #fff;
}
.cta-section p {
    font-size: 1.15rem;
    opacity: 0.95;
    margin-bottom: 30px;
}
.cta-qr {
    display: inline-block;
    background: #fff;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}
.cta-qr img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    display: block;
}
.cta-qr .qr-label {
    margin-top: 10px;
    font-size: 0.92rem;
    color: #666;
    text-align: center;
}
.cta-note {
    margin-top: 20px;
    font-size: 0.95rem;
    opacity: 0.85;
}

/* PC 端软件下载 CTA */
.cta-download {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: #6a11cb;
    font-weight: 700;
    font-size: 1.15rem;
    padding: 14px 34px;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cta-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.25);
    color: #2575fc;
}

/* 相关产品 */
.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 10px;
}
.related-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 22px 18px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.related-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
    border-color: #6a11cb;
}
.related-card .rc-icon {
    font-size: 1.6rem;
    margin-bottom: 8px;
}
.related-card .rc-name {
    font-weight: 700;
    color: #2c3e50;
    font-size: 1.02rem;
    margin-bottom: 6px;
}
.related-card .rc-desc {
    font-size: 0.85rem;
    color: #888;
    line-height: 1.5;
}

/* 响应式 */
@media (max-width: 992px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .product-page-hero h1 {
        font-size: 2.1rem;
    }
}
@media (max-width: 768px) {
    .product-page-hero .container {
        padding: 35px 24px;
    }
    .product-page-hero h1 {
        font-size: 1.8rem;
    }
    .product-page-hero .hero-tagline {
        font-size: 1.05rem;
    }
    .product-section {
        padding: 45px 0;
    }
    .scenario-list {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 576px) {
    /* 移动端固定导航栏为纵向布局（高度约 105px+），面包屑需预留更大顶部空间，避免被导航栏遮住 */
    .breadcrumb {
        padding-top: 140px;
    }
    .feature-grid {
        grid-template-columns: 1fr;
    }
    .related-grid {
        grid-template-columns: 1fr;
    }
    .compare-table {
        display: block;
        overflow-x: auto;
    }
}

/* 功能说明 */
.feature-detail-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 10px;
}
.feature-detail-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 24px 22px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-detail-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.1);
}
.feature-detail-item .fd-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: #fff;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.feature-detail-item h3 {
    font-size: 1.08rem;
    color: #2c3e50;
    margin-bottom: 8px;
}
.feature-detail-item p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.8;
}
@media (max-width: 768px) {
    .feature-detail-list {
        grid-template-columns: 1fr;
    }
    .feature-detail-item {
        padding: 20px 16px;
    }
}
