/* Premium Animation 02 - Pinterest Inspired */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700;800&display=swap');

.ag-anim02-root {
    width: 100% !important;
    margin: 0 auto !important;
    font-family: 'Montserrat', sans-serif !important;
}

.ag-features-showcase {
    background: #0a0a0a !important;
    width: 100% !important;
    padding: 100px 5% !important;
    color: #ffffff !important;
    position: relative !important;
    overflow: hidden !important;
    min-height: 80vh !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}

.ag-features-container {
    position: relative !important;
    height: 500px !important;
    width: 100% !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
}

.ag-feature-content {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 80px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.8s cubic-bezier(0.645, 0.045, 0.355, 1) !important;
}

#ag-anim02-root .ag-feature-content.active {
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 10 !important;
}

.ag-feature-text {
    flex: 1;
    z-index: 2;
}

.ag-feature-tag {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #d71921;
    margin-bottom: 20px;
    display: block;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.6s ease 0.2s;
}

#ag-anim02-root .ag-feature-content.active .ag-feature-tag {
    transform: translateY(0) !important;
    opacity: 1 !important;
}

.ag-feature-title {
    font-size: 80px;
    font-weight: 800;
    margin: 0 0 20px 0;
    line-height: 0.9;
    letter-spacing: -2px;
    transform: scale(0.8);
    opacity: 0;
    filter: blur(10px);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    color: #fff;
    text-shadow: 0 0 30px rgba(215, 25, 33, 0);
}

#ag-anim02-root .ag-feature-content.active .ag-feature-title {
    transform: scale(1) !important;
    opacity: 1 !important;
    filter: blur(0) !important;
    text-shadow: 0 0 30px rgba(215, 25, 33, 0.3) !important;
}

.ag-feature-desc {
    font-size: 18px;
    color: rgba(255,255,255,0.6);
    max-width: 400px;
    line-height: 1.6;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.6s ease 0.4s;
}

#ag-anim02-root .ag-feature-content.active .ag-feature-desc {
    transform: translateY(0) !important;
    opacity: 1 !important;
}

.ag-feature-visual {
    flex: 1.5 !important;
    height: 100% !important;
    position: relative !important;
    border-radius: 40px !important;
    overflow: hidden !important;
    transform: translateX(100px) scale(0.9) !important;
    opacity: 0 !important;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.1s !important;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5) !important;
}

#ag-anim02-root .ag-feature-content.active .ag-feature-visual {
    transform: translateX(0) !important;
    opacity: 1 !important;
    transform: scale(1) !important;
}

.ag-feature-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ag-visual-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #0a0a0a 0%, transparent 40%);
    z-index: 1;
}

/* Hotspots */
.ag-hotspot {
    position: absolute;
    width: 16px;
    height: 16px;
    background: #ffffff;
    border-radius: 50%;
    z-index: 5;
    cursor: pointer;
    transform: scale(0);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.6s;
}

.ag-feature-content.active .ag-hotspot {
    transform: scale(1);
}

.ag-hotspot span {
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 1px solid #ffffff;
    border-radius: 50%;
    animation: ag-ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.ag-hotspot.glowing {
    background: #d71921;
}

.ag-hotspot.glowing span {
    border-color: #d71921;
}

@keyframes ag-ping {
    75%, 100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

/* Features Navigation */
.ag-features-nav {
    display: flex !important;
    gap: 40px !important;
    margin-top: 80px !important;
    position: relative !important;
    padding-bottom: 20px !important;
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
    align-self: center !important; /* Centered navigation */
}

#ag-anim02-root .ag-nav-item {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    color: rgba(255,255,255,0.4) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    cursor: pointer !important;
    padding: 10px 0 !important;
    transition: all 0.3s ease !important;
    position: relative !important;
}

#ag-anim02-root .ag-nav-item:hover, 
#ag-anim02-root .ag-nav-item.active {
    color: #ffffff !important;
    background: transparent !important;
}

.ag-nav-indicator {
    position: absolute;
    bottom: -1px;
    left: 0;
    height: 2px;
    background: #d71921;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    width: 0;
}

@media (max-width: 1024px) {
    .ag-features-container {
        height: auto !important;
        display: flex !important;
        flex-direction: column !important;
    }
    .ag-feature-content {
        position: relative !important;
        flex-direction: column !important;
        height: auto !important;
        gap: 40px !important;
        display: none !important; /* Hide non-active */
    }
    .ag-feature-content.active {
        display: flex !important;
    }
    .ag-feature-title {
        font-size: 60px !important;
    }
    .ag-feature-visual {
        width: 100% !important;
        height: 350px !important;
        transform: translateX(0) scale(1) !important;
    }
}

@media (max-width: 600px) {
    .ag-features-showcase {
        padding: 60px 20px !important;
    }
    .ag-feature-title {
        font-size: 40px !important;
    }
    .ag-feature-desc {
        font-size: 16px !important;
    }
    .ag-features-nav {
        gap: 15px !important;
        padding-bottom: 10px !important;
        width: 100% !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
    }
    .ag-nav-item {
        font-size: 11px !important;
        letter-spacing: 1px !important;
    }
    .ag-nav-indicator {
        display: none !important; /* Hide indicator on mobile wrap */
    }
}
