/* ROI计算器落地页专属样式 */

.roi-calculator-page {
    padding-top: 0;
}

/* Hero区块 */
.roi-hero {
    background: linear-gradient(135deg, #2ECC71 0%, #27AE60 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.roi-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,122.7C960,117,1056,171,1152,192C1248,213,1344,203,1392,197.3L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    pointer-events: none;
}

.roi-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.roi-hero .subtitle {
    font-size: 20px;
    opacity: 0.95;
    margin-bottom: 25px;
    font-weight: 300;
}

.roi-hero .lead {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

/* 计算器主区域 */
.calculator-main {
    padding: 60px 0;
    background: #f8f9fa;
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 40px;
    align-items: start;
}

/* 左侧输入区域 */
.calculator-input {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* 维度区块 */
.dimension-section {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.dimension-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #2ECC71;
}

.dimension-number {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #2ECC71 0%, #27AE60 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    flex-shrink: 0;
}

.dimension-title h2 {
    font-size: 22px;
    color: #333;
    margin-bottom: 5px;
}

.dimension-title p {
    font-size: 14px;
    color: #666;
}

/* 表单样式 */
.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: #2ECC71;
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.1);
}

.form-input[readonly] {
    background: #f5f5f5;
    color: #333;
    font-weight: 600;
}

/* 流程条目 */
.process-entry {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 15px;
}

.process-entry h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 16px;
}

/* 维度总计 */
.dimension-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: linear-gradient(135deg, #e8f5e9 0%, #f8f9fa 100%);
    border-radius: 10px;
    margin-top: 20px;
}

.dimension-total span {
    font-size: 16px;
    color: #555;
}

.dimension-total .total-value {
    font-size: 24px;
    color: #2ECC71;
}

/* 右侧结果区域 */
.calculator-results {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* 结果卡片 */
.results-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.1);
}

.results-header {
    text-align: center;
    margin-bottom: 30px;
}

.results-header h2 {
    font-size: 26px;
    color: #333;
    margin-bottom: 10px;
}

.results-subtitle {
    font-size: 14px;
    color: #666;
}

/* 结果明细 */
.results-breakdown {
    margin-bottom: 30px;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.result-item.total {
    background: #e8f5e9;
    padding: 15px 20px;
    border-radius: 8px;
    margin: 10px 0;
}

.result-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, #2ECC71, transparent);
    margin: 15px 0;
}

.result-label {
    font-size: 16px;
    color: #555;
}

.result-value {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.result-value.highlight {
    font-size: 24px;
    color: #2ECC71;
}

/* 指标卡片 */
.results-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

.metric-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f5e9 100%);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
}

.metric-card.primary {
    background: linear-gradient(135deg, #2ECC71 0%, #27AE60 100%);
    color: white;
}

.metric-number {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 5px;
}

.metric-label {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.metric-card.primary .metric-label {
    color: rgba(255,255,255,0.9);
}

.metric-formula {
    font-size: 12px;
    opacity: 0.7;
}

/* 结果解读 */
.results-interpretation {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
}

.results-interpretation h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.results-interpretation p {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
}

/* 结果CTA */
.results-cta {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.results-cta .btn-primary,
.results-cta .btn-secondary {
    width: 100%;
    text-align: center;
}

/* 行业参考数据 */
.industry-reference {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.industry-reference h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.reference-table {
    width: 100%;
    border-collapse: collapse;
}

.reference-table thead {
    background: linear-gradient(135deg, #2ECC71 0%, #27AE60 100%);
    color: white;
}

.reference-table th {
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
}

.reference-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    color: #555;
}

.reference-table tbody tr:hover {
    background: #f8f9fa;
}

.reference-table .positive {
    color: #2ECC71;
    font-weight: bold;
}

/* CTA区块 */
.roi-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #2ECC71 0%, #27AE60 100%);
    color: white;
    text-align: center;
}

.roi-cta h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.roi-cta p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 40px;
}

.roi-cta .cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.roi-cta .cta-contact {
    font-size: 16px;
    opacity: 0.85;
}

/* 按钮样式 */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: #2ECC71;
    color: white;
}

.btn-primary:hover {
    background: #27AE60;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(46, 204, 113, 0.4);
}

.btn-secondary {
    background: white;
    color: #2ECC71;
}

.btn-secondary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.btn-large {
    padding: 18px 50px;
    font-size: 20px;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .calculator-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .roi-hero h1 {
        font-size: 32px;
    }
    
    .roi-hero .subtitle {
        font-size: 18px;
    }
    
    .dimension-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .dimension-number {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .dimension-title h2 {
        font-size: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .results-metrics {
        grid-template-columns: 1fr;
    }
    
    .metric-number {
        font-size: 36px;
    }
    
    .roi-cta h2 {
        font-size: 28px;
    }
    
    .roi-cta .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .roi-hero {
        padding: 60px 0;
    }
    
    .roi-hero h1 {
        font-size: 26px;
    }
    
    .dimension-section {
        padding: 20px;
    }
    
    .results-card,
    .industry-reference {
        padding: 20px;
    }
    
    .results-header h2 {
        font-size: 22px;
    }
    
    .reference-table {
        font-size: 14px;
    }
    
    .reference-table th,
    .reference-table td {
        padding: 8px 10px;
    }
}