﻿/* ================================
   PRICING SECTION - SCOPED CSS
   ================================ */

.products-price-section {
    padding: 90px 16px;
    background: linear-gradient(135deg, #020617, #0f172a);
    color: #ffffff;
}

.products-price-section .section-title {
    text-align: center;
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 700;
    margin-bottom: 60px;
    color: #ffffff;
}

.products-price-section .sub-title {
    text-align: center;
    font-size: clamp(20px, 3vw, 26px);
    margin: 70px 0 35px;
    color: #818cf8;
    font-weight: 600;
}

/* GRID */
.products-price-section .price-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

/* CARD */
.products-price-section .price-card {
    background: #020617;
    border-radius: 16px;
    padding: 32px 26px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.products-price-section .price-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(99, 102, 241, 0.15), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.products-price-section .price-card > * {
    position: relative;
    z-index: 1;
}

.products-price-section .price-card:hover::before {
    opacity: 1;
}

.products-price-section .price-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.35);
}

/* POPULAR */
.products-price-section .popular {
    border: 1px solid #6366f1;
    transform: scale(1.03);
}

.products-price-section .badge {
    background: #6366f1;
    color: #ffffff;
    font-size: 12px;
    padding: 6px 14px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 12px;
}

/* CONTENT */
.products-price-section h4 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #ffffff;
}

.products-price-section ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.products-price-section ul li {
    margin: 8px 0;
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.9);
}

/* PRICE */
.products-price-section .price {
    display: block;
    font-size: 28px;
    font-weight: 700;
    margin: 20px 0 24px;
    color: #6366f1;
}

/* BUTTON */
.products-price-section .price-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    padding: 11px 28px;
    border-radius: 999px;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.products-price-section .price-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.6);
}

.products-price-section .price-btn:focus-visible {
    outline: 2px solid #818cf8;
    outline-offset: 3px;
}

/* MOBILE OPTIMIZATION */
@media (max-width: 768px) {
    .products-price-section {
        padding: 70px 12px;
    }

    .products-price-section .price-card {
        padding: 26px 20px;
    }

    .products-price-section .popular {
        transform: none;
    }
}

/* EXTRA SMALL */
@media (max-width: 480px) {
    .products-price-section .price {
        font-size: 24px;
    }

    .products-price-section h4 {
        font-size: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .products-price-section .price-card,
    .products-price-section .price-btn,
    .products-price-section .price-card::before {
        transition: none !important;
    }

    .products-price-section .price-card:hover,
    .products-price-section .price-btn:hover {
        transform: none;
    }
}
