/* ========================================
   Premium Features Section - Sophisticated Cards
   ======================================== */
.section-description {
    margin-top: 20px;
    font-size: 1.15rem;
    color: rgba(148, 163, 184, 0.85);
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.premium-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 60px;
}

.premium-card {
    position: relative;
    background: linear-gradient(135deg, rgba(17, 20, 24, 0.9) 0%, rgba(11, 12, 16, 0.95) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Animated glow effect background */
.card-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 0;
}

.card-glow-green {
    background: radial-gradient(circle, rgba(74, 222, 128, 0.3) 0%, transparent 70%);
    top: -150px;
    right: -150px;
}

.card-glow-cyan {
    background: radial-gradient(circle, rgba(34, 211, 238, 0.3) 0%, transparent 70%);
    top: -150px;
    right: -150px;
}

.premium-card:hover .card-glow {
    opacity: 1;
}

.premium-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(74, 222, 128, 0.3);
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.6),
        0 0 40px -10px rgba(74, 222, 128, 0.2),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
}

/* Sophisticated icon container */
.premium-icon {
    position: relative;
    z-index: 1;
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.15) 0%, rgba(34, 211, 238, 0.15) 100%);
    border: 1.5px solid rgba(74, 222, 128, 0.2);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 0.5rem;
}

.premium-card:hover .premium-icon {
    background: linear-gradient(135deg, #4ade80 0%, #22d3ee 100%);
    border-color: transparent;
    transform: rotate(-5deg) scale(1.1);
    box-shadow: 0 12px 30px -8px rgba(74, 222, 128, 0.5);
}

.premium-icon svg {
    color: #4ade80;
    transition: all 0.5s ease;
}

.premium-card:hover .premium-icon svg {
    color: #0b0c10;
    transform: scale(1.1);
}

/* Card typography */
.premium-card h3 {
    position: relative;
    z-index: 1;
    font-size: 1.35rem;
    font-weight: 700;
    color: white;
    letter-spacing: -0.02em;
    margin: 0;
    line-height: 1.3;
}

.card-highlight {
    position: relative;
    z-index: 1;
    font-size: 1rem;
    font-weight: 600;
    color: rgba(74, 222, 128, 0.95);
    line-height: 1.5;
    margin: 0.5rem 0;
}

.card-description {
    position: relative;
    z-index: 1;
    font-size: 0.95rem;
    color: rgba(148, 163, 184, 0.85);
    line-height: 1.7;
    margin: 0;
}

/* Shimmer effect on hover */
.premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.1),
            transparent);
    transition: left 0.8s ease;
    z-index: 2;
    pointer-events: none;
}

.premium-card:hover::before {
    left: 150%;
}

/* Border gradient animation */
.premium-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(135deg,
            transparent 0%,
            rgba(74, 222, 128, 0.3) 50%,
            rgba(34, 211, 238, 0.3) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 0;
}

.premium-card:hover::after {
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .premium-features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .premium-card {
        padding: 2rem;
    }

    .premium-icon {
        width: 64px;
        height: 64px;
    }

    .premium-card h3 {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .premium-card {
        padding: 1.75rem;
    }

    .card-highlight {
        font-size: 0.95rem;
    }

    .card-description {
        font-size: 0.9rem;
    }
}