.result-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    margin-bottom: 32px;
}

.main-result {
    font-size: 4rem;
    font-weight: 800;
    margin: 20px 0;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.secondary-result {
    font-size: 2rem;
    opacity: 0.9;
    margin-bottom: 24px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.stat-card {
    background: rgba(255,255,255,0.15);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.2);
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.8;
}

.parameter-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-left: 4px solid #3b82f6;
}

.parameter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

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

.parameter-item:last-child {
    border-bottom: none;
}

.parameter-label {
    font-weight: 600;
    color: #374151;
}

.parameter-value {
    font-weight: 700;
    color: #1f2937;
    padding: 6px 12px;
    background: #f3f4f6;
    border-radius: 8px;
    min-width: 80px;
    text-align: center;
}

.recommendation-card {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border-radius: 16px;
    padding: 24px;
    margin: 24px 0;
}

.storage-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.storage-option {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
}

.storage-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border-color: #3b82f6;
}

.storage-option.recommended {
    border-color: #10b981;
    background: #f0fdf4;
}

.storage-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.storage-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: #1f2937;
}

.storage-badge {
    background: #10b981;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.storage-details {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.5;
}

.cost-estimate {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
    font-weight: 600;
    color: #059669;
}

@media (max-width: 768px) {
    .main-result {
        font-size: 2.5rem;
    }
    
    .secondary-result {
        font-size: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .parameter-grid {
        grid-template-columns: 1fr;
    }
}

.slider-container {
    position: relative;
    margin: 20px 0;
}

.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #e5e7eb;
    outline: none;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.slider:hover {
    opacity: 1;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ef4444;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: all 0.2s;
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ef4444;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.value-display {
    background: #f3f4f6;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 8px 12px;
    font-weight: 600;
    color: #374151;
    min-width: 80px;
    text-align: center;
    transition: all 0.2s;
}

.value-display:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.quality-btn {
    padding: 8px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: white;
    color: #6b7280;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    flex: 1;
}

.quality-btn.active {
    border-color: #ef4444;
    background: #ef4444;
    color: white;
}

.quality-btn:hover:not(.active) {
    border-color: #fca5a5;
    background: #fef2f2;
}

.compression-btn {
    padding: 10px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: white;
    color: #6b7280;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    flex: 1;
    text-align: center;
}

.compression-btn.active {
    border-color: #ef4444;
    background: #ef4444;
    color: white;
}

.compression-btn:hover:not(.active) {
    border-color: #fca5a5;
    background: #fef2f2;
}

.info-tooltip {
    position: relative;
    display: inline-block;
    cursor: help;
}

.info-tooltip .tooltip-text {
    visibility: hidden;
    width: 300px;
    background-color: #1f2937;
    color: white;
    text-align: left;
    border-radius: 8px;
    padding: 12px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -150px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 14px;
    line-height: 1.4;
}

.info-tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

.info-tooltip .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #1f2937 transparent transparent transparent;
}

.result-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.result-value {
    font-size: 3rem;
    font-weight: 700;
    margin: 16px 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.result-unit {
    font-size: 1.5rem;
    opacity: 0.9;
    margin-left: 8px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.stat-item {
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .result-value {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}