/* 本地部署页面样式 - 与首页色调一致 */

/* 全局字体 */
.op-hero,
.op-features,
.op-compare,
.op-architecture,
.op-requirements,
.op-contact {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ===== Hero区域 ===== */
.op-hero {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero-badge i {
    color: #10b981;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 20px;
    color: rgba(255,255,255,0.85);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 48px;
}

.hero-actions .btn {
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.hero-actions .btn-primary {
    background: white;
    color: #4f46e5;
    border: none;
}

.hero-actions .btn-primary:hover {
    background: rgba(255,255,255,0.9);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.hero-actions .btn-outline {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.5);
    color: white;
}

.hero-actions .btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
}

.hero-trust {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.9);
    font-size: 14px;
}

.trust-item i {
    color: #10b981;
}

/* ===== 通用区域标题 ===== */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-label {
    display: inline-block;
    background: rgba(79, 70, 229, 0.1);
    color: #4f46e5;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.02em;
}

/* ===== 核心优势 ===== */
.op-features {
    padding: 80px 0;
    background: #f8fafc;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.feature-card:hover {
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}

.feature-card.highlight {
    border-color: #4f46e5;
    background: linear-gradient(135deg, white 0%, rgba(79, 70, 229, 0.03) 100%);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon i {
    font-size: 24px;
    color: white;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
}

/* ===== 版本对比 ===== */
.op-compare {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
}

.compare-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.compare-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 20px;
    padding: 40px;
    position: relative;
    transition: all 0.3s ease;
}

.compare-card:hover {
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.compare-card.local {
    border-color: #4f46e5;
}

.compare-card.recommended {
    background: linear-gradient(135deg, white 0%, rgba(79, 70, 229, 0.02) 100%);
}

.recommend-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    background: #4f46e5;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.compare-header {
    text-align: center;
    margin-bottom: 24px;
}

.compare-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.compare-card.saas .compare-icon {
    background: rgba(79, 70, 229, 0.1);
}

.compare-card.saas .compare-icon i {
    color: #4f46e5;
    font-size: 28px;
}

.compare-card.local .compare-icon {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
}

.compare-card.local .compare-icon i {
    color: white;
    font-size: 28px;
}

.compare-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.compare-desc {
    font-size: 14px;
    color: #64748b;
}

.compare-price {
    text-align: center;
    padding: 24px 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 24px;
}

.compare-price .price {
    font-size: 36px;
    font-weight: 700;
    color: #1e293b;
    display: block;
}

.compare-price .period {
    font-size: 14px;
    color: #64748b;
}

.compare-list {
    list-style: none;
    margin-bottom: 32px;
}

.compare-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 15px;
    color: #334155;
    border-bottom: 1px solid #f1f5f9;
}

.compare-list li:last-child {
    border-bottom: none;
}

.compare-list li i {
    font-size: 16px;
}

.compare-list li .fa-check {
    color: #10b981;
}

.compare-list li .fa-times {
    color: #cbd5e1;
}

.compare-list li.disabled {
    color: #94a3b8;
}

.compare-card .btn-block {
    width: 100%;
    text-align: center;
    padding: 14px;
    font-weight: 500;
}

.compare-card.saas .btn-outline {
    border: 2px solid #e2e8f0;
    color: #334155;
}

.compare-card.saas .btn-outline:hover {
    background: #4f46e5;
    border-color: #4f46e5;
    color: white;
}

.compare-card.local .btn-primary {
    background: #4f46e5;
}

.compare-card.local .btn-primary:hover {
    background: #4338ca;
}

/* ===== 部署方式对比 ===== */
.op-deployment {
    padding: 80px 0;
    background: white;
}

.deployment-table {
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
}

.table-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
}

.table-header .table-cell {
    padding: 16px 20px;
    font-weight: 600;
    font-size: 14px;
    color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.table-header .table-cell:first-child {
    justify-content: flex-start;
}

.table-header .table-cell.highlight {
    background: rgba(255,255,255,0.15);
}

.table-header .table-cell.hybrid {
    background: rgba(255,255,255,0.1);
}

.table-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    border-bottom: 1px solid #e2e8f0;
}

.table-row:last-child {
    border-bottom: none;
}

.table-row:nth-child(even) {
    background: #f8fafc;
}

.table-cell {
    padding: 18px 24px;
    font-size: 14px;
    color: #334155;
    display: flex;
    align-items: center;
}

.table-row .table-cell:first-child {
    font-weight: 500;
    color: #1e293b;
}

.table-row .table-cell:not(:first-child) {
    justify-content: center;
    text-align: center;
}

.price-free {
    color: #10b981;
}

.price-hybrid {
    color: #f59e0b;
}

.price-contact {
    color: #4f46e5;
}

/* ===== 部署架构 ===== */
.op-architecture {
    padding: 80px 0;
    background: #f8fafc;
}

.arch-section {
    margin-bottom: 48px;
}

.arch-section:last-child {
    margin-bottom: 0;
}

.arch-title {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.arch-title i {
    color: #4f46e5;
}

.architecture-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.arch-step {
    text-align: center;
}

.arch-icon {
    width: 72px;
    height: 72px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.arch-icon.cloud {
    border-color: #60a5fa;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.arch-icon.cloud i {
    color: #3b82f6;
}

.arch-icon.local {
    border-color: #4f46e5;
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
}

.arch-icon.local i {
    color: #4f46e5;
}

.arch-icon i {
    font-size: 28px;
}

.arch-label {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
}

.arch-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #94a3b8;
    font-size: 20px;
    gap: 4px;
}

.connector-label {
    font-size: 11px;
    font-weight: 500;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.architecture-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 12px;
    max-width: fit-content;
    margin: 0 auto;
    font-size: 14px;
}

.architecture-note.cloud-note {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e40af;
}

.architecture-note.cloud-note i {
    color: #3b82f6;
}

.architecture-note.local-note {
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    color: #3730a3;
}

.architecture-note.local-note i {
    color: #4f46e5;
}

/* ===== 系统要求 ===== */
.op-requirements {
    padding: 80px 0;
    background: white;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.req-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px;
}

.req-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.req-header i {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.req-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
}

.req-list {
    list-style: none;
}

.req-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
}

.req-list li:last-child {
    border-bottom: none;
}

.req-item {
    font-size: 14px;
    color: #64748b;
}

.req-value {
    font-size: 14px;
    font-weight: 500;
    color: #334155;
    text-align: right;
}

/* ===== 联系区域 ===== */
.op-contact {
    padding: 80px 0;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
}

.contact-card {
    background: white;
    border-radius: 24px;
    padding: 64px;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.contact-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
}

.contact-content p {
    font-size: 16px;
    color: #64748b;
    margin-bottom: 32px;
}

.contact-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.contact-actions .btn-primary {
    background: #4f46e5;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 500;
}

.contact-actions .btn-primary:hover {
    background: #4338ca;
}

.contact-info {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #64748b;
}

.contact-info i {
    color: #4f46e5;
}

/* ===== 响应式设计 ===== */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .op-hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .hero-trust {
        flex-direction: column;
        gap: 16px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .compare-container {
        grid-template-columns: 1fr;
    }
    
    .requirements-grid {
        grid-template-columns: 1fr;
    }
    
    .architecture-flow {
        flex-direction: column;
    }
    
    .arch-connector {
        transform: rotate(90deg);
    }
    
    .contact-card {
        padding: 40px 24px;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 24px;
    }
    
    .compare-card {
        padding: 24px;
    }
    
    .feature-card {
        padding: 24px;
    }
}
