/* Ultra-Modern Advantages Cards Design */
/* Inspired by Vercel, Linear, and Stripe */

.feature-card.animated-border {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
    border: 1px solid rgba(22, 15, 62, 0.1);
    border-radius: 20px;
    padding: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(22, 15, 62, 0.06);
    margin-bottom: 24px;
    height: 100%;
}

/* Gradient Border Effect */
.feature-card.animated-border::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1.5px;
    background: linear-gradient(135deg,
        #160f3e 0%,
        #f9bd06 50%,
        #160f3e 100%);
    -webkit-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.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card.animated-border:hover::before {
    opacity: 1;
}

/* Hover Glow Effect */
.feature-card.animated-border::after {
    content: '';
    position: absolute;
    inset: -100%;
    background: radial-gradient(circle at center,
        rgba(249, 189, 6, 0.15) 0%,
        transparent 70%);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.feature-card.animated-border:hover::after {
    opacity: 1;
}

.feature-card.animated-border:hover {
    transform: translateY(-4px);
    box-shadow:
        0 12px 40px rgba(22, 15, 62, 0.12),
        0 0 80px rgba(249, 189, 6, 0.1);
    border-color: rgba(22, 15, 62, 0.15);
}

.feature-card .card-body {
    padding: 32px 28px;
    position: relative;
    z-index: 1;
}

/* Icon Styling */
.feature-card .addons {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #160f3e 0%, #2a1a5e 100%);
    border-radius: 16px;
    color: #fff;
    font-size: 24px !important;
    flex-shrink: 0;
    position: relative;
    box-shadow:
        0 4px 16px rgba(22, 15, 62, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover .addons {
    transform: scale(1.1) rotate(5deg);
    box-shadow:
        0 8px 24px rgba(22, 15, 62, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Icon glow effect */
.feature-card .addons::after {
    content: '';
    position: absolute;
    inset: -4px;
    background: linear-gradient(135deg, #f9bd06 0%, #160f3e 100%);
    border-radius: 18px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover .addons::after {
    opacity: 0.5;
}

.feature-card .addons i {
    color: #fff;
}

.feature-card .addons i.filled {
    display: none;
}

.feature-card:hover .addons i.outline {
    display: none;
}

.feature-card:hover .addons i.filled {
    display: block;
}

/* Title Styling */
.feature-card h5 {
    font-size: 18px;
    font-weight: 700;
    color: #160f3e;
    margin: 0;
    line-height: 1.4;
    letter-spacing: -0.02em;
    transition: color 0.3s ease;
}

.feature-card:hover h5 {
    color: #f9bd06;
    background: linear-gradient(135deg, #160f3e 0%, #f9bd06 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Description Text */
.feature-card p {
    font-size: 15px;
    line-height: 1.7;
    color: #5a5a6e;
    margin-top: 16px;
    font-weight: 400;
    transition: color 0.3s ease;
}

.feature-card:hover p {
    color: #2d2d3d;
}

/* Content Alignment */
.feature-card .d-flex.align-items-center {
    gap: 16px;
    margin-bottom: 12px;
}

/* Responsive Design */
@media (max-width: 991px) {
    .feature-card .card-body {
        padding: 28px 24px;
    }

    .feature-card .addons {
        width: 52px;
        height: 52px;
        font-size: 22px !important;
    }

    .feature-card h5 {
        font-size: 17px;
    }

    .feature-card p {
        font-size: 14px;
    }
}

@media (max-width: 575px) {
    .feature-card.animated-border {
        margin-bottom: 20px;
    }

    .feature-card .card-body {
        padding: 24px 20px;
    }

    .feature-card .addons {
        width: 48px;
        height: 48px;
        font-size: 20px !important;
        border-radius: 14px;
    }

    .feature-card h5 {
        font-size: 16px;
    }

    .feature-card p {
        font-size: 14px;
        margin-top: 12px;
    }
}

/* Section Header Styling */
.heading-section .heading-subtitle span {
    background: linear-gradient(135deg, #160f3e 0%, #f9bd06 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.heading-section .heading-title {
    font-size: 42px;
    font-weight: 800;
    color: #160f3e;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-top: 12px;
    margin-bottom: 16px;
}

.heading-section .heading-title span.tx-primary {
    background: linear-gradient(135deg, #160f3e 0%, #f9bd06 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.heading-section .heading-description {
    font-size: 18px;
    line-height: 1.7;
    color: #5a5a6e;
    max-width: 720px;
    margin: 0 auto 48px;
}

@media (max-width: 991px) {
    .heading-section .heading-title {
        font-size: 36px;
    }

    .heading-section .heading-description {
        font-size: 17px;
        margin-bottom: 40px;
    }
}

@media (max-width: 575px) {
    .heading-section .heading-title {
        font-size: 28px;
    }

    .heading-section .heading-description {
        font-size: 16px;
        margin-bottom: 32px;
    }
}

/* Loading Animation for Reveal Effect */
.feature-card.reveal {
    opacity: 0;
    transform: translateY(20px);
    animation: revealCard 0.6s ease forwards;
}

@keyframes revealCard {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card.reveal:nth-child(1) { animation-delay: 0.1s; }
.feature-card.reveal:nth-child(2) { animation-delay: 0.2s; }
.feature-card.reveal:nth-child(3) { animation-delay: 0.3s; }
.feature-card.reveal:nth-child(4) { animation-delay: 0.4s; }
.feature-card.reveal:nth-child(5) { animation-delay: 0.5s; }
.feature-card.reveal:nth-child(6) { animation-delay: 0.6s; }

/* FAQ Section Styling with #160f3e */
.heading-section .heading-subtitle span.tx-primary {
    color: #160f3e !important;
    background: none !important;
    -webkit-text-fill-color: #160f3e !important;
}

.heading-section .heading-title span.tx-primary {
    color: #160f3e !important;
    background: none !important;
    -webkit-text-fill-color: #160f3e !important;
}
