/**
 * Trust2 — Feature section (colors + cards match Crypto Pairs)
 */

body.frontend-futuristic .fe-feature-section {
    position: relative;
    overflow: hidden;
}

/* —— Background (Crypto Pairs) —— */
body.frontend-futuristic .fe-feature-section__decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    color: rgba(255, 255, 255, 0.05);
}

body.frontend-futuristic .fe-feature-section__decor .fe-pairs-bg__grid {
    width: 100%;
    height: 100%;
    animation: fePairsGridDrift 50s linear infinite;
}

body.frontend-futuristic .fe-feature-section__decor .fe-pairs-bg__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.4;
}

body.frontend-futuristic .fe-feature-section__decor .fe-pairs-bg__orb--1 {
    width: 380px;
    height: 380px;
    top: 5%;
    right: -5%;
    background: color-mix(in srgb, var(--color-primary) 30%, transparent);
    animation: fePairsOrb 16s ease-in-out infinite;
}

body.frontend-futuristic .fe-feature-section__decor .fe-pairs-bg__orb--2 {
    width: 320px;
    height: 320px;
    bottom: 0;
    left: -4%;
    background: rgba(56, 189, 248, 0.15);
    animation: fePairsOrb 20s ease-in-out infinite reverse;
}

body.frontend-futuristic .fe-feature-section .container {
    position: relative;
    z-index: 1;
}

/* —— Copy (match pairs head typography) —— */
body.frontend-futuristic .fe-feature-copy {
    max-width: 32rem;
    padding-top: 0.25rem;
}

body.frontend-futuristic .fe-feature-title {
    font-size: clamp(1.65rem, 2.5vw, 2.15rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--fe-text);
    margin: 0 0 0.75rem;
}

body.frontend-futuristic .fe-feature-lead {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--fe-muted);
    margin: 0 0 1.5rem;
}

@media (min-width: 992px) {
    body.frontend-futuristic .fe-feature-lead {
        font-size: 1.05rem;
    }
}

body.frontend-futuristic .fe-feature-cta {
    margin-bottom: 0;
}

/* —— Grid —— */
body.frontend-futuristic .fe-feature-section .fe-feature-grid,
body.frontend-futuristic .fe-feature-section .fearure-wrapper {
    background: transparent !important;
    padding: 0 !important;
}

/* —— Cards (same shell as .fe-pair-card) —— */
body.frontend-futuristic .fe-feature-section .fe-feature-card.feature-single {
    position: relative;
    display: block;
    height: 100%;
    margin: 0;
    padding: 1px !important;
    border: none !important;
    border-radius: 20px;
    background: linear-gradient(
        135deg,
        color-mix(in srgb, var(--color-primary) 35%, transparent),
        rgba(255, 255, 255, 0.06) 50%,
        color-mix(in srgb, #38bdf8 20%, transparent)
    ) !important;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.frontend-futuristic .fe-feature-section .fe-feature-card__inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    height: 100%;
    padding: 1.25rem 1.2rem 1.3rem;
    border-radius: 19px;
    background: linear-gradient(160deg, rgba(17, 24, 39, 0.97) 0%, rgba(8, 12, 22, 0.99) 100%);
    backdrop-filter: blur(12px);
    overflow: hidden;
}

body.frontend-futuristic .fe-feature-section .fe-feature-card__glow {
    position: absolute;
    inset: -20%;
    background: radial-gradient(circle at 85% 30%, color-mix(in srgb, var(--color-primary) 15%, transparent), transparent 55%);
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

body.frontend-futuristic .fe-feature-section .fe-feature-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 16px 32px rgba(0, 0, 0, 0.35),
        0 0 40px color-mix(in srgb, var(--color-primary) 10%, transparent);
}

body.frontend-futuristic .fe-feature-section .fe-feature-card:hover .fe-feature-card__glow {
    opacity: 1;
}

body.frontend-futuristic .fe-feature-section .fe-feature-card__icon {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 12px;
    background: color-mix(in srgb, var(--color-primary) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--color-primary) 28%, transparent);
}

body.frontend-futuristic .fe-feature-section .fe-feature-card__icon i {
    font-size: 1.35rem !important;
    color: var(--color-primary) !important;
}

body.frontend-futuristic .fe-feature-section .fe-feature-card__body {
    position: relative;
    z-index: 2;
    flex: 1;
    min-width: 0;
}

body.frontend-futuristic .fe-feature-section .fe-feature-card__body h4 {
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    color: var(--fe-text) !important;
    margin: 0 0 0.45rem !important;
    opacity: 1 !important;
}

body.frontend-futuristic .fe-feature-section .fe-feature-card__body p {
    font-size: 0.92rem !important;
    line-height: 1.65 !important;
    color: var(--fe-muted) !important;
    margin: 0 !important;
    opacity: 1 !important;
}

@media (max-width: 767px) {
    body.frontend-futuristic .fe-feature-section .fe-feature-card.feature-single {
        border-radius: 16px;
    }

    body.frontend-futuristic .fe-feature-section .fe-feature-card__inner {
        padding: 1.1rem 1rem 1.15rem;
        border-radius: 15px;
    }
}

@media (max-width: 1199.98px) {
    body.frontend-futuristic .fe-feature-copy {
        margin-bottom: 0.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.frontend-futuristic .fe-feature-section__decor .fe-pairs-bg__grid,
    body.frontend-futuristic .fe-feature-section__decor .fe-pairs-bg__orb {
        animation: none !important;
    }

    body.frontend-futuristic .fe-feature-section .fe-feature-card:hover {
        transform: none;
    }
}
