/* Modern Pricing Table Styles with site-consistent colors */
.pricing-section {
    padding: 80px 0;
    background: #1e1e1c;
    min-height: 100vh;
    position: relative;
}

.pricing-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.pricing-header h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    font-family: Montserrat, sans-serif;
    text-transform: uppercase;
}

.pricing-header h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #f36;
    border-radius: 2px;
}

.pricing-header p {
    font-size: 1.2rem;
    color: #9b9b9b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Pricing Cards Grid */
.pricing-grid {
    display: grid;
    gap: 40px;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

/* Category Card - Fixed positioning, no floating animation */
.category-card {
    background: linear-gradient(135deg, #f36 0%, #cc2d5a 100%);
    border-radius: 8px;
    padding: 25px 30px;
    box-shadow: 0 8px 30px rgba(255, 51, 102, 0.25);
    color: white;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    /* Remove floating animations */
    transform: none !important;
}

.category-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.category-card:hover::before {
    animation: shimmer 1.2s ease-in-out;
}

.category-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 40px rgba(255, 51, 102, 0.35);
}

.category-card h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
    font-family: Montserrat, sans-serif;
    text-transform: uppercase;
}

/* Service Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.service-card {
    background: rgba(40, 40, 40, 0.95);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 51, 102, 0.2);
    transition: none;
    position: relative;
    overflow: visible;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #f36;
}

.service-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 25px;
    margin-top: 10px;
    position: relative;
    padding-top: 5px;
}

.service-name {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.service-name h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
    line-height: 1.3;
    font-family: Lato, sans-serif;
}

/* Enhanced Tooltip Styles */
.info-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #f36;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    transition: none;
    box-shadow: 0 2px 8px rgba(255, 51, 102, 0.3);
    flex-shrink: 0;
    /* Ensure tooltip container is properly positioned */
    overflow: visible;
    /* Better touch target for mobile */
    touch-action: manipulation;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

/* Mobile specific improvements */
@media (max-width: 768px) {
    .info-icon {
        width: 28px;
        height: 28px;
        font-size: 14px;
        /* Larger touch target for mobile */
        padding: 4px;
        box-shadow: 0 3px 10px rgba(255, 51, 102, 0.4);
    }
}

/* Remove all icon hover effects */

/* Active state for mobile tooltips */
.info-icon.active {
    background: #cc2d5a;
    box-shadow: 0 4px 12px rgba(255, 51, 102, 0.6);
}

.tooltip {
    position: absolute;
    bottom: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%);
    background: #2c2c2c;
    color: white;
    padding: 16px 20px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.6;
    max-width: 320px;
    min-width: 200px;
    white-space: normal;
    opacity: 0;
    visibility: hidden;
    transition: none;
    z-index: 10000;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
    font-weight: 400;
    border: 1px solid rgba(255, 51, 102, 0.4);
    text-align: left;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: #2c2c2c;
}

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

/* Price Display */
.price-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    position: relative;
}

.price-item {
    flex: 1;
    text-align: center;
    padding: 20px 15px;
    background: rgba(50, 50, 50, 0.8);
    border-radius: 6px;
    border: 2px solid transparent;
    transition: none;
    position: relative;
    overflow: hidden;
}


.price-label {
    font-size: 0.85rem;
    color: #9b9b9b;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.price-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    position: relative;
}

.price-currency {
    font-size: 1.1rem;
    color: #f36;
    margin-left: 4px;
    font-weight: 600;
}

/* Animation Keyframes */
@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* Remove all card animations - no more jerky animations */

/* Responsive Design */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
}

@media (max-width: 768px) {
    .pricing-section {
        padding: 40px 0;
    }

    .pricing-header h1 {
        font-size: 2rem;
    }

    .pricing-header p {
        font-size: 1rem;
        padding: 0 20px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 25px 20px;
    }

    .price-container {
        flex-direction: column;
        gap: 15px;
    }

    /* Simple mobile tooltip - ФИНАЛЬНАЯ ВЕРСИЯ */
    .tooltip {
        position: fixed !important;
        top: 50% !important;
        left: 50% !important;
        right: auto !important;
        bottom: auto !important;
        transform: translate(-50%, -50%) !important;
        max-width: calc(100vw - 40px) !important;
        min-width: 280px !important;
        width: auto !important;
        background: #000000 !important;
        color: #ffffff !important;
        border: 2px solid #ff3366 !important;
        border-radius: 8px !important;
        padding: 20px !important;
        font-size: 16px !important;
        line-height: 1.5 !important;
        z-index: 999999 !important;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9) !important;
        text-align: left !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }

    .tooltip.mobile-active::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: -1;
    }

    .tooltip::after {
        display: none !important;
    }

    .category-card h2 {
        font-size: 1.5rem;
    }

    .service-name h4 {
        font-size: 1.1rem;
    }

    .price-value {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .service-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .service-name {
        width: 100%;
        justify-content: space-between;
    }

    .pricing-header h1 {
        font-size: 1.7rem;
    }

    .service-card {
        padding: 20px 15px;
    }

    .price-item {
        padding: 18px 15px;
    }
}

/* Additional Effects - all removed */

/* Enhanced tooltip readability for long descriptions */
.tooltip p {
    margin: 0 0 8px 0;
}

.tooltip p:last-child {
    margin-bottom: 0;
}

.tooltip ul, .tooltip ol {
    margin: 8px 0;
    padding-left: 16px;
}

.tooltip li {
    margin-bottom: 4px;
}

.tooltip strong, .tooltip b {
    color: #f36;
}

/* Responsive tooltip positioning */
@media (max-width: 1200px) {
    .tooltip {
        max-width: 300px;
    }
}

@media (max-width: 992px) {
    .tooltip {
        max-width: 280px;
        left: auto;
        right: 10px;
        transform: none;
    }
}

/* Focus styles for accessibility */
.info-icon:focus {
    outline: 2px solid #f36;
    outline-offset: 2px;
}

.info-icon:focus .tooltip {
    opacity: 1;
    visibility: visible;
}
