.features-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 50%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.background-animations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.floating-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(221, 190, 88, 0.6);
    border-radius: 50%;
    animation: float 8s infinite ease-in-out;
}

.particle-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.particle-2 {
    top: 60%;
    left: 80%;
    animation-delay: 2s;
    animation-duration: 10s;
}

.particle-3 {
    top: 80%;
    left: 20%;
    animation-delay: 4s;
    animation-duration: 14s;
}

.particle-4 {
    top: 30%;
    left: 70%;
    animation-delay: 6s;
    animation-duration: 11s;
}

.particle-5 {
    top: 70%;
    left: 60%;
    animation-delay: 1s;
    animation-duration: 13s;
}

.particle-6 {
    top: 40%;
    left: 30%;
    animation-delay: 3s;
    animation-duration: 9s;
}

.particle-7 {
    top: 90%;
    left: 40%;
    animation-delay: 5s;
    animation-duration: 15s;
}

.particle-8 {
    top: 10%;
    left: 90%;
    animation-delay: 7s;
    animation-duration: 12s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-20px) translateX(10px);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-40px) translateX(-5px);
        opacity: 0.6;
    }
    75% {
        transform: translateY(-20px) translateX(-15px);
        opacity: 0.9;
    }
}

.light-circles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.light-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(221, 190, 88, 0.1) 0%, transparent 70%);
    animation: pulse 6s infinite ease-in-out;
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.circle-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.circle-3 {
    width: 250px;
    height: 250px;
    bottom: 20%;
    left: 60%;
    animation-delay: 4s;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.6;
    }
}

.animated-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(221, 190, 88, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(221, 190, 88, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

.light-waves {
    position: absolute;
    width: 100%;
    height: 100%;
}

.wave {
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(221, 190, 88, 0.3), transparent);
    animation: waveMove 8s infinite linear;
}

.wave-1 {
    top: 25%;
    animation-delay: 0s;
}

.wave-2 {
    top: 50%;
    animation-delay: 2.5s;
}

.wave-3 {
    top: 75%;
    animation-delay: 5s;
}

@keyframes waveMove {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

.features-wave-top,
.features-wave-bottom {
    position: absolute;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 3;
}

.features-wave-top {
    top: 0;
}

.features-wave-bottom {
    bottom: 0;
}

.features-wave-top svg,
.features-wave-bottom svg {
    width: 100%;
    height: 100%;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
    z-index: 4;
}

.features-header {
    text-align: center;
    margin-bottom: 25px;
}

.features-title {
    color: #DDBE58;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 1px;
    text-shadow: 0 0 20px rgba(221, 190, 88, 0.3);
}

.features-subtitle {
    color: #DDBE58;
    font-size: 16px;
    font-weight: 400;
    margin: 0;
    opacity: 0.8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(221, 190, 88, 0.1);
    border-radius: 16px;
    padding: 20px 12px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    height: 180px;
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(221, 190, 88, 0.1), transparent);
    transition: left 0.6s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(221, 190, 88, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(221, 190, 88, 0.1);
}

.feature-card:nth-child(1) {
    animation-delay: 0.1s;
}

.feature-card:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.3s;
}

.feature-card:nth-child(4) {
    animation-delay: 0.4s;
}

.feature-icon {
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 45px;
    position: relative;
}

.feature-icon::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(221, 190, 88, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: iconGlow 3s ease-in-out infinite alternate;
}

@keyframes iconGlow {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }
    100% {
        transform: scale(1.1);
        opacity: 0.6;
    }
}

.feature-icon svg {
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon svg {
    transform: scale(1.1);
    filter: drop-shadow(0 0 10px rgba(221, 190, 88, 0.3));
}

.feature-icon-image {
    width: 45px;
    height: 45px;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: brightness(1.1) contrast(1.1);
}

.feature-card:hover .feature-icon-image {
    transform: scale(1.1);
    filter: brightness(1.2) contrast(1.2) drop-shadow(0 0 10px rgba(221, 190, 88, 0.3));
}

.feature-title {
    color: #DDBE58 !important;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 1.2px;
    line-height: 1.3;
}

.feature-description {
    color: #DDBE58 !important;
    font-size: 15px;
    line-height: 1.4;
    margin: 0;
    opacity: 0.9;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .features-section {
        display: block;
        align-items: initial;
    }

    .features-container {
        padding: 40px 15px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        max-width: 800px;
    }

    .features-title {
        font-size: 26px;
    }

    .features-subtitle {
        font-size: 14px;
    }

    .feature-card {
        padding: 25px 15px;
        height: 200px;
    }

    .feature-icon {
        height: 45px;
        margin-bottom: 12px;
    }

    .feature-title {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .feature-description {
        font-size: 12px;
        line-height: 1.5;
    }

    .particle {
        display: none;
    }

    .light-circle {
        opacity: 0.3;
    }
}

@media (max-width: 480px) {
    .features-container {
        padding: 30px 15px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 400px;
    }

    .features-title {
        font-size: 22px;
    }

    .feature-card {
        padding: 25px 20px;
        height: auto;
        min-height: 180px;
    }

    .feature-icon {
        height: 50px;
        margin-bottom: 15px;
    }

    .feature-title {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .feature-description {
        font-size: 14px;
        line-height: 1.6;
    }
}