/* 定价页面样式 */

.price-page {
    width: 100%;
    overflow-x: hidden;
    margin-top: 0;
    padding: calc(56px + 60px) 0 80px;
    min-height: calc(100vh - 56px);
    background: linear-gradient(180deg, #fff 0%, #f0f4ff 100%); /* 与首页 banner 区域相同的渐变 */
}

.price-container {
    max-width: 1248px; /* 与首页 banner-container 统一 */
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* 页面标题 */
.price-header {
    text-align: center;
    margin-bottom: 80px; /* 与首页间距统一 */
}

.price-title {
    font-size: 52px; /* 与首页 banner-title 统一 */
    font-weight: 600;
    line-height: 1.2;
    color: #0355E3; /* 与首页 banner-title 颜色统一 */
    margin: 0 0 16px 0;
}

.price-subtitle {
    font-size: 24px; /* 与首页 banner-subtitle 统一 */
    font-weight: 500;
    color: #000;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.price-header p:last-of-type {
    font-size: 17px; /* 与首页 banner-desc 统一 */
    line-height: 28px;
    color: #6f7174; /* 与首页 banner-desc 颜色统一 */
    margin: 0;
}

/* 方案列表容器 */
.price-plans {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 固定4列 */
    gap: 24px; /* 减小间距以确保4列能放下 */
    margin-top: 0;
}

/* 方案卡片 */
.price-plan {
    background: #fff;
    border-radius: 12px; /* 与首页卡片圆角统一 */
    padding: 32px 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); /* 与首页按钮动画统一 */
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.price-plan:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.06);
}

/* 推荐方案 */
.price-plan-recommended {
    border: 2px solid #13D08C;
    position: relative;
    box-shadow: 0 4px 16px rgba(19, 208, 140, 0.15), 0 0 0 1px rgba(19, 208, 140, 0.2);
}

.price-plan-recommended:hover {
    box-shadow: 0 12px 40px rgba(19, 208, 140, 0.2), 0 0 0 1px rgba(19, 208, 140, 0.3);
}

.plan-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
    letter-spacing: 0.3px;
}

/* 方案头部 */
.plan-header {
    margin-bottom: 24px;
}

.plan-title {
    font-size: 24px;
    font-weight: 600;
    color: #000;
    margin: 0;
    line-height: 1.3;
}

/* 价格 */
.plan-price {
    margin-bottom: 20px;
}

.price-amount {
    font-size: 40px; /* 增大字体，更突出 */
    font-weight: 700;
    color: #0355E3;
    line-height: 1.2;
}

.price-period {
    font-size: 17px; /* 与首页字体大小统一 */
    color: #6f7174; /* 与首页文字颜色统一 */
    margin-left: 4px;
    font-weight: 400;
}

/* 用户限制 */
.plan-users {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06); /* 与首页边框颜色统一 */
}

.users-label {
    font-size: 15px; /* 与首页字体大小统一 */
    color: #6f7174; /* 与首页文字颜色统一 */
    font-weight: 400;
}

/* 功能列表 */
.plan-features {
    flex: 1;
    margin-bottom: 32px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 15px;
    color: #1a1a1a; /* 与首页文字颜色统一 */
    line-height: 1.5;
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-check {
    color: #13D08C;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

/* 操作按钮 */
.plan-action {
    margin-top: auto;
}

.plan-button {
    display: block;
    width: 100%;
    padding: 14px 32px; /* 与首页按钮 padding 统一 */
    background: #fff;
    color: #0355E3;
    text-align: center;
    text-decoration: none;
    border-radius: 8px; /* 与首页按钮圆角统一 */
    font-size: 17px; /* 与首页按钮字体大小统一 */
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); /* 与首页按钮动画统一 */
    border: 2px solid #0355E3;
    position: relative;
    overflow: hidden;
}

.plan-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(3, 85, 227, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.plan-button:hover::before {
    width: 300px;
    height: 300px;
}

.plan-button:hover {
    background: #f0f4ff; /* 与首页 btn-coupon hover 统一 */
    border-color: #0244b8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(3, 85, 227, 0.2);
}

.plan-button:active {
    transform: translateY(0);
}

.plan-button-primary {
    background: #0355E3; /* 与首页 btn-join 统一 */
    color: #fff;
    border-color: #0355E3;
}

.plan-button-primary::before {
    background: rgba(255, 255, 255, 0.3);
}

.plan-button-primary:hover {
    background: #0244b8; /* 与首页 btn-join hover 统一 */
    border-color: #0244b8;
    box-shadow: 0 6px 20px rgba(3, 85, 227, 0.4);
}

.plan-button-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(3, 85, 227, 0.3);
}

.plan-button:focus, .plan-button-primary:focus {
    outline: 2px solid #0355E3;
    outline-offset: 2px;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .price-plans {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .price-page {
        padding: calc(56px + 60px) 0 50px; /* 与首页移动端 padding 统一 */
    }
    
    .price-container {
        padding: 0 16px; /* 与首页移动端 padding 统一 */
    }
    
    .price-header {
        margin-bottom: 60px;
    }
    
    .price-title {
        font-size: 32px; /* 与首页移动端 banner-title 统一 */
    }
    
    .price-subtitle {
        font-size: 20px; /* 与首页移动端 banner-subtitle 统一 */
    }
    
    .price-header p:last-of-type {
        font-size: 15px; /* 与首页移动端 banner-desc 统一 */
        line-height: 24px;
    }
    
    .price-plans {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .price-plan {
        padding: 24px 20px;
    }
    
    .price-amount {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .price-title {
        font-size: 28px;
    }
    
    .price-subtitle {
        font-size: 18px;
    }
    
    .price-header p:last-of-type {
        font-size: 14px;
        line-height: 22px;
    }
    
    .price-plan {
        padding: 20px 16px;
    }
    
    .plan-title {
        font-size: 20px;
    }
    
    .price-amount {
        font-size: 32px;
    }
    
    .plan-button {
        padding: 12px 24px;
        font-size: 16px;
    }
}

/* 对比表格区块 */
.price-comparison {
    margin-top: 120px;
    padding-top: 80px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.comparison-header {
    text-align: center;
    margin-bottom: 64px;
}

.comparison-title {
    font-size: 48px;
    font-weight: 700;
    background: linear-gradient(135deg, #0355E3 0%, #13D08C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.comparison-subtitle {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    font-weight: 400;
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin-top: 48px;
    padding: 0 0 20px;
    -webkit-overflow-scrolling: touch;
}

.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.3s ease;
}

.comparison-table:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.comparison-table thead {
    background: linear-gradient(180deg, #fafbfc 0%, #f5f7fa 100%);
}

.comparison-table th {
    padding: 20px 24px;
    text-align: left;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    border-right: 1px solid rgba(0, 0, 0, 0.06);
    background: transparent;
    position: relative;
    letter-spacing: 0.2px;
}

.comparison-table th:last-child {
    border-right: none;
}

.comparison-table th.feature-col {
    width: 160px;
    min-width: 140px;
    font-weight: 700;
    color: #000;
}

.comparison-table th.plan-col {
    text-align: center;
    width: 160px;
    min-width: 140px;
    font-weight: 600;
    color: #0355E3;
}

.comparison-table tbody tr {
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

.comparison-table tbody tr:hover {
    background: rgba(3, 85, 227, 0.02);
    transform: scale(1.001);
}

.comparison-table tbody tr:last-child {
    border-bottom: none;
}

.comparison-section-header {
    background: linear-gradient(180deg, #f8f9fa 0%, #f0f2f5 100%) !important;
    font-weight: 700;
    color: #000;
    position: relative;
}

.comparison-section-header::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #0355E3 0%, #13D08C 100%);
}

.comparison-section-header td {
    padding: 18px 24px;
    font-size: 15px;
    border-right: 1px solid rgba(0, 0, 0, 0.06);
    background: transparent !important;
    letter-spacing: 0.3px;
}

.comparison-table td {
    padding: 18px 24px;
    font-size: 14px;
    color: #333;
    vertical-align: middle;
    border-right: 1px solid rgba(0, 0, 0, 0.04);
    background: #fff;
    transition: all 0.2s ease;
}

.comparison-table td:last-child {
    border-right: none;
}

.comparison-table td.feature-name {
    font-weight: 500;
    color: #1a1a1a;
    background: linear-gradient(180deg, #fafbfc 0%, #f8f9fa 100%);
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.comparison-table td.feature-name span {
    flex: 1;
    font-weight: 500;
}

.comparison-table td:not(.feature-name) {
    text-align: center;
}

.check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    width: 24px;
    height: 24px;
    stroke: #0355E3;
    stroke-width: 2.5;
    background: rgba(3, 85, 227, 0.08);
    border-radius: 50%;
    padding: 4px;
    transition: all 0.2s ease;
    margin: 0;
    box-sizing: border-box;
}

.comparison-table tbody tr:hover .check-icon {
    background: rgba(3, 85, 227, 0.12);
    transform: scale(1.1);
}

.purchase-text {
    color: #8b8b8b;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.04);
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    margin: 0;
    box-sizing: border-box;
    min-height: 24px; /* 与 check-icon 高度一致 */
    line-height: 1.2;
}

.comparison-table tbody tr:hover .purchase-text {
    background: rgba(0, 0, 0, 0.06);
    color: #666;
}

.info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    width: 18px;
    height: 18px;
    cursor: help;
    flex-shrink: 0;
    stroke: #8b8b8b;
    stroke-width: 2;
    opacity: 0.7;
    transition: all 0.2s ease;
    border-radius: 50%;
    background: rgba(139, 139, 139, 0.08);
    padding: 2px;
}

.info-icon:hover {
    opacity: 1;
    background: rgba(139, 139, 139, 0.15);
    transform: scale(1.1);
    stroke: #666;
}

/* 响应式设计 - 对比表格 */
@media (max-width: 1200px) {
    .comparison-table th.plan-col,
    .comparison-table td {
        min-width: 120px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 16px 20px;
    }
}

@media (max-width: 768px) {
    .price-comparison {
        margin-top: 80px;
        padding-top: 60px;
    }
    
    .comparison-title {
        font-size: 36px;
        letter-spacing: -0.3px;
    }
    
    .comparison-subtitle {
        font-size: 16px;
    }
    
    .comparison-table-wrapper {
        margin: 0 -16px;
        padding: 0 16px 20px;
    }
    
    .comparison-table {
        font-size: 14px;
        border-radius: 12px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 14px 16px;
    }
    
    .comparison-section-header td {
        padding: 14px 16px;
    }
    
    .comparison-table th.feature-col {
        width: 120px;
        min-width: 100px;
    }
    
    .comparison-table th.plan-col {
        width: 120px;
        min-width: 100px;
    }
    
    .check-icon {
        width: 20px;
        height: 20px;
    }
    
    .info-icon {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 480px) {
    .comparison-title {
        font-size: 28px;
        letter-spacing: -0.2px;
    }
    
    .comparison-subtitle {
        font-size: 15px;
    }
    
    .comparison-table {
        font-size: 12px;
        border-radius: 10px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 12px 14px;
    }
    
    .comparison-section-header td {
        padding: 12px 14px;
        font-size: 13px;
    }
    
    .comparison-table th.feature-col {
        width: 100px;
        min-width: 90px;
        font-size: 13px;
    }
    
    .comparison-table th.plan-col {
        width: 100px;
        min-width: 90px;
        font-size: 13px;
    }
    
    .check-icon {
        width: 18px;
        height: 18px;
    }
    
    .purchase-text {
        font-size: 11px;
        padding: 4px 8px;
    }
    
    .info-icon {
        width: 14px;
        height: 14px;
    }
}

/* 赋能区块 */
.empower-section {
    margin-top: 120px;
    padding-top: 80px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.empower-header {
    text-align: center;
    margin-bottom: 64px;
}

.empower-title {
    font-size: 48px;
    font-weight: 700;
    color: #000;
    margin: 0 0 16px 0;
    line-height: 1.2;
}

.empower-subtitle {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    margin: 0;
    font-weight: 400;
}

.empower-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.empower-card {
    background: #fff;
    border-radius: 12px;
    padding: 40px 32px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.04);
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.empower-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.empower-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #FFD700;
    color: #000;
    font-size: 14px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    letter-spacing: 0.3px;
}

.empower-badge-free {
    background: #FFD700;
}

.empower-icon {
    width: 64px;
    height: 64px;
    margin: 20px 0 24px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.empower-icon {
    color: #0355E3; /* 统一使用蓝色主色调 */
}

.empower-icon svg {
    width: 48px;
    height: 48px;
    stroke: currentColor; /* 使用父元素的颜色 */
    stroke-width: 2;
}

.empower-card-title {
    font-size: 24px;
    font-weight: 600;
    color: #000;
    margin: 0 0 16px 0;
    line-height: 1.3;
}

.empower-card-desc {
    font-size: 15px;
    color: #333;
    line-height: 1.6;
    margin: 0 0 32px 0;
    flex: 1;
}

.empower-button {
    display: inline-block;
    padding: 14px 32px;
    background: #0355E3; /* 统一使用蓝色主色调 */
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    width: 100%;
    text-align: center;
}

.empower-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.empower-button:hover::before {
    width: 300px;
    height: 300px;
}

.empower-button:hover {
    background: #0244b8; /* 统一使用蓝色 hover 状态 */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(3, 85, 227, 0.4);
}

.empower-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(3, 85, 227, 0.3);
}

.empower-button:focus {
    outline: 2px solid #0355E3; /* 统一使用蓝色 */
    outline-offset: 2px;
}

/* 响应式设计 - 赋能区块 */
@media (max-width: 1200px) {
    .empower-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .empower-section {
        margin-top: 80px;
        padding-top: 60px;
    }
    
    .empower-title {
        font-size: 36px;
    }
    
    .empower-subtitle {
        font-size: 16px;
    }
    
    .empower-cards {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .empower-card {
        padding: 32px 24px;
    }
    
    .empower-icon {
        width: 56px;
        height: 56px;
        margin: 16px 0 20px 0;
    }
    
    .empower-icon svg {
        width: 40px;
        height: 40px;
    }
    
    .empower-card-title {
        font-size: 20px;
    }
    
    .empower-card-desc {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .empower-title {
        font-size: 28px;
    }
    
    .empower-subtitle {
        font-size: 15px;
    }
    
    .empower-card {
        padding: 24px 20px;
    }
    
    .empower-badge {
        top: 16px;
        right: 16px;
        font-size: 12px;
        padding: 4px 10px;
    }
    
    .empower-button {
        padding: 12px 24px;
        font-size: 16px;
    }
}

