/* ============================================================
 * 悦互动官网 - 样式文件
 * 文件: css/pages/price.css
 * 悦多网络版权所有 © YueDuo Network. All Rights Reserved.
 * ============================================================ */

/* price.html 页面专属样式（自内联 <style> 抽离） */
/* ===== 价格套餐页专用样式 ===== */
/* 统一背景区 */
.price-page-bg {
    position: relative;
    z-index: 0;
    overflow: hidden;
    background: #FFFFFF;
}
/* Hero轮播区 */
.price-hero {
    padding: 96px 0 0;
    background: transparent;
}
.price-hero .hero-carousel {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.price-hero .carousel-track {
    aspect-ratio: 1200 / 360;
}
.price-hero .carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
@media (max-width: 768px) {
    .price-hero {
        padding: 80px 0 0;
    }
    .price-hero .hero-carousel {
        border-radius: 0;
    }
    .price-hero .carousel-track {
        aspect-ratio: 1200 / 360;
    }
}
/* 功能展示区统一背景 */
.product-area {
    position: relative;
    z-index: 0;
    overflow: hidden;
}
.price-section {
    padding: 96px 0 56px;
    background: transparent;
    position: relative;
    z-index: 1;
}
.price-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: stretch;
}
.price-card {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 24px 20px 20px;
    position: relative;
    transition: all 0.35s ease;
    box-shadow: 0 1px 6px rgba(15,23,42,0.04);
    display: flex;
    flex-direction: column;
}
.price-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 1.5px;
    background: linear-gradient(135deg, #BFDBFE, #2563EB, #60A5FA, #2563EB, #BFDBFE);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.7;
    transition: opacity 0.35s ease;
}
.price-card:hover::before {
    opacity: 1;
}
.price-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px -8px rgba(15,23,42,0.1);
}
.price-card.recommended {
    box-shadow: 0 4px 16px rgba(37,99,235,0.08);
}
.price-card.recommended:hover {
    box-shadow: 0 12px 32px -8px rgba(37,99,235,0.15);
}
.price-rec-tag {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: #DC2626;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 14px;
    border-radius: 0 0 8px 8px;
    letter-spacing: 0.06em;
}
.price-name {
    font-size: 20px;
    font-weight: 800;
    color: #2563EB;
    text-align: center;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}
.price-desc {
    font-size: 12px;
    color: #64748B;
    text-align: center;
    line-height: 1.5;
    margin-bottom: 14px;
    min-height: 36px;
}
.price-desc strong {
    color: #DC2626;
    font-weight: 600;
}
.price-features {
    flex: 1;
}
.price-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #BFDBFE, #2563EB, #BFDBFE, transparent);
    margin: 8px 0;
}
.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    font-size: 12px;
    color: #475569;
    border-bottom: 1px solid #F1F5F9;
}
.price-row:last-child {
    border-bottom: none;
}
.price-row .val {
    font-weight: 600;
    color: #0F172A;
}
.price-row .val.support {
    color: #059669;
}
.price-row .val.none {
    color: #94A3B8;
}
.price-cta-wrap {
    margin-top: 16px;
}
.price-cta {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px 0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}
.price-cta.primary {
    background: linear-gradient(135deg, #2563EB, #7C3AED);
    color: #fff;
    box-shadow: 0 4px 16px rgba(37,99,235,0.3);
}
.price-cta.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37,99,235,0.4);
}

/* 悦多网络版权所有 */
.price-cta.outline {
    background: #FFFFFF;
    color: #2563EB;
    border: 1.5px solid #2563EB;
}
.price-cta.outline:hover {
    background: #EFF6FF;
}

/* ===== Modal Poster ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.modal-box {
    position: relative;
    max-width: min(480px, 90vw);
    max-height: min(760px, 82vh);
    width: auto;
    height: auto;
    transform: scale(0.92) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.modal-overlay.active .modal-box {
    transform: scale(1) translateY(0);
}
.modal-box img {
    width: 100%;
    height: 100%;
    max-height: 82vh;
    object-fit: contain;
    display: block;
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(15,23,42,0.35);
}
.modal-close {
    position: absolute;
    top: -44px;
    right: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #64748B;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.modal-close:hover {
    background: #fff;
    color: #DC2626;
    transform: rotate(90deg);
}
@media (max-width: 768px) {
    .modal-box {
        max-width: 88vw;
        max-height: 78vh;
    }
    .modal-close {
        top: -40px;
        width: 32px;
        height: 32px;
        font-size: 18px;
    }
}

/* FAQ */
.faq-section {
    padding: 56px 0 72px;
    background: transparent;
    position: relative;
    z-index: 1;
}
.faq-section h2 {
    font-size: 28px;
    font-weight: 800;
    color: #0F172A;
    text-align: center;
    margin-bottom: 36px;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #2563EB 0%, #7C3AED 50%, #EC4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.faq-item {
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(15,23,42,0.04);
    border: 1px solid #E2E8F0;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.faq-item:hover {
    border-color: #BFDBFE;
    box-shadow: 0 4px 12px rgba(15,23,42,0.06);
}
.faq-item.open {
    border-color: #2563EB;
    box-shadow: 0 4px 16px rgba(37,99,235,0.08);
}
.faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 500;
    color: #0F172A;
    cursor: pointer;
    transition: background 0.2s ease;
}
.faq-q:hover {
    background: #F8FAFC;
}
.faq-q::after {
    content: '+';
    font-size: 16px;
    font-weight: 400;
    color: #94A3B8;
    transition: all 0.3s ease;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #F1F5F9;
}
.faq-item.open .faq-q::after {
    content: '−';
    color: #2563EB;
    background: #EFF6FF;
}
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.open .faq-a {
    max-height: 200px;
    padding: 0 18px 14px;
}
.faq-a p {
    font-size: 13px;
    color: #64748B;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .price-section { padding: 32px 0 40px; }
    .price-grid { grid-template-columns: 1fr; gap: 16px; }
    .price-card { padding: 20px 18px; }
    .faq-section h2 { font-size: 22px; margin-bottom: 24px; }
    .faq-grid { grid-template-columns: 1fr; gap: 12px; }
    .faq-q { padding: 12px 16px; font-size: 13px; }
    .faq-item.open .faq-a { padding: 0 16px 12px; }
}

/* 悦多网络版权所有 */
