/* Index Section 3 - Profit Calculator Styles */

/* Container - Remove background and use clean design */
.section-type-1 {
    background: #f8fafb;
    padding: 4rem 0;
}

.comparison-details-container {
    max-width: 800px;
    margin: 0 auto;
}

/* Section Title */
.comparison-section-title {
    color: #1a5f3f !important;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
    text-transform: none;
}

/* Highlight Text Box */
.comparison-highlight-text {
    background: linear-gradient(135deg, #e6f7f5 0%, #f0faf8 100%) !important;
    border-left: 4px solid #22aea1 !important;
    border-radius: 8px;
    padding: 1.5rem 2rem;
    margin-bottom: 3rem;
    color: #333 !important;
    font-size: 1.1rem;
    line-height: 1.6;
    box-shadow: 0 2px 8px rgba(34, 174, 161, 0.1);
}

.comparison-underline {
    color: #22aea1;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: #22aea1;
    text-underline-offset: 3px;
}

/* Subtitle */
.comparison-section-subtitle {
    color: #1a5f3f !important;
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center !important;
}

/* Win Table - Clean Card Design */
.win-table {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid #e5e5e5;
}

/* Win Table Items */
.win-table-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.win-table-item:last-child {
    border-bottom: none;
    padding-top: 1.5rem;
    padding-bottom: 0;
}

.win-table-item .flex {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.win-table-item-title {
    color: #333;
    font-size: 1rem;
    font-weight: 500;
}

.win-table-item-subtitle {
    color: #666;
    font-size: 0.875rem;
}

.win-table-item-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
}

/* Divider */
.divider {
    height: 2px;
    background: #22aea1;
    margin: 1.5rem 0;
}

/* Special Styles for Final Result */
.green-text {
    color: #22aea1 !important;
}

.bigger-text {
    font-size: 1.75rem !important;
}

.bold {
    font-weight: 700 !important;
}

/* Quote Section */
.comparison-quote {
    background: #f8f8f8;
    border-left: 3px solid #d1d5db !important;
    padding: 1rem 1.5rem;
    color: #666 !important;
    font-size: 0.875rem;
    line-height: 1.5;
    font-style: italic;
    border-radius: 4px;
}

/* Highlight Box for Profit */
.win-table-item:last-child {
    background: linear-gradient(135deg, #e6f7f5 0%, #f0faf8 100%);
    padding: 1.5rem 2rem;
    margin: 0 -2rem -2rem -2rem;
    border-radius: 0 0 12px 12px;
    border-top: 2px solid #22aea1;
    border-bottom: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-type-1 {
        padding: 3rem 0;
    }
    
    .comparison-section-title {
        font-size: 2rem;
    }
    
    .comparison-highlight-text {
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .comparison-section-subtitle {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .win-table {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .win-table-item {
        padding: 1rem 0;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .win-table-item-title {
        font-size: 0.95rem;
    }
    
    .win-table-item-price {
        font-size: 1rem;
    }
    
    .bigger-text {
        font-size: 1.5rem !important;
    }
    
    .win-table-item:last-child {
        margin: 0 -1.5rem -1.5rem -1.5rem;
        padding: 1.25rem;
    }
}

@media (max-width: 480px) {
    .section-type-1 {
        padding: 2rem 0;
    }
    
    .comparison-section-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    .comparison-highlight-text {
        padding: 1rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .comparison-section-subtitle {
        font-size: 1.25rem;
    }
    
    .win-table {
        padding: 1.25rem;
        border-radius: 8px;
    }
    
    .win-table-item {
        padding: 0.875rem 0;
    }
    
    .win-table-item .flex {
        flex: 1;
    }
    
    .win-table-item-title {
        font-size: 0.9rem;
    }
    
    .win-table-item-subtitle {
        font-size: 0.8rem;
    }
    
    .win-table-item-price {
        font-size: 0.95rem;
    }
    
    .bigger-text {
        font-size: 1.35rem !important;
    }
    
    .comparison-quote {
        padding: 0.875rem 1.25rem;
        font-size: 0.8rem;
    }
    
    .win-table-item:last-child {
        margin: 0 -1.25rem -1.25rem -1.25rem;
        padding: 1rem;
    }
}

/* Animation */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.win-table {
    animation: slideInUp 0.6s ease forwards;
}

/* Print Styles */
@media print {
    .section-type-1 {
        background: white;
    }
    
    .win-table {
        box-shadow: none;
        border: 1px solid #333;
    }
    
    .comparison-highlight-text {
        box-shadow: none;
    }
}