/* OpenClaw 套餐展示区 — 样式全部限定在 .oc-promo-section 内，避免影响站点其它模块 */

.oc-promo-section {
    box-sizing: border-box;
    background: #f0f2ff;
    padding: 48px 20px 56px;
    font-family: PingFang SC, Microsoft YaHei, -apple-system, BlinkMacSystemFont, sans-serif;
}

.oc-promo-section *,
.oc-promo-section *::before,
.oc-promo-section *::after {
    box-sizing: border-box;
}

.oc-promo-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.oc-promo-header {
    text-align: center;
    margin:40px 0 60px;
}

.oc-promo-title {
    margin: 0;
    font-size: clamp(34px, 2.5vw, 28px);
    font-weight: 700;
    color: #333;
    line-height: 1.35;
}

.oc-promo-sub {
    margin: 22px 0 0;
    padding: 0;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 400;
    color: #555;
}

.oc-promo-sub__chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px 12px;
    max-width: 920px;
    margin: 0 auto;
}

.oc-promo-sub__chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: #4a4f63;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(124, 158, 255, 0.38);
    box-shadow: 0 2px 10px rgba(92, 107, 192, 0.06);
    transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.oc-promo-sub__chip:hover {
    border-color: rgba(124, 158, 255, 0.65);
    background: #fff;
    box-shadow: 0 4px 14px rgba(92, 107, 192, 0.1);
}

@media (prefers-reduced-motion: reduce) {
    .oc-promo-sub__chip {
        transition: none;
    }
}

.oc-promo-fake-link {
    color: #5c6bc0;
    cursor: default;
    text-decoration: none;
}

.oc-promo-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.oc-promo-card {
    position: relative;
    flex: 1 1 260px;
    max-width: 320px;
    min-width: 240px;
    background: #fff;
    border-radius: 14px;
    padding: 26px 22px 22px;
    box-shadow: 0 4px 24px rgba(80, 80, 160, 0.08);
    display: flex;
    flex-direction: column;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.oc-promo-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 40px rgba(80, 80, 160, 0.16);
}

@media (prefers-reduced-motion: reduce) {
    .oc-promo-card {
        transition: none;
    }

    .oc-promo-card:hover {
        transform: none;
        box-shadow: 0 4px 24px rgba(80, 80, 160, 0.08);
    }

    .oc-promo-order-btn {
        transition: none;
    }

    .oc-promo-order-btn:hover {
        box-shadow: none;
    }

    .oc-promo-order-btn:hover .oc-promo-order-progress {
        animation: none;
    }
}

.oc-promo-corner-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    color: #fff;
    background: #9b59b6;
    line-height: 1.3;
    white-space: nowrap;
}

.oc-promo-corner-badge--muted {
    background: #8e44ad;
}

.oc-promo-card-title {
    margin: 0 72px 10px 0;
    font-size: 17px;
    font-weight: 700;
    color: #111;
    line-height: 1.35;
}

.oc-promo-card-desc {
    margin: 0 0 16px;
    font-size: 12px;
    color: #888;
    line-height: 1.55;
}

.oc-promo-specs {
    margin: 0 0 14px;
    padding: 0;
}

.oc-promo-spec-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-size: 13px;
}

.oc-promo-spec-row:last-child {
    border-bottom: none;
}

.oc-promo-spec-row dt {
    margin: 0;
    color: #666;
    font-weight: 400;
    flex-shrink: 0;
}

.oc-promo-spec-row dd {
    margin: 0;
    text-align: right;
    color: #111;
    font-weight: 600;
}

.oc-promo-caret {
    display: inline-block;
    margin-left: 4px;
    font-size: 10px;
    color: #999;
    vertical-align: middle;
    transform: scale(0.85);
}

.oc-promo-gift {
    margin: 0 0 14px;
    padding: 10px;
    background: #fff8f0;
    border-radius: 8px;
    font-size: 11px;
    line-height: 1.55;
    color: #ff8c00;
}

.oc-promo-gift-icon {
    margin-right: 4px;
}

.oc-promo-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.oc-promo-tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    color: #e60012;
    background: #ffe8eb;
}

.oc-promo-price-block {
    margin-bottom: 16px;
    line-height: 1.2;
}

.oc-promo-price {
    font-size: 32px;
    font-weight: 700;
    color: #e60012;
    letter-spacing: -0.02em;
}

.oc-promo-yuan {
    font-size: 14px;
    color: #e60012;
    font-weight: 600;
    margin-left: 2px;
}

.oc-promo-save {
    display: inline-block;
    margin-left: 10px;
    font-size: 12px;
    color: #888;
    font-weight: 400;
}

@keyframes oc-promo-order-shimmer {
    0% {
        background-position: 130% 0;
    }

    100% {
        background-position: -30% 0;
    }
}

.oc-promo-order-btn {
    position: relative;
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px 12px;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
    cursor: pointer;
    transition: background 0.28s ease, border-color 0.28s ease;
}

.oc-promo-order-btn:hover {
    background-color: #6699FF;
    border-color: #e8ebfb;
}

.oc-promo-order-btn:active {
    background: #dce1f5;
    border-color: #a8afd9;
}

.oc-promo-order-progress {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    background: linear-gradient(90deg, #e8e8ee 0%, #f0f0f5 100%);
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.2s ease;
}

.oc-promo-order-btn:hover .oc-promo-order-progress {
    background: linear-gradient(
        105deg,
        #dedee8 0%,
        #ececf5 28%,
        #fafafc 48%,
        #e4e4ee 72%,
        #dedee8 100%
    );
    background-size: 240% 100%;
    animation: oc-promo-order-shimmer 2.2s ease-in-out infinite;
}

.oc-promo-order-label,
.oc-promo-order-pct {
    position: relative;
    z-index: 1;
    font-size: 14px;
    color: #333;
    transition: color 0.2s ease;
}

.oc-promo-order-btn:hover .oc-promo-order-label {
    color: #fff;
}

.oc-promo-order-pct {
    font-size: 12px;
    color: #666;
}

.oc-promo-order-btn:hover .oc-promo-order-pct {
    color: #555;
}

@media (max-width: 1100px) {
    .oc-promo-card {
        max-width: 100%;
    }
}
