/* ==================== OpenClaw页面 - 简洁专业设计 ==================== */

/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-y: scroll !important;
}

body {
    background: #ffffff !important;
    padding-top: 78px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    color: #1f2937;
    line-height: 1.7;
}

/* 页面容器 */
.openclaw-page {
    min-height: calc(100vh - 78px);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ==================== Hero区域 - 居中布局 ==================== */
.hero-section {
    padding: 100px 0 80px;
    background: #ffffff;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 20px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: #0f172a;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-desc {
    font-size: 18px;
    line-height: 1.7;
    color: #64748b;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px;
    margin-bottom: 32px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #64748b;
}

.feature-item svg {
    width: 18px;
    height: 18px;
    color: #10b981;
    flex-shrink: 0;
}

.hero-note {
    font-size: 13px;
    color: #94a3b8;
}

/* Hero价格卡片 - 移到下方 */
.hero-card {
    max-width: 600px;
    margin: 60px auto 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 40px;
}

.price-label {
    font-size: 13px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.price-group {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.price-old {
    font-size: 18px;
    color: #94a3b8;
    text-decoration: line-through;
}

.price-now {
    font-size: 48px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.price-highlight {
    padding: 16px 20px;
    border-radius: 8px;
    background: #f0f9ff;
    color: #0369a1;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
    text-align: center;
}

.feature-list {
    list-style: none;
    margin-bottom: 24px;
}

.feature-list li {
    position: relative;
    padding-left: 28px;
    font-size: 14px;
    color: #475569;
    line-height: 2;
    text-align: left;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 700;
    font-size: 16px;
}

.contact-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 24px;
    border-top: 1px solid #f1f5f9;
}

.contact-item {
    padding: 8px 16px;
    border-radius: 6px;
    background: #f8fafc;
    font-size: 13px;
    color: #64748b;
}

/* ==================== 按钮样式 ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    padding: 0 32px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn svg {
    width: 18px;
    height: 18px;
}

.btn-primary {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}

.btn-primary:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    transform: translateY(-1px);
}

.btn-secondary {
    background: #ffffff;
    color: #2563eb;
    border-color: #2563eb;
}

.btn-secondary:hover {
    background: #eff6ff;
}

.btn-ghost {
    background: #ffffff;
    color: #64748b;
    border-color: #e2e8f0;
}

.btn-ghost:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.btn-full {
    width: 100%;
}

/* ==================== 区块样式 ==================== */
.section {
    padding: 80px 0;
}

.section-wrapper {
    background: #f8fafc;
    margin-left: calc((100vw - 100%) / -2);
    margin-right: calc((100vw - 100%) / -2);
    padding-left: calc((100vw - 100%) / 2);
    padding-right: calc((100vw - 100%) / 2);
}

.section-header {
    margin-bottom: 64px;
    text-align: center;
}

.section-badge {
    display: inline-flex;
    padding: 6px 14px;
    border-radius: 20px;
    background: #f0fdf4;
    color: #10b981;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 16px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    color: #0f172a;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.section-desc {
    font-size: 17px;
    line-height: 1.7;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
}

/* ==================== 套餐卡片 ==================== */
.plan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.plan-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 32px;
    transition: all 0.3s ease;
    position: relative;
}

.plan-card:hover {
    border-color: #cbd5e1;
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

/* 推荐卡片突出显示 */
.plan-card:nth-child(2) {
    border-color: #2563eb;
    border-width: 2px;
    padding: 31px;
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 16px;
    border-radius: 12px;
    background: #2563eb;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
}

.plan-name {
    font-size: 20px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 16px;
    margin-top: 8px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 6px;
    margin-bottom: 16px;
}

.price-value {
    font-size: 40px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.price-unit {
    font-size: 14px;
    color: #94a3b8;
}

.plan-desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 24px;
    min-height: 48px;
    text-align: center;
}

.plan-features {
    list-style: none;
    margin-bottom: 32px;
}

.plan-features li {
    position: relative;
    padding-left: 24px;
    font-size: 14px;
    color: #475569;
    line-height: 2;
}

.plan-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 700;
    font-size: 16px;
}

.btn-plan {
    width: 100%;
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
}

.btn-plan:hover {
    background: #1e293b;
    border-color: #1e293b;
    transform: translateY(-1px);
}

.plan-card:nth-child(2) .btn-plan {
    background: #2563eb;
    border-color: #2563eb;
}

.plan-card:nth-child(2) .btn-plan:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
}

/* ==================== 产品优势 - 图标卡片 ==================== */
.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}

.value-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.value-card:hover {
    border-color: #cbd5e1;
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
}

.value-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #eff6ff;
}

.value-icon svg {
    width: 28px;
    height: 28px;
    color: #2563eb;
}

.value-title {
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 12px;
}

.value-desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.7;
}

/* 会员卡片 - 单独区域 */
.member-section {
    padding: 80px 0;
    background: #f8fafc;
    margin-left: calc((100vw - 100%) / -2);
    margin-right: calc((100vw - 100%) / -2);
    padding-left: calc((100vw - 100%) / 2);
    padding-right: calc((100vw - 100%) / 2);
}

.member-card {
    max-width: 600px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
}

.member-badge {
    display: inline-flex;
    padding: 6px 14px;
    border-radius: 20px;
    background: #fef3c7;
    color: #92400e;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 16px;
}

.member-name {
    font-size: 24px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 20px;
}

.member-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}

.member-old-price {
    font-size: 16px;
    color: #94a3b8;
    text-decoration: line-through;
    margin-bottom: 24px;
}

.member-features {
    list-style: none;
    margin-bottom: 32px;
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.member-features li {
    position: relative;
    padding-left: 28px;
    font-size: 14px;
    color: #475569;
    line-height: 2;
}

.member-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 700;
    font-size: 16px;
}

/* ==================== 使用流程 - 时间线 ==================== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 16.66%;
    right: 16.66%;
    height: 2px;
    background: linear-gradient(90deg, #2563eb 0%, #2563eb 50%, #e2e8f0 50%, #e2e8f0 100%);
    z-index: 0;
}

.step-card {
    position: relative;
    text-align: center;
    z-index: 1;
}

.step-number {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #2563eb;
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.step-card:nth-child(2) .step-number {
    background: #10b981;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.step-card:nth-child(3) .step-number {
    background: #f59e0b;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.step-title {
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 12px;
}

.step-desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.7;
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 1024px) {
    .plan-grid,
    .value-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .steps-grid::before {
        display: none;
    }
    
    .plan-desc {
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-section {
        padding: 60px 0 40px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 48px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-desc {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 16px;
    }
    
    .price-now,
    .price-value {
        font-size: 36px;
    }
    
    .hero-card,
    .plan-card,
    .value-card,
    .member-card {
        padding: 24px;
    }
}
