
:root {
    --card-bg: #ffffff;
    --card-border: #e2e8f0;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --accent-color: #5f63f2; /* Default */
}

.mg-pricing-wrapper {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding: 48px;
    background-color: #f1f5f9;
}

.mg-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 32px;
    transition: all 0.3s ease;
    width: 320px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.mg-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.mg-card-icon {
    background: color-mix(in srgb, var(--accent-color), transparent 90%);
    border-radius: 16px;
    padding: 16px;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.mg-card-icon img {
    max-width: 100%;
    height: auto;
}

.mg-card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.mg-card-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    min-height: 40px;
}

.mg-card-price {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.mg-card-features {
    list-style: none;
    padding: 0;
    margin-bottom: 32px;
    flex-grow: 1;
}

.mg-card-features li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    font-size: 14px;
    color: var(--text-primary);
}

.mg-card-features li::before {
    content: "✓";
    color: var(--accent-color);
    margin-inline-end: 12px;
    font-weight: bold;
}

.mg-card-btn {
    display: block;
    text-align: center;
    padding: 14px 24px;
    background: var(--accent-color);
    color: white;
    border-radius: 12px;
    font-weight: 600;
    transition: background 0.3s;
    text-decoration: none;
}
.mg-card-btn:hover {
    background: color-mix(in srgb, var(--accent-color), black 10%);
    color: white;
}

.mg-card-label {
    position: absolute;
    top: 20px;
    right: -35px;
    width: 150px;
    padding: 6px 0;
    font-size: 0.75rem;
    font-weight: 600;
    color: white !important;
    background: linear-gradient(45deg, var(--accent-color), color-mix(in srgb, var(--accent-color), black 20%));
    background-size: 200% 200%;
    animation: label-gradient-animation 5s ease infinite;
    text-align: center;
    transform: rotate(45deg);
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

@keyframes label-gradient-animation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* backgorund color animation ,
  background color should had low situration and hue
  the badckground position shifting
  */
@keyframes background-color-shift {
    0% {
        background-color: color-mix(in srgb, var(--accent-color), transparent 99%);

    }
    100% {
        background-color: color-mix(in srgb, var(--accent-color), transparent 96%);

    }
}
.infinite-colors {
    animation: background-color-shift 10s infinite alternate;
    background: url("../images/thumbs/pattern.webp") no-repeat bottom;
    background-size: contain;

}
