/* Premium Results Section Styling */

.premium-results-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(to right, #f9f9f9, #ffffff, #f9f9f9);
}

.premium-results-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(58, 102, 219, 0.03) 0%, transparent 60%);
    z-index: 0;
}

.premium-results-section .container {
    position: relative;
    z-index: 1;
}

.premium-results-title {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
}

.premium-results-title:before {
    content: '';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
}

.premium-results-title h2 {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.premium-results-title h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #e6c656, #b8860b);
    margin: 20px auto 0;
    border-radius: 2px;
}

.premium-results-title p {
    font-size: 1.2rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
}

.premium-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.premium-before-after {
    position: relative;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 153, 204, 0.1);
}

.premium-before-after:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.premium-before-image,
.premium-after-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.premium-before-image {
    z-index: 1;
    width: 50%;
}

.premium-before-image img,
.premium-after-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    object-fit: cover;
}

.premium-before-image img {
    left: 0;
}

.premium-after-image img {
    left: -100%;
}

.premium-slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    z-index: 3;
    cursor: ew-resize;
}

.premium-slider-handle:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.premium-slider-handle:after {
    content: '↔';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: bold;
}

.premium-slider-label {
    position: absolute;
    bottom: 20px;
    padding: 8px 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 20px;
    z-index: 4;
}

.premium-before-label {
    left: 20px;
}

.premium-after-label {
    right: 20px;
}

.premium-treatment-type {
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 4;
}

.premium-treatment-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.premium-results-cta {
    text-align: center;
    margin-top: 60px;
}

.premium-results-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: white;
    color: var(--secondary-color);
    padding: 15px 35px;
    border-radius: 40px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 153, 204, 0.1);
    position: relative;
    overflow: hidden;
    border: none;
}

.premium-results-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 153, 204, 0.1), transparent);
    transition: all 0.6s ease;
    z-index: 1;
}

.premium-results-btn span, 
.premium-results-btn i {
    position: relative;
    z-index: 2;
}

.premium-results-btn:hover:before {
    left: 100%;
}

.premium-results-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 153, 204, 0.2);
    color: var(--primary-color);
}

.premium-results-btn i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.premium-results-btn:hover i {
    transform: translateX(5px);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .premium-gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
    
    .premium-before-after {
        height: 350px;
    }
    
    .premium-results-title h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .premium-gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .premium-results-title h2 {
        font-size: 2.2rem;
    }
    
    .premium-results-title p {
        font-size: 1.1rem;
    }
}

/* Premium Results Statistics Section */
.premium-results-stats {
    margin-top: 80px;
    position: relative;
}

.premium-results-stats:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0, 153, 204, 0.2), transparent);
}

.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 60px 0;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.stat-item:not(:last-child):after {
    content: '';
    position: absolute;
    top: 50%;
    right: -10px;
    transform: translateY(-50%);
    width: 1px;
    height: 70px;
    background: linear-gradient(to bottom, transparent, rgba(0, 153, 204, 0.2), transparent);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}

.stat-number span {
    font-size: 2rem;
    position: relative;
    top: -10px;
}

.stat-label {
    font-size: 1.1rem;
    color: #555;
    font-weight: 500;
}

@media (max-width: 768px) {
    .stats-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .stat-item:not(:last-child):after {
        display: none;
    }
    
    .stat-item {
        padding: 20px 0;
    }
    
    .stat-item:not(:last-child) {
        border-bottom: 1px solid rgba(0, 153, 204, 0.1);
    }
}

@media (max-width: 576px) {
    .premium-before-after {
        height: 300px;
    }
    
    .premium-results-title h2 {
        font-size: 2rem;
    }
}