/* Price Calculator Section Styles */
.price-calculator-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
}

.price-calculator-section::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 100 100"><defs><pattern id="price-dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%2340A2D8" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23price-dots)"/></svg>');
    opacity: 0.5;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 20px 0;
    background: linear-gradient(135deg, #40A2D8 0%, #F0EDCF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #40A2D8 0%, #F0EDCF 100%);
    border-radius: 2px;
}

.section-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #cccccc;
    max-width: 600px;
    margin: 0 auto;
}

/* Price Calculator Container */
.price-calculator-container {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(26, 26, 26, 0.95);
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 25px 60px rgba(64, 162, 216, 0.15);
    border: 1px solid rgba(64, 162, 216, 0.1);
    position: relative;
    z-index: 2;
}

/* Shape Selection Tabs */
.shape-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.shape-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: rgba(64, 162, 216, 0.05);
    border: 2px solid transparent;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
    text-align: center;
}

.shape-tab:hover {
    background: rgba(64, 162, 216, 0.1);
    border-color: rgba(64, 162, 216, 0.3);
    transform: translateY(-5px);
}

.shape-tab.active {
    background: linear-gradient(135deg, #40A2D8 0%, #F0EDCF 100%);
    border-color: #40A2D8;
    color: #000;
}

.shape-tab-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shape-tab-icon svg {
    width: 36px;
    height: 36px;
    stroke: #4b5259;
    transition: all 0.3s ease;
}

.shape-tab.active .shape-tab-icon svg {
    stroke: #000;
}

.shape-tab-text {
    font-weight: 600;
    font-size: 1rem;
    color: #ffffff;
    transition: color 0.3s ease;
}

.shape-tab.active .shape-tab-text {
    color: #000;
}

/* Form Container */
.calculator-form {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
    align-items: end;
}

.form-group {
    flex: 1;
    min-width: 200px;
    position: relative;
}

.form-label {
    display: block;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-select,
.form-input {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-select:focus,
.form-input:focus {
    outline: none;
    border-color: #40A2D8;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(64, 162, 216, 0.1);
}

.form-select option {
    background: #1a1a1a;
    color: #ffffff;
}

.form-help {
    font-size: 0.85rem;
    color: #9d9d9d;
    margin-top: 5px;
}

/* Radio Button Group */
.radio-group {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.radio-option {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 200px;
}

.radio-option:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(64, 162, 216, 0.3);
}

.radio-option input[type="radio"] {
    display: none;
}

.radio-option input[type="radio"]:checked + .radio-content {
    color: #40A2D8;
}

.radio-option input[type="radio"]:checked {
    border-color: #40A2D8;
    background: rgba(64, 162, 216, 0.1);
}

.radio-content {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    color: #ffffff;
    transition: color 0.3s ease;
}

.radio-icon {
    width: 20px;
    height: 20px;
    border: 2px solid #40A2D8;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
}

.radio-option input[type="radio"]:checked + .radio-content .radio-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #40A2D8;
    border-radius: 50%;
}

.radio-text {
    flex: 1;
}

.radio-title {
    font-weight: 600;
    font-size: 1rem;
    margin: 0;
}

.radio-subtitle {
    font-size: 0.85rem;
    color: #9d9d9d;
    margin: 0;
}

/* Calculate Button */
.calculate-btn {
    width: 100%;
    padding: 15px 30px;
    background: linear-gradient(135deg, #40A2D8 0%, #F0EDCF 100%);
    border: none;
    border-radius: 15px;
    color: #000;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.calculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(64, 162, 216, 0.3);
}

.calculate-btn:active {
    transform: translateY(0);
}

.calculate-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Results Section */
.results-section {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    padding: 30px;
    margin-top: 30px;
    border: 1px solid rgba(64, 162, 216, 0.2);
}

.results-title {
    color: #40A2D8;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.price-display {
    text-align: center;
    margin-bottom: 20px;
}

.price-label {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.price-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #F0EDCF;
    margin: 0;
}

.price-unit {
    font-size: 1rem;
    color: #40A2D8;
    margin-right: 10px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .price-calculator-section {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .price-calculator-container {
        padding: 30px;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .form-group {
        min-width: 100%;
    }
}

@media (max-width: 768px) {
    .price-calculator-section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 60px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-description {
        font-size: 1.1rem;
    }
    
    .price-calculator-container {
        padding: 20px;
        margin: 0 15px;
    }
    
    .shape-tabs {
        gap: 15px;
    }
    
    .shape-tab {
        min-width: 100px;
        padding: 15px;
    }
    
    .shape-tab-icon {
        width: 40px;
        height: 40px;
    }
    
    .shape-tab-icon svg {
        width: 30px;
        height: 30px;
    }
    
    .radio-group {
        flex-direction: column;
    }
    
    .radio-option {
        min-width: 100%;
    }
    
    .calculator-form {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .price-calculator-section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .price-calculator-container {
        padding: 15px;
        margin: 0 10px;
    }
    
    .shape-tabs {
        gap: 10px;
    }
    
    .shape-tab {
        min-width: 80px;
        padding: 10px;
    }
    
    .shape-tab-icon {
        width: 35px;
        height: 35px;
        margin-bottom: 5px;
    }
    
    .shape-tab-icon svg {
        width: 25px;
        height: 25px;
    }
    
    .shape-tab-text {
        font-size: 0.85rem;
    }
    
    .calculator-form {
        padding: 15px;
    }
    
    .form-row {
        gap: 15px;
    }
    
    .price-value {
        font-size: 2rem;
    }
}
