/* Main container */
.pc-calculator {
    max-width: 800px;
    margin: 2rem auto;
    font-family: 'IRANSans', Arial, sans-serif;
    direction: rtl;
}

/* Model Selection Styles */
.pc-model-selection {
    margin-bottom: 2rem;
    padding: 1rem;
}

.pc-model-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.pc-model-option {
    cursor: pointer;
    position: relative;
}

.pc-model-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.pc-model-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid #e9ecef;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pc-model-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2196F3, #21CBF3);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.pc-model-option:hover .pc-model-card {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(33, 150, 243, 0.15);
    border-color: #2196F3;
}

.pc-model-option input[type="radio"]:checked + .pc-model-card {
    border-color: #2196F3;
    background: linear-gradient(135deg, #e3f2fd 0%, #ffffff 100%);
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.2);
}

.pc-model-option input[type="radio"]:checked + .pc-model-card::before {
    transform: scaleX(1);
}

.pc-model-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2196F3, #21CBF3);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.pc-model-option input[type="radio"]:checked + .pc-model-card .pc-model-icon {
    transform: scale(1.1);
    animation: pulse 1.5s infinite;
}

.pc-model-icon svg {
    width: 30px;
    height: 30px;
    stroke: currentColor;
}

.pc-model-card h4 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin: 0.5rem 0;
    font-weight: 700;
}

.pc-model-card p {
    color: #6c757d;
    font-size: 0.95rem;
    margin: 0;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(33, 150, 243, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(33, 150, 243, 0);
    }
}

/* Modules Section - Blur Effect */
.pc-modules-section {
    filter: blur(5px);
    pointer-events: none;
    opacity: 0.5;
    transition: all 0.4s ease;
    position: relative;
}

.pc-modules-section.active {
    filter: blur(0);
    pointer-events: auto;
    opacity: 1;
}

.pc-modules-section.locked .pc-service-item {
    opacity: 0.9;
    background: linear-gradient(135deg, #e8f5e9 0%, #ffffff 100%);
}

.pc-modules-section.locked .pc-toggle {
    pointer-events: none;
}

.pc-modules-section.locked .pc-service-item {
    cursor: default;
}

.pc-modules-section.locked .pc-service-item:hover {
    transform: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    background: linear-gradient(135deg, #e8f5e9 0%, #ffffff 100%);
}

/* Individual locked item */
.pc-service-item.locked-item {
    opacity: 0.9;
    background: linear-gradient(135deg, #e8f5e9 0%, #ffffff 100%);
    cursor: default;
}

.pc-service-item.locked-item:hover {
    transform: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    background: linear-gradient(135deg, #e8f5e9 0%, #ffffff 100%);
}

.pc-service-item.locked-item .pc-toggle {
    pointer-events: none;
}

/* Steps */
.pc-step {
    display: none;
    background: #fff;
    border-radius: 12px;
     box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    padding: 1px 20px 20px;
    margin-bottom: 1rem;
}

.pc-step.active {
    display: block;
}

/* Headings */
.pc-calculator h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    text-align: center;
    padding: 14px;
  margin: 0;
}

/* Base service */
.pc-service-base {
    border: 1px solid #ebebeb;
    border-radius: 8px;
   padding: 1px 10px;

    box-shadow: rgba(0, 0, 0, 0.04) 0px 3px 5px;
}

.pc-service-base h4 {
    color: #2c3e50;
    font-size: 1.2rem;

}

.pc-service-base ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}

.pc-service-base li {
    padding: 0.5rem 0;
    color: #666;
    position: relative;
    padding-right: 1.5rem;
}

.pc-service-base li:before {
    content: "✓";
    color: #4CAF50;
    position: absolute;
    right: 0;
}

/* Service items */
.pc-service-item {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.pc-service-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.pc-service-info {
    display: flex;
    align-items: center;
    flex: 1;
}

.pc-service-icon {
    width: 24px;
    height: 24px;
    margin-left: 1rem;
    color: #2196F3;
}

.pc-service-title {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-left: auto;
}

.pc-service-price {
    color: #2196F3;
    font-weight: 600;
    margin-right: 1.5rem;
    margin-left: 10px;
}

/* Toggle switch */
.pc-toggle {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.pc-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.pc-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e9ecef;
    transition: .4s;
    border-radius: 34px;
}

.pc-toggle-slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .pc-toggle-slider {
    background-color: #2196F3;
}

input:checked + .pc-toggle-slider:before {
    transform: translateX(26px);
}

/* Form elements */
.pc-form-group {
    margin-bottom: 1.5rem;
}

.pc-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #495057;
}

.pc-form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 1rem;
}

/* Buttons */
.pc-next-btn,
.pc-submit-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    background: #2196F3;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pc-next-btn:hover,
.pc-submit-btn:hover {
    background: #1976D2;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.2);
}

/* Results */
.pc-result {
    text-align: center;
}

.pc-result-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.pc-result-list li {
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.pc-total-price {
    font-size: 1.5rem;
    color: #2196F3;
    font-weight: bold;
    margin-top: 1rem;
}

/* Loading animation */
.pc-loading {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.pc-loading.active {
    display: flex;
}

.pc-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #2196F3;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive design */
@media (max-width: 768px) {
    .pc-calculator {
        margin: 1rem;
    }

    .pc-step {
        padding: 1rem;
    }

    .pc-service-item {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .pc-service-info {
        flex-direction: column;
        margin-bottom: .5rem;
    }
    
    .pc-service-icon {
        margin: 0 0 0.5rem 0;
    }
    
    .pc-service-price {
        margin: 0.5rem 0;
    }
    
    /* Model Selection Responsive */
    .pc-model-options {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }
    
    .pc-model-option {
        display: flex;
    }
    
    .pc-model-card {
        padding: 1rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 100%;
        min-height: 180px;
    }
    
    .pc-model-icon {
        width: 45px;
        height: 45px;
    }
    
    .pc-model-icon svg {
        width: 22px;
        height: 22px;
    }
    
    .pc-model-card h4 {
        font-size: 0.95rem;
        margin: 0.3rem 0;
    }
    
    .pc-model-card p {
        font-size: 0.75rem;
        line-height: 1.3;
    }
    
    .pc-model-selection h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem !important;
    }
}

.pc-service-item {
    background: white;
    border-radius: 12px;
    padding: 0.4rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    user-select: none;
}

.pc-service-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #f8f9fa;
}

.pc-back-btn {
    background: #f8f9fa;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    color: #495057;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    margin-top: 5px;
}

.pc-social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.pc-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    background: #4baaf5;
  color: #fff!important;
}
.text-msg-step-end{
    padding-top: 20px;
  padding-left: 10%;
  padding-right: 10%;
}
.pc-social-link:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: #4baaf5 !important;

}

.pc-social-link svg {
    width: 1.5rem;
    height: 1.5rem;
    fill: currentColor;
}

.pc-back-btn:hover {
    background: #e9ecef;
}

.pc-back-btn svg {
    width: 20px;
    height: 20px;
}
.pc-price {
color: #fff;
background: #081767;
padding: 0.7rem 2rem;
  border-radius: 16px;
  font-size: 1.3rem;
  font-weight: 800;
  text-align: center;
  margin: 1.5rem 0;
  position: relative;
  backdrop-filter: blur(10px);
box-shadow: rgba(135, 190, 231, 0.4) -5px 5px, rgba(33, 56, 239, 0.3) -10px 10px, rgba(46, 122, 240, 0.2) -15px 15px, rgba(84, 94, 248, 0.1) -20px 20px, rgba(62, 107, 242, 0.05) -25px 25px;
  transform: translateY(0);
  transition: all 0.3s ease;
  overflow: hidden;
  width: 50%;
  display: flex;
  justify-content: center;
  margin: auto;
}

.pc-price::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: conic-gradient( from 0deg at 50% 50%, #fff, #8be5ff, #fff, #6ddeff, #fff );
    border-radius: inherit;
    animation: rotate 4s  infinite;
    z-index: -2;
}

.pc-price::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: inherit;
    border-radius: 14px;
    z-index: -1;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.pc-price:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 114, 255, 0.2);
}

/* موبایل */
@media (max-width: 768px) {
    .pc-price {
        font-size: 1.25rem;
        padding: 1rem 1.5rem;
        margin: 1rem 0;
        width: 100%;
    }
    .text-msg-step-end{
    padding-top: 20px;
  padding-left: 5%;
  padding-right: 5%;
}
 .pc-additional-services p{
    font-family: "pinards2fan", Sans-serif;
}
    .pc-additional-services p,.pc-service-base{text-align:center;}
}

 .pc-additional-services p{
    color: #444762;
  font-family: "pinards2fan", Sans-serif;
  font-size: 18px;
  margin: 15px 0;
}
.s-step-end{
    padding: 10px;
  display: flex;
  justify-content: center;
}

/**/
