.benefits-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 8%, rgba(124, 58, 237, 0.2), transparent 34%),
        radial-gradient(circle at 88% 80%, rgba(124, 58, 237, 0.14), transparent 30%),
        linear-gradient(180deg, #050509 0%, #090910 100%);
    color: #f8fafc;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#benefits-system::after {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.13) 1px, transparent 1px);
    opacity: 0.24;
}

.benefits-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 25% 18%, rgba(124, 58, 237, 0.2), transparent 36%),
        radial-gradient(circle at 78% 72%, rgba(124, 58, 237, 0.14), transparent 34%);
}

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

.benefits-section .bg-primary-soft {
    background: rgba(124, 58, 237, 0.18) !important;
    border: 1px solid rgba(167, 139, 250, 0.35);
    color: #ddd6fe !important;
}

.benefits-section h2,
.benefits-section .text-dark {
    color: #f8fafc !important;
}

.benefits-section .lead,
.benefits-section .text-muted,
.benefit-description,
.text-dark-75 {
    color: #cbd5e1 !important;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.15rem;
    border-radius: 18px;
    background: linear-gradient(180deg, #0f1016 0%, #07080d 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.03);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.benefit-item::before {
    content: "";
    position: absolute;
    inset: -35%;
    background: radial-gradient(circle at center, rgba(124, 58, 237, 0.3), transparent 60%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.benefit-item:hover {
    transform: translateY(-4px);
    border-color: rgba(167, 139, 250, 0.6);
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.55), 0 0 20px rgba(124, 58, 237, 0.3);
}

.benefit-item:hover::before {
    opacity: 1;
}

.benefit-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.28), rgba(124, 58, 237, 0.08));
    border: 1px solid rgba(167, 139, 250, 0.32);
    color: #a78bfa;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 1.45rem;
    box-shadow: inset 0 0 0 1px rgba(167, 139, 250, 0.18), 0 8px 20px rgba(124, 58, 237, 0.24);
}

.benefit-title {
    color: #f8fafc;
}

/* Credit card aligned with dark premium style */
.credit-card-container {
    perspective: 1500px;
}

.credit-card {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    aspect-ratio: 16 / 10;
    border-radius: 24px;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.credit-card:hover {
    transform: rotateY(12deg) rotateX(4deg) scale(1.04);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.58), 0 0 22px rgba(124, 58, 237, 0.24);
}

.credit-card-bg {
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: linear-gradient(135deg, #11131b, #090a10);
    overflow: hidden;
}

.credit-card-bg::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: radial-gradient(circle, rgba(167, 139, 250, 0.22) 1px, transparent 1px);
    background-size: 10px 10px;
    animation: move-grid 15s linear infinite;
}

@keyframes move-grid {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-100px, 100px); }
}

.credit-card-content {
    position: relative;
    z-index: 1;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 24px;
}

.credit-card .text-dark,
.credit-card .text-white {
    color: #f8fafc !important;
}

.credit-card .text-dark-75,
.credit-card .text-white-75 {
    color: #cbd5e1 !important;
}

.credit-card .text-primary {
    color: #a78bfa !important;
}

.credit-card .display-4 {
    color: #f8fafc !important;
}

.credit-card .progress {
    background-color: rgba(255, 255, 255, 0.14);
}

.credit-card .progress-bar {
    background: linear-gradient(90deg, #7c3aed, #a78bfa);
}

.credit-card .badge.bg-light.text-dark {
    background: rgba(15, 23, 42, 0.86) !important;
    color: #f8fafc !important;
    border: 1px solid rgba(255, 255, 255, 0.16);
}

@media (max-width: 991px) {
    .benefit-item {
        padding: 1rem;
    }

    .credit-card {
        max-width: 360px;
    }
}
